1 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
5 (modb-entity-extract-mailing-list-info-functions): Added it.
7 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
9 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
10 when number and message-id are non-nil.
12 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
14 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
15 conditional steatment.
16 (elmo-pop3-auth-apop): Likewise.
17 (elmo-network-authenticate-session): Likewise.
19 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
21 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
23 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
26 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
27 (elmo-decoded-field-body): Ditto.
29 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
31 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
34 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
36 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
39 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
41 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
44 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
46 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
47 Set default value as nil.
48 (toplevel): Register search engines by
49 `elmo-search-register-engine' if there are not defined.
51 * elmo.el (autoload): Added autoload setting for
52 `elmo-search-register-engine'.
54 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
56 * elmo.el (toplevel): `[' is redefined as the prefix of the search
57 folder instead of nmz folder.
58 (elmo-nmz-default-index-path): Added obsolete variable setting.
59 (elmo-nmz-index-alias-alist): Ditto.
60 (elmo-nmz-use-drive-letter): Ditto.
62 * elmo-search.el (elmo-search-register-engine): New function.
64 * elmo-nmz.el: Removed.
66 * elmo-version.el (elmo-version): Up to 2.15.2.
68 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
70 * elmo-search.el: New file.
72 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
74 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
75 condition `larger' and `smaller'.
77 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
79 * elmo-util.el (elmo-safe-filename): Rewrite to replace
80 `"' (double quote) into "_Q_".
82 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
84 * elmo-net.el (elmo-net-quote-chars): Abolish.
85 (elmo-net-format-quoted): Ditto.
87 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
89 * elmo.el (elmo-get-folder-function): New variable.
90 (elmo-get-folder): New function.
91 (elmo-folder-rename): Call `elmo-make-folder' with specified
94 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
96 (elmo-split-subr): Ditto.
98 * elmo-multi.el (elmo-folder-initialize): Ditto.
100 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
102 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
103 (elmo-flag-get-folder): Ditto.
105 * elmo-filter.el (elmo-folder-initialize): Ditto.
107 * elmo-access.el (elmo-folder-initialize): Ditto.
108 (elmo-access-folder-update-children): Ditto.
110 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
111 (elmo-dop-queue-flush): Ditto.
112 (elmo-folder-append-buffer-dop-delayed): Ditto.
113 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
116 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
117 instead of `elmo-make-folder'.
118 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
119 destination folder instead of send `elmo-folder-rename-internal'.
121 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
122 slot of subfolder instead of create it.
124 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
126 * elmo-util.el (elmo-collect-separators): New function.
127 (elmo-collect-separators-internal): Ditto.
128 (elmo-collect-trail-separators): Ditto.
129 (elmo-parse-separated-tokens): Ditto.
130 (elmo-parse-separated-tokens-internal): Ditto.
131 (elmo-quote-syntactical-element): Ditto.
133 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
134 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
136 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
137 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
138 (elmo-nntp-folder-list-subfolders): Quote a user name.
140 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
141 (elmo-net-parse-network): Abolish.
142 (elmo-net-folder-set-parameters): New function.
143 (elmo-folder-initialize): Follow the above change.
145 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
146 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
147 (elmo-folder-list-subfolders): Use
148 `elmo-quote-syntactical-element' instead of
149 `elmo-net-format-quoted' to quote mailbox and user name.
151 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
153 * elmo-util.el (elmo-token-valid-p): New function.
154 (elmo-parse-token): Add optional argument `requirement'.
155 (elmo-parse-prefixed-element): Likewise.
157 * elmo-net.el (elmo-net-quote-chars): Renamed from
158 `elmo-net-quote-chars-regexp'.
159 (elmo-net-format-quoted): Add optional argument `extra-chars'.
161 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
162 by info document. Check token `uidl' is started an alphabet.
164 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
165 by info document. Check token `user' is started an alphabet.
167 * elmo-imap4.el (elmo-folder-initialize): Ditto.
168 (elmo-folder-list-subfolders): Quote user.
170 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
172 * elmo-util.el (elmo-quoted-specials-list): New constant.
173 (elmo-quoted-token): New function.
175 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
176 (elmo-net-format-quoted): New function.
177 (elmo-net-parse-network): Ditto.
178 (elmo-folder-initialize): Use it.
180 * elmo-nntp.el (elmo-folder-initialize): Use
181 `elmo-net-parse-network' to parse network specification instead of
182 `elmo-folder-initialize#elmo-net'.
184 * elmo-pop3.el (elmo-folder-initialize): Ditto.
186 * elmo-imap4.el (elmo-folder-initialize): Ditto.
187 (elmo-folder-list-subfolders): Quote folder name by
188 `elmo-net-format-quoted'.
190 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
192 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
193 (elmo-folder-search): Use it.
195 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
197 * modb-standard.el (modb-standard-loaded-message-id): Use
198 `elmo-msgdb-message-entity-field'.
200 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
202 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
205 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
207 * elmo-util.el (elmo-set-auto-coding): New function.
208 (elmo-object-load): Use it.
210 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
212 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
213 (elmo-time<): Define as alias of `elmo-time-less-p'.
214 (elmo-time-to-datevec): New function.
216 * elmo-date.el (elmo-time-to-days): New function.
218 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
220 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
223 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
225 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
228 * elmo-util.el (elmo-map-recursive): New function.
230 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
231 (modb-entity-encode-string-recursive): Ditto.
233 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
235 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
236 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
237 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
238 compare sequence number when last modified time is nil.
240 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
242 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
244 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
246 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
248 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
249 modification time of the file.
251 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
253 * elmo-util.el (elmo-condition-optimize): Discriminated against
254 preserved fields, extra fields and the other weight.
256 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
258 * modb-entity.el (initialize-instance): Define.
259 (modb-entity-handler-mime-charset): New internal function.
260 (modb-standard-entity-set-field): Use it.
261 (elmo-msgdb-message-entity-field): Ditto.
262 (elmo-msgdb-message-entity-field): Ditto.
264 * modb.el (elmo-msgdb-match-condition): Rewrite with
265 `elmo-condition-match'.
266 (elmo-msgdb-match-condition-primitive): New function.
268 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
269 arguments `flags' and `numbers'.
270 (elmo-msgdb-match-condition-primitive): Abolished (merged to
271 `elmo-msgdb-message-match-condition').
272 (modb-buffer-entity-handler): New class.
274 * elmo.el (elmo-folder-search): Optimize condition to use
275 `elmo-condition-optimize'.
276 (elmo-message-buffer-match-condition): New function.
277 (elmo-message-match-condition): Use
278 `elmo-message-buffer-match-condition' instead of
279 `elmo-buffer-field-condition-match'.
281 * elmo-util.el (elmo-condition-match): New function.
282 (elmo-condition-optimize): Ditto.
283 (elmo-buffer-field-primitive-condition-match): Abolish.
284 (elmo-buffer-field-condition-match): Ditto.
286 * elmo-archive.el (elmo-archive-field-condition-match): Use
287 `elmo-message-buffer-match-condition' instead of
288 `elmo-buffer-field-condition-match'.
290 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
292 * elmo-flag.el (elmo-global-flags-initialize): Check the
293 existence of the flag directory.
295 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
297 * elmo-access.el (elmo-folder-initialize): Call
298 `elmo-multi-connect-signals'.
300 * elmo-pipe.el (elmo-folder-close): Define.
302 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
305 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
308 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
311 * elmo-multi.el (elmo-message-entity): Don't use return value of
312 `elmo-message-entity-set-number'.
314 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
316 * modb.el (modb-generic): Added slot `mime-charset'.
318 * modb-standard.el (modb-standard): Added slot `overview-handler'.
319 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
320 and `modb-entity-handler-dump-parameters'.
321 (modb-standard-default-entity-handler): Abolish.
322 (elmo-msgdb-message-entity-handler): Save created handler by
325 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
326 (modb-entity-handler-list-parameters): New method.
327 (modb-entity-handler-equal-p): New function.
328 (modb-entity-handler-dump-parameters): Ditto.
329 (modb-entity-parse-address-string): Encode return value.
330 (modb-entity-make-address-string): Decode argument value.
331 (modb-entity-decode-string-recursive): New function.
332 (modb-entity-encode-string-recursive): Ditto.
333 (modb-standard-entity-normalizer): Set to encode field value.
334 (modb-standard-entity-specializer): Follow the above change.
335 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
336 mime-charset of handler.
337 (elmo-msgdb-message-entity-field): Ditto.
338 (elmo-msgdb-copy-message-entity): Fixed reference to internal
340 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
342 * elmo.el (elmo-folder): Added slot `mime-charset'.
343 (elmo-make-folder): Added argument `mime-charset'.
344 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
347 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
348 (elmo-make-msgdb): Likewise.
350 * elmo-internal.el (elmo-internal-folder-initialize): Call
351 `luna-make-entity' with :mime-charset parameter.
353 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
355 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
356 encoded words in `from' and `subject' field.
358 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
360 * modb.el (elmo-msgdb-message-field): Add argument `type'.
361 (elmo-msgdb-match-condition): Get handler from entity instead of
364 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
365 (modb-standard-load-entity): Treat new file format.
366 (modb-standard-save-entity-1): Save as new file format.
367 (modb-standard-save-entity): Split messages into section here.
368 (elmo-msgdb-message-field): Follow the API change.
369 (modb-standard-default-entity-handler): New internal variable.
370 (elmo-msgdb-message-entity-handler): Define.
372 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
374 (modb-entity-field-extractor-alist): New user option.
375 (elmo-msgdb-message-entity-field): Removed argument `decode' and
376 added argument `type'.
377 (elmo-msgdb-copy-message-entity): Add optional argument
379 (modb-set-field-converter): New function.
380 (modb-convert-field-value): Ditto.
381 (modb-entity-string-decoder): Ditto.
382 (modb-entity-string-encoder): Ditto.
383 (modb-entity-parse-date-string): Ditto.
384 (modb-entity-make-date-string): Ditto.
385 (modb-entity-mime-decoder): Ditto.
386 (modb-entity-mime-encoder): Ditto.
387 (modb-entity-address-list-decoder): Ditto.
388 (modb-entity-address-list-encoder): Ditto.
389 (modb-entity-parse-address-string): Ditto.
390 (modb-entity-make-address-string): Ditto.
391 (modb-entity-create-field-indices): Ditto.
392 (modb-legacy-entity-field-slots): New constant.
393 (modb-legacy-entity-field-indices): Ditto.
394 (modb-legacy-entity-normalizer): New variable.
395 (modb-legacy-entity-specializer): Ditto.
396 (modb-legacy-entity-field-index): New macro.
397 (modb-legacy-entity-set-field): New function.
398 (modb-legacy-make-message-entity): Rewrite.
399 (elmo-msgdb-create-message-entity-from-buffer): Use
400 `elmo-msgdb-get-references-from-buffer'. Use
401 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
402 Use `modb-legacy-entity-set-field' instead of
403 `elmo-msgdb-message-entity-set-field'.
404 (elmo-msgdb-message-entity-field): Rewrite.
405 (elmo-msgdb-message-entity-set-field): Ditto.
406 (elmo-msgdb-copy-message-entity): Make new entity by
407 `make-handler' if it specified.
408 (elmo-msgdb-message-match-condition): Define a method of
409 `modb-entity-handler' and follow the API change.
410 (modb-standard-entity-handler): New class.
411 (modb-entity-extract-ml-info-from-x-sequence): New function.
412 (modb-entity-extract-ml-info-from-subject): Ditto.
413 (modb-entity-extract-ml-info-from-return-path): Ditto.
414 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
415 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
416 (modb-entity-extract-mailing-list-info): Ditto.
417 (modb-entity-extract-mailing-list-info-functions): New variable.
419 * elmo.el (elmo-message-field): Add optional argument `type'.
421 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
422 from `modb-entity.el'.
424 * elmo-util.el (elmo-object-load): Decode by coding-system from
425 `set-auto-coding-function'.
426 (elmo-object-save): Use `detect-mime-charset-region' and add
427 coding cookie if encode.
428 (elmo-msgdb-get-references-from-buffer): New function.
429 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
431 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
433 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
434 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
435 instead of `shimbun-make-header' and follow the API change.
436 (elmo-shimbun-update-overview): Follow the API change.
437 (elmo-map-folder-list-message-locations): Ditto.
439 * elmo-pipe.el (elmo-message-field): Ditto.
441 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
444 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
446 * elmo-multi.el (elmo-message-field): Ditto.
448 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
449 (elmo-msgdb-sort-by-date): Ditto.
450 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
451 `elmo-message-entity-field'.
452 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
454 (elmo-msgdb-overview-entity-get-from): Ditto.
455 (elmo-msgdb-overview-entity-get-subject): Ditto.
456 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
457 (elmo-msgdb-overview-entity-get-date): Ditto.
458 (elmo-msgdb-overview-entity-get-to): Ditto.
459 (elmo-msgdb-overview-entity-get-cc): Ditto.
461 * elmo-mime.el (elmo-message-mime-entity): Ditto.
462 (elmo-mime-collect-message/partial-pieces): Ditto.
464 * elmo-filter.el (elmo-message-field): Ditto.
466 * elmo-date.el (elmo-datevec-to-time): New function.
467 (elmo-time-parse-date-string): Ditto.
468 (elmo-time-make-date-string): Ditto.
471 * elmo-version.el (elmo-version): Up to 2.15.1.
473 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
475 * elmo-flag.el (elmo-global-flags-initialize): Don't include
476 member of elmo-local-flags.
478 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
480 * elmo-version.el (elmo-version): Up to 2.15.0.
482 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
484 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
485 `ignore-msgdb' is non-nil.
487 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
489 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
490 (elmo-condition-in-msgdb-p): Ditto.
491 (elmo-file-field-primitive-condition-match): Ditto.
492 (elmo-file-field-condition-match): Ditto.
494 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
496 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
498 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
500 (elmo-global-flags-initialize): New function.
502 * elmo.el (toplevel): Added autoload setting for
503 `elmo-global-flags-initialize'.
505 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
507 * elmo.el (message-number-changed): Define new signal.
508 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
509 message-number-changed signal.
510 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
511 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
512 Respect `elmo-pack-number-check-strict'.
514 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
516 * elmo-signal.el (elmo-connect-signal): Document.
517 (elmo-emit-signal): Ditto.
518 (elmo-emit-signal): It should pass source argument to filter and
519 handler, not slot-source.
521 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
523 * modb.el (elmo-msgdb-update-entity): New API and define generic
526 * modb-standard.el (elmo-msgdb-update-entity): Define.
528 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
529 API and define generic implement.
531 * elmo.el (update-overview): New singnal.
533 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
534 `elmo-msgdb-update-entity' and emit signal `update-overview'.
535 (elmo-message-entity-parent): Define.
537 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
540 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
542 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
544 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
546 * elmo.el (elmo-folder-synchronize): Sort the return value of
549 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
552 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
554 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
555 `default-enable-multibyte-characters'.
556 (elmo-object-load): Use `with-temp-buffer' instead of
558 (elmo-object-save): Ditto.
559 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
561 (elmo-decoded-field-body): Ditto.
563 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
565 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
566 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
568 * elmo-version.el (elmo-version): Up to 2.13.3.
570 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
572 * elmo-util.el (elmo-list-diff): Fix the last change.
573 Reverse order of result lists.
575 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
577 * modb-standard.el (elmo-msgdb-set-flag): Use
578 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
579 (elmo-msgdb-unset-flag): Ditto.
581 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
584 * elmo-util.el (elmo-list-diff): Rewrite.
585 (elmo-list-diff-nonsortable): New function.
587 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
589 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
590 `elmo-multibypte-buffer-name'. All referers are updated.
592 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
594 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
595 (elmo-mime-entity-fragment-p): New function.
596 (mime-elmo-buffer-entity): Added slot `reassembled'.
597 (elmo-message-mime-entity): Added 4th argument `reassemble'.
598 (elmo-message-mime-entity-internal): New function (renamed from
599 `elmo-message-mime-entity').
600 (elmo-mime-inherit-field-list-from-enclosed): New constant.
601 (elmo-mime-make-reassembled-mime-entity): New function.
602 (elmo-message-reassembled-mime-entity): Ditto.
603 (elmo-mime-collect-message/partial-pieces): Ditto.
605 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
607 * elmo.el (elmo-message-fetch-string): Disable multibyte.
609 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
610 (elmo-with-enable-multibyte): New macro.
612 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
614 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
616 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
618 (elmo-filter-connect-signals): Follow the above change.
620 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
622 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
624 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
625 that only the first flag is used.
627 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
629 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
632 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
634 * elmo-signal.el: New file.
636 * elmo.el (toplevel): Require elmo-signal.
637 (flag-changing, flag-changed, cache-changed): New signal.
638 (elmo-folder): Remove slog `handlers'.
639 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
640 `elmo-folder-notify-event'.
641 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
642 (elmo-folder-unset-flag): Ditto.
643 (elmo-event-handler): Abolish.
644 (elmo-event-handler-flag-changed): Ditto.
645 (elmo-event-handler-cache-changed): Ditto.
646 (elmo-folder-add-handler): Ditto.
647 (elmo-folder-remove-handler): Ditto.
648 (elmo-folder-notify-event): Ditto.
650 * elmo-pipe.el (toplevel): Require elmo-signal.
651 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
652 (elmo-pipe-connect-signals): New function.
653 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
654 (elmo-folder-set-flag): Ditto.
655 (elmo-folder-unset-flag): Ditto.
656 (elmo-message-set-cached): Ditto.
658 * elmo-multi.el (toplevel): Require elmo-signal.
659 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
660 (elmo-multi-connect-signals): New function.
661 (elmo-multi-map-numbers): Ditto.
662 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
663 (elmo-message-fetch): Ditto.
664 (elmo-folder-set-flag): Ditto.
665 (elmo-folder-unset-flag): Ditto.
667 * elmo-filter.el (toplevel): Require elmo-signal.
668 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
669 (elmo-filter-connect-signals): New function.
670 (elmo-filter-add-flag-count): Ditto.
671 (elmo-message-fetch): Does not call
672 `elmo-filter-folder-countup-message-flags' and
673 `elmo-folder-notify-event'.
674 (elmo-message-set-cached): Ditto.
675 (elmo-folder-set-flag): Ditto.
676 (elmo-folder-unset-flag): Ditto.
678 * elmo-version.el (elmo-version): Up to 2.13.2.
680 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
682 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
685 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
687 * elmo-filter.el (elmo-message-set-cached): Call
688 `elmo-folder-notify-event' with event `cache-changed'.
690 * elmo-multi.el (elmo-message-set-cached): Ditto.
692 * elmo-pipe.el (elmo-message-set-cached): Ditto.
694 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
696 * elmo.el (elmo-folder-encache): Abolish.
698 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
700 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
701 (elmo-folder-next-message-number-dop): Return appropriate negative
704 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
706 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
707 clearing pending operations.
708 (elmo-folder-next-message-number-dop): Return appropriate negative
711 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
713 * elmo.el (toplevel): Added autoload setting for `md5'.
714 (elmo-msgdb-path-encode-threshold): New user option.
715 (elmo-folder-msgdb-path): Encode msgdb path if its length is
716 longer than `elmo-msgdb-path-encode-threshold'.
718 * elmo-flag.el (elmo-global-mark-migrate): Use
719 `elmo-folder-expand-msgdb-path' instead of
720 `elmo-folder-msgdb-path'.
722 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
724 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
725 element of the difference is nil.
727 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
729 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
730 to the check logic of file systems which are weak in colon character.
732 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
734 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
736 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
738 * elmo-maildir.el (elmo-maildir-move-file): New function.
739 (elmo-folder-append-buffer): Use it.
740 (elmo-folder-append-messages): Ditto.
741 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
743 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
744 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
746 * elmo-maildir.el (elmo-maildir-separator): New user option.
747 (elmo-maildir-adjust-separator): New macro.
748 (elmo-maildir-list-location): Use it.
749 (elmo-maildir-update-current): Ditto.
750 (elmo-maildir-set-mark): Ditto.
751 (elmo-maildir-delete-mark): Ditto.
752 (These changes are based on Hiroya Murata's patch [wl: 13437])
754 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
756 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
758 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
760 * elmo-flag.el (elmo-flag-valid-p): Simplify.
761 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
762 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
764 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
766 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
767 Use `with-temp-buffer'.
769 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
771 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
773 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
774 `wl-read-search-condition').
775 (elmo-read-search-condition-internal): Likewise.
777 * elmo-flag.el (elmo-flag-char-regexp): New constant.
778 (elmo-flag-valid-p): New function.
779 (elmo-folder-initialize): Check flag name is valid.
781 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
783 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
784 delimiter to obtain root mailbox itself.
786 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
788 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
791 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
793 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
796 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
798 * elmo-shimbun.el (toplevel): Require cl at compile.
800 * elmo-nntp.el (toplevel): Ditto.
802 * elmo-nmz.el (toplevel): Ditto.
804 * elmo-multi.el (toplevel): Ditto.
806 * elmo-file.el (toplevel): Ditto.
808 * elmo-dop.el (toplevel): Ditto.
810 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
812 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
814 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
817 * elmo.el (elmo-message-fetch): Return t even when the output buffer
818 size of elmo-message-fetch-internal is 0 byte.
820 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
822 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
824 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
826 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
829 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
831 * elmo-maildir.el (elmo-map-message-fetch): Call
832 `elmo-map-folder-set-flag'.
834 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
835 (elmo-message-fetch): Merge from
836 `elmo-message-fetch-with-cache-process'.
838 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
839 (elmo-message-fetch): Define.
841 * elmo-nntp.el (elmo-message-fetch): Renamed from
842 `elmo-message-fetch-with-cache-process'.
844 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
845 (elmo-message-fetch): Define.
847 * elmo-util.el (elmo-condition-parse-primitive): Downcase
850 * elmo-shimbun.el (shimbun-mua-search-id): Use
851 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
852 (elmo-shimbun-folder-shimbun-header): Ditto.
853 (elmo-shimbun-get-headers): Ditto.
854 (elmo-shimbun-update-overview): Ditto.
856 * elmo-pipe.el (elmo-folder-detach-messages): Define.
858 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
859 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
861 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
863 * elmo.el (elmo-message-fetch): Unset unread flag on server when
865 (elmo-message-fetch-string): Fixed argument.
867 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
869 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
870 exchange order of arguments `section' and `unread'.
871 (elmo-message-encache): Follow the API change.
872 (elmo-message-match-condition): Ditto.
873 (elmo-generic-folder-append-messages): Ditto.
874 (elmo-message-fetch-string): New function.
876 * elmo-split.el (elmo-split-subr): Ditto.
878 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
880 * elmo-pipe.el (elmo-message-fetch): Ditto.
882 * elmo-multi.el (elmo-message-fetch): Ditto.
884 * elmo-mime.el (elmo-message-mime-entity): Ditto.
886 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
888 * elmo-filter.el (elmo-message-fetch): Ditto.
890 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
892 * elmo-imap4.el (mime-imap-location-section-body): Use
893 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
894 follow the API change.
896 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
898 * elmo-access.el: New file.
900 * elmo-null.el: Ditto.
902 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
904 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
906 * elmo-net.el (elmo-network-session-idle-timeout): New option.
907 (elmo-network-session): New attribute `last-accessed'.
908 (elmo-network-get-session): Discard network cache if elapsed time
909 since last-accessed is larger than elmo-network-session-idle-timeout.
911 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
913 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
914 and added `number', `require-entireness'.
915 (elmo-find-fetch-strategy): Rewrite.
916 (elmo-message-fetch): Unset `unread' flag when argument unread is
919 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
921 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
922 (elmo-message-fetch): Notify event `flag-changed'.
924 * elmo-pipe.el: Likewise.
926 * elmo-mime.el (elmo-mime-entity): New class.
927 (elmo-mime-entity-display-p): New generic function.
928 (elmo-mime-entity-display): Ditto.
929 (elmo-mime-entity-display-as-is): Ditto.
930 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
932 (elmo-make-mime-message-location): Removed.
933 (elmo-mime-message-display): Ditto.
934 (elmo-mime-display-as-is): Ditto.
935 (elmo-message-mime-entity): New function.
937 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
939 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
941 (elmo-message-fetch): Re-count flagged message number and notify
942 event `flag-changed'.
944 * elmo-version.el (elmo-version): Up to 2.13.1.
946 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
948 * elmo-filter.el (elmo-message-field): Define.
949 (elmo-message-set-field): Ditto.
951 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
953 * elmo.el (elmo-message-set-cached): Call
954 `elmo-folder-notify-event' with cache-changed.
955 (elmo-event-handler-cache-changed): New generic function.
957 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
959 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
960 instead of elmo-add-name-to-file.
961 (elmo-folder-append-messages): Ditto.
963 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
965 * elmo.el (elmo-folder-update-threshold): Add nil to range.
967 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
969 * elmo-version.el (elmo-version): Up to 2.13.0.
971 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
974 * modb-standard.el (modb-standard-economize-entity-size): Changed
975 default value to `t'.
977 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
980 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
981 after parsing greeting string.
983 2004-11-23 Daishi Kato <daishi@axlight.com>
985 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
987 (elmo-spam-spamoracle-call): Use it.
989 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
991 * elmo.el (elmo-message-accessible-p): Message in dop spool
994 2004-11-23 Daishi Kato <daishi@axlight.com>
996 * elsp-spamoracle.el: New file.
998 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1000 * elmo.el (elmo-message-flags-for-append): New function.
1001 (elmo-generic-folder-append-messages): Use it.
1003 * elmo-split.el (elmo-split-subr): Ditto.
1005 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1006 `flags' and use elmo-folder-append-buffer instead of
1007 write-region-as-binary.
1008 (elmo-dop-filter-pending-messages): New function.
1009 (elmo-folder-append-buffer-dop): Call
1010 elmo-dop-spool-folder-append-buffer with `flag'.
1011 (elmo-folder-set-flag-dop): Filter messages by
1012 elmo-dop-filter-pending-messages.
1013 (elmo-folder-unset-flag-dop): Ditto.
1014 (elmo-folder-append-buffer-dop-delayed): Use
1015 elmo-message-flags-for-append to get flags of the message and
1018 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1020 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1022 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1024 * elmo.el (elmo-folder): Added handlers slot.
1025 (elmo-event-handler): New class.
1026 (elmo-event-handler-flag-changed): New API.
1027 (elmo-folder-add-handler): New function.
1028 (elmo-folder-remove-handler): Ditto.
1029 (elmo-folder-notify-event): Ditto.
1030 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1032 (elmo-folder-unset-flag): Ditto.
1034 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1035 (elmo-folder-unset-flag): Ditto.
1037 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1038 (elmo-folder-unset-flag): Ditto.
1040 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1041 (elmo-folder-unset-flag): Ditto.
1043 * elmo-version.el (elmo-version): Up to 2.11.33.
1045 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1047 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1049 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1051 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1053 * elmo-flag.el (elmo-folder-unset-flag): Define.
1054 (elmo-global-flag-detach): Do process when the flag is not target
1057 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1059 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1061 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1063 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1065 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1067 (elmo-folder-delete-messages): Detach messages before delete
1068 messages from target folder.
1069 (elmo-folder-detach-messages): Set updated number-list to slot.
1071 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1073 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1075 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1077 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1079 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1081 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1083 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1085 (elmo-folder-delete-messages): Define.
1086 (elmo-folder-move-messages): Don't call
1087 `elmo-folder-detach-messages'.
1088 (elmo-folder-synchronize): Rewrite.
1089 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1091 * elmo-util.el (elmo-last): New function.
1092 (elmo-set-list): Ditto.
1093 (elmo-number-set-delete-list): Ditto.
1094 (elmo-number-set-delete): Ditto.
1096 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1098 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1099 `elmo-folder-delete-messages' and don't delete location map.
1100 (elmo-folder-detach-messages): Define.
1102 * elmo-imap4.el (elmo-folder-delete): Use
1103 `elmo-folder-delete-messages-internal' instead of
1104 `elmo-folder-delete-messages'.
1106 * elmo-filter.el (elmo-folder-delete-messages): Call
1107 `elmo-folder-detach-messages'.
1108 (elmo-folder-detach-messages): Don't call
1109 `elmo-folder-detach-messages' for target folder.
1111 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1112 message deletion is succeeded.
1114 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1116 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1117 from `elmo-folder-delete-messages'.
1119 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1121 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1123 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1125 * elmo-version.el (elmo-version): Up to 2.11.32.
1127 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1129 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1130 (elmo-global-flag-list): Added obsolete variable setting.
1132 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1134 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1135 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1136 `elmo-mime-display-header-analysis' is nil.
1138 * elmo-flag.el (elmo-global-flags): Renamed from
1139 `elmo-global-flag-list' (All other related portions are changed).
1140 (elmo-local-flags): New variable.
1141 (elmo-local-flag-p): New function.
1142 (elmo-global-flag-set-internal): Cause an error when flag is not
1145 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1147 * elmo-util.el (elmo-concat-path): Treat empty path.
1149 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1151 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1153 (elmo-split-address-match): Ditto.
1154 (elmo-split-equal): Ditto.
1155 (elmo-split-match): Ditto.
1157 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1159 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1160 (elmo-generic-folder-append-messages): If src message exists but
1161 has no flag, pass (read) for the FLAG argument of
1162 `elmo-folder-append-buffer'. Otherwise, pass nil.
1164 * elmo-split.el (elmo-split-subr): Likewise.
1166 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1168 * elmo-multi.el (elmo-message-flags): Ditto.
1170 * elmo-filter.el (elmo-message-flags): Ditto.
1172 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1173 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1174 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1176 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1178 * elmo-split.el (elmo-split-rule): Update comment.
1179 (elmo-split-address-equal): Allow 2nd argument to be a list.
1180 (elmo-split-address-match): Ditto.
1181 (elmo-split-equal): Ditto.
1182 (elmo-split-match): Ditto.
1184 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1186 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1187 (elmo-folder-append-msgdb): Don't treat `read'.
1188 (elmo-message-flags): Don't return `read'.
1190 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1191 (elmo-folder-unset-read-delayed): Ditto.
1193 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1195 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1197 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1200 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1202 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1205 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1207 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1209 (elmo-msgdb-save): Bind inhibit-quit.
1210 (modb-standard-message-entity): Ditto.
1212 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1214 * elmo-database.el: No need to require elmo-msgdb.
1216 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1218 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1219 instead of `elmo-list-subdirectories'.
1221 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1223 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1225 (elmo-folder-exists-p): "[" is empty.
1226 (elmo-folder-list-subfolders): Define.
1227 (elmo-folder-have-subfolder-p): Ditto.
1229 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1231 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1233 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1235 * elmo-filter.el (elmo-folder-local-p): Define.
1237 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1239 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1240 when entity is garbaged.
1241 (modb-standard-save-entity-1): Don't modify the original entity.
1243 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1245 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1247 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1249 * elmo.el (elmo-strict-folder-diff): Use
1250 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1252 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1254 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1255 (elmo-msgdb-message-number): Ditto.
1256 (elmo-msgdb-message-field): Ditto.
1258 * modb-standard.el (modb-standard-economize-entity-size): New user
1260 (modb-standard-loaded-message-id): New inline function.
1261 (modb-standard-load-entity): Use it.
1262 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1263 throw message-id string away.
1264 (elmo-msgdb-flag-available-p): Define.
1265 (elmo-msgdb-message-number): Ditto.
1266 (elmo-msgdb-message-field): Ditto.
1268 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1269 (suppoted -> supported).
1270 (modb-legacy-supported-flag-p): Ditto.
1271 (elmo-msgdb-set-flag): Ditto.
1272 (elmo-msgdb-unset-flag): Ditto.
1273 (elmo-msgdb-flag-available-p): Define.
1275 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1276 is `t', treat it as legacy entity.
1278 * elmo.el (elmo-message-flag-available-p): New generic function.
1279 (elmo-message-number): Ditto.
1280 (elmo-message-field): Use `elmo-msgdb-message-field'.
1282 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1284 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1285 (elmo-message-number): Ditto.
1287 * elmo-multi.el (elmo-message-number): Define.
1288 (elmo-message-flag-available-p): Ditto.
1290 * elmo-filter.el (elmo-message-flag-available-p): Define.
1291 (elmo-message-number): Ditto.
1293 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1294 (elmo-folder-initialize): Load `max-number'.
1295 (elmo-folder-commit): Save it.
1296 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1297 (elmo-global-flag-set-internal): Set up max-number slot.
1299 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1301 * elmo-version.el (elmo-version): Up to 2.11.31.
1303 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1305 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1306 unibyte string of the current buffer for the argument of `md5'
1307 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1309 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1311 * modb-legacy.el (modb-legacy-flag-list): New constant.
1312 (modb-legacy-suppoted-flag-p): New internal function.
1313 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1314 (elmo-msgdb-unset-flag): Ditto.
1316 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1318 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1320 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1323 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1325 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1326 (follow the API change).
1328 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1330 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1332 * modb-standard.el (modb-standard-digest-flags): Abolish.
1333 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1335 * elmo-vars.el (elmo-digest-flags): New variable.
1336 (elmo-preserved-flags): Moved from elmo-flag.el.
1338 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1339 (elmo-imap4-flag-to-imap-criteria): Ditto.
1340 (elmo-imap4-folder-list-flagged): Use it.
1342 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1344 * elmo.el (elmo-folder-count-flags): Changed return value.
1346 * elmo-flag.el (elmo-preserved-flags): New variable.
1347 (elmo-get-global-flags): Use it.
1349 * modb-standard.el (modb-standard-digest-flags): New variable.
1350 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1351 Changed behavior of `any'.
1353 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1354 which are defined the Internet draft
1355 (draft-melnikov-imap-keywords-03.txt).
1356 (elmo-imap4-flags-to-imap): New function.
1357 (elmo-folder-append-buffer): Use it.
1359 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1362 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1363 avoid the bug of Emacs 21.3.
1365 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1367 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1368 function find-coding-system does not exist.
1370 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1372 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1375 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1377 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1380 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1382 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1383 (elmo-network-close-session): Follow the changes in
1384 `elmo-pop3-read-response'.
1385 (elmo-pop3-auth-user): Ditto.
1386 (elmo-pop3-auth-apop): Ditto.
1387 (elmo-network-initialize-session): Ditto.
1388 (elmo-network-authenticate-session): Ditto.
1389 (elmo-network-setup-session): Ditto.
1390 (elmo-folder-status): Ditto.
1391 (elmo-message-fetch-plugged): Ditto.
1392 (elmo-pop3-delete-msg): Ditto.
1394 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1396 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1399 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1401 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1403 (elmo-bind-directory): Ditto.
1405 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1407 * elmo.el (elmo-folder-append-messages): Note on return value.
1408 * elmo-archive.el (elmo-folder-append-messages): Don't return
1409 message numbers which could not be appended.
1411 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1413 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1415 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1417 * elmo-version.el (elmo-version): Up to 2.11.30.
1419 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1421 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1424 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1426 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1427 (elmo-multi-split-numbers): Add elmo-folder object into each
1428 element of return value at first.
1429 (elmo-folder-delete-messages): Follow the above change.
1430 (elmo-folder-detach-messages): Ditto.
1432 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1433 number which is synchronized in target folder.
1435 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1437 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1438 Change default value to symbol `all'.
1439 (elmo-map-message-fetch): Change condition to update overview
1442 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1444 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1445 behavior to update overview.
1446 (elmo-shimbun-update-overview-folder-list): Note it.
1448 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1450 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1453 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1455 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1456 buffer-disable-undo, it is unnecessary.
1457 (elmo-spam-register-good-messages): Ditto.
1459 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1462 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1464 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1466 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1467 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1468 elmo-set-buffer-multibyte.
1469 (elmo-object-load): Ditto.
1470 (elmo-save-buffer): Ditto.
1471 (elmo-delete-char): Ditto.
1472 (elmo-file-field-primitive-condition-match): Ditto.
1473 (elmo-mime-string): Ditto.
1475 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1476 (elmo-archive-field-condition-match): Ditto.
1478 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1480 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1482 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1483 (elmo-nntp-msgdb-create-message): Ditto.
1485 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1487 * elmo.el (elmo-message-match-condition): Ditto.
1488 (elmo-message-match-condition): Ditto.
1490 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1493 * elmo-version.el (elmo-version): Up to 2.11.29.
1495 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1496 (elsp-header): New backend.
1498 * elmo-util.el (elmo-decoded-field-body): New function.
1500 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1502 * elmo-version.el (elmo-version): Up to 2.11.28.
1504 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1506 * elmo-filter.el: Rewrite.
1508 * elmo-version.el (elmo-version): Up to 2.11.27.
1510 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1512 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1513 msgdb path for the localdir folder with absolute path.
1515 * utf7.el: Synch up with latest gnus/utf7.el;
1516 Modified for latest Emacs.
1518 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1520 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1521 shimbun backend couldn't open.
1523 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1525 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1526 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1527 when a destination folder is a filter folder.
1529 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1531 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1532 (elmo-generic-folder-append-messages): Call elmo-message-flags
1533 with argument `msgid'.
1535 * elmo-split.el (elmo-split-subr): Ditto.
1537 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1539 * elmo-multi.el (elmo-message-flags): Ditto.
1541 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1543 * elmo.el (elmo-folder): Add new slot `flag-table'.
1544 (elmo-folder-flag-table): New API.
1545 (elmo-folder-close-flag-table): Ditto.
1546 (elmo-folder-preserve-flags): New function.
1547 (elmo-generic-folder-append-messages): Use
1548 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1549 Flag of a non-registered message, it sets to nil.
1550 Does not set flag to flag-table.
1552 * elmo-maildir.el (elmo-folder-append-buffer): Use
1553 `elmo-folder-preserve-flags'.
1554 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1555 `elmo-folder-close-flag-table'.
1557 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1558 (elmo-archive-folder-append-buffer): Use
1559 `elmo-folder-preserve-flags'.
1561 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1563 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1565 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1566 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1567 `elmo-folder-close-flag-table'.
1569 * elmo-version.el (elmo-version): Up to 2.11.26.
1571 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1573 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1575 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1576 md5's 4th and 5th argument (non-existent in flim one).
1578 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1580 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1581 message, It sets to nil.
1583 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1585 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1588 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1590 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1592 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1594 * elmo-util.el (elmo-uniq-sorted-list): New function.
1595 (elmo-make-number-list): Ditto.
1596 (elmo-number-set-to-number-list): Use elmo-make-number-list
1597 and don't use nreverse.
1599 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1601 * elmo-version.el (elmo-version): Up to 2.11.25.
1603 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1605 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1606 field not exists in message, Use md5 message digest of header.
1608 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1610 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1611 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1612 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1613 * elmo-split.el (elmo-split-subr): Check return value of
1614 elmo-folder-append-buffer.
1616 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1617 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1619 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1622 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1624 * elmo-split.el (elmo-split-subr): Append message with flag.
1626 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1627 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1628 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1630 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1632 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1633 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1634 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1636 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1638 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1639 with a function call of `process-buffer'. All callers are updated.
1640 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1641 Remove redundant `set-buffer' in a while loop.
1643 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1645 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1648 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1650 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1651 elsp-spamfilter-register-buffer-internal with current buffer.
1652 (elmo-spam-register-spam-buffer): Ditto.
1653 (elmo-spam-register-good-buffer): Ditto.
1655 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1657 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1658 if it is not contained in the response(A workaround for courier-imap).
1660 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1662 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1665 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1667 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1670 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1672 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1675 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1677 (elmo-msgdb-message-match-condition): Follow the change above.
1679 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1681 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1684 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1686 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1688 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1690 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1692 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1694 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1697 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1699 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1701 (elmo-file-command-argument): Undo last change for cygwin.
1702 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1704 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1706 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1708 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1709 value returned from elmo-file-find is nil.
1711 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1713 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1716 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1717 instead of insert-file-contents-as-binary.
1718 (elmo-message-set-field): New generic function.
1720 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1721 behavior change on `split-string'.
1723 * elmo-file.el (elmo-file-find): New function.
1724 (elmo-file-command): New user option.
1725 (elmo-file-command-argument): Ditto.
1726 (elmo-file-fetch-max-size): Ditto.
1727 (elmo-file-detect-format): New function.
1728 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1729 Use elmo-file-detect-format.
1730 (elmo-map-folder-list-message-locations): Don't treat directories.
1732 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1734 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1735 (elmo-passwd-alist-clear): Shred password before clear.
1736 (elmo-remove-passwd): Remove all mached pair.
1738 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1740 * elmo.el (elmo-folder-synchronize): Fix description of the return
1743 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1745 * elmo.el (elmo-message-fetch-bodystructure): New method.
1746 (elmo-message-fetch-bodystructure): Define default.
1748 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1749 elmo-message-fetch-bodystructure.
1750 (elmo-message-fetch-bodystructure): Define.
1752 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1754 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1756 * elmo-filter.el (elmo-message-folder): Define.
1758 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1760 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1761 elmo-delete-cr-buffer.
1763 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1765 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1767 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1769 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1770 type seems to be a text.
1772 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1774 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1775 (elmo-spam-register-good-buffer): Ditto.
1776 (elmo-spam-spamassassin-register-messages): Ditto.
1778 * elmo-util.el (elmo-string-member-ignore-case): Define with
1781 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1783 * elmo.el (elmo-folder-type): Undo last change.
1785 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1787 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1790 * elmo-file.el: New file.
1792 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1794 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1796 (elmo-spam-spamassassin-register-messages): New inline function.
1797 (elmo-spam-register-spam-messages): Define.
1798 (elmo-spam-register-good-messages): Ditto.
1800 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1803 * elmo.el (toplevel): Added autoload setting for
1804 `elmo-get-global-flags'.
1805 (elmo-message-has-global-flag-p): New function.
1806 (elmo-message-set-global-flags): Ditto.
1807 (elmo-folder-type): Improvement for name: format.
1809 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1810 availability of keyword flags.
1811 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1812 (elmo-folder-list-flagged-plugged): Renamed from
1813 elmo-folder-list-flagged-unplugged.
1814 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1815 accept any flag as keyword flag.
1816 (elmo-folder-set-flag-plugged): Accept keyword flags.
1817 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1819 * elmo-flag.el (elmo-get-global-flags): New function.
1821 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1824 * elmo-version.el (elmo-version): Up to 2.11.24.
1826 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1828 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1829 elmo-multiple-field-body instead of std11-field-body to check all
1832 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1834 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1837 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1839 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1840 unintern is unbound.
1842 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1844 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1845 Protect from infinite loop.
1847 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1849 * elsp-bogofilter.el
1850 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1851 (elmo-spam-bogofilter-register-messages): New internal function.
1852 (elmo-spam-register-spam-messages): Define.
1853 (elmo-spam-register-good-messages): Ditto.
1855 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1857 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1858 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1859 (elmo-spam-bogofilter-call): Fixed the last change.
1860 (elmo-spam-bogofilter-arguments): Ditto.
1862 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1863 Follow the options change of latest bogofilter.
1865 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1866 (elmo-spam-bogofilter-good-switch): Ditto.
1867 (elmo-spam-bogofilter-arguments-alist): New user option.
1868 (elmo-spam-bogofilter-debug): Ditto.
1869 (elmo-spam-bogofilter-call): Renamed from
1870 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1871 is non-nil, insert output in buffer for debug.
1872 (elmo-spam-bogofilter-arguments): New macro.
1873 (elmo-spam-buffer-spam-p): Use it.
1874 (elsp-bogofilter-register-buffer): Ditto.
1876 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1878 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1881 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1883 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1885 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1886 (elmo-spam-bsfilter-program): Set default value as full path for
1888 (elmo-spam-bsfilter-debug): New user option.
1889 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1890 non-nil, insert output in buffer for debug. Fix treating of
1893 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1895 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1896 `elmo-maildir-flag-specs' element instead of one.
1897 (elmo-map-folder-unset-flag): Ditto.
1898 (Reported by Ken Makimura <macky@astem.or.jp>)
1900 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1901 (elmo-folder-unset-flag-plugged): Ditto.
1903 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1905 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1906 to `reads' slot only if `in-msgdb' is nil.
1908 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1910 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1911 and complement argument list.
1913 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1915 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1916 instead of elmo-folder-list-flagged.
1918 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1920 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1922 * elsp-bsfilter.el: New file.
1924 * elmo-pipe.el (elmo-folder-list-unreads,
1925 elmo-folder-list-answereds,
1926 elmo-folder-list-importants,
1927 elmo-folder-flag-as-important,
1928 elmo-folder-unflag-important,
1929 elmo-folder-flag-as-read,
1930 elmo-folder-unflag-read,
1931 elmo-folder-flag-as-answered,
1932 elmo-folder-unflag-answered): Remove.
1933 (elmo-folder-set-flag): Define.
1934 (elmo-folder-unset-flag): Ditto.
1936 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1937 (elmo-folder-set-flag): Define.
1938 (elmo-folder-unset-flag): Ditto.
1939 (elmo-folder-list-unreads): Remove.
1940 (elmo-folder-list-flagged): Define.
1942 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1943 (elmo-folder-list-unreads,
1944 elmo-folder-list-importants,
1945 elmo-folder-list-answereds,
1946 elmo-folder-list-unreads-plugged,
1947 elmo-folder-list-importants-plugged,
1948 elmo-folder-list-answereds-plugged): Remove.
1949 (elmo-folder-list-flagged-plugged): New method.
1950 (elmo-folder-unflag-important,
1951 elmo-folder-flag-as-important,
1952 elmo-folder-unflag-read,
1953 elmo-folder-flag-as-read,
1954 elmo-folder-unflag-answered,
1955 elmo-folder-flag-as-answered,
1956 elmo-folder-flag-as-read-unplugged,
1957 elmo-folder-unflag-read-unplugged,
1958 elmo-folder-flag-as-important-unplugged,
1959 elmo-folder-unflag-important-unplugged,
1960 elmo-folder-flag-as-answered-unplugged,
1961 elmo-folder-unflag-answered-unplugged): Remove.
1962 (elmo-folder-set-flag): Define.
1963 (elmo-folder-unset-flag): Ditto.
1964 (elmo-folder-set-flag-unplugged): Ditto.
1965 (elmo-folder-unset-flag-unplugged): Ditto.
1967 * elmo-multi.el (elmo-folder-list-unreads,
1968 elmo-folder-list-answereds,
1969 elmo-folder-list-importants,
1970 elmo-folder-flag-as-important,
1971 elmo-folder-unflag-important,
1972 elmo-folder-flag-as-read,
1973 elmo-folder-unflag-read,
1974 elmo-folder-flag-as-answered,
1975 elmo-folder-unflag-answered): Remove.
1976 (elmo-folder-set-flag): Define.
1977 (elmo-folder-unset-flag): Ditto.
1979 * elmo-map.el (elmo-map-folder-unflag-important,
1980 elmo-map-folder-flag-as-important,
1981 elmo-map-folder-unflag-read,
1982 elmo-map-folder-flag-as-read,
1983 elmo-map-folder-unflag-answered,
1984 elmo-map-folder-flag-as-answered): Remove.
1985 (elmo-map-folder-set-flag): New method.
1986 (elmo-map-folder-unset-flag): Ditto.
1987 (elmo-map-folder-list-unreads,
1988 elmo-map-folder-list-importants,
1989 elmo-map-folder-list-answereds): Remove.
1990 (elmo-folder-list-flagged-internal): Define.
1991 (elmo-map-folder-list-flagged): New method.
1993 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
1994 (elmo-map-folder-list-unreads,
1995 elmo-map-folder-list-importants,
1996 elmo-map-folder-list-flagged): Remove.
1997 (elmo-map-folder-list-flagged): Define.
1998 (elmo-map-folder-flag-as-important,
1999 elmo-map-folder-unflag-important,
2000 elmo-map-folder-flag-as-read,
2001 elmo-map-folder-unflag-read,
2002 elmo-map-folder-flag-as-answered,
2003 elmo-map-folder-unflag-answered): Remove.
2004 (elmo-maildir-set-mark-messages): New internal function.
2005 (elmo-map-folder-set-flag): Define.
2006 (elmo-map-folder-unset-flag): Ditto.
2008 * elmo.el (toplevel): Added autoload setting for
2009 `elmo-folder-list-global-flag-messages'.
2010 (elmo-folder-list-unreads,
2011 elmo-folder-list-importants,
2012 elmo-folder-list-answereds): Remove.
2013 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2014 Return a list whitch merged with messages have global flag.
2015 (elmo-folder-list-flagged-internal): New method.
2016 (elmo-folder-unflag-important,
2017 elmo-folder-flag-as-important,
2018 elmo-folder-unflag-read,
2019 elmo-folder-flag-as-read,
2020 elmo-folder-unflag-answered,
2021 elmo-folder-flag-as-answered): Remove.
2022 (elmo-folder-set-flag): New method.
2023 (elmo-folder-unset-flag): Ditto.
2024 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2025 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2027 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2028 (elmo-folder-list-unreads-plugged,
2029 elmo-folder-list-importants-plugged,
2030 elmo-folder-list-answereds-plugged,
2031 elmo-folder-list-flagged-unplugged,
2032 elmo-folder-unflag-important-plugged,
2033 elmo-folder-flag-as-important-plugged,
2034 elmo-folder-unflag-read-plugged,
2035 elmo-folder-flag-as-read-plugged,
2036 elmo-folder-unflag-answered-plugged,
2037 elmo-folder-flag-as-answered-plugged): Remove.
2038 (elmo-folder-set-flag-plugged,
2039 elmo-folder-unset-flag-plugged): Define.
2041 * elmo-flag.el (elmo-folder-initialize): Register to
2042 `elmo-global-flag-list' if flag is not global.
2043 (elmo-folder-append-messages): Set flag to source messages.
2045 * elmo-filter.el (elmo-filter-folder-list-unreads,
2046 elmo-folder-list-unreads,
2047 elmo-filter-folder-list-importants,
2048 elmo-folder-list-importants,
2049 elmo-folder-flag-as-read,
2050 elmo-folder-unflag-read,
2051 elmo-folder-flag-as-important,
2052 elmo-folder-unflag-important,
2053 elmo-folder-flag-as-answered,
2054 elmo-folder-unflag-answered): Remove.
2055 (elmo-folder-set-flag): Define.
2056 (elmo-folder-unset-flag): Ditto.
2058 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2059 elmo-folder-unflag-read-dop,
2060 elmo-folder-flag-as-important-dop,
2061 elmo-folder-unflag-important-dop,
2062 elmo-folder-flag-as-answered-dop,
2063 elmo-folder-unflag-answered-dop): Remove.
2064 (elmo-folder-set-flag-dop,
2065 elmo-folder-unset-flag-dop,
2066 elmo-folder-set-important-delayed,
2067 elmo-folder-unset-important-delayed,
2068 elmo-folder-set-read-delayed,
2069 elmo-folder-unset-read-delayed,
2070 elmo-folder-set-answered-delayed,
2071 elmo-folder-unset-answered-delayed): New function.
2072 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2073 (elmo-dop-queue-method-name-alist): Ditto.
2075 * elmo-version.el (elmo-version): Up to 2.11.23.
2077 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2079 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2081 * elsp-sa.el: New file.
2083 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2085 * modb-standard.el (modb-standard-message-entity): New function.
2086 (elmo-msgdb-message-entity): Use it.
2088 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2090 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2091 behavior when one-level is nil.
2093 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2095 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2097 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2099 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2101 (elmo-generic-folder-diff): Ditto.
2103 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2104 (elmo-folder-update-number): Ditto.
2106 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2107 (elmo-folder-next-message-number-dop): Ditto.
2109 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2111 * elmo-filter.el (elmo-folder-msgdb-create): Use
2112 `elmo-message-entity' and `elmo-message-flags' instead of
2113 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2115 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2117 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2120 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2122 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2124 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2126 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2128 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2130 * elmo-version.el (elmo-version): Up to 2.11.22.
2132 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2134 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2136 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2138 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2139 if the message dose not exist.
2141 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2143 * elmo-version.el (elmo-version): Up to 2.11.21.
2145 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2147 * modb-standard.el (toplevel): Don't require mime.
2149 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2151 * elsp-bogofilter.el (toplevel): Don't require path-util.
2152 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2153 (elmo-spam-bogofilter-header): Abolish.
2154 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2155 (elmo-spam-bogofilter-args): New user option.
2156 (elsp-bogofilter-call-bogofilter): New internal function.
2157 (elmo-spam-buffer-spam-p): Use it.
2158 (elsp-bogofilter-register-buffer): Renamed from
2159 `elmo-spam-bogofilter-register-buffer';
2160 Use `elsp-bogofilter-call-bogofilter'.
2161 (elmo-spam-register-spam-buffer): Follow the change above.
2162 (elmo-spam-register-good-buffer): Ditto.
2164 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2166 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2167 message-id is nil do nothing.
2169 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2171 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2173 (elmo-imap4-session): Removed use-flag slot.
2174 (elmo-imap4-session-select-mailbox): Undo last change.
2175 (elmo-folder-use-flag-p): Use
2176 elmo-imap4-disuse-server-flag-mailbox-regexp.
2178 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2180 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2181 (elmo-imap4-session-select-mailbox): Set it up.
2182 (elmo-folder-use-flag-p): Return value of use-flag slot.
2184 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2186 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2188 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2190 * modb-entity.el (elmo-message-entity-handler): Likewise.
2192 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2194 * elmo.el (toplevel): Remove setting of autoloding for
2195 elmo-global-flag-initialize.
2196 (elmo-init): Don't call elmo-global-flag-initialize.
2197 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2199 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2200 (elmo-global-mark-migrate): Don't call it.
2201 (elmo-global-mark-upgrade): Ditto.
2203 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2205 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2206 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2208 * elmo-vars.el (elmo-init-hook): New user option.
2210 * elmo.el (elmo-init): Run the elmo-init-hook.
2212 * elmo-flag.el (elmo-global-mark-migrate): New function.
2214 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2216 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2217 Undo last change (move to elmo-msgdb-unset-flag).
2218 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2221 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2223 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2225 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2226 (elmo-msgdb-unset-flag): Ditto.
2228 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2230 * elmo-split.el (elmo-split): Return split message count.
2232 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2234 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2237 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2239 * elmo.el (elmo-folder-unflag-important): Call
2240 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2243 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2245 (elmo-global-flag-detach): Delete the message from flag folder, if
2246 `delete-if-none' is a symbol `always'.
2248 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2250 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2251 `elmo-spam-spamfilter-decode-buffer'.
2252 (elsp-spamfilter-register-buffer-internal): New internal function.
2253 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2254 (elmo-spam-register-spam-buffer): Ditto.
2255 (elmo-spam-register-good-buffer): Ditto.
2257 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2259 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2260 (elmo-spam-register-spam-buffer): Follow the API change.
2261 (elmo-spam-register-good-buffer): Ditto.
2263 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2264 (elmo-split-spam-p): Added argument plist; Call
2265 `elmo-spam-buffer-spam-p' with new argument register.
2267 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2269 (elmo-spam-message-spam-p): Ditto.
2270 (elmo-spam-register-spam-buffer): Added optional argument
2272 (elmo-spam-register-good-buffer): Ditto.
2273 (elmo-spam-register-spam-messages): Ditto.
2274 (elmo-spam-register-good-messages): Ditto.
2276 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2278 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2279 register into good corpus.
2280 (elmo-spam-register-good-buffer): Fixed to register into bad
2283 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2285 * elmo-version.el (elmo-version): Up to 2.11.20.
2287 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2290 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2291 flag without depending on \Recent flag.
2293 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2295 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2296 (elmo-spam-modified-p): Defined.
2297 (elmo-spam-save-status): Set `modified' slot to nil.
2298 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2299 (elmo-spam-register-good-buffer): Ditto.
2301 * elmo-spam.el (elmo-spam-modified-p): New API.
2303 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2305 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2306 duplicate definition.
2308 * elmo-util.el (elmo-unfold-field-body): New function.
2309 (elmo-msgdb-get-message-id-from-buffer): Use it.
2311 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2312 Fixed the last change; Use elmo-unfold-field-body.
2314 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2316 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2319 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2321 * elmo-spam.el (elmo-spam-save-status): New API.
2323 * elsp-spamfilter.el: New file.
2325 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2327 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2329 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2331 * elmo-split.el (elmo-split-spam-p): New function.
2333 * elmo-spam.el: New file.
2335 * elsp-bogofilter.el: Ditto.
2337 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2339 * elmo.el (elmo-folder-next-message-number): New API.
2340 (elmo-folder-next-message-number): Define.
2341 (elmo-message-field): Don't check folder length.
2343 * elmo-net.el (elmo-folder-next-message-number): Define.
2344 (elmo-folder-next-message-number-unplugged): Define.
2346 * elmo-map.el (elmo-folder-next-message-number): Define.
2347 (elmo-folder-delete-messages): Clear hash value.
2349 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2351 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2352 (elmo-folder-delete-messages-dop-delayed): Always return t.
2354 * elmo-version.el (elmo-version): Up to 2.11.19.
2356 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2358 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2361 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2362 identical cons cell into the mark-alist and the hash table.
2364 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2366 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2367 elmo-folder-list-messages with argument `visible-only' as t.
2369 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2370 (elmo-folder-msgdb-create): Check the target folder.
2372 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2374 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2375 `permanentflag' instead of `flags'.
2376 (elmo-folder-open): Ditto.
2377 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2378 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2379 (elmo-folder-use-flag-p): Always return t.
2380 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2381 `permanentflags' does not exist.
2382 (elmo-folder-open): Ditto.
2384 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2386 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2388 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2390 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2391 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2393 (elmo-folder-open): Ditto.
2394 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2395 slot of the session includes the flag.
2396 (elmo-imap4-session-flag-available-p): New function.
2397 (elmo-imap4-folder-list-flagged): Ditto.
2398 (elmo-folder-list-unreads-plugged): Use it.
2399 (elmo-folder-list-importants-plugged): Ditto.
2400 (elmo-folder-list-answereds-plugged): Ditto.
2401 (elmo-imap4-search-internal-primitive): Ditto.
2402 (elmo-imap4-folder-list-any-plugged,
2403 elmo-imap4-folder-list-digest-plugged): Abolish.
2405 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2408 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2410 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2412 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2414 * elmo-util.el (elmo-get-hash-val): Simplify.
2415 (elmo-set-hash-val): Rewrite.
2417 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2419 * elmo.el (elmo-folder-list-messages): Append killed messages into
2420 result if `visible-only' is nil and `in-msgdb' is non-nil.
2422 * elmo-util.el (elmo-uniq-list): Added optional argument
2425 * modb.el (elmo-msgdb-flag-count): New API.
2427 * modb-standard.el (modb-standard): Added slot flag-count.
2428 (modb-standard-countup-flags): New function.
2429 (modb-standard-load-flag): Call it.
2430 (elmo-msgdb-append): Ditto.
2431 (elmo-msgdb-clear): Clear slot flag-count.
2432 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2433 (elmo-msgdb-unset-flag): Treat `all' flag and call
2434 modb-standard-countup-flags.
2435 (elmo-msgdb-flag-count): Define.
2436 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2437 (elmo-msgdb-delete-messages): Ditto.
2439 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2440 (elmo-msgdb-flag-count): Define.
2442 * elmo.el (elmo-folder-list-messages): Undo last change.
2443 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2444 (elmo-folder-kill-messages): Unset all flags to numbers.
2446 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2447 elmo-folder-kill-messages.
2449 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2450 (elmo-nntp-folder-delete-messages): Abolish.
2452 * elmo-version.el (elmo-version): Up to 2.11.18.
2454 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2456 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2457 (elmo-folder-kill-messages-range): New function.
2458 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2459 instead of elmo-folder-kill-messages-before.
2461 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2463 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2464 elmo-imap4-current-msgdb to decide entity handler.
2466 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2468 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2470 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2472 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2473 (elmo-msgdb-overview-entity-set-number,
2474 elmo-msgdb-overview-entity-get-references,
2475 elmo-msgdb-overview-entity-set-references,
2476 elmo-msgdb-overview-entity-get-from-no-decode,
2477 elmo-msgdb-overview-entity-get-from,
2478 elmo-msgdb-overview-entity-set-from,
2479 elmo-msgdb-overview-entity-get-subject,
2480 elmo-msgdb-overview-entity-get-subject-no-decode,
2481 elmo-msgdb-overview-entity-set-subject,
2482 elmo-msgdb-overview-entity-get-date,
2483 elmo-msgdb-overview-entity-set-date,
2484 elmo-msgdb-overview-entity-get-to,
2485 elmo-msgdb-overview-entity-get-cc,
2486 elmo-msgdb-overview-entity-get-size,
2487 elmo-msgdb-overview-entity-set-size,
2488 elmo-msgdb-overview-entity-get-extra,
2489 elmo-msgdb-overview-entity-set-extra,
2490 elmo-msgdb-overview-entity-get-extra-field,
2491 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2492 (elmo-msgdb-make-index): Use
2493 `elmo-msgdb-overview-entity-get-number-internal'.
2494 (elmo-msgdb-clear-index): Ditto.
2495 (elmo-msgdb-append-entity): Ditto;
2496 Use `elmo-msgdb-overview-entity-get-id-internal'.
2498 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2499 elmo-msgdb-overview-entity-set-number,
2500 elmo-msgdb-overview-entity-get-references,
2501 elmo-msgdb-overview-entity-set-references,
2502 elmo-msgdb-overview-entity-get-from-no-decode,
2503 elmo-msgdb-overview-entity-get-from,
2504 elmo-msgdb-overview-entity-set-from,
2505 elmo-msgdb-overview-entity-get-subject,
2506 elmo-msgdb-overview-entity-get-subject-no-decode,
2507 elmo-msgdb-overview-entity-set-subject,
2508 elmo-msgdb-overview-entity-get-date,
2509 elmo-msgdb-overview-entity-set-date,
2510 elmo-msgdb-overview-entity-get-to,
2511 elmo-msgdb-overview-entity-get-cc,
2512 elmo-msgdb-overview-entity-get-size,
2513 elmo-msgdb-overview-entity-set-size,
2514 elmo-msgdb-overview-entity-get-extra,
2515 elmo-msgdb-overview-entity-set-extra,
2516 elmo-msgdb-overview-entity-get-extra-field,
2517 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2518 and rewrote for backward compatibility.
2520 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2522 * elmo.el (elmo-message-entity-number,
2523 elmo-message-entity-set-number,
2524 elmo-message-entity-field,
2525 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2527 * elmo-msgdb.el (elmo-message-entity-number,
2528 elmo-message-entity-set-number,
2529 elmo-message-entity-field,
2530 elmo-message-entity-set-field): Moved from elmo.el.
2532 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2534 * elmo.el (toplevel): Changed definition orders.
2536 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2538 * modb.el (elmo-msgdb-search): New API .
2539 (elmo-msgdb-match-condition): Ditto.
2541 * modb-standard.el (elmo-msgdb-search): Define.
2543 * modb-legacy.el (elmo-msgdb-search): Ditto.
2545 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2546 from elmo-msgdb-match-condition-internal.
2548 * elmo.el (elmo-folder-search-fast): Abolish.
2549 (elmo-folder-search): Use elmo-msgdb-search and
2550 elmo-with-progress-display.
2552 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2555 * elmo.el (elmo-folder): Remove slot message-modified and
2557 (elmo-folder-set-message-modified): Abolish.
2558 (elmo-generic-folder-commit): Follow the change above.
2559 (elmo-folder-synchronize): Ditto.
2561 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2563 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2565 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2567 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2569 * modb-standard.el (modb-standard-make-message-entity,
2570 elmo-msgdb-make-message-entity,
2571 elmo-msgdb-create-message-entity-from-buffer,
2572 elmo-msgdb-message-entity-number,
2573 elmo-msgdb-message-entity-set-number,
2574 elmo-msgdb-message-entity-field,
2575 elmo-msgdb-message-entity-set-field,
2576 elmo-msgdb-copy-message-entity,
2577 elmo-msgdb-match-condition-internal): Remove.
2579 * modb-entity.el: New file (again).
2581 * modb.el (toplevel): Require modb-entity.
2582 (elmo-msgdb-message-entity-handler): New method.
2584 * modb-standard.el (modb-standard-entity-id): Use
2585 elmo-message-entity-handler.
2586 (modb-standard-load-entity): Ditto.
2587 (elmo-msgdb-append-entity): Ditto.
2588 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2590 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2591 elmo-msgdb-decoded-cache-hashtb,
2592 (modb-legacy-make-message-entity,
2593 elmo-msgdb-make-message-entity,
2594 elmo-msgdb-create-message-entity-from-buffer,
2595 elmo-msgdb-message-entity-number,
2596 elmo-msgdb-message-entity-set-number,
2597 elmo-msgdb-message-entity-field,
2598 elmo-msgdb-message-entity-set-field,
2599 elmo-msgdb-copy-message-entity,
2600 elmo-msgdb-match-condition-internal,
2601 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2603 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2604 (elmo-message-entity-set-number): Ditto.
2605 (elmo-message-entity-field): Ditto.
2606 (elmo-message-entity-set-field): Ditto.
2608 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2610 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2612 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2614 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2615 (elmo-nntp-msgdb-create-message): Ditto.
2617 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2618 (elmo-folder-msgdb-create): Add unread flag.
2620 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2622 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2624 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2626 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2628 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2629 elmo-msgdb-messge-entity-handler.
2630 * elmo-version.el (elmo-version): Up to 2.11.17.
2632 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2634 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2637 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2639 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2641 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2642 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2643 (elmo-msgdb-flag-table): Ditto.
2644 (elmo-msgdb-sort-by-date): Ditto.
2646 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2648 * modb-standard.el (toplevel): Require mime.
2649 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2650 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2651 elmo-msgdb-message-entity-number.
2652 (elmo-msgdb-append-entity): Ditto.
2653 (elmo-msgdb-create-message-entity-from-file): Remove.
2654 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2655 corresponds to the entity.
2656 (elmo-msgdb-message-entity-number): Do nothing currently.
2657 (elmo-msgdb-message-entity-field): Ditto.
2658 (elmo-msgdb-message-entity-set-field): Ditto.
2659 (elmo-msgdb-copy-message-entity): Ditto.
2660 (elmo-msgdb-match-condition-internal): Ditto.
2662 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2664 (elmo-msgdb-create-message-entity-from-file): Remove.
2666 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2668 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2670 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2672 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2674 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2675 (elmo-msgdb-message-entity-field): Ditto.
2676 (elmo-msgdb-message-entity-number): Ditto.
2678 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2680 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2681 Fixed how to set extra field into entity.
2682 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2685 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2686 Fixed how to set extra field into entity.
2687 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2690 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2692 * modb.el (elmo-message-entity-db): New function.
2693 (elmo-msgdb-make-message-entity): New API.
2694 (elmo-msgdb-message-entity-number): Ditto.
2695 (elmo-msgdb-message-entity-set-number): Ditto.
2696 (elmo-msgdb-message-entity-field): Ditto.
2697 (elmo-msgdb-message-entity-set-field): Ditto.
2698 (elmo-msgdb-copy-message-entity): Ditto.
2699 (elmo-msgdb-create-message-entity-from-file): Ditto.
2700 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2701 (elmo-msgdb-match-condition-internal): Ditto.
2703 * modb-standard.el (modb-legacy): Require modb-legacy.
2704 (modb-standard-make-message-entity): New inline function.
2705 (elmo-msgdb-make-message-entity): Define.
2706 (elmo-msgdb-create-message-entity-from-file): Ditto.
2707 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2708 (elmo-msgdb-message-entity-field): Ditto.
2709 (elmo-msgdb-message-entity-set-field): Ditto.
2710 (elmo-msgdb-copy-message-entity): Ditto.
2711 (elmo-msgdb-match-condition-internal): Ditto.
2713 * modb-legacy.el: Don't require modb-entity.
2714 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2715 (elmo-msgdb-match-condition-primitive): Ditto.
2716 (elmo-msgdb-get-decoded-cache): Ditto.
2717 (elmo-msgdb-overview-entity-get-id): Ditto.
2718 (elmo-msgdb-overview-entity-get-number): Ditto.
2719 (elmo-msgdb-overview-entity-set-number): Ditto.
2720 (elmo-msgdb-overview-entity-get-references): Ditto.
2721 (elmo-msgdb-overview-entity-set-references): Ditto.
2722 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2723 (elmo-msgdb-overview-entity-get-from): Ditto.
2724 (elmo-msgdb-overview-entity-set-from): Ditto.
2725 (elmo-msgdb-overview-entity-get-subject): Ditto.
2726 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2727 (elmo-msgdb-overview-entity-set-subject): Ditto.
2728 (elmo-msgdb-overview-entity-get-date): Ditto.
2729 (elmo-msgdb-overview-entity-set-date): Ditto.
2730 (elmo-msgdb-overview-entity-get-to): Ditto.
2731 (elmo-msgdb-overview-entity-get-cc): Ditto.
2732 (elmo-msgdb-overview-entity-get-size): Ditto.
2733 (elmo-msgdb-overview-entity-set-size): Ditto.
2734 (elmo-msgdb-overview-entity-get-extra): Ditto.
2735 (elmo-msgdb-overview-entity-set-extra): Ditto.
2736 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2737 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2738 (elmo-msgdb-number-load): Ditto.
2739 (elmo-msgdb-overview-load): Ditto.
2740 (elmo-msgdb-mark-load): Ditto.
2741 (elmo-msgdb-number-save): Ditto.
2742 (elmo-msgdb-mark-save): Ditto.
2743 (elmo-msgdb-overview-save): Ditto.
2744 (modb-legacy-make-message-entity): New inline function.
2745 (elmo-msgdb-insert-file-header): Ditto.
2746 (elmo-msgdb-make-message-entity): Define.
2747 (elmo-msgdb-create-message-entity-from-file): Ditto.
2748 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2749 (elmo-msgdb-message-entity-number): Ditto.
2750 (elmo-msgdb-message-entity-set-number): Ditto.
2751 (elmo-msgdb-message-entity-field): Ditto.
2752 (elmo-msgdb-message-entity-set-field): Ditto.
2753 (elmo-msgdb-copy-message-entity): Ditto.
2754 (elmo-msgdb-match-condition-internal): Ditto.
2756 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2757 (elmo-message-copy-entity): Rewrite.
2758 (elmo-message-entity-number): Ditto.
2759 (elmo-message-entity-set-number): Ditto.
2760 (elmo-message-entity-field): Use elmo-message-entity-db.
2761 (elmo-message-entity-set-field): Ditto.
2762 (elmo-message-field): Rewrite.
2764 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2766 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2768 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2769 elmo-message-entity-field.
2770 (elmo-shimbun-folder-shimbun-header): Ditto.
2771 (elmo-shimbun-entity-to-header): Ditto.
2772 (elmo-folder-msgdb-create): Ditto.
2773 (elmo-shimbun-msgdb-create-entity): Ditto;
2774 Use elmo-msgdb-create-message-entity-from-buffer.
2775 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2776 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2778 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2779 elmo-msgdb-create-message-entity-from-file and
2780 elmo-message-entity-field.
2782 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2783 elmo-message-entity-number.
2784 (elmo-pop3-msgdb-create-message): Use
2785 elmo-msgdb-create-message-entity-from-buffer,
2786 elmo-message-entity-set-field, elmo-message-entity-number and
2787 elmo-message-entity-set-number.
2789 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2790 the API change in elmo-msgdb-make-message-entity.
2791 (elmo-nntp-msgdb-create-message): Use
2792 elmo-msgdb-create-message-entity-from-buffer.
2794 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2795 elmo-message-entity-field and
2796 elmo-msgdb-create-message-entity-from-file.
2798 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2799 (elmo-msgdb-get-field): Abolish.
2800 (elmo-msgdb-get-number): Rewrite.
2801 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2802 (elmo-msgdb-flag-table): Ditto.
2803 (elmo-msgdb-get-last-message-id,
2804 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2805 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2806 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2807 (elmo-msgdb-create-overview-from-buffer,
2808 elmo-msgdb-overview-get-parent-entity): Abolish.
2810 * elmo-mime.el (elmo-mime-display-as-is): Use
2811 elmo-message-entity-field.
2813 * elmo-map.el (elmo-folder-pack-numbers): Use
2814 elmo-message-entity-set-number.
2816 * elmo-maildir.el (elmo-folder-msgdb-create):
2817 elmo-msgdb-create-message-entity-from-file instead of
2818 elmo-msgdb-create-overview-entity-from-file.
2820 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2822 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2823 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2825 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2826 elmo-messge-entity-field and elmo-message-entity-number.
2827 (elmo-imap4-fetch-callback-1): Call
2828 elmo-msgdb-create-message-entity-from-buffer instead of
2829 elmo-msgdb-create-overview-from-buffer.
2830 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2831 (elmo-find-fetch-strategy): Likewise.
2833 * elmo-flag.el (elmo-folder-msgdb-create): Call
2834 elmo-localdir-msgdb-create-entity with argument msgdb.
2836 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2837 and elmo-message-entity-set-number.
2839 * elmo-cache.el (elmo-folder-msgdb-create): Use
2840 elmo-message-entity-field.
2841 (elmo-folder-msgdb-create): Call
2842 elmo-msgdb-create-message-entity-from-file instead of
2843 elmo-msgdb-create-overview-entity-from-file.
2845 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2846 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2847 instead of elmo-msgdb-create-overview-from-buffer.
2848 (elmo-archive-msgdb-create-entity): Ditto.
2849 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2850 elmo-message-entity-field.
2851 (elmo-archive-parse-mmdf): Ditto.
2853 * modb-entity.el: Removed.
2855 * elmo-version.el (elmo-version): Up to 2.11.16.
2857 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2859 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2861 (elmo-folder-flag-as-answered): Ditto.
2863 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2865 * modb-standard.el: New file.
2867 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2868 elmo-msgdb-convert-type is `sync'.
2870 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2871 (elmo-msgdb-convert-type): New user option.
2873 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2874 (elmo-load-msgdb): Auto detect saved type.
2876 * elmo-version.el (elmo-version): Up to 2.11.15.
2878 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2880 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2882 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2883 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2884 with argument `delete-if-none' when dst-folder is 'null.
2886 * elmo-flag.el (elmo-folder-append-messages): Defined.
2887 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2889 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2891 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2893 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2895 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2896 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2897 (elmo-folder-commit): Ditto.
2899 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2901 * elmo-flag.el: New file.
2903 * elmo-mark.el: Removed.
2905 * modb-legacy.el (modb-legacy-new-mark,
2906 modb-legacy-unread-uncached-mark,
2907 modb-legacy-unread-cached-mark,
2908 modb-legacy-read-uncached-mark,
2909 modb-legacy-answered-cached-mark,
2910 modb-legacy-answered-uncached-mark,
2911 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2912 All other related portions are changed.
2914 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2915 (elmo-folder-list-messages-with-global-mark): Abolish.
2916 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2917 (elmo-folder-flag-as-important): Ditto.
2918 (elmo-folder-unflag-read): Ditto.
2919 (elmo-folder-flag-as-read): Ditto.
2920 (elmo-folder-unflag-answered): Ditto.
2921 (elmo-folder-flag-as-answered): Ditto.
2922 (elmo-message-encache): Return the cache path.
2923 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2924 (elmo-message-set-flag): Transitional implementation.
2925 (elmo-message-unset-flag): Ditto.
2926 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2927 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2928 (elmo-init): Call elmo-global-flag-initialize.
2929 (toplevel): Added autoload settings for elmo-flag.
2931 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2933 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2934 (elmo-file-cache-delete): Don't treat global-mark.
2936 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2938 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2940 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2941 `elmo-global-flags-set'.
2943 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2945 (elmo-folder-unflag-read): Ditto.
2946 (elmo-folder-unflag-important): Ditto.
2947 (elmo-folder-flag-as-important): Ditto.
2948 (elmo-folder-unflag-answered): Ditto.
2949 (elmo-folder-flag-as-answered): Ditto.
2951 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2952 `elmo-global-flags-set'.
2953 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2955 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2957 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2959 (elmo-folder-flag-as-important): Ditto.
2960 (elmo-folder-unflag-important): Ditto.
2961 (elmo-folder-flag-as-important): Ditto.
2962 (elmo-folder-unflag-read): Ditto.
2963 (elmo-folder-flag-as-read): Ditto.
2964 (elmo-folder-unflag-answered): Ditto.
2965 (elmo-folder-flag-as-answered): Ditto.
2967 * elmo-multi.el (elmo-folder-list-importants): Don't call
2968 elmo-folder-list-messages-with-global-mark.
2969 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
2970 (elmo-folder-unflag-important): Ditto.
2971 (elmo-folder-flag-as-read): Ditto.
2972 (elmo-folder-unflag-read): Ditto.
2973 (elmo-folder-flag-as-answered): Ditto.
2974 (elmo-folder-unflag-answered): Ditto.
2976 * elmo-msgdb.el (elmo-msgdb-new-mark,
2977 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
2978 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
2979 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
2980 (Moved to modb-legacy.el).
2981 (elmo-flag-table-get): Treat important flag too.
2983 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
2985 (elmo-map-folder-flag-as-important): Ditto.
2986 (elmo-map-folder-unflag-read): Ditto.
2987 (elmo-map-folder-flag-as-read): Ditto.
2988 (elmo-map-folder-unflag-answered): Ditto.
2989 (elmo-map-folder-flag-as-answered): Ditto.
2990 (elmo-folder-unflag-important): Ditto.
2991 (elmo-folder-flag-as-important): Ditto.
2992 (elmo-folder-unflag-read): Ditto.
2993 (elmo-folder-flag-as-read): Ditto.
2994 (elmo-folder-unflag-answered): Ditto.
2995 (elmo-folder-flag-as-answered): Ditto.
2997 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2998 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3000 (elmo-map-folder-unflag-important): Ditto.
3001 (elmo-map-folder-flag-as-read): Ditto.
3002 (elmo-map-folder-unflag-read): Ditto.
3003 (elmo-map-folder-flag-as-answered): Ditto.
3004 (elmo-map-folder-unflag-answered): Ditto.
3006 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3007 `elmo-global-flags-set'.
3008 (elmo-global-flags-set): Added autoload setting.
3010 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3013 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3014 `elmo-msgdb-global-mark-set'.
3015 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3016 Call `elmo-global-flags-set'.
3017 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3019 (elmo-folder-flag-as-important-plugged): Ditto.
3020 (elmo-folder-unflag-read-plugged): Ditto.
3021 (elmo-folder-flag-as-read-plugged): Ditto.
3022 (elmo-folder-unflag-answered-plugged): Ditto.
3023 (elmo-folder-flag-as-answered-plugged): Ditto.
3024 (elmo-global-flags-set): Added autoload setting.
3026 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3028 (elmo-folder-unflag-read): Ditto.
3029 (elmo-folder-flag-as-important): Ditto.
3030 (elmo-folder-unflag-important): Ditto.
3031 (elmo-folder-flag-as-answered): Ditto.
3032 (elmo-folder-unflag-answered): Ditto.
3034 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3035 change of `mark'->`flag'.
3036 (elmo-dop-queue-method-name-alist): Ditto.
3037 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3038 (elmo-folder-unflag-read-dop): Ditto.
3039 (elmo-folder-flag-as-important-dop): Ditto.
3040 (elmo-folder-unflag-important-dop): Ditto.
3041 (elmo-folder-flag-as-answered-dop): Ditto.
3042 (elmo-folder-unflag-answered-dop): Ditto.
3044 * elmo-cache.el (elmo-folder-msgdb-create): Call
3045 `elmo-global-flags-set'.
3047 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3048 Call `elmo-global-flags-set'.
3049 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3050 elmo-archive-parse-mmdf with argument `folder'.
3051 (elmo-archive-parse-mmdf): Added argument `folder';
3052 Call `elmo-global-flags-set'.
3054 * elmo-version.el (elmo-version): Up to 2.11.14.
3056 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3058 * modb.el (elmo-msgdb-length): Define.
3060 * elmo.el (elmo-make-folder): Fixed.
3061 (elmo-generic-folder-append-messages): Follow the API change.
3063 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3066 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3068 * modb.el: New file.
3070 * modb-entity.el: Ditto.
3072 * modb-legacy.el: Ditto.
3074 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3075 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3076 of `elmo-msgdb-overview-get-entity'.
3077 (elmo-msgdb-get-field): Ditto.
3078 (elmo-msgdb-merge): Moved to `elmo.el'.
3079 (elmo-msgdb-length): Removed; redefine as modb method.
3080 (elmo-msgdb-change-mark): Abolish.
3081 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3082 (elmo-msgdb-match-condition): Don't use mark.
3083 (elmo-msgdb-overview-get-entity): Abolish.
3084 Split modb part into `modb*.el'.
3086 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3088 * elmo-shimbun.el (shimbun-mua-search-id): Use
3089 `elmo-msgdb-message-entity' instead of
3090 `elmo-msgdb-overview-get-entity'.
3091 (elmo-shimbun-folder-shimbun-header): Ditto.
3092 (elmo-shimbun-get-headers): Ditto.
3093 (elmo-shimbun-update-overview): Ditto.
3095 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3097 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3099 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3100 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3102 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3103 `elmo-msgdb-mark-to-flags'.
3105 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3106 `elmo-msgdb-set-path'.
3108 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3110 * elmo-version.el (elmo-version): Up to 2.11.13.
3112 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3114 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3117 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3119 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3122 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3124 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3125 instead of `elmo-msgdb-get-cached'.
3126 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3128 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3129 (elmo-msgdb-set-cached): Ditto.
3130 (elmo-msgdb-set-flag): Rewrite.
3131 (elmo-msgdb-unset-flag): Ditto.
3133 * elmo-msgdb.el: Rewrite with luna.
3135 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3136 (elmo-folder-msgdb): Follow the change above.
3137 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3138 (elmo-folder-unmark-important): Follow the API change.
3139 (elmo-folder-mark-as-important): Ditto.
3140 (elmo-folder-unmark-read): Ditto.
3141 (elmo-folder-mark-as-read): Ditto.
3142 (elmo-folder-unmark-answered): Ditto.
3143 (elmo-folder-mark-as-answered): Ditto.
3144 (elmo-folder-clear): Likewise.
3146 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3147 instead of `elmo-msgdb-load' (renamed).
3149 * elmo-version.el (elmo-version): Up to 2.11.12.
3151 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3153 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3155 (elmo-message-mark): Abolish.
3156 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3157 instead of `elmo-msgdb-change-mark'.
3159 * elmo-pipe.el (elmo-message-mark): Abolish.
3161 * elmo-multi.el (elmo-message-mark): Ditto.
3163 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3164 (elmo-msgdb-unread-uncached-mark): Ditto.
3165 (elmo-msgdb-unread-cached-mark): Ditto.
3166 (elmo-msgdb-read-uncached-mark): Ditto.
3167 (elmo-msgdb-answered-cached-mark): Ditto.
3168 (elmo-msgdb-answered-uncached-mark): Ditto.
3169 (elmo-msgdb-important-mark): Ditto.
3170 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3172 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3174 (elmo-flag-table-load): Changed flag to list of flag.
3175 (elmo-flag-table-set): If flags is nil, set read flag.
3176 (elmo-flag-table-get): Return derived flags from global mark,
3177 cache status and saved flags.
3178 (elmo-msgdb-flag-table): Follow the change above.
3179 (elmo-msgdb-out-of-date-messages): New function.
3181 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3183 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3185 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3187 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3188 (elmo-nntp-msgdb-create-message): Ditto.
3190 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3192 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3194 (elmo-folder-msgdb-create): Follow the API change.
3196 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3197 (elmo-folder-append-messages): Ditto.
3199 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3200 (elmo-folder-append-buffer): Ditto.
3202 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3204 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3206 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3207 (elmo-archive-parse-mmdf): Ditto.
3209 * elmo-version.el (elmo-version): Up to 2.11.11.
3211 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3213 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3216 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3218 * elmo-pipe.el (elmo-message-flags): Defined.
3220 * elmo-multi.el (elmo-message-flags): Ditto.
3222 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3224 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3225 `elmo-msgdb-delete-msgs'.
3227 * elmo.el (elmo-folder-count-flags): Don't use
3228 `elmo-msgdb-get-mark-alist'.
3229 (elmo-folder-detach-messages): Follow the API change.
3231 * elmo.el (elmo-folder-list-messages): Append killed messages into
3232 result if `visible-only' is nil.
3234 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3236 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3237 (elmo-folder-update-number): Likewise.
3239 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3240 (elmo-pop3-sort-msgdb-by-original-number): Use
3241 `elmo-msgdb-sort-entities'.
3243 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3244 (elmo-msgdb-sort-by-date): Use it.
3245 (elmo-msgdb-overview-sort-by-date): Abolish.
3247 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3249 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3250 (elmo-msgdb-flags): New function.
3251 (elmo-msgdb-merge): Use elmo-msgdb-append.
3253 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3256 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3258 * elmo-dop.el (elmo-folder-status-dop): Use
3259 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3261 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3263 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3265 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3267 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3269 * elmo-util.el (elmo-with-progress-display): New macro.
3271 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3273 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3275 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3276 `elmo-folder-list-message-entities' instead of
3277 `elmo-msgdb-get-overview'.
3278 (elmo-map-folder-list-message-locations): Ditto.
3280 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3281 methods instead of treat directly).
3282 (elmo-msgdb-clear): Ditto.
3283 (elmo-msgdb-delete-msgs): Ditto.
3284 (elmo-msgdb-sort-by-date): Ditto.
3286 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3288 (elmo-nntp-folder-msgdb-create): Follow the API change.
3290 * elmo-version.el (elmo-version): Up to 2.11.10.
3292 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3294 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3295 (elmo-msgdb-flags-to-mark): Ditto.
3296 (elmo-msgdb-append-entity): Ditto.
3298 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3299 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3300 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3301 (elmo-archive-parse-mmdf): Ditto.
3303 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3305 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3307 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3309 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3311 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3313 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3315 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3317 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3319 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3320 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3323 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3324 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3325 instead of directly construction.
3326 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3327 instead of construct msgdb.
3329 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3330 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3331 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3332 instead of construct msgdb.
3334 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3336 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3337 when field is from or subject.
3339 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3341 * elmo-multi.el (elmo-message-entity-parent): Define.
3342 (elmo-folder-search): Rewrite.
3344 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3346 * elmo-multi.el (elmo-message-cached-p): Define.
3348 * elmo.el (elmo-message-cached-p): New method.
3349 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3350 (elmo-message-flags): New method.
3351 (elmo-message-flagged-p): New function.
3353 * elmo-version.el (elmo-version): Up to 2.11.9.
3355 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3357 * elmo-version.el (elmo-version): Up to 2.11.8.
3359 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3361 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3363 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3365 * elmo.el (elmo-folder-detach-messages): Undo last change.
3367 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3369 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3371 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3372 only when src folder type is pop3.
3374 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3376 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3377 elmo-msgdb-overview-entity-get-number instead of
3378 elmo-message-entity-number.
3380 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3382 * elmo-version.el (elmo-version): Up to 2.11.7.
3384 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3386 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3389 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3390 (elmo-msgdb-merge): New function.
3391 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3392 (elmo-msgdb-make-index): Rewrite.
3394 * elmo-version.el (elmo-version): Up to 2.11.6.
3396 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3397 use it as a the path for loading message entities.
3399 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3401 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3403 * elmo-filter.el (elmo-folder-set-message-modified): Set
3404 message-modified slot of itself if it does not require target msgdb.
3406 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3407 if folder length is zero.
3408 (elmo-mime-display-as-is): Ditto.
3410 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3412 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3414 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3416 * elmo.el (elmo-folder-set-message-modified): New method.
3417 (elmo-generic-folder-commit): Use it.
3418 (elmo-folder-synchronize): Ditto.
3420 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3421 (elmo-folder-commit): Remove duplicate definition.
3423 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3425 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3427 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3429 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3430 (elmo-strict-folder-diff): Ditto.
3431 (elmo-folder-set-info-max-by-numdb): Simplify.
3433 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3434 elmo-msgdb-list-messages.
3436 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3437 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3439 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3441 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3442 visible-only is non-nil.
3443 (elmo-folder-confirm-appends): Changed message.
3444 (elmo-folder-synchronize): Added argument disable-killed.
3446 * elmo-multi.el (elmo-folder-synchronize): Added argument
3449 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3451 * elmo-version.el (elmo-version): Up to 2.11.5.
3453 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3456 * elmo-util.el (elmo-list-filter): Simplify.
3458 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3459 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3460 (elmo-generic-folder-diff): Abolish argument.
3461 (elmo-msgdb-load): Don't use number-alist.
3463 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3465 * elmo-pipe.el (elmo-folder-diff): Ditto.
3467 * elmo-nmz.el (elmo-folder-diff): Ditto.
3469 * elmo-net.el (elmo-folder-diff): Ditto.
3471 * elmo-maildir.el (elmo-folder-diff): Ditto.
3473 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3475 * elmo-multi.el (elmo-folder-diff): Ditto
3476 (elmo-multi-folder-diff): Rewrite.
3478 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3480 * elmo-pipe.el (elmo-folder-msgdb): Define.
3482 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3484 * elmo.el (elmo-message-set-cached): Define as a method.
3486 * elmo-pipe.el (elmo-message-set-cached): Define.
3487 (elmo-find-fetch-strategy): Ditto.
3489 * elmo-multi.el (elmo-message-set-cached): Define.
3490 (elmo-find-fetch-strategy): Rewrite.
3492 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3494 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3496 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3498 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3499 instead of number-alist.
3501 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3502 mark nor message-id when msgdb of source folder is not loaded.
3504 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3506 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3508 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3510 * elmo.el (elmo-folder-length): Don't require msgdb.
3512 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3514 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3515 (elmo-message-field): Ditto.
3517 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3518 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3520 (elmo-map-folder-list-answereds): Define.
3521 (elmo-maildir-list-location): Treat 'R' info.
3522 (elmo-folder-msgdb-create): Treat flag-table.
3523 (elmo-folder-append-messages): Save flag-table.
3525 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3527 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3528 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3530 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3532 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3534 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3535 'read when mark is null.
3537 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3539 * elmo-version.el (elmo-version): Up to 2.11.4.
3541 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3543 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3544 (elmo-folder-mark-as-answered): Ditto.
3546 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3548 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3549 (elmo-pop3-get-session): Make msgdb directory after session.
3550 (elmo-folder-exists-p): Check exactly at the first time even when the
3551 elmo-pop3-exists-exactly is nil.
3553 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3554 (elmo-folder-list-messages): Define instead of
3555 elmo-folder-list-messages-internal.
3556 (elmo-folder-check): Check destination folder.
3557 (elmo-folder-synchronize): Drain the pipe.
3559 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3560 when msgdb is not loaded.
3562 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3564 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3565 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3568 * elmo.el (elmo-folder-kill-messages-before): New function.
3569 (elmo-folder-kill-messages): Ditto.
3570 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3572 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3573 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3574 killed not by synchronize (e.g. scoring).
3576 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3578 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3580 (elmo-folder-search): Follow the change above.
3582 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3583 into the candidates of search field.
3585 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3587 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3588 (elmo-msgdb-unset-flag): Ditto.
3590 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3592 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3594 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3595 (elmo-folder-commit): Define.
3596 (elmo-folder-synchronize): Ditto.
3597 (elmo-folder-list-flagged): Ditto.
3598 (elmo-folder-commit): Ditto.
3599 (elmo-folder-length): Ditto.
3600 (elmo-folder-count-flags): Ditto.
3601 (elmo-message-mark): Ditto.
3602 (elmo-message-field): Ditto.
3603 (elmo-message-entity): Ditto.
3604 (elmo-message-folder): Ditto.
3606 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3608 * elmo.el (elmo-message-field): Define as a method.
3610 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3611 (elmo-message-field): Define.
3613 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3614 (elmo-folder-list-importants): Ditto.
3615 (elmo-folder-list-answereds): Ditto.
3617 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3619 (elmo-folder-mark-as-read): Ditto.
3620 (elmo-folder-unmark-read): Ditto.
3621 (elmo-folder-mark-as-answered): Ditto.
3622 (elmo-folder-unmark-answered): Ditto.
3623 (elmo-folder-list-flagged): Define.
3624 (elmo-folder-commit): Ditto.
3625 (elmo-folder-length): Ditto.
3626 (elmo-folder-count-flags): Ditto.
3628 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3630 * elmo.el (elmo-folder-detach-messages): New method.
3631 (elmo-folder-move-messages): Use it.
3632 (elmo-folder-synchronize): Ditto.
3634 * elmo-multi.el (elmo-folder-detach-messages): Define.
3636 * elmo.el (elmo-message-copy-entity): New function.
3637 (elmo-message-entity-set-number): Ditto.
3638 (elmo-message-mark): Define as method.
3640 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3641 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3642 (elmo-message-entity): Fixed last change.
3643 (elmo-message-mark): Define.
3644 (elmo-folder-msgdb-create): Abolish.
3645 (elmo-multi-folder-append-msgdb): Ditto.
3646 (elmo-multi-folder-diff): Fixed.
3647 (elmo-multi-split-number-alist): Removed.
3648 (elmo-multi-split-mark-alist): Removed.
3649 (elmo-folder-list-messages): Define.
3650 (elmo-folder-list-messages-internal): Removed.
3652 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3653 local file messages.
3654 (elmo-folder-msgdb-create): Fixed read mark.
3656 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3658 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3661 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3663 * elmo.el (elmo-folder-list-message-entities): Define as inline
3665 (elmo-folder-messages): Abolish.
3667 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3669 (elmo-folder-synchronize): Define.
3670 (elmo-message-entity): Define.
3672 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3674 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3675 elmo-imap4-session-select-mailbox.
3677 * elmo.el (elmo-folder-move-messages): Don't display any message.
3679 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3681 (elmo-imap4-session-check): Don't wait CHECK response.
3682 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3684 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3686 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3688 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3690 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3692 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3695 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3696 (elmo-folder-list-message-entities): Added argument in-msgdb and
3698 (elmo-folder-synchronize): Define as a method.
3700 * elmo-nntp.el (elmo-folder-initialize): Don't use
3701 elmo-nntp-default-user if zero-length username is specified
3704 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3706 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3707 server name in case with username.
3708 (XXX: this is ad-hoc fix against username includes "@", it
3709 should be solved fundamentally)
3711 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3713 * elmo-nntp.el (elmo-nntp-debug): New function.
3714 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3715 (elmo-network-authenticate-session): Hide auth-info from the log.
3717 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3718 user name if it is equal to elmo-nntp-default-user.
3720 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3722 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3723 instead of shimbun-server-internal;
3724 Use shimbun-current-group instead of shimbun-current-group-internal.
3725 (elmo-folder-plugged-p): Use shimbun-server instead of
3726 shimbun-server-internal.
3727 (elmo-folder-set-plugged): Ditto.
3728 (elmo-net-port-info): Ditto.
3729 (elmo-folder-check): Ditto.
3730 (elmo-folder-expand-msgdb-path): Ditto.
3731 (elmo-folder-list-subfolders): Ditto.
3733 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3735 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3736 Convert field-name to lower case.
3737 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3739 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3741 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3742 `message' and `error' take format string.
3744 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3746 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3748 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3750 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3751 recursive call (can't byte compile on emacs 20.7).
3753 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3755 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3756 (elmo-folder-list-message-entities): New API.
3757 (elmo-message-entity): Ditto.
3758 (elmo-message-entity-parent): Ditto.
3759 (elmo-folder-do-each-message-entity): Ditto.
3760 (elmo-message-entity-number): Ditto.
3761 (elmo-message-entity-field): Ditto.
3762 (elmo-message-entity-set-field): Ditto.
3763 (elmo-folder-count-flags): Ditto.
3764 (elmo-folder-length): Ditto.
3766 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3769 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3770 (elmo-msgdb-count-marks): Abolish.
3771 (elmo-msgdb-make-entity): Ditto.
3772 (elmo-msgdb-do-each-entity): Ditto.
3773 (elmo-msgdb-message-entity): New inline function.
3774 (elmo-msgdb-message-entity-field): Ditto.
3775 (elmo-msgdb-message-entity-set-field): Ditto.
3776 (elmo-msgdb-make-message-entity): New function.
3778 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3780 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3781 to flag. (All other related portions are changed.)
3782 (elmo-folder-msgdb-create): Likewise.
3783 (elmo-generic-folder-append-messages): Use flag-table instead of
3785 (elmo-folder-move-messages): Removed redundant process.
3786 (elmo-folder-synchronize): Likewise.
3788 * elmo-msgdb.el (elmo-flag-table-get): New function.
3789 (elmo-flag-table-save): Fixed.
3790 (elmo-msgdb-length): New inline function.
3791 (elmo-msgdb-flag-table): New function.
3792 (elmo-msgdb-mark): Add optional argument new.
3793 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3794 (elmo-msgdb-seen-list): Ditto.
3795 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3798 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3800 * elmo.el (elmo-message-set-mark): Abolish.
3801 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3802 (All related portions are changed.)
3804 * elmo-msgdb.el (toplevel): Added comment.
3805 (elmo-load-msgdb): Added 4th element `path'.
3806 (elmo-msgdb-append): Follow the change above.
3807 (elmo-msgdb-clear): Ditto.
3808 (elmo-msgdb-delete-msgs): Ditto.
3809 (elmo-msgdb-get-path): New inline function.
3810 (elmo-msgdb-set-path): Ditto.
3811 (elmo-flag-table-filename): New variable.
3812 (elmo-flag-table-load): New function.
3813 (elmo-flag-table-set): Ditto.
3814 (elmo-flag-table-save): Ditto.
3815 (elmo-msgdb-get-field-value): Abolish.
3816 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3818 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3820 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3821 the folder has been deleted successfully.
3822 * elmo-imap4.el (elmo-folder-delete): Ditto.
3823 * elmo-archive.el (elmo-folder-delete): Ditto.
3824 * elmo-localdir.el (elmo-folder-delete): Ditto.
3825 * elmo-maildir.el (elmo-folder-delete): Ditto.
3827 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3829 * elmo-util.el (elmo-string-member-ignore-case): New function.
3830 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3831 (elmo-imap4-fetch-callback-1-subr): Likewise.
3833 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3835 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3836 the case of the name attribute "\Noselect".
3838 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3840 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3842 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3843 flist, is not always a member of onum-alist.
3845 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3847 * elmo-version.el (elmo-version): Up to 2.11.3.
3849 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3851 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3852 copied from localdir's one.
3854 * elmo-pipe.el (elmo-folder-rename): New method, rename
3855 destination folder with leaving source folder as it is.
3857 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3859 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3862 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3864 * elmo-version.el (elmo-version): Up to 2.11.2.
3866 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3868 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3869 shimbun-open in case of "@".
3870 (elmo-folder-open-internal): Cope with shimbun = nil case.
3871 (elmo-folder-plugged-p): Ditto.
3872 (elmo-folder-list-subfolders): Make list for "@/" group.
3874 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3876 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3877 mailbox (e.g. for %~/something).
3879 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3881 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3882 Replace nested conditional with guard clauses.
3884 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3886 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3889 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3892 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3894 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3895 Replace nested conditional with guard clauses.
3897 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3899 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3900 (elmo-passwd-alist-save): Ditto.
3901 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3903 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3905 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3906 dir-name only if it is absolute path.
3907 (TODO: distinguish +/something and +something)
3909 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3911 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3912 path for "+~/something".
3914 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3916 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3917 as non-directory, cause error before rename-file.
3918 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3919 apropriately, mimic localdir's one.
3920 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3922 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3924 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3926 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3928 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3930 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3932 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3933 is included in the global-mark or not.
3935 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3937 * utf7.el (toplevel): Avoid error when the function
3938 find-coding-system does not exist.
3940 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3942 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3943 cache even if the folder is plugged.
3944 (elmo-nntp-search-primitive): Do nothing when body search is
3945 invoked (although it is not used by the change above).
3946 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3948 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3950 * elmo-version.el (elmo-version): Up to 2.11.1.
3952 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3954 * elmo-archive.el: Specify charset.
3956 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3958 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3959 process buffer lives or not.
3961 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3962 while flushing queues (It causes infinite loop).
3964 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3966 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3968 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
3970 * utf7.el (toplevel): Check the ucs features dynamically.
3971 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3973 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
3974 folder is creatabe or not if it already exists.
3976 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
3978 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
3980 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
3982 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
3983 (elmo-imap4-read-response): Take care of garbage response.
3985 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3987 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
3988 just return nil instead of error.
3990 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3992 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
3993 search-key is "body".
3995 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3997 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
3998 of elmo-string-matched-assoc to use match-data.
3999 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4001 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4003 * elmo-split.el (elmo-split->): New function.
4004 (elmo-split-<): Ditto.
4006 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4008 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4009 workaround for invalid message-id.
4011 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4013 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4014 return normal pop3 session or pop3 biff session.
4016 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4018 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4019 info part to the cur files when the new files already have it.
4020 (Adviced by Jared Rhine <jared@wordzoo.com>)
4022 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4024 * elmo-split.el (elmo-split-default-action): New variable.
4025 (elmo-split-subr): Use it if all other conditions are passed.
4026 Extend `fname' and rename it as `action'. (implemented
4027 Teranishi-san's idea in [wl:10800])
4029 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4031 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4032 * elmo-util.el: Ditto.
4034 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4036 * elmo.el (elmo-message-accessible-p): Renamed from
4037 elmo-message-cached-p and rewritten.
4039 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4041 * elmo.el (elmo-folder-list-flagged): New generic function.
4042 (elmo-folder-list-importants): New implementation.
4043 (elmo-folder-list-answereds): Ditto.
4044 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4046 (elmo-message-cached-p): New function.
4047 (elmo-message-set-flag): Ditto (no content).
4048 (elmo-message-unset-flag): Ditto.
4049 (elmo-folder-list-messages-mark-match): Abolish.
4051 * elmo-util.el (elmo-regexp-opt): New function.
4053 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4054 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4056 (elmo-msgdb-list-flagged): New function.
4058 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4059 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4062 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4064 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4066 * elmo-version.el (elmo-version): Up to 2.11.0.
4068 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4070 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4071 `elmo-file-cache-exists-p'; use proper mark that depends on
4073 (elmo-msgdb-unset-flag): Ditto.
4074 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4076 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4077 with 4th argument `use-cache'.
4079 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4081 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4082 (elmo-folder-mark-as-important): Ditto.
4083 (elmo-folder-unmark-read): Ditto.
4084 (elmo-folder-mark-as-read): Ditto.
4085 (elmo-folder-unmark-answered): Ditto.
4086 (elmo-folder-mark-as-answered): Ditto.
4088 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4090 (elmo-msgdb-mark): Likewise.
4091 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4092 (elmo-msgdb-unset-flag): Likewise.
4094 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4096 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4098 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4101 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4103 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4104 set spool-length to 0.
4106 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4108 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4109 (elmo-dop-queue-flush): Fixed last change.
4111 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4113 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4114 if require-msgdb slot is nil.
4115 (elmo-folder-list-importants): Likewise.
4117 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4119 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4122 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4123 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4126 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4128 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4130 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4132 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4134 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4136 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4138 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4139 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4141 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4143 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4144 the problem reported by Sean Rima [wl-en:180].
4146 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4148 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4150 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4152 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4154 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4156 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4158 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4160 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4162 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4164 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4167 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4169 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4170 (elmo-folder-mark-as-read): Follow the API change.
4171 (elmo-message-set-cached): New function.
4173 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4175 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4177 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4178 (elmo-folder-mark-as-important): Ditto.
4179 (elmo-folder-unmark-read): Ditto.
4180 (elmo-folder-mark-as-read): Ditto.
4181 (elmo-folder-unmark-answered): Ditto.
4182 (elmo-folder-mark-as-answered): Ditto.
4184 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4185 (elmo-folder-unmark-important): Ditto.
4186 (elmo-folder-mark-as-read): Ditto.
4187 (elmo-folder-unmark-read): Ditto.
4188 (elmo-folder-mark-as-answered): Ditto.
4189 (elmo-folder-unmark-answered): Ditto.
4191 * elmo-mark.el (toplevel): Removed some mark method definitions.
4193 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4194 (elmo-map-folder-mark-as-answered): Ditto.
4195 (elmo-folder-unmark-important): Add :before qualifier.
4196 (elmo-folder-mark-as-important): Ditto.
4197 (elmo-folder-unmark-read): Ditto.
4198 (elmo-folder-mark-as-read): Ditto.
4199 (elmo-folder-unmark-answered): Define.
4200 (elmo-folder-mark-as-answered): Ditto.
4202 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4203 (elmo-map-folder-unmark-answered): Ditto.
4205 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4207 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4208 (elmo-folder-mark-as-important): Ditto.
4209 (elmo-folder-unmark-read): Ditto.
4210 (elmo-folder-mark-as-read): Ditto.
4211 (elmo-folder-unmark-answered): Ditto.
4212 (elmo-folder-mark-as-answered): Ditto.
4214 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4215 `mark'; evaluate mark condition.
4216 (elmo-msgdb-match-condition-internal): New function.
4217 (elmo-msgdb-match-condition): Call it; changed argument.
4219 * elmo.el (elmo-folder-search): Follow the API change on
4220 `elmo-msgdb-match-condition'.
4222 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4224 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4225 original mark is non-nil.
4227 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4229 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4230 (elmo-map-folder-list-answereds): New method.
4231 (elmo-folder-list-unreads): Add :around qualifier.
4232 (elmo-folder-list-importants): Ditto.
4233 (elmo-folder-list-answereds): Ditto.
4235 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4237 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4239 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4240 method if msgdb is not required.
4241 (elmo-filter-folder-list-importants): Don't treat global-mark.
4243 * elmo.el (elmo-folder-list-importants): Ditto.
4245 * elmo-net.el (elmo-folder-list-importants): Ditto.
4247 * elmo-map.el (elmo-folder-list-importants): Ditto.
4249 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4251 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4252 (elmo-imap4-folder-list-any-plugged): New function.
4253 (elmo-imap4-search-internal-primitive): Use it.
4255 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4256 only when require-msgdb slot is non-nil.
4257 (elmo-folder-close): Clear target folder's msgdb.
4259 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4261 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4262 (elmo-pop3-msgdb-create-by-header): Ditto.
4263 (elmo-pop3-msgdb-create-message): Ditto.
4265 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4267 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4269 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4271 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4272 (elmo-folder-msgdb-create): Ditto.
4273 (elmo-nntp-folder-msgdb-create): Ditto.
4274 (elmo-nntp-msgdb-create-by-header): Ditto.
4275 (elmo-nntp-msgdb-create-message): Ditto.
4276 (elmo-folder-list-unreads): Define.
4278 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4279 (elmo-folder-append-messages): Ditto.
4280 (elmo-folder-list-unreads): Define.
4281 (elmo-folder-list-importants): Ditto.
4282 (elmo-folder-list-answereds): Ditto.
4284 * elmo-net.el (elmo-folder-list-unreads): Define.
4285 (elmo-folder-list-importants): Ditto.
4286 (elmo-folder-list-answereds): Ditto.
4287 (elmo-folder-list-answereds-plugged): Ditto.
4288 (elmo-folder-msgdb-create): Follow the API change.
4289 (elmo-folder-msgdb-create-unplugged): Ditto.
4290 (elmo-folder-unmark-answered): Define.
4291 (elmo-folder-mark-as-answered-unplugged): Ditto.
4292 (elmo-folder-unmark-answered-unplugged): Ditto.
4294 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4295 (elmo-msgdb-unread-uncached-mark): Ditto.
4296 (elmo-msgdb-unread-cached-mark): Ditto.
4297 (elmo-msgdb-read-uncached-mark): Ditto.
4298 (elmo-msgdb-answered-cached-mark): Ditto.
4299 (elmo-msgdb-answered-uncached-mark): Ditto.
4300 (elmo-msgdb-important-mark): Ditto.
4301 (elmo-msgdb-set-mark): Rewrite.
4302 (elmo-msgdb-count-marks): Rewrite.
4303 (elmo-msgdb-mark-alist-set): Abolish.
4304 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4305 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4307 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4308 (elmo-folder-close): Define.
4309 (elmo-folder-msgdb-create): Follow the API change.
4310 (elmo-folder-list-unreads): Rewrite.
4311 (elmo-folder-mark-as-important): Ditto.
4312 (elmo-folder-unmark-important): Ditto.
4313 (elmo-folder-mark-as-read): Ditto.
4314 (elmo-folder-unmark-read): Ditto.
4315 (elmo-folder-mark-as-answered): Define.
4316 (elmo-folder-unmark-answered): Ditto.
4318 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4319 (elmo-folder-append-messages): Ditto.
4321 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4323 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4324 (elmo-folder-list-importants): Ditto.
4326 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4327 (elmo-folder-append-messages): Ditto.
4329 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4331 (elmo-folder-msgdb-create-plugged): Ditto.
4332 (elmo-folder-append-messages): Ditto.
4333 (elmo-folder-list-answereds-plugged): Define.
4334 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4335 (elmo-folder-unmark-answered-plugged): Define.
4336 (elmo-folder-mark-as-answered-plugged): Ditto.
4337 (elmo-folder-search-requires-msgdb-p): Ditto.
4339 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4340 (elmo-folder-initialize): Set it.
4341 (elmo-folder-msgdb): Define.
4342 (elmo-folder-check): Call elmo-folder-synchronize.
4343 (elmo-folder-close): Define.
4344 (elmo-folder-commit): Ditto.
4345 (elmo-folder-msgdb-create): Rewrite.
4346 (elmo-folder-list-unreads): Ditto.
4347 (elmo-folder-list-importants): Ditto.
4348 (elmo-folder-mark-as-read): Ditto.
4349 (elmo-folder-unmark-read): Ditto.
4350 (elmo-folder-mark-as-important): Ditto.
4351 (elmo-folder-unmark-important): Ditto.
4352 (elmo-folder-mark-as-answered): Define.
4353 (elmo-folder-unmark-answered): Ditto.
4355 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4356 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4357 (elmo-dop-queue-method-name-alist): Likewise.
4358 (elmo-folder-mark-as-answered-dop): New inline function.
4359 (elmo-folder-unmark-answered-dop): Ditto.
4360 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4362 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4363 (elmo-folder-msgdb-create): Ditto.
4364 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4365 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4366 (elmo-archive-parse-mmdf): Ditto.
4368 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4369 (elmo-folder-list-unreads-internal): Ditto.
4371 * elmo.el (elmo-folder-msgdb): Define as generic function.
4372 (elmo-folder-list-messages): Added argument `in-msgdb'.
4373 (elmo-folder-list-unreads): Define as generic function.
4374 (elmo-folder-list-importants): Ditto.
4375 (elmo-folder-list-answereds): Ditto.
4376 (elmo-folder-list-messages-with-global-mark): New function.
4377 (elmo-folder-msgdb-create): Removed mark arguments.
4378 (elmo-folder-unmark-answered): New generic function.
4379 (elmo-folder-mark-as-answered): Ditto.
4380 (elmo-folder-append-messages): Removed argunment `unread-marks'
4381 (elmo-folder-list-unreads-internal): Abolish.
4382 (elmo-folder-list-importants-internal): Ditto.
4383 (elmo-folder-search-requires-msgdb-p): New generic function.
4384 (elmo-folder-search-requires-msgdb-p-internal): New function.
4385 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4387 (elmo-folder-search-fast): Added key 'mark'.
4388 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4389 instead of unread-marks argument.
4390 (elmo-folder-move-messages): Removed argunment `unread-marks'
4391 (elmo-folder-unmark-important): Define.
4392 (elmo-folder-mark-as-important): Ditto.
4393 (elmo-folder-unmark-read): Ditto.
4394 (elmo-folder-mark-as-read): Ditto.
4395 (elmo-folder-unmark-answered): Ditto.
4396 (elmo-folder-mark-as-answered): Ditto.
4397 (elmo-folder-replace-marks): Abolish.
4398 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4400 (elmo-folder-synchronize): Removed mark arguments;
4401 return crosspost only number.
4403 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4405 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4406 Remove redundunt connectivity check.
4408 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4410 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4411 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4413 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4415 * pldap.el (ldap-decode-string): Return string as-is if
4416 `ldap-coding-system' is nil.
4417 (ldap-encode-string): Ditto.
4418 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4419 (ldap-default-host): Fixed docstring.
4421 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4423 * elmo-util.el (elmo-warning): Define as a macro which uses
4424 `display-warning' if it is defined as a function.
4426 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4427 (elmo-split-equal): Use it.
4428 (elmo-split-match): Ditto.
4429 (elmo-split-message-entity): New buffer-local variable.
4430 (elmo-split-subr): Set it.
4432 * elmo-version.el (elmo-version): Up to 2.9.15.
4434 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4436 * elmo-imap4.el (elmo-network-initialize-session):
4437 Check capability after starttls.
4439 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4441 * elmo-util.el (elmo-list-delete): Added optional argument
4444 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4446 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4448 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4450 * elmo-imap4.el (elmo-folder-initialize): Don't use
4451 elmo-imap4-default-mailbox.
4453 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4455 * elmo-split.el (toplevel): Use `product-provide'.
4456 (elmo-split): Checkdoc.
4458 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4460 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4461 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4462 the function `elmo-imap4-debug-1'.
4464 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4466 * elmo-split.el (elmo-split): Moved to run hooks and to show
4467 message from elmo-split-subr.
4468 (elmo-split-subr): Follow the change above.
4470 * elmo-split.el (elmo-split-subr): New function (renamed from
4472 (elmo-split): Changed to call elmo-split-subr by element of
4474 (elmo-split-folder): Changed customization type to choice.
4476 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4478 * elmo-split.el (elmo-split-and): Fixed condition.
4480 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4482 * elmo-split.el: New file.
4483 (elmo-split): Fixed logic.
4484 Display "Test:" instead of "Folder:" when reharsal.
4486 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4489 * elmo-version.el (elmo-version): Up to 2.9.14.
4491 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4494 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4496 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4497 message with no message-id field.
4499 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4501 * elmo-version.el (elmo-version): Up to 2.9.13.
4503 * elmo-dop.el (elmo-folder-status-dop): Fix.
4505 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4507 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4509 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4510 changing default value of default-mime-charset.
4511 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4513 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4515 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4516 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4517 instead of elmo-dop-queue-method-name-alist to check merging queue.
4518 (elmo-folder-delete-messages-dop): Delete from queue if negative
4520 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4521 file is already removed.
4523 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4525 * elmo-vars.el: Bind colon keywords for old Emacsen.
4527 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4529 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4530 against non-exsisting charset.
4532 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4534 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4535 Use eword-decode-and-unfold-unstructured-field-body.
4537 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4538 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4539 exists to decode raw subject string.
4540 (toplevel): Require 'mime.
4542 * elmo-version.el (elmo-version): Up to 2.9.12.
4544 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4546 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4547 (elmo-msgdb-set-mark): Ditto.
4549 * elmo-version.el (elmo-version): Up to 2.9.11.
4551 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4553 * elmo-util.el (elmo-delete-match-files): New function.
4555 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4556 instead of elmo-delete-directory.
4558 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4559 elmo-hash-minimun-size as 63.
4561 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4562 elmo-diff-unread is nil.
4564 * elmo-imap4.el (elmo-folder-open): Fix.
4566 * elmo.el (elmo-message-mark): Rewrite.
4567 (elmo-message-field): Ditto.
4568 (elmo-message-set-mark): Ditto.
4569 (elmo-folder-replace-marks): New function.
4570 (elmo-generic-folder-append-msgdb): Removed third argument for
4572 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4573 (elmo-msgdb-load): New implementation.
4575 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4577 * elmo-util.el (elmo-list-insert): New implementation.
4579 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4580 argument for elmo-msgdb-append.
4583 * elmo-msgdb.el (elmo-load-msgdb): New function.
4584 (elmo-make-msgdb): Ditto.
4585 (elmo-msgdb-get-index): New inline function.
4586 (elmo-msgdb-set-index): Ditto.
4587 (elmo-msgdb-get-entity-hashtb): Ditto.
4588 (elmo-msgdb-get-mark-hashtb): Ditto.
4589 (elmo-msgdb-get-mark): Ditto.
4590 (elmo-msgdb-set-mark): Ditto.
4591 (elmo-msgdb-count-marks): Ditto.
4592 (elmo-msgdb-get-number): Ditto.
4593 (elmo-msgdb-get-field): Ditto.
4594 (elmo-msgdb-seen-list): Ditto.
4595 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4596 (elmo-msgdb-delete-msgs): Follow the changes above.
4597 (elmo-msgdb-overview-get-entity): Ditto.
4598 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4599 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4601 (elmo-msgdb-make-index): Likewise.
4602 (elmo-msgdb-append): Removed third argument.
4603 (elmo-msgdb-clear): Clear index as nil.
4604 (elmo-folder-set-info-hashtb): Removed.
4605 (elmo-folder-set-info-max-by-numdb): Ditto.
4606 (elmo-folder-info-make-hashtb): Ditto.
4608 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4610 * elmo-map.el (elmo-folder-pack-number): Ditto.
4612 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4614 * elmo-version.el (elmo-version): Up to 2.9.10.
4616 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4618 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4620 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4622 * elmo-utils.el (elmo-make-directory): Add option.
4623 Default file mode is 700.
4625 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4627 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4629 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4631 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4634 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4637 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4639 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4640 (elmo-shimbun-folder-entity-hash): New function.
4641 (elmo-shimbun-folder-shimbun-header): Ditto.
4642 (elmo-shimbun-entity-to-header): Ditto.
4643 (elmo-shimbun-msgdb-to-headers): Removed.
4644 (elmo-shimbun-folder-setup): Ditto.
4645 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4647 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4648 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4649 Removed useless local bind.
4650 (elmo-folder-open-internal): Don't call
4651 `elmo-shimbun-folder-setup'.
4652 (elmo-folder-close-internal): Clear entity-hash slot.
4653 (elmo-folder-clear): Ditto.
4654 (elmo-shimbun-msgdb-create-entity): Use
4655 `elmo-shimbun-folder-shimbun-header'.
4656 (elmo-map-message-fetch): Ditto.
4657 (elmo-shimbun-update-overview): Use overview entity instead of
4658 shimbun header to lookup id by references.
4659 (elmo-map-folder-list-message-locations): Use not only headers but
4660 also overviews to list locations.
4662 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4664 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4667 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4669 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4671 * elmo-util.el (elmo-read-search-condition-internal): Give default
4674 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4676 * elmo-util.el (elmo-condition-parse-search-value): Accept
4677 YYYY-MM-DD format to search.
4678 * elmo-date.el (elmo-date-get-datevec): Likewise.
4680 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4682 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4685 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4687 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4690 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4692 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4693 case from `elmo-folder-exists-p'.
4694 (elmo-folder-exists-p): Removed.
4695 (elmo-folder-creatable-p) Ditto.
4697 * elmo-net.el (elmo-folder-create): Defined.
4698 (elmo-folder-create-unplugged): New function.
4699 (elmo-folder-exists-p): Changed default value to nil from t.
4701 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4702 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4704 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4705 `elmo-create-folder-dop' and append queue
4706 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4707 (elmo-folder-create-dop-delayed): New function.
4709 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4711 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4713 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4714 (elmo-folder-writable-p) : Ditto.
4716 * elmo-version.el (elmo-version): Up to 2.9.9.
4718 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4720 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4721 `elmo-message-use-cache-p' returns nil.
4722 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4723 (ignore cache file and refer the substance in local folders)
4725 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4727 * elmo-version.el (elmo-version): Up to 2.9.8.
4729 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4731 * elmo-version.el (elmo-version): Up to 2.9.7.
4733 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4735 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4737 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4739 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4741 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4743 (elmo-map-folder-list-message-locations): Reverse location list.
4745 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4747 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4749 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4751 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4753 (elmo-nntp-folder-list-subfolders): Follow the change above.
4755 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4757 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4758 name if authentication type is specified.
4760 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4762 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4764 (elmo-default-nntp-stream-type): Ditto.
4765 (elmo-default-pop3-stream-type): Ditto.
4767 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4769 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4771 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4773 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4775 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4777 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4778 (elmo-maildir-folder-path): Ditto.
4779 (elmo-maildir-list): Ditto (abolished).
4781 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4783 * elmo-version.el (elmo-version): Up to 2.9.6.
4785 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4787 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4788 (elmo-maildir-folder-path): Ditto.
4789 (elmo-msgdb-directory): Ditto.
4790 (elmo-passwd-life-time): Ditto.
4791 (elmo-msgdb-extra-fields): Ditto.
4792 (elmo-enable-disconnected-operation): Ditto.
4794 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4796 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4798 (elmo-pop3-default-authenticate-type): Ditto.
4800 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4802 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4804 (elmo-pop3-default-authenticate-type): Ditto.
4806 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4808 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4809 mailbox to new-folder.
4811 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4813 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4814 less than new, set new as unread.
4816 * elmo-util.el (elmo-string): Don't put text-property if nil.
4818 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4820 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4821 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4823 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4825 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4826 is nil on `completing-read'.
4828 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4830 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4832 (elmo-imap4-parse-namespace-subr): Ditto.
4833 (elmo-folder-list-subfolders): Append a delimiter when the specified
4834 folder path is a root with namespace and does not end with delimiter.
4836 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4838 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4841 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4843 * elmo-util.el (elmo-save-buffer): The first argument of message
4844 is a format control string.
4846 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4848 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4849 `elmo-folder-diff').
4850 (elmo-diff-unread): Likewise.
4852 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4854 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4855 is t on `completing-read'.
4857 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4859 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4860 method of target folder with self mark-alist if MARK-ALIST is nil.
4862 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4864 * elmo-version.el (elmo-version): Up to 2.9.5.
4866 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4868 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4869 (elmo-dop-merge-funcs): Remove.
4871 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4873 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4874 Return t if PATH is directory, too.
4875 Use `dolist' instead of while loop.
4877 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4879 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4882 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4884 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4886 (elmo-folder-list-messages-unplugged): Return t if
4887 elmo-enable-disconnected-operation is nil.
4889 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4890 `elmo-folder-list-messages-internal'.
4892 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4894 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4895 Change to looking-at `[23][0-9]+'.
4896 (elmo-network-initialize-session): Use 'error-msg'
4897 * elmo-net.el (elmo-network-open-session): Set unplugged
4898 if elmo-network-initialize-session returns 'elmo-open-err.
4900 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4902 * elmo-version.el (elmo-version): Up to 2.9.4.
4904 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4906 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4907 `elmo-folder-list-messages-internal'.
4909 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4911 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4912 (elmo-message-match-condition): New method.
4913 (elmo-folder-search-fast): New inline function.
4914 (elmo-msgdb-search): Removed.
4916 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4917 target folder if it is unplugged.
4918 (elmo-folder-list-messages-internal): Return t if target folder is
4919 unplugged and itself is persistent; In this case, use list be
4922 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4923 (elmo-msgdb-search-internal-primitive): Ditto.
4924 (elmo-msgdb-match-condition): New function.
4925 (elmo-msgdb-match-condition-primitive): Ditto.
4927 * elmo-util.el (elmo-filter-condition-p): New macro.
4929 * elmo-cache.el (elmo-folder-search): Removed.
4931 * elmo-localdir.el (elmo-folder-search): Ditto.
4933 * elmo-maildir.el (elmo-folder-search): Ditto.
4935 * elmo-mark.el (elmo-folder-search): Ditto.
4937 * elmo-nmz.el (elmo-folder-search): Ditto.
4939 * elmo-sendlog.el (elmo-folder-search): Ditto.
4941 * elmo-shimbun.el (elmo-folder-search): Ditto.
4943 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4944 if folder is unplugged.
4946 * elmo-nntp.el (elmo-folder-search): Likewise.
4947 (elmo-nntp-search-internal): New function.
4949 * elmo-version.el (elmo-version): Up to 2.9.3.
4951 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4953 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4955 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4957 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4959 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4961 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4963 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4965 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4966 (elmo-map-folder-list-message-locations): Do drive letter conversion
4967 on Windows environment.
4968 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4969 (elmo-map-message-fetch): Ditto.
4971 2001-12-27 Kenichi OKADA <okada@opaopa.org>
4973 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
4974 (elmo-network-initialize-session): Ditto.
4976 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4978 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
4980 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
4982 * elmo-util.el (elmo-progress-clear): Ditto.
4984 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
4985 `DD-Mon-YYYY' type date.
4987 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4989 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
4990 `elmo-date-make-sortable-string' instead of
4991 `timezone-make-date-sortable'.
4993 * elmo-date.el (elmo-date-make-sortable-string): Use
4994 `timezone-make-time-string'.
4996 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4998 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5000 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5001 `since'; Fix timezone.
5003 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5005 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5007 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5009 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5011 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5013 * elmo.el (elmo-generic-folder-append-messages): Make
5014 fetch-strategy with `use-cache' as 'maybe. Check return value of
5015 `elmo-message-fetch'.
5016 (elmo-message-fetch): Return return value of
5017 `elmo-message-fetch-with-cache-process'.
5018 (elmo-message-fetch-with-cache-process): Return non-nil if
5019 fetching was succeed. Load cache when fetching was failed and
5020 fetch-strategy-use-cache is 'maybe.
5022 * elmo-util.el (elmo-file-cache-load): New function.
5024 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5027 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5028 non-nil if fetching was succeed.
5030 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5032 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5034 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5035 (elmo-message-fetch-with-cache-process): Likwise.
5037 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5039 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5041 * elmo-version.el (elmo-version): Up to 2.9.2.
5043 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5045 * elmo.el (elmo-folder-delete): Delete msgdb path.
5047 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5049 * elmo-maildir.el (elmo-folder-delete): Ditto.
5051 * elmo-localdir.el (elmo-folder-delete): Ditto.
5053 * elmo-imap4.el (elmo-folder-delete): Ditto.
5055 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5057 * elmo.el (luna-define-class): Added `biff' slot.
5059 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5060 (elmo-pop3-debug-inhibit-logging): Abolished.
5061 (elmo-network-close-session): Eliminated needless let.
5062 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5063 (elmo-pop3-send-command): Added `no-log' argument.
5064 (elmo-pop3-process-filter): Use `with-current-buffer'.
5065 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5067 (elmo-pop3-auth-apop): Likewise.
5068 (elmo-network-authenticate-session): Likewise.
5070 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5073 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5074 string to determine protocol.
5075 (elmo-network-session-name-prefix): Abolished.
5076 (elmo-network-session-cache-key): Follow the change above.
5077 (elmo-network-open-session): Ditto.
5079 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5080 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5082 * elmo-version.el (elmo-version): Up to 2.9.1.
5084 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5085 unmatch condition checking.
5087 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5090 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5092 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5094 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5096 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5097 test for while loop to execute at least one SEARCH command.
5099 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5101 * elmo-version.el (elmo-version): Up to 2.9.0.
5103 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5105 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5106 (elmo-archive-folder-path): Define.
5107 (elmo-folder-initialize): Setup `dir-name' slot.
5108 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5109 Use `dir-name' as prefix of each subfolders.
5110 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5112 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5114 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5115 (elmo-pipe-folder-list-target-messages): New internal function.
5116 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5118 (elmo-pipe-folder-copied-list-load): New function.
5119 (elmo-pipe-folder-copied-list-save): Ditto.
5120 (elmo-folder-open-internal): Follow the change above.
5121 (elmo-folder-status): Fixed for copy.
5123 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5125 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5127 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5129 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5130 elmo-copy-file instead of elmo-add-name-to-file.
5132 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5134 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5137 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5138 of accept-process-output as 1.
5139 (elmo-pop3-read-contents): Ditto.
5140 (elmo-pop3-read-body): Ditto.
5142 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5144 * elmo-version.el (product-version-as-string): Remove define.
5146 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5148 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5149 (elmo-imap4-copy-messages): Chop number set using
5150 `elmo-imap4-number-set-chop-length'.
5151 (elmo-imap4-set-flag): Ditto.
5152 (elmo-imap4-search-internal-primitive): Ditto.
5154 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5156 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5157 `elmo-folder-make-temp-dir'
5159 * elmo-vars.el (elmo-cache-directory): New variable.
5160 (elmo-cache-dir): Abolished.
5161 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5163 * elmo-version.el (elmo-version): Up to 2.7.7.
5165 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5167 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5168 defcustom; Set default value as t.
5170 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5172 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5173 (ldap-search-program-arguments): Changed default value.
5174 (ldap-search-basic): Accept exit status 4.
5175 (ldap/field-body): Parse options.
5176 (ldap/collect-field): Ditto.
5177 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5179 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5180 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5181 (elmo-imap4-accept-ok): Ditto.
5182 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5183 'notify-bye, only BYE error is reported.
5184 (elmo-folder-exists-p-plugged): Set no-error argument of
5185 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5187 * elmo.el (elmo-imap4-bye-error): Changed message.
5189 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5190 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5191 queues (It causes infinite loop).
5193 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5195 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5196 (RECENT UNSEEN MESSAGES) extension.
5198 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5200 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5201 Check number of overview fields.
5203 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5205 * elmo.el (elmo-folder-confirm-appends): Changed message.
5206 (elmo-folder-confirm-appends): Ditto.
5208 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5210 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5212 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5214 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5215 of elmo-folder-update-threshold is nil, which can be set by
5216 wl-summary-update-confirm-threshold.
5218 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5220 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5221 (elmo-nmz-index-alias-alist): Ditto.
5222 (elmo-map-folder-list-message-locations): Follow the change above.
5224 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5226 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5228 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5230 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5232 * elmo-util.el (elmo-read): Ditto.
5233 (elmo-display-error): Ditto.
5235 * elmo-vars.el (elmo-date-match): Ditto.
5237 * pldap.el (ldap-coding-system): Ditto.
5239 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5240 `elmo-inhibit-number-mapping' as nil.
5242 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5244 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5245 space delimiter for list response.
5247 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5249 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5251 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5253 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5254 (elmo-map-message-fetch): Fix.
5255 * elmo-map.el (elmo-folder-status): Fix for killed.
5257 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5259 * elmo-sendlog.el: New file.
5260 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5262 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5264 * acap.el (acap-logging-out): New buffer local variable.
5265 (acap-close): Set it.
5266 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5269 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5271 * acap.el (acap-response-bye-p): New function.
5272 (acap-response-bye-message): Ditto.
5273 (acap-wait-for-response): If bye response is received, cause an error.
5274 (acap-parse-response): Make bye response when 'Bye' is received.
5276 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5278 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5280 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5282 * elmo-util.el (elmo-copy-file): Added argument
5283 `ok-if-already-exists'.
5284 (elmo-copy-file): Fixed typo.
5286 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5288 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5290 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5292 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5294 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5296 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5299 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5301 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5302 (elmo-folder-initialize): Fix for `copy'.
5303 (elmo-pipe-drain): Ditto.
5304 (elmo-folder-open-internal): Ditto.
5305 (elmo-folder-newsgroups): Fix.
5307 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5309 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5312 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5313 recent value is returned from imap folder.
5315 * elmo.el (elmo-folder-newsgroups): New generic function.
5317 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5318 (elmo-folder-initialize): Set it.
5319 (elmo-folder-expand-msgdb-path): Use it.
5320 (elmo-folder-newsgroups): Define.
5322 * elmo-filter.el (elmo-folder-newsgroups): Define.
5324 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5326 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5328 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5330 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5332 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5334 (elmo-shimbun-header-extra-field): New inline function.
5335 (elmo-shimbun-header-set-extra-field): Ditto.
5336 (elmo-shimbun-folder-header-hash-setup): Ditto.
5337 (elmo-shimbun-update-overview): Ditto.
5338 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5339 (elmo-shimbun-folder-setup): Use
5340 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5341 (elmo-shimbun-get-headers): Ditto.
5342 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5343 Insert `X-Shimbun-Id:' header if extra field is set.
5344 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5345 field's value instead of `shimbun-header-id'.
5347 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5349 (elmo-msgdb-overview-entity-set-date): Ditto.
5350 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5352 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5354 * mmimap.el (mmimap-entity-section): Changed body node number from
5357 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5359 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5360 `elmo-folder-delete-messages'.
5362 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5363 (elmo-folder-initialize): Changed to expand alias into index path.
5365 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5366 `elmo-mime-insert-header-from-buffer' with 6th arg
5369 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5371 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5373 * elmo.el (elmo-diff-new): New inline function.
5374 (elmo-diff-unread): Ditto.
5375 (elmo-diff-all): Ditto.
5377 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5378 value from responseb.
5379 (elmo-imap4-folder-diff-plugged): Ditto.
5380 (elmo-imap4-server-diff-async): Added recent argument.
5381 (elmo-server-diff-async): Ditto.
5382 (elmo-imap4-folder-diff-plugged): Ditto.
5384 * elmo-version.el (elmo-version): Up to 2.7.6.
5386 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5388 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5391 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5393 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5395 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5397 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5399 * elmo-multi.el (elmo-folder-initialize): Ditto.
5401 * elmo-util.el (elmo-parse-token): New function.
5402 (elmo-parse-prefixed-element): Ditto.
5404 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5406 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5408 (elmo-imap4-accept-ok): Ditto.
5410 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5412 * mmimap.el (mime-imap-entity-header-string): Don't check first
5413 element of node-id is `0' (Follow last change).
5415 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5417 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5418 assigned irregular node-id to nested multipart section.
5419 (initialize-instance): Followed above change.
5421 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5423 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5424 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5425 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5426 `elmo-shimbun-get-headers');
5427 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5428 visible article on summary exists in headers).
5429 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5431 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5433 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5436 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5438 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5440 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5442 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5443 header separator into loop condition.
5445 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5447 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5448 Return duplicate folder if it has subfolder.
5450 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5452 * elmo.el (elmo-make-folder): Add folder name error check.
5454 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5455 (elmo-nntp-encode-group-string): New inline function.
5456 (elmo-nntp-decode-group-string): Ditto.
5457 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5458 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5459 Use `not' instead of `null';
5460 Use elmo-nntp-decode-group-string.
5462 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5464 * elmo-version.el (elmo-version): Up to 2.7.5.
5466 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5468 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5469 Hide progress gauge if `elmo-folder-move-messages' exits
5472 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5474 * elmo-imap4.el (elmo-folder-initialize): Use
5475 `elmo-imap4-encode-folder-string' for folder name.
5477 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5479 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5482 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5484 * elmo-util.el (elmo-progress-counter-alist): New internal
5486 (elmo-progress-counter-value): New macro.
5487 (elmo-progress-counter-all-value): Ditto.
5488 (elmo-progress-counter-format): Ditto.
5489 (elmo-progress-counter-set-value): Ditto.
5490 (elmo-progress-set): New function.
5491 (elmo-progress-clear): Ditto.
5492 (elmo-progress-notify): Ditto.
5494 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5497 * elmo.el (elmo-generic-folder-append-messages): Call
5498 `elmo-progress-notify'.
5499 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5501 * elmo-archive.el (elmo-folder-append-messages): Call
5502 `elmo-progress-notify'.
5504 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5506 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5508 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5510 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5512 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5514 (elmo-message-encache-dop): Added argument `read'.
5516 * elmo-shimbun.el (elmo-message-encache): Ditto.
5518 * elmo-net.el (elmo-message-encache): Ditto.
5520 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5521 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5522 elmo-imap4-seen-messages.
5523 (elmo-folder-msgdb-create-plugged): Initialize
5524 elmo-imap4-seen-messages;
5525 Set seen mark on elmo-imap4-seen-messages.
5527 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5529 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5530 elmo-folder-append-buffer.
5531 (elmo-folder-encache): Added optional argument `read'.
5532 (elmo-message-encache): Ditto.
5534 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5536 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5538 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5539 if append buffer content succeds.
5541 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5543 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5544 elmo-display-progress.
5546 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5547 Set 4th argument of mime-display-message.
5548 (elmo-mime-display-as-is): Ditto.
5550 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5552 * elmo-nmz.el (toplevel): Require 'mime-edit.
5553 (elmo-nmz-content-type-alist): Abolished.
5554 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5555 content is not a message.
5556 (elmo-map-message-fetch): Changed behavior exept for message content;
5557 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5558 content-type, Add From: and Subject: field.
5560 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5562 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5563 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5566 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5568 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5569 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5571 * elmo-archive.el (elmo-folder-writable-p): Defined.
5573 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5575 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5577 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5579 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5581 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5583 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5585 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5587 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5589 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5591 * elmo-util.el (elmo-address-quote-specials): New function;
5592 Renamed from `wl-address-quote-specials'.
5594 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5596 * elmo-version.el (elmo-version): Up to 2.7.4.
5598 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5600 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5602 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5604 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5605 both compile-time and run-time to avoid byte-compile warning.
5607 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5609 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5611 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5613 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5615 (elmo-mime-display-as-is-internal): Use it.
5617 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5618 if `read-passwd' is not defined.
5620 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5622 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5624 (elmo-folder-status): Call `elmo-folder-open-internal';
5625 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5626 (elmo-folder-close-internal): Set location-alist as nil.
5627 (elmo-folder-clear): Define.
5628 (elmo-folder-check): Don't set location-alist as nil.
5630 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5632 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5634 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5635 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5637 * mmimap.el (mime-imap-entity::requested): New slot.
5638 (mime-imap-location-fetch-entity-p): New generic function.
5639 (mime-decode-parameters): Define using `defun-maybe'.
5640 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5641 content-type structure.
5642 (mime-entity-body): Return empty body if
5643 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5645 * elmo.el (elmo-message-displaying): New variable.
5647 * elmo-mime.el (elmo-mime-message-display): Bind
5648 elmo-message-displaying as t.
5650 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5652 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5654 * acap.el (acap-open): erase buffer before starting network process.
5655 (acap-store): Rewrite.
5657 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5659 * elmo-imap4.el (elmo-imap4-default-mailbox,
5660 elmo-imap4-default-server
5661 elmo-imap4-default-authenticate-type,
5662 elmo-imap4-default-user,
5663 elmo-imap4-default-port,
5664 elmo-imap4-default-stream-type,
5665 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5667 * elmo-pop3.el (elmo-pop3-default-user,
5668 elmo-pop3-default-server,
5669 elmo-pop3-default-authenticate-type,
5670 elmo-pop3-default-port,
5671 elmo-pop3-default-stream-type,
5672 elmo-pop3-stream-type-alist): Ditto.
5674 * elmo-nntp.el (elmo-nntp-default-server,
5675 elmo-nntp-default-user,
5676 elmo-nntp-default-port,
5677 elmo-nntp-default-stream-type,
5678 elmo-nntp-stream-type-alist): Ditto.
5680 * elmo-vars.el: Follow changes above.
5681 (elmo-setting): New custom group; added 'elmo-setting group to
5684 * elmo-version.el (elmo-version): Up to 2.7.3.
5686 * acap.el (acap-parse-response): Don't delete process when BYE
5687 response (It causes hang-up on slow network environment).
5688 (toplevel): Added comment.
5690 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5692 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5694 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5696 (acap-parse-return-metadata): Ditto.
5699 (toplevel): Fixed typo.
5701 * acap.el: New file.
5702 (acap-network-stream-open): Show "Connecting..." message.
5703 (acap-parse-response): Fixed problem for BYE untagged response.
5704 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5705 (toplevel): Added tiny comments.
5707 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5709 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5710 space delimiter for uidl response.
5712 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5714 * elmo-vars.el (elmo-use-semi): Eliminated.
5716 * elmo-util.el (elmo-string-assoc-all): New function.
5718 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5720 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5721 property 'mime-preview-situation for `mime-preview-quit'.
5723 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5725 * elmo.el (elmo-message-fetch-with-cache-process): Call
5726 elmo-message-fetch-internal instead of causing an error when fetch
5727 strategy is 'entire but only 'section cache is available.
5729 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5731 * elmo-version.el (elmo-version): Up to 2.7.2.
5733 * elmo.el (elmo-generic-folder-append-messages): Make
5734 fetch-strategy with `use-cache'.
5736 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5737 (elmo-dop-queue-method-name): New macro.
5739 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5741 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5742 unbalanced parenthesis.
5744 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5746 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5748 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5750 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5751 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5753 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5755 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5758 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5760 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5761 (elmo-message-use-cache-p): Define.
5762 (elmo-folder-msgdb-create): Treat cache.
5764 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5766 * elmo-nntp.el (elmo-network-initialize-session): Call
5767 `elmo-nntp-send-mode-reader'.
5768 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5770 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5772 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5774 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5777 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5778 for `elmo-plugged-p'.
5779 (elmo-open-network-stream): Fixed stream-type argument.
5781 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5783 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5784 unknown archive type is specified.
5786 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5788 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5790 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5791 while loading msgdb.
5793 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5794 (elmo-folder-open-internal): Rewrite.
5796 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5798 * elmo-mime.el (elmo-mime-display-as-is-internal):
5799 Adjust buffer-multibyte status.
5801 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5803 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5804 of elmo-condition-find-key.
5806 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5807 (elmo-condition-in-msgdb-p): Ditto.
5808 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5811 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5813 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5815 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5817 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5818 label for elmo-display-progress.
5820 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5822 * elmo.el (elmo-folder-clear): New method.
5823 (elmo-folder-clear): Define.
5824 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5826 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5827 (elmo-folder-clear): Define.
5829 * elmo-map.el (elmo-folder-clear): Define.
5831 * elmo-version.el (elmo-version): Up to 2.7.1.
5833 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5835 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5838 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5840 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5841 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5843 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5845 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5847 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5850 * elmo-imap4.el (elmo-folder-initialize): Use
5851 elmo-get-network-stream-type.
5853 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5855 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5857 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5859 * elmo.el (elmo-message-encache): Set unread argument for
5862 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5864 * elmo.el (elmo-net-port-info): New method.
5866 * elmo-shimbun.el (elmo-net-port-info): Define.
5867 (elmo-message-encache): Ditto.
5869 * elmo-net.el (elmo-net-port-info): Define as method.
5871 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5872 unplugged status when elmo-enable-disconnected-operation is t.
5874 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5875 of spool folder before checking new number.
5877 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5879 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5880 (elmo-network-setup-session): Ditto.
5881 (elmo-message-fetch-plugged): Ditto.
5882 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5883 (elmo-network-initialize-session): Ditto.
5884 (elmo-pop3-read-response): Abolish 3rd argument.
5885 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5886 (elmo-pop3-read-contents): Ditto.
5887 (elmo-pop3-read-body): Ditto.
5888 (elmo-folder-status): Call elmo-folder-close.
5889 (elmo-pop3-lock): Abolish.
5890 (elmo-pop3-unlock): Ditto.
5891 (elmo-pop3-locked-p): Ditto.
5892 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5894 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5896 * elmo-version.el (elmo-version): Up to 2.7.0.
5898 * elmo-pop3.el (elmo-pop3-debug): New variable.
5899 (elmo-pop3-debug-inhibit-logging): Ditto.
5900 (elmo-pop3-debug): New function.
5901 (elmo-pop3-send-command): Call elmo-pop3-debug.
5902 (elmo-pop3-read-response): Added keep-lock optional argument;
5903 Don't unlock if keep-lock is non-nil.
5904 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5905 (elmo-network-authenticate-session): Bind
5906 elmo-pop3-debug-inhibit-logging as t.
5907 (elmo-network-setup-session): Call elmo-pop3-read-response with
5909 (elmo-pop3-read-msg): Ditto.
5910 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5911 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5912 (elmo-network-initialize-session): Call elmo-pop3-lock.
5913 (elmo-folder-close-internal): Don't clear location-alist slot.
5914 (elmo-folder-check): Clear location-alist slot.
5916 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5918 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5919 (elmo-pop3-send-command): Call elmo-pop3-lock.
5920 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5921 (elmo-pop3-read-contents): Ditto.
5922 (elmo-pop3-lock): New function.
5923 (elmo-pop3-unlock): Ditto.
5924 (elmo-pop3-locked-p): Ditto.
5925 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5928 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5930 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5932 * elmo-util.el (elmo-file-field-primitive-condition-match):
5933 New inline function (Don't fetch file content if "first" or "last").
5934 (elmo-file-field-condition-match): Use
5935 elmo-file-field-primitive-condition-match.
5937 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5940 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5941 (elmo-message-fetch-plugged): Fixed.
5943 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5945 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5947 * elmo.el (elmo-folder-move-messages): Bind
5948 elmo-inhibit-display-retrieval-progress as t while moving messages.
5950 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5952 (elmo-inhibit-display-retrieval-progress): Ditto.
5954 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5955 for retrieval progress;
5956 Don't display progress when total buffer size is smaller than
5957 elmo-display-retrieval-progress-threshold.
5958 (elmo-message-fetch-plugged): Don't display progress when
5959 elmo-inhibit-display-retrieval-progress is non-nil.
5961 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5962 for retrieval progress;
5963 Don't display progress when literal size is smaller than
5964 elmo-display-retrieval-progress-threshold.
5965 (elmo-imap4-message-fetch): Don't display progress when
5966 elmo-inhibit-display-retrieval-progress is non-nil.
5968 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
5970 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
5971 (elmo-imap4-find-next-line): Display progress whille literal fetching.
5972 (elmo-imap4-message-fetch): Likewise.
5974 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
5975 (elmo-shimbun-index-range-alist): Ditto.
5976 (elmo-shimbun-use-entire-index): Abolish.
5977 (shimbun-mua-use-entire-index): Ditto.
5978 (elmo-shimbun-folder): Added new slot `range'.
5979 (elmo-folder-initialize): Setup slot `range'.
5981 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
5983 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
5984 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
5985 (elmo-shimbun-get-headers): Use return value of
5986 `shimbun-article-expiration-days'.
5987 (elmo-folder-close-internal): Clean up last-check slot.
5989 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
5990 (elmo-pop3-total-size): New variable.
5991 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
5993 * elmo.el (elmo-folder-reserve-status-p): New method.
5995 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
5996 (elmo-shimbun-use-entire-index): New user option.
5997 (shimbun-elmo-mua): New class.
5998 (shimbun-mua-search-id): Define.
5999 (shimbun-mua-use-entire-index): Ditto.
6000 (elmo-shimbun-folder:last-check): New slot.
6001 (elmo-shimbun-headers-cache-header-list): Abolish.
6002 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6003 (elmo-shimbun-headers-cache-header-hash): Ditto.
6004 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6005 (elmo-shimbun-headers-cache-last-check): Ditto.
6006 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6007 (elmo-shimbun-headers-check-p): Rewrite.
6008 (elmo-shimbun-msgdb-to-headers): New function.
6009 (elmo-shimbun-get-headers): Rewrite.
6010 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6011 (elmo-folder-open-internal): Get headers only if
6012 `elmo-shimbun-headers-check-p' is non-nil.
6013 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6015 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6016 (elmo-quit): Removed.
6018 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6020 (elmo-msgdb-overview-entity-set-extra): Ditto.
6021 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6023 * elmo-map.el (elmo-folder-status): Don't call
6024 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6027 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6029 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6030 of `elmo-msgdb-search-internal-primitive' when condition's car is
6033 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6035 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6037 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6039 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6040 call `elmo-pipe-drain'.
6042 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6044 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6045 typo. (elmo-cache-folder -> elmo-mark-folder)
6047 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6049 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6050 `elmo-message-fetch'.
6052 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6054 * elmo-net.el (elmo-message-encache): Fixed typo.
6055 (elmo-message-fetch-unplugged): Changed call
6056 `elmo-message-fetch-internal' without argument `outbuf'.
6058 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6060 * elmo.el (elmo-message-encache): Define as generic function.
6061 (elmo-message-fetch-field): New generic function.
6062 (elmo-message-fetch-with-cache-process): Cause an error when
6063 fetch strategy is 'entire but only 'section cache is available.
6064 (toplevel): Fixed nmz folder definition.
6066 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6067 (elmo-msgdb-resume-list-filename): Ditto.
6068 (elmo-queue-filename): Ditto.
6069 (elmo-enable-disconnected-operation): Changed default value to t.
6071 * elmo-util.el (elmo-cache-path-section-p): New function.
6072 (elmo-file-cache-get): Use it.
6073 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6074 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6075 (elmo-dop-queue-save): Ditto.
6077 * elmo-net.el (elmo-folder-status-unplugged): Call
6078 elmo-folder-status-dop.
6079 (elmo-folder-list-messages-unplugged): Implemented.
6080 (elmo-folder-delete-messages-unplugged): Define.
6081 (elmo-folder-msgdb-create): Define.
6082 (elmo-folder-msgdb-create-unplugged): Define.
6083 (elmo-folder-mark-as-read-unplugged): Ditto.
6084 (elmo-folder-unmark-read-unplugged): Ditto.
6085 (elmo-folder-mark-as-important-unplugged): Ditto.
6086 (elmo-folder-unmark-important-unplugged): Ditto.
6087 (elmo-message-encache): Ditto.
6089 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6090 (elmo-dop-queue-save): Ditto.
6092 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6093 `elmo-folder-msgdb-create'.
6094 (elmo-folder-append-buffer): Implemented unplugged operation.
6095 (elmo-folder-append-messages): Call parent method in unplugged status.
6096 (elmo-message-fetch-unplugged): Removed definition.
6097 (elmo-message-fetch-field): Implemented.
6099 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6100 (elmo-dop-folder): Removed variable definition.
6101 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6102 (elmo-dop-queue-flush): Implemented.
6103 (elmo-dop-queue-merge): Removed definition (TODO).
6104 (elmo-dop-spool-folder): New function.
6105 (elmo-dop-spool-folder-append-buffer): Ditto.
6106 (elmo-dop-spool-folder-list-messages): Ditto.
6107 (elmo-dop-list-deleting-messages): Ditto.
6108 (elmo-folder-append-buffer-dop): Ditto.
6109 (elmo-folder-delete-messages-dop): Ditto.
6110 (elmo-message-encache-dop): New inline function.
6111 (elmo-create-folder-dop): Ditto.
6112 (elmo-folder-mark-as-read-dop): Ditto.
6113 (elmo-folder-unmark-read-dop): Ditto.
6114 (elmo-folder-mark-as-important-dop): Ditto.
6115 (elmo-folder-unmark-important-dop): Ditto.
6116 (elmo-folder-status-dop): Fixed.
6117 (elmo-folder-append-buffer-dop-delayed): New function.
6118 (elmo-folder-delete-messages-dop-delayed): Ditto.
6119 (elmo-dop-msgdb): Ditto.
6121 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6123 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6125 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6127 * elmo.el (elmo-folder-move-messages): Fixed problem when
6128 `dst-folder' is 'null.
6130 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6132 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6133 instead of current mark.
6135 * elmo-multi.el (elmo-folder-list-importants-internal): No
6136 operation if importants is not list.
6138 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6139 Return t if importants is not list.
6141 * elmo-map.el (elmo-map-folder-list-importants): Define.
6142 (elmo-folder-list-importants-internal): Check return value of
6143 `elmo-map-folder-list-importants-internal'.
6145 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6147 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6149 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6151 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6153 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6155 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6156 (Patch is provided by <kita@coe.nttdata.co.jp>).
6158 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6160 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6163 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6165 * elmo.el (elmo-message-fetch): Define.
6166 (elmo-message-fetch-with-cache-process): New generic method.
6167 (elmo-message-fetch-internal): New generic method.
6168 (elmo-folder-synchronize):
6170 * elmo-archive.el (elmo-message-fetch-internal): Define.
6171 (elmo-message-fetch): Eliminated.
6173 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6174 (elmo-message-fetch): Eliminated.
6176 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6178 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6180 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6181 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6183 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6184 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6186 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6188 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6190 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6192 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6193 (elmo-message-fetch-unplugged): New generic method.
6194 (elmo-message-fetch-internal): Remove cache process (Renamed from
6195 `elmo-message-fetch').
6197 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6198 (elmo-message-fetch): Eliminated.
6199 (elmo-message-fetch-unplugged): Ditto.
6201 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6203 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6205 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6206 of `to-be-deleted' from number-alist to number-list.
6208 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6210 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6211 (elmo-folder-mark-as-important): Ditto.
6213 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6215 * elmo.el (elmo-folder): Added process-duplicates slot.
6217 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6218 (elmo-folder-unmark-read): Ditto.
6219 (elmo-folder-unmark-important): Ditto.
6220 (elmo-folder-mark-as-important): Ditto.
6222 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6223 duplicated message processing.
6225 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6227 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6229 * elmo-util.el (elmo-list-subdirectories-1): New function.
6230 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6231 (elmo-mapcar-list-of-list): New function.
6233 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6234 `elmo-mapcar-list-of-list' instead of `mapcar'.
6236 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6238 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6239 `elmo-have-link-count'. Return the fully qualified folder name.
6241 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6243 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6244 (elmo-shimbun-headers-cache): New internal variable.
6245 (elmo-shimbun-headers-cache-header-list): New inline function.
6246 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6247 (elmo-shimbun-headers-cache-header-hash): Ditto.
6248 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6249 (elmo-shimbun-headers-cache-last-check): Ditto.
6250 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6251 (elmo-shimbun-lapse-seconds): Ditto.
6252 (elmo-shimbun-headers-cache-check-p): Ditto.
6253 (elmo-shimbun-get-headers): New function.
6254 (elmo-folder-open-internal): Call it.
6255 (elmo-quit): Define (Clear headers-cache).
6257 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6259 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6261 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6262 (elmo-msgdb-flist-save): Ditto.
6264 * elmo-shimbun.el (elmo-folder-list-subfolders):
6265 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6266 (elmo-folder-exists-p): Ditto.
6268 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6269 argument for `shimbun-header-insert'.
6271 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6273 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6276 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6277 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6279 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6281 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6282 (elmo-folder-plugged-p): Define.
6283 (elmo-folder-set-plugged): Ditto.
6284 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6285 (elmo-folder-list-messages-internal): Return t if unplugged.
6286 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6288 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6289 when elmo-folder-list-messages-internal method of children returns t.
6291 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6293 (elmo-folder-open-internal): Don't update if unplugged status.
6295 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6297 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6300 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6302 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6304 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6307 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6309 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6311 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6312 (elmo-folder-open-internal): Set up headers slot.
6313 (elmo-folder-check): Call elmo-folder-close-internal and
6314 elmo-folder-open-internal.
6315 (elmo-folder-close-internal): Clean up headers slot.
6317 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6319 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6320 exactly folder list.
6321 (elmo-folder-append-messages): Fixed append archive with prefix.
6323 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6324 make temp files with start-number.
6326 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6328 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6330 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6331 argument `visible-only'.
6332 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6335 * elmo-pop3.el (elmo-folder-open-internal): Check
6336 `elmo-inhibit-number-mapping' is non-nil.
6338 * elmo-pipe.el (elmo-folder-status): Fixed.
6340 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6342 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6344 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6345 (elmo-folder-open-internal): Setup `header-hash' slot.
6346 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6348 (elmo-map-message-fetch): Ditto.
6350 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6352 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6353 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6354 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6355 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6357 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6359 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6361 * sb-airs.el: Added footer.
6363 * shimbun.el (shimbun-article): Define as luna-method.
6365 * sb-tcup.el: New file.
6367 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6368 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6370 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6372 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6373 (shimbun-get-headers): Ditto.
6375 * elmo.el: Moved obsolete variable definitions from
6376 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6378 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6381 * shimbun.el: New file.
6383 * elmo-shimbun.el: New file.
6385 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6386 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6387 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6388 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6390 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6392 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6395 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6397 * elmo.el (elmo-folder-msgdb): Define as macro.
6398 (elmo-folder-open): Added argument `load-msgdb'.
6399 (elmo-generic-folder-open): Ditto.
6400 (elmo-folder-encache): New function.
6402 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6404 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6406 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6407 Eliminated argument FOLDER and added argument MSGDB.
6408 (elmo-dop-queue-load): Moved from elmo-dop.el.
6409 (elmo-dop-queue-save): Ditto.
6411 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6413 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6415 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6416 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6417 (elmo-filter-folder-list-importants-internal): Ditto.
6419 * elmo-map.el (elmo-folder-pack-number): Ditto.
6421 * elmo-mime.el (elmo-mime-message-display): Ditto.
6423 * elmo.el (elmo-generic-folder-commit): Ditto.
6424 (elmo-folder-list-unreads): Ditto.
6425 (elmo-folder-list-importants): Ditto.
6426 (elmo-generic-folder-commit): Ditto.
6427 (elmo-message-set-mark): Ditto.
6428 (elmo-generic-folder-append-msgdb): Ditto.
6429 (elmo-folder-synchronize): Ditto.
6430 (elmo-folder-messages): Ditto.
6431 (elmo-init): Call elmo-dop-queue-load.
6432 (elmo-folder-list-messages): Ditto.
6434 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6435 (elmo-nntp-folder-process-crosspost): Ditto.
6436 (elmo-folder-list-unreads-internal): Ditto.
6438 * elmo-dop.el: Removed old functions.
6440 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6442 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6443 `folder' to `msgdb'.
6445 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6447 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6448 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6450 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6453 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6455 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6458 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6459 (mmimap-parse-parameters-from-list): Define as alias for
6460 `mime-decode-parameter-plist' if it is defined as function.
6461 (mmimap-make-mime-entity): Added argument `number'.
6462 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6464 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6466 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6468 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6470 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6472 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6474 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6476 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6477 when elmo-imap4-default-authenticate-type is nil.
6478 (elmo-folder-list-subfolders): Ditto
6479 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6480 (elmo-imap4-fetch-callback-1-subr): Renamed from
6481 `elmo-imap4-fetch-callback-1' and define as inline function.
6482 (elmo-imap4-fetch-callback-1):
6483 Renamed from `elmo-imap4-fetch-callback'.
6484 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6486 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6487 msgdb path (To keep compatibility with main trunk).
6489 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6491 * elmo-util.el (elmo-make-file-cache): Moved position of
6494 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6495 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6496 instead of `elmo-pop3-inhibit-uidl'.
6497 (elmo-folder-exists-p): Ditto.
6498 (elmo-pop3-folder-list-messages): Ditto.
6500 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6501 instead of `elmo-pop3-inhibit-uidl'.
6502 (elmo-folder-status): Ditto.
6504 * elmo-dop.el (elmo-dop-folder): New variable.
6505 (elmo-dop-lock-message): Eliminated.
6506 (elmo-dop-unlock-message): Ditto.
6507 (elmo-dop-lock-list-load): Ditto.
6508 (elmo-dop-lock-list-save): Ditto.
6509 (elmo-dop-delete-folder): Ditto.
6510 (elmo-dop-rename-folder): Ditto.
6512 * elmo.el: Removed incomplete commentary.
6514 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6516 * elmo.el (toplevel): Require 'elmo-version first;
6517 for little `recursive-load-depth' settings.
6518 Fix "ends here" comment.
6520 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6522 * elmo-util.el (toplevel): Require 'poem;
6523 Some functions are moved from elmo-cache.el.
6525 * elmo-net.el (toplevel): Require 'elmo-cache.
6527 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6529 * elmo.el (toplevel): Ditto.
6531 * elmo-cache.el: Rewrite with luna;
6532 Some functions are moved to elmo-util.el.
6534 * elmo-internal.el (elmo-internal-folder-list): New variable.
6535 (elmo-internal-folder-initialize): Rewrite.
6536 (elmo-folder-list-subfolders): Ditto.
6538 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6539 (elmo-cache-collect-sub-directories): Ditto.
6541 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6543 * elmo-version.el (elmo-version): Up to 2.5.8.
6545 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6547 * elmo-util.el (elmo-list-insert): New function.
6549 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6551 * elmo.el (elmo-init): New function.
6552 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6554 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6555 (Renamed from `elmo-localdir-header-chop-length').
6557 * elmo-pop3.el (elmo-pop3-use-cache,
6558 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6560 * elmo-nntp.el (elmo-message-fetch): Define.
6561 (elmo-message-fetch-unplugged): Ditto.
6562 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6563 (elmo-nntp-use-cache): Ditto.
6564 (elmo-nntp-max-number-precedes-list-active): Ditto.
6566 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6568 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6569 `elmo-msgdb-insert-file-header'.
6570 Use `elmo-msgdb-file-header-chop-length'.
6572 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6575 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6576 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6577 `elmo-msgdb-insert-file-header'.
6579 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6581 Define obsolete variables with `elmo-define-obsolete-variable',
6583 * elmo-util.el (elmo-warning-buffer-name): New constant.
6584 (elmo-warning): New function.
6585 (elmo-obsolete-variable-alist): New variable.
6586 (elmo-obsolete-variable-show-warnings): New variable.
6587 (elmo-define-obsolete-variable): New function.
6588 (elmo-resque-obsolete-variable): Ditto.
6589 (elmo-resque-obsolete-variables): Ditto.
6591 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6593 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6596 * elmo-pop3.el, elmo-nntp.el: Use custom.
6598 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6600 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6601 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6603 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6605 * Luna-fy Kenichi OKADA's following changes.
6606 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6608 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6610 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6612 * elmo-util.el (elmo-display-progress): Prefer
6613 `progress-feedback-with-label' to `lprogress-display'.
6615 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6617 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6619 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6621 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6622 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6623 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6624 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6625 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6626 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6627 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6628 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6629 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6630 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6631 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6632 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6633 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6635 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6637 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6638 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6640 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6642 * elmo.el (elmo-folder-process-crosspost): New generic method.
6643 (elmo-folder-writable-p): Ditto.
6644 (elmo-folder-message-appendable-p): Eliminated.
6645 (elmo-generic-folder-append-msgdb): Rewrite.
6646 (elmo-newsgroups-hashtb): New internal variable.
6647 (elmo-crosspost-message-set): Eliminated.
6648 (elmo-crosspost-message-delete): Ditto.
6649 (elmo-setup-subscribed-newsgroups): New function.
6650 (elmo-crosspost-message-alist-modified): New internal variable.
6651 (elmo-crosspost-message-alist-load): New function (Renamed from
6652 `wl-crosspost-alist-load').
6653 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6654 `wl-crosspost-alist-save').
6656 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6658 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6660 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6661 elmo-newsgroups-hashtb).
6662 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6663 `elmo-nntp-folder-update-crosspost-message-alist'.
6664 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6665 `elmo-nntp-groups-hashtb'.
6666 (elmo-nntp-make-groups-hashtb): Eliminated.
6667 (elmo-nntp-parse-newsgroups): New function (Renamed from
6668 `wl-parse-newsgroups').
6669 (elmo-folder-creatable-p, elmo-folder-writable-p,
6670 elmo-folder-close-internal, elmo-folder-mark-as-read,
6671 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6673 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6675 * elmo-net.el (elmo-message-fetch): Check buffer size.
6677 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6679 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6681 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6682 before `close' command.
6684 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6685 `mark-alist' (All other related portions are changed).
6687 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6689 * elmo-util.el (elmo-create-hash-size): Eliminated.
6690 (elmo-make-hash) Make a hash with `one less than a power of two'
6693 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6694 (elmo-hash-maximum-size): Changed value.
6696 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6698 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6699 (elmo-mime-message-display-as-is): Ditto.
6701 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6703 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6704 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6706 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6708 * elmo-mark.el: New file.
6710 * elmo-internal.el: Rewrite (Almost empty).
6712 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6714 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6715 (mime-imap-entity-header-string): Ditto.
6716 (mmimap-entity-section): Rewrite.
6718 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6720 * elmo-nmz.el: New file.
6722 * elmo-pipe.el: Rewrite with luna.
6724 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6726 * elmo-archive.el: Rewrite with luna.
6728 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6729 (elmo-folder-list-importants-internal): Ditto.
6731 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6733 * elmo-archive.el (elmo-archive-version): Abolish.
6734 (toplevel) Removed `boso' comment.
6736 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6738 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6739 elmo-msgdb-add-msgs-to-seen-list-subr;
6740 Changed argument seen-marks to unread-marks.
6742 * elmo-nntp.el: Rewrite with luna.
6744 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6746 * elmo-filter.el: Rewrite with luna.
6748 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6750 * elmo-pop3.el: Rewrite with luna.
6752 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6754 * elmo-multi.el: Rewrite with luna.
6756 * elmo-vars.el (elmo-use-killed-list): Abolish.
6757 All other related portions are changed.
6758 (elmo-filename-replace-string-alist): Renamed from
6759 elmo-msgid-replace-string-alist.
6761 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6763 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6765 * elmo-map.el: New file.
6766 * elmo-maildir.el: Rewrite with luna.
6768 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6770 * elmo.el: Changed meaning of `elmo-folder-commit'.
6771 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6773 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6775 * elmo.el (elmo-folder-append-buffer): New function.
6776 (Renamed from `elmo-append-msg')
6778 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6780 * elmo-mime.el: New file.
6782 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6784 * elmo-cache.el: Rewrite.
6786 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6788 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6790 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6792 * elmo-vars.el (elmo): New group.
6793 (elmo-strict-diff-folder-regexp): New variable.
6795 * elmo-util.el (elmo-call-func): Abolish.
6796 (elmo-folder-get-type): Ditto.
6797 (elmo-*-get-spec): Ditto.
6798 (elmo-*-spec-*): Ditto.
6799 (elmo-imap4-identical-name-space-p): Ditto.
6800 (elmo-folder-identical-system-p): Ditto.
6801 (elmo-folder-direct-copy-alist): Ditto.
6802 (elmo-folder-direct-copy-p): Ditto.
6804 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6805 (elmo-folder-initialize): Define.
6806 (elmo-folder-get-primitive-list): Ditto.
6808 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6809 (elmo-folder-initialize): Define.
6810 Renamed `elmo-network-session-host-internal' to
6811 `elmo-network-session-server-internal'.
6813 * elmo-multi.el (elmo-multi-folder): New luna class.
6814 (elmo-folder-initialize): Define.
6815 (elmo-folder-get-primitive-list): Ditto.
6816 (elmo-folder-contains-type): Ditto.
6817 (elmo-message-use-cache-p): Ditto.
6819 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6820 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6822 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6823 (elmo-folder-initialize): Define.
6825 * elmo-filter.el (elmo-filter-folder): New luna class.
6826 (elmo-folder-initialize): Define.
6827 (elmo-folder-get-primitive-list): Ditto.
6828 (elmo-folder-contains-type): Ditto.
6830 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6832 * elmo-imap4.el: Rewrite with luna.
6834 * mmimap.el: New file.
6836 * mmelmo.el, mmelmo-imap4.el: Removed.
6838 * elmo-net.el: Ditto.
6840 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6841 (elmo-folder-initialize): Define.
6843 * elmo-archive.el (elmo-archive-folder): New luna class.
6844 (elmo-folder-initialize): Define.
6846 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6847 `elmo-folder-msgdb-path'.
6848 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6851 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6853 * elmo.el: New file.
6855 * elmo2.el: Renamed to elmo.el.
6858 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6860 * elmo-cache.el (elmo-cache-expire-by-size): Count
6861 a disk usage for a cache file entry in KB even when
6862 its kind is a directory.
6864 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6866 * elmo-version.el (elmo-version): Up to 2.5.7.
6868 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6870 * elmo-version.el (elmo-version): Up to 2.5.6.
6872 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6874 * elmo-version.el (elmo-version): Up to 2.5.5.
6876 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6878 * elmo-imap4.el (elmo-network-authenticate-session):
6879 Fixed a logic for response checking.
6881 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6883 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6884 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6885 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6888 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6889 for `starttls-open-stream' and `starttls-negotiate'.
6891 * elmo-nntp.el: Remove autoload settings for
6892 `starttls-open-stream' and `starttls-negotiate'.
6894 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6895 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6896 `luna-define-class' with `eval-and-compile'.
6898 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6900 * elmo-util.el (elmo-read-search-condition-internal):
6901 Require an element of table for searching field.
6903 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6905 * elmo-version.el (elmo-version): Up to 2.5.4.
6907 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6909 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6911 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6913 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6915 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6917 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6920 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6922 * elmo-imap4.el (elmo-imap4-delete-folder):
6923 Send "close" before "delete" (Use commented out line).
6924 (elmo-imap4-rename-folder): Ditto.
6926 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6927 folder string itself.
6928 (elmo-dop-list-deleted): New function.
6929 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6932 * elmo-util.el (elmo-string-rassoc-all): New function.
6934 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6936 * elmo-version.el (elmo-version): Up to 2.5.3.
6938 * elmo-net.el (elmo-network-get-session): Changed logic for
6939 checking process status.
6941 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6943 Changed logic for checking process status.
6945 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6947 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6949 (elmo-network-setup-session): Set UIDL hash size according to
6950 the length of list response.
6951 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6952 according to the length of list response;
6953 Return the length of list response.
6954 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6956 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6958 * elmo-imap4.el (toplevel): Require 'ssl.
6959 Add autoload 'starttls.
6960 * elmo-pop3.el (toplevel): Ditto.
6961 * elmo-nntp.el (toplevel): Ditto.
6963 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6965 * elmo-imap4.el (toplevel): defun at compile time.
6966 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6967 sasl-next-step, sasl-step-data, sasl-step-set-data.
6968 * elmo-pop3.el (toplevel): Ditto.
6970 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6972 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
6974 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6976 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
6978 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
6979 and `elmo-pop-auth-apop'.
6981 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6983 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
6985 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6987 * elmo-pop3.el (elmo-network-authenticate-session): Split
6988 encoded response value.
6990 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6992 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
6993 `elmo-pop3-force-login'.
6994 Redefine `sasl-mechanisms'.
6995 * elmo-vars.el (elmo-pop3-force-login): Ditto.
6997 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6999 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7000 Delete `elmo-imap4-authenticator-alist'.
7001 (elmo-imap4-auth-cram-md5): Delete.
7002 (elmo-imap4-auth-digest-md5): Delete.
7004 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7006 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7007 (elmo-pop3-auth-scram-md5): Ditto.
7008 (elmo-pop3-auth-cram-md5): Ditto.
7010 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7012 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7013 Delete `elmo-pop3-authenticator-alist'.
7015 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7017 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7019 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7021 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7023 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7025 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7027 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7028 Fixed problem when `elmo-pop3-use-uidl' is nil.
7029 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7031 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7033 * elmo-version.el (elmo-version): Up to 2.5.2.
7035 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7037 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7039 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7040 (elmo-pop3-msgdb-create-as-numlist): Use it.
7042 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7043 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7045 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7046 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7048 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7050 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7051 when elmo-mark-as-read is called with second argument nil.
7053 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7055 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7056 Moved to elmo-util.el.
7058 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7059 Moved from elmo-pipe.el
7061 * elmo-archive.el (elmo-archive-call-process): Enclose with
7064 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7065 "RFC822" (because RFC822.PEEK is obsolete).
7066 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7068 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7070 * elmo-archive.el (elmo-archive-call-process): Don't check for
7071 the exit status when Nemacs is running.
7073 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7075 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7078 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7079 (elmo-pop3-get-spec): Set default of auth to 'user.
7081 * elmo-imap4.el (elmo-imap4-session-check):
7082 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7083 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7084 (elmo-imap4-auth-login): New function; Revival.
7085 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7086 `elmo-imap4-auth-login'.
7088 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7090 * elmo2.el (toplevel): Move `product-provide' declare.
7091 * mmelmo.el (toplevel): Ditto.
7093 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7095 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7097 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7099 * elmo-util.el (elmo-folder-get-store-type): New function.
7100 (elmo-folder-direct-copy-p): Use it.
7102 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7104 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7105 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7106 and result of `elmo-imap4-use-flag-p'.
7107 (elmo-imap4-fetch-callback-1): Set mark according to
7108 the result of `elmo-imap4-use-flag-p'.
7110 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7112 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7113 (elmo-generic-list-folder-unread): Ditto.
7114 (elmo-folder-get-info): Ditto.
7115 (elmo-folder-set-info-max-by-numdb): Ditto.
7116 (elmo-folder-get-info-max): Ditto.
7117 (elmo-folder-get-info-length): Ditto.
7118 (elmo-folder-get-info-unread): Ditto.
7119 (elmo-folder-info-make-hashtb): Ditto.
7121 * elmo2.el: Removed above functions.
7123 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7125 * elmo-imap4.el (toplevel): Require 'ssl.
7126 Add autoload 'starttls.
7127 * elmo-pop3.el (toplevel): Ditto.
7128 * elmo-nntp.el (toplevel): Ditto.
7130 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7132 * elmo-imap4.el (toplevel): defun at compile time.
7133 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7134 sasl-next-step, sasl-step-data, sasl-step-set-data.
7135 * elmo-pop3.el (toplevel): Ditto.
7137 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7139 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7141 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7143 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7145 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7146 and `elmo-pop-auth-apop'.
7148 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7150 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7152 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7154 * elmo-pop3.el (elmo-network-authenticate-session): Split
7155 encoded response value.
7157 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7159 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7160 `elmo-pop3-force-login'.
7161 Redefine `sasl-mechanisms'.
7162 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7164 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7166 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7167 Delete `elmo-imap4-authenticator-alist'.
7168 (elmo-imap4-auth-cram-md5): Delete.
7169 (elmo-imap4-auth-digest-md5): Delete.
7171 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7173 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7174 (elmo-pop3-auth-scram-md5): Ditto.
7175 (elmo-pop3-auth-cram-md5): Ditto.
7177 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7179 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7180 Delete `elmo-pop3-authenticator-alist'.
7182 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7184 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7186 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7189 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7191 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7193 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7195 * elmo-nntp.el (elmo-nntp-get-folders-info):
7196 Fixed problem when '\' character is contained in user-id.
7197 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7200 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7202 * elmo-imap4.el (elmo-imap4-delete-folder):
7203 Send "close" before "delete" (Use commented out line).
7204 (elmo-imap4-rename-folder): Ditto.
7206 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7207 folder string itself.
7208 (elmo-dop-list-deleted): New function.
7209 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7212 * elmo-util.el (elmo-string-rassoc-all): New function.
7214 * elmo-version.el (elmo-version): Up to 2.5.1.
7216 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7218 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7220 * elmo-internal.el (elmo-internal-search): Fix last change.
7222 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7224 * elmo-internal.el (elmo-internal-search): Rewrite.
7225 (Fixed problem which is pointed out by Akihiro MOTOKI
7226 <motoki@da.jp.nec.com>)
7228 * elmo-version.el (elmo-version): Up to 2.5.0.
7230 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7232 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7234 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7236 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7237 non-nil, make hierarchy.
7239 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7241 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7242 `elmo-pop3-use-uidl' must be bound to nil.
7243 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7245 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7247 * elmo-util.el (elmo-copy-file): Don't cause an error after
7248 `add-name-to-file' failed.
7250 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7251 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7253 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7255 * elmo-version.el (elmo-version): Up to 2.3.93.
7257 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7259 * elmo-util.el (elmo-flatten): New function.
7261 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7263 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7265 * elmo-cache.el (toplevel): Ditto.
7266 * elmo-database.el (toplevel): Ditto.
7267 * elmo-date.el (toplevel): Ditto.
7268 * elmo-dop.el (toplevel): Ditto.
7269 * elmo-filter.el (toplevel): Ditto.
7270 * elmo-imap4.el (toplevel): Ditto.
7271 * elmo-internal.el (toplevel): Ditto.
7272 * elmo-localdir.el (toplevel): Ditto.
7273 * elmo-localnews.el (toplevel): Ditto.
7274 * elmo-maildir.el (toplevel): Ditto.
7275 * elmo-msgdb.el (toplevel): Ditto.
7276 * elmo-multi.el (toplevel): Ditto.
7277 * elmo-net.el (toplevel): Ditto.
7278 * elmo-nntp.el (toplevel): Ditto.
7279 * elmo-pipe.el (toplevel): Ditto.
7280 * elmo-pop3.el (toplevel): Ditto.
7281 * elmo-util.el (toplevel): Ditto.
7282 * elmo-vars.el (toplevel): Ditto.
7283 * elmo2.el (toplevel): Ditto.
7284 * mmelmo-imap4.el (toplevel): Ditto.
7285 * mmelmo.el (toplevel): Ditto.
7287 * elmo-version.el (elmo-version): Move to top.
7289 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7290 * elmo-imap4.el (toplevel): Ditto.
7291 * elmo-localdir.el (toplevel): Ditto.
7292 * elmo-msgdb.el (toplevel): Ditto.
7293 * elmo-nntp.el (toplevel): Ditto.
7294 * elmo-pop3.el (toplevel): Ditto.
7295 * elmo-version.el (toplevel): Ditto.
7297 * elmo-localnews.el (toplevel): Added Keyword header.
7299 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7301 * elmo-version.el (product-version-as-string): Defined using
7305 * elmo-localdir.el (toplevel): Updated copyright notice.
7306 * elmo-version.el (toplevel): Ditto.
7307 * elmo-msgdb.el (toplevel): Ditto.
7308 * elmo-imap4.el (toplevel): Ditto.
7309 * elmo-nntp.el (toplevel): Ditto.
7310 * elmo-pop3.el (toplevel): Ditto.
7312 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7314 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7317 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7318 parameter value (It sometimes contains raw kanji).
7320 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7322 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7323 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7325 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7327 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7329 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7331 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7332 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7334 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7336 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7337 value if selecting folder succceeded.
7338 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7340 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7342 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7345 * elmo-util.el (elmo-string-matched-member): New function.
7347 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7349 * elmo-util.el (elmo-unintern): New macro.
7350 (elmo-number-set-member): Fixed docstring.
7352 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7355 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7357 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7358 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7360 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7362 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7365 Return non-nil if selecting folder succeeded.
7366 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7368 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7370 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7371 `file-name-completion' returns t.
7372 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7373 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7374 directory if it does not exist.
7375 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7378 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7380 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7381 enclosure (It's harmful in unplugged status).
7383 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7385 * mmelmo-1.el: Removed.
7387 * mmelmo-2.el: Ditto.
7389 * mmelmo-imap4-1.el: Ditto.
7391 * mmelmo-imap4-2.el: Ditto.
7393 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7395 * mmelmo.el: Merged mmelmo-2.el.
7397 * elmo-version.el (elmo-version): Up to 2.3.92.
7399 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7401 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7402 elmo-update-number): Remove last period in "...done." message.
7403 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7405 * elmo-cache.el (elmo-cache-expire-by-size,
7406 elmo-cache-get-sorted-cache-file-list,
7407 elmo-cache-msgdb-create-as-numlist): Ditto.
7408 * elmo-dop.el (elmo-dop-save-pending-messages,
7409 (elmo-dop-flush-pending-append-operations): Ditto.
7410 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7411 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7412 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7413 (elmo-localdir-pack-number): Ditto.
7414 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7415 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7416 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7417 mime-write-entity-content): Ditto.
7418 * pldap.el (ldap-search-basic): Ditto.
7420 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7422 * elmo-version.el (elmo-version): Up to 2.3.91.
7424 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7425 Only when filter is 'last'.
7427 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7428 (elmo-condition-parse-search-value): Use it.
7429 (elmo-read-search-condition-internal): Quote value only when
7432 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7434 * elmo2.el (elmo-generic-folder-diff): Fix.
7436 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7438 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7439 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7440 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7441 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7442 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7443 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7445 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7447 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7450 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7452 * elmo-version.el (elmo-version): Up to 2.3.90.
7454 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7455 (elmo-imap4-list-folder-important): Ditto.
7457 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7459 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7461 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7463 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7465 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7467 * elmo-nntp.el (elmo-network-initialize-session):
7468 Add starttls negotiation.
7470 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7472 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7474 (elmo-network-setup-session): Define.
7475 Call `elmo-nntp-send-mode-reader' when session opened.
7477 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7479 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7481 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7483 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7484 an invalid SPACE character ahead of `SEARCH' command. Move
7485 a valid SPACE character following `SEARCH' from conditional
7486 `format' arguments to control-strings.
7488 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7490 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7493 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7495 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7497 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7498 `w32-get-true-file-link-count' as t.
7500 * elmo-imap4.el (elmo-imap4-read): Abolished.
7501 (Renamed to `elmo-read' and moved to elmo-util.el)
7502 All other related portions are changed.
7504 * elmo-util.el (elmo-read): New function.
7505 (elmo-condition-parse-search-value): Use it.
7507 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7509 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7511 * elmo-nntp.el (elmo-nntp-session): Define.
7512 (elmo-nntp-setting): Abolished.
7513 All other related portions are changed.
7514 (elmo-nntp-get-server-command): Changed argument.
7515 (elmo-nntp-set-server-command): Ditto.
7516 (elmo-nntp-xover-p): Ditto.
7517 (elmo-nntp-set-xover): Ditto.
7518 (elmo-nntp-listgroup-p): Ditto.
7519 (elmo-nntp-set-listgroup): Ditto.
7520 (elmo-nntp-list-active-p): Ditto.
7521 (elmo-nntp-set-list-active): Ditto.
7522 (elmo-nntp-xhdr-p): Ditto.
7523 (elmo-nntp-set-xhdr): Ditto.
7524 (elmo-nntp-flush-connection): Abolished.
7525 (elmo-nntp-get-connection): Abolished.
7526 (elmo-nntp-get-session): New function.
7527 (elmo-network-initialize-session): Defined.
7528 (elmo-network-authenticate-session): Ditto.
7529 (elmo-nntp-send-mode-reader): Changed argument.
7530 (elmo-nntp-send-command): Changed argument.
7531 All other related portions are changed.
7532 (elmo-nntp-read-response): Ditto.
7533 (elmo-nntp-read-raw-response): Ditto.
7534 (elmo-nntp-read-contents): Ditto.
7535 (elmo-nntp-read-body): Ditto.
7536 (elmo-nntp-goto-folder): Abolished.
7537 (elmo-nntp-select-group): New function.
7538 All other related portions are changed.
7539 (This function substitutes `elmo-nntp-goto-folder')
7540 (elmo-nntp-msgdb-create-by-header): Rewrite.
7541 (elmo-nntp-get-overview): Eliminated.
7542 (elmo-nntp-get-message): Ditto.
7543 (elmo-nntp-open-connection) Abolished.
7544 (elmo-nntp-read-msg): Rewrite.
7545 (elmo-nntp-post): Ditto.
7546 (elmo-nntp-send-data): Abolished.
7547 (elmo-nntp-send-buffer): New function.
7548 (elmo-nntp-send-data-line): Define as inline function.
7549 (elmo-nntp-get-folders-info-prepare): Use session as key.
7550 (elmo-nntp-groups-read-response): Changed argument.
7551 (elmo-nntp-retrieve-headers): Ditto.
7552 (elmo-nntp-msgdb-create-message): Ditto.
7554 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7555 when searching by 'since' or 'before'.
7557 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7559 * elmo-version.el (toplevel): Use product-version-as-string for set
7560 verstion-string, if defined.
7562 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7564 * elmo-util.el: Doc fixes.
7566 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7568 * elmo-archive.el (toplevel): Use product-provide.
7569 * elmo-cache.el (toplevel): Ditto.
7570 * elmo-database.el (toplevel): Ditto.
7571 * elmo-date.el (toplevel): Ditto.
7572 * elmo-dop.el (toplevel): Ditto.
7573 * elmo-filter.el (toplevel): Ditto.
7574 * elmo-imap4.el (toplevel): Ditto.
7575 * elmo-internal.el (toplevel): Ditto.
7576 * elmo-localdir.el (toplevel): Ditto.
7577 * elmo-localnews.el (toplevel): Ditto.
7578 * elmo-maildir.el (toplevel): Ditto.
7579 * elmo-msgdb.el (toplevel): Ditto.
7580 * elmo-multi.el (toplevel): Ditto.
7581 * elmo-net.el (toplevel): Ditto.
7582 * elmo-nntp.el (toplevel): Ditto.
7583 * elmo-pipe.el (toplevel): Ditto.
7584 * elmo-pop3.el (toplevel): Ditto.
7585 * elmo-util.el (toplevel): Ditto.
7586 * elmo-vars.el (toplevel): Ditto.
7587 * elmo2.el (toplevel): Ditto.
7588 * mmelmo-1.el (toplevel): Ditto.
7589 * mmelmo-2.el (toplevel): Ditto.
7590 * mmelmo-imap4-1.el (toplevel): Ditto.
7591 * mmelmo-imap4-2.el (toplevel): Ditto.
7592 * mmelmo-imap4.el (toplevel): Ditto.
7593 * mmelmo.el (toplevel): Ditto.
7595 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7597 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7598 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7600 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7602 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7604 (elmo-multi-split-number-alist): Ditto.
7606 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7608 * elmo-version.el: New file. Use product.el.
7609 * elmo2.el: Add (require 'elmo-version).
7610 * elmo-vars.el (elmo-appname, elmo-version): Move to
7613 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7615 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7616 `elmo-msgdb-expand-path'.
7617 (elmo-msgdb-load): Ditto.
7618 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7619 (elmo-generic-list-folder-unread): Rewrite.
7620 (elmo-generic-list-folder-important): Changed argument.
7621 (elmo-list-folder-unread): Ditto.
7622 (elmo-list-folder-important): Ditto.
7623 (elmo-folder-diff): Rewrite.
7624 (elmo-generic-folder-diff): New function.
7625 (elmo-multi-get-number-alist-list): Abolished
7626 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7627 (elmo-multi-folder-diff): Moved to elmo-multi.el
7628 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7630 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7631 `elmo-msgdb-expand-path'.
7632 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7633 (elmo-pop3-read-msg): Ditto.
7634 (elmo-pop3-delete-msgs): Ditto.
7635 (elmo-pop3-folder-diff): New alias.
7637 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7638 `elmo-msgdb-expand-path'.
7639 (elmo-pipe-list-folder-unread): Changed arguments.
7640 (elmo-pipe-list-folder-important): Ditto.
7641 (elmo-pipe-folder-diff): New alias.
7643 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7644 `elmo-msgdb-expand-path'.
7645 (elmo-nntp-max-of-folder): Ditto.
7646 (elmo-nntp-msgdb-create): Ditto.
7647 (elmo-nntp-delete-msgs): Ditto.
7648 (elmo-nntp-folder-diff): New alias.
7650 * elmo-multi.el (elmo-multi-folder-diff): New function.
7651 (elmo-multi-split-mark-alist): Ditto.
7652 (elmo-multi-split-number-alist): Ditto.
7653 (elmo-multi-mark-alist-list): Abolished (Renamed to
7654 elmo-multi-split-mark-alist).
7655 (elmo-multi-list-folder-unread): Rewrite.
7656 (elmo-multi-list-folder-important): Ditto.
7657 (elmo-multi-list-folder): Set `spec' as 1st argument for
7658 `elmo-msgdb-expand-path'.
7659 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7660 instead of `elmo-multi-get-number-alist-list'.
7662 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7663 If 1st argument is not string, treat as spec.
7664 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7665 `elmo-msgdb-expand-path'.
7666 (elmo-msgdb-flist-load): Ditto.
7667 (elmo-msgdb-flist-save): Ditto.
7668 (elmo-msgdb-delete-path): Ditto.
7669 (elmo-msgdb-rename-path): Ditto.
7671 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7672 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7673 (elmo-maildir-delete-mark-msgs): Ditto.
7674 (elmo-maildir-msgdb-create): Ditto.
7675 (elmo-maildir-read-msg): Ditto.
7676 (elmo-maildir-delete-msgs): Ditto.
7677 (elmo-maildir-list-folder-subr): Ditto.
7678 (elmo-maildir-search): Ditto.
7679 (elmo-maildir-get-msg-filename): Ditto.
7680 (elmo-maildir-pack-number): Ditto.
7681 (elmo-maildir-folder-diff): New alias.
7683 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7685 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7686 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7687 (elmo-localdir-folder-diff): New alias.
7689 * elmo-internal.el (elmo-internal-list-folder-subr):
7690 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7691 (elmo-internal-list-folder-by-location): Ditto.
7692 (elmo-internal-msgdb-create): Ditto.
7693 (elmo-internal-delete-msgs): Ditto.
7694 (elmo-internal-read-msg): Ditto.
7695 (elmo-internal-folder-diff): New alias.
7697 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7698 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7699 `elmo-msgdb-expand-path'.
7700 (elmo-imap4-list-folder-unread): Changed arguments.
7701 (elmo-imap4-list-folder-important): Ditto.
7703 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7704 (elmo-filter-list-folder-important): Ditto.
7705 (elmo-filter-folder-diff): New function.
7707 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7709 * elmo-cache.el (elmo-cache-list-folder):
7710 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7711 (elmo-cache-copy-msgs): Ditto.
7712 (elmo-cache-folder-diff): New alias.
7714 * elmo-archive.el (elmo-archive-list-folder-subr):
7715 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7716 (elmo-archive-get-archive-name): Ditto.
7717 (elmo-archive-create-file): Ditto.
7718 (elmo-archive-append-msg): Ditto.
7719 (elmo-archive-copy-msgs): Ditto.
7720 (elmo-archive-copy-msgs-froms): Ditto.
7721 (elmo-archive-get-msg-filename): Ditto.
7722 (elmo-archive-folder-diff): New alias.
7724 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7726 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7727 (elmo-pop3-stream-type-alist): New variable.
7728 (elmo-nntp-stream-type-alist): New variable.
7730 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7731 (elmo-kill-buffer): Ditto.
7732 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7733 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7734 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7735 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7736 (elmo-imap4-get-spec): Take into account
7737 `elmo-imap4-stream-type-alist'.
7739 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7741 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7742 (elmo-nntp-list-folders-get-cache): Ditto.
7744 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7746 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7747 character before 'uid'.
7749 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7751 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7753 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7755 * elmo-util.el (elmo-number-set-member): New function.
7756 (elmo-number-set-append-list): Ditto.
7757 (elmo-number-set-append): Ditto.
7759 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7760 Use `elmo-number-set-member'.
7761 (elmo-living-messages): Ditto.
7762 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7763 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7765 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7766 (elmo-imap4-add-to-cont-list): Abolished.
7767 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7768 instead of elmo-imap4-add-to-cont-list.
7770 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7771 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7773 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7775 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7777 * elmo-util.el (elmo-condition-parse-search-value):
7780 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7782 * elmo-util.el (elmo-condition-find-key-internal): New function.
7783 (elmo-condition-find-key): Ditto.
7785 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7786 (elmo-msgdb-search-internal): Ditto.
7787 (elmo-msgdb-search): Ditto.
7789 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7791 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7792 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7794 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7795 (elmo-nntp-search-primitive): Fixed problem when condition is
7798 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7800 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7801 (elmo-nntp-xhdr-p): New macro.
7802 (elmo-nntp-set-xhdr): Ditto.
7803 (elmo-nntp-parse-xhdr-response): New function.
7804 (elmo-nntp-retrieve-field): Ditto.
7805 (elmo-nntp-search-primitive): Ditto.
7806 (elmo-nntp-search): Implemented.
7808 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7810 * elmo-archive.el (elmo-archive-search): Set all number list to
7811 `elmo-archive-field-condition-match'
7813 * elmo-localdir.el (elmo-localdir-search): Likewise.
7815 * elmo-maildir.el (elmo-maildir-search): Likewise.
7817 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7819 * elmo-msgdb.el (elmo-living-messages): New function.
7820 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7821 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7822 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7823 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7824 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7825 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7826 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7827 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7828 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7829 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7830 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7832 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7834 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7836 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7838 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7840 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7841 arguments for `SEARCH' command.
7842 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7843 All other related portions are changed.
7845 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7847 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7848 (elmo-list-folder-unread): Rewrite.
7849 (elmo-list-folder-important): Ditto.
7851 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7852 (elmo-condition-parse-error): New inline function.
7853 (elmo-read-search-condition): New function.
7854 (elmo-read-search-condition-internal): Ditto.
7855 (elmo-parse-search-condition): Rewrite.
7856 (elmo-condition-parse): New function.
7857 (elmo-condition-parse-or-expr): Ditto.
7858 (elmo-condition-parse-and-expr): Ditto.
7859 (elmo-condition-parse-primitive): Ditto.
7860 (elmo-condition-parse-search-value): Ditto.
7861 (elmo-buffer-field-primitive-condition-match): Ditto.
7862 (elmo-buffer-field-condition-match): Rewrite.
7863 (elmo-file-field-condition-match): Ditto.
7865 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7866 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7868 * elmo-internal.el (elmo-internal-search): Set `number' and
7869 `number-list' argument of `elmo-file-field-condition-match'.
7871 * elmo-maildir.el (elmo-maildir-search): Ditto.
7873 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7874 `msgdb' as argument instead of `mark-alist'.
7875 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7878 * elmo-multi.el: Likewise.
7880 * elmo-pipe.el: Likewise.
7882 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7883 (elmo-imap4-search-internal): Rewrite.
7884 (elmo-imap4-search): Ditto.
7886 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7887 (elmo-filter-list-folder-unread): Ditto.
7888 (elmo-filter-list-folder-important): Ditto.
7889 (elmo-filter-search): Rewrite.
7891 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7892 `number-list' argument of `elmo-file-field-condition-match'.
7893 (elmo-cache-search): Ditto.
7895 * elmo-localdir.el: Likewise.
7897 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7898 number-list and pass it to `elmo-buffer-field-condition-match'.
7899 (elmo-archive-field-condition-match): Pass `number-list' to
7900 `elmo-archive-field-condition-match'
7902 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7904 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7907 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7908 (elmo-folder-diff-async-callback-data): Ditto.
7909 (elmo-folder-diff-async): New function.
7911 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7912 (elmo-network-session-cache-key): Use it as a prefix of the session
7914 (elmo-network-open-session): Ditto.
7916 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7917 (elmo-imap4-status-callback-data): Ditto.
7918 (elmo-imap4-server-diff-async-callback): New variable.
7919 (elmo-imap4-server-diff-async-callback-data): Ditto.
7920 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7921 `elmo-imap4-status-callback-data'.
7922 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7923 `elmo-imap4-status-callback-data' as nil.
7924 (elmo-imap4-server-diff): Ditto.
7925 (elmo-imap4-server-diff-async-callback-1): New function.
7926 (elmo-imap4-server-diff-async): Ditto.
7927 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7929 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7931 * elmo-util.el (elmo-list-delete): Doc fix.
7932 (elmo-delete-lists): Abolish.
7933 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7934 instead of `elmo-delete-lists'.
7936 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7938 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7941 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7943 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7944 `elmo-imap4-literal-subr'.
7945 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7946 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7948 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7950 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7951 (elmo-archive-list-folder): Fix.
7952 (elmo-archive-max-of-folder): Fix.
7954 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7956 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7957 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7958 (elmo-localdir-append-msg): Ditto.
7959 (elmo-localdir-list-folder): Fix for `nonsort'.
7960 (elmo-localdir-list-folder-subr): Fix for `killed'.
7961 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7962 (elmo-maildir-list-folder-subr): Ditto.
7963 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7964 (elmo-archive-list-folder-subr): Ditto.
7965 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7966 (elmo-internal-list-folder-subr): Ditto.
7968 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
7970 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
7972 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
7974 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
7976 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
7978 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
7979 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7981 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
7983 (elmo-imap4-read-part): Use "body.peek" to fetch part.
7984 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7986 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
7988 * mmelmo-imap4-2.el (mime-entity-children): Defined.
7990 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
7991 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
7992 before STORE command.
7994 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
7996 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
7998 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
7999 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8001 (elmo-imap4-list-folders): Removed unused local variable.
8002 (elmo-network-initialize-session): Ditto.
8003 (elmo-imap4-delete-msg-by-id): Ditto.
8004 (elmo-imap4-parse-fetch): Ditto.
8005 (elmo-imap4-copy-msgs): Ditto.
8006 Use `dst-spec' instead of `dst-folder'.
8007 (elmo-network-authenticate-session): Check authenticate type `plain'.
8009 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8011 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8013 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8014 `elmo-imap4-response-value'.
8015 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8017 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8019 * elmo-imap4.el (elmo-imap4-send-command):
8020 Cause elmo-imap4-bye-error when current response is BYE.
8021 (elmo-imap4-arrival-filter): Changed greeting response value.
8023 * elmo2.el (elmo-imap4-bye-error): Define.
8025 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8026 (elmo-imap4-server-diff): Ditto.
8027 (elmo-imap4-response-bye-p): New macro.
8028 (elmo-imap4-response-error-text): Get text from BYE response.
8029 (elmo-imap4-read-response): Return if BYE response.
8030 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8031 (elmo-imap4-folder-exists-p): Ditto.
8032 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8033 (elmo-imap4-parse-bye): New function.
8034 (elmo-imap4-parse-response): Remove needless let.
8035 Call `elmo-imap4-parse-bye'.
8037 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8039 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8040 the mailbox does not exist.
8041 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8043 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8045 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8047 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8049 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8051 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8052 (elmo-network-initialize-session-buffer): Defined.
8054 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8056 (mmelmo-imap4-get-mime-entity): Rewrite.
8058 * elmo2.el (elmo-error): Capitalize error message.
8060 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8061 (elmo-network-session-buffer): New macro.
8062 (elmo-network-open-session): Use it.
8064 * elmo-imap4.el: Rewrite.
8066 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8068 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8070 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8072 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8073 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8074 (elmo-imap4-create-msgdb-from-overview-string): Use
8075 `elmo-msgdb-create-overview-from-buffer'.
8077 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8079 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8080 (elmo-imap4-default-hierarchy-delimiter): New variable.
8081 (elmo-imap4-list-folders): Use it.
8083 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8085 * elmo-net.el (elmo-network-open-session): Add user and
8086 stream-type for process-buffer name.
8088 * elmo-pop3.el (elmo-network-initialize-session): Call
8089 buffer-disable-undo.
8091 * elmo-imap4.el (elmo-network-initialize-session):
8092 Set current-buffer as an argument for `buffer-disable-undo'.
8094 * elmo-pop3.el (elmo-network-close-session): Don't use
8097 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8098 Set default as 'user.
8100 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8102 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8103 and `elmo-imap4-flush-connection'.
8105 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8106 (elmo-pop3-get-spec): Assume auth as symbol.
8107 (elmo-open-network-stream): Moved to `elmo-net'.
8109 * elmo-pop3.el (toplevel): Require 'elmo-net.
8110 Define `sasl-cram-md5' to silence byte compilier.
8111 (elmo-pop3-connection-cache) Abolished.
8112 (elmo-pop3-authenticator-alist) New variable.
8113 (elmo-pop3-session): Define.
8114 (elmo-pop3-connection-get-process): Abolished.
8115 (elmo-pop3-connection-get-buffer): Ditto.
8116 (elmo-pop3-close-connection): Ditto.
8117 (elmo-pop3-flush-connection): Ditto.
8118 (elmo-pop3-get-connection): Ditto.
8119 (elmo-pop3-get-session): New function.
8120 (Replacement for `elmo-pop3-get-connection').
8121 All other related modules are changed.
8122 (elmo-network-close-session): Define.
8123 (elmo-pop3-send-command): Abolished argument `buffer'.
8124 All other related modules are changed.
8125 (elmo-pop3-read-response): Likewise.
8126 (elmo-pop3-open-connection): Abolished.
8127 (elmo-pop3-auth-user): New function.
8128 (elmo-pop3-auth-apop): Ditto.
8129 (elmo-pop3-auth-cram-md5): Ditto.
8130 (elmo-pop3-auth-scram-md5): Ditto.
8131 (elmo-pop3-auth-digest-md5): Ditto.
8132 (elmo-network-initialize-session): Define.
8133 (elmo-network-authenticate-session): Ditto.
8134 (elmo-network-setup-session): Ditto.
8136 * elmo-imap4.el (toplevel): Require 'elmo-net.
8137 (elmo-imap4-session): Define.
8138 (elmo-imap4-connection-cache): Abolished.
8139 (elmo-imap4-password-key): Ditto.
8140 (elmo-imap4-flush-connection): Ditto.
8141 (elmo-imap4-get-connection): Ditto.
8142 All other related modules are changed.
8143 (elmo-imap4-get-session): New function
8144 (Replacement for `elmo-imap4-get-connection').
8145 (elmo-imap4-read-response): Abolished argument `buffer'.
8146 All other related modules are changed.
8147 (elmo-imap4-send-command): Likewise.
8148 (elmo-imap4-select-folder): Abolished.
8149 All other related modules are changed.
8150 (elmo-imap4-select-mailbox): New function.
8151 (Replacement for `elmo-imap4-select-folder').
8152 (elmo-imap4-auth-login): Simplify.
8153 (Assume current buffer as process buffer)
8154 (elmo-imap4-auth-cram-md5): Ditto.
8155 (elmo-imap4-auth-digest-md5): Ditto.
8156 (elmo-imap4-login): Ditto.
8157 (elmo-imap4-open-connection): Abolished.
8158 (elmo-imap4-open-connection-1): Abolished.
8159 (elmo-network-initialize-sessoin): Define.
8160 (elmo-network-authenticate-session): Ditto.
8161 (elmo-network-setup-session): Ditto.
8163 * elmo-net.el: New module.
8165 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8167 * elmo-util.el (elmo-define-error): New function.
8169 * elmo2.el (elmo-error): Define.
8170 (elmo-open-error): Define.
8171 (elmo-authenticate-error): Define.
8173 * elmo-imap4.el (elmo-imap4-error): Abolish.
8174 (elmo-imap4-error-type): Abolish.
8175 (elmo-imap4-error-process): Abolish.
8176 (elmo-imap4-error-message): Abolish
8177 (elmo-imap4-list-folders): Don't quote lambda.
8178 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8179 (elmo-imap4-parse-namespace): Ditto.
8180 (elmo-imap4-open-connection): Rewrite.
8181 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8182 (elmo-imap4-get-connection): Abolish local variable `result'.
8184 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8186 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8187 wrong-type-argument error when auth is nil.
8189 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8191 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8192 (elmo-default-nntp-stream-type): Ditto.
8193 (elmo-default-pop3-stream-type): Ditto.
8194 (elmo-network-stream-type-alist): Ditto.
8195 (elmo-default-imap4-ssl): Abolished.
8196 (elmo-default-nntp-ssl): Ditto.
8197 (elmo-default-pop3-ssl): Ditto.
8199 * elmo-util.el: (toplevel): Removed needless requires.
8200 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8201 (elmo-open-network-stream): Open network stream according to
8202 the value of `elmo-network-stream-type-alist'.
8203 (elmo-get-network-stream-type): New function.
8204 (elmo-network-stream-type-spec-string): New macro.
8205 (elmo-network-stream-type-symbol): Ditto.
8206 (elmo-network-stream-type-function): Ditto.
8208 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8209 network-stream-type. All other related portions are changed.
8210 (elmo-pop3-open-connection): Ditto.
8212 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8213 network-stream-type. All other related portions are changed.
8215 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8216 network-stream-type.All other related portions are changed.
8217 (elmo-imap4-error): New macro.
8218 (elmo-imap4-error-type): Ditto.
8219 (elmo-imap4-error-process): Ditto.
8220 (elmo-imap4-error-message): Ditto.
8221 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8222 (elmo-imap4-auth-cram-md5): Ditto.
8223 (elmo-imap4-auth-digest-md5): Ditto.
8224 (elmo-imap4-login): Ditto.
8225 (elmo-imap4-open-connection): Remove password entry if authentication
8227 (elmo-imap4-user-at-host): Abolished.
8228 (elmo-imap4-password-key): New buffer local variable.
8229 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8230 using protocol, port, auth and stream-type.
8232 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8234 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8236 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8238 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8240 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8241 (elmo-imap4-authenticator-alist): New variable.
8242 (elmo-imap4-open-connection-1): Rename from
8243 elmo-imap4-open-connection.
8244 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8245 only wraps elmo-imap4-open-connection-1.
8246 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8248 (elmo-imap4-auth-login): New function.
8249 (elmo-imap4-auth-cram-md5): New function.
8250 (elmo-imap4-auth-digest-md5): New function.
8251 (elmo-imap4-login): New function.
8253 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8255 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8258 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8260 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8262 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8264 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8266 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8268 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8269 for server responses, quote `*' regardless of where it appears.
8271 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8273 * elmo-maildir.el (elmo-maildir-commit): New alias.
8275 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8277 * elmo-util.el (elmo-display-progress):
8278 Use `progress-feedback-with-label'.
8280 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8282 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8283 (elmo-imap4-non-atom-char-regex): Ditto.
8284 (elmo-imap4-non-text-char-regex): Ditto.
8285 (elmo-imap4-literal-threshold): Ditto.
8286 (elmo-imap4-atom-p): New function.
8287 (elmo-imap4-quotable-p): Ditto.
8288 (elmo-imap4-nil): Ditto.
8289 (elmo-imap4-atom): Ditto.
8290 (elmo-imap4-quoted): Ditto.
8291 (elmo-imap4-literal-subr): Ditto.
8292 (elmo-imap4-literal): Ditto.
8293 (elmo-imap4-buffer-literal): Ditto.
8294 (elmo-imap4-string-subr): Ditto.
8295 (elmo-imap4-string): Ditto.
8296 (elmo-imap4-buffer-string): Ditto.
8297 (elmo-imap4-astring-subr): Ditto.
8298 (elmo-imap4-astring): Ditto.
8299 (elmo-imap4-buffer-astring): Ditto.
8300 (elmo-imap4-nstring): Ditto.
8301 (elmo-imap4-buffer-nstring): Ditto.
8302 (elmo-imap4-mailbox): New alias.
8303 (elmo-imap4-field-body): Ditto.
8304 (elmo-imap4-userid): Ditto.
8305 (elmo-imap4-password): Ditto.
8306 (elmo-imap4-format-quoted): New function.
8307 (elmo-imap4-send-command): Rewritten. Accept a list of command
8308 arguments and handle "atom", "quoted" and "literal" string here.
8309 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8310 `elmo-imap4-send-command'.
8311 (elmo-imap4-folder-exists-p): Likewise.
8312 (elmo-imap4-create-folder): Likewise.
8313 (elmo-imap4-delete-folder): Likewise.
8314 (elmo-imap4-rename-folder): Likewise.
8315 (elmo-imap4-max-of-folder): Likewise.
8316 (elmo-imap4-check-validity): Likewise.
8317 (elmo-imap4-sync-validity): Likewise.
8318 (elmo-imap4-server-diff): Likewise.
8319 (elmo-imap4-select-folder): Likewise.
8320 (elmo-imap4-copy-msgs): Likewise.
8321 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8322 (elmo-imap4-mark-set-on-msgs): Likewise.
8323 (elmo-imap4-read-part): Likewise.
8324 (elmo-imap4-read-msg): Likewise.
8325 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8326 `elmo-imap4-password' for `elmo-imap4-send-command'.
8327 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8328 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8329 `elmo-imap4-buffer-literal'.
8330 (elmo-imap4-append-msg): Likewise.
8332 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8333 `delete' for removing dead connection from the connection cache.
8334 Move deletion of the process buffer after that.
8335 (elmo-imap4-list): Change `defsubst' to `defun'.
8336 (elmo-imap4-commit): Make error message verbose.
8337 (elmo-imap4-search): Ditto.
8338 (elmo-imap4-list): Ditto.
8339 (elmo-imap4-select-folder): Ditto.
8340 (elmo-imap4-copy-msgs): Ditto.
8341 (elmo-imap4-delete-msg-by-id): Ditto.
8342 (elmo-imap4-append-msg-by-id): Ditto.
8343 (elmo-imap4-append-msg): Ditto.
8345 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8347 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8348 when dired is used on XEmacs.
8350 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8352 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8353 instead of `append'.
8354 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8355 `elmo-plugged-p' directly.
8356 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8357 of `elmo-plugged-p' directly.
8359 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8360 Eliminate unused variable. Use `memq' for checking a process status.
8361 Use `cons' instead of `append' for updating the connection cache.
8362 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8363 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8365 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8367 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8368 `elmo-imap4-read-point' exactly.
8370 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8371 the local variable `folder' to `mailbox'.
8372 Rename the argument `fld' to `folder'.
8374 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8376 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8377 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8379 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8381 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8382 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8383 (elmo-pop3-uidl-number-hash): Ditto.
8384 (elmo-pop3-size-hash): Ditto.
8385 (elmo-pop3-uidl-done): Ditto.
8386 (elmo-pop3-list-done): Ditto.
8387 (elmo-pop3-connection-get-process): New defmacro.
8388 (elmo-pop3-connection-get-buffer): Ditto.
8389 (elmo-pop3-close-connection): Delete buffer and process.
8390 (elmo-pop3-flush-connection): Don't delete buffer and process.
8391 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8392 Setup UIDL and size hash.
8393 (elmo-pop3-send-command-no-erase): Deleted
8394 (elmo-pop3-send-command): Added optional argument `no-erase'.
8395 (elmo-pop3-parse-uidl-response): New function.
8396 (elmo-pop3-parse-list-response): Set size hash.
8397 (elmo-pop3-list-location): New function.
8398 (elmo-pop3-list-by-uidl-subr): Ditto.
8399 (elmo-pop3-list-by-list): Ditto.
8400 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8401 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8402 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8403 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8404 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8406 (elmo-pop3-uidl-to-number): New function.
8407 (elmo-pop3-number-to-uidl): Ditto.
8408 (elmo-pop3-number-to-size): Ditto.
8409 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8410 Set number by use of uidl.
8411 (elmo-pop3-msgdb-create-message): Likewise.
8412 Set size, loc-alist in msgdb.
8413 (elmo-pop3-read-msg): Set number by use of uidl.
8414 Added optional argument `msgdb'.
8415 (elmo-pop3-delete-msg): Ditto.
8416 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8417 (elmo-pop3-commit): Close connection.
8419 * elmo-pipe.el (elmo-pipe-max-of-folder):
8420 Bind `elmo-pop3-use-uidl' as nil.
8421 (elmo-pipe-drain): Ditto.
8424 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8425 (elmo-msgdb-overview-entity-set-size): New defsubst.
8427 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8429 * elmo-vars.el (elmo-use-killed-list): New variable
8430 (Renamed from `elmo-nntp-use-killed-list').
8431 (elmo-nntp-use-killed-list): Eliminated.
8433 * elmo-msgdb.el (elmo-msgdb-expand-path):
8434 Changed expanding msgdb path for elmo-multi.
8436 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8437 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8438 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8439 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8440 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8441 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8442 (toplevel): Deleted time-stamp line.
8444 * elmo2.el (elmo-clear-killed ): Defined as function
8445 (Abolished defining as a backend function).
8446 All other related modules are changed.
8448 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8450 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8452 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8454 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8456 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8458 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8460 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8462 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8463 asynchronous folder check.
8465 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8467 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8468 `elmo-nntp-use-killed-list'.
8469 (elmo-nntp-list-folder): Use killed list.
8470 (elmo-nntp-max-of-folder): Ditto.
8471 (elmo-nntp-msgdb-create): Set killed list.
8473 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8475 * elmo2.el (elmo-clear-killed): New backend function.
8476 All other related modules are changed.
8478 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8480 * elmo-util.el (elmo-imap4-spec-folder): Use
8481 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8482 All callers changed.
8484 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8486 * mmelmo-2.el (initialize-instance):
8487 Use `mime-buffer-entity-buffer-internal' instead of
8488 `mime-entity-buffer'.
8490 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8491 (mime-entity-body): Implemented.
8492 (mime-goto-header-start-point): Deleted.
8493 (mime-goto-body-end-point): Ditto.
8494 (mime-entity-point-min): Ditto.
8495 (mime-entity-point-max): Ditto.
8496 (mime-entity-children): Ditto.
8497 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8498 instead of `mime-entity-buffer'.
8499 (mime-entity-header-buffer): Ditto.
8500 (mime-entity-body-buffer): Ditto.
8501 (mime-write-entity-content): Ditto.
8503 * pldap.el (ldap-static-if): New macro.
8504 (toplevel): Use it instead of `static-if'.
8506 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8508 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8509 included in `attrs' argument.
8511 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8513 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8515 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8516 (ldap-ldif-safe-init-char-regexp): Ditto.
8517 (ldap-ldif-safe-string-regexp): Ditto.
8518 (ldap/ldif-safe-string-p): New macro.
8519 (ldap/ldif-insert-field): Ditto.
8520 (ldap-modify): Use it.
8522 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8523 (ldap-decode-attribute): Decode only when `attr' is consp.
8524 (ldap-delete): Bind `ret'.
8525 (toplevel): Require 'cl at compile time.
8526 Removed (require 'poe) and (require 'std11).
8527 (pldap-version): Eliminated.
8528 (ldap-search-basic): Removed auth and dn binding.
8529 (ldap-ldif-field-name-regexp): New constant.
8530 (ldap-ldif-field-head-regexp): Ditto.
8531 (ldap-ldif-next-field-head-regexp): Ditto.
8532 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8533 (ldap/field-end): New function.
8534 (ldap/field-body): Use it.
8535 (ldap/collect-field): Ditto.
8536 (ldap-search-basic): Use `ldap/field-body'.
8538 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8540 * pldap.el (ldap-default-attribute-encoder): New user option.
8541 (ldap/field-body): Decode base64 string.
8542 (ldap/collect-field): Ditto.
8543 (ldap-encode-attribute): New function.
8544 (ldap-add-entries): Use it.
8545 (ldap-modify-entries): Ditto.
8546 (ldap-search-entries): Enclosed decoding function with
8547 `with-temp-buffer' and set as unibyte.
8548 (ldap-search-basic): Set process buffer as unibyte.
8550 * elmo-util.el (elmo-folder-identical-system-p):
8551 Eliminated name space checking.
8553 * pldap.el: New module.
8554 toplevel: Changed condition to detect built-in ldap feature.
8555 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8556 (ldap-add): Added error handling.
8557 (ldap-modify): Ditto.
8558 (ldap-delete): Ditto.
8560 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8562 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8563 Initialize local variables with `let'. Inline a temporary
8564 variable for the progress percentage. Sort `setq' to reduce
8565 function call in the while-loop.
8567 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8568 into the conditional branch.
8570 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8572 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8573 Move a conditional out of the while-loop.
8575 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8577 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8578 elmo-msgdb-overview-get-entity-by-number.
8579 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8582 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8584 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8585 the local variable for a packed number self descriptively.
8587 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8589 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8590 * elmo-localdir.el (elmo-localdir-pack-number): Use
8591 `elmo-msgdb-overview-get-entity' instead of
8592 `elmo-msgdb-overview-get-entity-by-number'.
8593 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8594 (elmo-msgdb-search-overview-entity): Removed.
8595 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8596 by message-id or number.
8597 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8598 instead of `elmo-msgdb-overview-get-entity-by-number'.
8600 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8602 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8603 non-nil, use hash table for overview.
8604 (elmo-hash-maximum-size): New variable.
8605 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8606 (elmo-msgdb-make-overview-hashtb): New function.
8607 (elmo-msgdb-clear-overview-hashtb): New function.
8608 (elmo-clear-hash-val): New macro.
8609 All other related modules are changed.
8611 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8613 * elmo2.el (elmo-move-msgs): If there's other message with
8614 same message-id, don't use cache.
8616 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8618 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8619 number is already packed.
8621 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8623 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8625 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8627 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8628 All other related modules are changed.
8630 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8632 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8633 of refiling failure on Maildir.
8635 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8637 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8638 decoded mime-charset with cache.
8639 (elmo-msgdb-overview-entity-get-from): Ditto.
8640 (elmo-msgdb-overview-entity-get-subject): Ditto.
8641 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8643 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8645 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8646 (elmo-remove-passwd): Fill password with 0 before erase.
8647 * elmo-vars.el (elmo-passwd-life-time): New variable.
8650 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8652 * elmo-cache.el (elmo-buffer-cache-add):
8653 Set message cache buffer as unibyte.
8655 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8657 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8660 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8662 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8663 when display is finished.
8664 (elmo-nntp-msgdb-create): Ditto.
8665 (elmo-nntp-groups-read-response): Ditto.
8666 (elmo-nntp-retrieve-headers): Ditto.
8667 (elmo-nntp-msgdb-create-message): Ditto.
8668 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8669 (elmo-pop3-msgdb-create-message): Ditto.
8671 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8673 * elmo-maildir.el (elmo-maildir-msgdb-create):
8674 Use `elmo-msgdb-sort-by-date'.
8676 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8678 * elmo2.el (elmo-read-msg-no-cache):
8679 Eliminated arguments after `outbuf'.
8680 Don't use cache even if it exists.
8681 (elmo-read-msg): Don't pass arguments after `outbuf' to
8682 `elmo-read-msg-no-cache'.
8684 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8686 * elmo-archive.el (elmo-archive-list-folders):
8687 Use `file-name-directory' if base folder does not exist.
8689 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8691 * elmo-archive.el (elmo-archive-list-folders): Don't use
8692 `file-name-directory'.
8694 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8696 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8697 If `force' is non-nil, try flushing all operation queues.
8699 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8701 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8704 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8706 * elmo-util.el (elmo-display-progress): Fixed.
8708 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8710 * elmo-util.el (elmo-display-progress): New function.
8711 All other related modules are changed.