1 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-search.el (elmo-folder-delete-messages): Define.
5 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
9 (elmo-mailing-list-count-spec-list): Ditto.
11 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
14 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
16 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
19 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
21 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
22 (elmo-mailing-list-count-spec-list): Ditto.
24 * elmo-util.el (elmo-map-until-success): New function.
25 (elmo-string-match-substring): Ditto.
26 (elmo-find-list-match-value): Ditto.
28 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
30 (modb-entity-extract-ml-info-from-subject): Ditto.
31 (modb-entity-extract-ml-info-from-return-path): Ditto.
32 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
33 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
34 (modb-entity-extract-ml-info-from-mailman): Ditto.
35 (modb-entity-extract-mailing-list-info-functions): Ditto.
36 (modb-entity-extract-mailing-list-info): Rewrite with
37 `elmo-find-list-match-value'.
39 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
41 * elmo-net.el (elmo-network-session-retry-count): New user option.
42 (elmo-network-session-buffer-name): New internal function.
43 (elmo-network-session-buffer-create): Ditto.
44 (elmo-network-open-session): Retry open network session
45 `elmo-network-session-retry-count' times.
47 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
49 * elmo-util.el (elmo-list-filter): Rewritten.
51 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
53 * elmo-util.el (elmo-string-member): Allow symbol element in list.
55 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
57 * elmo-search.el (elmo-make-search-engine): Use prefix
58 `elmo-search-' for require symbol instead of `else-'.
59 (elmo-search-engine-extprog): New class.
60 (elmo-search-engine-do-search): Remove nil from argument
61 list. Added argument pattern to evaluate element as function.
62 (elmo-search-engine-local-file): Derived from
63 `elmo-search-engine-extprog'.
64 (elmo-search-engine-create-message-entity): Check existance of file.
65 (elmo-search-engine-fetch-message): Ditto.
66 (elmo-search-namazu-index): Follow the API change.
67 (elmo-search-grep-target): Ditto.
69 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
71 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
72 characters of working buffer.
74 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
75 Does not bind `default-mime-charset'.
76 (elmo-msgdb-create-message-entity-from-buffer): Removed
77 unnecessary local bind.
79 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
81 (modb-entity-extract-mailing-list-info-functions): Added it.
83 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
85 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
86 when number and message-id are non-nil.
88 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
90 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
91 conditional steatment.
92 (elmo-pop3-auth-apop): Likewise.
93 (elmo-network-authenticate-session): Likewise.
95 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
97 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
99 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
102 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
103 (elmo-decoded-field-body): Ditto.
105 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
107 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
108 `tokens' to `params'.
110 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
112 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
115 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
117 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
120 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
122 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
123 Set default value as nil.
124 (toplevel): Register search engines by
125 `elmo-search-register-engine' if there are not defined.
127 * elmo.el (autoload): Added autoload setting for
128 `elmo-search-register-engine'.
130 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
132 * elmo.el (toplevel): `[' is redefined as the prefix of the search
133 folder instead of nmz folder.
134 (elmo-nmz-default-index-path): Added obsolete variable setting.
135 (elmo-nmz-index-alias-alist): Ditto.
136 (elmo-nmz-use-drive-letter): Ditto.
138 * elmo-search.el (elmo-search-register-engine): New function.
140 * elmo-nmz.el: Removed.
142 * elmo-version.el (elmo-version): Up to 2.15.2.
144 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
146 * elmo-search.el: New file.
148 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
150 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
151 condition `larger' and `smaller'.
153 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
155 * elmo-util.el (elmo-safe-filename): Rewrite to replace
156 `"' (double quote) into "_Q_".
158 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
160 * elmo-net.el (elmo-net-quote-chars): Abolish.
161 (elmo-net-format-quoted): Ditto.
163 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
165 * elmo.el (elmo-get-folder-function): New variable.
166 (elmo-get-folder): New function.
167 (elmo-folder-rename): Call `elmo-make-folder' with specified
170 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
172 (elmo-split-subr): Ditto.
174 * elmo-multi.el (elmo-folder-initialize): Ditto.
176 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
178 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
179 (elmo-flag-get-folder): Ditto.
181 * elmo-filter.el (elmo-folder-initialize): Ditto.
183 * elmo-access.el (elmo-folder-initialize): Ditto.
184 (elmo-access-folder-update-children): Ditto.
186 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
187 (elmo-dop-queue-flush): Ditto.
188 (elmo-folder-append-buffer-dop-delayed): Ditto.
189 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
192 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
193 instead of `elmo-make-folder'.
194 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
195 destination folder instead of send `elmo-folder-rename-internal'.
197 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
198 slot of subfolder instead of create it.
200 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
202 * elmo-util.el (elmo-collect-separators): New function.
203 (elmo-collect-separators-internal): Ditto.
204 (elmo-collect-trail-separators): Ditto.
205 (elmo-parse-separated-tokens): Ditto.
206 (elmo-parse-separated-tokens-internal): Ditto.
207 (elmo-quote-syntactical-element): Ditto.
209 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
210 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
212 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
213 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
214 (elmo-nntp-folder-list-subfolders): Quote a user name.
216 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
217 (elmo-net-parse-network): Abolish.
218 (elmo-net-folder-set-parameters): New function.
219 (elmo-folder-initialize): Follow the above change.
221 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
222 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
223 (elmo-folder-list-subfolders): Use
224 `elmo-quote-syntactical-element' instead of
225 `elmo-net-format-quoted' to quote mailbox and user name.
227 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
229 * elmo-util.el (elmo-token-valid-p): New function.
230 (elmo-parse-token): Add optional argument `requirement'.
231 (elmo-parse-prefixed-element): Likewise.
233 * elmo-net.el (elmo-net-quote-chars): Renamed from
234 `elmo-net-quote-chars-regexp'.
235 (elmo-net-format-quoted): Add optional argument `extra-chars'.
237 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
238 by info document. Check token `uidl' is started an alphabet.
240 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
241 by info document. Check token `user' is started an alphabet.
243 * elmo-imap4.el (elmo-folder-initialize): Ditto.
244 (elmo-folder-list-subfolders): Quote user.
246 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
248 * elmo-util.el (elmo-quoted-specials-list): New constant.
249 (elmo-quoted-token): New function.
251 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
252 (elmo-net-format-quoted): New function.
253 (elmo-net-parse-network): Ditto.
254 (elmo-folder-initialize): Use it.
256 * elmo-nntp.el (elmo-folder-initialize): Use
257 `elmo-net-parse-network' to parse network specification instead of
258 `elmo-folder-initialize#elmo-net'.
260 * elmo-pop3.el (elmo-folder-initialize): Ditto.
262 * elmo-imap4.el (elmo-folder-initialize): Ditto.
263 (elmo-folder-list-subfolders): Quote folder name by
264 `elmo-net-format-quoted'.
266 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
268 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
269 (elmo-folder-search): Use it.
271 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
273 * modb-standard.el (modb-standard-loaded-message-id): Use
274 `elmo-msgdb-message-entity-field'.
276 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
278 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
281 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
283 * elmo-util.el (elmo-set-auto-coding): New function.
284 (elmo-object-load): Use it.
286 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
288 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
289 (elmo-time<): Define as alias of `elmo-time-less-p'.
290 (elmo-time-to-datevec): New function.
292 * elmo-date.el (elmo-time-to-days): New function.
294 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
296 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
299 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
301 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
304 * elmo-util.el (elmo-map-recursive): New function.
306 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
307 (modb-entity-encode-string-recursive): Ditto.
309 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
311 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
312 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
313 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
314 compare sequence number when last modified time is nil.
316 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
318 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
320 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
322 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
324 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
325 modification time of the file.
327 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
329 * elmo-util.el (elmo-condition-optimize): Discriminated against
330 preserved fields, extra fields and the other weight.
332 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
334 * modb-entity.el (initialize-instance): Define.
335 (modb-entity-handler-mime-charset): New internal function.
336 (modb-standard-entity-set-field): Use it.
337 (elmo-msgdb-message-entity-field): Ditto.
338 (elmo-msgdb-message-entity-field): Ditto.
340 * modb.el (elmo-msgdb-match-condition): Rewrite with
341 `elmo-condition-match'.
342 (elmo-msgdb-match-condition-primitive): New function.
344 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
345 arguments `flags' and `numbers'.
346 (elmo-msgdb-match-condition-primitive): Abolished (merged to
347 `elmo-msgdb-message-match-condition').
348 (modb-buffer-entity-handler): New class.
350 * elmo.el (elmo-folder-search): Optimize condition to use
351 `elmo-condition-optimize'.
352 (elmo-message-buffer-match-condition): New function.
353 (elmo-message-match-condition): Use
354 `elmo-message-buffer-match-condition' instead of
355 `elmo-buffer-field-condition-match'.
357 * elmo-util.el (elmo-condition-match): New function.
358 (elmo-condition-optimize): Ditto.
359 (elmo-buffer-field-primitive-condition-match): Abolish.
360 (elmo-buffer-field-condition-match): Ditto.
362 * elmo-archive.el (elmo-archive-field-condition-match): Use
363 `elmo-message-buffer-match-condition' instead of
364 `elmo-buffer-field-condition-match'.
366 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
368 * elmo-flag.el (elmo-global-flags-initialize): Check the
369 existence of the flag directory.
371 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
373 * elmo-access.el (elmo-folder-initialize): Call
374 `elmo-multi-connect-signals'.
376 * elmo-pipe.el (elmo-folder-close): Define.
378 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
381 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
384 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
387 * elmo-multi.el (elmo-message-entity): Don't use return value of
388 `elmo-message-entity-set-number'.
390 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
392 * modb.el (modb-generic): Added slot `mime-charset'.
394 * modb-standard.el (modb-standard): Added slot `overview-handler'.
395 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
396 and `modb-entity-handler-dump-parameters'.
397 (modb-standard-default-entity-handler): Abolish.
398 (elmo-msgdb-message-entity-handler): Save created handler by
401 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
402 (modb-entity-handler-list-parameters): New method.
403 (modb-entity-handler-equal-p): New function.
404 (modb-entity-handler-dump-parameters): Ditto.
405 (modb-entity-parse-address-string): Encode return value.
406 (modb-entity-make-address-string): Decode argument value.
407 (modb-entity-decode-string-recursive): New function.
408 (modb-entity-encode-string-recursive): Ditto.
409 (modb-standard-entity-normalizer): Set to encode field value.
410 (modb-standard-entity-specializer): Follow the above change.
411 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
412 mime-charset of handler.
413 (elmo-msgdb-message-entity-field): Ditto.
414 (elmo-msgdb-copy-message-entity): Fixed reference to internal
416 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
418 * elmo.el (elmo-folder): Added slot `mime-charset'.
419 (elmo-make-folder): Added argument `mime-charset'.
420 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
423 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
424 (elmo-make-msgdb): Likewise.
426 * elmo-internal.el (elmo-internal-folder-initialize): Call
427 `luna-make-entity' with :mime-charset parameter.
429 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
431 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
432 encoded words in `from' and `subject' field.
434 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
436 * modb.el (elmo-msgdb-message-field): Add argument `type'.
437 (elmo-msgdb-match-condition): Get handler from entity instead of
440 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
441 (modb-standard-load-entity): Treat new file format.
442 (modb-standard-save-entity-1): Save as new file format.
443 (modb-standard-save-entity): Split messages into section here.
444 (elmo-msgdb-message-field): Follow the API change.
445 (modb-standard-default-entity-handler): New internal variable.
446 (elmo-msgdb-message-entity-handler): Define.
448 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
450 (modb-entity-field-extractor-alist): New user option.
451 (elmo-msgdb-message-entity-field): Removed argument `decode' and
452 added argument `type'.
453 (elmo-msgdb-copy-message-entity): Add optional argument
455 (modb-set-field-converter): New function.
456 (modb-convert-field-value): Ditto.
457 (modb-entity-string-decoder): Ditto.
458 (modb-entity-string-encoder): Ditto.
459 (modb-entity-parse-date-string): Ditto.
460 (modb-entity-make-date-string): Ditto.
461 (modb-entity-mime-decoder): Ditto.
462 (modb-entity-mime-encoder): Ditto.
463 (modb-entity-address-list-decoder): Ditto.
464 (modb-entity-address-list-encoder): Ditto.
465 (modb-entity-parse-address-string): Ditto.
466 (modb-entity-make-address-string): Ditto.
467 (modb-entity-create-field-indices): Ditto.
468 (modb-legacy-entity-field-slots): New constant.
469 (modb-legacy-entity-field-indices): Ditto.
470 (modb-legacy-entity-normalizer): New variable.
471 (modb-legacy-entity-specializer): Ditto.
472 (modb-legacy-entity-field-index): New macro.
473 (modb-legacy-entity-set-field): New function.
474 (modb-legacy-make-message-entity): Rewrite.
475 (elmo-msgdb-create-message-entity-from-buffer): Use
476 `elmo-msgdb-get-references-from-buffer'. Use
477 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
478 Use `modb-legacy-entity-set-field' instead of
479 `elmo-msgdb-message-entity-set-field'.
480 (elmo-msgdb-message-entity-field): Rewrite.
481 (elmo-msgdb-message-entity-set-field): Ditto.
482 (elmo-msgdb-copy-message-entity): Make new entity by
483 `make-handler' if it specified.
484 (elmo-msgdb-message-match-condition): Define a method of
485 `modb-entity-handler' and follow the API change.
486 (modb-standard-entity-handler): New class.
487 (modb-entity-extract-ml-info-from-x-sequence): New function.
488 (modb-entity-extract-ml-info-from-subject): Ditto.
489 (modb-entity-extract-ml-info-from-return-path): Ditto.
490 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
491 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
492 (modb-entity-extract-mailing-list-info): Ditto.
493 (modb-entity-extract-mailing-list-info-functions): New variable.
495 * elmo.el (elmo-message-field): Add optional argument `type'.
497 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
498 from `modb-entity.el'.
500 * elmo-util.el (elmo-object-load): Decode by coding-system from
501 `set-auto-coding-function'.
502 (elmo-object-save): Use `detect-mime-charset-region' and add
503 coding cookie if encode.
504 (elmo-msgdb-get-references-from-buffer): New function.
505 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
507 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
509 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
510 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
511 instead of `shimbun-make-header' and follow the API change.
512 (elmo-shimbun-update-overview): Follow the API change.
513 (elmo-map-folder-list-message-locations): Ditto.
515 * elmo-pipe.el (elmo-message-field): Ditto.
517 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
520 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
522 * elmo-multi.el (elmo-message-field): Ditto.
524 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
525 (elmo-msgdb-sort-by-date): Ditto.
526 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
527 `elmo-message-entity-field'.
528 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
530 (elmo-msgdb-overview-entity-get-from): Ditto.
531 (elmo-msgdb-overview-entity-get-subject): Ditto.
532 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
533 (elmo-msgdb-overview-entity-get-date): Ditto.
534 (elmo-msgdb-overview-entity-get-to): Ditto.
535 (elmo-msgdb-overview-entity-get-cc): Ditto.
537 * elmo-mime.el (elmo-message-mime-entity): Ditto.
538 (elmo-mime-collect-message/partial-pieces): Ditto.
540 * elmo-filter.el (elmo-message-field): Ditto.
542 * elmo-date.el (elmo-datevec-to-time): New function.
543 (elmo-time-parse-date-string): Ditto.
544 (elmo-time-make-date-string): Ditto.
547 * elmo-version.el (elmo-version): Up to 2.15.1.
549 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
551 * elmo-flag.el (elmo-global-flags-initialize): Don't include
552 member of elmo-local-flags.
554 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
556 * elmo-version.el (elmo-version): Up to 2.15.0.
558 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
560 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
561 `ignore-msgdb' is non-nil.
563 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
565 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
566 (elmo-condition-in-msgdb-p): Ditto.
567 (elmo-file-field-primitive-condition-match): Ditto.
568 (elmo-file-field-condition-match): Ditto.
570 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
572 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
574 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
576 (elmo-global-flags-initialize): New function.
578 * elmo.el (toplevel): Added autoload setting for
579 `elmo-global-flags-initialize'.
581 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
583 * elmo.el (message-number-changed): Define new signal.
584 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
585 message-number-changed signal.
586 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
587 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
588 Respect `elmo-pack-number-check-strict'.
590 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
592 * elmo-signal.el (elmo-connect-signal): Document.
593 (elmo-emit-signal): Ditto.
594 (elmo-emit-signal): It should pass source argument to filter and
595 handler, not slot-source.
597 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
599 * modb.el (elmo-msgdb-update-entity): New API and define generic
602 * modb-standard.el (elmo-msgdb-update-entity): Define.
604 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
605 API and define generic implement.
607 * elmo.el (update-overview): New singnal.
609 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
610 `elmo-msgdb-update-entity' and emit signal `update-overview'.
611 (elmo-message-entity-parent): Define.
613 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
616 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
618 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
620 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
622 * elmo.el (elmo-folder-synchronize): Sort the return value of
625 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
628 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
630 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
631 `default-enable-multibyte-characters'.
632 (elmo-object-load): Use `with-temp-buffer' instead of
634 (elmo-object-save): Ditto.
635 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
637 (elmo-decoded-field-body): Ditto.
639 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
641 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
642 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
644 * elmo-version.el (elmo-version): Up to 2.13.3.
646 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
648 * elmo-util.el (elmo-list-diff): Fix the last change.
649 Reverse order of result lists.
651 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
653 * modb-standard.el (elmo-msgdb-set-flag): Use
654 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
655 (elmo-msgdb-unset-flag): Ditto.
657 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
660 * elmo-util.el (elmo-list-diff): Rewrite.
661 (elmo-list-diff-nonsortable): New function.
663 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
665 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
666 `elmo-multibypte-buffer-name'. All referers are updated.
668 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
670 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
671 (elmo-mime-entity-fragment-p): New function.
672 (mime-elmo-buffer-entity): Added slot `reassembled'.
673 (elmo-message-mime-entity): Added 4th argument `reassemble'.
674 (elmo-message-mime-entity-internal): New function (renamed from
675 `elmo-message-mime-entity').
676 (elmo-mime-inherit-field-list-from-enclosed): New constant.
677 (elmo-mime-make-reassembled-mime-entity): New function.
678 (elmo-message-reassembled-mime-entity): Ditto.
679 (elmo-mime-collect-message/partial-pieces): Ditto.
681 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
683 * elmo.el (elmo-message-fetch-string): Disable multibyte.
685 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
686 (elmo-with-enable-multibyte): New macro.
688 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
690 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
692 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
694 (elmo-filter-connect-signals): Follow the above change.
696 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
698 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
700 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
701 that only the first flag is used.
703 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
705 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
708 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
710 * elmo-signal.el: New file.
712 * elmo.el (toplevel): Require elmo-signal.
713 (flag-changing, flag-changed, cache-changed): New signal.
714 (elmo-folder): Remove slog `handlers'.
715 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
716 `elmo-folder-notify-event'.
717 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
718 (elmo-folder-unset-flag): Ditto.
719 (elmo-event-handler): Abolish.
720 (elmo-event-handler-flag-changed): Ditto.
721 (elmo-event-handler-cache-changed): Ditto.
722 (elmo-folder-add-handler): Ditto.
723 (elmo-folder-remove-handler): Ditto.
724 (elmo-folder-notify-event): Ditto.
726 * elmo-pipe.el (toplevel): Require elmo-signal.
727 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
728 (elmo-pipe-connect-signals): New function.
729 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
730 (elmo-folder-set-flag): Ditto.
731 (elmo-folder-unset-flag): Ditto.
732 (elmo-message-set-cached): Ditto.
734 * elmo-multi.el (toplevel): Require elmo-signal.
735 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
736 (elmo-multi-connect-signals): New function.
737 (elmo-multi-map-numbers): Ditto.
738 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
739 (elmo-message-fetch): Ditto.
740 (elmo-folder-set-flag): Ditto.
741 (elmo-folder-unset-flag): Ditto.
743 * elmo-filter.el (toplevel): Require elmo-signal.
744 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
745 (elmo-filter-connect-signals): New function.
746 (elmo-filter-add-flag-count): Ditto.
747 (elmo-message-fetch): Does not call
748 `elmo-filter-folder-countup-message-flags' and
749 `elmo-folder-notify-event'.
750 (elmo-message-set-cached): Ditto.
751 (elmo-folder-set-flag): Ditto.
752 (elmo-folder-unset-flag): Ditto.
754 * elmo-version.el (elmo-version): Up to 2.13.2.
756 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
758 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
761 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
763 * elmo-filter.el (elmo-message-set-cached): Call
764 `elmo-folder-notify-event' with event `cache-changed'.
766 * elmo-multi.el (elmo-message-set-cached): Ditto.
768 * elmo-pipe.el (elmo-message-set-cached): Ditto.
770 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
772 * elmo.el (elmo-folder-encache): Abolish.
774 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
776 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
777 (elmo-folder-next-message-number-dop): Return appropriate negative
780 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
782 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
783 clearing pending operations.
784 (elmo-folder-next-message-number-dop): Return appropriate negative
787 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
789 * elmo.el (toplevel): Added autoload setting for `md5'.
790 (elmo-msgdb-path-encode-threshold): New user option.
791 (elmo-folder-msgdb-path): Encode msgdb path if its length is
792 longer than `elmo-msgdb-path-encode-threshold'.
794 * elmo-flag.el (elmo-global-mark-migrate): Use
795 `elmo-folder-expand-msgdb-path' instead of
796 `elmo-folder-msgdb-path'.
798 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
800 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
801 element of the difference is nil.
803 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
805 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
806 to the check logic of file systems which are weak in colon character.
808 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
810 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
812 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
814 * elmo-maildir.el (elmo-maildir-move-file): New function.
815 (elmo-folder-append-buffer): Use it.
816 (elmo-folder-append-messages): Ditto.
817 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
819 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
820 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
822 * elmo-maildir.el (elmo-maildir-separator): New user option.
823 (elmo-maildir-adjust-separator): New macro.
824 (elmo-maildir-list-location): Use it.
825 (elmo-maildir-update-current): Ditto.
826 (elmo-maildir-set-mark): Ditto.
827 (elmo-maildir-delete-mark): Ditto.
828 (These changes are based on Hiroya Murata's patch [wl: 13437])
830 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
832 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
834 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
836 * elmo-flag.el (elmo-flag-valid-p): Simplify.
837 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
838 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
840 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
842 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
843 Use `with-temp-buffer'.
845 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
847 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
849 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
850 `wl-read-search-condition').
851 (elmo-read-search-condition-internal): Likewise.
853 * elmo-flag.el (elmo-flag-char-regexp): New constant.
854 (elmo-flag-valid-p): New function.
855 (elmo-folder-initialize): Check flag name is valid.
857 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
859 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
860 delimiter to obtain root mailbox itself.
862 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
864 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
867 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
869 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
872 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
874 * elmo-shimbun.el (toplevel): Require cl at compile.
876 * elmo-nntp.el (toplevel): Ditto.
878 * elmo-nmz.el (toplevel): Ditto.
880 * elmo-multi.el (toplevel): Ditto.
882 * elmo-file.el (toplevel): Ditto.
884 * elmo-dop.el (toplevel): Ditto.
886 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
888 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
890 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
893 * elmo.el (elmo-message-fetch): Return t even when the output buffer
894 size of elmo-message-fetch-internal is 0 byte.
896 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
898 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
900 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
902 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
905 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
907 * elmo-maildir.el (elmo-map-message-fetch): Call
908 `elmo-map-folder-set-flag'.
910 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
911 (elmo-message-fetch): Merge from
912 `elmo-message-fetch-with-cache-process'.
914 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
915 (elmo-message-fetch): Define.
917 * elmo-nntp.el (elmo-message-fetch): Renamed from
918 `elmo-message-fetch-with-cache-process'.
920 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
921 (elmo-message-fetch): Define.
923 * elmo-util.el (elmo-condition-parse-primitive): Downcase
926 * elmo-shimbun.el (shimbun-mua-search-id): Use
927 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
928 (elmo-shimbun-folder-shimbun-header): Ditto.
929 (elmo-shimbun-get-headers): Ditto.
930 (elmo-shimbun-update-overview): Ditto.
932 * elmo-pipe.el (elmo-folder-detach-messages): Define.
934 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
935 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
937 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
939 * elmo.el (elmo-message-fetch): Unset unread flag on server when
941 (elmo-message-fetch-string): Fixed argument.
943 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
945 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
946 exchange order of arguments `section' and `unread'.
947 (elmo-message-encache): Follow the API change.
948 (elmo-message-match-condition): Ditto.
949 (elmo-generic-folder-append-messages): Ditto.
950 (elmo-message-fetch-string): New function.
952 * elmo-split.el (elmo-split-subr): Ditto.
954 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
956 * elmo-pipe.el (elmo-message-fetch): Ditto.
958 * elmo-multi.el (elmo-message-fetch): Ditto.
960 * elmo-mime.el (elmo-message-mime-entity): Ditto.
962 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
964 * elmo-filter.el (elmo-message-fetch): Ditto.
966 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
968 * elmo-imap4.el (mime-imap-location-section-body): Use
969 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
970 follow the API change.
972 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
974 * elmo-access.el: New file.
976 * elmo-null.el: Ditto.
978 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
980 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
982 * elmo-net.el (elmo-network-session-idle-timeout): New option.
983 (elmo-network-session): New attribute `last-accessed'.
984 (elmo-network-get-session): Discard network cache if elapsed time
985 since last-accessed is larger than elmo-network-session-idle-timeout.
987 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
989 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
990 and added `number', `require-entireness'.
991 (elmo-find-fetch-strategy): Rewrite.
992 (elmo-message-fetch): Unset `unread' flag when argument unread is
995 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
997 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
998 (elmo-message-fetch): Notify event `flag-changed'.
1000 * elmo-pipe.el: Likewise.
1002 * elmo-mime.el (elmo-mime-entity): New class.
1003 (elmo-mime-entity-display-p): New generic function.
1004 (elmo-mime-entity-display): Ditto.
1005 (elmo-mime-entity-display-as-is): Ditto.
1006 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1008 (elmo-make-mime-message-location): Removed.
1009 (elmo-mime-message-display): Ditto.
1010 (elmo-mime-display-as-is): Ditto.
1011 (elmo-message-mime-entity): New function.
1013 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1015 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1017 (elmo-message-fetch): Re-count flagged message number and notify
1018 event `flag-changed'.
1020 * elmo-version.el (elmo-version): Up to 2.13.1.
1022 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1024 * elmo-filter.el (elmo-message-field): Define.
1025 (elmo-message-set-field): Ditto.
1027 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1029 * elmo.el (elmo-message-set-cached): Call
1030 `elmo-folder-notify-event' with cache-changed.
1031 (elmo-event-handler-cache-changed): New generic function.
1033 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1035 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1036 instead of elmo-add-name-to-file.
1037 (elmo-folder-append-messages): Ditto.
1039 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1041 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1043 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1045 * elmo-version.el (elmo-version): Up to 2.13.0.
1047 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1050 * modb-standard.el (modb-standard-economize-entity-size): Changed
1051 default value to `t'.
1053 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1056 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1057 after parsing greeting string.
1059 2004-11-23 Daishi Kato <daishi@axlight.com>
1061 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1063 (elmo-spam-spamoracle-call): Use it.
1065 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1067 * elmo.el (elmo-message-accessible-p): Message in dop spool
1070 2004-11-23 Daishi Kato <daishi@axlight.com>
1072 * elsp-spamoracle.el: New file.
1074 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1076 * elmo.el (elmo-message-flags-for-append): New function.
1077 (elmo-generic-folder-append-messages): Use it.
1079 * elmo-split.el (elmo-split-subr): Ditto.
1081 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1082 `flags' and use elmo-folder-append-buffer instead of
1083 write-region-as-binary.
1084 (elmo-dop-filter-pending-messages): New function.
1085 (elmo-folder-append-buffer-dop): Call
1086 elmo-dop-spool-folder-append-buffer with `flag'.
1087 (elmo-folder-set-flag-dop): Filter messages by
1088 elmo-dop-filter-pending-messages.
1089 (elmo-folder-unset-flag-dop): Ditto.
1090 (elmo-folder-append-buffer-dop-delayed): Use
1091 elmo-message-flags-for-append to get flags of the message and
1094 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1096 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1098 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1100 * elmo.el (elmo-folder): Added handlers slot.
1101 (elmo-event-handler): New class.
1102 (elmo-event-handler-flag-changed): New API.
1103 (elmo-folder-add-handler): New function.
1104 (elmo-folder-remove-handler): Ditto.
1105 (elmo-folder-notify-event): Ditto.
1106 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1108 (elmo-folder-unset-flag): Ditto.
1110 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1111 (elmo-folder-unset-flag): Ditto.
1113 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1114 (elmo-folder-unset-flag): Ditto.
1116 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1117 (elmo-folder-unset-flag): Ditto.
1119 * elmo-version.el (elmo-version): Up to 2.11.33.
1121 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1123 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1125 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1127 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1129 * elmo-flag.el (elmo-folder-unset-flag): Define.
1130 (elmo-global-flag-detach): Do process when the flag is not target
1133 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1135 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1137 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1139 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1141 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1143 (elmo-folder-delete-messages): Detach messages before delete
1144 messages from target folder.
1145 (elmo-folder-detach-messages): Set updated number-list to slot.
1147 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1149 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1151 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1153 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1155 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1157 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1159 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1161 (elmo-folder-delete-messages): Define.
1162 (elmo-folder-move-messages): Don't call
1163 `elmo-folder-detach-messages'.
1164 (elmo-folder-synchronize): Rewrite.
1165 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1167 * elmo-util.el (elmo-last): New function.
1168 (elmo-set-list): Ditto.
1169 (elmo-number-set-delete-list): Ditto.
1170 (elmo-number-set-delete): Ditto.
1172 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1174 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1175 `elmo-folder-delete-messages' and don't delete location map.
1176 (elmo-folder-detach-messages): Define.
1178 * elmo-imap4.el (elmo-folder-delete): Use
1179 `elmo-folder-delete-messages-internal' instead of
1180 `elmo-folder-delete-messages'.
1182 * elmo-filter.el (elmo-folder-delete-messages): Call
1183 `elmo-folder-detach-messages'.
1184 (elmo-folder-detach-messages): Don't call
1185 `elmo-folder-detach-messages' for target folder.
1187 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1188 message deletion is succeeded.
1190 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1192 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1193 from `elmo-folder-delete-messages'.
1195 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1197 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1199 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1201 * elmo-version.el (elmo-version): Up to 2.11.32.
1203 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1205 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1206 (elmo-global-flag-list): Added obsolete variable setting.
1208 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1210 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1211 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1212 `elmo-mime-display-header-analysis' is nil.
1214 * elmo-flag.el (elmo-global-flags): Renamed from
1215 `elmo-global-flag-list' (All other related portions are changed).
1216 (elmo-local-flags): New variable.
1217 (elmo-local-flag-p): New function.
1218 (elmo-global-flag-set-internal): Cause an error when flag is not
1221 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1223 * elmo-util.el (elmo-concat-path): Treat empty path.
1225 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1227 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1229 (elmo-split-address-match): Ditto.
1230 (elmo-split-equal): Ditto.
1231 (elmo-split-match): Ditto.
1233 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1235 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1236 (elmo-generic-folder-append-messages): If src message exists but
1237 has no flag, pass (read) for the FLAG argument of
1238 `elmo-folder-append-buffer'. Otherwise, pass nil.
1240 * elmo-split.el (elmo-split-subr): Likewise.
1242 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1244 * elmo-multi.el (elmo-message-flags): Ditto.
1246 * elmo-filter.el (elmo-message-flags): Ditto.
1248 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1249 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1250 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1252 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1254 * elmo-split.el (elmo-split-rule): Update comment.
1255 (elmo-split-address-equal): Allow 2nd argument to be a list.
1256 (elmo-split-address-match): Ditto.
1257 (elmo-split-equal): Ditto.
1258 (elmo-split-match): Ditto.
1260 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1262 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1263 (elmo-folder-append-msgdb): Don't treat `read'.
1264 (elmo-message-flags): Don't return `read'.
1266 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1267 (elmo-folder-unset-read-delayed): Ditto.
1269 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1271 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1273 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1276 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1278 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1281 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1283 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1285 (elmo-msgdb-save): Bind inhibit-quit.
1286 (modb-standard-message-entity): Ditto.
1288 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1290 * elmo-database.el: No need to require elmo-msgdb.
1292 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1294 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1295 instead of `elmo-list-subdirectories'.
1297 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1299 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1301 (elmo-folder-exists-p): "[" is empty.
1302 (elmo-folder-list-subfolders): Define.
1303 (elmo-folder-have-subfolder-p): Ditto.
1305 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1307 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1309 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1311 * elmo-filter.el (elmo-folder-local-p): Define.
1313 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1315 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1316 when entity is garbaged.
1317 (modb-standard-save-entity-1): Don't modify the original entity.
1319 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1321 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1323 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1325 * elmo.el (elmo-strict-folder-diff): Use
1326 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1328 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1330 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1331 (elmo-msgdb-message-number): Ditto.
1332 (elmo-msgdb-message-field): Ditto.
1334 * modb-standard.el (modb-standard-economize-entity-size): New user
1336 (modb-standard-loaded-message-id): New inline function.
1337 (modb-standard-load-entity): Use it.
1338 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1339 throw message-id string away.
1340 (elmo-msgdb-flag-available-p): Define.
1341 (elmo-msgdb-message-number): Ditto.
1342 (elmo-msgdb-message-field): Ditto.
1344 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1345 (suppoted -> supported).
1346 (modb-legacy-supported-flag-p): Ditto.
1347 (elmo-msgdb-set-flag): Ditto.
1348 (elmo-msgdb-unset-flag): Ditto.
1349 (elmo-msgdb-flag-available-p): Define.
1351 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1352 is `t', treat it as legacy entity.
1354 * elmo.el (elmo-message-flag-available-p): New generic function.
1355 (elmo-message-number): Ditto.
1356 (elmo-message-field): Use `elmo-msgdb-message-field'.
1358 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1360 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1361 (elmo-message-number): Ditto.
1363 * elmo-multi.el (elmo-message-number): Define.
1364 (elmo-message-flag-available-p): Ditto.
1366 * elmo-filter.el (elmo-message-flag-available-p): Define.
1367 (elmo-message-number): Ditto.
1369 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1370 (elmo-folder-initialize): Load `max-number'.
1371 (elmo-folder-commit): Save it.
1372 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1373 (elmo-global-flag-set-internal): Set up max-number slot.
1375 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1377 * elmo-version.el (elmo-version): Up to 2.11.31.
1379 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1381 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1382 unibyte string of the current buffer for the argument of `md5'
1383 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1385 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1387 * modb-legacy.el (modb-legacy-flag-list): New constant.
1388 (modb-legacy-suppoted-flag-p): New internal function.
1389 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1390 (elmo-msgdb-unset-flag): Ditto.
1392 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1394 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1396 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1399 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1401 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1402 (follow the API change).
1404 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1406 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1408 * modb-standard.el (modb-standard-digest-flags): Abolish.
1409 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1411 * elmo-vars.el (elmo-digest-flags): New variable.
1412 (elmo-preserved-flags): Moved from elmo-flag.el.
1414 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1415 (elmo-imap4-flag-to-imap-criteria): Ditto.
1416 (elmo-imap4-folder-list-flagged): Use it.
1418 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1420 * elmo.el (elmo-folder-count-flags): Changed return value.
1422 * elmo-flag.el (elmo-preserved-flags): New variable.
1423 (elmo-get-global-flags): Use it.
1425 * modb-standard.el (modb-standard-digest-flags): New variable.
1426 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1427 Changed behavior of `any'.
1429 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1430 which are defined the Internet draft
1431 (draft-melnikov-imap-keywords-03.txt).
1432 (elmo-imap4-flags-to-imap): New function.
1433 (elmo-folder-append-buffer): Use it.
1435 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1438 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1439 avoid the bug of Emacs 21.3.
1441 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1443 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1444 function find-coding-system does not exist.
1446 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1448 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1451 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1453 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1456 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1458 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1459 (elmo-network-close-session): Follow the changes in
1460 `elmo-pop3-read-response'.
1461 (elmo-pop3-auth-user): Ditto.
1462 (elmo-pop3-auth-apop): Ditto.
1463 (elmo-network-initialize-session): Ditto.
1464 (elmo-network-authenticate-session): Ditto.
1465 (elmo-network-setup-session): Ditto.
1466 (elmo-folder-status): Ditto.
1467 (elmo-message-fetch-plugged): Ditto.
1468 (elmo-pop3-delete-msg): Ditto.
1470 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1472 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1475 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1477 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1479 (elmo-bind-directory): Ditto.
1481 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1483 * elmo.el (elmo-folder-append-messages): Note on return value.
1484 * elmo-archive.el (elmo-folder-append-messages): Don't return
1485 message numbers which could not be appended.
1487 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1489 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1491 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1493 * elmo-version.el (elmo-version): Up to 2.11.30.
1495 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1497 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1500 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1502 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1503 (elmo-multi-split-numbers): Add elmo-folder object into each
1504 element of return value at first.
1505 (elmo-folder-delete-messages): Follow the above change.
1506 (elmo-folder-detach-messages): Ditto.
1508 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1509 number which is synchronized in target folder.
1511 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1513 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1514 Change default value to symbol `all'.
1515 (elmo-map-message-fetch): Change condition to update overview
1518 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1520 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1521 behavior to update overview.
1522 (elmo-shimbun-update-overview-folder-list): Note it.
1524 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1526 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1529 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1531 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1532 buffer-disable-undo, it is unnecessary.
1533 (elmo-spam-register-good-messages): Ditto.
1535 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1538 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1540 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1542 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1543 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1544 elmo-set-buffer-multibyte.
1545 (elmo-object-load): Ditto.
1546 (elmo-save-buffer): Ditto.
1547 (elmo-delete-char): Ditto.
1548 (elmo-file-field-primitive-condition-match): Ditto.
1549 (elmo-mime-string): Ditto.
1551 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1552 (elmo-archive-field-condition-match): Ditto.
1554 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1556 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1558 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1559 (elmo-nntp-msgdb-create-message): Ditto.
1561 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1563 * elmo.el (elmo-message-match-condition): Ditto.
1564 (elmo-message-match-condition): Ditto.
1566 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1569 * elmo-version.el (elmo-version): Up to 2.11.29.
1571 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1572 (elsp-header): New backend.
1574 * elmo-util.el (elmo-decoded-field-body): New function.
1576 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1578 * elmo-version.el (elmo-version): Up to 2.11.28.
1580 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1582 * elmo-filter.el: Rewrite.
1584 * elmo-version.el (elmo-version): Up to 2.11.27.
1586 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1588 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1589 msgdb path for the localdir folder with absolute path.
1591 * utf7.el: Synch up with latest gnus/utf7.el;
1592 Modified for latest Emacs.
1594 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1596 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1597 shimbun backend couldn't open.
1599 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1601 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1602 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1603 when a destination folder is a filter folder.
1605 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1607 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1608 (elmo-generic-folder-append-messages): Call elmo-message-flags
1609 with argument `msgid'.
1611 * elmo-split.el (elmo-split-subr): Ditto.
1613 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1615 * elmo-multi.el (elmo-message-flags): Ditto.
1617 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1619 * elmo.el (elmo-folder): Add new slot `flag-table'.
1620 (elmo-folder-flag-table): New API.
1621 (elmo-folder-close-flag-table): Ditto.
1622 (elmo-folder-preserve-flags): New function.
1623 (elmo-generic-folder-append-messages): Use
1624 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1625 Flag of a non-registered message, it sets to nil.
1626 Does not set flag to flag-table.
1628 * elmo-maildir.el (elmo-folder-append-buffer): Use
1629 `elmo-folder-preserve-flags'.
1630 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1631 `elmo-folder-close-flag-table'.
1633 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1634 (elmo-archive-folder-append-buffer): Use
1635 `elmo-folder-preserve-flags'.
1637 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1639 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1641 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1642 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1643 `elmo-folder-close-flag-table'.
1645 * elmo-version.el (elmo-version): Up to 2.11.26.
1647 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1649 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1651 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1652 md5's 4th and 5th argument (non-existent in flim one).
1654 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1656 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1657 message, It sets to nil.
1659 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1661 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1664 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1666 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1668 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1670 * elmo-util.el (elmo-uniq-sorted-list): New function.
1671 (elmo-make-number-list): Ditto.
1672 (elmo-number-set-to-number-list): Use elmo-make-number-list
1673 and don't use nreverse.
1675 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1677 * elmo-version.el (elmo-version): Up to 2.11.25.
1679 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1681 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1682 field not exists in message, Use md5 message digest of header.
1684 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1686 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1687 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1688 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1689 * elmo-split.el (elmo-split-subr): Check return value of
1690 elmo-folder-append-buffer.
1692 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1693 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1695 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1698 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1700 * elmo-split.el (elmo-split-subr): Append message with flag.
1702 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1703 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1704 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1706 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1708 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1709 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1710 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1712 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1714 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1715 with a function call of `process-buffer'. All callers are updated.
1716 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1717 Remove redundant `set-buffer' in a while loop.
1719 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1721 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1724 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1726 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1727 elsp-spamfilter-register-buffer-internal with current buffer.
1728 (elmo-spam-register-spam-buffer): Ditto.
1729 (elmo-spam-register-good-buffer): Ditto.
1731 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1733 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1734 if it is not contained in the response(A workaround for courier-imap).
1736 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1738 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1741 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1743 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1746 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1748 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1751 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1753 (elmo-msgdb-message-match-condition): Follow the change above.
1755 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1757 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1760 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1762 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1764 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1766 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1768 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1770 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1773 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1775 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1777 (elmo-file-command-argument): Undo last change for cygwin.
1778 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1780 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1782 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1784 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1785 value returned from elmo-file-find is nil.
1787 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1789 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1792 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1793 instead of insert-file-contents-as-binary.
1794 (elmo-message-set-field): New generic function.
1796 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1797 behavior change on `split-string'.
1799 * elmo-file.el (elmo-file-find): New function.
1800 (elmo-file-command): New user option.
1801 (elmo-file-command-argument): Ditto.
1802 (elmo-file-fetch-max-size): Ditto.
1803 (elmo-file-detect-format): New function.
1804 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1805 Use elmo-file-detect-format.
1806 (elmo-map-folder-list-message-locations): Don't treat directories.
1808 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1810 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1811 (elmo-passwd-alist-clear): Shred password before clear.
1812 (elmo-remove-passwd): Remove all mached pair.
1814 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1816 * elmo.el (elmo-folder-synchronize): Fix description of the return
1819 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1821 * elmo.el (elmo-message-fetch-bodystructure): New method.
1822 (elmo-message-fetch-bodystructure): Define default.
1824 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1825 elmo-message-fetch-bodystructure.
1826 (elmo-message-fetch-bodystructure): Define.
1828 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1830 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1832 * elmo-filter.el (elmo-message-folder): Define.
1834 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1836 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1837 elmo-delete-cr-buffer.
1839 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1841 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1843 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1845 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1846 type seems to be a text.
1848 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1850 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1851 (elmo-spam-register-good-buffer): Ditto.
1852 (elmo-spam-spamassassin-register-messages): Ditto.
1854 * elmo-util.el (elmo-string-member-ignore-case): Define with
1857 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1859 * elmo.el (elmo-folder-type): Undo last change.
1861 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1863 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1866 * elmo-file.el: New file.
1868 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1870 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1872 (elmo-spam-spamassassin-register-messages): New inline function.
1873 (elmo-spam-register-spam-messages): Define.
1874 (elmo-spam-register-good-messages): Ditto.
1876 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1879 * elmo.el (toplevel): Added autoload setting for
1880 `elmo-get-global-flags'.
1881 (elmo-message-has-global-flag-p): New function.
1882 (elmo-message-set-global-flags): Ditto.
1883 (elmo-folder-type): Improvement for name: format.
1885 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1886 availability of keyword flags.
1887 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1888 (elmo-folder-list-flagged-plugged): Renamed from
1889 elmo-folder-list-flagged-unplugged.
1890 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1891 accept any flag as keyword flag.
1892 (elmo-folder-set-flag-plugged): Accept keyword flags.
1893 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1895 * elmo-flag.el (elmo-get-global-flags): New function.
1897 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1900 * elmo-version.el (elmo-version): Up to 2.11.24.
1902 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1904 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1905 elmo-multiple-field-body instead of std11-field-body to check all
1908 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1910 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1913 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1915 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1916 unintern is unbound.
1918 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1920 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1921 Protect from infinite loop.
1923 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1925 * elsp-bogofilter.el
1926 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1927 (elmo-spam-bogofilter-register-messages): New internal function.
1928 (elmo-spam-register-spam-messages): Define.
1929 (elmo-spam-register-good-messages): Ditto.
1931 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1933 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1934 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1935 (elmo-spam-bogofilter-call): Fixed the last change.
1936 (elmo-spam-bogofilter-arguments): Ditto.
1938 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1939 Follow the options change of latest bogofilter.
1941 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1942 (elmo-spam-bogofilter-good-switch): Ditto.
1943 (elmo-spam-bogofilter-arguments-alist): New user option.
1944 (elmo-spam-bogofilter-debug): Ditto.
1945 (elmo-spam-bogofilter-call): Renamed from
1946 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1947 is non-nil, insert output in buffer for debug.
1948 (elmo-spam-bogofilter-arguments): New macro.
1949 (elmo-spam-buffer-spam-p): Use it.
1950 (elsp-bogofilter-register-buffer): Ditto.
1952 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1954 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1957 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1959 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1961 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1962 (elmo-spam-bsfilter-program): Set default value as full path for
1964 (elmo-spam-bsfilter-debug): New user option.
1965 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1966 non-nil, insert output in buffer for debug. Fix treating of
1969 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1971 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1972 `elmo-maildir-flag-specs' element instead of one.
1973 (elmo-map-folder-unset-flag): Ditto.
1974 (Reported by Ken Makimura <macky@astem.or.jp>)
1976 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1977 (elmo-folder-unset-flag-plugged): Ditto.
1979 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1981 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1982 to `reads' slot only if `in-msgdb' is nil.
1984 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1986 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1987 and complement argument list.
1989 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1991 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1992 instead of elmo-folder-list-flagged.
1994 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1996 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1998 * elsp-bsfilter.el: New file.
2000 * elmo-pipe.el (elmo-folder-list-unreads,
2001 elmo-folder-list-answereds,
2002 elmo-folder-list-importants,
2003 elmo-folder-flag-as-important,
2004 elmo-folder-unflag-important,
2005 elmo-folder-flag-as-read,
2006 elmo-folder-unflag-read,
2007 elmo-folder-flag-as-answered,
2008 elmo-folder-unflag-answered): Remove.
2009 (elmo-folder-set-flag): Define.
2010 (elmo-folder-unset-flag): Ditto.
2012 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2013 (elmo-folder-set-flag): Define.
2014 (elmo-folder-unset-flag): Ditto.
2015 (elmo-folder-list-unreads): Remove.
2016 (elmo-folder-list-flagged): Define.
2018 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2019 (elmo-folder-list-unreads,
2020 elmo-folder-list-importants,
2021 elmo-folder-list-answereds,
2022 elmo-folder-list-unreads-plugged,
2023 elmo-folder-list-importants-plugged,
2024 elmo-folder-list-answereds-plugged): Remove.
2025 (elmo-folder-list-flagged-plugged): New method.
2026 (elmo-folder-unflag-important,
2027 elmo-folder-flag-as-important,
2028 elmo-folder-unflag-read,
2029 elmo-folder-flag-as-read,
2030 elmo-folder-unflag-answered,
2031 elmo-folder-flag-as-answered,
2032 elmo-folder-flag-as-read-unplugged,
2033 elmo-folder-unflag-read-unplugged,
2034 elmo-folder-flag-as-important-unplugged,
2035 elmo-folder-unflag-important-unplugged,
2036 elmo-folder-flag-as-answered-unplugged,
2037 elmo-folder-unflag-answered-unplugged): Remove.
2038 (elmo-folder-set-flag): Define.
2039 (elmo-folder-unset-flag): Ditto.
2040 (elmo-folder-set-flag-unplugged): Ditto.
2041 (elmo-folder-unset-flag-unplugged): Ditto.
2043 * elmo-multi.el (elmo-folder-list-unreads,
2044 elmo-folder-list-answereds,
2045 elmo-folder-list-importants,
2046 elmo-folder-flag-as-important,
2047 elmo-folder-unflag-important,
2048 elmo-folder-flag-as-read,
2049 elmo-folder-unflag-read,
2050 elmo-folder-flag-as-answered,
2051 elmo-folder-unflag-answered): Remove.
2052 (elmo-folder-set-flag): Define.
2053 (elmo-folder-unset-flag): Ditto.
2055 * elmo-map.el (elmo-map-folder-unflag-important,
2056 elmo-map-folder-flag-as-important,
2057 elmo-map-folder-unflag-read,
2058 elmo-map-folder-flag-as-read,
2059 elmo-map-folder-unflag-answered,
2060 elmo-map-folder-flag-as-answered): Remove.
2061 (elmo-map-folder-set-flag): New method.
2062 (elmo-map-folder-unset-flag): Ditto.
2063 (elmo-map-folder-list-unreads,
2064 elmo-map-folder-list-importants,
2065 elmo-map-folder-list-answereds): Remove.
2066 (elmo-folder-list-flagged-internal): Define.
2067 (elmo-map-folder-list-flagged): New method.
2069 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2070 (elmo-map-folder-list-unreads,
2071 elmo-map-folder-list-importants,
2072 elmo-map-folder-list-flagged): Remove.
2073 (elmo-map-folder-list-flagged): Define.
2074 (elmo-map-folder-flag-as-important,
2075 elmo-map-folder-unflag-important,
2076 elmo-map-folder-flag-as-read,
2077 elmo-map-folder-unflag-read,
2078 elmo-map-folder-flag-as-answered,
2079 elmo-map-folder-unflag-answered): Remove.
2080 (elmo-maildir-set-mark-messages): New internal function.
2081 (elmo-map-folder-set-flag): Define.
2082 (elmo-map-folder-unset-flag): Ditto.
2084 * elmo.el (toplevel): Added autoload setting for
2085 `elmo-folder-list-global-flag-messages'.
2086 (elmo-folder-list-unreads,
2087 elmo-folder-list-importants,
2088 elmo-folder-list-answereds): Remove.
2089 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2090 Return a list whitch merged with messages have global flag.
2091 (elmo-folder-list-flagged-internal): New method.
2092 (elmo-folder-unflag-important,
2093 elmo-folder-flag-as-important,
2094 elmo-folder-unflag-read,
2095 elmo-folder-flag-as-read,
2096 elmo-folder-unflag-answered,
2097 elmo-folder-flag-as-answered): Remove.
2098 (elmo-folder-set-flag): New method.
2099 (elmo-folder-unset-flag): Ditto.
2100 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2101 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2103 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2104 (elmo-folder-list-unreads-plugged,
2105 elmo-folder-list-importants-plugged,
2106 elmo-folder-list-answereds-plugged,
2107 elmo-folder-list-flagged-unplugged,
2108 elmo-folder-unflag-important-plugged,
2109 elmo-folder-flag-as-important-plugged,
2110 elmo-folder-unflag-read-plugged,
2111 elmo-folder-flag-as-read-plugged,
2112 elmo-folder-unflag-answered-plugged,
2113 elmo-folder-flag-as-answered-plugged): Remove.
2114 (elmo-folder-set-flag-plugged,
2115 elmo-folder-unset-flag-plugged): Define.
2117 * elmo-flag.el (elmo-folder-initialize): Register to
2118 `elmo-global-flag-list' if flag is not global.
2119 (elmo-folder-append-messages): Set flag to source messages.
2121 * elmo-filter.el (elmo-filter-folder-list-unreads,
2122 elmo-folder-list-unreads,
2123 elmo-filter-folder-list-importants,
2124 elmo-folder-list-importants,
2125 elmo-folder-flag-as-read,
2126 elmo-folder-unflag-read,
2127 elmo-folder-flag-as-important,
2128 elmo-folder-unflag-important,
2129 elmo-folder-flag-as-answered,
2130 elmo-folder-unflag-answered): Remove.
2131 (elmo-folder-set-flag): Define.
2132 (elmo-folder-unset-flag): Ditto.
2134 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2135 elmo-folder-unflag-read-dop,
2136 elmo-folder-flag-as-important-dop,
2137 elmo-folder-unflag-important-dop,
2138 elmo-folder-flag-as-answered-dop,
2139 elmo-folder-unflag-answered-dop): Remove.
2140 (elmo-folder-set-flag-dop,
2141 elmo-folder-unset-flag-dop,
2142 elmo-folder-set-important-delayed,
2143 elmo-folder-unset-important-delayed,
2144 elmo-folder-set-read-delayed,
2145 elmo-folder-unset-read-delayed,
2146 elmo-folder-set-answered-delayed,
2147 elmo-folder-unset-answered-delayed): New function.
2148 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2149 (elmo-dop-queue-method-name-alist): Ditto.
2151 * elmo-version.el (elmo-version): Up to 2.11.23.
2153 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2155 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2157 * elsp-sa.el: New file.
2159 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2161 * modb-standard.el (modb-standard-message-entity): New function.
2162 (elmo-msgdb-message-entity): Use it.
2164 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2166 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2167 behavior when one-level is nil.
2169 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2171 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2173 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2175 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2177 (elmo-generic-folder-diff): Ditto.
2179 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2180 (elmo-folder-update-number): Ditto.
2182 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2183 (elmo-folder-next-message-number-dop): Ditto.
2185 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2187 * elmo-filter.el (elmo-folder-msgdb-create): Use
2188 `elmo-message-entity' and `elmo-message-flags' instead of
2189 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2191 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2193 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2196 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2198 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2200 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2202 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2204 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2206 * elmo-version.el (elmo-version): Up to 2.11.22.
2208 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2210 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2212 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2214 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2215 if the message dose not exist.
2217 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2219 * elmo-version.el (elmo-version): Up to 2.11.21.
2221 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2223 * modb-standard.el (toplevel): Don't require mime.
2225 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2227 * elsp-bogofilter.el (toplevel): Don't require path-util.
2228 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2229 (elmo-spam-bogofilter-header): Abolish.
2230 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2231 (elmo-spam-bogofilter-args): New user option.
2232 (elsp-bogofilter-call-bogofilter): New internal function.
2233 (elmo-spam-buffer-spam-p): Use it.
2234 (elsp-bogofilter-register-buffer): Renamed from
2235 `elmo-spam-bogofilter-register-buffer';
2236 Use `elsp-bogofilter-call-bogofilter'.
2237 (elmo-spam-register-spam-buffer): Follow the change above.
2238 (elmo-spam-register-good-buffer): Ditto.
2240 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2242 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2243 message-id is nil do nothing.
2245 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2247 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2249 (elmo-imap4-session): Removed use-flag slot.
2250 (elmo-imap4-session-select-mailbox): Undo last change.
2251 (elmo-folder-use-flag-p): Use
2252 elmo-imap4-disuse-server-flag-mailbox-regexp.
2254 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2256 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2257 (elmo-imap4-session-select-mailbox): Set it up.
2258 (elmo-folder-use-flag-p): Return value of use-flag slot.
2260 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2262 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2264 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2266 * modb-entity.el (elmo-message-entity-handler): Likewise.
2268 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2270 * elmo.el (toplevel): Remove setting of autoloding for
2271 elmo-global-flag-initialize.
2272 (elmo-init): Don't call elmo-global-flag-initialize.
2273 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2275 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2276 (elmo-global-mark-migrate): Don't call it.
2277 (elmo-global-mark-upgrade): Ditto.
2279 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2281 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2282 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2284 * elmo-vars.el (elmo-init-hook): New user option.
2286 * elmo.el (elmo-init): Run the elmo-init-hook.
2288 * elmo-flag.el (elmo-global-mark-migrate): New function.
2290 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2292 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2293 Undo last change (move to elmo-msgdb-unset-flag).
2294 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2297 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2299 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2301 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2302 (elmo-msgdb-unset-flag): Ditto.
2304 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2306 * elmo-split.el (elmo-split): Return split message count.
2308 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2310 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2313 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2315 * elmo.el (elmo-folder-unflag-important): Call
2316 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2319 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2321 (elmo-global-flag-detach): Delete the message from flag folder, if
2322 `delete-if-none' is a symbol `always'.
2324 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2326 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2327 `elmo-spam-spamfilter-decode-buffer'.
2328 (elsp-spamfilter-register-buffer-internal): New internal function.
2329 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2330 (elmo-spam-register-spam-buffer): Ditto.
2331 (elmo-spam-register-good-buffer): Ditto.
2333 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2335 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2336 (elmo-spam-register-spam-buffer): Follow the API change.
2337 (elmo-spam-register-good-buffer): Ditto.
2339 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2340 (elmo-split-spam-p): Added argument plist; Call
2341 `elmo-spam-buffer-spam-p' with new argument register.
2343 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2345 (elmo-spam-message-spam-p): Ditto.
2346 (elmo-spam-register-spam-buffer): Added optional argument
2348 (elmo-spam-register-good-buffer): Ditto.
2349 (elmo-spam-register-spam-messages): Ditto.
2350 (elmo-spam-register-good-messages): Ditto.
2352 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2354 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2355 register into good corpus.
2356 (elmo-spam-register-good-buffer): Fixed to register into bad
2359 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2361 * elmo-version.el (elmo-version): Up to 2.11.20.
2363 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2366 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2367 flag without depending on \Recent flag.
2369 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2371 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2372 (elmo-spam-modified-p): Defined.
2373 (elmo-spam-save-status): Set `modified' slot to nil.
2374 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2375 (elmo-spam-register-good-buffer): Ditto.
2377 * elmo-spam.el (elmo-spam-modified-p): New API.
2379 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2381 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2382 duplicate definition.
2384 * elmo-util.el (elmo-unfold-field-body): New function.
2385 (elmo-msgdb-get-message-id-from-buffer): Use it.
2387 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2388 Fixed the last change; Use elmo-unfold-field-body.
2390 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2392 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2395 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2397 * elmo-spam.el (elmo-spam-save-status): New API.
2399 * elsp-spamfilter.el: New file.
2401 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2403 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2405 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2407 * elmo-split.el (elmo-split-spam-p): New function.
2409 * elmo-spam.el: New file.
2411 * elsp-bogofilter.el: Ditto.
2413 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2415 * elmo.el (elmo-folder-next-message-number): New API.
2416 (elmo-folder-next-message-number): Define.
2417 (elmo-message-field): Don't check folder length.
2419 * elmo-net.el (elmo-folder-next-message-number): Define.
2420 (elmo-folder-next-message-number-unplugged): Define.
2422 * elmo-map.el (elmo-folder-next-message-number): Define.
2423 (elmo-folder-delete-messages): Clear hash value.
2425 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2427 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2428 (elmo-folder-delete-messages-dop-delayed): Always return t.
2430 * elmo-version.el (elmo-version): Up to 2.11.19.
2432 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2434 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2437 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2438 identical cons cell into the mark-alist and the hash table.
2440 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2442 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2443 elmo-folder-list-messages with argument `visible-only' as t.
2445 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2446 (elmo-folder-msgdb-create): Check the target folder.
2448 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2450 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2451 `permanentflag' instead of `flags'.
2452 (elmo-folder-open): Ditto.
2453 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2454 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2455 (elmo-folder-use-flag-p): Always return t.
2456 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2457 `permanentflags' does not exist.
2458 (elmo-folder-open): Ditto.
2460 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2462 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2464 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2466 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2467 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2469 (elmo-folder-open): Ditto.
2470 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2471 slot of the session includes the flag.
2472 (elmo-imap4-session-flag-available-p): New function.
2473 (elmo-imap4-folder-list-flagged): Ditto.
2474 (elmo-folder-list-unreads-plugged): Use it.
2475 (elmo-folder-list-importants-plugged): Ditto.
2476 (elmo-folder-list-answereds-plugged): Ditto.
2477 (elmo-imap4-search-internal-primitive): Ditto.
2478 (elmo-imap4-folder-list-any-plugged,
2479 elmo-imap4-folder-list-digest-plugged): Abolish.
2481 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2484 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2486 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2488 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2490 * elmo-util.el (elmo-get-hash-val): Simplify.
2491 (elmo-set-hash-val): Rewrite.
2493 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2495 * elmo.el (elmo-folder-list-messages): Append killed messages into
2496 result if `visible-only' is nil and `in-msgdb' is non-nil.
2498 * elmo-util.el (elmo-uniq-list): Added optional argument
2501 * modb.el (elmo-msgdb-flag-count): New API.
2503 * modb-standard.el (modb-standard): Added slot flag-count.
2504 (modb-standard-countup-flags): New function.
2505 (modb-standard-load-flag): Call it.
2506 (elmo-msgdb-append): Ditto.
2507 (elmo-msgdb-clear): Clear slot flag-count.
2508 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2509 (elmo-msgdb-unset-flag): Treat `all' flag and call
2510 modb-standard-countup-flags.
2511 (elmo-msgdb-flag-count): Define.
2512 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2513 (elmo-msgdb-delete-messages): Ditto.
2515 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2516 (elmo-msgdb-flag-count): Define.
2518 * elmo.el (elmo-folder-list-messages): Undo last change.
2519 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2520 (elmo-folder-kill-messages): Unset all flags to numbers.
2522 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2523 elmo-folder-kill-messages.
2525 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2526 (elmo-nntp-folder-delete-messages): Abolish.
2528 * elmo-version.el (elmo-version): Up to 2.11.18.
2530 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2532 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2533 (elmo-folder-kill-messages-range): New function.
2534 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2535 instead of elmo-folder-kill-messages-before.
2537 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2539 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2540 elmo-imap4-current-msgdb to decide entity handler.
2542 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2544 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2546 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2548 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2549 (elmo-msgdb-overview-entity-set-number,
2550 elmo-msgdb-overview-entity-get-references,
2551 elmo-msgdb-overview-entity-set-references,
2552 elmo-msgdb-overview-entity-get-from-no-decode,
2553 elmo-msgdb-overview-entity-get-from,
2554 elmo-msgdb-overview-entity-set-from,
2555 elmo-msgdb-overview-entity-get-subject,
2556 elmo-msgdb-overview-entity-get-subject-no-decode,
2557 elmo-msgdb-overview-entity-set-subject,
2558 elmo-msgdb-overview-entity-get-date,
2559 elmo-msgdb-overview-entity-set-date,
2560 elmo-msgdb-overview-entity-get-to,
2561 elmo-msgdb-overview-entity-get-cc,
2562 elmo-msgdb-overview-entity-get-size,
2563 elmo-msgdb-overview-entity-set-size,
2564 elmo-msgdb-overview-entity-get-extra,
2565 elmo-msgdb-overview-entity-set-extra,
2566 elmo-msgdb-overview-entity-get-extra-field,
2567 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2568 (elmo-msgdb-make-index): Use
2569 `elmo-msgdb-overview-entity-get-number-internal'.
2570 (elmo-msgdb-clear-index): Ditto.
2571 (elmo-msgdb-append-entity): Ditto;
2572 Use `elmo-msgdb-overview-entity-get-id-internal'.
2574 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2575 elmo-msgdb-overview-entity-set-number,
2576 elmo-msgdb-overview-entity-get-references,
2577 elmo-msgdb-overview-entity-set-references,
2578 elmo-msgdb-overview-entity-get-from-no-decode,
2579 elmo-msgdb-overview-entity-get-from,
2580 elmo-msgdb-overview-entity-set-from,
2581 elmo-msgdb-overview-entity-get-subject,
2582 elmo-msgdb-overview-entity-get-subject-no-decode,
2583 elmo-msgdb-overview-entity-set-subject,
2584 elmo-msgdb-overview-entity-get-date,
2585 elmo-msgdb-overview-entity-set-date,
2586 elmo-msgdb-overview-entity-get-to,
2587 elmo-msgdb-overview-entity-get-cc,
2588 elmo-msgdb-overview-entity-get-size,
2589 elmo-msgdb-overview-entity-set-size,
2590 elmo-msgdb-overview-entity-get-extra,
2591 elmo-msgdb-overview-entity-set-extra,
2592 elmo-msgdb-overview-entity-get-extra-field,
2593 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2594 and rewrote for backward compatibility.
2596 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2598 * elmo.el (elmo-message-entity-number,
2599 elmo-message-entity-set-number,
2600 elmo-message-entity-field,
2601 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2603 * elmo-msgdb.el (elmo-message-entity-number,
2604 elmo-message-entity-set-number,
2605 elmo-message-entity-field,
2606 elmo-message-entity-set-field): Moved from elmo.el.
2608 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2610 * elmo.el (toplevel): Changed definition orders.
2612 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2614 * modb.el (elmo-msgdb-search): New API .
2615 (elmo-msgdb-match-condition): Ditto.
2617 * modb-standard.el (elmo-msgdb-search): Define.
2619 * modb-legacy.el (elmo-msgdb-search): Ditto.
2621 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2622 from elmo-msgdb-match-condition-internal.
2624 * elmo.el (elmo-folder-search-fast): Abolish.
2625 (elmo-folder-search): Use elmo-msgdb-search and
2626 elmo-with-progress-display.
2628 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2631 * elmo.el (elmo-folder): Remove slot message-modified and
2633 (elmo-folder-set-message-modified): Abolish.
2634 (elmo-generic-folder-commit): Follow the change above.
2635 (elmo-folder-synchronize): Ditto.
2637 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2639 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2641 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2643 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2645 * modb-standard.el (modb-standard-make-message-entity,
2646 elmo-msgdb-make-message-entity,
2647 elmo-msgdb-create-message-entity-from-buffer,
2648 elmo-msgdb-message-entity-number,
2649 elmo-msgdb-message-entity-set-number,
2650 elmo-msgdb-message-entity-field,
2651 elmo-msgdb-message-entity-set-field,
2652 elmo-msgdb-copy-message-entity,
2653 elmo-msgdb-match-condition-internal): Remove.
2655 * modb-entity.el: New file (again).
2657 * modb.el (toplevel): Require modb-entity.
2658 (elmo-msgdb-message-entity-handler): New method.
2660 * modb-standard.el (modb-standard-entity-id): Use
2661 elmo-message-entity-handler.
2662 (modb-standard-load-entity): Ditto.
2663 (elmo-msgdb-append-entity): Ditto.
2664 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2666 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2667 elmo-msgdb-decoded-cache-hashtb,
2668 (modb-legacy-make-message-entity,
2669 elmo-msgdb-make-message-entity,
2670 elmo-msgdb-create-message-entity-from-buffer,
2671 elmo-msgdb-message-entity-number,
2672 elmo-msgdb-message-entity-set-number,
2673 elmo-msgdb-message-entity-field,
2674 elmo-msgdb-message-entity-set-field,
2675 elmo-msgdb-copy-message-entity,
2676 elmo-msgdb-match-condition-internal,
2677 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2679 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2680 (elmo-message-entity-set-number): Ditto.
2681 (elmo-message-entity-field): Ditto.
2682 (elmo-message-entity-set-field): Ditto.
2684 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2686 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2688 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2690 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2691 (elmo-nntp-msgdb-create-message): Ditto.
2693 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2694 (elmo-folder-msgdb-create): Add unread flag.
2696 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2698 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2700 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2702 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2704 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2705 elmo-msgdb-messge-entity-handler.
2706 * elmo-version.el (elmo-version): Up to 2.11.17.
2708 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2710 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2713 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2715 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2717 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2718 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2719 (elmo-msgdb-flag-table): Ditto.
2720 (elmo-msgdb-sort-by-date): Ditto.
2722 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2724 * modb-standard.el (toplevel): Require mime.
2725 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2726 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2727 elmo-msgdb-message-entity-number.
2728 (elmo-msgdb-append-entity): Ditto.
2729 (elmo-msgdb-create-message-entity-from-file): Remove.
2730 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2731 corresponds to the entity.
2732 (elmo-msgdb-message-entity-number): Do nothing currently.
2733 (elmo-msgdb-message-entity-field): Ditto.
2734 (elmo-msgdb-message-entity-set-field): Ditto.
2735 (elmo-msgdb-copy-message-entity): Ditto.
2736 (elmo-msgdb-match-condition-internal): Ditto.
2738 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2740 (elmo-msgdb-create-message-entity-from-file): Remove.
2742 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2744 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2746 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2748 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2750 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2751 (elmo-msgdb-message-entity-field): Ditto.
2752 (elmo-msgdb-message-entity-number): Ditto.
2754 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2756 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2757 Fixed how to set extra field into entity.
2758 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2761 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2762 Fixed how to set extra field into entity.
2763 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2766 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2768 * modb.el (elmo-message-entity-db): New function.
2769 (elmo-msgdb-make-message-entity): New API.
2770 (elmo-msgdb-message-entity-number): Ditto.
2771 (elmo-msgdb-message-entity-set-number): Ditto.
2772 (elmo-msgdb-message-entity-field): Ditto.
2773 (elmo-msgdb-message-entity-set-field): Ditto.
2774 (elmo-msgdb-copy-message-entity): Ditto.
2775 (elmo-msgdb-create-message-entity-from-file): Ditto.
2776 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2777 (elmo-msgdb-match-condition-internal): Ditto.
2779 * modb-standard.el (modb-legacy): Require modb-legacy.
2780 (modb-standard-make-message-entity): New inline function.
2781 (elmo-msgdb-make-message-entity): Define.
2782 (elmo-msgdb-create-message-entity-from-file): Ditto.
2783 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2784 (elmo-msgdb-message-entity-field): Ditto.
2785 (elmo-msgdb-message-entity-set-field): Ditto.
2786 (elmo-msgdb-copy-message-entity): Ditto.
2787 (elmo-msgdb-match-condition-internal): Ditto.
2789 * modb-legacy.el: Don't require modb-entity.
2790 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2791 (elmo-msgdb-match-condition-primitive): Ditto.
2792 (elmo-msgdb-get-decoded-cache): Ditto.
2793 (elmo-msgdb-overview-entity-get-id): Ditto.
2794 (elmo-msgdb-overview-entity-get-number): Ditto.
2795 (elmo-msgdb-overview-entity-set-number): Ditto.
2796 (elmo-msgdb-overview-entity-get-references): Ditto.
2797 (elmo-msgdb-overview-entity-set-references): Ditto.
2798 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2799 (elmo-msgdb-overview-entity-get-from): Ditto.
2800 (elmo-msgdb-overview-entity-set-from): Ditto.
2801 (elmo-msgdb-overview-entity-get-subject): Ditto.
2802 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2803 (elmo-msgdb-overview-entity-set-subject): Ditto.
2804 (elmo-msgdb-overview-entity-get-date): Ditto.
2805 (elmo-msgdb-overview-entity-set-date): Ditto.
2806 (elmo-msgdb-overview-entity-get-to): Ditto.
2807 (elmo-msgdb-overview-entity-get-cc): Ditto.
2808 (elmo-msgdb-overview-entity-get-size): Ditto.
2809 (elmo-msgdb-overview-entity-set-size): Ditto.
2810 (elmo-msgdb-overview-entity-get-extra): Ditto.
2811 (elmo-msgdb-overview-entity-set-extra): Ditto.
2812 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2813 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2814 (elmo-msgdb-number-load): Ditto.
2815 (elmo-msgdb-overview-load): Ditto.
2816 (elmo-msgdb-mark-load): Ditto.
2817 (elmo-msgdb-number-save): Ditto.
2818 (elmo-msgdb-mark-save): Ditto.
2819 (elmo-msgdb-overview-save): Ditto.
2820 (modb-legacy-make-message-entity): New inline function.
2821 (elmo-msgdb-insert-file-header): Ditto.
2822 (elmo-msgdb-make-message-entity): Define.
2823 (elmo-msgdb-create-message-entity-from-file): Ditto.
2824 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2825 (elmo-msgdb-message-entity-number): Ditto.
2826 (elmo-msgdb-message-entity-set-number): Ditto.
2827 (elmo-msgdb-message-entity-field): Ditto.
2828 (elmo-msgdb-message-entity-set-field): Ditto.
2829 (elmo-msgdb-copy-message-entity): Ditto.
2830 (elmo-msgdb-match-condition-internal): Ditto.
2832 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2833 (elmo-message-copy-entity): Rewrite.
2834 (elmo-message-entity-number): Ditto.
2835 (elmo-message-entity-set-number): Ditto.
2836 (elmo-message-entity-field): Use elmo-message-entity-db.
2837 (elmo-message-entity-set-field): Ditto.
2838 (elmo-message-field): Rewrite.
2840 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2842 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2844 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2845 elmo-message-entity-field.
2846 (elmo-shimbun-folder-shimbun-header): Ditto.
2847 (elmo-shimbun-entity-to-header): Ditto.
2848 (elmo-folder-msgdb-create): Ditto.
2849 (elmo-shimbun-msgdb-create-entity): Ditto;
2850 Use elmo-msgdb-create-message-entity-from-buffer.
2851 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2852 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2854 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2855 elmo-msgdb-create-message-entity-from-file and
2856 elmo-message-entity-field.
2858 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2859 elmo-message-entity-number.
2860 (elmo-pop3-msgdb-create-message): Use
2861 elmo-msgdb-create-message-entity-from-buffer,
2862 elmo-message-entity-set-field, elmo-message-entity-number and
2863 elmo-message-entity-set-number.
2865 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2866 the API change in elmo-msgdb-make-message-entity.
2867 (elmo-nntp-msgdb-create-message): Use
2868 elmo-msgdb-create-message-entity-from-buffer.
2870 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2871 elmo-message-entity-field and
2872 elmo-msgdb-create-message-entity-from-file.
2874 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2875 (elmo-msgdb-get-field): Abolish.
2876 (elmo-msgdb-get-number): Rewrite.
2877 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2878 (elmo-msgdb-flag-table): Ditto.
2879 (elmo-msgdb-get-last-message-id,
2880 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2881 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2882 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2883 (elmo-msgdb-create-overview-from-buffer,
2884 elmo-msgdb-overview-get-parent-entity): Abolish.
2886 * elmo-mime.el (elmo-mime-display-as-is): Use
2887 elmo-message-entity-field.
2889 * elmo-map.el (elmo-folder-pack-numbers): Use
2890 elmo-message-entity-set-number.
2892 * elmo-maildir.el (elmo-folder-msgdb-create):
2893 elmo-msgdb-create-message-entity-from-file instead of
2894 elmo-msgdb-create-overview-entity-from-file.
2896 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2898 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2899 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2901 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2902 elmo-messge-entity-field and elmo-message-entity-number.
2903 (elmo-imap4-fetch-callback-1): Call
2904 elmo-msgdb-create-message-entity-from-buffer instead of
2905 elmo-msgdb-create-overview-from-buffer.
2906 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2907 (elmo-find-fetch-strategy): Likewise.
2909 * elmo-flag.el (elmo-folder-msgdb-create): Call
2910 elmo-localdir-msgdb-create-entity with argument msgdb.
2912 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2913 and elmo-message-entity-set-number.
2915 * elmo-cache.el (elmo-folder-msgdb-create): Use
2916 elmo-message-entity-field.
2917 (elmo-folder-msgdb-create): Call
2918 elmo-msgdb-create-message-entity-from-file instead of
2919 elmo-msgdb-create-overview-entity-from-file.
2921 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2922 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2923 instead of elmo-msgdb-create-overview-from-buffer.
2924 (elmo-archive-msgdb-create-entity): Ditto.
2925 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2926 elmo-message-entity-field.
2927 (elmo-archive-parse-mmdf): Ditto.
2929 * modb-entity.el: Removed.
2931 * elmo-version.el (elmo-version): Up to 2.11.16.
2933 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2935 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2937 (elmo-folder-flag-as-answered): Ditto.
2939 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2941 * modb-standard.el: New file.
2943 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2944 elmo-msgdb-convert-type is `sync'.
2946 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2947 (elmo-msgdb-convert-type): New user option.
2949 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2950 (elmo-load-msgdb): Auto detect saved type.
2952 * elmo-version.el (elmo-version): Up to 2.11.15.
2954 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2956 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2958 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2959 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2960 with argument `delete-if-none' when dst-folder is 'null.
2962 * elmo-flag.el (elmo-folder-append-messages): Defined.
2963 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2965 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2967 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2969 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2971 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2972 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2973 (elmo-folder-commit): Ditto.
2975 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2977 * elmo-flag.el: New file.
2979 * elmo-mark.el: Removed.
2981 * modb-legacy.el (modb-legacy-new-mark,
2982 modb-legacy-unread-uncached-mark,
2983 modb-legacy-unread-cached-mark,
2984 modb-legacy-read-uncached-mark,
2985 modb-legacy-answered-cached-mark,
2986 modb-legacy-answered-uncached-mark,
2987 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2988 All other related portions are changed.
2990 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2991 (elmo-folder-list-messages-with-global-mark): Abolish.
2992 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2993 (elmo-folder-flag-as-important): Ditto.
2994 (elmo-folder-unflag-read): Ditto.
2995 (elmo-folder-flag-as-read): Ditto.
2996 (elmo-folder-unflag-answered): Ditto.
2997 (elmo-folder-flag-as-answered): Ditto.
2998 (elmo-message-encache): Return the cache path.
2999 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3000 (elmo-message-set-flag): Transitional implementation.
3001 (elmo-message-unset-flag): Ditto.
3002 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3003 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3004 (elmo-init): Call elmo-global-flag-initialize.
3005 (toplevel): Added autoload settings for elmo-flag.
3007 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3009 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3010 (elmo-file-cache-delete): Don't treat global-mark.
3012 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3014 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3016 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3017 `elmo-global-flags-set'.
3019 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3021 (elmo-folder-unflag-read): Ditto.
3022 (elmo-folder-unflag-important): Ditto.
3023 (elmo-folder-flag-as-important): Ditto.
3024 (elmo-folder-unflag-answered): Ditto.
3025 (elmo-folder-flag-as-answered): Ditto.
3027 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3028 `elmo-global-flags-set'.
3029 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3031 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3033 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3035 (elmo-folder-flag-as-important): Ditto.
3036 (elmo-folder-unflag-important): Ditto.
3037 (elmo-folder-flag-as-important): Ditto.
3038 (elmo-folder-unflag-read): Ditto.
3039 (elmo-folder-flag-as-read): Ditto.
3040 (elmo-folder-unflag-answered): Ditto.
3041 (elmo-folder-flag-as-answered): Ditto.
3043 * elmo-multi.el (elmo-folder-list-importants): Don't call
3044 elmo-folder-list-messages-with-global-mark.
3045 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3046 (elmo-folder-unflag-important): Ditto.
3047 (elmo-folder-flag-as-read): Ditto.
3048 (elmo-folder-unflag-read): Ditto.
3049 (elmo-folder-flag-as-answered): Ditto.
3050 (elmo-folder-unflag-answered): Ditto.
3052 * elmo-msgdb.el (elmo-msgdb-new-mark,
3053 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3054 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3055 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3056 (Moved to modb-legacy.el).
3057 (elmo-flag-table-get): Treat important flag too.
3059 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3061 (elmo-map-folder-flag-as-important): Ditto.
3062 (elmo-map-folder-unflag-read): Ditto.
3063 (elmo-map-folder-flag-as-read): Ditto.
3064 (elmo-map-folder-unflag-answered): Ditto.
3065 (elmo-map-folder-flag-as-answered): Ditto.
3066 (elmo-folder-unflag-important): Ditto.
3067 (elmo-folder-flag-as-important): Ditto.
3068 (elmo-folder-unflag-read): Ditto.
3069 (elmo-folder-flag-as-read): Ditto.
3070 (elmo-folder-unflag-answered): Ditto.
3071 (elmo-folder-flag-as-answered): Ditto.
3073 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3074 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3076 (elmo-map-folder-unflag-important): Ditto.
3077 (elmo-map-folder-flag-as-read): Ditto.
3078 (elmo-map-folder-unflag-read): Ditto.
3079 (elmo-map-folder-flag-as-answered): Ditto.
3080 (elmo-map-folder-unflag-answered): Ditto.
3082 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3083 `elmo-global-flags-set'.
3084 (elmo-global-flags-set): Added autoload setting.
3086 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3089 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3090 `elmo-msgdb-global-mark-set'.
3091 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3092 Call `elmo-global-flags-set'.
3093 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3095 (elmo-folder-flag-as-important-plugged): Ditto.
3096 (elmo-folder-unflag-read-plugged): Ditto.
3097 (elmo-folder-flag-as-read-plugged): Ditto.
3098 (elmo-folder-unflag-answered-plugged): Ditto.
3099 (elmo-folder-flag-as-answered-plugged): Ditto.
3100 (elmo-global-flags-set): Added autoload setting.
3102 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3104 (elmo-folder-unflag-read): Ditto.
3105 (elmo-folder-flag-as-important): Ditto.
3106 (elmo-folder-unflag-important): Ditto.
3107 (elmo-folder-flag-as-answered): Ditto.
3108 (elmo-folder-unflag-answered): Ditto.
3110 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3111 change of `mark'->`flag'.
3112 (elmo-dop-queue-method-name-alist): Ditto.
3113 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3114 (elmo-folder-unflag-read-dop): Ditto.
3115 (elmo-folder-flag-as-important-dop): Ditto.
3116 (elmo-folder-unflag-important-dop): Ditto.
3117 (elmo-folder-flag-as-answered-dop): Ditto.
3118 (elmo-folder-unflag-answered-dop): Ditto.
3120 * elmo-cache.el (elmo-folder-msgdb-create): Call
3121 `elmo-global-flags-set'.
3123 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3124 Call `elmo-global-flags-set'.
3125 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3126 elmo-archive-parse-mmdf with argument `folder'.
3127 (elmo-archive-parse-mmdf): Added argument `folder';
3128 Call `elmo-global-flags-set'.
3130 * elmo-version.el (elmo-version): Up to 2.11.14.
3132 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3134 * modb.el (elmo-msgdb-length): Define.
3136 * elmo.el (elmo-make-folder): Fixed.
3137 (elmo-generic-folder-append-messages): Follow the API change.
3139 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3142 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3144 * modb.el: New file.
3146 * modb-entity.el: Ditto.
3148 * modb-legacy.el: Ditto.
3150 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3151 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3152 of `elmo-msgdb-overview-get-entity'.
3153 (elmo-msgdb-get-field): Ditto.
3154 (elmo-msgdb-merge): Moved to `elmo.el'.
3155 (elmo-msgdb-length): Removed; redefine as modb method.
3156 (elmo-msgdb-change-mark): Abolish.
3157 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3158 (elmo-msgdb-match-condition): Don't use mark.
3159 (elmo-msgdb-overview-get-entity): Abolish.
3160 Split modb part into `modb*.el'.
3162 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3164 * elmo-shimbun.el (shimbun-mua-search-id): Use
3165 `elmo-msgdb-message-entity' instead of
3166 `elmo-msgdb-overview-get-entity'.
3167 (elmo-shimbun-folder-shimbun-header): Ditto.
3168 (elmo-shimbun-get-headers): Ditto.
3169 (elmo-shimbun-update-overview): Ditto.
3171 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3173 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3175 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3176 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3178 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3179 `elmo-msgdb-mark-to-flags'.
3181 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3182 `elmo-msgdb-set-path'.
3184 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3186 * elmo-version.el (elmo-version): Up to 2.11.13.
3188 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3190 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3193 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3195 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3198 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3200 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3201 instead of `elmo-msgdb-get-cached'.
3202 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3204 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3205 (elmo-msgdb-set-cached): Ditto.
3206 (elmo-msgdb-set-flag): Rewrite.
3207 (elmo-msgdb-unset-flag): Ditto.
3209 * elmo-msgdb.el: Rewrite with luna.
3211 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3212 (elmo-folder-msgdb): Follow the change above.
3213 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3214 (elmo-folder-unmark-important): Follow the API change.
3215 (elmo-folder-mark-as-important): Ditto.
3216 (elmo-folder-unmark-read): Ditto.
3217 (elmo-folder-mark-as-read): Ditto.
3218 (elmo-folder-unmark-answered): Ditto.
3219 (elmo-folder-mark-as-answered): Ditto.
3220 (elmo-folder-clear): Likewise.
3222 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3223 instead of `elmo-msgdb-load' (renamed).
3225 * elmo-version.el (elmo-version): Up to 2.11.12.
3227 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3229 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3231 (elmo-message-mark): Abolish.
3232 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3233 instead of `elmo-msgdb-change-mark'.
3235 * elmo-pipe.el (elmo-message-mark): Abolish.
3237 * elmo-multi.el (elmo-message-mark): Ditto.
3239 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3240 (elmo-msgdb-unread-uncached-mark): Ditto.
3241 (elmo-msgdb-unread-cached-mark): Ditto.
3242 (elmo-msgdb-read-uncached-mark): Ditto.
3243 (elmo-msgdb-answered-cached-mark): Ditto.
3244 (elmo-msgdb-answered-uncached-mark): Ditto.
3245 (elmo-msgdb-important-mark): Ditto.
3246 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3248 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3250 (elmo-flag-table-load): Changed flag to list of flag.
3251 (elmo-flag-table-set): If flags is nil, set read flag.
3252 (elmo-flag-table-get): Return derived flags from global mark,
3253 cache status and saved flags.
3254 (elmo-msgdb-flag-table): Follow the change above.
3255 (elmo-msgdb-out-of-date-messages): New function.
3257 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3259 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3261 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3263 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3264 (elmo-nntp-msgdb-create-message): Ditto.
3266 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3268 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3270 (elmo-folder-msgdb-create): Follow the API change.
3272 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3273 (elmo-folder-append-messages): Ditto.
3275 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3276 (elmo-folder-append-buffer): Ditto.
3278 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3280 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3282 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3283 (elmo-archive-parse-mmdf): Ditto.
3285 * elmo-version.el (elmo-version): Up to 2.11.11.
3287 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3289 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3292 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3294 * elmo-pipe.el (elmo-message-flags): Defined.
3296 * elmo-multi.el (elmo-message-flags): Ditto.
3298 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3300 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3301 `elmo-msgdb-delete-msgs'.
3303 * elmo.el (elmo-folder-count-flags): Don't use
3304 `elmo-msgdb-get-mark-alist'.
3305 (elmo-folder-detach-messages): Follow the API change.
3307 * elmo.el (elmo-folder-list-messages): Append killed messages into
3308 result if `visible-only' is nil.
3310 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3312 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3313 (elmo-folder-update-number): Likewise.
3315 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3316 (elmo-pop3-sort-msgdb-by-original-number): Use
3317 `elmo-msgdb-sort-entities'.
3319 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3320 (elmo-msgdb-sort-by-date): Use it.
3321 (elmo-msgdb-overview-sort-by-date): Abolish.
3323 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3325 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3326 (elmo-msgdb-flags): New function.
3327 (elmo-msgdb-merge): Use elmo-msgdb-append.
3329 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3332 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3334 * elmo-dop.el (elmo-folder-status-dop): Use
3335 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3337 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3339 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3341 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3343 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3345 * elmo-util.el (elmo-with-progress-display): New macro.
3347 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3349 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3351 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3352 `elmo-folder-list-message-entities' instead of
3353 `elmo-msgdb-get-overview'.
3354 (elmo-map-folder-list-message-locations): Ditto.
3356 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3357 methods instead of treat directly).
3358 (elmo-msgdb-clear): Ditto.
3359 (elmo-msgdb-delete-msgs): Ditto.
3360 (elmo-msgdb-sort-by-date): Ditto.
3362 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3364 (elmo-nntp-folder-msgdb-create): Follow the API change.
3366 * elmo-version.el (elmo-version): Up to 2.11.10.
3368 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3370 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3371 (elmo-msgdb-flags-to-mark): Ditto.
3372 (elmo-msgdb-append-entity): Ditto.
3374 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3375 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3376 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3377 (elmo-archive-parse-mmdf): Ditto.
3379 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3381 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3383 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3385 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3387 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3389 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3391 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3393 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3395 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3396 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3399 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3400 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3401 instead of directly construction.
3402 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3403 instead of construct msgdb.
3405 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3406 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3407 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3408 instead of construct msgdb.
3410 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3412 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3413 when field is from or subject.
3415 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3417 * elmo-multi.el (elmo-message-entity-parent): Define.
3418 (elmo-folder-search): Rewrite.
3420 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3422 * elmo-multi.el (elmo-message-cached-p): Define.
3424 * elmo.el (elmo-message-cached-p): New method.
3425 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3426 (elmo-message-flags): New method.
3427 (elmo-message-flagged-p): New function.
3429 * elmo-version.el (elmo-version): Up to 2.11.9.
3431 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3433 * elmo-version.el (elmo-version): Up to 2.11.8.
3435 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3437 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3439 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3441 * elmo.el (elmo-folder-detach-messages): Undo last change.
3443 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3445 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3447 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3448 only when src folder type is pop3.
3450 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3452 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3453 elmo-msgdb-overview-entity-get-number instead of
3454 elmo-message-entity-number.
3456 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3458 * elmo-version.el (elmo-version): Up to 2.11.7.
3460 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3462 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3465 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3466 (elmo-msgdb-merge): New function.
3467 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3468 (elmo-msgdb-make-index): Rewrite.
3470 * elmo-version.el (elmo-version): Up to 2.11.6.
3472 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3473 use it as a the path for loading message entities.
3475 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3477 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3479 * elmo-filter.el (elmo-folder-set-message-modified): Set
3480 message-modified slot of itself if it does not require target msgdb.
3482 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3483 if folder length is zero.
3484 (elmo-mime-display-as-is): Ditto.
3486 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3488 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3490 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3492 * elmo.el (elmo-folder-set-message-modified): New method.
3493 (elmo-generic-folder-commit): Use it.
3494 (elmo-folder-synchronize): Ditto.
3496 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3497 (elmo-folder-commit): Remove duplicate definition.
3499 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3501 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3503 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3505 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3506 (elmo-strict-folder-diff): Ditto.
3507 (elmo-folder-set-info-max-by-numdb): Simplify.
3509 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3510 elmo-msgdb-list-messages.
3512 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3513 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3515 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3517 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3518 visible-only is non-nil.
3519 (elmo-folder-confirm-appends): Changed message.
3520 (elmo-folder-synchronize): Added argument disable-killed.
3522 * elmo-multi.el (elmo-folder-synchronize): Added argument
3525 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3527 * elmo-version.el (elmo-version): Up to 2.11.5.
3529 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3532 * elmo-util.el (elmo-list-filter): Simplify.
3534 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3535 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3536 (elmo-generic-folder-diff): Abolish argument.
3537 (elmo-msgdb-load): Don't use number-alist.
3539 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3541 * elmo-pipe.el (elmo-folder-diff): Ditto.
3543 * elmo-nmz.el (elmo-folder-diff): Ditto.
3545 * elmo-net.el (elmo-folder-diff): Ditto.
3547 * elmo-maildir.el (elmo-folder-diff): Ditto.
3549 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3551 * elmo-multi.el (elmo-folder-diff): Ditto
3552 (elmo-multi-folder-diff): Rewrite.
3554 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3556 * elmo-pipe.el (elmo-folder-msgdb): Define.
3558 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3560 * elmo.el (elmo-message-set-cached): Define as a method.
3562 * elmo-pipe.el (elmo-message-set-cached): Define.
3563 (elmo-find-fetch-strategy): Ditto.
3565 * elmo-multi.el (elmo-message-set-cached): Define.
3566 (elmo-find-fetch-strategy): Rewrite.
3568 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3570 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3572 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3574 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3575 instead of number-alist.
3577 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3578 mark nor message-id when msgdb of source folder is not loaded.
3580 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3582 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3584 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3586 * elmo.el (elmo-folder-length): Don't require msgdb.
3588 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3590 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3591 (elmo-message-field): Ditto.
3593 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3594 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3596 (elmo-map-folder-list-answereds): Define.
3597 (elmo-maildir-list-location): Treat 'R' info.
3598 (elmo-folder-msgdb-create): Treat flag-table.
3599 (elmo-folder-append-messages): Save flag-table.
3601 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3603 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3604 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3606 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3608 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3610 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3611 'read when mark is null.
3613 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3615 * elmo-version.el (elmo-version): Up to 2.11.4.
3617 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3619 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3620 (elmo-folder-mark-as-answered): Ditto.
3622 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3624 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3625 (elmo-pop3-get-session): Make msgdb directory after session.
3626 (elmo-folder-exists-p): Check exactly at the first time even when the
3627 elmo-pop3-exists-exactly is nil.
3629 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3630 (elmo-folder-list-messages): Define instead of
3631 elmo-folder-list-messages-internal.
3632 (elmo-folder-check): Check destination folder.
3633 (elmo-folder-synchronize): Drain the pipe.
3635 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3636 when msgdb is not loaded.
3638 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3640 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3641 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3644 * elmo.el (elmo-folder-kill-messages-before): New function.
3645 (elmo-folder-kill-messages): Ditto.
3646 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3648 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3649 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3650 killed not by synchronize (e.g. scoring).
3652 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3654 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3656 (elmo-folder-search): Follow the change above.
3658 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3659 into the candidates of search field.
3661 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3663 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3664 (elmo-msgdb-unset-flag): Ditto.
3666 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3668 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3670 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3671 (elmo-folder-commit): Define.
3672 (elmo-folder-synchronize): Ditto.
3673 (elmo-folder-list-flagged): Ditto.
3674 (elmo-folder-commit): Ditto.
3675 (elmo-folder-length): Ditto.
3676 (elmo-folder-count-flags): Ditto.
3677 (elmo-message-mark): Ditto.
3678 (elmo-message-field): Ditto.
3679 (elmo-message-entity): Ditto.
3680 (elmo-message-folder): Ditto.
3682 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3684 * elmo.el (elmo-message-field): Define as a method.
3686 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3687 (elmo-message-field): Define.
3689 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3690 (elmo-folder-list-importants): Ditto.
3691 (elmo-folder-list-answereds): Ditto.
3693 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3695 (elmo-folder-mark-as-read): Ditto.
3696 (elmo-folder-unmark-read): Ditto.
3697 (elmo-folder-mark-as-answered): Ditto.
3698 (elmo-folder-unmark-answered): Ditto.
3699 (elmo-folder-list-flagged): Define.
3700 (elmo-folder-commit): Ditto.
3701 (elmo-folder-length): Ditto.
3702 (elmo-folder-count-flags): Ditto.
3704 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3706 * elmo.el (elmo-folder-detach-messages): New method.
3707 (elmo-folder-move-messages): Use it.
3708 (elmo-folder-synchronize): Ditto.
3710 * elmo-multi.el (elmo-folder-detach-messages): Define.
3712 * elmo.el (elmo-message-copy-entity): New function.
3713 (elmo-message-entity-set-number): Ditto.
3714 (elmo-message-mark): Define as method.
3716 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3717 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3718 (elmo-message-entity): Fixed last change.
3719 (elmo-message-mark): Define.
3720 (elmo-folder-msgdb-create): Abolish.
3721 (elmo-multi-folder-append-msgdb): Ditto.
3722 (elmo-multi-folder-diff): Fixed.
3723 (elmo-multi-split-number-alist): Removed.
3724 (elmo-multi-split-mark-alist): Removed.
3725 (elmo-folder-list-messages): Define.
3726 (elmo-folder-list-messages-internal): Removed.
3728 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3729 local file messages.
3730 (elmo-folder-msgdb-create): Fixed read mark.
3732 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3734 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3737 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3739 * elmo.el (elmo-folder-list-message-entities): Define as inline
3741 (elmo-folder-messages): Abolish.
3743 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3745 (elmo-folder-synchronize): Define.
3746 (elmo-message-entity): Define.
3748 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3750 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3751 elmo-imap4-session-select-mailbox.
3753 * elmo.el (elmo-folder-move-messages): Don't display any message.
3755 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3757 (elmo-imap4-session-check): Don't wait CHECK response.
3758 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3760 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3762 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3764 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3766 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3768 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3771 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3772 (elmo-folder-list-message-entities): Added argument in-msgdb and
3774 (elmo-folder-synchronize): Define as a method.
3776 * elmo-nntp.el (elmo-folder-initialize): Don't use
3777 elmo-nntp-default-user if zero-length username is specified
3780 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3782 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3783 server name in case with username.
3784 (XXX: this is ad-hoc fix against username includes "@", it
3785 should be solved fundamentally)
3787 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3789 * elmo-nntp.el (elmo-nntp-debug): New function.
3790 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3791 (elmo-network-authenticate-session): Hide auth-info from the log.
3793 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3794 user name if it is equal to elmo-nntp-default-user.
3796 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3798 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3799 instead of shimbun-server-internal;
3800 Use shimbun-current-group instead of shimbun-current-group-internal.
3801 (elmo-folder-plugged-p): Use shimbun-server instead of
3802 shimbun-server-internal.
3803 (elmo-folder-set-plugged): Ditto.
3804 (elmo-net-port-info): Ditto.
3805 (elmo-folder-check): Ditto.
3806 (elmo-folder-expand-msgdb-path): Ditto.
3807 (elmo-folder-list-subfolders): Ditto.
3809 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3811 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3812 Convert field-name to lower case.
3813 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3815 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3817 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3818 `message' and `error' take format string.
3820 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3822 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3824 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3826 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3827 recursive call (can't byte compile on emacs 20.7).
3829 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3831 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3832 (elmo-folder-list-message-entities): New API.
3833 (elmo-message-entity): Ditto.
3834 (elmo-message-entity-parent): Ditto.
3835 (elmo-folder-do-each-message-entity): Ditto.
3836 (elmo-message-entity-number): Ditto.
3837 (elmo-message-entity-field): Ditto.
3838 (elmo-message-entity-set-field): Ditto.
3839 (elmo-folder-count-flags): Ditto.
3840 (elmo-folder-length): Ditto.
3842 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3845 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3846 (elmo-msgdb-count-marks): Abolish.
3847 (elmo-msgdb-make-entity): Ditto.
3848 (elmo-msgdb-do-each-entity): Ditto.
3849 (elmo-msgdb-message-entity): New inline function.
3850 (elmo-msgdb-message-entity-field): Ditto.
3851 (elmo-msgdb-message-entity-set-field): Ditto.
3852 (elmo-msgdb-make-message-entity): New function.
3854 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3856 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3857 to flag. (All other related portions are changed.)
3858 (elmo-folder-msgdb-create): Likewise.
3859 (elmo-generic-folder-append-messages): Use flag-table instead of
3861 (elmo-folder-move-messages): Removed redundant process.
3862 (elmo-folder-synchronize): Likewise.
3864 * elmo-msgdb.el (elmo-flag-table-get): New function.
3865 (elmo-flag-table-save): Fixed.
3866 (elmo-msgdb-length): New inline function.
3867 (elmo-msgdb-flag-table): New function.
3868 (elmo-msgdb-mark): Add optional argument new.
3869 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3870 (elmo-msgdb-seen-list): Ditto.
3871 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3874 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3876 * elmo.el (elmo-message-set-mark): Abolish.
3877 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3878 (All related portions are changed.)
3880 * elmo-msgdb.el (toplevel): Added comment.
3881 (elmo-load-msgdb): Added 4th element `path'.
3882 (elmo-msgdb-append): Follow the change above.
3883 (elmo-msgdb-clear): Ditto.
3884 (elmo-msgdb-delete-msgs): Ditto.
3885 (elmo-msgdb-get-path): New inline function.
3886 (elmo-msgdb-set-path): Ditto.
3887 (elmo-flag-table-filename): New variable.
3888 (elmo-flag-table-load): New function.
3889 (elmo-flag-table-set): Ditto.
3890 (elmo-flag-table-save): Ditto.
3891 (elmo-msgdb-get-field-value): Abolish.
3892 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3894 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3896 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3897 the folder has been deleted successfully.
3898 * elmo-imap4.el (elmo-folder-delete): Ditto.
3899 * elmo-archive.el (elmo-folder-delete): Ditto.
3900 * elmo-localdir.el (elmo-folder-delete): Ditto.
3901 * elmo-maildir.el (elmo-folder-delete): Ditto.
3903 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3905 * elmo-util.el (elmo-string-member-ignore-case): New function.
3906 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3907 (elmo-imap4-fetch-callback-1-subr): Likewise.
3909 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3911 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3912 the case of the name attribute "\Noselect".
3914 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3916 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3918 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3919 flist, is not always a member of onum-alist.
3921 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3923 * elmo-version.el (elmo-version): Up to 2.11.3.
3925 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3927 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3928 copied from localdir's one.
3930 * elmo-pipe.el (elmo-folder-rename): New method, rename
3931 destination folder with leaving source folder as it is.
3933 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3935 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3938 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3940 * elmo-version.el (elmo-version): Up to 2.11.2.
3942 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3944 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3945 shimbun-open in case of "@".
3946 (elmo-folder-open-internal): Cope with shimbun = nil case.
3947 (elmo-folder-plugged-p): Ditto.
3948 (elmo-folder-list-subfolders): Make list for "@/" group.
3950 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3952 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3953 mailbox (e.g. for %~/something).
3955 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3957 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3958 Replace nested conditional with guard clauses.
3960 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3962 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3965 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3968 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3970 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3971 Replace nested conditional with guard clauses.
3973 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3975 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3976 (elmo-passwd-alist-save): Ditto.
3977 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3979 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3981 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3982 dir-name only if it is absolute path.
3983 (TODO: distinguish +/something and +something)
3985 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3987 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3988 path for "+~/something".
3990 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3992 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3993 as non-directory, cause error before rename-file.
3994 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3995 apropriately, mimic localdir's one.
3996 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3998 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4000 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4002 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4004 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4006 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4008 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4009 is included in the global-mark or not.
4011 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4013 * utf7.el (toplevel): Avoid error when the function
4014 find-coding-system does not exist.
4016 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4018 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4019 cache even if the folder is plugged.
4020 (elmo-nntp-search-primitive): Do nothing when body search is
4021 invoked (although it is not used by the change above).
4022 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4024 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4026 * elmo-version.el (elmo-version): Up to 2.11.1.
4028 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4030 * elmo-archive.el: Specify charset.
4032 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4034 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4035 process buffer lives or not.
4037 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4038 while flushing queues (It causes infinite loop).
4040 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4042 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4044 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4046 * utf7.el (toplevel): Check the ucs features dynamically.
4047 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4049 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4050 folder is creatabe or not if it already exists.
4052 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4054 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4056 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4058 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4059 (elmo-imap4-read-response): Take care of garbage response.
4061 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4063 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4064 just return nil instead of error.
4066 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4068 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4069 search-key is "body".
4071 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4073 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4074 of elmo-string-matched-assoc to use match-data.
4075 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4077 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4079 * elmo-split.el (elmo-split->): New function.
4080 (elmo-split-<): Ditto.
4082 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4084 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4085 workaround for invalid message-id.
4087 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4089 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4090 return normal pop3 session or pop3 biff session.
4092 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4094 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4095 info part to the cur files when the new files already have it.
4096 (Adviced by Jared Rhine <jared@wordzoo.com>)
4098 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4100 * elmo-split.el (elmo-split-default-action): New variable.
4101 (elmo-split-subr): Use it if all other conditions are passed.
4102 Extend `fname' and rename it as `action'. (implemented
4103 Teranishi-san's idea in [wl:10800])
4105 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4107 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4108 * elmo-util.el: Ditto.
4110 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4112 * elmo.el (elmo-message-accessible-p): Renamed from
4113 elmo-message-cached-p and rewritten.
4115 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4117 * elmo.el (elmo-folder-list-flagged): New generic function.
4118 (elmo-folder-list-importants): New implementation.
4119 (elmo-folder-list-answereds): Ditto.
4120 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4122 (elmo-message-cached-p): New function.
4123 (elmo-message-set-flag): Ditto (no content).
4124 (elmo-message-unset-flag): Ditto.
4125 (elmo-folder-list-messages-mark-match): Abolish.
4127 * elmo-util.el (elmo-regexp-opt): New function.
4129 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4130 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4132 (elmo-msgdb-list-flagged): New function.
4134 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4135 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4138 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4140 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4142 * elmo-version.el (elmo-version): Up to 2.11.0.
4144 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4146 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4147 `elmo-file-cache-exists-p'; use proper mark that depends on
4149 (elmo-msgdb-unset-flag): Ditto.
4150 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4152 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4153 with 4th argument `use-cache'.
4155 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4157 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4158 (elmo-folder-mark-as-important): Ditto.
4159 (elmo-folder-unmark-read): Ditto.
4160 (elmo-folder-mark-as-read): Ditto.
4161 (elmo-folder-unmark-answered): Ditto.
4162 (elmo-folder-mark-as-answered): Ditto.
4164 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4166 (elmo-msgdb-mark): Likewise.
4167 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4168 (elmo-msgdb-unset-flag): Likewise.
4170 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4172 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4174 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4177 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4179 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4180 set spool-length to 0.
4182 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4184 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4185 (elmo-dop-queue-flush): Fixed last change.
4187 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4189 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4190 if require-msgdb slot is nil.
4191 (elmo-folder-list-importants): Likewise.
4193 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4195 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4198 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4199 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4202 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4204 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4206 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4208 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4210 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4212 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4214 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4215 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4217 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4219 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4220 the problem reported by Sean Rima [wl-en:180].
4222 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4224 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4226 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4228 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4230 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4232 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4234 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4236 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4238 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4240 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4243 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4245 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4246 (elmo-folder-mark-as-read): Follow the API change.
4247 (elmo-message-set-cached): New function.
4249 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4251 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4253 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4254 (elmo-folder-mark-as-important): Ditto.
4255 (elmo-folder-unmark-read): Ditto.
4256 (elmo-folder-mark-as-read): Ditto.
4257 (elmo-folder-unmark-answered): Ditto.
4258 (elmo-folder-mark-as-answered): Ditto.
4260 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4261 (elmo-folder-unmark-important): Ditto.
4262 (elmo-folder-mark-as-read): Ditto.
4263 (elmo-folder-unmark-read): Ditto.
4264 (elmo-folder-mark-as-answered): Ditto.
4265 (elmo-folder-unmark-answered): Ditto.
4267 * elmo-mark.el (toplevel): Removed some mark method definitions.
4269 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4270 (elmo-map-folder-mark-as-answered): Ditto.
4271 (elmo-folder-unmark-important): Add :before qualifier.
4272 (elmo-folder-mark-as-important): Ditto.
4273 (elmo-folder-unmark-read): Ditto.
4274 (elmo-folder-mark-as-read): Ditto.
4275 (elmo-folder-unmark-answered): Define.
4276 (elmo-folder-mark-as-answered): Ditto.
4278 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4279 (elmo-map-folder-unmark-answered): Ditto.
4281 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4283 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4284 (elmo-folder-mark-as-important): Ditto.
4285 (elmo-folder-unmark-read): Ditto.
4286 (elmo-folder-mark-as-read): Ditto.
4287 (elmo-folder-unmark-answered): Ditto.
4288 (elmo-folder-mark-as-answered): Ditto.
4290 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4291 `mark'; evaluate mark condition.
4292 (elmo-msgdb-match-condition-internal): New function.
4293 (elmo-msgdb-match-condition): Call it; changed argument.
4295 * elmo.el (elmo-folder-search): Follow the API change on
4296 `elmo-msgdb-match-condition'.
4298 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4300 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4301 original mark is non-nil.
4303 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4305 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4306 (elmo-map-folder-list-answereds): New method.
4307 (elmo-folder-list-unreads): Add :around qualifier.
4308 (elmo-folder-list-importants): Ditto.
4309 (elmo-folder-list-answereds): Ditto.
4311 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4313 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4315 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4316 method if msgdb is not required.
4317 (elmo-filter-folder-list-importants): Don't treat global-mark.
4319 * elmo.el (elmo-folder-list-importants): Ditto.
4321 * elmo-net.el (elmo-folder-list-importants): Ditto.
4323 * elmo-map.el (elmo-folder-list-importants): Ditto.
4325 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4327 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4328 (elmo-imap4-folder-list-any-plugged): New function.
4329 (elmo-imap4-search-internal-primitive): Use it.
4331 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4332 only when require-msgdb slot is non-nil.
4333 (elmo-folder-close): Clear target folder's msgdb.
4335 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4337 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4338 (elmo-pop3-msgdb-create-by-header): Ditto.
4339 (elmo-pop3-msgdb-create-message): Ditto.
4341 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4343 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4345 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4347 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4348 (elmo-folder-msgdb-create): Ditto.
4349 (elmo-nntp-folder-msgdb-create): Ditto.
4350 (elmo-nntp-msgdb-create-by-header): Ditto.
4351 (elmo-nntp-msgdb-create-message): Ditto.
4352 (elmo-folder-list-unreads): Define.
4354 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4355 (elmo-folder-append-messages): Ditto.
4356 (elmo-folder-list-unreads): Define.
4357 (elmo-folder-list-importants): Ditto.
4358 (elmo-folder-list-answereds): Ditto.
4360 * elmo-net.el (elmo-folder-list-unreads): Define.
4361 (elmo-folder-list-importants): Ditto.
4362 (elmo-folder-list-answereds): Ditto.
4363 (elmo-folder-list-answereds-plugged): Ditto.
4364 (elmo-folder-msgdb-create): Follow the API change.
4365 (elmo-folder-msgdb-create-unplugged): Ditto.
4366 (elmo-folder-unmark-answered): Define.
4367 (elmo-folder-mark-as-answered-unplugged): Ditto.
4368 (elmo-folder-unmark-answered-unplugged): Ditto.
4370 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4371 (elmo-msgdb-unread-uncached-mark): Ditto.
4372 (elmo-msgdb-unread-cached-mark): Ditto.
4373 (elmo-msgdb-read-uncached-mark): Ditto.
4374 (elmo-msgdb-answered-cached-mark): Ditto.
4375 (elmo-msgdb-answered-uncached-mark): Ditto.
4376 (elmo-msgdb-important-mark): Ditto.
4377 (elmo-msgdb-set-mark): Rewrite.
4378 (elmo-msgdb-count-marks): Rewrite.
4379 (elmo-msgdb-mark-alist-set): Abolish.
4380 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4381 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4383 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4384 (elmo-folder-close): Define.
4385 (elmo-folder-msgdb-create): Follow the API change.
4386 (elmo-folder-list-unreads): Rewrite.
4387 (elmo-folder-mark-as-important): Ditto.
4388 (elmo-folder-unmark-important): Ditto.
4389 (elmo-folder-mark-as-read): Ditto.
4390 (elmo-folder-unmark-read): Ditto.
4391 (elmo-folder-mark-as-answered): Define.
4392 (elmo-folder-unmark-answered): Ditto.
4394 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4395 (elmo-folder-append-messages): Ditto.
4397 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4399 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4400 (elmo-folder-list-importants): Ditto.
4402 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4403 (elmo-folder-append-messages): Ditto.
4405 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4407 (elmo-folder-msgdb-create-plugged): Ditto.
4408 (elmo-folder-append-messages): Ditto.
4409 (elmo-folder-list-answereds-plugged): Define.
4410 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4411 (elmo-folder-unmark-answered-plugged): Define.
4412 (elmo-folder-mark-as-answered-plugged): Ditto.
4413 (elmo-folder-search-requires-msgdb-p): Ditto.
4415 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4416 (elmo-folder-initialize): Set it.
4417 (elmo-folder-msgdb): Define.
4418 (elmo-folder-check): Call elmo-folder-synchronize.
4419 (elmo-folder-close): Define.
4420 (elmo-folder-commit): Ditto.
4421 (elmo-folder-msgdb-create): Rewrite.
4422 (elmo-folder-list-unreads): Ditto.
4423 (elmo-folder-list-importants): Ditto.
4424 (elmo-folder-mark-as-read): Ditto.
4425 (elmo-folder-unmark-read): Ditto.
4426 (elmo-folder-mark-as-important): Ditto.
4427 (elmo-folder-unmark-important): Ditto.
4428 (elmo-folder-mark-as-answered): Define.
4429 (elmo-folder-unmark-answered): Ditto.
4431 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4432 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4433 (elmo-dop-queue-method-name-alist): Likewise.
4434 (elmo-folder-mark-as-answered-dop): New inline function.
4435 (elmo-folder-unmark-answered-dop): Ditto.
4436 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4438 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4439 (elmo-folder-msgdb-create): Ditto.
4440 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4441 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4442 (elmo-archive-parse-mmdf): Ditto.
4444 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4445 (elmo-folder-list-unreads-internal): Ditto.
4447 * elmo.el (elmo-folder-msgdb): Define as generic function.
4448 (elmo-folder-list-messages): Added argument `in-msgdb'.
4449 (elmo-folder-list-unreads): Define as generic function.
4450 (elmo-folder-list-importants): Ditto.
4451 (elmo-folder-list-answereds): Ditto.
4452 (elmo-folder-list-messages-with-global-mark): New function.
4453 (elmo-folder-msgdb-create): Removed mark arguments.
4454 (elmo-folder-unmark-answered): New generic function.
4455 (elmo-folder-mark-as-answered): Ditto.
4456 (elmo-folder-append-messages): Removed argunment `unread-marks'
4457 (elmo-folder-list-unreads-internal): Abolish.
4458 (elmo-folder-list-importants-internal): Ditto.
4459 (elmo-folder-search-requires-msgdb-p): New generic function.
4460 (elmo-folder-search-requires-msgdb-p-internal): New function.
4461 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4463 (elmo-folder-search-fast): Added key 'mark'.
4464 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4465 instead of unread-marks argument.
4466 (elmo-folder-move-messages): Removed argunment `unread-marks'
4467 (elmo-folder-unmark-important): Define.
4468 (elmo-folder-mark-as-important): Ditto.
4469 (elmo-folder-unmark-read): Ditto.
4470 (elmo-folder-mark-as-read): Ditto.
4471 (elmo-folder-unmark-answered): Ditto.
4472 (elmo-folder-mark-as-answered): Ditto.
4473 (elmo-folder-replace-marks): Abolish.
4474 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4476 (elmo-folder-synchronize): Removed mark arguments;
4477 return crosspost only number.
4479 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4481 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4482 Remove redundunt connectivity check.
4484 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4486 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4487 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4489 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4491 * pldap.el (ldap-decode-string): Return string as-is if
4492 `ldap-coding-system' is nil.
4493 (ldap-encode-string): Ditto.
4494 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4495 (ldap-default-host): Fixed docstring.
4497 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4499 * elmo-util.el (elmo-warning): Define as a macro which uses
4500 `display-warning' if it is defined as a function.
4502 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4503 (elmo-split-equal): Use it.
4504 (elmo-split-match): Ditto.
4505 (elmo-split-message-entity): New buffer-local variable.
4506 (elmo-split-subr): Set it.
4508 * elmo-version.el (elmo-version): Up to 2.9.15.
4510 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4512 * elmo-imap4.el (elmo-network-initialize-session):
4513 Check capability after starttls.
4515 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4517 * elmo-util.el (elmo-list-delete): Added optional argument
4520 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4522 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4524 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4526 * elmo-imap4.el (elmo-folder-initialize): Don't use
4527 elmo-imap4-default-mailbox.
4529 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4531 * elmo-split.el (toplevel): Use `product-provide'.
4532 (elmo-split): Checkdoc.
4534 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4536 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4537 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4538 the function `elmo-imap4-debug-1'.
4540 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4542 * elmo-split.el (elmo-split): Moved to run hooks and to show
4543 message from elmo-split-subr.
4544 (elmo-split-subr): Follow the change above.
4546 * elmo-split.el (elmo-split-subr): New function (renamed from
4548 (elmo-split): Changed to call elmo-split-subr by element of
4550 (elmo-split-folder): Changed customization type to choice.
4552 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4554 * elmo-split.el (elmo-split-and): Fixed condition.
4556 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4558 * elmo-split.el: New file.
4559 (elmo-split): Fixed logic.
4560 Display "Test:" instead of "Folder:" when reharsal.
4562 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4565 * elmo-version.el (elmo-version): Up to 2.9.14.
4567 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4570 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4572 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4573 message with no message-id field.
4575 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4577 * elmo-version.el (elmo-version): Up to 2.9.13.
4579 * elmo-dop.el (elmo-folder-status-dop): Fix.
4581 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4583 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4585 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4586 changing default value of default-mime-charset.
4587 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4589 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4591 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4592 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4593 instead of elmo-dop-queue-method-name-alist to check merging queue.
4594 (elmo-folder-delete-messages-dop): Delete from queue if negative
4596 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4597 file is already removed.
4599 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4601 * elmo-vars.el: Bind colon keywords for old Emacsen.
4603 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4605 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4606 against non-exsisting charset.
4608 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4610 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4611 Use eword-decode-and-unfold-unstructured-field-body.
4613 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4614 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4615 exists to decode raw subject string.
4616 (toplevel): Require 'mime.
4618 * elmo-version.el (elmo-version): Up to 2.9.12.
4620 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4622 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4623 (elmo-msgdb-set-mark): Ditto.
4625 * elmo-version.el (elmo-version): Up to 2.9.11.
4627 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4629 * elmo-util.el (elmo-delete-match-files): New function.
4631 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4632 instead of elmo-delete-directory.
4634 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4635 elmo-hash-minimun-size as 63.
4637 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4638 elmo-diff-unread is nil.
4640 * elmo-imap4.el (elmo-folder-open): Fix.
4642 * elmo.el (elmo-message-mark): Rewrite.
4643 (elmo-message-field): Ditto.
4644 (elmo-message-set-mark): Ditto.
4645 (elmo-folder-replace-marks): New function.
4646 (elmo-generic-folder-append-msgdb): Removed third argument for
4648 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4649 (elmo-msgdb-load): New implementation.
4651 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4653 * elmo-util.el (elmo-list-insert): New implementation.
4655 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4656 argument for elmo-msgdb-append.
4659 * elmo-msgdb.el (elmo-load-msgdb): New function.
4660 (elmo-make-msgdb): Ditto.
4661 (elmo-msgdb-get-index): New inline function.
4662 (elmo-msgdb-set-index): Ditto.
4663 (elmo-msgdb-get-entity-hashtb): Ditto.
4664 (elmo-msgdb-get-mark-hashtb): Ditto.
4665 (elmo-msgdb-get-mark): Ditto.
4666 (elmo-msgdb-set-mark): Ditto.
4667 (elmo-msgdb-count-marks): Ditto.
4668 (elmo-msgdb-get-number): Ditto.
4669 (elmo-msgdb-get-field): Ditto.
4670 (elmo-msgdb-seen-list): Ditto.
4671 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4672 (elmo-msgdb-delete-msgs): Follow the changes above.
4673 (elmo-msgdb-overview-get-entity): Ditto.
4674 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4675 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4677 (elmo-msgdb-make-index): Likewise.
4678 (elmo-msgdb-append): Removed third argument.
4679 (elmo-msgdb-clear): Clear index as nil.
4680 (elmo-folder-set-info-hashtb): Removed.
4681 (elmo-folder-set-info-max-by-numdb): Ditto.
4682 (elmo-folder-info-make-hashtb): Ditto.
4684 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4686 * elmo-map.el (elmo-folder-pack-number): Ditto.
4688 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4690 * elmo-version.el (elmo-version): Up to 2.9.10.
4692 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4694 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4696 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4698 * elmo-utils.el (elmo-make-directory): Add option.
4699 Default file mode is 700.
4701 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4703 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4705 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4707 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4710 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4713 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4715 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4716 (elmo-shimbun-folder-entity-hash): New function.
4717 (elmo-shimbun-folder-shimbun-header): Ditto.
4718 (elmo-shimbun-entity-to-header): Ditto.
4719 (elmo-shimbun-msgdb-to-headers): Removed.
4720 (elmo-shimbun-folder-setup): Ditto.
4721 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4723 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4724 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4725 Removed useless local bind.
4726 (elmo-folder-open-internal): Don't call
4727 `elmo-shimbun-folder-setup'.
4728 (elmo-folder-close-internal): Clear entity-hash slot.
4729 (elmo-folder-clear): Ditto.
4730 (elmo-shimbun-msgdb-create-entity): Use
4731 `elmo-shimbun-folder-shimbun-header'.
4732 (elmo-map-message-fetch): Ditto.
4733 (elmo-shimbun-update-overview): Use overview entity instead of
4734 shimbun header to lookup id by references.
4735 (elmo-map-folder-list-message-locations): Use not only headers but
4736 also overviews to list locations.
4738 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4740 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4743 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4745 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4747 * elmo-util.el (elmo-read-search-condition-internal): Give default
4750 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4752 * elmo-util.el (elmo-condition-parse-search-value): Accept
4753 YYYY-MM-DD format to search.
4754 * elmo-date.el (elmo-date-get-datevec): Likewise.
4756 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4758 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4761 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4763 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4766 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4768 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4769 case from `elmo-folder-exists-p'.
4770 (elmo-folder-exists-p): Removed.
4771 (elmo-folder-creatable-p) Ditto.
4773 * elmo-net.el (elmo-folder-create): Defined.
4774 (elmo-folder-create-unplugged): New function.
4775 (elmo-folder-exists-p): Changed default value to nil from t.
4777 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4778 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4780 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4781 `elmo-create-folder-dop' and append queue
4782 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4783 (elmo-folder-create-dop-delayed): New function.
4785 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4787 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4789 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4790 (elmo-folder-writable-p) : Ditto.
4792 * elmo-version.el (elmo-version): Up to 2.9.9.
4794 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4796 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4797 `elmo-message-use-cache-p' returns nil.
4798 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4799 (ignore cache file and refer the substance in local folders)
4801 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4803 * elmo-version.el (elmo-version): Up to 2.9.8.
4805 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4807 * elmo-version.el (elmo-version): Up to 2.9.7.
4809 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4811 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4813 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4815 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4817 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4819 (elmo-map-folder-list-message-locations): Reverse location list.
4821 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4823 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4825 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4827 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4829 (elmo-nntp-folder-list-subfolders): Follow the change above.
4831 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4833 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4834 name if authentication type is specified.
4836 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4838 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4840 (elmo-default-nntp-stream-type): Ditto.
4841 (elmo-default-pop3-stream-type): Ditto.
4843 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4845 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4847 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4849 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4851 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4853 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4854 (elmo-maildir-folder-path): Ditto.
4855 (elmo-maildir-list): Ditto (abolished).
4857 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4859 * elmo-version.el (elmo-version): Up to 2.9.6.
4861 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4863 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4864 (elmo-maildir-folder-path): Ditto.
4865 (elmo-msgdb-directory): Ditto.
4866 (elmo-passwd-life-time): Ditto.
4867 (elmo-msgdb-extra-fields): Ditto.
4868 (elmo-enable-disconnected-operation): Ditto.
4870 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4872 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4874 (elmo-pop3-default-authenticate-type): Ditto.
4876 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4878 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4880 (elmo-pop3-default-authenticate-type): Ditto.
4882 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4884 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4885 mailbox to new-folder.
4887 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4889 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4890 less than new, set new as unread.
4892 * elmo-util.el (elmo-string): Don't put text-property if nil.
4894 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4896 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4897 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4899 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4901 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4902 is nil on `completing-read'.
4904 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4906 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4908 (elmo-imap4-parse-namespace-subr): Ditto.
4909 (elmo-folder-list-subfolders): Append a delimiter when the specified
4910 folder path is a root with namespace and does not end with delimiter.
4912 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4914 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4917 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4919 * elmo-util.el (elmo-save-buffer): The first argument of message
4920 is a format control string.
4922 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4924 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4925 `elmo-folder-diff').
4926 (elmo-diff-unread): Likewise.
4928 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4930 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4931 is t on `completing-read'.
4933 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4935 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4936 method of target folder with self mark-alist if MARK-ALIST is nil.
4938 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4940 * elmo-version.el (elmo-version): Up to 2.9.5.
4942 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4944 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4945 (elmo-dop-merge-funcs): Remove.
4947 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4949 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4950 Return t if PATH is directory, too.
4951 Use `dolist' instead of while loop.
4953 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4955 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4958 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4960 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4962 (elmo-folder-list-messages-unplugged): Return t if
4963 elmo-enable-disconnected-operation is nil.
4965 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4966 `elmo-folder-list-messages-internal'.
4968 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4970 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4971 Change to looking-at `[23][0-9]+'.
4972 (elmo-network-initialize-session): Use 'error-msg'
4973 * elmo-net.el (elmo-network-open-session): Set unplugged
4974 if elmo-network-initialize-session returns 'elmo-open-err.
4976 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4978 * elmo-version.el (elmo-version): Up to 2.9.4.
4980 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4982 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4983 `elmo-folder-list-messages-internal'.
4985 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4987 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4988 (elmo-message-match-condition): New method.
4989 (elmo-folder-search-fast): New inline function.
4990 (elmo-msgdb-search): Removed.
4992 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4993 target folder if it is unplugged.
4994 (elmo-folder-list-messages-internal): Return t if target folder is
4995 unplugged and itself is persistent; In this case, use list be
4998 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4999 (elmo-msgdb-search-internal-primitive): Ditto.
5000 (elmo-msgdb-match-condition): New function.
5001 (elmo-msgdb-match-condition-primitive): Ditto.
5003 * elmo-util.el (elmo-filter-condition-p): New macro.
5005 * elmo-cache.el (elmo-folder-search): Removed.
5007 * elmo-localdir.el (elmo-folder-search): Ditto.
5009 * elmo-maildir.el (elmo-folder-search): Ditto.
5011 * elmo-mark.el (elmo-folder-search): Ditto.
5013 * elmo-nmz.el (elmo-folder-search): Ditto.
5015 * elmo-sendlog.el (elmo-folder-search): Ditto.
5017 * elmo-shimbun.el (elmo-folder-search): Ditto.
5019 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5020 if folder is unplugged.
5022 * elmo-nntp.el (elmo-folder-search): Likewise.
5023 (elmo-nntp-search-internal): New function.
5025 * elmo-version.el (elmo-version): Up to 2.9.3.
5027 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5029 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5031 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5033 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5035 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5037 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5039 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5041 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5042 (elmo-map-folder-list-message-locations): Do drive letter conversion
5043 on Windows environment.
5044 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5045 (elmo-map-message-fetch): Ditto.
5047 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5049 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5050 (elmo-network-initialize-session): Ditto.
5052 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5054 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5056 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5058 * elmo-util.el (elmo-progress-clear): Ditto.
5060 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5061 `DD-Mon-YYYY' type date.
5063 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5065 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5066 `elmo-date-make-sortable-string' instead of
5067 `timezone-make-date-sortable'.
5069 * elmo-date.el (elmo-date-make-sortable-string): Use
5070 `timezone-make-time-string'.
5072 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5074 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5076 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5077 `since'; Fix timezone.
5079 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5081 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5083 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5085 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5087 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5089 * elmo.el (elmo-generic-folder-append-messages): Make
5090 fetch-strategy with `use-cache' as 'maybe. Check return value of
5091 `elmo-message-fetch'.
5092 (elmo-message-fetch): Return return value of
5093 `elmo-message-fetch-with-cache-process'.
5094 (elmo-message-fetch-with-cache-process): Return non-nil if
5095 fetching was succeed. Load cache when fetching was failed and
5096 fetch-strategy-use-cache is 'maybe.
5098 * elmo-util.el (elmo-file-cache-load): New function.
5100 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5103 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5104 non-nil if fetching was succeed.
5106 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5108 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5110 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5111 (elmo-message-fetch-with-cache-process): Likwise.
5113 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5115 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5117 * elmo-version.el (elmo-version): Up to 2.9.2.
5119 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5121 * elmo.el (elmo-folder-delete): Delete msgdb path.
5123 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5125 * elmo-maildir.el (elmo-folder-delete): Ditto.
5127 * elmo-localdir.el (elmo-folder-delete): Ditto.
5129 * elmo-imap4.el (elmo-folder-delete): Ditto.
5131 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5133 * elmo.el (luna-define-class): Added `biff' slot.
5135 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5136 (elmo-pop3-debug-inhibit-logging): Abolished.
5137 (elmo-network-close-session): Eliminated needless let.
5138 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5139 (elmo-pop3-send-command): Added `no-log' argument.
5140 (elmo-pop3-process-filter): Use `with-current-buffer'.
5141 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5143 (elmo-pop3-auth-apop): Likewise.
5144 (elmo-network-authenticate-session): Likewise.
5146 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5149 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5150 string to determine protocol.
5151 (elmo-network-session-name-prefix): Abolished.
5152 (elmo-network-session-cache-key): Follow the change above.
5153 (elmo-network-open-session): Ditto.
5155 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5156 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5158 * elmo-version.el (elmo-version): Up to 2.9.1.
5160 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5161 unmatch condition checking.
5163 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5166 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5168 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5170 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5172 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5173 test for while loop to execute at least one SEARCH command.
5175 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5177 * elmo-version.el (elmo-version): Up to 2.9.0.
5179 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5181 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5182 (elmo-archive-folder-path): Define.
5183 (elmo-folder-initialize): Setup `dir-name' slot.
5184 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5185 Use `dir-name' as prefix of each subfolders.
5186 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5188 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5190 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5191 (elmo-pipe-folder-list-target-messages): New internal function.
5192 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5194 (elmo-pipe-folder-copied-list-load): New function.
5195 (elmo-pipe-folder-copied-list-save): Ditto.
5196 (elmo-folder-open-internal): Follow the change above.
5197 (elmo-folder-status): Fixed for copy.
5199 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5201 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5203 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5205 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5206 elmo-copy-file instead of elmo-add-name-to-file.
5208 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5210 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5213 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5214 of accept-process-output as 1.
5215 (elmo-pop3-read-contents): Ditto.
5216 (elmo-pop3-read-body): Ditto.
5218 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5220 * elmo-version.el (product-version-as-string): Remove define.
5222 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5224 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5225 (elmo-imap4-copy-messages): Chop number set using
5226 `elmo-imap4-number-set-chop-length'.
5227 (elmo-imap4-set-flag): Ditto.
5228 (elmo-imap4-search-internal-primitive): Ditto.
5230 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5232 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5233 `elmo-folder-make-temp-dir'
5235 * elmo-vars.el (elmo-cache-directory): New variable.
5236 (elmo-cache-dir): Abolished.
5237 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5239 * elmo-version.el (elmo-version): Up to 2.7.7.
5241 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5243 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5244 defcustom; Set default value as t.
5246 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5248 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5249 (ldap-search-program-arguments): Changed default value.
5250 (ldap-search-basic): Accept exit status 4.
5251 (ldap/field-body): Parse options.
5252 (ldap/collect-field): Ditto.
5253 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5255 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5256 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5257 (elmo-imap4-accept-ok): Ditto.
5258 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5259 'notify-bye, only BYE error is reported.
5260 (elmo-folder-exists-p-plugged): Set no-error argument of
5261 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5263 * elmo.el (elmo-imap4-bye-error): Changed message.
5265 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5266 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5267 queues (It causes infinite loop).
5269 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5271 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5272 (RECENT UNSEEN MESSAGES) extension.
5274 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5276 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5277 Check number of overview fields.
5279 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5281 * elmo.el (elmo-folder-confirm-appends): Changed message.
5282 (elmo-folder-confirm-appends): Ditto.
5284 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5286 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5288 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5290 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5291 of elmo-folder-update-threshold is nil, which can be set by
5292 wl-summary-update-confirm-threshold.
5294 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5296 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5297 (elmo-nmz-index-alias-alist): Ditto.
5298 (elmo-map-folder-list-message-locations): Follow the change above.
5300 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5302 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5304 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5306 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5308 * elmo-util.el (elmo-read): Ditto.
5309 (elmo-display-error): Ditto.
5311 * elmo-vars.el (elmo-date-match): Ditto.
5313 * pldap.el (ldap-coding-system): Ditto.
5315 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5316 `elmo-inhibit-number-mapping' as nil.
5318 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5320 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5321 space delimiter for list response.
5323 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5325 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5327 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5329 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5330 (elmo-map-message-fetch): Fix.
5331 * elmo-map.el (elmo-folder-status): Fix for killed.
5333 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5335 * elmo-sendlog.el: New file.
5336 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5338 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5340 * acap.el (acap-logging-out): New buffer local variable.
5341 (acap-close): Set it.
5342 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5345 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5347 * acap.el (acap-response-bye-p): New function.
5348 (acap-response-bye-message): Ditto.
5349 (acap-wait-for-response): If bye response is received, cause an error.
5350 (acap-parse-response): Make bye response when 'Bye' is received.
5352 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5354 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5356 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5358 * elmo-util.el (elmo-copy-file): Added argument
5359 `ok-if-already-exists'.
5360 (elmo-copy-file): Fixed typo.
5362 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5364 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5366 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5368 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5370 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5372 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5375 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5377 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5378 (elmo-folder-initialize): Fix for `copy'.
5379 (elmo-pipe-drain): Ditto.
5380 (elmo-folder-open-internal): Ditto.
5381 (elmo-folder-newsgroups): Fix.
5383 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5385 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5388 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5389 recent value is returned from imap folder.
5391 * elmo.el (elmo-folder-newsgroups): New generic function.
5393 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5394 (elmo-folder-initialize): Set it.
5395 (elmo-folder-expand-msgdb-path): Use it.
5396 (elmo-folder-newsgroups): Define.
5398 * elmo-filter.el (elmo-folder-newsgroups): Define.
5400 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5402 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5404 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5406 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5408 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5410 (elmo-shimbun-header-extra-field): New inline function.
5411 (elmo-shimbun-header-set-extra-field): Ditto.
5412 (elmo-shimbun-folder-header-hash-setup): Ditto.
5413 (elmo-shimbun-update-overview): Ditto.
5414 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5415 (elmo-shimbun-folder-setup): Use
5416 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5417 (elmo-shimbun-get-headers): Ditto.
5418 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5419 Insert `X-Shimbun-Id:' header if extra field is set.
5420 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5421 field's value instead of `shimbun-header-id'.
5423 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5425 (elmo-msgdb-overview-entity-set-date): Ditto.
5426 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5428 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5430 * mmimap.el (mmimap-entity-section): Changed body node number from
5433 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5435 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5436 `elmo-folder-delete-messages'.
5438 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5439 (elmo-folder-initialize): Changed to expand alias into index path.
5441 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5442 `elmo-mime-insert-header-from-buffer' with 6th arg
5445 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5447 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5449 * elmo.el (elmo-diff-new): New inline function.
5450 (elmo-diff-unread): Ditto.
5451 (elmo-diff-all): Ditto.
5453 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5454 value from responseb.
5455 (elmo-imap4-folder-diff-plugged): Ditto.
5456 (elmo-imap4-server-diff-async): Added recent argument.
5457 (elmo-server-diff-async): Ditto.
5458 (elmo-imap4-folder-diff-plugged): Ditto.
5460 * elmo-version.el (elmo-version): Up to 2.7.6.
5462 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5464 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5467 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5469 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5471 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5473 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5475 * elmo-multi.el (elmo-folder-initialize): Ditto.
5477 * elmo-util.el (elmo-parse-token): New function.
5478 (elmo-parse-prefixed-element): Ditto.
5480 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5482 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5484 (elmo-imap4-accept-ok): Ditto.
5486 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5488 * mmimap.el (mime-imap-entity-header-string): Don't check first
5489 element of node-id is `0' (Follow last change).
5491 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5493 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5494 assigned irregular node-id to nested multipart section.
5495 (initialize-instance): Followed above change.
5497 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5499 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5500 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5501 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5502 `elmo-shimbun-get-headers');
5503 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5504 visible article on summary exists in headers).
5505 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5507 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5509 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5512 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5514 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5516 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5518 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5519 header separator into loop condition.
5521 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5523 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5524 Return duplicate folder if it has subfolder.
5526 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5528 * elmo.el (elmo-make-folder): Add folder name error check.
5530 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5531 (elmo-nntp-encode-group-string): New inline function.
5532 (elmo-nntp-decode-group-string): Ditto.
5533 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5534 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5535 Use `not' instead of `null';
5536 Use elmo-nntp-decode-group-string.
5538 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5540 * elmo-version.el (elmo-version): Up to 2.7.5.
5542 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5544 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5545 Hide progress gauge if `elmo-folder-move-messages' exits
5548 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5550 * elmo-imap4.el (elmo-folder-initialize): Use
5551 `elmo-imap4-encode-folder-string' for folder name.
5553 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5555 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5558 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5560 * elmo-util.el (elmo-progress-counter-alist): New internal
5562 (elmo-progress-counter-value): New macro.
5563 (elmo-progress-counter-all-value): Ditto.
5564 (elmo-progress-counter-format): Ditto.
5565 (elmo-progress-counter-set-value): Ditto.
5566 (elmo-progress-set): New function.
5567 (elmo-progress-clear): Ditto.
5568 (elmo-progress-notify): Ditto.
5570 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5573 * elmo.el (elmo-generic-folder-append-messages): Call
5574 `elmo-progress-notify'.
5575 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5577 * elmo-archive.el (elmo-folder-append-messages): Call
5578 `elmo-progress-notify'.
5580 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5582 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5584 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5586 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5588 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5590 (elmo-message-encache-dop): Added argument `read'.
5592 * elmo-shimbun.el (elmo-message-encache): Ditto.
5594 * elmo-net.el (elmo-message-encache): Ditto.
5596 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5597 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5598 elmo-imap4-seen-messages.
5599 (elmo-folder-msgdb-create-plugged): Initialize
5600 elmo-imap4-seen-messages;
5601 Set seen mark on elmo-imap4-seen-messages.
5603 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5605 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5606 elmo-folder-append-buffer.
5607 (elmo-folder-encache): Added optional argument `read'.
5608 (elmo-message-encache): Ditto.
5610 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5612 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5614 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5615 if append buffer content succeds.
5617 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5619 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5620 elmo-display-progress.
5622 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5623 Set 4th argument of mime-display-message.
5624 (elmo-mime-display-as-is): Ditto.
5626 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5628 * elmo-nmz.el (toplevel): Require 'mime-edit.
5629 (elmo-nmz-content-type-alist): Abolished.
5630 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5631 content is not a message.
5632 (elmo-map-message-fetch): Changed behavior exept for message content;
5633 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5634 content-type, Add From: and Subject: field.
5636 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5638 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5639 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5642 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5644 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5645 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5647 * elmo-archive.el (elmo-folder-writable-p): Defined.
5649 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5651 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5653 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5655 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5657 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5659 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5661 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5663 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5665 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5667 * elmo-util.el (elmo-address-quote-specials): New function;
5668 Renamed from `wl-address-quote-specials'.
5670 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5672 * elmo-version.el (elmo-version): Up to 2.7.4.
5674 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5676 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5678 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5680 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5681 both compile-time and run-time to avoid byte-compile warning.
5683 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5685 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5687 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5689 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5691 (elmo-mime-display-as-is-internal): Use it.
5693 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5694 if `read-passwd' is not defined.
5696 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5698 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5700 (elmo-folder-status): Call `elmo-folder-open-internal';
5701 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5702 (elmo-folder-close-internal): Set location-alist as nil.
5703 (elmo-folder-clear): Define.
5704 (elmo-folder-check): Don't set location-alist as nil.
5706 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5708 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5710 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5711 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5713 * mmimap.el (mime-imap-entity::requested): New slot.
5714 (mime-imap-location-fetch-entity-p): New generic function.
5715 (mime-decode-parameters): Define using `defun-maybe'.
5716 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5717 content-type structure.
5718 (mime-entity-body): Return empty body if
5719 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5721 * elmo.el (elmo-message-displaying): New variable.
5723 * elmo-mime.el (elmo-mime-message-display): Bind
5724 elmo-message-displaying as t.
5726 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5728 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5730 * acap.el (acap-open): erase buffer before starting network process.
5731 (acap-store): Rewrite.
5733 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5735 * elmo-imap4.el (elmo-imap4-default-mailbox,
5736 elmo-imap4-default-server
5737 elmo-imap4-default-authenticate-type,
5738 elmo-imap4-default-user,
5739 elmo-imap4-default-port,
5740 elmo-imap4-default-stream-type,
5741 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5743 * elmo-pop3.el (elmo-pop3-default-user,
5744 elmo-pop3-default-server,
5745 elmo-pop3-default-authenticate-type,
5746 elmo-pop3-default-port,
5747 elmo-pop3-default-stream-type,
5748 elmo-pop3-stream-type-alist): Ditto.
5750 * elmo-nntp.el (elmo-nntp-default-server,
5751 elmo-nntp-default-user,
5752 elmo-nntp-default-port,
5753 elmo-nntp-default-stream-type,
5754 elmo-nntp-stream-type-alist): Ditto.
5756 * elmo-vars.el: Follow changes above.
5757 (elmo-setting): New custom group; added 'elmo-setting group to
5760 * elmo-version.el (elmo-version): Up to 2.7.3.
5762 * acap.el (acap-parse-response): Don't delete process when BYE
5763 response (It causes hang-up on slow network environment).
5764 (toplevel): Added comment.
5766 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5768 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5770 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5772 (acap-parse-return-metadata): Ditto.
5775 (toplevel): Fixed typo.
5777 * acap.el: New file.
5778 (acap-network-stream-open): Show "Connecting..." message.
5779 (acap-parse-response): Fixed problem for BYE untagged response.
5780 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5781 (toplevel): Added tiny comments.
5783 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5785 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5786 space delimiter for uidl response.
5788 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5790 * elmo-vars.el (elmo-use-semi): Eliminated.
5792 * elmo-util.el (elmo-string-assoc-all): New function.
5794 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5796 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5797 property 'mime-preview-situation for `mime-preview-quit'.
5799 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5801 * elmo.el (elmo-message-fetch-with-cache-process): Call
5802 elmo-message-fetch-internal instead of causing an error when fetch
5803 strategy is 'entire but only 'section cache is available.
5805 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5807 * elmo-version.el (elmo-version): Up to 2.7.2.
5809 * elmo.el (elmo-generic-folder-append-messages): Make
5810 fetch-strategy with `use-cache'.
5812 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5813 (elmo-dop-queue-method-name): New macro.
5815 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5817 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5818 unbalanced parenthesis.
5820 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5822 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5824 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5826 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5827 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5829 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5831 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5834 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5836 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5837 (elmo-message-use-cache-p): Define.
5838 (elmo-folder-msgdb-create): Treat cache.
5840 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5842 * elmo-nntp.el (elmo-network-initialize-session): Call
5843 `elmo-nntp-send-mode-reader'.
5844 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5846 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5848 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5850 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5853 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5854 for `elmo-plugged-p'.
5855 (elmo-open-network-stream): Fixed stream-type argument.
5857 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5859 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5860 unknown archive type is specified.
5862 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5864 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5866 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5867 while loading msgdb.
5869 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5870 (elmo-folder-open-internal): Rewrite.
5872 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5874 * elmo-mime.el (elmo-mime-display-as-is-internal):
5875 Adjust buffer-multibyte status.
5877 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5879 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5880 of elmo-condition-find-key.
5882 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5883 (elmo-condition-in-msgdb-p): Ditto.
5884 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5887 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5889 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5891 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5893 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5894 label for elmo-display-progress.
5896 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5898 * elmo.el (elmo-folder-clear): New method.
5899 (elmo-folder-clear): Define.
5900 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5902 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5903 (elmo-folder-clear): Define.
5905 * elmo-map.el (elmo-folder-clear): Define.
5907 * elmo-version.el (elmo-version): Up to 2.7.1.
5909 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5911 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5914 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5916 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5917 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5919 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5921 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5923 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5926 * elmo-imap4.el (elmo-folder-initialize): Use
5927 elmo-get-network-stream-type.
5929 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5931 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5933 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5935 * elmo.el (elmo-message-encache): Set unread argument for
5938 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5940 * elmo.el (elmo-net-port-info): New method.
5942 * elmo-shimbun.el (elmo-net-port-info): Define.
5943 (elmo-message-encache): Ditto.
5945 * elmo-net.el (elmo-net-port-info): Define as method.
5947 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5948 unplugged status when elmo-enable-disconnected-operation is t.
5950 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5951 of spool folder before checking new number.
5953 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5955 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5956 (elmo-network-setup-session): Ditto.
5957 (elmo-message-fetch-plugged): Ditto.
5958 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5959 (elmo-network-initialize-session): Ditto.
5960 (elmo-pop3-read-response): Abolish 3rd argument.
5961 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5962 (elmo-pop3-read-contents): Ditto.
5963 (elmo-pop3-read-body): Ditto.
5964 (elmo-folder-status): Call elmo-folder-close.
5965 (elmo-pop3-lock): Abolish.
5966 (elmo-pop3-unlock): Ditto.
5967 (elmo-pop3-locked-p): Ditto.
5968 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5970 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5972 * elmo-version.el (elmo-version): Up to 2.7.0.
5974 * elmo-pop3.el (elmo-pop3-debug): New variable.
5975 (elmo-pop3-debug-inhibit-logging): Ditto.
5976 (elmo-pop3-debug): New function.
5977 (elmo-pop3-send-command): Call elmo-pop3-debug.
5978 (elmo-pop3-read-response): Added keep-lock optional argument;
5979 Don't unlock if keep-lock is non-nil.
5980 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5981 (elmo-network-authenticate-session): Bind
5982 elmo-pop3-debug-inhibit-logging as t.
5983 (elmo-network-setup-session): Call elmo-pop3-read-response with
5985 (elmo-pop3-read-msg): Ditto.
5986 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5987 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5988 (elmo-network-initialize-session): Call elmo-pop3-lock.
5989 (elmo-folder-close-internal): Don't clear location-alist slot.
5990 (elmo-folder-check): Clear location-alist slot.
5992 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5994 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5995 (elmo-pop3-send-command): Call elmo-pop3-lock.
5996 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5997 (elmo-pop3-read-contents): Ditto.
5998 (elmo-pop3-lock): New function.
5999 (elmo-pop3-unlock): Ditto.
6000 (elmo-pop3-locked-p): Ditto.
6001 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6004 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6006 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6008 * elmo-util.el (elmo-file-field-primitive-condition-match):
6009 New inline function (Don't fetch file content if "first" or "last").
6010 (elmo-file-field-condition-match): Use
6011 elmo-file-field-primitive-condition-match.
6013 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6016 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6017 (elmo-message-fetch-plugged): Fixed.
6019 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6021 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6023 * elmo.el (elmo-folder-move-messages): Bind
6024 elmo-inhibit-display-retrieval-progress as t while moving messages.
6026 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6028 (elmo-inhibit-display-retrieval-progress): Ditto.
6030 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6031 for retrieval progress;
6032 Don't display progress when total buffer size is smaller than
6033 elmo-display-retrieval-progress-threshold.
6034 (elmo-message-fetch-plugged): Don't display progress when
6035 elmo-inhibit-display-retrieval-progress is non-nil.
6037 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6038 for retrieval progress;
6039 Don't display progress when literal size is smaller than
6040 elmo-display-retrieval-progress-threshold.
6041 (elmo-imap4-message-fetch): Don't display progress when
6042 elmo-inhibit-display-retrieval-progress is non-nil.
6044 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6046 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6047 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6048 (elmo-imap4-message-fetch): Likewise.
6050 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6051 (elmo-shimbun-index-range-alist): Ditto.
6052 (elmo-shimbun-use-entire-index): Abolish.
6053 (shimbun-mua-use-entire-index): Ditto.
6054 (elmo-shimbun-folder): Added new slot `range'.
6055 (elmo-folder-initialize): Setup slot `range'.
6057 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6059 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6060 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6061 (elmo-shimbun-get-headers): Use return value of
6062 `shimbun-article-expiration-days'.
6063 (elmo-folder-close-internal): Clean up last-check slot.
6065 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6066 (elmo-pop3-total-size): New variable.
6067 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6069 * elmo.el (elmo-folder-reserve-status-p): New method.
6071 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6072 (elmo-shimbun-use-entire-index): New user option.
6073 (shimbun-elmo-mua): New class.
6074 (shimbun-mua-search-id): Define.
6075 (shimbun-mua-use-entire-index): Ditto.
6076 (elmo-shimbun-folder:last-check): New slot.
6077 (elmo-shimbun-headers-cache-header-list): Abolish.
6078 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6079 (elmo-shimbun-headers-cache-header-hash): Ditto.
6080 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6081 (elmo-shimbun-headers-cache-last-check): Ditto.
6082 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6083 (elmo-shimbun-headers-check-p): Rewrite.
6084 (elmo-shimbun-msgdb-to-headers): New function.
6085 (elmo-shimbun-get-headers): Rewrite.
6086 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6087 (elmo-folder-open-internal): Get headers only if
6088 `elmo-shimbun-headers-check-p' is non-nil.
6089 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6091 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6092 (elmo-quit): Removed.
6094 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6096 (elmo-msgdb-overview-entity-set-extra): Ditto.
6097 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6099 * elmo-map.el (elmo-folder-status): Don't call
6100 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6103 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6105 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6106 of `elmo-msgdb-search-internal-primitive' when condition's car is
6109 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6111 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6113 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6115 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6116 call `elmo-pipe-drain'.
6118 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6120 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6121 typo. (elmo-cache-folder -> elmo-mark-folder)
6123 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6125 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6126 `elmo-message-fetch'.
6128 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6130 * elmo-net.el (elmo-message-encache): Fixed typo.
6131 (elmo-message-fetch-unplugged): Changed call
6132 `elmo-message-fetch-internal' without argument `outbuf'.
6134 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6136 * elmo.el (elmo-message-encache): Define as generic function.
6137 (elmo-message-fetch-field): New generic function.
6138 (elmo-message-fetch-with-cache-process): Cause an error when
6139 fetch strategy is 'entire but only 'section cache is available.
6140 (toplevel): Fixed nmz folder definition.
6142 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6143 (elmo-msgdb-resume-list-filename): Ditto.
6144 (elmo-queue-filename): Ditto.
6145 (elmo-enable-disconnected-operation): Changed default value to t.
6147 * elmo-util.el (elmo-cache-path-section-p): New function.
6148 (elmo-file-cache-get): Use it.
6149 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6150 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6151 (elmo-dop-queue-save): Ditto.
6153 * elmo-net.el (elmo-folder-status-unplugged): Call
6154 elmo-folder-status-dop.
6155 (elmo-folder-list-messages-unplugged): Implemented.
6156 (elmo-folder-delete-messages-unplugged): Define.
6157 (elmo-folder-msgdb-create): Define.
6158 (elmo-folder-msgdb-create-unplugged): Define.
6159 (elmo-folder-mark-as-read-unplugged): Ditto.
6160 (elmo-folder-unmark-read-unplugged): Ditto.
6161 (elmo-folder-mark-as-important-unplugged): Ditto.
6162 (elmo-folder-unmark-important-unplugged): Ditto.
6163 (elmo-message-encache): Ditto.
6165 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6166 (elmo-dop-queue-save): Ditto.
6168 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6169 `elmo-folder-msgdb-create'.
6170 (elmo-folder-append-buffer): Implemented unplugged operation.
6171 (elmo-folder-append-messages): Call parent method in unplugged status.
6172 (elmo-message-fetch-unplugged): Removed definition.
6173 (elmo-message-fetch-field): Implemented.
6175 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6176 (elmo-dop-folder): Removed variable definition.
6177 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6178 (elmo-dop-queue-flush): Implemented.
6179 (elmo-dop-queue-merge): Removed definition (TODO).
6180 (elmo-dop-spool-folder): New function.
6181 (elmo-dop-spool-folder-append-buffer): Ditto.
6182 (elmo-dop-spool-folder-list-messages): Ditto.
6183 (elmo-dop-list-deleting-messages): Ditto.
6184 (elmo-folder-append-buffer-dop): Ditto.
6185 (elmo-folder-delete-messages-dop): Ditto.
6186 (elmo-message-encache-dop): New inline function.
6187 (elmo-create-folder-dop): Ditto.
6188 (elmo-folder-mark-as-read-dop): Ditto.
6189 (elmo-folder-unmark-read-dop): Ditto.
6190 (elmo-folder-mark-as-important-dop): Ditto.
6191 (elmo-folder-unmark-important-dop): Ditto.
6192 (elmo-folder-status-dop): Fixed.
6193 (elmo-folder-append-buffer-dop-delayed): New function.
6194 (elmo-folder-delete-messages-dop-delayed): Ditto.
6195 (elmo-dop-msgdb): Ditto.
6197 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6199 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6201 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6203 * elmo.el (elmo-folder-move-messages): Fixed problem when
6204 `dst-folder' is 'null.
6206 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6208 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6209 instead of current mark.
6211 * elmo-multi.el (elmo-folder-list-importants-internal): No
6212 operation if importants is not list.
6214 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6215 Return t if importants is not list.
6217 * elmo-map.el (elmo-map-folder-list-importants): Define.
6218 (elmo-folder-list-importants-internal): Check return value of
6219 `elmo-map-folder-list-importants-internal'.
6221 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6223 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6225 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6227 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6229 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6231 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6232 (Patch is provided by <kita@coe.nttdata.co.jp>).
6234 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6236 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6239 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6241 * elmo.el (elmo-message-fetch): Define.
6242 (elmo-message-fetch-with-cache-process): New generic method.
6243 (elmo-message-fetch-internal): New generic method.
6244 (elmo-folder-synchronize):
6246 * elmo-archive.el (elmo-message-fetch-internal): Define.
6247 (elmo-message-fetch): Eliminated.
6249 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6250 (elmo-message-fetch): Eliminated.
6252 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6254 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6256 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6257 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6259 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6260 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6262 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6264 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6266 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6268 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6269 (elmo-message-fetch-unplugged): New generic method.
6270 (elmo-message-fetch-internal): Remove cache process (Renamed from
6271 `elmo-message-fetch').
6273 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6274 (elmo-message-fetch): Eliminated.
6275 (elmo-message-fetch-unplugged): Ditto.
6277 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6279 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6281 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6282 of `to-be-deleted' from number-alist to number-list.
6284 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6286 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6287 (elmo-folder-mark-as-important): Ditto.
6289 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6291 * elmo.el (elmo-folder): Added process-duplicates slot.
6293 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6294 (elmo-folder-unmark-read): Ditto.
6295 (elmo-folder-unmark-important): Ditto.
6296 (elmo-folder-mark-as-important): Ditto.
6298 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6299 duplicated message processing.
6301 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6303 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6305 * elmo-util.el (elmo-list-subdirectories-1): New function.
6306 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6307 (elmo-mapcar-list-of-list): New function.
6309 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6310 `elmo-mapcar-list-of-list' instead of `mapcar'.
6312 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6314 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6315 `elmo-have-link-count'. Return the fully qualified folder name.
6317 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6319 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6320 (elmo-shimbun-headers-cache): New internal variable.
6321 (elmo-shimbun-headers-cache-header-list): New inline function.
6322 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6323 (elmo-shimbun-headers-cache-header-hash): Ditto.
6324 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6325 (elmo-shimbun-headers-cache-last-check): Ditto.
6326 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6327 (elmo-shimbun-lapse-seconds): Ditto.
6328 (elmo-shimbun-headers-cache-check-p): Ditto.
6329 (elmo-shimbun-get-headers): New function.
6330 (elmo-folder-open-internal): Call it.
6331 (elmo-quit): Define (Clear headers-cache).
6333 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6335 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6337 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6338 (elmo-msgdb-flist-save): Ditto.
6340 * elmo-shimbun.el (elmo-folder-list-subfolders):
6341 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6342 (elmo-folder-exists-p): Ditto.
6344 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6345 argument for `shimbun-header-insert'.
6347 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6349 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6352 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6353 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6355 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6357 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6358 (elmo-folder-plugged-p): Define.
6359 (elmo-folder-set-plugged): Ditto.
6360 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6361 (elmo-folder-list-messages-internal): Return t if unplugged.
6362 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6364 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6365 when elmo-folder-list-messages-internal method of children returns t.
6367 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6369 (elmo-folder-open-internal): Don't update if unplugged status.
6371 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6373 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6376 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6378 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6380 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6383 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6385 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6387 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6388 (elmo-folder-open-internal): Set up headers slot.
6389 (elmo-folder-check): Call elmo-folder-close-internal and
6390 elmo-folder-open-internal.
6391 (elmo-folder-close-internal): Clean up headers slot.
6393 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6395 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6396 exactly folder list.
6397 (elmo-folder-append-messages): Fixed append archive with prefix.
6399 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6400 make temp files with start-number.
6402 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6404 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6406 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6407 argument `visible-only'.
6408 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6411 * elmo-pop3.el (elmo-folder-open-internal): Check
6412 `elmo-inhibit-number-mapping' is non-nil.
6414 * elmo-pipe.el (elmo-folder-status): Fixed.
6416 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6418 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6420 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6421 (elmo-folder-open-internal): Setup `header-hash' slot.
6422 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6424 (elmo-map-message-fetch): Ditto.
6426 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6428 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6429 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6430 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6431 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6433 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6435 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6437 * sb-airs.el: Added footer.
6439 * shimbun.el (shimbun-article): Define as luna-method.
6441 * sb-tcup.el: New file.
6443 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6444 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6446 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6448 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6449 (shimbun-get-headers): Ditto.
6451 * elmo.el: Moved obsolete variable definitions from
6452 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6454 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6457 * shimbun.el: New file.
6459 * elmo-shimbun.el: New file.
6461 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6462 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6463 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6464 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6466 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6468 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6471 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6473 * elmo.el (elmo-folder-msgdb): Define as macro.
6474 (elmo-folder-open): Added argument `load-msgdb'.
6475 (elmo-generic-folder-open): Ditto.
6476 (elmo-folder-encache): New function.
6478 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6480 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6482 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6483 Eliminated argument FOLDER and added argument MSGDB.
6484 (elmo-dop-queue-load): Moved from elmo-dop.el.
6485 (elmo-dop-queue-save): Ditto.
6487 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6489 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6491 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6492 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6493 (elmo-filter-folder-list-importants-internal): Ditto.
6495 * elmo-map.el (elmo-folder-pack-number): Ditto.
6497 * elmo-mime.el (elmo-mime-message-display): Ditto.
6499 * elmo.el (elmo-generic-folder-commit): Ditto.
6500 (elmo-folder-list-unreads): Ditto.
6501 (elmo-folder-list-importants): Ditto.
6502 (elmo-generic-folder-commit): Ditto.
6503 (elmo-message-set-mark): Ditto.
6504 (elmo-generic-folder-append-msgdb): Ditto.
6505 (elmo-folder-synchronize): Ditto.
6506 (elmo-folder-messages): Ditto.
6507 (elmo-init): Call elmo-dop-queue-load.
6508 (elmo-folder-list-messages): Ditto.
6510 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6511 (elmo-nntp-folder-process-crosspost): Ditto.
6512 (elmo-folder-list-unreads-internal): Ditto.
6514 * elmo-dop.el: Removed old functions.
6516 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6518 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6519 `folder' to `msgdb'.
6521 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6523 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6524 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6526 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6529 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6531 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6534 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6535 (mmimap-parse-parameters-from-list): Define as alias for
6536 `mime-decode-parameter-plist' if it is defined as function.
6537 (mmimap-make-mime-entity): Added argument `number'.
6538 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6540 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6542 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6544 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6546 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6548 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6550 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6552 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6553 when elmo-imap4-default-authenticate-type is nil.
6554 (elmo-folder-list-subfolders): Ditto
6555 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6556 (elmo-imap4-fetch-callback-1-subr): Renamed from
6557 `elmo-imap4-fetch-callback-1' and define as inline function.
6558 (elmo-imap4-fetch-callback-1):
6559 Renamed from `elmo-imap4-fetch-callback'.
6560 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6562 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6563 msgdb path (To keep compatibility with main trunk).
6565 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6567 * elmo-util.el (elmo-make-file-cache): Moved position of
6570 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6571 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6572 instead of `elmo-pop3-inhibit-uidl'.
6573 (elmo-folder-exists-p): Ditto.
6574 (elmo-pop3-folder-list-messages): Ditto.
6576 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6577 instead of `elmo-pop3-inhibit-uidl'.
6578 (elmo-folder-status): Ditto.
6580 * elmo-dop.el (elmo-dop-folder): New variable.
6581 (elmo-dop-lock-message): Eliminated.
6582 (elmo-dop-unlock-message): Ditto.
6583 (elmo-dop-lock-list-load): Ditto.
6584 (elmo-dop-lock-list-save): Ditto.
6585 (elmo-dop-delete-folder): Ditto.
6586 (elmo-dop-rename-folder): Ditto.
6588 * elmo.el: Removed incomplete commentary.
6590 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6592 * elmo.el (toplevel): Require 'elmo-version first;
6593 for little `recursive-load-depth' settings.
6594 Fix "ends here" comment.
6596 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6598 * elmo-util.el (toplevel): Require 'poem;
6599 Some functions are moved from elmo-cache.el.
6601 * elmo-net.el (toplevel): Require 'elmo-cache.
6603 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6605 * elmo.el (toplevel): Ditto.
6607 * elmo-cache.el: Rewrite with luna;
6608 Some functions are moved to elmo-util.el.
6610 * elmo-internal.el (elmo-internal-folder-list): New variable.
6611 (elmo-internal-folder-initialize): Rewrite.
6612 (elmo-folder-list-subfolders): Ditto.
6614 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6615 (elmo-cache-collect-sub-directories): Ditto.
6617 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6619 * elmo-version.el (elmo-version): Up to 2.5.8.
6621 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6623 * elmo-util.el (elmo-list-insert): New function.
6625 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6627 * elmo.el (elmo-init): New function.
6628 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6630 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6631 (Renamed from `elmo-localdir-header-chop-length').
6633 * elmo-pop3.el (elmo-pop3-use-cache,
6634 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6636 * elmo-nntp.el (elmo-message-fetch): Define.
6637 (elmo-message-fetch-unplugged): Ditto.
6638 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6639 (elmo-nntp-use-cache): Ditto.
6640 (elmo-nntp-max-number-precedes-list-active): Ditto.
6642 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6644 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6645 `elmo-msgdb-insert-file-header'.
6646 Use `elmo-msgdb-file-header-chop-length'.
6648 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6651 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6652 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6653 `elmo-msgdb-insert-file-header'.
6655 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6657 Define obsolete variables with `elmo-define-obsolete-variable',
6659 * elmo-util.el (elmo-warning-buffer-name): New constant.
6660 (elmo-warning): New function.
6661 (elmo-obsolete-variable-alist): New variable.
6662 (elmo-obsolete-variable-show-warnings): New variable.
6663 (elmo-define-obsolete-variable): New function.
6664 (elmo-resque-obsolete-variable): Ditto.
6665 (elmo-resque-obsolete-variables): Ditto.
6667 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6669 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6672 * elmo-pop3.el, elmo-nntp.el: Use custom.
6674 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6676 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6677 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6679 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6681 * Luna-fy Kenichi OKADA's following changes.
6682 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6684 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6686 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6688 * elmo-util.el (elmo-display-progress): Prefer
6689 `progress-feedback-with-label' to `lprogress-display'.
6691 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6693 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6695 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6697 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6698 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6699 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6700 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6701 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6702 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6703 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6704 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6705 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6706 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6707 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6708 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6709 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6711 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6713 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6714 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6716 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6718 * elmo.el (elmo-folder-process-crosspost): New generic method.
6719 (elmo-folder-writable-p): Ditto.
6720 (elmo-folder-message-appendable-p): Eliminated.
6721 (elmo-generic-folder-append-msgdb): Rewrite.
6722 (elmo-newsgroups-hashtb): New internal variable.
6723 (elmo-crosspost-message-set): Eliminated.
6724 (elmo-crosspost-message-delete): Ditto.
6725 (elmo-setup-subscribed-newsgroups): New function.
6726 (elmo-crosspost-message-alist-modified): New internal variable.
6727 (elmo-crosspost-message-alist-load): New function (Renamed from
6728 `wl-crosspost-alist-load').
6729 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6730 `wl-crosspost-alist-save').
6732 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6734 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6736 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6737 elmo-newsgroups-hashtb).
6738 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6739 `elmo-nntp-folder-update-crosspost-message-alist'.
6740 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6741 `elmo-nntp-groups-hashtb'.
6742 (elmo-nntp-make-groups-hashtb): Eliminated.
6743 (elmo-nntp-parse-newsgroups): New function (Renamed from
6744 `wl-parse-newsgroups').
6745 (elmo-folder-creatable-p, elmo-folder-writable-p,
6746 elmo-folder-close-internal, elmo-folder-mark-as-read,
6747 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6749 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6751 * elmo-net.el (elmo-message-fetch): Check buffer size.
6753 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6755 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6757 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6758 before `close' command.
6760 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6761 `mark-alist' (All other related portions are changed).
6763 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6765 * elmo-util.el (elmo-create-hash-size): Eliminated.
6766 (elmo-make-hash) Make a hash with `one less than a power of two'
6769 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6770 (elmo-hash-maximum-size): Changed value.
6772 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6774 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6775 (elmo-mime-message-display-as-is): Ditto.
6777 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6779 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6780 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6782 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6784 * elmo-mark.el: New file.
6786 * elmo-internal.el: Rewrite (Almost empty).
6788 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6790 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6791 (mime-imap-entity-header-string): Ditto.
6792 (mmimap-entity-section): Rewrite.
6794 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6796 * elmo-nmz.el: New file.
6798 * elmo-pipe.el: Rewrite with luna.
6800 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6802 * elmo-archive.el: Rewrite with luna.
6804 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6805 (elmo-folder-list-importants-internal): Ditto.
6807 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6809 * elmo-archive.el (elmo-archive-version): Abolish.
6810 (toplevel) Removed `boso' comment.
6812 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6814 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6815 elmo-msgdb-add-msgs-to-seen-list-subr;
6816 Changed argument seen-marks to unread-marks.
6818 * elmo-nntp.el: Rewrite with luna.
6820 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6822 * elmo-filter.el: Rewrite with luna.
6824 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6826 * elmo-pop3.el: Rewrite with luna.
6828 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6830 * elmo-multi.el: Rewrite with luna.
6832 * elmo-vars.el (elmo-use-killed-list): Abolish.
6833 All other related portions are changed.
6834 (elmo-filename-replace-string-alist): Renamed from
6835 elmo-msgid-replace-string-alist.
6837 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6839 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6841 * elmo-map.el: New file.
6842 * elmo-maildir.el: Rewrite with luna.
6844 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6846 * elmo.el: Changed meaning of `elmo-folder-commit'.
6847 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6849 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6851 * elmo.el (elmo-folder-append-buffer): New function.
6852 (Renamed from `elmo-append-msg')
6854 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6856 * elmo-mime.el: New file.
6858 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6860 * elmo-cache.el: Rewrite.
6862 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6864 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6866 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6868 * elmo-vars.el (elmo): New group.
6869 (elmo-strict-diff-folder-regexp): New variable.
6871 * elmo-util.el (elmo-call-func): Abolish.
6872 (elmo-folder-get-type): Ditto.
6873 (elmo-*-get-spec): Ditto.
6874 (elmo-*-spec-*): Ditto.
6875 (elmo-imap4-identical-name-space-p): Ditto.
6876 (elmo-folder-identical-system-p): Ditto.
6877 (elmo-folder-direct-copy-alist): Ditto.
6878 (elmo-folder-direct-copy-p): Ditto.
6880 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6881 (elmo-folder-initialize): Define.
6882 (elmo-folder-get-primitive-list): Ditto.
6884 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6885 (elmo-folder-initialize): Define.
6886 Renamed `elmo-network-session-host-internal' to
6887 `elmo-network-session-server-internal'.
6889 * elmo-multi.el (elmo-multi-folder): New luna class.
6890 (elmo-folder-initialize): Define.
6891 (elmo-folder-get-primitive-list): Ditto.
6892 (elmo-folder-contains-type): Ditto.
6893 (elmo-message-use-cache-p): Ditto.
6895 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6896 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6898 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6899 (elmo-folder-initialize): Define.
6901 * elmo-filter.el (elmo-filter-folder): New luna class.
6902 (elmo-folder-initialize): Define.
6903 (elmo-folder-get-primitive-list): Ditto.
6904 (elmo-folder-contains-type): Ditto.
6906 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6908 * elmo-imap4.el: Rewrite with luna.
6910 * mmimap.el: New file.
6912 * mmelmo.el, mmelmo-imap4.el: Removed.
6914 * elmo-net.el: Ditto.
6916 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6917 (elmo-folder-initialize): Define.
6919 * elmo-archive.el (elmo-archive-folder): New luna class.
6920 (elmo-folder-initialize): Define.
6922 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6923 `elmo-folder-msgdb-path'.
6924 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6927 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6929 * elmo.el: New file.
6931 * elmo2.el: Renamed to elmo.el.
6934 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6936 * elmo-cache.el (elmo-cache-expire-by-size): Count
6937 a disk usage for a cache file entry in KB even when
6938 its kind is a directory.
6940 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6942 * elmo-version.el (elmo-version): Up to 2.5.7.
6944 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6946 * elmo-version.el (elmo-version): Up to 2.5.6.
6948 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6950 * elmo-version.el (elmo-version): Up to 2.5.5.
6952 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6954 * elmo-imap4.el (elmo-network-authenticate-session):
6955 Fixed a logic for response checking.
6957 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6959 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6960 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6961 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6964 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6965 for `starttls-open-stream' and `starttls-negotiate'.
6967 * elmo-nntp.el: Remove autoload settings for
6968 `starttls-open-stream' and `starttls-negotiate'.
6970 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6971 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6972 `luna-define-class' with `eval-and-compile'.
6974 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6976 * elmo-util.el (elmo-read-search-condition-internal):
6977 Require an element of table for searching field.
6979 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6981 * elmo-version.el (elmo-version): Up to 2.5.4.
6983 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6985 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6987 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6989 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6991 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6993 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6996 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6998 * elmo-imap4.el (elmo-imap4-delete-folder):
6999 Send "close" before "delete" (Use commented out line).
7000 (elmo-imap4-rename-folder): Ditto.
7002 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7003 folder string itself.
7004 (elmo-dop-list-deleted): New function.
7005 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7008 * elmo-util.el (elmo-string-rassoc-all): New function.
7010 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7012 * elmo-version.el (elmo-version): Up to 2.5.3.
7014 * elmo-net.el (elmo-network-get-session): Changed logic for
7015 checking process status.
7017 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7019 Changed logic for checking process status.
7021 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7023 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7025 (elmo-network-setup-session): Set UIDL hash size according to
7026 the length of list response.
7027 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7028 according to the length of list response;
7029 Return the length of list response.
7030 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7032 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7034 * elmo-imap4.el (toplevel): Require 'ssl.
7035 Add autoload 'starttls.
7036 * elmo-pop3.el (toplevel): Ditto.
7037 * elmo-nntp.el (toplevel): Ditto.
7039 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7041 * elmo-imap4.el (toplevel): defun at compile time.
7042 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7043 sasl-next-step, sasl-step-data, sasl-step-set-data.
7044 * elmo-pop3.el (toplevel): Ditto.
7046 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7048 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7050 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7052 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7054 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7055 and `elmo-pop-auth-apop'.
7057 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7059 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7061 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7063 * elmo-pop3.el (elmo-network-authenticate-session): Split
7064 encoded response value.
7066 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7068 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7069 `elmo-pop3-force-login'.
7070 Redefine `sasl-mechanisms'.
7071 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7073 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7075 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7076 Delete `elmo-imap4-authenticator-alist'.
7077 (elmo-imap4-auth-cram-md5): Delete.
7078 (elmo-imap4-auth-digest-md5): Delete.
7080 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7082 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7083 (elmo-pop3-auth-scram-md5): Ditto.
7084 (elmo-pop3-auth-cram-md5): Ditto.
7086 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7088 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7089 Delete `elmo-pop3-authenticator-alist'.
7091 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7093 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7095 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7097 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7099 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7101 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7103 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7104 Fixed problem when `elmo-pop3-use-uidl' is nil.
7105 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7107 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7109 * elmo-version.el (elmo-version): Up to 2.5.2.
7111 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7113 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7115 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7116 (elmo-pop3-msgdb-create-as-numlist): Use it.
7118 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7119 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7121 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7122 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7124 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7126 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7127 when elmo-mark-as-read is called with second argument nil.
7129 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7131 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7132 Moved to elmo-util.el.
7134 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7135 Moved from elmo-pipe.el
7137 * elmo-archive.el (elmo-archive-call-process): Enclose with
7140 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7141 "RFC822" (because RFC822.PEEK is obsolete).
7142 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7144 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7146 * elmo-archive.el (elmo-archive-call-process): Don't check for
7147 the exit status when Nemacs is running.
7149 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7151 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7154 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7155 (elmo-pop3-get-spec): Set default of auth to 'user.
7157 * elmo-imap4.el (elmo-imap4-session-check):
7158 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7159 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7160 (elmo-imap4-auth-login): New function; Revival.
7161 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7162 `elmo-imap4-auth-login'.
7164 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7166 * elmo2.el (toplevel): Move `product-provide' declare.
7167 * mmelmo.el (toplevel): Ditto.
7169 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7171 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7173 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7175 * elmo-util.el (elmo-folder-get-store-type): New function.
7176 (elmo-folder-direct-copy-p): Use it.
7178 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7180 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7181 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7182 and result of `elmo-imap4-use-flag-p'.
7183 (elmo-imap4-fetch-callback-1): Set mark according to
7184 the result of `elmo-imap4-use-flag-p'.
7186 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7188 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7189 (elmo-generic-list-folder-unread): Ditto.
7190 (elmo-folder-get-info): Ditto.
7191 (elmo-folder-set-info-max-by-numdb): Ditto.
7192 (elmo-folder-get-info-max): Ditto.
7193 (elmo-folder-get-info-length): Ditto.
7194 (elmo-folder-get-info-unread): Ditto.
7195 (elmo-folder-info-make-hashtb): Ditto.
7197 * elmo2.el: Removed above functions.
7199 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7201 * elmo-imap4.el (toplevel): Require 'ssl.
7202 Add autoload 'starttls.
7203 * elmo-pop3.el (toplevel): Ditto.
7204 * elmo-nntp.el (toplevel): Ditto.
7206 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7208 * elmo-imap4.el (toplevel): defun at compile time.
7209 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7210 sasl-next-step, sasl-step-data, sasl-step-set-data.
7211 * elmo-pop3.el (toplevel): Ditto.
7213 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7215 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7217 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7219 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7221 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7222 and `elmo-pop-auth-apop'.
7224 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7226 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7228 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7230 * elmo-pop3.el (elmo-network-authenticate-session): Split
7231 encoded response value.
7233 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7235 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7236 `elmo-pop3-force-login'.
7237 Redefine `sasl-mechanisms'.
7238 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7240 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7242 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7243 Delete `elmo-imap4-authenticator-alist'.
7244 (elmo-imap4-auth-cram-md5): Delete.
7245 (elmo-imap4-auth-digest-md5): Delete.
7247 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7249 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7250 (elmo-pop3-auth-scram-md5): Ditto.
7251 (elmo-pop3-auth-cram-md5): Ditto.
7253 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7255 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7256 Delete `elmo-pop3-authenticator-alist'.
7258 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7260 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7262 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7265 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7267 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7269 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7271 * elmo-nntp.el (elmo-nntp-get-folders-info):
7272 Fixed problem when '\' character is contained in user-id.
7273 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7276 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7278 * elmo-imap4.el (elmo-imap4-delete-folder):
7279 Send "close" before "delete" (Use commented out line).
7280 (elmo-imap4-rename-folder): Ditto.
7282 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7283 folder string itself.
7284 (elmo-dop-list-deleted): New function.
7285 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7288 * elmo-util.el (elmo-string-rassoc-all): New function.
7290 * elmo-version.el (elmo-version): Up to 2.5.1.
7292 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7294 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7296 * elmo-internal.el (elmo-internal-search): Fix last change.
7298 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7300 * elmo-internal.el (elmo-internal-search): Rewrite.
7301 (Fixed problem which is pointed out by Akihiro MOTOKI
7302 <motoki@da.jp.nec.com>)
7304 * elmo-version.el (elmo-version): Up to 2.5.0.
7306 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7308 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7310 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7312 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7313 non-nil, make hierarchy.
7315 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7317 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7318 `elmo-pop3-use-uidl' must be bound to nil.
7319 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7321 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7323 * elmo-util.el (elmo-copy-file): Don't cause an error after
7324 `add-name-to-file' failed.
7326 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7327 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7329 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7331 * elmo-version.el (elmo-version): Up to 2.3.93.
7333 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7335 * elmo-util.el (elmo-flatten): New function.
7337 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7339 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7341 * elmo-cache.el (toplevel): Ditto.
7342 * elmo-database.el (toplevel): Ditto.
7343 * elmo-date.el (toplevel): Ditto.
7344 * elmo-dop.el (toplevel): Ditto.
7345 * elmo-filter.el (toplevel): Ditto.
7346 * elmo-imap4.el (toplevel): Ditto.
7347 * elmo-internal.el (toplevel): Ditto.
7348 * elmo-localdir.el (toplevel): Ditto.
7349 * elmo-localnews.el (toplevel): Ditto.
7350 * elmo-maildir.el (toplevel): Ditto.
7351 * elmo-msgdb.el (toplevel): Ditto.
7352 * elmo-multi.el (toplevel): Ditto.
7353 * elmo-net.el (toplevel): Ditto.
7354 * elmo-nntp.el (toplevel): Ditto.
7355 * elmo-pipe.el (toplevel): Ditto.
7356 * elmo-pop3.el (toplevel): Ditto.
7357 * elmo-util.el (toplevel): Ditto.
7358 * elmo-vars.el (toplevel): Ditto.
7359 * elmo2.el (toplevel): Ditto.
7360 * mmelmo-imap4.el (toplevel): Ditto.
7361 * mmelmo.el (toplevel): Ditto.
7363 * elmo-version.el (elmo-version): Move to top.
7365 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7366 * elmo-imap4.el (toplevel): Ditto.
7367 * elmo-localdir.el (toplevel): Ditto.
7368 * elmo-msgdb.el (toplevel): Ditto.
7369 * elmo-nntp.el (toplevel): Ditto.
7370 * elmo-pop3.el (toplevel): Ditto.
7371 * elmo-version.el (toplevel): Ditto.
7373 * elmo-localnews.el (toplevel): Added Keyword header.
7375 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7377 * elmo-version.el (product-version-as-string): Defined using
7381 * elmo-localdir.el (toplevel): Updated copyright notice.
7382 * elmo-version.el (toplevel): Ditto.
7383 * elmo-msgdb.el (toplevel): Ditto.
7384 * elmo-imap4.el (toplevel): Ditto.
7385 * elmo-nntp.el (toplevel): Ditto.
7386 * elmo-pop3.el (toplevel): Ditto.
7388 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7390 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7393 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7394 parameter value (It sometimes contains raw kanji).
7396 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7398 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7399 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7401 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7403 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7405 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7407 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7408 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7410 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7412 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7413 value if selecting folder succceeded.
7414 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7416 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7418 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7421 * elmo-util.el (elmo-string-matched-member): New function.
7423 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7425 * elmo-util.el (elmo-unintern): New macro.
7426 (elmo-number-set-member): Fixed docstring.
7428 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7431 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7433 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7434 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7436 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7438 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7441 Return non-nil if selecting folder succeeded.
7442 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7444 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7446 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7447 `file-name-completion' returns t.
7448 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7449 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7450 directory if it does not exist.
7451 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7454 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7456 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7457 enclosure (It's harmful in unplugged status).
7459 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7461 * mmelmo-1.el: Removed.
7463 * mmelmo-2.el: Ditto.
7465 * mmelmo-imap4-1.el: Ditto.
7467 * mmelmo-imap4-2.el: Ditto.
7469 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7471 * mmelmo.el: Merged mmelmo-2.el.
7473 * elmo-version.el (elmo-version): Up to 2.3.92.
7475 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7477 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7478 elmo-update-number): Remove last period in "...done." message.
7479 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7481 * elmo-cache.el (elmo-cache-expire-by-size,
7482 elmo-cache-get-sorted-cache-file-list,
7483 elmo-cache-msgdb-create-as-numlist): Ditto.
7484 * elmo-dop.el (elmo-dop-save-pending-messages,
7485 (elmo-dop-flush-pending-append-operations): Ditto.
7486 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7487 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7488 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7489 (elmo-localdir-pack-number): Ditto.
7490 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7491 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7492 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7493 mime-write-entity-content): Ditto.
7494 * pldap.el (ldap-search-basic): Ditto.
7496 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7498 * elmo-version.el (elmo-version): Up to 2.3.91.
7500 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7501 Only when filter is 'last'.
7503 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7504 (elmo-condition-parse-search-value): Use it.
7505 (elmo-read-search-condition-internal): Quote value only when
7508 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7510 * elmo2.el (elmo-generic-folder-diff): Fix.
7512 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7514 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7515 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7516 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7517 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7518 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7519 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7521 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7523 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7526 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7528 * elmo-version.el (elmo-version): Up to 2.3.90.
7530 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7531 (elmo-imap4-list-folder-important): Ditto.
7533 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7535 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7537 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7539 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7541 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7543 * elmo-nntp.el (elmo-network-initialize-session):
7544 Add starttls negotiation.
7546 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7548 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7550 (elmo-network-setup-session): Define.
7551 Call `elmo-nntp-send-mode-reader' when session opened.
7553 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7555 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7557 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7559 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7560 an invalid SPACE character ahead of `SEARCH' command. Move
7561 a valid SPACE character following `SEARCH' from conditional
7562 `format' arguments to control-strings.
7564 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7566 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7569 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7571 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7573 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7574 `w32-get-true-file-link-count' as t.
7576 * elmo-imap4.el (elmo-imap4-read): Abolished.
7577 (Renamed to `elmo-read' and moved to elmo-util.el)
7578 All other related portions are changed.
7580 * elmo-util.el (elmo-read): New function.
7581 (elmo-condition-parse-search-value): Use it.
7583 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7585 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7587 * elmo-nntp.el (elmo-nntp-session): Define.
7588 (elmo-nntp-setting): Abolished.
7589 All other related portions are changed.
7590 (elmo-nntp-get-server-command): Changed argument.
7591 (elmo-nntp-set-server-command): Ditto.
7592 (elmo-nntp-xover-p): Ditto.
7593 (elmo-nntp-set-xover): Ditto.
7594 (elmo-nntp-listgroup-p): Ditto.
7595 (elmo-nntp-set-listgroup): Ditto.
7596 (elmo-nntp-list-active-p): Ditto.
7597 (elmo-nntp-set-list-active): Ditto.
7598 (elmo-nntp-xhdr-p): Ditto.
7599 (elmo-nntp-set-xhdr): Ditto.
7600 (elmo-nntp-flush-connection): Abolished.
7601 (elmo-nntp-get-connection): Abolished.
7602 (elmo-nntp-get-session): New function.
7603 (elmo-network-initialize-session): Defined.
7604 (elmo-network-authenticate-session): Ditto.
7605 (elmo-nntp-send-mode-reader): Changed argument.
7606 (elmo-nntp-send-command): Changed argument.
7607 All other related portions are changed.
7608 (elmo-nntp-read-response): Ditto.
7609 (elmo-nntp-read-raw-response): Ditto.
7610 (elmo-nntp-read-contents): Ditto.
7611 (elmo-nntp-read-body): Ditto.
7612 (elmo-nntp-goto-folder): Abolished.
7613 (elmo-nntp-select-group): New function.
7614 All other related portions are changed.
7615 (This function substitutes `elmo-nntp-goto-folder')
7616 (elmo-nntp-msgdb-create-by-header): Rewrite.
7617 (elmo-nntp-get-overview): Eliminated.
7618 (elmo-nntp-get-message): Ditto.
7619 (elmo-nntp-open-connection) Abolished.
7620 (elmo-nntp-read-msg): Rewrite.
7621 (elmo-nntp-post): Ditto.
7622 (elmo-nntp-send-data): Abolished.
7623 (elmo-nntp-send-buffer): New function.
7624 (elmo-nntp-send-data-line): Define as inline function.
7625 (elmo-nntp-get-folders-info-prepare): Use session as key.
7626 (elmo-nntp-groups-read-response): Changed argument.
7627 (elmo-nntp-retrieve-headers): Ditto.
7628 (elmo-nntp-msgdb-create-message): Ditto.
7630 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7631 when searching by 'since' or 'before'.
7633 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7635 * elmo-version.el (toplevel): Use product-version-as-string for set
7636 verstion-string, if defined.
7638 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7640 * elmo-util.el: Doc fixes.
7642 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7644 * elmo-archive.el (toplevel): Use product-provide.
7645 * elmo-cache.el (toplevel): Ditto.
7646 * elmo-database.el (toplevel): Ditto.
7647 * elmo-date.el (toplevel): Ditto.
7648 * elmo-dop.el (toplevel): Ditto.
7649 * elmo-filter.el (toplevel): Ditto.
7650 * elmo-imap4.el (toplevel): Ditto.
7651 * elmo-internal.el (toplevel): Ditto.
7652 * elmo-localdir.el (toplevel): Ditto.
7653 * elmo-localnews.el (toplevel): Ditto.
7654 * elmo-maildir.el (toplevel): Ditto.
7655 * elmo-msgdb.el (toplevel): Ditto.
7656 * elmo-multi.el (toplevel): Ditto.
7657 * elmo-net.el (toplevel): Ditto.
7658 * elmo-nntp.el (toplevel): Ditto.
7659 * elmo-pipe.el (toplevel): Ditto.
7660 * elmo-pop3.el (toplevel): Ditto.
7661 * elmo-util.el (toplevel): Ditto.
7662 * elmo-vars.el (toplevel): Ditto.
7663 * elmo2.el (toplevel): Ditto.
7664 * mmelmo-1.el (toplevel): Ditto.
7665 * mmelmo-2.el (toplevel): Ditto.
7666 * mmelmo-imap4-1.el (toplevel): Ditto.
7667 * mmelmo-imap4-2.el (toplevel): Ditto.
7668 * mmelmo-imap4.el (toplevel): Ditto.
7669 * mmelmo.el (toplevel): Ditto.
7671 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7673 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7674 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7676 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7678 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7680 (elmo-multi-split-number-alist): Ditto.
7682 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7684 * elmo-version.el: New file. Use product.el.
7685 * elmo2.el: Add (require 'elmo-version).
7686 * elmo-vars.el (elmo-appname, elmo-version): Move to
7689 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7691 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7692 `elmo-msgdb-expand-path'.
7693 (elmo-msgdb-load): Ditto.
7694 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7695 (elmo-generic-list-folder-unread): Rewrite.
7696 (elmo-generic-list-folder-important): Changed argument.
7697 (elmo-list-folder-unread): Ditto.
7698 (elmo-list-folder-important): Ditto.
7699 (elmo-folder-diff): Rewrite.
7700 (elmo-generic-folder-diff): New function.
7701 (elmo-multi-get-number-alist-list): Abolished
7702 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7703 (elmo-multi-folder-diff): Moved to elmo-multi.el
7704 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7706 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7707 `elmo-msgdb-expand-path'.
7708 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7709 (elmo-pop3-read-msg): Ditto.
7710 (elmo-pop3-delete-msgs): Ditto.
7711 (elmo-pop3-folder-diff): New alias.
7713 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7714 `elmo-msgdb-expand-path'.
7715 (elmo-pipe-list-folder-unread): Changed arguments.
7716 (elmo-pipe-list-folder-important): Ditto.
7717 (elmo-pipe-folder-diff): New alias.
7719 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7720 `elmo-msgdb-expand-path'.
7721 (elmo-nntp-max-of-folder): Ditto.
7722 (elmo-nntp-msgdb-create): Ditto.
7723 (elmo-nntp-delete-msgs): Ditto.
7724 (elmo-nntp-folder-diff): New alias.
7726 * elmo-multi.el (elmo-multi-folder-diff): New function.
7727 (elmo-multi-split-mark-alist): Ditto.
7728 (elmo-multi-split-number-alist): Ditto.
7729 (elmo-multi-mark-alist-list): Abolished (Renamed to
7730 elmo-multi-split-mark-alist).
7731 (elmo-multi-list-folder-unread): Rewrite.
7732 (elmo-multi-list-folder-important): Ditto.
7733 (elmo-multi-list-folder): Set `spec' as 1st argument for
7734 `elmo-msgdb-expand-path'.
7735 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7736 instead of `elmo-multi-get-number-alist-list'.
7738 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7739 If 1st argument is not string, treat as spec.
7740 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7741 `elmo-msgdb-expand-path'.
7742 (elmo-msgdb-flist-load): Ditto.
7743 (elmo-msgdb-flist-save): Ditto.
7744 (elmo-msgdb-delete-path): Ditto.
7745 (elmo-msgdb-rename-path): Ditto.
7747 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7748 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7749 (elmo-maildir-delete-mark-msgs): Ditto.
7750 (elmo-maildir-msgdb-create): Ditto.
7751 (elmo-maildir-read-msg): Ditto.
7752 (elmo-maildir-delete-msgs): Ditto.
7753 (elmo-maildir-list-folder-subr): Ditto.
7754 (elmo-maildir-search): Ditto.
7755 (elmo-maildir-get-msg-filename): Ditto.
7756 (elmo-maildir-pack-number): Ditto.
7757 (elmo-maildir-folder-diff): New alias.
7759 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7761 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7762 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7763 (elmo-localdir-folder-diff): New alias.
7765 * elmo-internal.el (elmo-internal-list-folder-subr):
7766 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7767 (elmo-internal-list-folder-by-location): Ditto.
7768 (elmo-internal-msgdb-create): Ditto.
7769 (elmo-internal-delete-msgs): Ditto.
7770 (elmo-internal-read-msg): Ditto.
7771 (elmo-internal-folder-diff): New alias.
7773 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7774 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7775 `elmo-msgdb-expand-path'.
7776 (elmo-imap4-list-folder-unread): Changed arguments.
7777 (elmo-imap4-list-folder-important): Ditto.
7779 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7780 (elmo-filter-list-folder-important): Ditto.
7781 (elmo-filter-folder-diff): New function.
7783 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7785 * elmo-cache.el (elmo-cache-list-folder):
7786 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7787 (elmo-cache-copy-msgs): Ditto.
7788 (elmo-cache-folder-diff): New alias.
7790 * elmo-archive.el (elmo-archive-list-folder-subr):
7791 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7792 (elmo-archive-get-archive-name): Ditto.
7793 (elmo-archive-create-file): Ditto.
7794 (elmo-archive-append-msg): Ditto.
7795 (elmo-archive-copy-msgs): Ditto.
7796 (elmo-archive-copy-msgs-froms): Ditto.
7797 (elmo-archive-get-msg-filename): Ditto.
7798 (elmo-archive-folder-diff): New alias.
7800 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7802 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7803 (elmo-pop3-stream-type-alist): New variable.
7804 (elmo-nntp-stream-type-alist): New variable.
7806 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7807 (elmo-kill-buffer): Ditto.
7808 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7809 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7810 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7811 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7812 (elmo-imap4-get-spec): Take into account
7813 `elmo-imap4-stream-type-alist'.
7815 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7817 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7818 (elmo-nntp-list-folders-get-cache): Ditto.
7820 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7822 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7823 character before 'uid'.
7825 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7827 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7829 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7831 * elmo-util.el (elmo-number-set-member): New function.
7832 (elmo-number-set-append-list): Ditto.
7833 (elmo-number-set-append): Ditto.
7835 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7836 Use `elmo-number-set-member'.
7837 (elmo-living-messages): Ditto.
7838 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7839 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7841 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7842 (elmo-imap4-add-to-cont-list): Abolished.
7843 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7844 instead of elmo-imap4-add-to-cont-list.
7846 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7847 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7849 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7851 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7853 * elmo-util.el (elmo-condition-parse-search-value):
7856 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7858 * elmo-util.el (elmo-condition-find-key-internal): New function.
7859 (elmo-condition-find-key): Ditto.
7861 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7862 (elmo-msgdb-search-internal): Ditto.
7863 (elmo-msgdb-search): Ditto.
7865 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7867 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7868 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7870 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7871 (elmo-nntp-search-primitive): Fixed problem when condition is
7874 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7876 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7877 (elmo-nntp-xhdr-p): New macro.
7878 (elmo-nntp-set-xhdr): Ditto.
7879 (elmo-nntp-parse-xhdr-response): New function.
7880 (elmo-nntp-retrieve-field): Ditto.
7881 (elmo-nntp-search-primitive): Ditto.
7882 (elmo-nntp-search): Implemented.
7884 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7886 * elmo-archive.el (elmo-archive-search): Set all number list to
7887 `elmo-archive-field-condition-match'
7889 * elmo-localdir.el (elmo-localdir-search): Likewise.
7891 * elmo-maildir.el (elmo-maildir-search): Likewise.
7893 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7895 * elmo-msgdb.el (elmo-living-messages): New function.
7896 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7897 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7898 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7899 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7900 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7901 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7902 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7903 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7904 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7905 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7906 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7908 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7910 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7912 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7914 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7916 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7917 arguments for `SEARCH' command.
7918 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7919 All other related portions are changed.
7921 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7923 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7924 (elmo-list-folder-unread): Rewrite.
7925 (elmo-list-folder-important): Ditto.
7927 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7928 (elmo-condition-parse-error): New inline function.
7929 (elmo-read-search-condition): New function.
7930 (elmo-read-search-condition-internal): Ditto.
7931 (elmo-parse-search-condition): Rewrite.
7932 (elmo-condition-parse): New function.
7933 (elmo-condition-parse-or-expr): Ditto.
7934 (elmo-condition-parse-and-expr): Ditto.
7935 (elmo-condition-parse-primitive): Ditto.
7936 (elmo-condition-parse-search-value): Ditto.
7937 (elmo-buffer-field-primitive-condition-match): Ditto.
7938 (elmo-buffer-field-condition-match): Rewrite.
7939 (elmo-file-field-condition-match): Ditto.
7941 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7942 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7944 * elmo-internal.el (elmo-internal-search): Set `number' and
7945 `number-list' argument of `elmo-file-field-condition-match'.
7947 * elmo-maildir.el (elmo-maildir-search): Ditto.
7949 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7950 `msgdb' as argument instead of `mark-alist'.
7951 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7954 * elmo-multi.el: Likewise.
7956 * elmo-pipe.el: Likewise.
7958 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7959 (elmo-imap4-search-internal): Rewrite.
7960 (elmo-imap4-search): Ditto.
7962 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7963 (elmo-filter-list-folder-unread): Ditto.
7964 (elmo-filter-list-folder-important): Ditto.
7965 (elmo-filter-search): Rewrite.
7967 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7968 `number-list' argument of `elmo-file-field-condition-match'.
7969 (elmo-cache-search): Ditto.
7971 * elmo-localdir.el: Likewise.
7973 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7974 number-list and pass it to `elmo-buffer-field-condition-match'.
7975 (elmo-archive-field-condition-match): Pass `number-list' to
7976 `elmo-archive-field-condition-match'
7978 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7980 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7983 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7984 (elmo-folder-diff-async-callback-data): Ditto.
7985 (elmo-folder-diff-async): New function.
7987 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7988 (elmo-network-session-cache-key): Use it as a prefix of the session
7990 (elmo-network-open-session): Ditto.
7992 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7993 (elmo-imap4-status-callback-data): Ditto.
7994 (elmo-imap4-server-diff-async-callback): New variable.
7995 (elmo-imap4-server-diff-async-callback-data): Ditto.
7996 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7997 `elmo-imap4-status-callback-data'.
7998 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7999 `elmo-imap4-status-callback-data' as nil.
8000 (elmo-imap4-server-diff): Ditto.
8001 (elmo-imap4-server-diff-async-callback-1): New function.
8002 (elmo-imap4-server-diff-async): Ditto.
8003 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8005 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8007 * elmo-util.el (elmo-list-delete): Doc fix.
8008 (elmo-delete-lists): Abolish.
8009 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8010 instead of `elmo-delete-lists'.
8012 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8014 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8017 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8019 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8020 `elmo-imap4-literal-subr'.
8021 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8022 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8024 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8026 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8027 (elmo-archive-list-folder): Fix.
8028 (elmo-archive-max-of-folder): Fix.
8030 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8032 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8033 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8034 (elmo-localdir-append-msg): Ditto.
8035 (elmo-localdir-list-folder): Fix for `nonsort'.
8036 (elmo-localdir-list-folder-subr): Fix for `killed'.
8037 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8038 (elmo-maildir-list-folder-subr): Ditto.
8039 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8040 (elmo-archive-list-folder-subr): Ditto.
8041 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8042 (elmo-internal-list-folder-subr): Ditto.
8044 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8046 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8048 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8050 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8052 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8054 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8055 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8057 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8059 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8060 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8062 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8064 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8066 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8067 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8068 before STORE command.
8070 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8072 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8074 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8075 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8077 (elmo-imap4-list-folders): Removed unused local variable.
8078 (elmo-network-initialize-session): Ditto.
8079 (elmo-imap4-delete-msg-by-id): Ditto.
8080 (elmo-imap4-parse-fetch): Ditto.
8081 (elmo-imap4-copy-msgs): Ditto.
8082 Use `dst-spec' instead of `dst-folder'.
8083 (elmo-network-authenticate-session): Check authenticate type `plain'.
8085 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8087 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8089 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8090 `elmo-imap4-response-value'.
8091 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8093 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8095 * elmo-imap4.el (elmo-imap4-send-command):
8096 Cause elmo-imap4-bye-error when current response is BYE.
8097 (elmo-imap4-arrival-filter): Changed greeting response value.
8099 * elmo2.el (elmo-imap4-bye-error): Define.
8101 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8102 (elmo-imap4-server-diff): Ditto.
8103 (elmo-imap4-response-bye-p): New macro.
8104 (elmo-imap4-response-error-text): Get text from BYE response.
8105 (elmo-imap4-read-response): Return if BYE response.
8106 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8107 (elmo-imap4-folder-exists-p): Ditto.
8108 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8109 (elmo-imap4-parse-bye): New function.
8110 (elmo-imap4-parse-response): Remove needless let.
8111 Call `elmo-imap4-parse-bye'.
8113 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8115 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8116 the mailbox does not exist.
8117 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8119 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8121 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8123 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8125 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8127 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8128 (elmo-network-initialize-session-buffer): Defined.
8130 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8132 (mmelmo-imap4-get-mime-entity): Rewrite.
8134 * elmo2.el (elmo-error): Capitalize error message.
8136 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8137 (elmo-network-session-buffer): New macro.
8138 (elmo-network-open-session): Use it.
8140 * elmo-imap4.el: Rewrite.
8142 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8144 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8146 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8148 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8149 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8150 (elmo-imap4-create-msgdb-from-overview-string): Use
8151 `elmo-msgdb-create-overview-from-buffer'.
8153 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8155 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8156 (elmo-imap4-default-hierarchy-delimiter): New variable.
8157 (elmo-imap4-list-folders): Use it.
8159 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8161 * elmo-net.el (elmo-network-open-session): Add user and
8162 stream-type for process-buffer name.
8164 * elmo-pop3.el (elmo-network-initialize-session): Call
8165 buffer-disable-undo.
8167 * elmo-imap4.el (elmo-network-initialize-session):
8168 Set current-buffer as an argument for `buffer-disable-undo'.
8170 * elmo-pop3.el (elmo-network-close-session): Don't use
8173 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8174 Set default as 'user.
8176 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8178 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8179 and `elmo-imap4-flush-connection'.
8181 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8182 (elmo-pop3-get-spec): Assume auth as symbol.
8183 (elmo-open-network-stream): Moved to `elmo-net'.
8185 * elmo-pop3.el (toplevel): Require 'elmo-net.
8186 Define `sasl-cram-md5' to silence byte compilier.
8187 (elmo-pop3-connection-cache) Abolished.
8188 (elmo-pop3-authenticator-alist) New variable.
8189 (elmo-pop3-session): Define.
8190 (elmo-pop3-connection-get-process): Abolished.
8191 (elmo-pop3-connection-get-buffer): Ditto.
8192 (elmo-pop3-close-connection): Ditto.
8193 (elmo-pop3-flush-connection): Ditto.
8194 (elmo-pop3-get-connection): Ditto.
8195 (elmo-pop3-get-session): New function.
8196 (Replacement for `elmo-pop3-get-connection').
8197 All other related modules are changed.
8198 (elmo-network-close-session): Define.
8199 (elmo-pop3-send-command): Abolished argument `buffer'.
8200 All other related modules are changed.
8201 (elmo-pop3-read-response): Likewise.
8202 (elmo-pop3-open-connection): Abolished.
8203 (elmo-pop3-auth-user): New function.
8204 (elmo-pop3-auth-apop): Ditto.
8205 (elmo-pop3-auth-cram-md5): Ditto.
8206 (elmo-pop3-auth-scram-md5): Ditto.
8207 (elmo-pop3-auth-digest-md5): Ditto.
8208 (elmo-network-initialize-session): Define.
8209 (elmo-network-authenticate-session): Ditto.
8210 (elmo-network-setup-session): Ditto.
8212 * elmo-imap4.el (toplevel): Require 'elmo-net.
8213 (elmo-imap4-session): Define.
8214 (elmo-imap4-connection-cache): Abolished.
8215 (elmo-imap4-password-key): Ditto.
8216 (elmo-imap4-flush-connection): Ditto.
8217 (elmo-imap4-get-connection): Ditto.
8218 All other related modules are changed.
8219 (elmo-imap4-get-session): New function
8220 (Replacement for `elmo-imap4-get-connection').
8221 (elmo-imap4-read-response): Abolished argument `buffer'.
8222 All other related modules are changed.
8223 (elmo-imap4-send-command): Likewise.
8224 (elmo-imap4-select-folder): Abolished.
8225 All other related modules are changed.
8226 (elmo-imap4-select-mailbox): New function.
8227 (Replacement for `elmo-imap4-select-folder').
8228 (elmo-imap4-auth-login): Simplify.
8229 (Assume current buffer as process buffer)
8230 (elmo-imap4-auth-cram-md5): Ditto.
8231 (elmo-imap4-auth-digest-md5): Ditto.
8232 (elmo-imap4-login): Ditto.
8233 (elmo-imap4-open-connection): Abolished.
8234 (elmo-imap4-open-connection-1): Abolished.
8235 (elmo-network-initialize-sessoin): Define.
8236 (elmo-network-authenticate-session): Ditto.
8237 (elmo-network-setup-session): Ditto.
8239 * elmo-net.el: New module.
8241 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8243 * elmo-util.el (elmo-define-error): New function.
8245 * elmo2.el (elmo-error): Define.
8246 (elmo-open-error): Define.
8247 (elmo-authenticate-error): Define.
8249 * elmo-imap4.el (elmo-imap4-error): Abolish.
8250 (elmo-imap4-error-type): Abolish.
8251 (elmo-imap4-error-process): Abolish.
8252 (elmo-imap4-error-message): Abolish
8253 (elmo-imap4-list-folders): Don't quote lambda.
8254 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8255 (elmo-imap4-parse-namespace): Ditto.
8256 (elmo-imap4-open-connection): Rewrite.
8257 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8258 (elmo-imap4-get-connection): Abolish local variable `result'.
8260 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8262 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8263 wrong-type-argument error when auth is nil.
8265 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8267 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8268 (elmo-default-nntp-stream-type): Ditto.
8269 (elmo-default-pop3-stream-type): Ditto.
8270 (elmo-network-stream-type-alist): Ditto.
8271 (elmo-default-imap4-ssl): Abolished.
8272 (elmo-default-nntp-ssl): Ditto.
8273 (elmo-default-pop3-ssl): Ditto.
8275 * elmo-util.el: (toplevel): Removed needless requires.
8276 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8277 (elmo-open-network-stream): Open network stream according to
8278 the value of `elmo-network-stream-type-alist'.
8279 (elmo-get-network-stream-type): New function.
8280 (elmo-network-stream-type-spec-string): New macro.
8281 (elmo-network-stream-type-symbol): Ditto.
8282 (elmo-network-stream-type-function): Ditto.
8284 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8285 network-stream-type. All other related portions are changed.
8286 (elmo-pop3-open-connection): Ditto.
8288 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8289 network-stream-type. All other related portions are changed.
8291 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8292 network-stream-type.All other related portions are changed.
8293 (elmo-imap4-error): New macro.
8294 (elmo-imap4-error-type): Ditto.
8295 (elmo-imap4-error-process): Ditto.
8296 (elmo-imap4-error-message): Ditto.
8297 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8298 (elmo-imap4-auth-cram-md5): Ditto.
8299 (elmo-imap4-auth-digest-md5): Ditto.
8300 (elmo-imap4-login): Ditto.
8301 (elmo-imap4-open-connection): Remove password entry if authentication
8303 (elmo-imap4-user-at-host): Abolished.
8304 (elmo-imap4-password-key): New buffer local variable.
8305 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8306 using protocol, port, auth and stream-type.
8308 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8310 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8312 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8314 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8316 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8317 (elmo-imap4-authenticator-alist): New variable.
8318 (elmo-imap4-open-connection-1): Rename from
8319 elmo-imap4-open-connection.
8320 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8321 only wraps elmo-imap4-open-connection-1.
8322 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8324 (elmo-imap4-auth-login): New function.
8325 (elmo-imap4-auth-cram-md5): New function.
8326 (elmo-imap4-auth-digest-md5): New function.
8327 (elmo-imap4-login): New function.
8329 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8331 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8334 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8336 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8338 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8340 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8342 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8344 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8345 for server responses, quote `*' regardless of where it appears.
8347 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8349 * elmo-maildir.el (elmo-maildir-commit): New alias.
8351 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8353 * elmo-util.el (elmo-display-progress):
8354 Use `progress-feedback-with-label'.
8356 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8358 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8359 (elmo-imap4-non-atom-char-regex): Ditto.
8360 (elmo-imap4-non-text-char-regex): Ditto.
8361 (elmo-imap4-literal-threshold): Ditto.
8362 (elmo-imap4-atom-p): New function.
8363 (elmo-imap4-quotable-p): Ditto.
8364 (elmo-imap4-nil): Ditto.
8365 (elmo-imap4-atom): Ditto.
8366 (elmo-imap4-quoted): Ditto.
8367 (elmo-imap4-literal-subr): Ditto.
8368 (elmo-imap4-literal): Ditto.
8369 (elmo-imap4-buffer-literal): Ditto.
8370 (elmo-imap4-string-subr): Ditto.
8371 (elmo-imap4-string): Ditto.
8372 (elmo-imap4-buffer-string): Ditto.
8373 (elmo-imap4-astring-subr): Ditto.
8374 (elmo-imap4-astring): Ditto.
8375 (elmo-imap4-buffer-astring): Ditto.
8376 (elmo-imap4-nstring): Ditto.
8377 (elmo-imap4-buffer-nstring): Ditto.
8378 (elmo-imap4-mailbox): New alias.
8379 (elmo-imap4-field-body): Ditto.
8380 (elmo-imap4-userid): Ditto.
8381 (elmo-imap4-password): Ditto.
8382 (elmo-imap4-format-quoted): New function.
8383 (elmo-imap4-send-command): Rewritten. Accept a list of command
8384 arguments and handle "atom", "quoted" and "literal" string here.
8385 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8386 `elmo-imap4-send-command'.
8387 (elmo-imap4-folder-exists-p): Likewise.
8388 (elmo-imap4-create-folder): Likewise.
8389 (elmo-imap4-delete-folder): Likewise.
8390 (elmo-imap4-rename-folder): Likewise.
8391 (elmo-imap4-max-of-folder): Likewise.
8392 (elmo-imap4-check-validity): Likewise.
8393 (elmo-imap4-sync-validity): Likewise.
8394 (elmo-imap4-server-diff): Likewise.
8395 (elmo-imap4-select-folder): Likewise.
8396 (elmo-imap4-copy-msgs): Likewise.
8397 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8398 (elmo-imap4-mark-set-on-msgs): Likewise.
8399 (elmo-imap4-read-part): Likewise.
8400 (elmo-imap4-read-msg): Likewise.
8401 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8402 `elmo-imap4-password' for `elmo-imap4-send-command'.
8403 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8404 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8405 `elmo-imap4-buffer-literal'.
8406 (elmo-imap4-append-msg): Likewise.
8408 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8409 `delete' for removing dead connection from the connection cache.
8410 Move deletion of the process buffer after that.
8411 (elmo-imap4-list): Change `defsubst' to `defun'.
8412 (elmo-imap4-commit): Make error message verbose.
8413 (elmo-imap4-search): Ditto.
8414 (elmo-imap4-list): Ditto.
8415 (elmo-imap4-select-folder): Ditto.
8416 (elmo-imap4-copy-msgs): Ditto.
8417 (elmo-imap4-delete-msg-by-id): Ditto.
8418 (elmo-imap4-append-msg-by-id): Ditto.
8419 (elmo-imap4-append-msg): Ditto.
8421 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8423 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8424 when dired is used on XEmacs.
8426 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8428 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8429 instead of `append'.
8430 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8431 `elmo-plugged-p' directly.
8432 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8433 of `elmo-plugged-p' directly.
8435 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8436 Eliminate unused variable. Use `memq' for checking a process status.
8437 Use `cons' instead of `append' for updating the connection cache.
8438 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8439 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8441 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8443 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8444 `elmo-imap4-read-point' exactly.
8446 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8447 the local variable `folder' to `mailbox'.
8448 Rename the argument `fld' to `folder'.
8450 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8452 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8453 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8455 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8457 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8458 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8459 (elmo-pop3-uidl-number-hash): Ditto.
8460 (elmo-pop3-size-hash): Ditto.
8461 (elmo-pop3-uidl-done): Ditto.
8462 (elmo-pop3-list-done): Ditto.
8463 (elmo-pop3-connection-get-process): New defmacro.
8464 (elmo-pop3-connection-get-buffer): Ditto.
8465 (elmo-pop3-close-connection): Delete buffer and process.
8466 (elmo-pop3-flush-connection): Don't delete buffer and process.
8467 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8468 Setup UIDL and size hash.
8469 (elmo-pop3-send-command-no-erase): Deleted
8470 (elmo-pop3-send-command): Added optional argument `no-erase'.
8471 (elmo-pop3-parse-uidl-response): New function.
8472 (elmo-pop3-parse-list-response): Set size hash.
8473 (elmo-pop3-list-location): New function.
8474 (elmo-pop3-list-by-uidl-subr): Ditto.
8475 (elmo-pop3-list-by-list): Ditto.
8476 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8477 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8478 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8479 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8480 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8482 (elmo-pop3-uidl-to-number): New function.
8483 (elmo-pop3-number-to-uidl): Ditto.
8484 (elmo-pop3-number-to-size): Ditto.
8485 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8486 Set number by use of uidl.
8487 (elmo-pop3-msgdb-create-message): Likewise.
8488 Set size, loc-alist in msgdb.
8489 (elmo-pop3-read-msg): Set number by use of uidl.
8490 Added optional argument `msgdb'.
8491 (elmo-pop3-delete-msg): Ditto.
8492 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8493 (elmo-pop3-commit): Close connection.
8495 * elmo-pipe.el (elmo-pipe-max-of-folder):
8496 Bind `elmo-pop3-use-uidl' as nil.
8497 (elmo-pipe-drain): Ditto.
8500 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8501 (elmo-msgdb-overview-entity-set-size): New defsubst.
8503 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8505 * elmo-vars.el (elmo-use-killed-list): New variable
8506 (Renamed from `elmo-nntp-use-killed-list').
8507 (elmo-nntp-use-killed-list): Eliminated.
8509 * elmo-msgdb.el (elmo-msgdb-expand-path):
8510 Changed expanding msgdb path for elmo-multi.
8512 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8513 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8514 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8515 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8516 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8517 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8518 (toplevel): Deleted time-stamp line.
8520 * elmo2.el (elmo-clear-killed ): Defined as function
8521 (Abolished defining as a backend function).
8522 All other related modules are changed.
8524 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8526 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8528 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8530 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8532 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8534 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8536 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8538 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8539 asynchronous folder check.
8541 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8543 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8544 `elmo-nntp-use-killed-list'.
8545 (elmo-nntp-list-folder): Use killed list.
8546 (elmo-nntp-max-of-folder): Ditto.
8547 (elmo-nntp-msgdb-create): Set killed list.
8549 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8551 * elmo2.el (elmo-clear-killed): New backend function.
8552 All other related modules are changed.
8554 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8556 * elmo-util.el (elmo-imap4-spec-folder): Use
8557 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8558 All callers changed.
8560 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8562 * mmelmo-2.el (initialize-instance):
8563 Use `mime-buffer-entity-buffer-internal' instead of
8564 `mime-entity-buffer'.
8566 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8567 (mime-entity-body): Implemented.
8568 (mime-goto-header-start-point): Deleted.
8569 (mime-goto-body-end-point): Ditto.
8570 (mime-entity-point-min): Ditto.
8571 (mime-entity-point-max): Ditto.
8572 (mime-entity-children): Ditto.
8573 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8574 instead of `mime-entity-buffer'.
8575 (mime-entity-header-buffer): Ditto.
8576 (mime-entity-body-buffer): Ditto.
8577 (mime-write-entity-content): Ditto.
8579 * pldap.el (ldap-static-if): New macro.
8580 (toplevel): Use it instead of `static-if'.
8582 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8584 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8585 included in `attrs' argument.
8587 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8589 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8591 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8592 (ldap-ldif-safe-init-char-regexp): Ditto.
8593 (ldap-ldif-safe-string-regexp): Ditto.
8594 (ldap/ldif-safe-string-p): New macro.
8595 (ldap/ldif-insert-field): Ditto.
8596 (ldap-modify): Use it.
8598 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8599 (ldap-decode-attribute): Decode only when `attr' is consp.
8600 (ldap-delete): Bind `ret'.
8601 (toplevel): Require 'cl at compile time.
8602 Removed (require 'poe) and (require 'std11).
8603 (pldap-version): Eliminated.
8604 (ldap-search-basic): Removed auth and dn binding.
8605 (ldap-ldif-field-name-regexp): New constant.
8606 (ldap-ldif-field-head-regexp): Ditto.
8607 (ldap-ldif-next-field-head-regexp): Ditto.
8608 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8609 (ldap/field-end): New function.
8610 (ldap/field-body): Use it.
8611 (ldap/collect-field): Ditto.
8612 (ldap-search-basic): Use `ldap/field-body'.
8614 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8616 * pldap.el (ldap-default-attribute-encoder): New user option.
8617 (ldap/field-body): Decode base64 string.
8618 (ldap/collect-field): Ditto.
8619 (ldap-encode-attribute): New function.
8620 (ldap-add-entries): Use it.
8621 (ldap-modify-entries): Ditto.
8622 (ldap-search-entries): Enclosed decoding function with
8623 `with-temp-buffer' and set as unibyte.
8624 (ldap-search-basic): Set process buffer as unibyte.
8626 * elmo-util.el (elmo-folder-identical-system-p):
8627 Eliminated name space checking.
8629 * pldap.el: New module.
8630 toplevel: Changed condition to detect built-in ldap feature.
8631 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8632 (ldap-add): Added error handling.
8633 (ldap-modify): Ditto.
8634 (ldap-delete): Ditto.
8636 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8638 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8639 Initialize local variables with `let'. Inline a temporary
8640 variable for the progress percentage. Sort `setq' to reduce
8641 function call in the while-loop.
8643 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8644 into the conditional branch.
8646 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8648 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8649 Move a conditional out of the while-loop.
8651 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8653 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8654 elmo-msgdb-overview-get-entity-by-number.
8655 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8658 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8660 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8661 the local variable for a packed number self descriptively.
8663 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8665 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8666 * elmo-localdir.el (elmo-localdir-pack-number): Use
8667 `elmo-msgdb-overview-get-entity' instead of
8668 `elmo-msgdb-overview-get-entity-by-number'.
8669 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8670 (elmo-msgdb-search-overview-entity): Removed.
8671 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8672 by message-id or number.
8673 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8674 instead of `elmo-msgdb-overview-get-entity-by-number'.
8676 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8678 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8679 non-nil, use hash table for overview.
8680 (elmo-hash-maximum-size): New variable.
8681 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8682 (elmo-msgdb-make-overview-hashtb): New function.
8683 (elmo-msgdb-clear-overview-hashtb): New function.
8684 (elmo-clear-hash-val): New macro.
8685 All other related modules are changed.
8687 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8689 * elmo2.el (elmo-move-msgs): If there's other message with
8690 same message-id, don't use cache.
8692 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8694 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8695 number is already packed.
8697 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8699 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8701 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8703 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8704 All other related modules are changed.
8706 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8708 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8709 of refiling failure on Maildir.
8711 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8713 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8714 decoded mime-charset with cache.
8715 (elmo-msgdb-overview-entity-get-from): Ditto.
8716 (elmo-msgdb-overview-entity-get-subject): Ditto.
8717 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8719 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8721 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8722 (elmo-remove-passwd): Fill password with 0 before erase.
8723 * elmo-vars.el (elmo-passwd-life-time): New variable.
8726 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8728 * elmo-cache.el (elmo-buffer-cache-add):
8729 Set message cache buffer as unibyte.
8731 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8733 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8736 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8738 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8739 when display is finished.
8740 (elmo-nntp-msgdb-create): Ditto.
8741 (elmo-nntp-groups-read-response): Ditto.
8742 (elmo-nntp-retrieve-headers): Ditto.
8743 (elmo-nntp-msgdb-create-message): Ditto.
8744 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8745 (elmo-pop3-msgdb-create-message): Ditto.
8747 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8749 * elmo-maildir.el (elmo-maildir-msgdb-create):
8750 Use `elmo-msgdb-sort-by-date'.
8752 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8754 * elmo2.el (elmo-read-msg-no-cache):
8755 Eliminated arguments after `outbuf'.
8756 Don't use cache even if it exists.
8757 (elmo-read-msg): Don't pass arguments after `outbuf' to
8758 `elmo-read-msg-no-cache'.
8760 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8762 * elmo-archive.el (elmo-archive-list-folders):
8763 Use `file-name-directory' if base folder does not exist.
8765 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8767 * elmo-archive.el (elmo-archive-list-folders): Don't use
8768 `file-name-directory'.
8770 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8772 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8773 If `force' is non-nil, try flushing all operation queues.
8775 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8777 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8780 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8782 * elmo-util.el (elmo-display-progress): Fixed.
8784 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8786 * elmo-util.el (elmo-display-progress): New function.
8787 All other related modules are changed.