1 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
4 (elmo-mailing-list-count-spec-list): Ditto.
6 * elmo-util.el (elmo-map-until-success): New function.
7 (elmo-string-match-substring): Ditto.
8 (elmo-find-list-match-value): Ditto.
10 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
12 (modb-entity-extract-ml-info-from-subject): Ditto.
13 (modb-entity-extract-ml-info-from-return-path): Ditto.
14 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
15 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
16 (modb-entity-extract-ml-info-from-mailman): Ditto.
17 (modb-entity-extract-mailing-list-info-functions): Ditto.
18 (modb-entity-extract-mailing-list-info): Rewrite with
19 `elmo-find-list-match-value'.
21 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
23 * elmo-net.el (elmo-network-session-retry-count): New user option.
24 (elmo-network-session-buffer-name): New internal function.
25 (elmo-network-session-buffer-create): Ditto.
26 (elmo-network-open-session): Retry open network session
27 `elmo-network-session-retry-count' times.
29 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
31 * elmo-util.el (elmo-list-filter): Rewritten.
33 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
35 * elmo-util.el (elmo-string-member): Allow symbol element in list.
37 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
39 * elmo-search.el (elmo-make-search-engine): Use prefix
40 `elmo-search-' for require symbol instead of `else-'.
41 (elmo-search-engine-extprog): New class.
42 (elmo-search-engine-do-search): Remove nil from argument
43 list. Added argument pattern to evaluate element as function.
44 (elmo-search-engine-local-file): Derived from
45 `elmo-search-engine-extprog'.
46 (elmo-search-engine-create-message-entity): Check existance of file.
47 (elmo-search-engine-fetch-message): Ditto.
48 (elmo-search-namazu-index): Follow the API change.
49 (elmo-search-grep-target): Ditto.
51 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
53 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
54 characters of working buffer.
56 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
57 Does not bind `default-mime-charset'.
58 (elmo-msgdb-create-message-entity-from-buffer): Removed
59 unnecessary local bind.
61 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
63 (modb-entity-extract-mailing-list-info-functions): Added it.
65 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
67 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
68 when number and message-id are non-nil.
70 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
72 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
73 conditional steatment.
74 (elmo-pop3-auth-apop): Likewise.
75 (elmo-network-authenticate-session): Likewise.
77 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
79 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
81 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
84 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
85 (elmo-decoded-field-body): Ditto.
87 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
89 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
92 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
94 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
97 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
99 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
102 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
104 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
105 Set default value as nil.
106 (toplevel): Register search engines by
107 `elmo-search-register-engine' if there are not defined.
109 * elmo.el (autoload): Added autoload setting for
110 `elmo-search-register-engine'.
112 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
114 * elmo.el (toplevel): `[' is redefined as the prefix of the search
115 folder instead of nmz folder.
116 (elmo-nmz-default-index-path): Added obsolete variable setting.
117 (elmo-nmz-index-alias-alist): Ditto.
118 (elmo-nmz-use-drive-letter): Ditto.
120 * elmo-search.el (elmo-search-register-engine): New function.
122 * elmo-nmz.el: Removed.
124 * elmo-version.el (elmo-version): Up to 2.15.2.
126 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
128 * elmo-search.el: New file.
130 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
132 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
133 condition `larger' and `smaller'.
135 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
137 * elmo-util.el (elmo-safe-filename): Rewrite to replace
138 `"' (double quote) into "_Q_".
140 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
142 * elmo-net.el (elmo-net-quote-chars): Abolish.
143 (elmo-net-format-quoted): Ditto.
145 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
147 * elmo.el (elmo-get-folder-function): New variable.
148 (elmo-get-folder): New function.
149 (elmo-folder-rename): Call `elmo-make-folder' with specified
152 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
154 (elmo-split-subr): Ditto.
156 * elmo-multi.el (elmo-folder-initialize): Ditto.
158 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
160 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
161 (elmo-flag-get-folder): Ditto.
163 * elmo-filter.el (elmo-folder-initialize): Ditto.
165 * elmo-access.el (elmo-folder-initialize): Ditto.
166 (elmo-access-folder-update-children): Ditto.
168 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
169 (elmo-dop-queue-flush): Ditto.
170 (elmo-folder-append-buffer-dop-delayed): Ditto.
171 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
174 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
175 instead of `elmo-make-folder'.
176 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
177 destination folder instead of send `elmo-folder-rename-internal'.
179 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
180 slot of subfolder instead of create it.
182 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
184 * elmo-util.el (elmo-collect-separators): New function.
185 (elmo-collect-separators-internal): Ditto.
186 (elmo-collect-trail-separators): Ditto.
187 (elmo-parse-separated-tokens): Ditto.
188 (elmo-parse-separated-tokens-internal): Ditto.
189 (elmo-quote-syntactical-element): Ditto.
191 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
192 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
194 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
195 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
196 (elmo-nntp-folder-list-subfolders): Quote a user name.
198 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
199 (elmo-net-parse-network): Abolish.
200 (elmo-net-folder-set-parameters): New function.
201 (elmo-folder-initialize): Follow the above change.
203 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
204 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
205 (elmo-folder-list-subfolders): Use
206 `elmo-quote-syntactical-element' instead of
207 `elmo-net-format-quoted' to quote mailbox and user name.
209 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
211 * elmo-util.el (elmo-token-valid-p): New function.
212 (elmo-parse-token): Add optional argument `requirement'.
213 (elmo-parse-prefixed-element): Likewise.
215 * elmo-net.el (elmo-net-quote-chars): Renamed from
216 `elmo-net-quote-chars-regexp'.
217 (elmo-net-format-quoted): Add optional argument `extra-chars'.
219 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
220 by info document. Check token `uidl' is started an alphabet.
222 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
223 by info document. Check token `user' is started an alphabet.
225 * elmo-imap4.el (elmo-folder-initialize): Ditto.
226 (elmo-folder-list-subfolders): Quote user.
228 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
230 * elmo-util.el (elmo-quoted-specials-list): New constant.
231 (elmo-quoted-token): New function.
233 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
234 (elmo-net-format-quoted): New function.
235 (elmo-net-parse-network): Ditto.
236 (elmo-folder-initialize): Use it.
238 * elmo-nntp.el (elmo-folder-initialize): Use
239 `elmo-net-parse-network' to parse network specification instead of
240 `elmo-folder-initialize#elmo-net'.
242 * elmo-pop3.el (elmo-folder-initialize): Ditto.
244 * elmo-imap4.el (elmo-folder-initialize): Ditto.
245 (elmo-folder-list-subfolders): Quote folder name by
246 `elmo-net-format-quoted'.
248 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
250 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
251 (elmo-folder-search): Use it.
253 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
255 * modb-standard.el (modb-standard-loaded-message-id): Use
256 `elmo-msgdb-message-entity-field'.
258 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
260 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
263 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
265 * elmo-util.el (elmo-set-auto-coding): New function.
266 (elmo-object-load): Use it.
268 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
270 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
271 (elmo-time<): Define as alias of `elmo-time-less-p'.
272 (elmo-time-to-datevec): New function.
274 * elmo-date.el (elmo-time-to-days): New function.
276 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
278 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
281 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
283 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
286 * elmo-util.el (elmo-map-recursive): New function.
288 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
289 (modb-entity-encode-string-recursive): Ditto.
291 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
293 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
294 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
295 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
296 compare sequence number when last modified time is nil.
298 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
300 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
302 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
304 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
306 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
307 modification time of the file.
309 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
311 * elmo-util.el (elmo-condition-optimize): Discriminated against
312 preserved fields, extra fields and the other weight.
314 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
316 * modb-entity.el (initialize-instance): Define.
317 (modb-entity-handler-mime-charset): New internal function.
318 (modb-standard-entity-set-field): Use it.
319 (elmo-msgdb-message-entity-field): Ditto.
320 (elmo-msgdb-message-entity-field): Ditto.
322 * modb.el (elmo-msgdb-match-condition): Rewrite with
323 `elmo-condition-match'.
324 (elmo-msgdb-match-condition-primitive): New function.
326 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
327 arguments `flags' and `numbers'.
328 (elmo-msgdb-match-condition-primitive): Abolished (merged to
329 `elmo-msgdb-message-match-condition').
330 (modb-buffer-entity-handler): New class.
332 * elmo.el (elmo-folder-search): Optimize condition to use
333 `elmo-condition-optimize'.
334 (elmo-message-buffer-match-condition): New function.
335 (elmo-message-match-condition): Use
336 `elmo-message-buffer-match-condition' instead of
337 `elmo-buffer-field-condition-match'.
339 * elmo-util.el (elmo-condition-match): New function.
340 (elmo-condition-optimize): Ditto.
341 (elmo-buffer-field-primitive-condition-match): Abolish.
342 (elmo-buffer-field-condition-match): Ditto.
344 * elmo-archive.el (elmo-archive-field-condition-match): Use
345 `elmo-message-buffer-match-condition' instead of
346 `elmo-buffer-field-condition-match'.
348 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
350 * elmo-flag.el (elmo-global-flags-initialize): Check the
351 existence of the flag directory.
353 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
355 * elmo-access.el (elmo-folder-initialize): Call
356 `elmo-multi-connect-signals'.
358 * elmo-pipe.el (elmo-folder-close): Define.
360 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
363 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
366 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
369 * elmo-multi.el (elmo-message-entity): Don't use return value of
370 `elmo-message-entity-set-number'.
372 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
374 * modb.el (modb-generic): Added slot `mime-charset'.
376 * modb-standard.el (modb-standard): Added slot `overview-handler'.
377 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
378 and `modb-entity-handler-dump-parameters'.
379 (modb-standard-default-entity-handler): Abolish.
380 (elmo-msgdb-message-entity-handler): Save created handler by
383 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
384 (modb-entity-handler-list-parameters): New method.
385 (modb-entity-handler-equal-p): New function.
386 (modb-entity-handler-dump-parameters): Ditto.
387 (modb-entity-parse-address-string): Encode return value.
388 (modb-entity-make-address-string): Decode argument value.
389 (modb-entity-decode-string-recursive): New function.
390 (modb-entity-encode-string-recursive): Ditto.
391 (modb-standard-entity-normalizer): Set to encode field value.
392 (modb-standard-entity-specializer): Follow the above change.
393 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
394 mime-charset of handler.
395 (elmo-msgdb-message-entity-field): Ditto.
396 (elmo-msgdb-copy-message-entity): Fixed reference to internal
398 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
400 * elmo.el (elmo-folder): Added slot `mime-charset'.
401 (elmo-make-folder): Added argument `mime-charset'.
402 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
405 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
406 (elmo-make-msgdb): Likewise.
408 * elmo-internal.el (elmo-internal-folder-initialize): Call
409 `luna-make-entity' with :mime-charset parameter.
411 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
413 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
414 encoded words in `from' and `subject' field.
416 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
418 * modb.el (elmo-msgdb-message-field): Add argument `type'.
419 (elmo-msgdb-match-condition): Get handler from entity instead of
422 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
423 (modb-standard-load-entity): Treat new file format.
424 (modb-standard-save-entity-1): Save as new file format.
425 (modb-standard-save-entity): Split messages into section here.
426 (elmo-msgdb-message-field): Follow the API change.
427 (modb-standard-default-entity-handler): New internal variable.
428 (elmo-msgdb-message-entity-handler): Define.
430 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
432 (modb-entity-field-extractor-alist): New user option.
433 (elmo-msgdb-message-entity-field): Removed argument `decode' and
434 added argument `type'.
435 (elmo-msgdb-copy-message-entity): Add optional argument
437 (modb-set-field-converter): New function.
438 (modb-convert-field-value): Ditto.
439 (modb-entity-string-decoder): Ditto.
440 (modb-entity-string-encoder): Ditto.
441 (modb-entity-parse-date-string): Ditto.
442 (modb-entity-make-date-string): Ditto.
443 (modb-entity-mime-decoder): Ditto.
444 (modb-entity-mime-encoder): Ditto.
445 (modb-entity-address-list-decoder): Ditto.
446 (modb-entity-address-list-encoder): Ditto.
447 (modb-entity-parse-address-string): Ditto.
448 (modb-entity-make-address-string): Ditto.
449 (modb-entity-create-field-indices): Ditto.
450 (modb-legacy-entity-field-slots): New constant.
451 (modb-legacy-entity-field-indices): Ditto.
452 (modb-legacy-entity-normalizer): New variable.
453 (modb-legacy-entity-specializer): Ditto.
454 (modb-legacy-entity-field-index): New macro.
455 (modb-legacy-entity-set-field): New function.
456 (modb-legacy-make-message-entity): Rewrite.
457 (elmo-msgdb-create-message-entity-from-buffer): Use
458 `elmo-msgdb-get-references-from-buffer'. Use
459 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
460 Use `modb-legacy-entity-set-field' instead of
461 `elmo-msgdb-message-entity-set-field'.
462 (elmo-msgdb-message-entity-field): Rewrite.
463 (elmo-msgdb-message-entity-set-field): Ditto.
464 (elmo-msgdb-copy-message-entity): Make new entity by
465 `make-handler' if it specified.
466 (elmo-msgdb-message-match-condition): Define a method of
467 `modb-entity-handler' and follow the API change.
468 (modb-standard-entity-handler): New class.
469 (modb-entity-extract-ml-info-from-x-sequence): New function.
470 (modb-entity-extract-ml-info-from-subject): Ditto.
471 (modb-entity-extract-ml-info-from-return-path): Ditto.
472 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
473 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
474 (modb-entity-extract-mailing-list-info): Ditto.
475 (modb-entity-extract-mailing-list-info-functions): New variable.
477 * elmo.el (elmo-message-field): Add optional argument `type'.
479 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
480 from `modb-entity.el'.
482 * elmo-util.el (elmo-object-load): Decode by coding-system from
483 `set-auto-coding-function'.
484 (elmo-object-save): Use `detect-mime-charset-region' and add
485 coding cookie if encode.
486 (elmo-msgdb-get-references-from-buffer): New function.
487 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
489 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
491 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
492 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
493 instead of `shimbun-make-header' and follow the API change.
494 (elmo-shimbun-update-overview): Follow the API change.
495 (elmo-map-folder-list-message-locations): Ditto.
497 * elmo-pipe.el (elmo-message-field): Ditto.
499 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
502 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
504 * elmo-multi.el (elmo-message-field): Ditto.
506 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
507 (elmo-msgdb-sort-by-date): Ditto.
508 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
509 `elmo-message-entity-field'.
510 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
512 (elmo-msgdb-overview-entity-get-from): Ditto.
513 (elmo-msgdb-overview-entity-get-subject): Ditto.
514 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
515 (elmo-msgdb-overview-entity-get-date): Ditto.
516 (elmo-msgdb-overview-entity-get-to): Ditto.
517 (elmo-msgdb-overview-entity-get-cc): Ditto.
519 * elmo-mime.el (elmo-message-mime-entity): Ditto.
520 (elmo-mime-collect-message/partial-pieces): Ditto.
522 * elmo-filter.el (elmo-message-field): Ditto.
524 * elmo-date.el (elmo-datevec-to-time): New function.
525 (elmo-time-parse-date-string): Ditto.
526 (elmo-time-make-date-string): Ditto.
529 * elmo-version.el (elmo-version): Up to 2.15.1.
531 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
533 * elmo-flag.el (elmo-global-flags-initialize): Don't include
534 member of elmo-local-flags.
536 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
538 * elmo-version.el (elmo-version): Up to 2.15.0.
540 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
542 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
543 `ignore-msgdb' is non-nil.
545 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
547 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
548 (elmo-condition-in-msgdb-p): Ditto.
549 (elmo-file-field-primitive-condition-match): Ditto.
550 (elmo-file-field-condition-match): Ditto.
552 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
554 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
556 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
558 (elmo-global-flags-initialize): New function.
560 * elmo.el (toplevel): Added autoload setting for
561 `elmo-global-flags-initialize'.
563 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
565 * elmo.el (message-number-changed): Define new signal.
566 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
567 message-number-changed signal.
568 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
569 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
570 Respect `elmo-pack-number-check-strict'.
572 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
574 * elmo-signal.el (elmo-connect-signal): Document.
575 (elmo-emit-signal): Ditto.
576 (elmo-emit-signal): It should pass source argument to filter and
577 handler, not slot-source.
579 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
581 * modb.el (elmo-msgdb-update-entity): New API and define generic
584 * modb-standard.el (elmo-msgdb-update-entity): Define.
586 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
587 API and define generic implement.
589 * elmo.el (update-overview): New singnal.
591 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
592 `elmo-msgdb-update-entity' and emit signal `update-overview'.
593 (elmo-message-entity-parent): Define.
595 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
598 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
600 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
602 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
604 * elmo.el (elmo-folder-synchronize): Sort the return value of
607 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
610 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
612 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
613 `default-enable-multibyte-characters'.
614 (elmo-object-load): Use `with-temp-buffer' instead of
616 (elmo-object-save): Ditto.
617 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
619 (elmo-decoded-field-body): Ditto.
621 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
623 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
624 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
626 * elmo-version.el (elmo-version): Up to 2.13.3.
628 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
630 * elmo-util.el (elmo-list-diff): Fix the last change.
631 Reverse order of result lists.
633 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
635 * modb-standard.el (elmo-msgdb-set-flag): Use
636 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
637 (elmo-msgdb-unset-flag): Ditto.
639 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
642 * elmo-util.el (elmo-list-diff): Rewrite.
643 (elmo-list-diff-nonsortable): New function.
645 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
647 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
648 `elmo-multibypte-buffer-name'. All referers are updated.
650 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
652 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
653 (elmo-mime-entity-fragment-p): New function.
654 (mime-elmo-buffer-entity): Added slot `reassembled'.
655 (elmo-message-mime-entity): Added 4th argument `reassemble'.
656 (elmo-message-mime-entity-internal): New function (renamed from
657 `elmo-message-mime-entity').
658 (elmo-mime-inherit-field-list-from-enclosed): New constant.
659 (elmo-mime-make-reassembled-mime-entity): New function.
660 (elmo-message-reassembled-mime-entity): Ditto.
661 (elmo-mime-collect-message/partial-pieces): Ditto.
663 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
665 * elmo.el (elmo-message-fetch-string): Disable multibyte.
667 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
668 (elmo-with-enable-multibyte): New macro.
670 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
672 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
674 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
676 (elmo-filter-connect-signals): Follow the above change.
678 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
680 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
682 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
683 that only the first flag is used.
685 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
687 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
690 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
692 * elmo-signal.el: New file.
694 * elmo.el (toplevel): Require elmo-signal.
695 (flag-changing, flag-changed, cache-changed): New signal.
696 (elmo-folder): Remove slog `handlers'.
697 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
698 `elmo-folder-notify-event'.
699 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
700 (elmo-folder-unset-flag): Ditto.
701 (elmo-event-handler): Abolish.
702 (elmo-event-handler-flag-changed): Ditto.
703 (elmo-event-handler-cache-changed): Ditto.
704 (elmo-folder-add-handler): Ditto.
705 (elmo-folder-remove-handler): Ditto.
706 (elmo-folder-notify-event): Ditto.
708 * elmo-pipe.el (toplevel): Require elmo-signal.
709 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
710 (elmo-pipe-connect-signals): New function.
711 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
712 (elmo-folder-set-flag): Ditto.
713 (elmo-folder-unset-flag): Ditto.
714 (elmo-message-set-cached): Ditto.
716 * elmo-multi.el (toplevel): Require elmo-signal.
717 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
718 (elmo-multi-connect-signals): New function.
719 (elmo-multi-map-numbers): Ditto.
720 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
721 (elmo-message-fetch): Ditto.
722 (elmo-folder-set-flag): Ditto.
723 (elmo-folder-unset-flag): Ditto.
725 * elmo-filter.el (toplevel): Require elmo-signal.
726 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
727 (elmo-filter-connect-signals): New function.
728 (elmo-filter-add-flag-count): Ditto.
729 (elmo-message-fetch): Does not call
730 `elmo-filter-folder-countup-message-flags' and
731 `elmo-folder-notify-event'.
732 (elmo-message-set-cached): Ditto.
733 (elmo-folder-set-flag): Ditto.
734 (elmo-folder-unset-flag): Ditto.
736 * elmo-version.el (elmo-version): Up to 2.13.2.
738 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
740 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
743 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
745 * elmo-filter.el (elmo-message-set-cached): Call
746 `elmo-folder-notify-event' with event `cache-changed'.
748 * elmo-multi.el (elmo-message-set-cached): Ditto.
750 * elmo-pipe.el (elmo-message-set-cached): Ditto.
752 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
754 * elmo.el (elmo-folder-encache): Abolish.
756 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
758 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
759 (elmo-folder-next-message-number-dop): Return appropriate negative
762 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
764 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
765 clearing pending operations.
766 (elmo-folder-next-message-number-dop): Return appropriate negative
769 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
771 * elmo.el (toplevel): Added autoload setting for `md5'.
772 (elmo-msgdb-path-encode-threshold): New user option.
773 (elmo-folder-msgdb-path): Encode msgdb path if its length is
774 longer than `elmo-msgdb-path-encode-threshold'.
776 * elmo-flag.el (elmo-global-mark-migrate): Use
777 `elmo-folder-expand-msgdb-path' instead of
778 `elmo-folder-msgdb-path'.
780 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
782 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
783 element of the difference is nil.
785 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
787 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
788 to the check logic of file systems which are weak in colon character.
790 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
792 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
794 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
796 * elmo-maildir.el (elmo-maildir-move-file): New function.
797 (elmo-folder-append-buffer): Use it.
798 (elmo-folder-append-messages): Ditto.
799 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
801 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
802 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
804 * elmo-maildir.el (elmo-maildir-separator): New user option.
805 (elmo-maildir-adjust-separator): New macro.
806 (elmo-maildir-list-location): Use it.
807 (elmo-maildir-update-current): Ditto.
808 (elmo-maildir-set-mark): Ditto.
809 (elmo-maildir-delete-mark): Ditto.
810 (These changes are based on Hiroya Murata's patch [wl: 13437])
812 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
814 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
816 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
818 * elmo-flag.el (elmo-flag-valid-p): Simplify.
819 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
820 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
822 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
824 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
825 Use `with-temp-buffer'.
827 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
829 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
831 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
832 `wl-read-search-condition').
833 (elmo-read-search-condition-internal): Likewise.
835 * elmo-flag.el (elmo-flag-char-regexp): New constant.
836 (elmo-flag-valid-p): New function.
837 (elmo-folder-initialize): Check flag name is valid.
839 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
841 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
842 delimiter to obtain root mailbox itself.
844 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
846 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
849 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
851 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
854 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
856 * elmo-shimbun.el (toplevel): Require cl at compile.
858 * elmo-nntp.el (toplevel): Ditto.
860 * elmo-nmz.el (toplevel): Ditto.
862 * elmo-multi.el (toplevel): Ditto.
864 * elmo-file.el (toplevel): Ditto.
866 * elmo-dop.el (toplevel): Ditto.
868 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
870 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
872 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
875 * elmo.el (elmo-message-fetch): Return t even when the output buffer
876 size of elmo-message-fetch-internal is 0 byte.
878 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
880 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
882 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
884 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
887 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
889 * elmo-maildir.el (elmo-map-message-fetch): Call
890 `elmo-map-folder-set-flag'.
892 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
893 (elmo-message-fetch): Merge from
894 `elmo-message-fetch-with-cache-process'.
896 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
897 (elmo-message-fetch): Define.
899 * elmo-nntp.el (elmo-message-fetch): Renamed from
900 `elmo-message-fetch-with-cache-process'.
902 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
903 (elmo-message-fetch): Define.
905 * elmo-util.el (elmo-condition-parse-primitive): Downcase
908 * elmo-shimbun.el (shimbun-mua-search-id): Use
909 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
910 (elmo-shimbun-folder-shimbun-header): Ditto.
911 (elmo-shimbun-get-headers): Ditto.
912 (elmo-shimbun-update-overview): Ditto.
914 * elmo-pipe.el (elmo-folder-detach-messages): Define.
916 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
917 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
919 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
921 * elmo.el (elmo-message-fetch): Unset unread flag on server when
923 (elmo-message-fetch-string): Fixed argument.
925 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
927 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
928 exchange order of arguments `section' and `unread'.
929 (elmo-message-encache): Follow the API change.
930 (elmo-message-match-condition): Ditto.
931 (elmo-generic-folder-append-messages): Ditto.
932 (elmo-message-fetch-string): New function.
934 * elmo-split.el (elmo-split-subr): Ditto.
936 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
938 * elmo-pipe.el (elmo-message-fetch): Ditto.
940 * elmo-multi.el (elmo-message-fetch): Ditto.
942 * elmo-mime.el (elmo-message-mime-entity): Ditto.
944 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
946 * elmo-filter.el (elmo-message-fetch): Ditto.
948 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
950 * elmo-imap4.el (mime-imap-location-section-body): Use
951 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
952 follow the API change.
954 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
956 * elmo-access.el: New file.
958 * elmo-null.el: Ditto.
960 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
962 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
964 * elmo-net.el (elmo-network-session-idle-timeout): New option.
965 (elmo-network-session): New attribute `last-accessed'.
966 (elmo-network-get-session): Discard network cache if elapsed time
967 since last-accessed is larger than elmo-network-session-idle-timeout.
969 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
971 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
972 and added `number', `require-entireness'.
973 (elmo-find-fetch-strategy): Rewrite.
974 (elmo-message-fetch): Unset `unread' flag when argument unread is
977 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
979 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
980 (elmo-message-fetch): Notify event `flag-changed'.
982 * elmo-pipe.el: Likewise.
984 * elmo-mime.el (elmo-mime-entity): New class.
985 (elmo-mime-entity-display-p): New generic function.
986 (elmo-mime-entity-display): Ditto.
987 (elmo-mime-entity-display-as-is): Ditto.
988 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
990 (elmo-make-mime-message-location): Removed.
991 (elmo-mime-message-display): Ditto.
992 (elmo-mime-display-as-is): Ditto.
993 (elmo-message-mime-entity): New function.
995 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
997 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
999 (elmo-message-fetch): Re-count flagged message number and notify
1000 event `flag-changed'.
1002 * elmo-version.el (elmo-version): Up to 2.13.1.
1004 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1006 * elmo-filter.el (elmo-message-field): Define.
1007 (elmo-message-set-field): Ditto.
1009 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1011 * elmo.el (elmo-message-set-cached): Call
1012 `elmo-folder-notify-event' with cache-changed.
1013 (elmo-event-handler-cache-changed): New generic function.
1015 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1017 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1018 instead of elmo-add-name-to-file.
1019 (elmo-folder-append-messages): Ditto.
1021 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1023 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1025 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1027 * elmo-version.el (elmo-version): Up to 2.13.0.
1029 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1032 * modb-standard.el (modb-standard-economize-entity-size): Changed
1033 default value to `t'.
1035 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1038 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1039 after parsing greeting string.
1041 2004-11-23 Daishi Kato <daishi@axlight.com>
1043 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1045 (elmo-spam-spamoracle-call): Use it.
1047 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1049 * elmo.el (elmo-message-accessible-p): Message in dop spool
1052 2004-11-23 Daishi Kato <daishi@axlight.com>
1054 * elsp-spamoracle.el: New file.
1056 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1058 * elmo.el (elmo-message-flags-for-append): New function.
1059 (elmo-generic-folder-append-messages): Use it.
1061 * elmo-split.el (elmo-split-subr): Ditto.
1063 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1064 `flags' and use elmo-folder-append-buffer instead of
1065 write-region-as-binary.
1066 (elmo-dop-filter-pending-messages): New function.
1067 (elmo-folder-append-buffer-dop): Call
1068 elmo-dop-spool-folder-append-buffer with `flag'.
1069 (elmo-folder-set-flag-dop): Filter messages by
1070 elmo-dop-filter-pending-messages.
1071 (elmo-folder-unset-flag-dop): Ditto.
1072 (elmo-folder-append-buffer-dop-delayed): Use
1073 elmo-message-flags-for-append to get flags of the message and
1076 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1078 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1080 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1082 * elmo.el (elmo-folder): Added handlers slot.
1083 (elmo-event-handler): New class.
1084 (elmo-event-handler-flag-changed): New API.
1085 (elmo-folder-add-handler): New function.
1086 (elmo-folder-remove-handler): Ditto.
1087 (elmo-folder-notify-event): Ditto.
1088 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1090 (elmo-folder-unset-flag): Ditto.
1092 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1093 (elmo-folder-unset-flag): Ditto.
1095 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1096 (elmo-folder-unset-flag): Ditto.
1098 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1099 (elmo-folder-unset-flag): Ditto.
1101 * elmo-version.el (elmo-version): Up to 2.11.33.
1103 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1105 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1107 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1109 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1111 * elmo-flag.el (elmo-folder-unset-flag): Define.
1112 (elmo-global-flag-detach): Do process when the flag is not target
1115 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1117 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1119 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1121 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1123 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1125 (elmo-folder-delete-messages): Detach messages before delete
1126 messages from target folder.
1127 (elmo-folder-detach-messages): Set updated number-list to slot.
1129 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1131 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1133 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1135 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1137 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1139 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1141 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1143 (elmo-folder-delete-messages): Define.
1144 (elmo-folder-move-messages): Don't call
1145 `elmo-folder-detach-messages'.
1146 (elmo-folder-synchronize): Rewrite.
1147 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1149 * elmo-util.el (elmo-last): New function.
1150 (elmo-set-list): Ditto.
1151 (elmo-number-set-delete-list): Ditto.
1152 (elmo-number-set-delete): Ditto.
1154 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1156 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1157 `elmo-folder-delete-messages' and don't delete location map.
1158 (elmo-folder-detach-messages): Define.
1160 * elmo-imap4.el (elmo-folder-delete): Use
1161 `elmo-folder-delete-messages-internal' instead of
1162 `elmo-folder-delete-messages'.
1164 * elmo-filter.el (elmo-folder-delete-messages): Call
1165 `elmo-folder-detach-messages'.
1166 (elmo-folder-detach-messages): Don't call
1167 `elmo-folder-detach-messages' for target folder.
1169 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1170 message deletion is succeeded.
1172 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1174 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1175 from `elmo-folder-delete-messages'.
1177 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1179 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1181 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1183 * elmo-version.el (elmo-version): Up to 2.11.32.
1185 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1187 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1188 (elmo-global-flag-list): Added obsolete variable setting.
1190 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1192 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1193 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1194 `elmo-mime-display-header-analysis' is nil.
1196 * elmo-flag.el (elmo-global-flags): Renamed from
1197 `elmo-global-flag-list' (All other related portions are changed).
1198 (elmo-local-flags): New variable.
1199 (elmo-local-flag-p): New function.
1200 (elmo-global-flag-set-internal): Cause an error when flag is not
1203 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1205 * elmo-util.el (elmo-concat-path): Treat empty path.
1207 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1209 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1211 (elmo-split-address-match): Ditto.
1212 (elmo-split-equal): Ditto.
1213 (elmo-split-match): Ditto.
1215 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1217 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1218 (elmo-generic-folder-append-messages): If src message exists but
1219 has no flag, pass (read) for the FLAG argument of
1220 `elmo-folder-append-buffer'. Otherwise, pass nil.
1222 * elmo-split.el (elmo-split-subr): Likewise.
1224 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1226 * elmo-multi.el (elmo-message-flags): Ditto.
1228 * elmo-filter.el (elmo-message-flags): Ditto.
1230 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1231 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1232 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1234 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1236 * elmo-split.el (elmo-split-rule): Update comment.
1237 (elmo-split-address-equal): Allow 2nd argument to be a list.
1238 (elmo-split-address-match): Ditto.
1239 (elmo-split-equal): Ditto.
1240 (elmo-split-match): Ditto.
1242 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1244 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1245 (elmo-folder-append-msgdb): Don't treat `read'.
1246 (elmo-message-flags): Don't return `read'.
1248 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1249 (elmo-folder-unset-read-delayed): Ditto.
1251 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1253 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1255 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1258 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1260 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1263 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1265 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1267 (elmo-msgdb-save): Bind inhibit-quit.
1268 (modb-standard-message-entity): Ditto.
1270 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1272 * elmo-database.el: No need to require elmo-msgdb.
1274 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1276 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1277 instead of `elmo-list-subdirectories'.
1279 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1281 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1283 (elmo-folder-exists-p): "[" is empty.
1284 (elmo-folder-list-subfolders): Define.
1285 (elmo-folder-have-subfolder-p): Ditto.
1287 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1289 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1291 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1293 * elmo-filter.el (elmo-folder-local-p): Define.
1295 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1297 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1298 when entity is garbaged.
1299 (modb-standard-save-entity-1): Don't modify the original entity.
1301 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1303 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1305 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1307 * elmo.el (elmo-strict-folder-diff): Use
1308 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1310 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1312 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1313 (elmo-msgdb-message-number): Ditto.
1314 (elmo-msgdb-message-field): Ditto.
1316 * modb-standard.el (modb-standard-economize-entity-size): New user
1318 (modb-standard-loaded-message-id): New inline function.
1319 (modb-standard-load-entity): Use it.
1320 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1321 throw message-id string away.
1322 (elmo-msgdb-flag-available-p): Define.
1323 (elmo-msgdb-message-number): Ditto.
1324 (elmo-msgdb-message-field): Ditto.
1326 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1327 (suppoted -> supported).
1328 (modb-legacy-supported-flag-p): Ditto.
1329 (elmo-msgdb-set-flag): Ditto.
1330 (elmo-msgdb-unset-flag): Ditto.
1331 (elmo-msgdb-flag-available-p): Define.
1333 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1334 is `t', treat it as legacy entity.
1336 * elmo.el (elmo-message-flag-available-p): New generic function.
1337 (elmo-message-number): Ditto.
1338 (elmo-message-field): Use `elmo-msgdb-message-field'.
1340 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1342 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1343 (elmo-message-number): Ditto.
1345 * elmo-multi.el (elmo-message-number): Define.
1346 (elmo-message-flag-available-p): Ditto.
1348 * elmo-filter.el (elmo-message-flag-available-p): Define.
1349 (elmo-message-number): Ditto.
1351 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1352 (elmo-folder-initialize): Load `max-number'.
1353 (elmo-folder-commit): Save it.
1354 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1355 (elmo-global-flag-set-internal): Set up max-number slot.
1357 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1359 * elmo-version.el (elmo-version): Up to 2.11.31.
1361 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1363 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1364 unibyte string of the current buffer for the argument of `md5'
1365 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1367 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1369 * modb-legacy.el (modb-legacy-flag-list): New constant.
1370 (modb-legacy-suppoted-flag-p): New internal function.
1371 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1372 (elmo-msgdb-unset-flag): Ditto.
1374 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1376 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1378 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1381 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1383 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1384 (follow the API change).
1386 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1388 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1390 * modb-standard.el (modb-standard-digest-flags): Abolish.
1391 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1393 * elmo-vars.el (elmo-digest-flags): New variable.
1394 (elmo-preserved-flags): Moved from elmo-flag.el.
1396 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1397 (elmo-imap4-flag-to-imap-criteria): Ditto.
1398 (elmo-imap4-folder-list-flagged): Use it.
1400 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1402 * elmo.el (elmo-folder-count-flags): Changed return value.
1404 * elmo-flag.el (elmo-preserved-flags): New variable.
1405 (elmo-get-global-flags): Use it.
1407 * modb-standard.el (modb-standard-digest-flags): New variable.
1408 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1409 Changed behavior of `any'.
1411 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1412 which are defined the Internet draft
1413 (draft-melnikov-imap-keywords-03.txt).
1414 (elmo-imap4-flags-to-imap): New function.
1415 (elmo-folder-append-buffer): Use it.
1417 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1420 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1421 avoid the bug of Emacs 21.3.
1423 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1425 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1426 function find-coding-system does not exist.
1428 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1430 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1433 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1435 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1438 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1440 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1441 (elmo-network-close-session): Follow the changes in
1442 `elmo-pop3-read-response'.
1443 (elmo-pop3-auth-user): Ditto.
1444 (elmo-pop3-auth-apop): Ditto.
1445 (elmo-network-initialize-session): Ditto.
1446 (elmo-network-authenticate-session): Ditto.
1447 (elmo-network-setup-session): Ditto.
1448 (elmo-folder-status): Ditto.
1449 (elmo-message-fetch-plugged): Ditto.
1450 (elmo-pop3-delete-msg): Ditto.
1452 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1454 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1457 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1459 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1461 (elmo-bind-directory): Ditto.
1463 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1465 * elmo.el (elmo-folder-append-messages): Note on return value.
1466 * elmo-archive.el (elmo-folder-append-messages): Don't return
1467 message numbers which could not be appended.
1469 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1471 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1473 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1475 * elmo-version.el (elmo-version): Up to 2.11.30.
1477 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1479 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1482 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1484 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1485 (elmo-multi-split-numbers): Add elmo-folder object into each
1486 element of return value at first.
1487 (elmo-folder-delete-messages): Follow the above change.
1488 (elmo-folder-detach-messages): Ditto.
1490 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1491 number which is synchronized in target folder.
1493 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1495 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1496 Change default value to symbol `all'.
1497 (elmo-map-message-fetch): Change condition to update overview
1500 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1502 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1503 behavior to update overview.
1504 (elmo-shimbun-update-overview-folder-list): Note it.
1506 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1508 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1511 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1513 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1514 buffer-disable-undo, it is unnecessary.
1515 (elmo-spam-register-good-messages): Ditto.
1517 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1520 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1522 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1524 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1525 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1526 elmo-set-buffer-multibyte.
1527 (elmo-object-load): Ditto.
1528 (elmo-save-buffer): Ditto.
1529 (elmo-delete-char): Ditto.
1530 (elmo-file-field-primitive-condition-match): Ditto.
1531 (elmo-mime-string): Ditto.
1533 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1534 (elmo-archive-field-condition-match): Ditto.
1536 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1538 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1540 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1541 (elmo-nntp-msgdb-create-message): Ditto.
1543 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1545 * elmo.el (elmo-message-match-condition): Ditto.
1546 (elmo-message-match-condition): Ditto.
1548 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1551 * elmo-version.el (elmo-version): Up to 2.11.29.
1553 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1554 (elsp-header): New backend.
1556 * elmo-util.el (elmo-decoded-field-body): New function.
1558 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1560 * elmo-version.el (elmo-version): Up to 2.11.28.
1562 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1564 * elmo-filter.el: Rewrite.
1566 * elmo-version.el (elmo-version): Up to 2.11.27.
1568 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1570 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1571 msgdb path for the localdir folder with absolute path.
1573 * utf7.el: Synch up with latest gnus/utf7.el;
1574 Modified for latest Emacs.
1576 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1578 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1579 shimbun backend couldn't open.
1581 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1583 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1584 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1585 when a destination folder is a filter folder.
1587 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1589 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1590 (elmo-generic-folder-append-messages): Call elmo-message-flags
1591 with argument `msgid'.
1593 * elmo-split.el (elmo-split-subr): Ditto.
1595 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1597 * elmo-multi.el (elmo-message-flags): Ditto.
1599 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1601 * elmo.el (elmo-folder): Add new slot `flag-table'.
1602 (elmo-folder-flag-table): New API.
1603 (elmo-folder-close-flag-table): Ditto.
1604 (elmo-folder-preserve-flags): New function.
1605 (elmo-generic-folder-append-messages): Use
1606 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1607 Flag of a non-registered message, it sets to nil.
1608 Does not set flag to flag-table.
1610 * elmo-maildir.el (elmo-folder-append-buffer): Use
1611 `elmo-folder-preserve-flags'.
1612 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1613 `elmo-folder-close-flag-table'.
1615 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1616 (elmo-archive-folder-append-buffer): Use
1617 `elmo-folder-preserve-flags'.
1619 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1621 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1623 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1624 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1625 `elmo-folder-close-flag-table'.
1627 * elmo-version.el (elmo-version): Up to 2.11.26.
1629 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1631 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1633 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1634 md5's 4th and 5th argument (non-existent in flim one).
1636 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1638 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1639 message, It sets to nil.
1641 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1643 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1646 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1648 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1650 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1652 * elmo-util.el (elmo-uniq-sorted-list): New function.
1653 (elmo-make-number-list): Ditto.
1654 (elmo-number-set-to-number-list): Use elmo-make-number-list
1655 and don't use nreverse.
1657 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1659 * elmo-version.el (elmo-version): Up to 2.11.25.
1661 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1663 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1664 field not exists in message, Use md5 message digest of header.
1666 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1668 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1669 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1670 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1671 * elmo-split.el (elmo-split-subr): Check return value of
1672 elmo-folder-append-buffer.
1674 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1675 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1677 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1680 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1682 * elmo-split.el (elmo-split-subr): Append message with flag.
1684 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1685 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1686 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1688 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1690 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1691 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1692 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1694 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1696 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1697 with a function call of `process-buffer'. All callers are updated.
1698 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1699 Remove redundant `set-buffer' in a while loop.
1701 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1703 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1706 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1708 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1709 elsp-spamfilter-register-buffer-internal with current buffer.
1710 (elmo-spam-register-spam-buffer): Ditto.
1711 (elmo-spam-register-good-buffer): Ditto.
1713 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1715 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1716 if it is not contained in the response(A workaround for courier-imap).
1718 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1720 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1723 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1725 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1728 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1730 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1733 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1735 (elmo-msgdb-message-match-condition): Follow the change above.
1737 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1739 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1742 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1744 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1746 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1748 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1750 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1752 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1755 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1757 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1759 (elmo-file-command-argument): Undo last change for cygwin.
1760 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1762 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1764 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1766 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1767 value returned from elmo-file-find is nil.
1769 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1771 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1774 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1775 instead of insert-file-contents-as-binary.
1776 (elmo-message-set-field): New generic function.
1778 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1779 behavior change on `split-string'.
1781 * elmo-file.el (elmo-file-find): New function.
1782 (elmo-file-command): New user option.
1783 (elmo-file-command-argument): Ditto.
1784 (elmo-file-fetch-max-size): Ditto.
1785 (elmo-file-detect-format): New function.
1786 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1787 Use elmo-file-detect-format.
1788 (elmo-map-folder-list-message-locations): Don't treat directories.
1790 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1792 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1793 (elmo-passwd-alist-clear): Shred password before clear.
1794 (elmo-remove-passwd): Remove all mached pair.
1796 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1798 * elmo.el (elmo-folder-synchronize): Fix description of the return
1801 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1803 * elmo.el (elmo-message-fetch-bodystructure): New method.
1804 (elmo-message-fetch-bodystructure): Define default.
1806 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1807 elmo-message-fetch-bodystructure.
1808 (elmo-message-fetch-bodystructure): Define.
1810 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1812 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1814 * elmo-filter.el (elmo-message-folder): Define.
1816 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1818 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1819 elmo-delete-cr-buffer.
1821 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1823 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1825 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1827 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1828 type seems to be a text.
1830 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1832 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1833 (elmo-spam-register-good-buffer): Ditto.
1834 (elmo-spam-spamassassin-register-messages): Ditto.
1836 * elmo-util.el (elmo-string-member-ignore-case): Define with
1839 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1841 * elmo.el (elmo-folder-type): Undo last change.
1843 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1845 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1848 * elmo-file.el: New file.
1850 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1852 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1854 (elmo-spam-spamassassin-register-messages): New inline function.
1855 (elmo-spam-register-spam-messages): Define.
1856 (elmo-spam-register-good-messages): Ditto.
1858 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1861 * elmo.el (toplevel): Added autoload setting for
1862 `elmo-get-global-flags'.
1863 (elmo-message-has-global-flag-p): New function.
1864 (elmo-message-set-global-flags): Ditto.
1865 (elmo-folder-type): Improvement for name: format.
1867 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1868 availability of keyword flags.
1869 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1870 (elmo-folder-list-flagged-plugged): Renamed from
1871 elmo-folder-list-flagged-unplugged.
1872 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1873 accept any flag as keyword flag.
1874 (elmo-folder-set-flag-plugged): Accept keyword flags.
1875 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1877 * elmo-flag.el (elmo-get-global-flags): New function.
1879 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1882 * elmo-version.el (elmo-version): Up to 2.11.24.
1884 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1886 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1887 elmo-multiple-field-body instead of std11-field-body to check all
1890 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1892 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1895 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1897 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1898 unintern is unbound.
1900 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1902 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1903 Protect from infinite loop.
1905 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1907 * elsp-bogofilter.el
1908 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1909 (elmo-spam-bogofilter-register-messages): New internal function.
1910 (elmo-spam-register-spam-messages): Define.
1911 (elmo-spam-register-good-messages): Ditto.
1913 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1915 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1916 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1917 (elmo-spam-bogofilter-call): Fixed the last change.
1918 (elmo-spam-bogofilter-arguments): Ditto.
1920 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1921 Follow the options change of latest bogofilter.
1923 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1924 (elmo-spam-bogofilter-good-switch): Ditto.
1925 (elmo-spam-bogofilter-arguments-alist): New user option.
1926 (elmo-spam-bogofilter-debug): Ditto.
1927 (elmo-spam-bogofilter-call): Renamed from
1928 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1929 is non-nil, insert output in buffer for debug.
1930 (elmo-spam-bogofilter-arguments): New macro.
1931 (elmo-spam-buffer-spam-p): Use it.
1932 (elsp-bogofilter-register-buffer): Ditto.
1934 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1936 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1939 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1941 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1943 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1944 (elmo-spam-bsfilter-program): Set default value as full path for
1946 (elmo-spam-bsfilter-debug): New user option.
1947 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1948 non-nil, insert output in buffer for debug. Fix treating of
1951 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1953 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1954 `elmo-maildir-flag-specs' element instead of one.
1955 (elmo-map-folder-unset-flag): Ditto.
1956 (Reported by Ken Makimura <macky@astem.or.jp>)
1958 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1959 (elmo-folder-unset-flag-plugged): Ditto.
1961 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1963 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1964 to `reads' slot only if `in-msgdb' is nil.
1966 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1968 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1969 and complement argument list.
1971 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1973 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1974 instead of elmo-folder-list-flagged.
1976 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1978 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1980 * elsp-bsfilter.el: New file.
1982 * elmo-pipe.el (elmo-folder-list-unreads,
1983 elmo-folder-list-answereds,
1984 elmo-folder-list-importants,
1985 elmo-folder-flag-as-important,
1986 elmo-folder-unflag-important,
1987 elmo-folder-flag-as-read,
1988 elmo-folder-unflag-read,
1989 elmo-folder-flag-as-answered,
1990 elmo-folder-unflag-answered): Remove.
1991 (elmo-folder-set-flag): Define.
1992 (elmo-folder-unset-flag): Ditto.
1994 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1995 (elmo-folder-set-flag): Define.
1996 (elmo-folder-unset-flag): Ditto.
1997 (elmo-folder-list-unreads): Remove.
1998 (elmo-folder-list-flagged): Define.
2000 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2001 (elmo-folder-list-unreads,
2002 elmo-folder-list-importants,
2003 elmo-folder-list-answereds,
2004 elmo-folder-list-unreads-plugged,
2005 elmo-folder-list-importants-plugged,
2006 elmo-folder-list-answereds-plugged): Remove.
2007 (elmo-folder-list-flagged-plugged): New method.
2008 (elmo-folder-unflag-important,
2009 elmo-folder-flag-as-important,
2010 elmo-folder-unflag-read,
2011 elmo-folder-flag-as-read,
2012 elmo-folder-unflag-answered,
2013 elmo-folder-flag-as-answered,
2014 elmo-folder-flag-as-read-unplugged,
2015 elmo-folder-unflag-read-unplugged,
2016 elmo-folder-flag-as-important-unplugged,
2017 elmo-folder-unflag-important-unplugged,
2018 elmo-folder-flag-as-answered-unplugged,
2019 elmo-folder-unflag-answered-unplugged): Remove.
2020 (elmo-folder-set-flag): Define.
2021 (elmo-folder-unset-flag): Ditto.
2022 (elmo-folder-set-flag-unplugged): Ditto.
2023 (elmo-folder-unset-flag-unplugged): Ditto.
2025 * elmo-multi.el (elmo-folder-list-unreads,
2026 elmo-folder-list-answereds,
2027 elmo-folder-list-importants,
2028 elmo-folder-flag-as-important,
2029 elmo-folder-unflag-important,
2030 elmo-folder-flag-as-read,
2031 elmo-folder-unflag-read,
2032 elmo-folder-flag-as-answered,
2033 elmo-folder-unflag-answered): Remove.
2034 (elmo-folder-set-flag): Define.
2035 (elmo-folder-unset-flag): Ditto.
2037 * elmo-map.el (elmo-map-folder-unflag-important,
2038 elmo-map-folder-flag-as-important,
2039 elmo-map-folder-unflag-read,
2040 elmo-map-folder-flag-as-read,
2041 elmo-map-folder-unflag-answered,
2042 elmo-map-folder-flag-as-answered): Remove.
2043 (elmo-map-folder-set-flag): New method.
2044 (elmo-map-folder-unset-flag): Ditto.
2045 (elmo-map-folder-list-unreads,
2046 elmo-map-folder-list-importants,
2047 elmo-map-folder-list-answereds): Remove.
2048 (elmo-folder-list-flagged-internal): Define.
2049 (elmo-map-folder-list-flagged): New method.
2051 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2052 (elmo-map-folder-list-unreads,
2053 elmo-map-folder-list-importants,
2054 elmo-map-folder-list-flagged): Remove.
2055 (elmo-map-folder-list-flagged): Define.
2056 (elmo-map-folder-flag-as-important,
2057 elmo-map-folder-unflag-important,
2058 elmo-map-folder-flag-as-read,
2059 elmo-map-folder-unflag-read,
2060 elmo-map-folder-flag-as-answered,
2061 elmo-map-folder-unflag-answered): Remove.
2062 (elmo-maildir-set-mark-messages): New internal function.
2063 (elmo-map-folder-set-flag): Define.
2064 (elmo-map-folder-unset-flag): Ditto.
2066 * elmo.el (toplevel): Added autoload setting for
2067 `elmo-folder-list-global-flag-messages'.
2068 (elmo-folder-list-unreads,
2069 elmo-folder-list-importants,
2070 elmo-folder-list-answereds): Remove.
2071 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2072 Return a list whitch merged with messages have global flag.
2073 (elmo-folder-list-flagged-internal): New method.
2074 (elmo-folder-unflag-important,
2075 elmo-folder-flag-as-important,
2076 elmo-folder-unflag-read,
2077 elmo-folder-flag-as-read,
2078 elmo-folder-unflag-answered,
2079 elmo-folder-flag-as-answered): Remove.
2080 (elmo-folder-set-flag): New method.
2081 (elmo-folder-unset-flag): Ditto.
2082 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2083 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2085 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2086 (elmo-folder-list-unreads-plugged,
2087 elmo-folder-list-importants-plugged,
2088 elmo-folder-list-answereds-plugged,
2089 elmo-folder-list-flagged-unplugged,
2090 elmo-folder-unflag-important-plugged,
2091 elmo-folder-flag-as-important-plugged,
2092 elmo-folder-unflag-read-plugged,
2093 elmo-folder-flag-as-read-plugged,
2094 elmo-folder-unflag-answered-plugged,
2095 elmo-folder-flag-as-answered-plugged): Remove.
2096 (elmo-folder-set-flag-plugged,
2097 elmo-folder-unset-flag-plugged): Define.
2099 * elmo-flag.el (elmo-folder-initialize): Register to
2100 `elmo-global-flag-list' if flag is not global.
2101 (elmo-folder-append-messages): Set flag to source messages.
2103 * elmo-filter.el (elmo-filter-folder-list-unreads,
2104 elmo-folder-list-unreads,
2105 elmo-filter-folder-list-importants,
2106 elmo-folder-list-importants,
2107 elmo-folder-flag-as-read,
2108 elmo-folder-unflag-read,
2109 elmo-folder-flag-as-important,
2110 elmo-folder-unflag-important,
2111 elmo-folder-flag-as-answered,
2112 elmo-folder-unflag-answered): Remove.
2113 (elmo-folder-set-flag): Define.
2114 (elmo-folder-unset-flag): Ditto.
2116 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2117 elmo-folder-unflag-read-dop,
2118 elmo-folder-flag-as-important-dop,
2119 elmo-folder-unflag-important-dop,
2120 elmo-folder-flag-as-answered-dop,
2121 elmo-folder-unflag-answered-dop): Remove.
2122 (elmo-folder-set-flag-dop,
2123 elmo-folder-unset-flag-dop,
2124 elmo-folder-set-important-delayed,
2125 elmo-folder-unset-important-delayed,
2126 elmo-folder-set-read-delayed,
2127 elmo-folder-unset-read-delayed,
2128 elmo-folder-set-answered-delayed,
2129 elmo-folder-unset-answered-delayed): New function.
2130 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2131 (elmo-dop-queue-method-name-alist): Ditto.
2133 * elmo-version.el (elmo-version): Up to 2.11.23.
2135 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2137 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2139 * elsp-sa.el: New file.
2141 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2143 * modb-standard.el (modb-standard-message-entity): New function.
2144 (elmo-msgdb-message-entity): Use it.
2146 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2148 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2149 behavior when one-level is nil.
2151 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2153 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2155 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2157 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2159 (elmo-generic-folder-diff): Ditto.
2161 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2162 (elmo-folder-update-number): Ditto.
2164 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2165 (elmo-folder-next-message-number-dop): Ditto.
2167 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2169 * elmo-filter.el (elmo-folder-msgdb-create): Use
2170 `elmo-message-entity' and `elmo-message-flags' instead of
2171 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2173 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2175 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2178 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2180 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2182 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2184 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2186 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2188 * elmo-version.el (elmo-version): Up to 2.11.22.
2190 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2192 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2194 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2196 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2197 if the message dose not exist.
2199 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2201 * elmo-version.el (elmo-version): Up to 2.11.21.
2203 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2205 * modb-standard.el (toplevel): Don't require mime.
2207 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2209 * elsp-bogofilter.el (toplevel): Don't require path-util.
2210 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2211 (elmo-spam-bogofilter-header): Abolish.
2212 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2213 (elmo-spam-bogofilter-args): New user option.
2214 (elsp-bogofilter-call-bogofilter): New internal function.
2215 (elmo-spam-buffer-spam-p): Use it.
2216 (elsp-bogofilter-register-buffer): Renamed from
2217 `elmo-spam-bogofilter-register-buffer';
2218 Use `elsp-bogofilter-call-bogofilter'.
2219 (elmo-spam-register-spam-buffer): Follow the change above.
2220 (elmo-spam-register-good-buffer): Ditto.
2222 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2224 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2225 message-id is nil do nothing.
2227 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2229 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2231 (elmo-imap4-session): Removed use-flag slot.
2232 (elmo-imap4-session-select-mailbox): Undo last change.
2233 (elmo-folder-use-flag-p): Use
2234 elmo-imap4-disuse-server-flag-mailbox-regexp.
2236 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2238 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2239 (elmo-imap4-session-select-mailbox): Set it up.
2240 (elmo-folder-use-flag-p): Return value of use-flag slot.
2242 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2244 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2246 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2248 * modb-entity.el (elmo-message-entity-handler): Likewise.
2250 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2252 * elmo.el (toplevel): Remove setting of autoloding for
2253 elmo-global-flag-initialize.
2254 (elmo-init): Don't call elmo-global-flag-initialize.
2255 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2257 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2258 (elmo-global-mark-migrate): Don't call it.
2259 (elmo-global-mark-upgrade): Ditto.
2261 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2263 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2264 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2266 * elmo-vars.el (elmo-init-hook): New user option.
2268 * elmo.el (elmo-init): Run the elmo-init-hook.
2270 * elmo-flag.el (elmo-global-mark-migrate): New function.
2272 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2274 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2275 Undo last change (move to elmo-msgdb-unset-flag).
2276 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2279 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2281 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2283 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2284 (elmo-msgdb-unset-flag): Ditto.
2286 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2288 * elmo-split.el (elmo-split): Return split message count.
2290 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2292 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2295 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2297 * elmo.el (elmo-folder-unflag-important): Call
2298 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2301 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2303 (elmo-global-flag-detach): Delete the message from flag folder, if
2304 `delete-if-none' is a symbol `always'.
2306 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2308 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2309 `elmo-spam-spamfilter-decode-buffer'.
2310 (elsp-spamfilter-register-buffer-internal): New internal function.
2311 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2312 (elmo-spam-register-spam-buffer): Ditto.
2313 (elmo-spam-register-good-buffer): Ditto.
2315 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2317 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2318 (elmo-spam-register-spam-buffer): Follow the API change.
2319 (elmo-spam-register-good-buffer): Ditto.
2321 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2322 (elmo-split-spam-p): Added argument plist; Call
2323 `elmo-spam-buffer-spam-p' with new argument register.
2325 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2327 (elmo-spam-message-spam-p): Ditto.
2328 (elmo-spam-register-spam-buffer): Added optional argument
2330 (elmo-spam-register-good-buffer): Ditto.
2331 (elmo-spam-register-spam-messages): Ditto.
2332 (elmo-spam-register-good-messages): Ditto.
2334 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2336 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2337 register into good corpus.
2338 (elmo-spam-register-good-buffer): Fixed to register into bad
2341 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2343 * elmo-version.el (elmo-version): Up to 2.11.20.
2345 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2348 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2349 flag without depending on \Recent flag.
2351 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2353 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2354 (elmo-spam-modified-p): Defined.
2355 (elmo-spam-save-status): Set `modified' slot to nil.
2356 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2357 (elmo-spam-register-good-buffer): Ditto.
2359 * elmo-spam.el (elmo-spam-modified-p): New API.
2361 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2363 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2364 duplicate definition.
2366 * elmo-util.el (elmo-unfold-field-body): New function.
2367 (elmo-msgdb-get-message-id-from-buffer): Use it.
2369 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2370 Fixed the last change; Use elmo-unfold-field-body.
2372 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2374 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2377 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2379 * elmo-spam.el (elmo-spam-save-status): New API.
2381 * elsp-spamfilter.el: New file.
2383 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2385 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2387 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2389 * elmo-split.el (elmo-split-spam-p): New function.
2391 * elmo-spam.el: New file.
2393 * elsp-bogofilter.el: Ditto.
2395 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2397 * elmo.el (elmo-folder-next-message-number): New API.
2398 (elmo-folder-next-message-number): Define.
2399 (elmo-message-field): Don't check folder length.
2401 * elmo-net.el (elmo-folder-next-message-number): Define.
2402 (elmo-folder-next-message-number-unplugged): Define.
2404 * elmo-map.el (elmo-folder-next-message-number): Define.
2405 (elmo-folder-delete-messages): Clear hash value.
2407 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2409 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2410 (elmo-folder-delete-messages-dop-delayed): Always return t.
2412 * elmo-version.el (elmo-version): Up to 2.11.19.
2414 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2416 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2419 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2420 identical cons cell into the mark-alist and the hash table.
2422 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2424 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2425 elmo-folder-list-messages with argument `visible-only' as t.
2427 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2428 (elmo-folder-msgdb-create): Check the target folder.
2430 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2432 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2433 `permanentflag' instead of `flags'.
2434 (elmo-folder-open): Ditto.
2435 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2436 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2437 (elmo-folder-use-flag-p): Always return t.
2438 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2439 `permanentflags' does not exist.
2440 (elmo-folder-open): Ditto.
2442 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2444 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2446 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2448 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2449 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2451 (elmo-folder-open): Ditto.
2452 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2453 slot of the session includes the flag.
2454 (elmo-imap4-session-flag-available-p): New function.
2455 (elmo-imap4-folder-list-flagged): Ditto.
2456 (elmo-folder-list-unreads-plugged): Use it.
2457 (elmo-folder-list-importants-plugged): Ditto.
2458 (elmo-folder-list-answereds-plugged): Ditto.
2459 (elmo-imap4-search-internal-primitive): Ditto.
2460 (elmo-imap4-folder-list-any-plugged,
2461 elmo-imap4-folder-list-digest-plugged): Abolish.
2463 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2466 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2468 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2470 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2472 * elmo-util.el (elmo-get-hash-val): Simplify.
2473 (elmo-set-hash-val): Rewrite.
2475 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2477 * elmo.el (elmo-folder-list-messages): Append killed messages into
2478 result if `visible-only' is nil and `in-msgdb' is non-nil.
2480 * elmo-util.el (elmo-uniq-list): Added optional argument
2483 * modb.el (elmo-msgdb-flag-count): New API.
2485 * modb-standard.el (modb-standard): Added slot flag-count.
2486 (modb-standard-countup-flags): New function.
2487 (modb-standard-load-flag): Call it.
2488 (elmo-msgdb-append): Ditto.
2489 (elmo-msgdb-clear): Clear slot flag-count.
2490 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2491 (elmo-msgdb-unset-flag): Treat `all' flag and call
2492 modb-standard-countup-flags.
2493 (elmo-msgdb-flag-count): Define.
2494 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2495 (elmo-msgdb-delete-messages): Ditto.
2497 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2498 (elmo-msgdb-flag-count): Define.
2500 * elmo.el (elmo-folder-list-messages): Undo last change.
2501 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2502 (elmo-folder-kill-messages): Unset all flags to numbers.
2504 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2505 elmo-folder-kill-messages.
2507 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2508 (elmo-nntp-folder-delete-messages): Abolish.
2510 * elmo-version.el (elmo-version): Up to 2.11.18.
2512 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2514 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2515 (elmo-folder-kill-messages-range): New function.
2516 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2517 instead of elmo-folder-kill-messages-before.
2519 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2521 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2522 elmo-imap4-current-msgdb to decide entity handler.
2524 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2526 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2528 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2530 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2531 (elmo-msgdb-overview-entity-set-number,
2532 elmo-msgdb-overview-entity-get-references,
2533 elmo-msgdb-overview-entity-set-references,
2534 elmo-msgdb-overview-entity-get-from-no-decode,
2535 elmo-msgdb-overview-entity-get-from,
2536 elmo-msgdb-overview-entity-set-from,
2537 elmo-msgdb-overview-entity-get-subject,
2538 elmo-msgdb-overview-entity-get-subject-no-decode,
2539 elmo-msgdb-overview-entity-set-subject,
2540 elmo-msgdb-overview-entity-get-date,
2541 elmo-msgdb-overview-entity-set-date,
2542 elmo-msgdb-overview-entity-get-to,
2543 elmo-msgdb-overview-entity-get-cc,
2544 elmo-msgdb-overview-entity-get-size,
2545 elmo-msgdb-overview-entity-set-size,
2546 elmo-msgdb-overview-entity-get-extra,
2547 elmo-msgdb-overview-entity-set-extra,
2548 elmo-msgdb-overview-entity-get-extra-field,
2549 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2550 (elmo-msgdb-make-index): Use
2551 `elmo-msgdb-overview-entity-get-number-internal'.
2552 (elmo-msgdb-clear-index): Ditto.
2553 (elmo-msgdb-append-entity): Ditto;
2554 Use `elmo-msgdb-overview-entity-get-id-internal'.
2556 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2557 elmo-msgdb-overview-entity-set-number,
2558 elmo-msgdb-overview-entity-get-references,
2559 elmo-msgdb-overview-entity-set-references,
2560 elmo-msgdb-overview-entity-get-from-no-decode,
2561 elmo-msgdb-overview-entity-get-from,
2562 elmo-msgdb-overview-entity-set-from,
2563 elmo-msgdb-overview-entity-get-subject,
2564 elmo-msgdb-overview-entity-get-subject-no-decode,
2565 elmo-msgdb-overview-entity-set-subject,
2566 elmo-msgdb-overview-entity-get-date,
2567 elmo-msgdb-overview-entity-set-date,
2568 elmo-msgdb-overview-entity-get-to,
2569 elmo-msgdb-overview-entity-get-cc,
2570 elmo-msgdb-overview-entity-get-size,
2571 elmo-msgdb-overview-entity-set-size,
2572 elmo-msgdb-overview-entity-get-extra,
2573 elmo-msgdb-overview-entity-set-extra,
2574 elmo-msgdb-overview-entity-get-extra-field,
2575 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2576 and rewrote for backward compatibility.
2578 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2580 * elmo.el (elmo-message-entity-number,
2581 elmo-message-entity-set-number,
2582 elmo-message-entity-field,
2583 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2585 * elmo-msgdb.el (elmo-message-entity-number,
2586 elmo-message-entity-set-number,
2587 elmo-message-entity-field,
2588 elmo-message-entity-set-field): Moved from elmo.el.
2590 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2592 * elmo.el (toplevel): Changed definition orders.
2594 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2596 * modb.el (elmo-msgdb-search): New API .
2597 (elmo-msgdb-match-condition): Ditto.
2599 * modb-standard.el (elmo-msgdb-search): Define.
2601 * modb-legacy.el (elmo-msgdb-search): Ditto.
2603 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2604 from elmo-msgdb-match-condition-internal.
2606 * elmo.el (elmo-folder-search-fast): Abolish.
2607 (elmo-folder-search): Use elmo-msgdb-search and
2608 elmo-with-progress-display.
2610 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2613 * elmo.el (elmo-folder): Remove slot message-modified and
2615 (elmo-folder-set-message-modified): Abolish.
2616 (elmo-generic-folder-commit): Follow the change above.
2617 (elmo-folder-synchronize): Ditto.
2619 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2621 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2623 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2625 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2627 * modb-standard.el (modb-standard-make-message-entity,
2628 elmo-msgdb-make-message-entity,
2629 elmo-msgdb-create-message-entity-from-buffer,
2630 elmo-msgdb-message-entity-number,
2631 elmo-msgdb-message-entity-set-number,
2632 elmo-msgdb-message-entity-field,
2633 elmo-msgdb-message-entity-set-field,
2634 elmo-msgdb-copy-message-entity,
2635 elmo-msgdb-match-condition-internal): Remove.
2637 * modb-entity.el: New file (again).
2639 * modb.el (toplevel): Require modb-entity.
2640 (elmo-msgdb-message-entity-handler): New method.
2642 * modb-standard.el (modb-standard-entity-id): Use
2643 elmo-message-entity-handler.
2644 (modb-standard-load-entity): Ditto.
2645 (elmo-msgdb-append-entity): Ditto.
2646 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2648 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2649 elmo-msgdb-decoded-cache-hashtb,
2650 (modb-legacy-make-message-entity,
2651 elmo-msgdb-make-message-entity,
2652 elmo-msgdb-create-message-entity-from-buffer,
2653 elmo-msgdb-message-entity-number,
2654 elmo-msgdb-message-entity-set-number,
2655 elmo-msgdb-message-entity-field,
2656 elmo-msgdb-message-entity-set-field,
2657 elmo-msgdb-copy-message-entity,
2658 elmo-msgdb-match-condition-internal,
2659 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2661 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2662 (elmo-message-entity-set-number): Ditto.
2663 (elmo-message-entity-field): Ditto.
2664 (elmo-message-entity-set-field): Ditto.
2666 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2668 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2670 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2672 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2673 (elmo-nntp-msgdb-create-message): Ditto.
2675 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2676 (elmo-folder-msgdb-create): Add unread flag.
2678 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2680 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2682 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2684 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2686 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2687 elmo-msgdb-messge-entity-handler.
2688 * elmo-version.el (elmo-version): Up to 2.11.17.
2690 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2692 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2695 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2697 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2699 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2700 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2701 (elmo-msgdb-flag-table): Ditto.
2702 (elmo-msgdb-sort-by-date): Ditto.
2704 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2706 * modb-standard.el (toplevel): Require mime.
2707 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2708 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2709 elmo-msgdb-message-entity-number.
2710 (elmo-msgdb-append-entity): Ditto.
2711 (elmo-msgdb-create-message-entity-from-file): Remove.
2712 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2713 corresponds to the entity.
2714 (elmo-msgdb-message-entity-number): Do nothing currently.
2715 (elmo-msgdb-message-entity-field): Ditto.
2716 (elmo-msgdb-message-entity-set-field): Ditto.
2717 (elmo-msgdb-copy-message-entity): Ditto.
2718 (elmo-msgdb-match-condition-internal): Ditto.
2720 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2722 (elmo-msgdb-create-message-entity-from-file): Remove.
2724 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2726 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2728 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2730 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2732 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2733 (elmo-msgdb-message-entity-field): Ditto.
2734 (elmo-msgdb-message-entity-number): Ditto.
2736 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2738 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2739 Fixed how to set extra field into entity.
2740 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2743 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2744 Fixed how to set extra field into entity.
2745 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2748 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2750 * modb.el (elmo-message-entity-db): New function.
2751 (elmo-msgdb-make-message-entity): New API.
2752 (elmo-msgdb-message-entity-number): Ditto.
2753 (elmo-msgdb-message-entity-set-number): Ditto.
2754 (elmo-msgdb-message-entity-field): Ditto.
2755 (elmo-msgdb-message-entity-set-field): Ditto.
2756 (elmo-msgdb-copy-message-entity): Ditto.
2757 (elmo-msgdb-create-message-entity-from-file): Ditto.
2758 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2759 (elmo-msgdb-match-condition-internal): Ditto.
2761 * modb-standard.el (modb-legacy): Require modb-legacy.
2762 (modb-standard-make-message-entity): New inline function.
2763 (elmo-msgdb-make-message-entity): Define.
2764 (elmo-msgdb-create-message-entity-from-file): Ditto.
2765 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2766 (elmo-msgdb-message-entity-field): Ditto.
2767 (elmo-msgdb-message-entity-set-field): Ditto.
2768 (elmo-msgdb-copy-message-entity): Ditto.
2769 (elmo-msgdb-match-condition-internal): Ditto.
2771 * modb-legacy.el: Don't require modb-entity.
2772 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2773 (elmo-msgdb-match-condition-primitive): Ditto.
2774 (elmo-msgdb-get-decoded-cache): Ditto.
2775 (elmo-msgdb-overview-entity-get-id): Ditto.
2776 (elmo-msgdb-overview-entity-get-number): Ditto.
2777 (elmo-msgdb-overview-entity-set-number): Ditto.
2778 (elmo-msgdb-overview-entity-get-references): Ditto.
2779 (elmo-msgdb-overview-entity-set-references): Ditto.
2780 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2781 (elmo-msgdb-overview-entity-get-from): Ditto.
2782 (elmo-msgdb-overview-entity-set-from): Ditto.
2783 (elmo-msgdb-overview-entity-get-subject): Ditto.
2784 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2785 (elmo-msgdb-overview-entity-set-subject): Ditto.
2786 (elmo-msgdb-overview-entity-get-date): Ditto.
2787 (elmo-msgdb-overview-entity-set-date): Ditto.
2788 (elmo-msgdb-overview-entity-get-to): Ditto.
2789 (elmo-msgdb-overview-entity-get-cc): Ditto.
2790 (elmo-msgdb-overview-entity-get-size): Ditto.
2791 (elmo-msgdb-overview-entity-set-size): Ditto.
2792 (elmo-msgdb-overview-entity-get-extra): Ditto.
2793 (elmo-msgdb-overview-entity-set-extra): Ditto.
2794 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2795 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2796 (elmo-msgdb-number-load): Ditto.
2797 (elmo-msgdb-overview-load): Ditto.
2798 (elmo-msgdb-mark-load): Ditto.
2799 (elmo-msgdb-number-save): Ditto.
2800 (elmo-msgdb-mark-save): Ditto.
2801 (elmo-msgdb-overview-save): Ditto.
2802 (modb-legacy-make-message-entity): New inline function.
2803 (elmo-msgdb-insert-file-header): Ditto.
2804 (elmo-msgdb-make-message-entity): Define.
2805 (elmo-msgdb-create-message-entity-from-file): Ditto.
2806 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2807 (elmo-msgdb-message-entity-number): Ditto.
2808 (elmo-msgdb-message-entity-set-number): Ditto.
2809 (elmo-msgdb-message-entity-field): Ditto.
2810 (elmo-msgdb-message-entity-set-field): Ditto.
2811 (elmo-msgdb-copy-message-entity): Ditto.
2812 (elmo-msgdb-match-condition-internal): Ditto.
2814 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2815 (elmo-message-copy-entity): Rewrite.
2816 (elmo-message-entity-number): Ditto.
2817 (elmo-message-entity-set-number): Ditto.
2818 (elmo-message-entity-field): Use elmo-message-entity-db.
2819 (elmo-message-entity-set-field): Ditto.
2820 (elmo-message-field): Rewrite.
2822 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2824 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2826 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2827 elmo-message-entity-field.
2828 (elmo-shimbun-folder-shimbun-header): Ditto.
2829 (elmo-shimbun-entity-to-header): Ditto.
2830 (elmo-folder-msgdb-create): Ditto.
2831 (elmo-shimbun-msgdb-create-entity): Ditto;
2832 Use elmo-msgdb-create-message-entity-from-buffer.
2833 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2834 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2836 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2837 elmo-msgdb-create-message-entity-from-file and
2838 elmo-message-entity-field.
2840 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2841 elmo-message-entity-number.
2842 (elmo-pop3-msgdb-create-message): Use
2843 elmo-msgdb-create-message-entity-from-buffer,
2844 elmo-message-entity-set-field, elmo-message-entity-number and
2845 elmo-message-entity-set-number.
2847 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2848 the API change in elmo-msgdb-make-message-entity.
2849 (elmo-nntp-msgdb-create-message): Use
2850 elmo-msgdb-create-message-entity-from-buffer.
2852 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2853 elmo-message-entity-field and
2854 elmo-msgdb-create-message-entity-from-file.
2856 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2857 (elmo-msgdb-get-field): Abolish.
2858 (elmo-msgdb-get-number): Rewrite.
2859 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2860 (elmo-msgdb-flag-table): Ditto.
2861 (elmo-msgdb-get-last-message-id,
2862 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2863 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2864 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2865 (elmo-msgdb-create-overview-from-buffer,
2866 elmo-msgdb-overview-get-parent-entity): Abolish.
2868 * elmo-mime.el (elmo-mime-display-as-is): Use
2869 elmo-message-entity-field.
2871 * elmo-map.el (elmo-folder-pack-numbers): Use
2872 elmo-message-entity-set-number.
2874 * elmo-maildir.el (elmo-folder-msgdb-create):
2875 elmo-msgdb-create-message-entity-from-file instead of
2876 elmo-msgdb-create-overview-entity-from-file.
2878 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2880 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2881 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2883 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2884 elmo-messge-entity-field and elmo-message-entity-number.
2885 (elmo-imap4-fetch-callback-1): Call
2886 elmo-msgdb-create-message-entity-from-buffer instead of
2887 elmo-msgdb-create-overview-from-buffer.
2888 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2889 (elmo-find-fetch-strategy): Likewise.
2891 * elmo-flag.el (elmo-folder-msgdb-create): Call
2892 elmo-localdir-msgdb-create-entity with argument msgdb.
2894 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2895 and elmo-message-entity-set-number.
2897 * elmo-cache.el (elmo-folder-msgdb-create): Use
2898 elmo-message-entity-field.
2899 (elmo-folder-msgdb-create): Call
2900 elmo-msgdb-create-message-entity-from-file instead of
2901 elmo-msgdb-create-overview-entity-from-file.
2903 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2904 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2905 instead of elmo-msgdb-create-overview-from-buffer.
2906 (elmo-archive-msgdb-create-entity): Ditto.
2907 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2908 elmo-message-entity-field.
2909 (elmo-archive-parse-mmdf): Ditto.
2911 * modb-entity.el: Removed.
2913 * elmo-version.el (elmo-version): Up to 2.11.16.
2915 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2917 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2919 (elmo-folder-flag-as-answered): Ditto.
2921 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2923 * modb-standard.el: New file.
2925 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2926 elmo-msgdb-convert-type is `sync'.
2928 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2929 (elmo-msgdb-convert-type): New user option.
2931 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2932 (elmo-load-msgdb): Auto detect saved type.
2934 * elmo-version.el (elmo-version): Up to 2.11.15.
2936 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2938 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2940 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2941 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2942 with argument `delete-if-none' when dst-folder is 'null.
2944 * elmo-flag.el (elmo-folder-append-messages): Defined.
2945 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2947 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2949 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2951 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2953 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2954 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2955 (elmo-folder-commit): Ditto.
2957 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2959 * elmo-flag.el: New file.
2961 * elmo-mark.el: Removed.
2963 * modb-legacy.el (modb-legacy-new-mark,
2964 modb-legacy-unread-uncached-mark,
2965 modb-legacy-unread-cached-mark,
2966 modb-legacy-read-uncached-mark,
2967 modb-legacy-answered-cached-mark,
2968 modb-legacy-answered-uncached-mark,
2969 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2970 All other related portions are changed.
2972 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2973 (elmo-folder-list-messages-with-global-mark): Abolish.
2974 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2975 (elmo-folder-flag-as-important): Ditto.
2976 (elmo-folder-unflag-read): Ditto.
2977 (elmo-folder-flag-as-read): Ditto.
2978 (elmo-folder-unflag-answered): Ditto.
2979 (elmo-folder-flag-as-answered): Ditto.
2980 (elmo-message-encache): Return the cache path.
2981 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2982 (elmo-message-set-flag): Transitional implementation.
2983 (elmo-message-unset-flag): Ditto.
2984 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2985 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2986 (elmo-init): Call elmo-global-flag-initialize.
2987 (toplevel): Added autoload settings for elmo-flag.
2989 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2991 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2992 (elmo-file-cache-delete): Don't treat global-mark.
2994 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2996 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2998 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2999 `elmo-global-flags-set'.
3001 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3003 (elmo-folder-unflag-read): Ditto.
3004 (elmo-folder-unflag-important): Ditto.
3005 (elmo-folder-flag-as-important): Ditto.
3006 (elmo-folder-unflag-answered): Ditto.
3007 (elmo-folder-flag-as-answered): Ditto.
3009 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3010 `elmo-global-flags-set'.
3011 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3013 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3015 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3017 (elmo-folder-flag-as-important): Ditto.
3018 (elmo-folder-unflag-important): Ditto.
3019 (elmo-folder-flag-as-important): Ditto.
3020 (elmo-folder-unflag-read): Ditto.
3021 (elmo-folder-flag-as-read): Ditto.
3022 (elmo-folder-unflag-answered): Ditto.
3023 (elmo-folder-flag-as-answered): Ditto.
3025 * elmo-multi.el (elmo-folder-list-importants): Don't call
3026 elmo-folder-list-messages-with-global-mark.
3027 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3028 (elmo-folder-unflag-important): Ditto.
3029 (elmo-folder-flag-as-read): Ditto.
3030 (elmo-folder-unflag-read): Ditto.
3031 (elmo-folder-flag-as-answered): Ditto.
3032 (elmo-folder-unflag-answered): Ditto.
3034 * elmo-msgdb.el (elmo-msgdb-new-mark,
3035 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3036 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3037 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3038 (Moved to modb-legacy.el).
3039 (elmo-flag-table-get): Treat important flag too.
3041 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3043 (elmo-map-folder-flag-as-important): Ditto.
3044 (elmo-map-folder-unflag-read): Ditto.
3045 (elmo-map-folder-flag-as-read): Ditto.
3046 (elmo-map-folder-unflag-answered): Ditto.
3047 (elmo-map-folder-flag-as-answered): Ditto.
3048 (elmo-folder-unflag-important): Ditto.
3049 (elmo-folder-flag-as-important): Ditto.
3050 (elmo-folder-unflag-read): Ditto.
3051 (elmo-folder-flag-as-read): Ditto.
3052 (elmo-folder-unflag-answered): Ditto.
3053 (elmo-folder-flag-as-answered): Ditto.
3055 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3056 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3058 (elmo-map-folder-unflag-important): Ditto.
3059 (elmo-map-folder-flag-as-read): Ditto.
3060 (elmo-map-folder-unflag-read): Ditto.
3061 (elmo-map-folder-flag-as-answered): Ditto.
3062 (elmo-map-folder-unflag-answered): Ditto.
3064 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3065 `elmo-global-flags-set'.
3066 (elmo-global-flags-set): Added autoload setting.
3068 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3071 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3072 `elmo-msgdb-global-mark-set'.
3073 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3074 Call `elmo-global-flags-set'.
3075 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3077 (elmo-folder-flag-as-important-plugged): Ditto.
3078 (elmo-folder-unflag-read-plugged): Ditto.
3079 (elmo-folder-flag-as-read-plugged): Ditto.
3080 (elmo-folder-unflag-answered-plugged): Ditto.
3081 (elmo-folder-flag-as-answered-plugged): Ditto.
3082 (elmo-global-flags-set): Added autoload setting.
3084 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3086 (elmo-folder-unflag-read): Ditto.
3087 (elmo-folder-flag-as-important): Ditto.
3088 (elmo-folder-unflag-important): Ditto.
3089 (elmo-folder-flag-as-answered): Ditto.
3090 (elmo-folder-unflag-answered): Ditto.
3092 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3093 change of `mark'->`flag'.
3094 (elmo-dop-queue-method-name-alist): Ditto.
3095 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3096 (elmo-folder-unflag-read-dop): Ditto.
3097 (elmo-folder-flag-as-important-dop): Ditto.
3098 (elmo-folder-unflag-important-dop): Ditto.
3099 (elmo-folder-flag-as-answered-dop): Ditto.
3100 (elmo-folder-unflag-answered-dop): Ditto.
3102 * elmo-cache.el (elmo-folder-msgdb-create): Call
3103 `elmo-global-flags-set'.
3105 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3106 Call `elmo-global-flags-set'.
3107 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3108 elmo-archive-parse-mmdf with argument `folder'.
3109 (elmo-archive-parse-mmdf): Added argument `folder';
3110 Call `elmo-global-flags-set'.
3112 * elmo-version.el (elmo-version): Up to 2.11.14.
3114 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3116 * modb.el (elmo-msgdb-length): Define.
3118 * elmo.el (elmo-make-folder): Fixed.
3119 (elmo-generic-folder-append-messages): Follow the API change.
3121 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3124 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3126 * modb.el: New file.
3128 * modb-entity.el: Ditto.
3130 * modb-legacy.el: Ditto.
3132 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3133 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3134 of `elmo-msgdb-overview-get-entity'.
3135 (elmo-msgdb-get-field): Ditto.
3136 (elmo-msgdb-merge): Moved to `elmo.el'.
3137 (elmo-msgdb-length): Removed; redefine as modb method.
3138 (elmo-msgdb-change-mark): Abolish.
3139 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3140 (elmo-msgdb-match-condition): Don't use mark.
3141 (elmo-msgdb-overview-get-entity): Abolish.
3142 Split modb part into `modb*.el'.
3144 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3146 * elmo-shimbun.el (shimbun-mua-search-id): Use
3147 `elmo-msgdb-message-entity' instead of
3148 `elmo-msgdb-overview-get-entity'.
3149 (elmo-shimbun-folder-shimbun-header): Ditto.
3150 (elmo-shimbun-get-headers): Ditto.
3151 (elmo-shimbun-update-overview): Ditto.
3153 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3155 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3157 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3158 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3160 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3161 `elmo-msgdb-mark-to-flags'.
3163 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3164 `elmo-msgdb-set-path'.
3166 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3168 * elmo-version.el (elmo-version): Up to 2.11.13.
3170 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3172 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3175 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3177 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3180 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3182 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3183 instead of `elmo-msgdb-get-cached'.
3184 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3186 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3187 (elmo-msgdb-set-cached): Ditto.
3188 (elmo-msgdb-set-flag): Rewrite.
3189 (elmo-msgdb-unset-flag): Ditto.
3191 * elmo-msgdb.el: Rewrite with luna.
3193 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3194 (elmo-folder-msgdb): Follow the change above.
3195 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3196 (elmo-folder-unmark-important): Follow the API change.
3197 (elmo-folder-mark-as-important): Ditto.
3198 (elmo-folder-unmark-read): Ditto.
3199 (elmo-folder-mark-as-read): Ditto.
3200 (elmo-folder-unmark-answered): Ditto.
3201 (elmo-folder-mark-as-answered): Ditto.
3202 (elmo-folder-clear): Likewise.
3204 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3205 instead of `elmo-msgdb-load' (renamed).
3207 * elmo-version.el (elmo-version): Up to 2.11.12.
3209 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3211 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3213 (elmo-message-mark): Abolish.
3214 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3215 instead of `elmo-msgdb-change-mark'.
3217 * elmo-pipe.el (elmo-message-mark): Abolish.
3219 * elmo-multi.el (elmo-message-mark): Ditto.
3221 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3222 (elmo-msgdb-unread-uncached-mark): Ditto.
3223 (elmo-msgdb-unread-cached-mark): Ditto.
3224 (elmo-msgdb-read-uncached-mark): Ditto.
3225 (elmo-msgdb-answered-cached-mark): Ditto.
3226 (elmo-msgdb-answered-uncached-mark): Ditto.
3227 (elmo-msgdb-important-mark): Ditto.
3228 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3230 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3232 (elmo-flag-table-load): Changed flag to list of flag.
3233 (elmo-flag-table-set): If flags is nil, set read flag.
3234 (elmo-flag-table-get): Return derived flags from global mark,
3235 cache status and saved flags.
3236 (elmo-msgdb-flag-table): Follow the change above.
3237 (elmo-msgdb-out-of-date-messages): New function.
3239 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3241 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3243 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3245 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3246 (elmo-nntp-msgdb-create-message): Ditto.
3248 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3250 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3252 (elmo-folder-msgdb-create): Follow the API change.
3254 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3255 (elmo-folder-append-messages): Ditto.
3257 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3258 (elmo-folder-append-buffer): Ditto.
3260 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3262 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3264 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3265 (elmo-archive-parse-mmdf): Ditto.
3267 * elmo-version.el (elmo-version): Up to 2.11.11.
3269 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3271 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3274 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3276 * elmo-pipe.el (elmo-message-flags): Defined.
3278 * elmo-multi.el (elmo-message-flags): Ditto.
3280 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3282 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3283 `elmo-msgdb-delete-msgs'.
3285 * elmo.el (elmo-folder-count-flags): Don't use
3286 `elmo-msgdb-get-mark-alist'.
3287 (elmo-folder-detach-messages): Follow the API change.
3289 * elmo.el (elmo-folder-list-messages): Append killed messages into
3290 result if `visible-only' is nil.
3292 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3294 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3295 (elmo-folder-update-number): Likewise.
3297 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3298 (elmo-pop3-sort-msgdb-by-original-number): Use
3299 `elmo-msgdb-sort-entities'.
3301 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3302 (elmo-msgdb-sort-by-date): Use it.
3303 (elmo-msgdb-overview-sort-by-date): Abolish.
3305 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3307 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3308 (elmo-msgdb-flags): New function.
3309 (elmo-msgdb-merge): Use elmo-msgdb-append.
3311 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3314 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3316 * elmo-dop.el (elmo-folder-status-dop): Use
3317 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3319 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3321 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3323 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3325 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3327 * elmo-util.el (elmo-with-progress-display): New macro.
3329 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3331 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3333 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3334 `elmo-folder-list-message-entities' instead of
3335 `elmo-msgdb-get-overview'.
3336 (elmo-map-folder-list-message-locations): Ditto.
3338 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3339 methods instead of treat directly).
3340 (elmo-msgdb-clear): Ditto.
3341 (elmo-msgdb-delete-msgs): Ditto.
3342 (elmo-msgdb-sort-by-date): Ditto.
3344 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3346 (elmo-nntp-folder-msgdb-create): Follow the API change.
3348 * elmo-version.el (elmo-version): Up to 2.11.10.
3350 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3352 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3353 (elmo-msgdb-flags-to-mark): Ditto.
3354 (elmo-msgdb-append-entity): Ditto.
3356 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3357 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3358 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3359 (elmo-archive-parse-mmdf): Ditto.
3361 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3363 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3365 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3367 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3369 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3371 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3373 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3375 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3377 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3378 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3381 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3382 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3383 instead of directly construction.
3384 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3385 instead of construct msgdb.
3387 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3388 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3389 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3390 instead of construct msgdb.
3392 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3394 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3395 when field is from or subject.
3397 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3399 * elmo-multi.el (elmo-message-entity-parent): Define.
3400 (elmo-folder-search): Rewrite.
3402 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3404 * elmo-multi.el (elmo-message-cached-p): Define.
3406 * elmo.el (elmo-message-cached-p): New method.
3407 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3408 (elmo-message-flags): New method.
3409 (elmo-message-flagged-p): New function.
3411 * elmo-version.el (elmo-version): Up to 2.11.9.
3413 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3415 * elmo-version.el (elmo-version): Up to 2.11.8.
3417 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3419 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3421 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3423 * elmo.el (elmo-folder-detach-messages): Undo last change.
3425 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3427 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3429 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3430 only when src folder type is pop3.
3432 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3434 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3435 elmo-msgdb-overview-entity-get-number instead of
3436 elmo-message-entity-number.
3438 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3440 * elmo-version.el (elmo-version): Up to 2.11.7.
3442 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3444 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3447 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3448 (elmo-msgdb-merge): New function.
3449 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3450 (elmo-msgdb-make-index): Rewrite.
3452 * elmo-version.el (elmo-version): Up to 2.11.6.
3454 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3455 use it as a the path for loading message entities.
3457 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3459 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3461 * elmo-filter.el (elmo-folder-set-message-modified): Set
3462 message-modified slot of itself if it does not require target msgdb.
3464 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3465 if folder length is zero.
3466 (elmo-mime-display-as-is): Ditto.
3468 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3470 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3472 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3474 * elmo.el (elmo-folder-set-message-modified): New method.
3475 (elmo-generic-folder-commit): Use it.
3476 (elmo-folder-synchronize): Ditto.
3478 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3479 (elmo-folder-commit): Remove duplicate definition.
3481 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3483 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3485 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3487 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3488 (elmo-strict-folder-diff): Ditto.
3489 (elmo-folder-set-info-max-by-numdb): Simplify.
3491 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3492 elmo-msgdb-list-messages.
3494 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3495 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3497 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3499 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3500 visible-only is non-nil.
3501 (elmo-folder-confirm-appends): Changed message.
3502 (elmo-folder-synchronize): Added argument disable-killed.
3504 * elmo-multi.el (elmo-folder-synchronize): Added argument
3507 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3509 * elmo-version.el (elmo-version): Up to 2.11.5.
3511 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3514 * elmo-util.el (elmo-list-filter): Simplify.
3516 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3517 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3518 (elmo-generic-folder-diff): Abolish argument.
3519 (elmo-msgdb-load): Don't use number-alist.
3521 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3523 * elmo-pipe.el (elmo-folder-diff): Ditto.
3525 * elmo-nmz.el (elmo-folder-diff): Ditto.
3527 * elmo-net.el (elmo-folder-diff): Ditto.
3529 * elmo-maildir.el (elmo-folder-diff): Ditto.
3531 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3533 * elmo-multi.el (elmo-folder-diff): Ditto
3534 (elmo-multi-folder-diff): Rewrite.
3536 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3538 * elmo-pipe.el (elmo-folder-msgdb): Define.
3540 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3542 * elmo.el (elmo-message-set-cached): Define as a method.
3544 * elmo-pipe.el (elmo-message-set-cached): Define.
3545 (elmo-find-fetch-strategy): Ditto.
3547 * elmo-multi.el (elmo-message-set-cached): Define.
3548 (elmo-find-fetch-strategy): Rewrite.
3550 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3552 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3554 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3556 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3557 instead of number-alist.
3559 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3560 mark nor message-id when msgdb of source folder is not loaded.
3562 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3564 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3566 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3568 * elmo.el (elmo-folder-length): Don't require msgdb.
3570 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3572 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3573 (elmo-message-field): Ditto.
3575 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3576 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3578 (elmo-map-folder-list-answereds): Define.
3579 (elmo-maildir-list-location): Treat 'R' info.
3580 (elmo-folder-msgdb-create): Treat flag-table.
3581 (elmo-folder-append-messages): Save flag-table.
3583 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3585 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3586 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3588 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3590 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3592 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3593 'read when mark is null.
3595 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3597 * elmo-version.el (elmo-version): Up to 2.11.4.
3599 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3601 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3602 (elmo-folder-mark-as-answered): Ditto.
3604 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3606 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3607 (elmo-pop3-get-session): Make msgdb directory after session.
3608 (elmo-folder-exists-p): Check exactly at the first time even when the
3609 elmo-pop3-exists-exactly is nil.
3611 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3612 (elmo-folder-list-messages): Define instead of
3613 elmo-folder-list-messages-internal.
3614 (elmo-folder-check): Check destination folder.
3615 (elmo-folder-synchronize): Drain the pipe.
3617 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3618 when msgdb is not loaded.
3620 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3622 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3623 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3626 * elmo.el (elmo-folder-kill-messages-before): New function.
3627 (elmo-folder-kill-messages): Ditto.
3628 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3630 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3631 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3632 killed not by synchronize (e.g. scoring).
3634 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3636 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3638 (elmo-folder-search): Follow the change above.
3640 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3641 into the candidates of search field.
3643 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3645 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3646 (elmo-msgdb-unset-flag): Ditto.
3648 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3650 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3652 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3653 (elmo-folder-commit): Define.
3654 (elmo-folder-synchronize): Ditto.
3655 (elmo-folder-list-flagged): Ditto.
3656 (elmo-folder-commit): Ditto.
3657 (elmo-folder-length): Ditto.
3658 (elmo-folder-count-flags): Ditto.
3659 (elmo-message-mark): Ditto.
3660 (elmo-message-field): Ditto.
3661 (elmo-message-entity): Ditto.
3662 (elmo-message-folder): Ditto.
3664 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3666 * elmo.el (elmo-message-field): Define as a method.
3668 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3669 (elmo-message-field): Define.
3671 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3672 (elmo-folder-list-importants): Ditto.
3673 (elmo-folder-list-answereds): Ditto.
3675 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3677 (elmo-folder-mark-as-read): Ditto.
3678 (elmo-folder-unmark-read): Ditto.
3679 (elmo-folder-mark-as-answered): Ditto.
3680 (elmo-folder-unmark-answered): Ditto.
3681 (elmo-folder-list-flagged): Define.
3682 (elmo-folder-commit): Ditto.
3683 (elmo-folder-length): Ditto.
3684 (elmo-folder-count-flags): Ditto.
3686 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3688 * elmo.el (elmo-folder-detach-messages): New method.
3689 (elmo-folder-move-messages): Use it.
3690 (elmo-folder-synchronize): Ditto.
3692 * elmo-multi.el (elmo-folder-detach-messages): Define.
3694 * elmo.el (elmo-message-copy-entity): New function.
3695 (elmo-message-entity-set-number): Ditto.
3696 (elmo-message-mark): Define as method.
3698 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3699 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3700 (elmo-message-entity): Fixed last change.
3701 (elmo-message-mark): Define.
3702 (elmo-folder-msgdb-create): Abolish.
3703 (elmo-multi-folder-append-msgdb): Ditto.
3704 (elmo-multi-folder-diff): Fixed.
3705 (elmo-multi-split-number-alist): Removed.
3706 (elmo-multi-split-mark-alist): Removed.
3707 (elmo-folder-list-messages): Define.
3708 (elmo-folder-list-messages-internal): Removed.
3710 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3711 local file messages.
3712 (elmo-folder-msgdb-create): Fixed read mark.
3714 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3716 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3719 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3721 * elmo.el (elmo-folder-list-message-entities): Define as inline
3723 (elmo-folder-messages): Abolish.
3725 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3727 (elmo-folder-synchronize): Define.
3728 (elmo-message-entity): Define.
3730 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3732 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3733 elmo-imap4-session-select-mailbox.
3735 * elmo.el (elmo-folder-move-messages): Don't display any message.
3737 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3739 (elmo-imap4-session-check): Don't wait CHECK response.
3740 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3742 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3744 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3746 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3748 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3750 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3753 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3754 (elmo-folder-list-message-entities): Added argument in-msgdb and
3756 (elmo-folder-synchronize): Define as a method.
3758 * elmo-nntp.el (elmo-folder-initialize): Don't use
3759 elmo-nntp-default-user if zero-length username is specified
3762 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3764 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3765 server name in case with username.
3766 (XXX: this is ad-hoc fix against username includes "@", it
3767 should be solved fundamentally)
3769 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3771 * elmo-nntp.el (elmo-nntp-debug): New function.
3772 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3773 (elmo-network-authenticate-session): Hide auth-info from the log.
3775 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3776 user name if it is equal to elmo-nntp-default-user.
3778 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3780 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3781 instead of shimbun-server-internal;
3782 Use shimbun-current-group instead of shimbun-current-group-internal.
3783 (elmo-folder-plugged-p): Use shimbun-server instead of
3784 shimbun-server-internal.
3785 (elmo-folder-set-plugged): Ditto.
3786 (elmo-net-port-info): Ditto.
3787 (elmo-folder-check): Ditto.
3788 (elmo-folder-expand-msgdb-path): Ditto.
3789 (elmo-folder-list-subfolders): Ditto.
3791 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3793 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3794 Convert field-name to lower case.
3795 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3797 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3799 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3800 `message' and `error' take format string.
3802 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3804 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3806 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3808 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3809 recursive call (can't byte compile on emacs 20.7).
3811 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3813 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3814 (elmo-folder-list-message-entities): New API.
3815 (elmo-message-entity): Ditto.
3816 (elmo-message-entity-parent): Ditto.
3817 (elmo-folder-do-each-message-entity): Ditto.
3818 (elmo-message-entity-number): Ditto.
3819 (elmo-message-entity-field): Ditto.
3820 (elmo-message-entity-set-field): Ditto.
3821 (elmo-folder-count-flags): Ditto.
3822 (elmo-folder-length): Ditto.
3824 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3827 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3828 (elmo-msgdb-count-marks): Abolish.
3829 (elmo-msgdb-make-entity): Ditto.
3830 (elmo-msgdb-do-each-entity): Ditto.
3831 (elmo-msgdb-message-entity): New inline function.
3832 (elmo-msgdb-message-entity-field): Ditto.
3833 (elmo-msgdb-message-entity-set-field): Ditto.
3834 (elmo-msgdb-make-message-entity): New function.
3836 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3838 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3839 to flag. (All other related portions are changed.)
3840 (elmo-folder-msgdb-create): Likewise.
3841 (elmo-generic-folder-append-messages): Use flag-table instead of
3843 (elmo-folder-move-messages): Removed redundant process.
3844 (elmo-folder-synchronize): Likewise.
3846 * elmo-msgdb.el (elmo-flag-table-get): New function.
3847 (elmo-flag-table-save): Fixed.
3848 (elmo-msgdb-length): New inline function.
3849 (elmo-msgdb-flag-table): New function.
3850 (elmo-msgdb-mark): Add optional argument new.
3851 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3852 (elmo-msgdb-seen-list): Ditto.
3853 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3856 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3858 * elmo.el (elmo-message-set-mark): Abolish.
3859 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3860 (All related portions are changed.)
3862 * elmo-msgdb.el (toplevel): Added comment.
3863 (elmo-load-msgdb): Added 4th element `path'.
3864 (elmo-msgdb-append): Follow the change above.
3865 (elmo-msgdb-clear): Ditto.
3866 (elmo-msgdb-delete-msgs): Ditto.
3867 (elmo-msgdb-get-path): New inline function.
3868 (elmo-msgdb-set-path): Ditto.
3869 (elmo-flag-table-filename): New variable.
3870 (elmo-flag-table-load): New function.
3871 (elmo-flag-table-set): Ditto.
3872 (elmo-flag-table-save): Ditto.
3873 (elmo-msgdb-get-field-value): Abolish.
3874 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3876 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3878 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3879 the folder has been deleted successfully.
3880 * elmo-imap4.el (elmo-folder-delete): Ditto.
3881 * elmo-archive.el (elmo-folder-delete): Ditto.
3882 * elmo-localdir.el (elmo-folder-delete): Ditto.
3883 * elmo-maildir.el (elmo-folder-delete): Ditto.
3885 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3887 * elmo-util.el (elmo-string-member-ignore-case): New function.
3888 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3889 (elmo-imap4-fetch-callback-1-subr): Likewise.
3891 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3893 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3894 the case of the name attribute "\Noselect".
3896 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3898 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3900 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3901 flist, is not always a member of onum-alist.
3903 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3905 * elmo-version.el (elmo-version): Up to 2.11.3.
3907 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3909 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3910 copied from localdir's one.
3912 * elmo-pipe.el (elmo-folder-rename): New method, rename
3913 destination folder with leaving source folder as it is.
3915 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3917 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3920 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3922 * elmo-version.el (elmo-version): Up to 2.11.2.
3924 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3926 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3927 shimbun-open in case of "@".
3928 (elmo-folder-open-internal): Cope with shimbun = nil case.
3929 (elmo-folder-plugged-p): Ditto.
3930 (elmo-folder-list-subfolders): Make list for "@/" group.
3932 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3934 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3935 mailbox (e.g. for %~/something).
3937 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3939 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3940 Replace nested conditional with guard clauses.
3942 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3944 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3947 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3950 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3952 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3953 Replace nested conditional with guard clauses.
3955 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3957 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3958 (elmo-passwd-alist-save): Ditto.
3959 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3961 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3963 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3964 dir-name only if it is absolute path.
3965 (TODO: distinguish +/something and +something)
3967 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3969 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3970 path for "+~/something".
3972 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3974 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3975 as non-directory, cause error before rename-file.
3976 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3977 apropriately, mimic localdir's one.
3978 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3980 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3982 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3984 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3986 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3988 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3990 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3991 is included in the global-mark or not.
3993 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3995 * utf7.el (toplevel): Avoid error when the function
3996 find-coding-system does not exist.
3998 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4000 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4001 cache even if the folder is plugged.
4002 (elmo-nntp-search-primitive): Do nothing when body search is
4003 invoked (although it is not used by the change above).
4004 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4006 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4008 * elmo-version.el (elmo-version): Up to 2.11.1.
4010 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4012 * elmo-archive.el: Specify charset.
4014 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4016 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4017 process buffer lives or not.
4019 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4020 while flushing queues (It causes infinite loop).
4022 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4024 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4026 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4028 * utf7.el (toplevel): Check the ucs features dynamically.
4029 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4031 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4032 folder is creatabe or not if it already exists.
4034 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4036 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4038 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4040 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4041 (elmo-imap4-read-response): Take care of garbage response.
4043 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4045 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4046 just return nil instead of error.
4048 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4050 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4051 search-key is "body".
4053 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4055 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4056 of elmo-string-matched-assoc to use match-data.
4057 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4059 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4061 * elmo-split.el (elmo-split->): New function.
4062 (elmo-split-<): Ditto.
4064 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4066 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4067 workaround for invalid message-id.
4069 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4071 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4072 return normal pop3 session or pop3 biff session.
4074 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4076 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4077 info part to the cur files when the new files already have it.
4078 (Adviced by Jared Rhine <jared@wordzoo.com>)
4080 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4082 * elmo-split.el (elmo-split-default-action): New variable.
4083 (elmo-split-subr): Use it if all other conditions are passed.
4084 Extend `fname' and rename it as `action'. (implemented
4085 Teranishi-san's idea in [wl:10800])
4087 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4089 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4090 * elmo-util.el: Ditto.
4092 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4094 * elmo.el (elmo-message-accessible-p): Renamed from
4095 elmo-message-cached-p and rewritten.
4097 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4099 * elmo.el (elmo-folder-list-flagged): New generic function.
4100 (elmo-folder-list-importants): New implementation.
4101 (elmo-folder-list-answereds): Ditto.
4102 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4104 (elmo-message-cached-p): New function.
4105 (elmo-message-set-flag): Ditto (no content).
4106 (elmo-message-unset-flag): Ditto.
4107 (elmo-folder-list-messages-mark-match): Abolish.
4109 * elmo-util.el (elmo-regexp-opt): New function.
4111 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4112 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4114 (elmo-msgdb-list-flagged): New function.
4116 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4117 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4120 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4122 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4124 * elmo-version.el (elmo-version): Up to 2.11.0.
4126 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4128 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4129 `elmo-file-cache-exists-p'; use proper mark that depends on
4131 (elmo-msgdb-unset-flag): Ditto.
4132 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4134 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4135 with 4th argument `use-cache'.
4137 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4139 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4140 (elmo-folder-mark-as-important): Ditto.
4141 (elmo-folder-unmark-read): Ditto.
4142 (elmo-folder-mark-as-read): Ditto.
4143 (elmo-folder-unmark-answered): Ditto.
4144 (elmo-folder-mark-as-answered): Ditto.
4146 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4148 (elmo-msgdb-mark): Likewise.
4149 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4150 (elmo-msgdb-unset-flag): Likewise.
4152 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4154 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4156 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4159 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4161 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4162 set spool-length to 0.
4164 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4166 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4167 (elmo-dop-queue-flush): Fixed last change.
4169 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4171 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4172 if require-msgdb slot is nil.
4173 (elmo-folder-list-importants): Likewise.
4175 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4177 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4180 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4181 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4184 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4186 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4188 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4190 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4192 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4194 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4196 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4197 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4199 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4201 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4202 the problem reported by Sean Rima [wl-en:180].
4204 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4206 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4208 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4210 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4212 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4214 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4216 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4218 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4220 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4222 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4225 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4227 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4228 (elmo-folder-mark-as-read): Follow the API change.
4229 (elmo-message-set-cached): New function.
4231 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4233 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4235 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4236 (elmo-folder-mark-as-important): Ditto.
4237 (elmo-folder-unmark-read): Ditto.
4238 (elmo-folder-mark-as-read): Ditto.
4239 (elmo-folder-unmark-answered): Ditto.
4240 (elmo-folder-mark-as-answered): Ditto.
4242 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4243 (elmo-folder-unmark-important): Ditto.
4244 (elmo-folder-mark-as-read): Ditto.
4245 (elmo-folder-unmark-read): Ditto.
4246 (elmo-folder-mark-as-answered): Ditto.
4247 (elmo-folder-unmark-answered): Ditto.
4249 * elmo-mark.el (toplevel): Removed some mark method definitions.
4251 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4252 (elmo-map-folder-mark-as-answered): Ditto.
4253 (elmo-folder-unmark-important): Add :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): Define.
4258 (elmo-folder-mark-as-answered): Ditto.
4260 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4261 (elmo-map-folder-unmark-answered): Ditto.
4263 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4265 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4266 (elmo-folder-mark-as-important): Ditto.
4267 (elmo-folder-unmark-read): Ditto.
4268 (elmo-folder-mark-as-read): Ditto.
4269 (elmo-folder-unmark-answered): Ditto.
4270 (elmo-folder-mark-as-answered): Ditto.
4272 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4273 `mark'; evaluate mark condition.
4274 (elmo-msgdb-match-condition-internal): New function.
4275 (elmo-msgdb-match-condition): Call it; changed argument.
4277 * elmo.el (elmo-folder-search): Follow the API change on
4278 `elmo-msgdb-match-condition'.
4280 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4282 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4283 original mark is non-nil.
4285 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4287 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4288 (elmo-map-folder-list-answereds): New method.
4289 (elmo-folder-list-unreads): Add :around qualifier.
4290 (elmo-folder-list-importants): Ditto.
4291 (elmo-folder-list-answereds): Ditto.
4293 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4295 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4297 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4298 method if msgdb is not required.
4299 (elmo-filter-folder-list-importants): Don't treat global-mark.
4301 * elmo.el (elmo-folder-list-importants): Ditto.
4303 * elmo-net.el (elmo-folder-list-importants): Ditto.
4305 * elmo-map.el (elmo-folder-list-importants): Ditto.
4307 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4309 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4310 (elmo-imap4-folder-list-any-plugged): New function.
4311 (elmo-imap4-search-internal-primitive): Use it.
4313 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4314 only when require-msgdb slot is non-nil.
4315 (elmo-folder-close): Clear target folder's msgdb.
4317 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4319 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4320 (elmo-pop3-msgdb-create-by-header): Ditto.
4321 (elmo-pop3-msgdb-create-message): Ditto.
4323 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4325 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4327 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4329 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4330 (elmo-folder-msgdb-create): Ditto.
4331 (elmo-nntp-folder-msgdb-create): Ditto.
4332 (elmo-nntp-msgdb-create-by-header): Ditto.
4333 (elmo-nntp-msgdb-create-message): Ditto.
4334 (elmo-folder-list-unreads): Define.
4336 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4337 (elmo-folder-append-messages): Ditto.
4338 (elmo-folder-list-unreads): Define.
4339 (elmo-folder-list-importants): Ditto.
4340 (elmo-folder-list-answereds): Ditto.
4342 * elmo-net.el (elmo-folder-list-unreads): Define.
4343 (elmo-folder-list-importants): Ditto.
4344 (elmo-folder-list-answereds): Ditto.
4345 (elmo-folder-list-answereds-plugged): Ditto.
4346 (elmo-folder-msgdb-create): Follow the API change.
4347 (elmo-folder-msgdb-create-unplugged): Ditto.
4348 (elmo-folder-unmark-answered): Define.
4349 (elmo-folder-mark-as-answered-unplugged): Ditto.
4350 (elmo-folder-unmark-answered-unplugged): Ditto.
4352 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4353 (elmo-msgdb-unread-uncached-mark): Ditto.
4354 (elmo-msgdb-unread-cached-mark): Ditto.
4355 (elmo-msgdb-read-uncached-mark): Ditto.
4356 (elmo-msgdb-answered-cached-mark): Ditto.
4357 (elmo-msgdb-answered-uncached-mark): Ditto.
4358 (elmo-msgdb-important-mark): Ditto.
4359 (elmo-msgdb-set-mark): Rewrite.
4360 (elmo-msgdb-count-marks): Rewrite.
4361 (elmo-msgdb-mark-alist-set): Abolish.
4362 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4363 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4365 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4366 (elmo-folder-close): Define.
4367 (elmo-folder-msgdb-create): Follow the API change.
4368 (elmo-folder-list-unreads): Rewrite.
4369 (elmo-folder-mark-as-important): Ditto.
4370 (elmo-folder-unmark-important): Ditto.
4371 (elmo-folder-mark-as-read): Ditto.
4372 (elmo-folder-unmark-read): Ditto.
4373 (elmo-folder-mark-as-answered): Define.
4374 (elmo-folder-unmark-answered): Ditto.
4376 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4377 (elmo-folder-append-messages): Ditto.
4379 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4381 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4382 (elmo-folder-list-importants): Ditto.
4384 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4385 (elmo-folder-append-messages): Ditto.
4387 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4389 (elmo-folder-msgdb-create-plugged): Ditto.
4390 (elmo-folder-append-messages): Ditto.
4391 (elmo-folder-list-answereds-plugged): Define.
4392 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4393 (elmo-folder-unmark-answered-plugged): Define.
4394 (elmo-folder-mark-as-answered-plugged): Ditto.
4395 (elmo-folder-search-requires-msgdb-p): Ditto.
4397 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4398 (elmo-folder-initialize): Set it.
4399 (elmo-folder-msgdb): Define.
4400 (elmo-folder-check): Call elmo-folder-synchronize.
4401 (elmo-folder-close): Define.
4402 (elmo-folder-commit): Ditto.
4403 (elmo-folder-msgdb-create): Rewrite.
4404 (elmo-folder-list-unreads): Ditto.
4405 (elmo-folder-list-importants): Ditto.
4406 (elmo-folder-mark-as-read): Ditto.
4407 (elmo-folder-unmark-read): Ditto.
4408 (elmo-folder-mark-as-important): Ditto.
4409 (elmo-folder-unmark-important): Ditto.
4410 (elmo-folder-mark-as-answered): Define.
4411 (elmo-folder-unmark-answered): Ditto.
4413 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4414 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4415 (elmo-dop-queue-method-name-alist): Likewise.
4416 (elmo-folder-mark-as-answered-dop): New inline function.
4417 (elmo-folder-unmark-answered-dop): Ditto.
4418 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4420 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4421 (elmo-folder-msgdb-create): Ditto.
4422 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4423 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4424 (elmo-archive-parse-mmdf): Ditto.
4426 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4427 (elmo-folder-list-unreads-internal): Ditto.
4429 * elmo.el (elmo-folder-msgdb): Define as generic function.
4430 (elmo-folder-list-messages): Added argument `in-msgdb'.
4431 (elmo-folder-list-unreads): Define as generic function.
4432 (elmo-folder-list-importants): Ditto.
4433 (elmo-folder-list-answereds): Ditto.
4434 (elmo-folder-list-messages-with-global-mark): New function.
4435 (elmo-folder-msgdb-create): Removed mark arguments.
4436 (elmo-folder-unmark-answered): New generic function.
4437 (elmo-folder-mark-as-answered): Ditto.
4438 (elmo-folder-append-messages): Removed argunment `unread-marks'
4439 (elmo-folder-list-unreads-internal): Abolish.
4440 (elmo-folder-list-importants-internal): Ditto.
4441 (elmo-folder-search-requires-msgdb-p): New generic function.
4442 (elmo-folder-search-requires-msgdb-p-internal): New function.
4443 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4445 (elmo-folder-search-fast): Added key 'mark'.
4446 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4447 instead of unread-marks argument.
4448 (elmo-folder-move-messages): Removed argunment `unread-marks'
4449 (elmo-folder-unmark-important): Define.
4450 (elmo-folder-mark-as-important): Ditto.
4451 (elmo-folder-unmark-read): Ditto.
4452 (elmo-folder-mark-as-read): Ditto.
4453 (elmo-folder-unmark-answered): Ditto.
4454 (elmo-folder-mark-as-answered): Ditto.
4455 (elmo-folder-replace-marks): Abolish.
4456 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4458 (elmo-folder-synchronize): Removed mark arguments;
4459 return crosspost only number.
4461 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4463 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4464 Remove redundunt connectivity check.
4466 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4468 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4469 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4471 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4473 * pldap.el (ldap-decode-string): Return string as-is if
4474 `ldap-coding-system' is nil.
4475 (ldap-encode-string): Ditto.
4476 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4477 (ldap-default-host): Fixed docstring.
4479 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4481 * elmo-util.el (elmo-warning): Define as a macro which uses
4482 `display-warning' if it is defined as a function.
4484 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4485 (elmo-split-equal): Use it.
4486 (elmo-split-match): Ditto.
4487 (elmo-split-message-entity): New buffer-local variable.
4488 (elmo-split-subr): Set it.
4490 * elmo-version.el (elmo-version): Up to 2.9.15.
4492 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4494 * elmo-imap4.el (elmo-network-initialize-session):
4495 Check capability after starttls.
4497 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4499 * elmo-util.el (elmo-list-delete): Added optional argument
4502 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4504 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4506 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4508 * elmo-imap4.el (elmo-folder-initialize): Don't use
4509 elmo-imap4-default-mailbox.
4511 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4513 * elmo-split.el (toplevel): Use `product-provide'.
4514 (elmo-split): Checkdoc.
4516 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4518 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4519 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4520 the function `elmo-imap4-debug-1'.
4522 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4524 * elmo-split.el (elmo-split): Moved to run hooks and to show
4525 message from elmo-split-subr.
4526 (elmo-split-subr): Follow the change above.
4528 * elmo-split.el (elmo-split-subr): New function (renamed from
4530 (elmo-split): Changed to call elmo-split-subr by element of
4532 (elmo-split-folder): Changed customization type to choice.
4534 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4536 * elmo-split.el (elmo-split-and): Fixed condition.
4538 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4540 * elmo-split.el: New file.
4541 (elmo-split): Fixed logic.
4542 Display "Test:" instead of "Folder:" when reharsal.
4544 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4547 * elmo-version.el (elmo-version): Up to 2.9.14.
4549 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4552 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4554 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4555 message with no message-id field.
4557 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4559 * elmo-version.el (elmo-version): Up to 2.9.13.
4561 * elmo-dop.el (elmo-folder-status-dop): Fix.
4563 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4565 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4567 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4568 changing default value of default-mime-charset.
4569 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4571 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4573 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4574 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4575 instead of elmo-dop-queue-method-name-alist to check merging queue.
4576 (elmo-folder-delete-messages-dop): Delete from queue if negative
4578 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4579 file is already removed.
4581 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4583 * elmo-vars.el: Bind colon keywords for old Emacsen.
4585 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4587 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4588 against non-exsisting charset.
4590 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4592 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4593 Use eword-decode-and-unfold-unstructured-field-body.
4595 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4596 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4597 exists to decode raw subject string.
4598 (toplevel): Require 'mime.
4600 * elmo-version.el (elmo-version): Up to 2.9.12.
4602 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4604 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4605 (elmo-msgdb-set-mark): Ditto.
4607 * elmo-version.el (elmo-version): Up to 2.9.11.
4609 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4611 * elmo-util.el (elmo-delete-match-files): New function.
4613 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4614 instead of elmo-delete-directory.
4616 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4617 elmo-hash-minimun-size as 63.
4619 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4620 elmo-diff-unread is nil.
4622 * elmo-imap4.el (elmo-folder-open): Fix.
4624 * elmo.el (elmo-message-mark): Rewrite.
4625 (elmo-message-field): Ditto.
4626 (elmo-message-set-mark): Ditto.
4627 (elmo-folder-replace-marks): New function.
4628 (elmo-generic-folder-append-msgdb): Removed third argument for
4630 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4631 (elmo-msgdb-load): New implementation.
4633 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4635 * elmo-util.el (elmo-list-insert): New implementation.
4637 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4638 argument for elmo-msgdb-append.
4641 * elmo-msgdb.el (elmo-load-msgdb): New function.
4642 (elmo-make-msgdb): Ditto.
4643 (elmo-msgdb-get-index): New inline function.
4644 (elmo-msgdb-set-index): Ditto.
4645 (elmo-msgdb-get-entity-hashtb): Ditto.
4646 (elmo-msgdb-get-mark-hashtb): Ditto.
4647 (elmo-msgdb-get-mark): Ditto.
4648 (elmo-msgdb-set-mark): Ditto.
4649 (elmo-msgdb-count-marks): Ditto.
4650 (elmo-msgdb-get-number): Ditto.
4651 (elmo-msgdb-get-field): Ditto.
4652 (elmo-msgdb-seen-list): Ditto.
4653 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4654 (elmo-msgdb-delete-msgs): Follow the changes above.
4655 (elmo-msgdb-overview-get-entity): Ditto.
4656 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4657 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4659 (elmo-msgdb-make-index): Likewise.
4660 (elmo-msgdb-append): Removed third argument.
4661 (elmo-msgdb-clear): Clear index as nil.
4662 (elmo-folder-set-info-hashtb): Removed.
4663 (elmo-folder-set-info-max-by-numdb): Ditto.
4664 (elmo-folder-info-make-hashtb): Ditto.
4666 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4668 * elmo-map.el (elmo-folder-pack-number): Ditto.
4670 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4672 * elmo-version.el (elmo-version): Up to 2.9.10.
4674 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4676 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4678 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4680 * elmo-utils.el (elmo-make-directory): Add option.
4681 Default file mode is 700.
4683 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4685 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4687 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4689 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4692 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4695 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4697 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4698 (elmo-shimbun-folder-entity-hash): New function.
4699 (elmo-shimbun-folder-shimbun-header): Ditto.
4700 (elmo-shimbun-entity-to-header): Ditto.
4701 (elmo-shimbun-msgdb-to-headers): Removed.
4702 (elmo-shimbun-folder-setup): Ditto.
4703 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4705 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4706 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4707 Removed useless local bind.
4708 (elmo-folder-open-internal): Don't call
4709 `elmo-shimbun-folder-setup'.
4710 (elmo-folder-close-internal): Clear entity-hash slot.
4711 (elmo-folder-clear): Ditto.
4712 (elmo-shimbun-msgdb-create-entity): Use
4713 `elmo-shimbun-folder-shimbun-header'.
4714 (elmo-map-message-fetch): Ditto.
4715 (elmo-shimbun-update-overview): Use overview entity instead of
4716 shimbun header to lookup id by references.
4717 (elmo-map-folder-list-message-locations): Use not only headers but
4718 also overviews to list locations.
4720 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4722 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4725 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4727 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4729 * elmo-util.el (elmo-read-search-condition-internal): Give default
4732 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4734 * elmo-util.el (elmo-condition-parse-search-value): Accept
4735 YYYY-MM-DD format to search.
4736 * elmo-date.el (elmo-date-get-datevec): Likewise.
4738 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4740 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4743 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4745 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4748 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4750 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4751 case from `elmo-folder-exists-p'.
4752 (elmo-folder-exists-p): Removed.
4753 (elmo-folder-creatable-p) Ditto.
4755 * elmo-net.el (elmo-folder-create): Defined.
4756 (elmo-folder-create-unplugged): New function.
4757 (elmo-folder-exists-p): Changed default value to nil from t.
4759 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4760 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4762 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4763 `elmo-create-folder-dop' and append queue
4764 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4765 (elmo-folder-create-dop-delayed): New function.
4767 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4769 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4771 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4772 (elmo-folder-writable-p) : Ditto.
4774 * elmo-version.el (elmo-version): Up to 2.9.9.
4776 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4778 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4779 `elmo-message-use-cache-p' returns nil.
4780 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4781 (ignore cache file and refer the substance in local folders)
4783 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4785 * elmo-version.el (elmo-version): Up to 2.9.8.
4787 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4789 * elmo-version.el (elmo-version): Up to 2.9.7.
4791 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4793 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4795 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4797 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4799 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4801 (elmo-map-folder-list-message-locations): Reverse location list.
4803 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4805 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4807 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4809 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4811 (elmo-nntp-folder-list-subfolders): Follow the change above.
4813 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4815 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4816 name if authentication type is specified.
4818 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4820 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4822 (elmo-default-nntp-stream-type): Ditto.
4823 (elmo-default-pop3-stream-type): Ditto.
4825 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4827 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4829 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4831 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4833 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4835 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4836 (elmo-maildir-folder-path): Ditto.
4837 (elmo-maildir-list): Ditto (abolished).
4839 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4841 * elmo-version.el (elmo-version): Up to 2.9.6.
4843 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4845 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4846 (elmo-maildir-folder-path): Ditto.
4847 (elmo-msgdb-directory): Ditto.
4848 (elmo-passwd-life-time): Ditto.
4849 (elmo-msgdb-extra-fields): Ditto.
4850 (elmo-enable-disconnected-operation): Ditto.
4852 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4854 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4856 (elmo-pop3-default-authenticate-type): Ditto.
4858 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4860 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4862 (elmo-pop3-default-authenticate-type): Ditto.
4864 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4866 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4867 mailbox to new-folder.
4869 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4871 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4872 less than new, set new as unread.
4874 * elmo-util.el (elmo-string): Don't put text-property if nil.
4876 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4878 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4879 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4881 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4883 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4884 is nil on `completing-read'.
4886 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4888 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4890 (elmo-imap4-parse-namespace-subr): Ditto.
4891 (elmo-folder-list-subfolders): Append a delimiter when the specified
4892 folder path is a root with namespace and does not end with delimiter.
4894 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4896 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4899 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4901 * elmo-util.el (elmo-save-buffer): The first argument of message
4902 is a format control string.
4904 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4906 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4907 `elmo-folder-diff').
4908 (elmo-diff-unread): Likewise.
4910 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4912 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4913 is t on `completing-read'.
4915 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4917 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4918 method of target folder with self mark-alist if MARK-ALIST is nil.
4920 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4922 * elmo-version.el (elmo-version): Up to 2.9.5.
4924 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4926 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4927 (elmo-dop-merge-funcs): Remove.
4929 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4931 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4932 Return t if PATH is directory, too.
4933 Use `dolist' instead of while loop.
4935 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4937 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4940 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4942 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4944 (elmo-folder-list-messages-unplugged): Return t if
4945 elmo-enable-disconnected-operation is nil.
4947 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4948 `elmo-folder-list-messages-internal'.
4950 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4952 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4953 Change to looking-at `[23][0-9]+'.
4954 (elmo-network-initialize-session): Use 'error-msg'
4955 * elmo-net.el (elmo-network-open-session): Set unplugged
4956 if elmo-network-initialize-session returns 'elmo-open-err.
4958 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4960 * elmo-version.el (elmo-version): Up to 2.9.4.
4962 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4964 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4965 `elmo-folder-list-messages-internal'.
4967 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4969 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4970 (elmo-message-match-condition): New method.
4971 (elmo-folder-search-fast): New inline function.
4972 (elmo-msgdb-search): Removed.
4974 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4975 target folder if it is unplugged.
4976 (elmo-folder-list-messages-internal): Return t if target folder is
4977 unplugged and itself is persistent; In this case, use list be
4980 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4981 (elmo-msgdb-search-internal-primitive): Ditto.
4982 (elmo-msgdb-match-condition): New function.
4983 (elmo-msgdb-match-condition-primitive): Ditto.
4985 * elmo-util.el (elmo-filter-condition-p): New macro.
4987 * elmo-cache.el (elmo-folder-search): Removed.
4989 * elmo-localdir.el (elmo-folder-search): Ditto.
4991 * elmo-maildir.el (elmo-folder-search): Ditto.
4993 * elmo-mark.el (elmo-folder-search): Ditto.
4995 * elmo-nmz.el (elmo-folder-search): Ditto.
4997 * elmo-sendlog.el (elmo-folder-search): Ditto.
4999 * elmo-shimbun.el (elmo-folder-search): Ditto.
5001 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5002 if folder is unplugged.
5004 * elmo-nntp.el (elmo-folder-search): Likewise.
5005 (elmo-nntp-search-internal): New function.
5007 * elmo-version.el (elmo-version): Up to 2.9.3.
5009 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5011 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5013 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5015 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5017 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5019 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5021 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5023 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5024 (elmo-map-folder-list-message-locations): Do drive letter conversion
5025 on Windows environment.
5026 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5027 (elmo-map-message-fetch): Ditto.
5029 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5031 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5032 (elmo-network-initialize-session): Ditto.
5034 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5036 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5038 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5040 * elmo-util.el (elmo-progress-clear): Ditto.
5042 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5043 `DD-Mon-YYYY' type date.
5045 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5047 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5048 `elmo-date-make-sortable-string' instead of
5049 `timezone-make-date-sortable'.
5051 * elmo-date.el (elmo-date-make-sortable-string): Use
5052 `timezone-make-time-string'.
5054 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5056 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5058 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5059 `since'; Fix timezone.
5061 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5063 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5065 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5067 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5069 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5071 * elmo.el (elmo-generic-folder-append-messages): Make
5072 fetch-strategy with `use-cache' as 'maybe. Check return value of
5073 `elmo-message-fetch'.
5074 (elmo-message-fetch): Return return value of
5075 `elmo-message-fetch-with-cache-process'.
5076 (elmo-message-fetch-with-cache-process): Return non-nil if
5077 fetching was succeed. Load cache when fetching was failed and
5078 fetch-strategy-use-cache is 'maybe.
5080 * elmo-util.el (elmo-file-cache-load): New function.
5082 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5085 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5086 non-nil if fetching was succeed.
5088 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5090 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5092 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5093 (elmo-message-fetch-with-cache-process): Likwise.
5095 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5097 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5099 * elmo-version.el (elmo-version): Up to 2.9.2.
5101 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5103 * elmo.el (elmo-folder-delete): Delete msgdb path.
5105 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5107 * elmo-maildir.el (elmo-folder-delete): Ditto.
5109 * elmo-localdir.el (elmo-folder-delete): Ditto.
5111 * elmo-imap4.el (elmo-folder-delete): Ditto.
5113 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5115 * elmo.el (luna-define-class): Added `biff' slot.
5117 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5118 (elmo-pop3-debug-inhibit-logging): Abolished.
5119 (elmo-network-close-session): Eliminated needless let.
5120 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5121 (elmo-pop3-send-command): Added `no-log' argument.
5122 (elmo-pop3-process-filter): Use `with-current-buffer'.
5123 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5125 (elmo-pop3-auth-apop): Likewise.
5126 (elmo-network-authenticate-session): Likewise.
5128 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5131 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5132 string to determine protocol.
5133 (elmo-network-session-name-prefix): Abolished.
5134 (elmo-network-session-cache-key): Follow the change above.
5135 (elmo-network-open-session): Ditto.
5137 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5138 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5140 * elmo-version.el (elmo-version): Up to 2.9.1.
5142 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5143 unmatch condition checking.
5145 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5148 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5150 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5152 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5154 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5155 test for while loop to execute at least one SEARCH command.
5157 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5159 * elmo-version.el (elmo-version): Up to 2.9.0.
5161 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5163 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5164 (elmo-archive-folder-path): Define.
5165 (elmo-folder-initialize): Setup `dir-name' slot.
5166 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5167 Use `dir-name' as prefix of each subfolders.
5168 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5170 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5172 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5173 (elmo-pipe-folder-list-target-messages): New internal function.
5174 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5176 (elmo-pipe-folder-copied-list-load): New function.
5177 (elmo-pipe-folder-copied-list-save): Ditto.
5178 (elmo-folder-open-internal): Follow the change above.
5179 (elmo-folder-status): Fixed for copy.
5181 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5183 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5185 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5187 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5188 elmo-copy-file instead of elmo-add-name-to-file.
5190 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5192 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5195 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5196 of accept-process-output as 1.
5197 (elmo-pop3-read-contents): Ditto.
5198 (elmo-pop3-read-body): Ditto.
5200 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5202 * elmo-version.el (product-version-as-string): Remove define.
5204 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5206 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5207 (elmo-imap4-copy-messages): Chop number set using
5208 `elmo-imap4-number-set-chop-length'.
5209 (elmo-imap4-set-flag): Ditto.
5210 (elmo-imap4-search-internal-primitive): Ditto.
5212 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5214 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5215 `elmo-folder-make-temp-dir'
5217 * elmo-vars.el (elmo-cache-directory): New variable.
5218 (elmo-cache-dir): Abolished.
5219 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5221 * elmo-version.el (elmo-version): Up to 2.7.7.
5223 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5225 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5226 defcustom; Set default value as t.
5228 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5230 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5231 (ldap-search-program-arguments): Changed default value.
5232 (ldap-search-basic): Accept exit status 4.
5233 (ldap/field-body): Parse options.
5234 (ldap/collect-field): Ditto.
5235 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5237 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5238 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5239 (elmo-imap4-accept-ok): Ditto.
5240 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5241 'notify-bye, only BYE error is reported.
5242 (elmo-folder-exists-p-plugged): Set no-error argument of
5243 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5245 * elmo.el (elmo-imap4-bye-error): Changed message.
5247 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5248 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5249 queues (It causes infinite loop).
5251 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5253 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5254 (RECENT UNSEEN MESSAGES) extension.
5256 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5258 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5259 Check number of overview fields.
5261 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5263 * elmo.el (elmo-folder-confirm-appends): Changed message.
5264 (elmo-folder-confirm-appends): Ditto.
5266 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5268 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5270 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5272 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5273 of elmo-folder-update-threshold is nil, which can be set by
5274 wl-summary-update-confirm-threshold.
5276 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5278 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5279 (elmo-nmz-index-alias-alist): Ditto.
5280 (elmo-map-folder-list-message-locations): Follow the change above.
5282 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5284 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5286 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5288 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5290 * elmo-util.el (elmo-read): Ditto.
5291 (elmo-display-error): Ditto.
5293 * elmo-vars.el (elmo-date-match): Ditto.
5295 * pldap.el (ldap-coding-system): Ditto.
5297 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5298 `elmo-inhibit-number-mapping' as nil.
5300 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5302 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5303 space delimiter for list response.
5305 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5307 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5309 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5311 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5312 (elmo-map-message-fetch): Fix.
5313 * elmo-map.el (elmo-folder-status): Fix for killed.
5315 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5317 * elmo-sendlog.el: New file.
5318 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5320 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5322 * acap.el (acap-logging-out): New buffer local variable.
5323 (acap-close): Set it.
5324 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5327 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5329 * acap.el (acap-response-bye-p): New function.
5330 (acap-response-bye-message): Ditto.
5331 (acap-wait-for-response): If bye response is received, cause an error.
5332 (acap-parse-response): Make bye response when 'Bye' is received.
5334 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5336 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5338 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5340 * elmo-util.el (elmo-copy-file): Added argument
5341 `ok-if-already-exists'.
5342 (elmo-copy-file): Fixed typo.
5344 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5346 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5348 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5350 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5352 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5354 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5357 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5359 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5360 (elmo-folder-initialize): Fix for `copy'.
5361 (elmo-pipe-drain): Ditto.
5362 (elmo-folder-open-internal): Ditto.
5363 (elmo-folder-newsgroups): Fix.
5365 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5367 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5370 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5371 recent value is returned from imap folder.
5373 * elmo.el (elmo-folder-newsgroups): New generic function.
5375 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5376 (elmo-folder-initialize): Set it.
5377 (elmo-folder-expand-msgdb-path): Use it.
5378 (elmo-folder-newsgroups): Define.
5380 * elmo-filter.el (elmo-folder-newsgroups): Define.
5382 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5384 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5386 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5388 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5390 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5392 (elmo-shimbun-header-extra-field): New inline function.
5393 (elmo-shimbun-header-set-extra-field): Ditto.
5394 (elmo-shimbun-folder-header-hash-setup): Ditto.
5395 (elmo-shimbun-update-overview): Ditto.
5396 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5397 (elmo-shimbun-folder-setup): Use
5398 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5399 (elmo-shimbun-get-headers): Ditto.
5400 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5401 Insert `X-Shimbun-Id:' header if extra field is set.
5402 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5403 field's value instead of `shimbun-header-id'.
5405 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5407 (elmo-msgdb-overview-entity-set-date): Ditto.
5408 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5410 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5412 * mmimap.el (mmimap-entity-section): Changed body node number from
5415 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5417 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5418 `elmo-folder-delete-messages'.
5420 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5421 (elmo-folder-initialize): Changed to expand alias into index path.
5423 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5424 `elmo-mime-insert-header-from-buffer' with 6th arg
5427 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5429 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5431 * elmo.el (elmo-diff-new): New inline function.
5432 (elmo-diff-unread): Ditto.
5433 (elmo-diff-all): Ditto.
5435 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5436 value from responseb.
5437 (elmo-imap4-folder-diff-plugged): Ditto.
5438 (elmo-imap4-server-diff-async): Added recent argument.
5439 (elmo-server-diff-async): Ditto.
5440 (elmo-imap4-folder-diff-plugged): Ditto.
5442 * elmo-version.el (elmo-version): Up to 2.7.6.
5444 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5446 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5449 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5451 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5453 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5455 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5457 * elmo-multi.el (elmo-folder-initialize): Ditto.
5459 * elmo-util.el (elmo-parse-token): New function.
5460 (elmo-parse-prefixed-element): Ditto.
5462 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5464 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5466 (elmo-imap4-accept-ok): Ditto.
5468 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5470 * mmimap.el (mime-imap-entity-header-string): Don't check first
5471 element of node-id is `0' (Follow last change).
5473 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5475 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5476 assigned irregular node-id to nested multipart section.
5477 (initialize-instance): Followed above change.
5479 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5481 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5482 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5483 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5484 `elmo-shimbun-get-headers');
5485 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5486 visible article on summary exists in headers).
5487 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5489 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5491 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5494 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5496 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5498 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5500 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5501 header separator into loop condition.
5503 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5505 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5506 Return duplicate folder if it has subfolder.
5508 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5510 * elmo.el (elmo-make-folder): Add folder name error check.
5512 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5513 (elmo-nntp-encode-group-string): New inline function.
5514 (elmo-nntp-decode-group-string): Ditto.
5515 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5516 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5517 Use `not' instead of `null';
5518 Use elmo-nntp-decode-group-string.
5520 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5522 * elmo-version.el (elmo-version): Up to 2.7.5.
5524 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5526 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5527 Hide progress gauge if `elmo-folder-move-messages' exits
5530 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5532 * elmo-imap4.el (elmo-folder-initialize): Use
5533 `elmo-imap4-encode-folder-string' for folder name.
5535 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5537 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5540 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5542 * elmo-util.el (elmo-progress-counter-alist): New internal
5544 (elmo-progress-counter-value): New macro.
5545 (elmo-progress-counter-all-value): Ditto.
5546 (elmo-progress-counter-format): Ditto.
5547 (elmo-progress-counter-set-value): Ditto.
5548 (elmo-progress-set): New function.
5549 (elmo-progress-clear): Ditto.
5550 (elmo-progress-notify): Ditto.
5552 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5555 * elmo.el (elmo-generic-folder-append-messages): Call
5556 `elmo-progress-notify'.
5557 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5559 * elmo-archive.el (elmo-folder-append-messages): Call
5560 `elmo-progress-notify'.
5562 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5564 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5566 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5568 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5570 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5572 (elmo-message-encache-dop): Added argument `read'.
5574 * elmo-shimbun.el (elmo-message-encache): Ditto.
5576 * elmo-net.el (elmo-message-encache): Ditto.
5578 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5579 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5580 elmo-imap4-seen-messages.
5581 (elmo-folder-msgdb-create-plugged): Initialize
5582 elmo-imap4-seen-messages;
5583 Set seen mark on elmo-imap4-seen-messages.
5585 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5587 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5588 elmo-folder-append-buffer.
5589 (elmo-folder-encache): Added optional argument `read'.
5590 (elmo-message-encache): Ditto.
5592 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5594 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5596 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5597 if append buffer content succeds.
5599 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5601 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5602 elmo-display-progress.
5604 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5605 Set 4th argument of mime-display-message.
5606 (elmo-mime-display-as-is): Ditto.
5608 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5610 * elmo-nmz.el (toplevel): Require 'mime-edit.
5611 (elmo-nmz-content-type-alist): Abolished.
5612 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5613 content is not a message.
5614 (elmo-map-message-fetch): Changed behavior exept for message content;
5615 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5616 content-type, Add From: and Subject: field.
5618 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5620 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5621 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5624 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5626 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5627 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5629 * elmo-archive.el (elmo-folder-writable-p): Defined.
5631 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5633 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5635 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5637 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5639 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5641 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5643 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5645 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5647 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5649 * elmo-util.el (elmo-address-quote-specials): New function;
5650 Renamed from `wl-address-quote-specials'.
5652 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5654 * elmo-version.el (elmo-version): Up to 2.7.4.
5656 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5658 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5660 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5662 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5663 both compile-time and run-time to avoid byte-compile warning.
5665 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5667 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5669 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5671 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5673 (elmo-mime-display-as-is-internal): Use it.
5675 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5676 if `read-passwd' is not defined.
5678 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5680 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5682 (elmo-folder-status): Call `elmo-folder-open-internal';
5683 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5684 (elmo-folder-close-internal): Set location-alist as nil.
5685 (elmo-folder-clear): Define.
5686 (elmo-folder-check): Don't set location-alist as nil.
5688 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5690 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5692 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5693 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5695 * mmimap.el (mime-imap-entity::requested): New slot.
5696 (mime-imap-location-fetch-entity-p): New generic function.
5697 (mime-decode-parameters): Define using `defun-maybe'.
5698 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5699 content-type structure.
5700 (mime-entity-body): Return empty body if
5701 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5703 * elmo.el (elmo-message-displaying): New variable.
5705 * elmo-mime.el (elmo-mime-message-display): Bind
5706 elmo-message-displaying as t.
5708 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5710 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5712 * acap.el (acap-open): erase buffer before starting network process.
5713 (acap-store): Rewrite.
5715 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5717 * elmo-imap4.el (elmo-imap4-default-mailbox,
5718 elmo-imap4-default-server
5719 elmo-imap4-default-authenticate-type,
5720 elmo-imap4-default-user,
5721 elmo-imap4-default-port,
5722 elmo-imap4-default-stream-type,
5723 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5725 * elmo-pop3.el (elmo-pop3-default-user,
5726 elmo-pop3-default-server,
5727 elmo-pop3-default-authenticate-type,
5728 elmo-pop3-default-port,
5729 elmo-pop3-default-stream-type,
5730 elmo-pop3-stream-type-alist): Ditto.
5732 * elmo-nntp.el (elmo-nntp-default-server,
5733 elmo-nntp-default-user,
5734 elmo-nntp-default-port,
5735 elmo-nntp-default-stream-type,
5736 elmo-nntp-stream-type-alist): Ditto.
5738 * elmo-vars.el: Follow changes above.
5739 (elmo-setting): New custom group; added 'elmo-setting group to
5742 * elmo-version.el (elmo-version): Up to 2.7.3.
5744 * acap.el (acap-parse-response): Don't delete process when BYE
5745 response (It causes hang-up on slow network environment).
5746 (toplevel): Added comment.
5748 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5750 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5752 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5754 (acap-parse-return-metadata): Ditto.
5757 (toplevel): Fixed typo.
5759 * acap.el: New file.
5760 (acap-network-stream-open): Show "Connecting..." message.
5761 (acap-parse-response): Fixed problem for BYE untagged response.
5762 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5763 (toplevel): Added tiny comments.
5765 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5767 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5768 space delimiter for uidl response.
5770 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5772 * elmo-vars.el (elmo-use-semi): Eliminated.
5774 * elmo-util.el (elmo-string-assoc-all): New function.
5776 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5778 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5779 property 'mime-preview-situation for `mime-preview-quit'.
5781 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5783 * elmo.el (elmo-message-fetch-with-cache-process): Call
5784 elmo-message-fetch-internal instead of causing an error when fetch
5785 strategy is 'entire but only 'section cache is available.
5787 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5789 * elmo-version.el (elmo-version): Up to 2.7.2.
5791 * elmo.el (elmo-generic-folder-append-messages): Make
5792 fetch-strategy with `use-cache'.
5794 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5795 (elmo-dop-queue-method-name): New macro.
5797 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5799 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5800 unbalanced parenthesis.
5802 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5804 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5806 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5808 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5809 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5811 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5813 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5816 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5818 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5819 (elmo-message-use-cache-p): Define.
5820 (elmo-folder-msgdb-create): Treat cache.
5822 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5824 * elmo-nntp.el (elmo-network-initialize-session): Call
5825 `elmo-nntp-send-mode-reader'.
5826 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5828 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5830 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5832 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5835 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5836 for `elmo-plugged-p'.
5837 (elmo-open-network-stream): Fixed stream-type argument.
5839 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5841 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5842 unknown archive type is specified.
5844 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5846 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5848 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5849 while loading msgdb.
5851 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5852 (elmo-folder-open-internal): Rewrite.
5854 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5856 * elmo-mime.el (elmo-mime-display-as-is-internal):
5857 Adjust buffer-multibyte status.
5859 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5861 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5862 of elmo-condition-find-key.
5864 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5865 (elmo-condition-in-msgdb-p): Ditto.
5866 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5869 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5871 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5873 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5875 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5876 label for elmo-display-progress.
5878 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5880 * elmo.el (elmo-folder-clear): New method.
5881 (elmo-folder-clear): Define.
5882 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5884 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5885 (elmo-folder-clear): Define.
5887 * elmo-map.el (elmo-folder-clear): Define.
5889 * elmo-version.el (elmo-version): Up to 2.7.1.
5891 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5893 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5896 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5898 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5899 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5901 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5903 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5905 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5908 * elmo-imap4.el (elmo-folder-initialize): Use
5909 elmo-get-network-stream-type.
5911 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5913 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5915 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5917 * elmo.el (elmo-message-encache): Set unread argument for
5920 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5922 * elmo.el (elmo-net-port-info): New method.
5924 * elmo-shimbun.el (elmo-net-port-info): Define.
5925 (elmo-message-encache): Ditto.
5927 * elmo-net.el (elmo-net-port-info): Define as method.
5929 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5930 unplugged status when elmo-enable-disconnected-operation is t.
5932 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5933 of spool folder before checking new number.
5935 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5937 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5938 (elmo-network-setup-session): Ditto.
5939 (elmo-message-fetch-plugged): Ditto.
5940 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5941 (elmo-network-initialize-session): Ditto.
5942 (elmo-pop3-read-response): Abolish 3rd argument.
5943 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5944 (elmo-pop3-read-contents): Ditto.
5945 (elmo-pop3-read-body): Ditto.
5946 (elmo-folder-status): Call elmo-folder-close.
5947 (elmo-pop3-lock): Abolish.
5948 (elmo-pop3-unlock): Ditto.
5949 (elmo-pop3-locked-p): Ditto.
5950 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5952 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5954 * elmo-version.el (elmo-version): Up to 2.7.0.
5956 * elmo-pop3.el (elmo-pop3-debug): New variable.
5957 (elmo-pop3-debug-inhibit-logging): Ditto.
5958 (elmo-pop3-debug): New function.
5959 (elmo-pop3-send-command): Call elmo-pop3-debug.
5960 (elmo-pop3-read-response): Added keep-lock optional argument;
5961 Don't unlock if keep-lock is non-nil.
5962 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5963 (elmo-network-authenticate-session): Bind
5964 elmo-pop3-debug-inhibit-logging as t.
5965 (elmo-network-setup-session): Call elmo-pop3-read-response with
5967 (elmo-pop3-read-msg): Ditto.
5968 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5969 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5970 (elmo-network-initialize-session): Call elmo-pop3-lock.
5971 (elmo-folder-close-internal): Don't clear location-alist slot.
5972 (elmo-folder-check): Clear location-alist slot.
5974 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5976 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5977 (elmo-pop3-send-command): Call elmo-pop3-lock.
5978 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5979 (elmo-pop3-read-contents): Ditto.
5980 (elmo-pop3-lock): New function.
5981 (elmo-pop3-unlock): Ditto.
5982 (elmo-pop3-locked-p): Ditto.
5983 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5986 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5988 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5990 * elmo-util.el (elmo-file-field-primitive-condition-match):
5991 New inline function (Don't fetch file content if "first" or "last").
5992 (elmo-file-field-condition-match): Use
5993 elmo-file-field-primitive-condition-match.
5995 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5998 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5999 (elmo-message-fetch-plugged): Fixed.
6001 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6003 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6005 * elmo.el (elmo-folder-move-messages): Bind
6006 elmo-inhibit-display-retrieval-progress as t while moving messages.
6008 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6010 (elmo-inhibit-display-retrieval-progress): Ditto.
6012 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6013 for retrieval progress;
6014 Don't display progress when total buffer size is smaller than
6015 elmo-display-retrieval-progress-threshold.
6016 (elmo-message-fetch-plugged): Don't display progress when
6017 elmo-inhibit-display-retrieval-progress is non-nil.
6019 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6020 for retrieval progress;
6021 Don't display progress when literal size is smaller than
6022 elmo-display-retrieval-progress-threshold.
6023 (elmo-imap4-message-fetch): Don't display progress when
6024 elmo-inhibit-display-retrieval-progress is non-nil.
6026 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6028 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6029 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6030 (elmo-imap4-message-fetch): Likewise.
6032 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6033 (elmo-shimbun-index-range-alist): Ditto.
6034 (elmo-shimbun-use-entire-index): Abolish.
6035 (shimbun-mua-use-entire-index): Ditto.
6036 (elmo-shimbun-folder): Added new slot `range'.
6037 (elmo-folder-initialize): Setup slot `range'.
6039 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6041 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6042 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6043 (elmo-shimbun-get-headers): Use return value of
6044 `shimbun-article-expiration-days'.
6045 (elmo-folder-close-internal): Clean up last-check slot.
6047 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6048 (elmo-pop3-total-size): New variable.
6049 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6051 * elmo.el (elmo-folder-reserve-status-p): New method.
6053 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6054 (elmo-shimbun-use-entire-index): New user option.
6055 (shimbun-elmo-mua): New class.
6056 (shimbun-mua-search-id): Define.
6057 (shimbun-mua-use-entire-index): Ditto.
6058 (elmo-shimbun-folder:last-check): New slot.
6059 (elmo-shimbun-headers-cache-header-list): Abolish.
6060 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6061 (elmo-shimbun-headers-cache-header-hash): Ditto.
6062 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6063 (elmo-shimbun-headers-cache-last-check): Ditto.
6064 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6065 (elmo-shimbun-headers-check-p): Rewrite.
6066 (elmo-shimbun-msgdb-to-headers): New function.
6067 (elmo-shimbun-get-headers): Rewrite.
6068 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6069 (elmo-folder-open-internal): Get headers only if
6070 `elmo-shimbun-headers-check-p' is non-nil.
6071 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6073 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6074 (elmo-quit): Removed.
6076 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6078 (elmo-msgdb-overview-entity-set-extra): Ditto.
6079 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6081 * elmo-map.el (elmo-folder-status): Don't call
6082 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6085 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6087 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6088 of `elmo-msgdb-search-internal-primitive' when condition's car is
6091 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6093 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6095 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6097 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6098 call `elmo-pipe-drain'.
6100 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6102 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6103 typo. (elmo-cache-folder -> elmo-mark-folder)
6105 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6107 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6108 `elmo-message-fetch'.
6110 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6112 * elmo-net.el (elmo-message-encache): Fixed typo.
6113 (elmo-message-fetch-unplugged): Changed call
6114 `elmo-message-fetch-internal' without argument `outbuf'.
6116 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6118 * elmo.el (elmo-message-encache): Define as generic function.
6119 (elmo-message-fetch-field): New generic function.
6120 (elmo-message-fetch-with-cache-process): Cause an error when
6121 fetch strategy is 'entire but only 'section cache is available.
6122 (toplevel): Fixed nmz folder definition.
6124 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6125 (elmo-msgdb-resume-list-filename): Ditto.
6126 (elmo-queue-filename): Ditto.
6127 (elmo-enable-disconnected-operation): Changed default value to t.
6129 * elmo-util.el (elmo-cache-path-section-p): New function.
6130 (elmo-file-cache-get): Use it.
6131 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6132 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6133 (elmo-dop-queue-save): Ditto.
6135 * elmo-net.el (elmo-folder-status-unplugged): Call
6136 elmo-folder-status-dop.
6137 (elmo-folder-list-messages-unplugged): Implemented.
6138 (elmo-folder-delete-messages-unplugged): Define.
6139 (elmo-folder-msgdb-create): Define.
6140 (elmo-folder-msgdb-create-unplugged): Define.
6141 (elmo-folder-mark-as-read-unplugged): Ditto.
6142 (elmo-folder-unmark-read-unplugged): Ditto.
6143 (elmo-folder-mark-as-important-unplugged): Ditto.
6144 (elmo-folder-unmark-important-unplugged): Ditto.
6145 (elmo-message-encache): Ditto.
6147 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6148 (elmo-dop-queue-save): Ditto.
6150 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6151 `elmo-folder-msgdb-create'.
6152 (elmo-folder-append-buffer): Implemented unplugged operation.
6153 (elmo-folder-append-messages): Call parent method in unplugged status.
6154 (elmo-message-fetch-unplugged): Removed definition.
6155 (elmo-message-fetch-field): Implemented.
6157 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6158 (elmo-dop-folder): Removed variable definition.
6159 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6160 (elmo-dop-queue-flush): Implemented.
6161 (elmo-dop-queue-merge): Removed definition (TODO).
6162 (elmo-dop-spool-folder): New function.
6163 (elmo-dop-spool-folder-append-buffer): Ditto.
6164 (elmo-dop-spool-folder-list-messages): Ditto.
6165 (elmo-dop-list-deleting-messages): Ditto.
6166 (elmo-folder-append-buffer-dop): Ditto.
6167 (elmo-folder-delete-messages-dop): Ditto.
6168 (elmo-message-encache-dop): New inline function.
6169 (elmo-create-folder-dop): Ditto.
6170 (elmo-folder-mark-as-read-dop): Ditto.
6171 (elmo-folder-unmark-read-dop): Ditto.
6172 (elmo-folder-mark-as-important-dop): Ditto.
6173 (elmo-folder-unmark-important-dop): Ditto.
6174 (elmo-folder-status-dop): Fixed.
6175 (elmo-folder-append-buffer-dop-delayed): New function.
6176 (elmo-folder-delete-messages-dop-delayed): Ditto.
6177 (elmo-dop-msgdb): Ditto.
6179 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6181 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6183 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6185 * elmo.el (elmo-folder-move-messages): Fixed problem when
6186 `dst-folder' is 'null.
6188 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6190 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6191 instead of current mark.
6193 * elmo-multi.el (elmo-folder-list-importants-internal): No
6194 operation if importants is not list.
6196 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6197 Return t if importants is not list.
6199 * elmo-map.el (elmo-map-folder-list-importants): Define.
6200 (elmo-folder-list-importants-internal): Check return value of
6201 `elmo-map-folder-list-importants-internal'.
6203 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6205 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6207 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6209 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6211 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6213 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6214 (Patch is provided by <kita@coe.nttdata.co.jp>).
6216 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6218 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6221 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6223 * elmo.el (elmo-message-fetch): Define.
6224 (elmo-message-fetch-with-cache-process): New generic method.
6225 (elmo-message-fetch-internal): New generic method.
6226 (elmo-folder-synchronize):
6228 * elmo-archive.el (elmo-message-fetch-internal): Define.
6229 (elmo-message-fetch): Eliminated.
6231 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6232 (elmo-message-fetch): Eliminated.
6234 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6236 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6238 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6239 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6241 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6242 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6244 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6246 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6248 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6250 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6251 (elmo-message-fetch-unplugged): New generic method.
6252 (elmo-message-fetch-internal): Remove cache process (Renamed from
6253 `elmo-message-fetch').
6255 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6256 (elmo-message-fetch): Eliminated.
6257 (elmo-message-fetch-unplugged): Ditto.
6259 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6261 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6263 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6264 of `to-be-deleted' from number-alist to number-list.
6266 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6268 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6269 (elmo-folder-mark-as-important): Ditto.
6271 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6273 * elmo.el (elmo-folder): Added process-duplicates slot.
6275 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6276 (elmo-folder-unmark-read): Ditto.
6277 (elmo-folder-unmark-important): Ditto.
6278 (elmo-folder-mark-as-important): Ditto.
6280 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6281 duplicated message processing.
6283 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6285 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6287 * elmo-util.el (elmo-list-subdirectories-1): New function.
6288 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6289 (elmo-mapcar-list-of-list): New function.
6291 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6292 `elmo-mapcar-list-of-list' instead of `mapcar'.
6294 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6296 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6297 `elmo-have-link-count'. Return the fully qualified folder name.
6299 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6301 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6302 (elmo-shimbun-headers-cache): New internal variable.
6303 (elmo-shimbun-headers-cache-header-list): New inline function.
6304 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6305 (elmo-shimbun-headers-cache-header-hash): Ditto.
6306 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6307 (elmo-shimbun-headers-cache-last-check): Ditto.
6308 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6309 (elmo-shimbun-lapse-seconds): Ditto.
6310 (elmo-shimbun-headers-cache-check-p): Ditto.
6311 (elmo-shimbun-get-headers): New function.
6312 (elmo-folder-open-internal): Call it.
6313 (elmo-quit): Define (Clear headers-cache).
6315 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6317 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6319 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6320 (elmo-msgdb-flist-save): Ditto.
6322 * elmo-shimbun.el (elmo-folder-list-subfolders):
6323 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6324 (elmo-folder-exists-p): Ditto.
6326 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6327 argument for `shimbun-header-insert'.
6329 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6331 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6334 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6335 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6337 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6339 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6340 (elmo-folder-plugged-p): Define.
6341 (elmo-folder-set-plugged): Ditto.
6342 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6343 (elmo-folder-list-messages-internal): Return t if unplugged.
6344 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6346 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6347 when elmo-folder-list-messages-internal method of children returns t.
6349 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6351 (elmo-folder-open-internal): Don't update if unplugged status.
6353 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6355 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6358 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6360 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6362 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6365 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6367 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6369 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6370 (elmo-folder-open-internal): Set up headers slot.
6371 (elmo-folder-check): Call elmo-folder-close-internal and
6372 elmo-folder-open-internal.
6373 (elmo-folder-close-internal): Clean up headers slot.
6375 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6377 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6378 exactly folder list.
6379 (elmo-folder-append-messages): Fixed append archive with prefix.
6381 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6382 make temp files with start-number.
6384 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6386 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6388 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6389 argument `visible-only'.
6390 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6393 * elmo-pop3.el (elmo-folder-open-internal): Check
6394 `elmo-inhibit-number-mapping' is non-nil.
6396 * elmo-pipe.el (elmo-folder-status): Fixed.
6398 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6400 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6402 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6403 (elmo-folder-open-internal): Setup `header-hash' slot.
6404 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6406 (elmo-map-message-fetch): Ditto.
6408 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6410 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6411 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6412 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6413 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6415 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6417 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6419 * sb-airs.el: Added footer.
6421 * shimbun.el (shimbun-article): Define as luna-method.
6423 * sb-tcup.el: New file.
6425 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6426 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6428 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6430 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6431 (shimbun-get-headers): Ditto.
6433 * elmo.el: Moved obsolete variable definitions from
6434 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6436 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6439 * shimbun.el: New file.
6441 * elmo-shimbun.el: New file.
6443 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6444 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6445 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6446 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6448 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6450 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6453 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6455 * elmo.el (elmo-folder-msgdb): Define as macro.
6456 (elmo-folder-open): Added argument `load-msgdb'.
6457 (elmo-generic-folder-open): Ditto.
6458 (elmo-folder-encache): New function.
6460 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6462 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6464 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6465 Eliminated argument FOLDER and added argument MSGDB.
6466 (elmo-dop-queue-load): Moved from elmo-dop.el.
6467 (elmo-dop-queue-save): Ditto.
6469 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6471 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6473 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6474 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6475 (elmo-filter-folder-list-importants-internal): Ditto.
6477 * elmo-map.el (elmo-folder-pack-number): Ditto.
6479 * elmo-mime.el (elmo-mime-message-display): Ditto.
6481 * elmo.el (elmo-generic-folder-commit): Ditto.
6482 (elmo-folder-list-unreads): Ditto.
6483 (elmo-folder-list-importants): Ditto.
6484 (elmo-generic-folder-commit): Ditto.
6485 (elmo-message-set-mark): Ditto.
6486 (elmo-generic-folder-append-msgdb): Ditto.
6487 (elmo-folder-synchronize): Ditto.
6488 (elmo-folder-messages): Ditto.
6489 (elmo-init): Call elmo-dop-queue-load.
6490 (elmo-folder-list-messages): Ditto.
6492 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6493 (elmo-nntp-folder-process-crosspost): Ditto.
6494 (elmo-folder-list-unreads-internal): Ditto.
6496 * elmo-dop.el: Removed old functions.
6498 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6500 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6501 `folder' to `msgdb'.
6503 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6505 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6506 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6508 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6511 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6513 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6516 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6517 (mmimap-parse-parameters-from-list): Define as alias for
6518 `mime-decode-parameter-plist' if it is defined as function.
6519 (mmimap-make-mime-entity): Added argument `number'.
6520 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6522 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6524 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6526 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6528 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6530 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6532 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6534 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6535 when elmo-imap4-default-authenticate-type is nil.
6536 (elmo-folder-list-subfolders): Ditto
6537 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6538 (elmo-imap4-fetch-callback-1-subr): Renamed from
6539 `elmo-imap4-fetch-callback-1' and define as inline function.
6540 (elmo-imap4-fetch-callback-1):
6541 Renamed from `elmo-imap4-fetch-callback'.
6542 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6544 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6545 msgdb path (To keep compatibility with main trunk).
6547 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6549 * elmo-util.el (elmo-make-file-cache): Moved position of
6552 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6553 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6554 instead of `elmo-pop3-inhibit-uidl'.
6555 (elmo-folder-exists-p): Ditto.
6556 (elmo-pop3-folder-list-messages): Ditto.
6558 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6559 instead of `elmo-pop3-inhibit-uidl'.
6560 (elmo-folder-status): Ditto.
6562 * elmo-dop.el (elmo-dop-folder): New variable.
6563 (elmo-dop-lock-message): Eliminated.
6564 (elmo-dop-unlock-message): Ditto.
6565 (elmo-dop-lock-list-load): Ditto.
6566 (elmo-dop-lock-list-save): Ditto.
6567 (elmo-dop-delete-folder): Ditto.
6568 (elmo-dop-rename-folder): Ditto.
6570 * elmo.el: Removed incomplete commentary.
6572 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6574 * elmo.el (toplevel): Require 'elmo-version first;
6575 for little `recursive-load-depth' settings.
6576 Fix "ends here" comment.
6578 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6580 * elmo-util.el (toplevel): Require 'poem;
6581 Some functions are moved from elmo-cache.el.
6583 * elmo-net.el (toplevel): Require 'elmo-cache.
6585 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6587 * elmo.el (toplevel): Ditto.
6589 * elmo-cache.el: Rewrite with luna;
6590 Some functions are moved to elmo-util.el.
6592 * elmo-internal.el (elmo-internal-folder-list): New variable.
6593 (elmo-internal-folder-initialize): Rewrite.
6594 (elmo-folder-list-subfolders): Ditto.
6596 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6597 (elmo-cache-collect-sub-directories): Ditto.
6599 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6601 * elmo-version.el (elmo-version): Up to 2.5.8.
6603 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6605 * elmo-util.el (elmo-list-insert): New function.
6607 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6609 * elmo.el (elmo-init): New function.
6610 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6612 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6613 (Renamed from `elmo-localdir-header-chop-length').
6615 * elmo-pop3.el (elmo-pop3-use-cache,
6616 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6618 * elmo-nntp.el (elmo-message-fetch): Define.
6619 (elmo-message-fetch-unplugged): Ditto.
6620 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6621 (elmo-nntp-use-cache): Ditto.
6622 (elmo-nntp-max-number-precedes-list-active): Ditto.
6624 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6626 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6627 `elmo-msgdb-insert-file-header'.
6628 Use `elmo-msgdb-file-header-chop-length'.
6630 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6633 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6634 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6635 `elmo-msgdb-insert-file-header'.
6637 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6639 Define obsolete variables with `elmo-define-obsolete-variable',
6641 * elmo-util.el (elmo-warning-buffer-name): New constant.
6642 (elmo-warning): New function.
6643 (elmo-obsolete-variable-alist): New variable.
6644 (elmo-obsolete-variable-show-warnings): New variable.
6645 (elmo-define-obsolete-variable): New function.
6646 (elmo-resque-obsolete-variable): Ditto.
6647 (elmo-resque-obsolete-variables): Ditto.
6649 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6651 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6654 * elmo-pop3.el, elmo-nntp.el: Use custom.
6656 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6658 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6659 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6661 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6663 * Luna-fy Kenichi OKADA's following changes.
6664 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6666 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6668 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6670 * elmo-util.el (elmo-display-progress): Prefer
6671 `progress-feedback-with-label' to `lprogress-display'.
6673 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6675 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6677 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6679 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6680 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6681 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6682 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6683 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6684 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6685 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6686 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6687 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6688 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6689 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6690 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6691 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6693 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6695 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6696 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6698 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6700 * elmo.el (elmo-folder-process-crosspost): New generic method.
6701 (elmo-folder-writable-p): Ditto.
6702 (elmo-folder-message-appendable-p): Eliminated.
6703 (elmo-generic-folder-append-msgdb): Rewrite.
6704 (elmo-newsgroups-hashtb): New internal variable.
6705 (elmo-crosspost-message-set): Eliminated.
6706 (elmo-crosspost-message-delete): Ditto.
6707 (elmo-setup-subscribed-newsgroups): New function.
6708 (elmo-crosspost-message-alist-modified): New internal variable.
6709 (elmo-crosspost-message-alist-load): New function (Renamed from
6710 `wl-crosspost-alist-load').
6711 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6712 `wl-crosspost-alist-save').
6714 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6716 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6718 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6719 elmo-newsgroups-hashtb).
6720 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6721 `elmo-nntp-folder-update-crosspost-message-alist'.
6722 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6723 `elmo-nntp-groups-hashtb'.
6724 (elmo-nntp-make-groups-hashtb): Eliminated.
6725 (elmo-nntp-parse-newsgroups): New function (Renamed from
6726 `wl-parse-newsgroups').
6727 (elmo-folder-creatable-p, elmo-folder-writable-p,
6728 elmo-folder-close-internal, elmo-folder-mark-as-read,
6729 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6731 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6733 * elmo-net.el (elmo-message-fetch): Check buffer size.
6735 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6737 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6739 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6740 before `close' command.
6742 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6743 `mark-alist' (All other related portions are changed).
6745 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6747 * elmo-util.el (elmo-create-hash-size): Eliminated.
6748 (elmo-make-hash) Make a hash with `one less than a power of two'
6751 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6752 (elmo-hash-maximum-size): Changed value.
6754 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6756 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6757 (elmo-mime-message-display-as-is): Ditto.
6759 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6761 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6762 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6764 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6766 * elmo-mark.el: New file.
6768 * elmo-internal.el: Rewrite (Almost empty).
6770 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6772 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6773 (mime-imap-entity-header-string): Ditto.
6774 (mmimap-entity-section): Rewrite.
6776 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6778 * elmo-nmz.el: New file.
6780 * elmo-pipe.el: Rewrite with luna.
6782 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6784 * elmo-archive.el: Rewrite with luna.
6786 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6787 (elmo-folder-list-importants-internal): Ditto.
6789 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6791 * elmo-archive.el (elmo-archive-version): Abolish.
6792 (toplevel) Removed `boso' comment.
6794 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6796 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6797 elmo-msgdb-add-msgs-to-seen-list-subr;
6798 Changed argument seen-marks to unread-marks.
6800 * elmo-nntp.el: Rewrite with luna.
6802 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6804 * elmo-filter.el: Rewrite with luna.
6806 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6808 * elmo-pop3.el: Rewrite with luna.
6810 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6812 * elmo-multi.el: Rewrite with luna.
6814 * elmo-vars.el (elmo-use-killed-list): Abolish.
6815 All other related portions are changed.
6816 (elmo-filename-replace-string-alist): Renamed from
6817 elmo-msgid-replace-string-alist.
6819 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6821 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6823 * elmo-map.el: New file.
6824 * elmo-maildir.el: Rewrite with luna.
6826 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6828 * elmo.el: Changed meaning of `elmo-folder-commit'.
6829 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6831 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6833 * elmo.el (elmo-folder-append-buffer): New function.
6834 (Renamed from `elmo-append-msg')
6836 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6838 * elmo-mime.el: New file.
6840 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6842 * elmo-cache.el: Rewrite.
6844 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6846 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6848 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6850 * elmo-vars.el (elmo): New group.
6851 (elmo-strict-diff-folder-regexp): New variable.
6853 * elmo-util.el (elmo-call-func): Abolish.
6854 (elmo-folder-get-type): Ditto.
6855 (elmo-*-get-spec): Ditto.
6856 (elmo-*-spec-*): Ditto.
6857 (elmo-imap4-identical-name-space-p): Ditto.
6858 (elmo-folder-identical-system-p): Ditto.
6859 (elmo-folder-direct-copy-alist): Ditto.
6860 (elmo-folder-direct-copy-p): Ditto.
6862 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6863 (elmo-folder-initialize): Define.
6864 (elmo-folder-get-primitive-list): Ditto.
6866 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6867 (elmo-folder-initialize): Define.
6868 Renamed `elmo-network-session-host-internal' to
6869 `elmo-network-session-server-internal'.
6871 * elmo-multi.el (elmo-multi-folder): New luna class.
6872 (elmo-folder-initialize): Define.
6873 (elmo-folder-get-primitive-list): Ditto.
6874 (elmo-folder-contains-type): Ditto.
6875 (elmo-message-use-cache-p): Ditto.
6877 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6878 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6880 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6881 (elmo-folder-initialize): Define.
6883 * elmo-filter.el (elmo-filter-folder): New luna class.
6884 (elmo-folder-initialize): Define.
6885 (elmo-folder-get-primitive-list): Ditto.
6886 (elmo-folder-contains-type): Ditto.
6888 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6890 * elmo-imap4.el: Rewrite with luna.
6892 * mmimap.el: New file.
6894 * mmelmo.el, mmelmo-imap4.el: Removed.
6896 * elmo-net.el: Ditto.
6898 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6899 (elmo-folder-initialize): Define.
6901 * elmo-archive.el (elmo-archive-folder): New luna class.
6902 (elmo-folder-initialize): Define.
6904 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6905 `elmo-folder-msgdb-path'.
6906 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6909 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6911 * elmo.el: New file.
6913 * elmo2.el: Renamed to elmo.el.
6916 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6918 * elmo-cache.el (elmo-cache-expire-by-size): Count
6919 a disk usage for a cache file entry in KB even when
6920 its kind is a directory.
6922 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6924 * elmo-version.el (elmo-version): Up to 2.5.7.
6926 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6928 * elmo-version.el (elmo-version): Up to 2.5.6.
6930 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6932 * elmo-version.el (elmo-version): Up to 2.5.5.
6934 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6936 * elmo-imap4.el (elmo-network-authenticate-session):
6937 Fixed a logic for response checking.
6939 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6941 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6942 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6943 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6946 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6947 for `starttls-open-stream' and `starttls-negotiate'.
6949 * elmo-nntp.el: Remove autoload settings for
6950 `starttls-open-stream' and `starttls-negotiate'.
6952 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6953 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6954 `luna-define-class' with `eval-and-compile'.
6956 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6958 * elmo-util.el (elmo-read-search-condition-internal):
6959 Require an element of table for searching field.
6961 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6963 * elmo-version.el (elmo-version): Up to 2.5.4.
6965 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6967 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6969 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6971 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6973 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6975 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6978 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6980 * elmo-imap4.el (elmo-imap4-delete-folder):
6981 Send "close" before "delete" (Use commented out line).
6982 (elmo-imap4-rename-folder): Ditto.
6984 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6985 folder string itself.
6986 (elmo-dop-list-deleted): New function.
6987 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6990 * elmo-util.el (elmo-string-rassoc-all): New function.
6992 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6994 * elmo-version.el (elmo-version): Up to 2.5.3.
6996 * elmo-net.el (elmo-network-get-session): Changed logic for
6997 checking process status.
6999 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7001 Changed logic for checking process status.
7003 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7005 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7007 (elmo-network-setup-session): Set UIDL hash size according to
7008 the length of list response.
7009 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7010 according to the length of list response;
7011 Return the length of list response.
7012 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7014 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7016 * elmo-imap4.el (toplevel): Require 'ssl.
7017 Add autoload 'starttls.
7018 * elmo-pop3.el (toplevel): Ditto.
7019 * elmo-nntp.el (toplevel): Ditto.
7021 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7023 * elmo-imap4.el (toplevel): defun at compile time.
7024 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7025 sasl-next-step, sasl-step-data, sasl-step-set-data.
7026 * elmo-pop3.el (toplevel): Ditto.
7028 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7030 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7032 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7034 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7036 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7037 and `elmo-pop-auth-apop'.
7039 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7041 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7043 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7045 * elmo-pop3.el (elmo-network-authenticate-session): Split
7046 encoded response value.
7048 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7050 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7051 `elmo-pop3-force-login'.
7052 Redefine `sasl-mechanisms'.
7053 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7055 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7057 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7058 Delete `elmo-imap4-authenticator-alist'.
7059 (elmo-imap4-auth-cram-md5): Delete.
7060 (elmo-imap4-auth-digest-md5): Delete.
7062 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7064 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7065 (elmo-pop3-auth-scram-md5): Ditto.
7066 (elmo-pop3-auth-cram-md5): Ditto.
7068 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7070 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7071 Delete `elmo-pop3-authenticator-alist'.
7073 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7075 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7077 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7079 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7081 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7083 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7085 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7086 Fixed problem when `elmo-pop3-use-uidl' is nil.
7087 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7089 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7091 * elmo-version.el (elmo-version): Up to 2.5.2.
7093 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7095 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7097 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7098 (elmo-pop3-msgdb-create-as-numlist): Use it.
7100 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7101 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7103 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7104 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7106 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7108 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7109 when elmo-mark-as-read is called with second argument nil.
7111 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7113 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7114 Moved to elmo-util.el.
7116 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7117 Moved from elmo-pipe.el
7119 * elmo-archive.el (elmo-archive-call-process): Enclose with
7122 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7123 "RFC822" (because RFC822.PEEK is obsolete).
7124 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7126 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7128 * elmo-archive.el (elmo-archive-call-process): Don't check for
7129 the exit status when Nemacs is running.
7131 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7133 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7136 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7137 (elmo-pop3-get-spec): Set default of auth to 'user.
7139 * elmo-imap4.el (elmo-imap4-session-check):
7140 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7141 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7142 (elmo-imap4-auth-login): New function; Revival.
7143 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7144 `elmo-imap4-auth-login'.
7146 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7148 * elmo2.el (toplevel): Move `product-provide' declare.
7149 * mmelmo.el (toplevel): Ditto.
7151 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7153 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7155 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7157 * elmo-util.el (elmo-folder-get-store-type): New function.
7158 (elmo-folder-direct-copy-p): Use it.
7160 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7162 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7163 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7164 and result of `elmo-imap4-use-flag-p'.
7165 (elmo-imap4-fetch-callback-1): Set mark according to
7166 the result of `elmo-imap4-use-flag-p'.
7168 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7170 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7171 (elmo-generic-list-folder-unread): Ditto.
7172 (elmo-folder-get-info): Ditto.
7173 (elmo-folder-set-info-max-by-numdb): Ditto.
7174 (elmo-folder-get-info-max): Ditto.
7175 (elmo-folder-get-info-length): Ditto.
7176 (elmo-folder-get-info-unread): Ditto.
7177 (elmo-folder-info-make-hashtb): Ditto.
7179 * elmo2.el: Removed above functions.
7181 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7183 * elmo-imap4.el (toplevel): Require 'ssl.
7184 Add autoload 'starttls.
7185 * elmo-pop3.el (toplevel): Ditto.
7186 * elmo-nntp.el (toplevel): Ditto.
7188 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7190 * elmo-imap4.el (toplevel): defun at compile time.
7191 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7192 sasl-next-step, sasl-step-data, sasl-step-set-data.
7193 * elmo-pop3.el (toplevel): Ditto.
7195 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7197 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7199 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7201 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7203 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7204 and `elmo-pop-auth-apop'.
7206 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7208 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7210 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7212 * elmo-pop3.el (elmo-network-authenticate-session): Split
7213 encoded response value.
7215 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7217 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7218 `elmo-pop3-force-login'.
7219 Redefine `sasl-mechanisms'.
7220 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7222 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7224 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7225 Delete `elmo-imap4-authenticator-alist'.
7226 (elmo-imap4-auth-cram-md5): Delete.
7227 (elmo-imap4-auth-digest-md5): Delete.
7229 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7231 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7232 (elmo-pop3-auth-scram-md5): Ditto.
7233 (elmo-pop3-auth-cram-md5): Ditto.
7235 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7237 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7238 Delete `elmo-pop3-authenticator-alist'.
7240 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7242 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7244 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7247 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7249 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7251 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7253 * elmo-nntp.el (elmo-nntp-get-folders-info):
7254 Fixed problem when '\' character is contained in user-id.
7255 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7258 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7260 * elmo-imap4.el (elmo-imap4-delete-folder):
7261 Send "close" before "delete" (Use commented out line).
7262 (elmo-imap4-rename-folder): Ditto.
7264 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7265 folder string itself.
7266 (elmo-dop-list-deleted): New function.
7267 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7270 * elmo-util.el (elmo-string-rassoc-all): New function.
7272 * elmo-version.el (elmo-version): Up to 2.5.1.
7274 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7276 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7278 * elmo-internal.el (elmo-internal-search): Fix last change.
7280 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7282 * elmo-internal.el (elmo-internal-search): Rewrite.
7283 (Fixed problem which is pointed out by Akihiro MOTOKI
7284 <motoki@da.jp.nec.com>)
7286 * elmo-version.el (elmo-version): Up to 2.5.0.
7288 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7290 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7292 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7294 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7295 non-nil, make hierarchy.
7297 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7299 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7300 `elmo-pop3-use-uidl' must be bound to nil.
7301 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7303 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7305 * elmo-util.el (elmo-copy-file): Don't cause an error after
7306 `add-name-to-file' failed.
7308 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7309 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7311 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7313 * elmo-version.el (elmo-version): Up to 2.3.93.
7315 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7317 * elmo-util.el (elmo-flatten): New function.
7319 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7321 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7323 * elmo-cache.el (toplevel): Ditto.
7324 * elmo-database.el (toplevel): Ditto.
7325 * elmo-date.el (toplevel): Ditto.
7326 * elmo-dop.el (toplevel): Ditto.
7327 * elmo-filter.el (toplevel): Ditto.
7328 * elmo-imap4.el (toplevel): Ditto.
7329 * elmo-internal.el (toplevel): Ditto.
7330 * elmo-localdir.el (toplevel): Ditto.
7331 * elmo-localnews.el (toplevel): Ditto.
7332 * elmo-maildir.el (toplevel): Ditto.
7333 * elmo-msgdb.el (toplevel): Ditto.
7334 * elmo-multi.el (toplevel): Ditto.
7335 * elmo-net.el (toplevel): Ditto.
7336 * elmo-nntp.el (toplevel): Ditto.
7337 * elmo-pipe.el (toplevel): Ditto.
7338 * elmo-pop3.el (toplevel): Ditto.
7339 * elmo-util.el (toplevel): Ditto.
7340 * elmo-vars.el (toplevel): Ditto.
7341 * elmo2.el (toplevel): Ditto.
7342 * mmelmo-imap4.el (toplevel): Ditto.
7343 * mmelmo.el (toplevel): Ditto.
7345 * elmo-version.el (elmo-version): Move to top.
7347 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7348 * elmo-imap4.el (toplevel): Ditto.
7349 * elmo-localdir.el (toplevel): Ditto.
7350 * elmo-msgdb.el (toplevel): Ditto.
7351 * elmo-nntp.el (toplevel): Ditto.
7352 * elmo-pop3.el (toplevel): Ditto.
7353 * elmo-version.el (toplevel): Ditto.
7355 * elmo-localnews.el (toplevel): Added Keyword header.
7357 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7359 * elmo-version.el (product-version-as-string): Defined using
7363 * elmo-localdir.el (toplevel): Updated copyright notice.
7364 * elmo-version.el (toplevel): Ditto.
7365 * elmo-msgdb.el (toplevel): Ditto.
7366 * elmo-imap4.el (toplevel): Ditto.
7367 * elmo-nntp.el (toplevel): Ditto.
7368 * elmo-pop3.el (toplevel): Ditto.
7370 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7372 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7375 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7376 parameter value (It sometimes contains raw kanji).
7378 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7380 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7381 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7383 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7385 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7387 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7389 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7390 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7392 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7394 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7395 value if selecting folder succceeded.
7396 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7398 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7400 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7403 * elmo-util.el (elmo-string-matched-member): New function.
7405 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7407 * elmo-util.el (elmo-unintern): New macro.
7408 (elmo-number-set-member): Fixed docstring.
7410 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7413 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7415 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7416 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7418 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7420 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7423 Return non-nil if selecting folder succeeded.
7424 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7426 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7428 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7429 `file-name-completion' returns t.
7430 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7431 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7432 directory if it does not exist.
7433 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7436 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7438 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7439 enclosure (It's harmful in unplugged status).
7441 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7443 * mmelmo-1.el: Removed.
7445 * mmelmo-2.el: Ditto.
7447 * mmelmo-imap4-1.el: Ditto.
7449 * mmelmo-imap4-2.el: Ditto.
7451 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7453 * mmelmo.el: Merged mmelmo-2.el.
7455 * elmo-version.el (elmo-version): Up to 2.3.92.
7457 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7459 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7460 elmo-update-number): Remove last period in "...done." message.
7461 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7463 * elmo-cache.el (elmo-cache-expire-by-size,
7464 elmo-cache-get-sorted-cache-file-list,
7465 elmo-cache-msgdb-create-as-numlist): Ditto.
7466 * elmo-dop.el (elmo-dop-save-pending-messages,
7467 (elmo-dop-flush-pending-append-operations): Ditto.
7468 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7469 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7470 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7471 (elmo-localdir-pack-number): Ditto.
7472 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7473 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7474 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7475 mime-write-entity-content): Ditto.
7476 * pldap.el (ldap-search-basic): Ditto.
7478 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7480 * elmo-version.el (elmo-version): Up to 2.3.91.
7482 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7483 Only when filter is 'last'.
7485 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7486 (elmo-condition-parse-search-value): Use it.
7487 (elmo-read-search-condition-internal): Quote value only when
7490 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7492 * elmo2.el (elmo-generic-folder-diff): Fix.
7494 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7496 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7497 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7498 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7499 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7500 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7501 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7503 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7505 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7508 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7510 * elmo-version.el (elmo-version): Up to 2.3.90.
7512 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7513 (elmo-imap4-list-folder-important): Ditto.
7515 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7517 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7519 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7521 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7523 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7525 * elmo-nntp.el (elmo-network-initialize-session):
7526 Add starttls negotiation.
7528 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7530 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7532 (elmo-network-setup-session): Define.
7533 Call `elmo-nntp-send-mode-reader' when session opened.
7535 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7537 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7539 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7541 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7542 an invalid SPACE character ahead of `SEARCH' command. Move
7543 a valid SPACE character following `SEARCH' from conditional
7544 `format' arguments to control-strings.
7546 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7548 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7551 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7553 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7555 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7556 `w32-get-true-file-link-count' as t.
7558 * elmo-imap4.el (elmo-imap4-read): Abolished.
7559 (Renamed to `elmo-read' and moved to elmo-util.el)
7560 All other related portions are changed.
7562 * elmo-util.el (elmo-read): New function.
7563 (elmo-condition-parse-search-value): Use it.
7565 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7567 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7569 * elmo-nntp.el (elmo-nntp-session): Define.
7570 (elmo-nntp-setting): Abolished.
7571 All other related portions are changed.
7572 (elmo-nntp-get-server-command): Changed argument.
7573 (elmo-nntp-set-server-command): Ditto.
7574 (elmo-nntp-xover-p): Ditto.
7575 (elmo-nntp-set-xover): Ditto.
7576 (elmo-nntp-listgroup-p): Ditto.
7577 (elmo-nntp-set-listgroup): Ditto.
7578 (elmo-nntp-list-active-p): Ditto.
7579 (elmo-nntp-set-list-active): Ditto.
7580 (elmo-nntp-xhdr-p): Ditto.
7581 (elmo-nntp-set-xhdr): Ditto.
7582 (elmo-nntp-flush-connection): Abolished.
7583 (elmo-nntp-get-connection): Abolished.
7584 (elmo-nntp-get-session): New function.
7585 (elmo-network-initialize-session): Defined.
7586 (elmo-network-authenticate-session): Ditto.
7587 (elmo-nntp-send-mode-reader): Changed argument.
7588 (elmo-nntp-send-command): Changed argument.
7589 All other related portions are changed.
7590 (elmo-nntp-read-response): Ditto.
7591 (elmo-nntp-read-raw-response): Ditto.
7592 (elmo-nntp-read-contents): Ditto.
7593 (elmo-nntp-read-body): Ditto.
7594 (elmo-nntp-goto-folder): Abolished.
7595 (elmo-nntp-select-group): New function.
7596 All other related portions are changed.
7597 (This function substitutes `elmo-nntp-goto-folder')
7598 (elmo-nntp-msgdb-create-by-header): Rewrite.
7599 (elmo-nntp-get-overview): Eliminated.
7600 (elmo-nntp-get-message): Ditto.
7601 (elmo-nntp-open-connection) Abolished.
7602 (elmo-nntp-read-msg): Rewrite.
7603 (elmo-nntp-post): Ditto.
7604 (elmo-nntp-send-data): Abolished.
7605 (elmo-nntp-send-buffer): New function.
7606 (elmo-nntp-send-data-line): Define as inline function.
7607 (elmo-nntp-get-folders-info-prepare): Use session as key.
7608 (elmo-nntp-groups-read-response): Changed argument.
7609 (elmo-nntp-retrieve-headers): Ditto.
7610 (elmo-nntp-msgdb-create-message): Ditto.
7612 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7613 when searching by 'since' or 'before'.
7615 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7617 * elmo-version.el (toplevel): Use product-version-as-string for set
7618 verstion-string, if defined.
7620 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7622 * elmo-util.el: Doc fixes.
7624 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7626 * elmo-archive.el (toplevel): Use product-provide.
7627 * elmo-cache.el (toplevel): Ditto.
7628 * elmo-database.el (toplevel): Ditto.
7629 * elmo-date.el (toplevel): Ditto.
7630 * elmo-dop.el (toplevel): Ditto.
7631 * elmo-filter.el (toplevel): Ditto.
7632 * elmo-imap4.el (toplevel): Ditto.
7633 * elmo-internal.el (toplevel): Ditto.
7634 * elmo-localdir.el (toplevel): Ditto.
7635 * elmo-localnews.el (toplevel): Ditto.
7636 * elmo-maildir.el (toplevel): Ditto.
7637 * elmo-msgdb.el (toplevel): Ditto.
7638 * elmo-multi.el (toplevel): Ditto.
7639 * elmo-net.el (toplevel): Ditto.
7640 * elmo-nntp.el (toplevel): Ditto.
7641 * elmo-pipe.el (toplevel): Ditto.
7642 * elmo-pop3.el (toplevel): Ditto.
7643 * elmo-util.el (toplevel): Ditto.
7644 * elmo-vars.el (toplevel): Ditto.
7645 * elmo2.el (toplevel): Ditto.
7646 * mmelmo-1.el (toplevel): Ditto.
7647 * mmelmo-2.el (toplevel): Ditto.
7648 * mmelmo-imap4-1.el (toplevel): Ditto.
7649 * mmelmo-imap4-2.el (toplevel): Ditto.
7650 * mmelmo-imap4.el (toplevel): Ditto.
7651 * mmelmo.el (toplevel): Ditto.
7653 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7655 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7656 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7658 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7660 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7662 (elmo-multi-split-number-alist): Ditto.
7664 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7666 * elmo-version.el: New file. Use product.el.
7667 * elmo2.el: Add (require 'elmo-version).
7668 * elmo-vars.el (elmo-appname, elmo-version): Move to
7671 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7673 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7674 `elmo-msgdb-expand-path'.
7675 (elmo-msgdb-load): Ditto.
7676 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7677 (elmo-generic-list-folder-unread): Rewrite.
7678 (elmo-generic-list-folder-important): Changed argument.
7679 (elmo-list-folder-unread): Ditto.
7680 (elmo-list-folder-important): Ditto.
7681 (elmo-folder-diff): Rewrite.
7682 (elmo-generic-folder-diff): New function.
7683 (elmo-multi-get-number-alist-list): Abolished
7684 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7685 (elmo-multi-folder-diff): Moved to elmo-multi.el
7686 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7688 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7689 `elmo-msgdb-expand-path'.
7690 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7691 (elmo-pop3-read-msg): Ditto.
7692 (elmo-pop3-delete-msgs): Ditto.
7693 (elmo-pop3-folder-diff): New alias.
7695 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7696 `elmo-msgdb-expand-path'.
7697 (elmo-pipe-list-folder-unread): Changed arguments.
7698 (elmo-pipe-list-folder-important): Ditto.
7699 (elmo-pipe-folder-diff): New alias.
7701 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7702 `elmo-msgdb-expand-path'.
7703 (elmo-nntp-max-of-folder): Ditto.
7704 (elmo-nntp-msgdb-create): Ditto.
7705 (elmo-nntp-delete-msgs): Ditto.
7706 (elmo-nntp-folder-diff): New alias.
7708 * elmo-multi.el (elmo-multi-folder-diff): New function.
7709 (elmo-multi-split-mark-alist): Ditto.
7710 (elmo-multi-split-number-alist): Ditto.
7711 (elmo-multi-mark-alist-list): Abolished (Renamed to
7712 elmo-multi-split-mark-alist).
7713 (elmo-multi-list-folder-unread): Rewrite.
7714 (elmo-multi-list-folder-important): Ditto.
7715 (elmo-multi-list-folder): Set `spec' as 1st argument for
7716 `elmo-msgdb-expand-path'.
7717 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7718 instead of `elmo-multi-get-number-alist-list'.
7720 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7721 If 1st argument is not string, treat as spec.
7722 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7723 `elmo-msgdb-expand-path'.
7724 (elmo-msgdb-flist-load): Ditto.
7725 (elmo-msgdb-flist-save): Ditto.
7726 (elmo-msgdb-delete-path): Ditto.
7727 (elmo-msgdb-rename-path): Ditto.
7729 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7730 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7731 (elmo-maildir-delete-mark-msgs): Ditto.
7732 (elmo-maildir-msgdb-create): Ditto.
7733 (elmo-maildir-read-msg): Ditto.
7734 (elmo-maildir-delete-msgs): Ditto.
7735 (elmo-maildir-list-folder-subr): Ditto.
7736 (elmo-maildir-search): Ditto.
7737 (elmo-maildir-get-msg-filename): Ditto.
7738 (elmo-maildir-pack-number): Ditto.
7739 (elmo-maildir-folder-diff): New alias.
7741 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7743 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7744 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7745 (elmo-localdir-folder-diff): New alias.
7747 * elmo-internal.el (elmo-internal-list-folder-subr):
7748 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7749 (elmo-internal-list-folder-by-location): Ditto.
7750 (elmo-internal-msgdb-create): Ditto.
7751 (elmo-internal-delete-msgs): Ditto.
7752 (elmo-internal-read-msg): Ditto.
7753 (elmo-internal-folder-diff): New alias.
7755 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7756 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7757 `elmo-msgdb-expand-path'.
7758 (elmo-imap4-list-folder-unread): Changed arguments.
7759 (elmo-imap4-list-folder-important): Ditto.
7761 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7762 (elmo-filter-list-folder-important): Ditto.
7763 (elmo-filter-folder-diff): New function.
7765 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7767 * elmo-cache.el (elmo-cache-list-folder):
7768 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7769 (elmo-cache-copy-msgs): Ditto.
7770 (elmo-cache-folder-diff): New alias.
7772 * elmo-archive.el (elmo-archive-list-folder-subr):
7773 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7774 (elmo-archive-get-archive-name): Ditto.
7775 (elmo-archive-create-file): Ditto.
7776 (elmo-archive-append-msg): Ditto.
7777 (elmo-archive-copy-msgs): Ditto.
7778 (elmo-archive-copy-msgs-froms): Ditto.
7779 (elmo-archive-get-msg-filename): Ditto.
7780 (elmo-archive-folder-diff): New alias.
7782 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7784 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7785 (elmo-pop3-stream-type-alist): New variable.
7786 (elmo-nntp-stream-type-alist): New variable.
7788 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7789 (elmo-kill-buffer): Ditto.
7790 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7791 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7792 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7793 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7794 (elmo-imap4-get-spec): Take into account
7795 `elmo-imap4-stream-type-alist'.
7797 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7799 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7800 (elmo-nntp-list-folders-get-cache): Ditto.
7802 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7804 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7805 character before 'uid'.
7807 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7809 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7811 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7813 * elmo-util.el (elmo-number-set-member): New function.
7814 (elmo-number-set-append-list): Ditto.
7815 (elmo-number-set-append): Ditto.
7817 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7818 Use `elmo-number-set-member'.
7819 (elmo-living-messages): Ditto.
7820 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7821 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7823 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7824 (elmo-imap4-add-to-cont-list): Abolished.
7825 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7826 instead of elmo-imap4-add-to-cont-list.
7828 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7829 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7831 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7833 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7835 * elmo-util.el (elmo-condition-parse-search-value):
7838 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7840 * elmo-util.el (elmo-condition-find-key-internal): New function.
7841 (elmo-condition-find-key): Ditto.
7843 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7844 (elmo-msgdb-search-internal): Ditto.
7845 (elmo-msgdb-search): Ditto.
7847 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7849 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7850 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7852 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7853 (elmo-nntp-search-primitive): Fixed problem when condition is
7856 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7858 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7859 (elmo-nntp-xhdr-p): New macro.
7860 (elmo-nntp-set-xhdr): Ditto.
7861 (elmo-nntp-parse-xhdr-response): New function.
7862 (elmo-nntp-retrieve-field): Ditto.
7863 (elmo-nntp-search-primitive): Ditto.
7864 (elmo-nntp-search): Implemented.
7866 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7868 * elmo-archive.el (elmo-archive-search): Set all number list to
7869 `elmo-archive-field-condition-match'
7871 * elmo-localdir.el (elmo-localdir-search): Likewise.
7873 * elmo-maildir.el (elmo-maildir-search): Likewise.
7875 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7877 * elmo-msgdb.el (elmo-living-messages): New function.
7878 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7879 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7880 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7881 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7882 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7883 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7884 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7885 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7886 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7887 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7888 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7890 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7892 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7894 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7896 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7898 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7899 arguments for `SEARCH' command.
7900 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7901 All other related portions are changed.
7903 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7905 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7906 (elmo-list-folder-unread): Rewrite.
7907 (elmo-list-folder-important): Ditto.
7909 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7910 (elmo-condition-parse-error): New inline function.
7911 (elmo-read-search-condition): New function.
7912 (elmo-read-search-condition-internal): Ditto.
7913 (elmo-parse-search-condition): Rewrite.
7914 (elmo-condition-parse): New function.
7915 (elmo-condition-parse-or-expr): Ditto.
7916 (elmo-condition-parse-and-expr): Ditto.
7917 (elmo-condition-parse-primitive): Ditto.
7918 (elmo-condition-parse-search-value): Ditto.
7919 (elmo-buffer-field-primitive-condition-match): Ditto.
7920 (elmo-buffer-field-condition-match): Rewrite.
7921 (elmo-file-field-condition-match): Ditto.
7923 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7924 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7926 * elmo-internal.el (elmo-internal-search): Set `number' and
7927 `number-list' argument of `elmo-file-field-condition-match'.
7929 * elmo-maildir.el (elmo-maildir-search): Ditto.
7931 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7932 `msgdb' as argument instead of `mark-alist'.
7933 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7936 * elmo-multi.el: Likewise.
7938 * elmo-pipe.el: Likewise.
7940 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7941 (elmo-imap4-search-internal): Rewrite.
7942 (elmo-imap4-search): Ditto.
7944 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7945 (elmo-filter-list-folder-unread): Ditto.
7946 (elmo-filter-list-folder-important): Ditto.
7947 (elmo-filter-search): Rewrite.
7949 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7950 `number-list' argument of `elmo-file-field-condition-match'.
7951 (elmo-cache-search): Ditto.
7953 * elmo-localdir.el: Likewise.
7955 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7956 number-list and pass it to `elmo-buffer-field-condition-match'.
7957 (elmo-archive-field-condition-match): Pass `number-list' to
7958 `elmo-archive-field-condition-match'
7960 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7962 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7965 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7966 (elmo-folder-diff-async-callback-data): Ditto.
7967 (elmo-folder-diff-async): New function.
7969 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7970 (elmo-network-session-cache-key): Use it as a prefix of the session
7972 (elmo-network-open-session): Ditto.
7974 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7975 (elmo-imap4-status-callback-data): Ditto.
7976 (elmo-imap4-server-diff-async-callback): New variable.
7977 (elmo-imap4-server-diff-async-callback-data): Ditto.
7978 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7979 `elmo-imap4-status-callback-data'.
7980 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7981 `elmo-imap4-status-callback-data' as nil.
7982 (elmo-imap4-server-diff): Ditto.
7983 (elmo-imap4-server-diff-async-callback-1): New function.
7984 (elmo-imap4-server-diff-async): Ditto.
7985 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7987 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7989 * elmo-util.el (elmo-list-delete): Doc fix.
7990 (elmo-delete-lists): Abolish.
7991 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7992 instead of `elmo-delete-lists'.
7994 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7996 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7999 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8001 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8002 `elmo-imap4-literal-subr'.
8003 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8004 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8006 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8008 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8009 (elmo-archive-list-folder): Fix.
8010 (elmo-archive-max-of-folder): Fix.
8012 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8014 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8015 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8016 (elmo-localdir-append-msg): Ditto.
8017 (elmo-localdir-list-folder): Fix for `nonsort'.
8018 (elmo-localdir-list-folder-subr): Fix for `killed'.
8019 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8020 (elmo-maildir-list-folder-subr): Ditto.
8021 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8022 (elmo-archive-list-folder-subr): Ditto.
8023 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8024 (elmo-internal-list-folder-subr): Ditto.
8026 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8028 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8030 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8032 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8034 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8036 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8037 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8039 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8041 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8042 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8044 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8046 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8048 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8049 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8050 before STORE command.
8052 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8054 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8056 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8057 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8059 (elmo-imap4-list-folders): Removed unused local variable.
8060 (elmo-network-initialize-session): Ditto.
8061 (elmo-imap4-delete-msg-by-id): Ditto.
8062 (elmo-imap4-parse-fetch): Ditto.
8063 (elmo-imap4-copy-msgs): Ditto.
8064 Use `dst-spec' instead of `dst-folder'.
8065 (elmo-network-authenticate-session): Check authenticate type `plain'.
8067 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8069 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8071 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8072 `elmo-imap4-response-value'.
8073 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8075 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8077 * elmo-imap4.el (elmo-imap4-send-command):
8078 Cause elmo-imap4-bye-error when current response is BYE.
8079 (elmo-imap4-arrival-filter): Changed greeting response value.
8081 * elmo2.el (elmo-imap4-bye-error): Define.
8083 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8084 (elmo-imap4-server-diff): Ditto.
8085 (elmo-imap4-response-bye-p): New macro.
8086 (elmo-imap4-response-error-text): Get text from BYE response.
8087 (elmo-imap4-read-response): Return if BYE response.
8088 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8089 (elmo-imap4-folder-exists-p): Ditto.
8090 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8091 (elmo-imap4-parse-bye): New function.
8092 (elmo-imap4-parse-response): Remove needless let.
8093 Call `elmo-imap4-parse-bye'.
8095 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8097 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8098 the mailbox does not exist.
8099 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8101 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8103 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8105 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8107 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8109 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8110 (elmo-network-initialize-session-buffer): Defined.
8112 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8114 (mmelmo-imap4-get-mime-entity): Rewrite.
8116 * elmo2.el (elmo-error): Capitalize error message.
8118 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8119 (elmo-network-session-buffer): New macro.
8120 (elmo-network-open-session): Use it.
8122 * elmo-imap4.el: Rewrite.
8124 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8126 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8128 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8130 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8131 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8132 (elmo-imap4-create-msgdb-from-overview-string): Use
8133 `elmo-msgdb-create-overview-from-buffer'.
8135 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8137 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8138 (elmo-imap4-default-hierarchy-delimiter): New variable.
8139 (elmo-imap4-list-folders): Use it.
8141 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8143 * elmo-net.el (elmo-network-open-session): Add user and
8144 stream-type for process-buffer name.
8146 * elmo-pop3.el (elmo-network-initialize-session): Call
8147 buffer-disable-undo.
8149 * elmo-imap4.el (elmo-network-initialize-session):
8150 Set current-buffer as an argument for `buffer-disable-undo'.
8152 * elmo-pop3.el (elmo-network-close-session): Don't use
8155 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8156 Set default as 'user.
8158 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8160 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8161 and `elmo-imap4-flush-connection'.
8163 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8164 (elmo-pop3-get-spec): Assume auth as symbol.
8165 (elmo-open-network-stream): Moved to `elmo-net'.
8167 * elmo-pop3.el (toplevel): Require 'elmo-net.
8168 Define `sasl-cram-md5' to silence byte compilier.
8169 (elmo-pop3-connection-cache) Abolished.
8170 (elmo-pop3-authenticator-alist) New variable.
8171 (elmo-pop3-session): Define.
8172 (elmo-pop3-connection-get-process): Abolished.
8173 (elmo-pop3-connection-get-buffer): Ditto.
8174 (elmo-pop3-close-connection): Ditto.
8175 (elmo-pop3-flush-connection): Ditto.
8176 (elmo-pop3-get-connection): Ditto.
8177 (elmo-pop3-get-session): New function.
8178 (Replacement for `elmo-pop3-get-connection').
8179 All other related modules are changed.
8180 (elmo-network-close-session): Define.
8181 (elmo-pop3-send-command): Abolished argument `buffer'.
8182 All other related modules are changed.
8183 (elmo-pop3-read-response): Likewise.
8184 (elmo-pop3-open-connection): Abolished.
8185 (elmo-pop3-auth-user): New function.
8186 (elmo-pop3-auth-apop): Ditto.
8187 (elmo-pop3-auth-cram-md5): Ditto.
8188 (elmo-pop3-auth-scram-md5): Ditto.
8189 (elmo-pop3-auth-digest-md5): Ditto.
8190 (elmo-network-initialize-session): Define.
8191 (elmo-network-authenticate-session): Ditto.
8192 (elmo-network-setup-session): Ditto.
8194 * elmo-imap4.el (toplevel): Require 'elmo-net.
8195 (elmo-imap4-session): Define.
8196 (elmo-imap4-connection-cache): Abolished.
8197 (elmo-imap4-password-key): Ditto.
8198 (elmo-imap4-flush-connection): Ditto.
8199 (elmo-imap4-get-connection): Ditto.
8200 All other related modules are changed.
8201 (elmo-imap4-get-session): New function
8202 (Replacement for `elmo-imap4-get-connection').
8203 (elmo-imap4-read-response): Abolished argument `buffer'.
8204 All other related modules are changed.
8205 (elmo-imap4-send-command): Likewise.
8206 (elmo-imap4-select-folder): Abolished.
8207 All other related modules are changed.
8208 (elmo-imap4-select-mailbox): New function.
8209 (Replacement for `elmo-imap4-select-folder').
8210 (elmo-imap4-auth-login): Simplify.
8211 (Assume current buffer as process buffer)
8212 (elmo-imap4-auth-cram-md5): Ditto.
8213 (elmo-imap4-auth-digest-md5): Ditto.
8214 (elmo-imap4-login): Ditto.
8215 (elmo-imap4-open-connection): Abolished.
8216 (elmo-imap4-open-connection-1): Abolished.
8217 (elmo-network-initialize-sessoin): Define.
8218 (elmo-network-authenticate-session): Ditto.
8219 (elmo-network-setup-session): Ditto.
8221 * elmo-net.el: New module.
8223 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8225 * elmo-util.el (elmo-define-error): New function.
8227 * elmo2.el (elmo-error): Define.
8228 (elmo-open-error): Define.
8229 (elmo-authenticate-error): Define.
8231 * elmo-imap4.el (elmo-imap4-error): Abolish.
8232 (elmo-imap4-error-type): Abolish.
8233 (elmo-imap4-error-process): Abolish.
8234 (elmo-imap4-error-message): Abolish
8235 (elmo-imap4-list-folders): Don't quote lambda.
8236 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8237 (elmo-imap4-parse-namespace): Ditto.
8238 (elmo-imap4-open-connection): Rewrite.
8239 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8240 (elmo-imap4-get-connection): Abolish local variable `result'.
8242 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8244 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8245 wrong-type-argument error when auth is nil.
8247 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8249 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8250 (elmo-default-nntp-stream-type): Ditto.
8251 (elmo-default-pop3-stream-type): Ditto.
8252 (elmo-network-stream-type-alist): Ditto.
8253 (elmo-default-imap4-ssl): Abolished.
8254 (elmo-default-nntp-ssl): Ditto.
8255 (elmo-default-pop3-ssl): Ditto.
8257 * elmo-util.el: (toplevel): Removed needless requires.
8258 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8259 (elmo-open-network-stream): Open network stream according to
8260 the value of `elmo-network-stream-type-alist'.
8261 (elmo-get-network-stream-type): New function.
8262 (elmo-network-stream-type-spec-string): New macro.
8263 (elmo-network-stream-type-symbol): Ditto.
8264 (elmo-network-stream-type-function): Ditto.
8266 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8267 network-stream-type. All other related portions are changed.
8268 (elmo-pop3-open-connection): Ditto.
8270 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8271 network-stream-type. All other related portions are changed.
8273 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8274 network-stream-type.All other related portions are changed.
8275 (elmo-imap4-error): New macro.
8276 (elmo-imap4-error-type): Ditto.
8277 (elmo-imap4-error-process): Ditto.
8278 (elmo-imap4-error-message): Ditto.
8279 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8280 (elmo-imap4-auth-cram-md5): Ditto.
8281 (elmo-imap4-auth-digest-md5): Ditto.
8282 (elmo-imap4-login): Ditto.
8283 (elmo-imap4-open-connection): Remove password entry if authentication
8285 (elmo-imap4-user-at-host): Abolished.
8286 (elmo-imap4-password-key): New buffer local variable.
8287 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8288 using protocol, port, auth and stream-type.
8290 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8292 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8294 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8296 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8298 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8299 (elmo-imap4-authenticator-alist): New variable.
8300 (elmo-imap4-open-connection-1): Rename from
8301 elmo-imap4-open-connection.
8302 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8303 only wraps elmo-imap4-open-connection-1.
8304 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8306 (elmo-imap4-auth-login): New function.
8307 (elmo-imap4-auth-cram-md5): New function.
8308 (elmo-imap4-auth-digest-md5): New function.
8309 (elmo-imap4-login): New function.
8311 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8313 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8316 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8318 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8320 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8322 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8324 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8326 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8327 for server responses, quote `*' regardless of where it appears.
8329 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8331 * elmo-maildir.el (elmo-maildir-commit): New alias.
8333 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8335 * elmo-util.el (elmo-display-progress):
8336 Use `progress-feedback-with-label'.
8338 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8340 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8341 (elmo-imap4-non-atom-char-regex): Ditto.
8342 (elmo-imap4-non-text-char-regex): Ditto.
8343 (elmo-imap4-literal-threshold): Ditto.
8344 (elmo-imap4-atom-p): New function.
8345 (elmo-imap4-quotable-p): Ditto.
8346 (elmo-imap4-nil): Ditto.
8347 (elmo-imap4-atom): Ditto.
8348 (elmo-imap4-quoted): Ditto.
8349 (elmo-imap4-literal-subr): Ditto.
8350 (elmo-imap4-literal): Ditto.
8351 (elmo-imap4-buffer-literal): Ditto.
8352 (elmo-imap4-string-subr): Ditto.
8353 (elmo-imap4-string): Ditto.
8354 (elmo-imap4-buffer-string): Ditto.
8355 (elmo-imap4-astring-subr): Ditto.
8356 (elmo-imap4-astring): Ditto.
8357 (elmo-imap4-buffer-astring): Ditto.
8358 (elmo-imap4-nstring): Ditto.
8359 (elmo-imap4-buffer-nstring): Ditto.
8360 (elmo-imap4-mailbox): New alias.
8361 (elmo-imap4-field-body): Ditto.
8362 (elmo-imap4-userid): Ditto.
8363 (elmo-imap4-password): Ditto.
8364 (elmo-imap4-format-quoted): New function.
8365 (elmo-imap4-send-command): Rewritten. Accept a list of command
8366 arguments and handle "atom", "quoted" and "literal" string here.
8367 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8368 `elmo-imap4-send-command'.
8369 (elmo-imap4-folder-exists-p): Likewise.
8370 (elmo-imap4-create-folder): Likewise.
8371 (elmo-imap4-delete-folder): Likewise.
8372 (elmo-imap4-rename-folder): Likewise.
8373 (elmo-imap4-max-of-folder): Likewise.
8374 (elmo-imap4-check-validity): Likewise.
8375 (elmo-imap4-sync-validity): Likewise.
8376 (elmo-imap4-server-diff): Likewise.
8377 (elmo-imap4-select-folder): Likewise.
8378 (elmo-imap4-copy-msgs): Likewise.
8379 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8380 (elmo-imap4-mark-set-on-msgs): Likewise.
8381 (elmo-imap4-read-part): Likewise.
8382 (elmo-imap4-read-msg): Likewise.
8383 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8384 `elmo-imap4-password' for `elmo-imap4-send-command'.
8385 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8386 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8387 `elmo-imap4-buffer-literal'.
8388 (elmo-imap4-append-msg): Likewise.
8390 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8391 `delete' for removing dead connection from the connection cache.
8392 Move deletion of the process buffer after that.
8393 (elmo-imap4-list): Change `defsubst' to `defun'.
8394 (elmo-imap4-commit): Make error message verbose.
8395 (elmo-imap4-search): Ditto.
8396 (elmo-imap4-list): Ditto.
8397 (elmo-imap4-select-folder): Ditto.
8398 (elmo-imap4-copy-msgs): Ditto.
8399 (elmo-imap4-delete-msg-by-id): Ditto.
8400 (elmo-imap4-append-msg-by-id): Ditto.
8401 (elmo-imap4-append-msg): Ditto.
8403 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8405 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8406 when dired is used on XEmacs.
8408 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8410 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8411 instead of `append'.
8412 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8413 `elmo-plugged-p' directly.
8414 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8415 of `elmo-plugged-p' directly.
8417 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8418 Eliminate unused variable. Use `memq' for checking a process status.
8419 Use `cons' instead of `append' for updating the connection cache.
8420 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8421 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8423 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8425 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8426 `elmo-imap4-read-point' exactly.
8428 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8429 the local variable `folder' to `mailbox'.
8430 Rename the argument `fld' to `folder'.
8432 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8434 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8435 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8437 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8439 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8440 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8441 (elmo-pop3-uidl-number-hash): Ditto.
8442 (elmo-pop3-size-hash): Ditto.
8443 (elmo-pop3-uidl-done): Ditto.
8444 (elmo-pop3-list-done): Ditto.
8445 (elmo-pop3-connection-get-process): New defmacro.
8446 (elmo-pop3-connection-get-buffer): Ditto.
8447 (elmo-pop3-close-connection): Delete buffer and process.
8448 (elmo-pop3-flush-connection): Don't delete buffer and process.
8449 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8450 Setup UIDL and size hash.
8451 (elmo-pop3-send-command-no-erase): Deleted
8452 (elmo-pop3-send-command): Added optional argument `no-erase'.
8453 (elmo-pop3-parse-uidl-response): New function.
8454 (elmo-pop3-parse-list-response): Set size hash.
8455 (elmo-pop3-list-location): New function.
8456 (elmo-pop3-list-by-uidl-subr): Ditto.
8457 (elmo-pop3-list-by-list): Ditto.
8458 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8459 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8460 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8461 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8462 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8464 (elmo-pop3-uidl-to-number): New function.
8465 (elmo-pop3-number-to-uidl): Ditto.
8466 (elmo-pop3-number-to-size): Ditto.
8467 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8468 Set number by use of uidl.
8469 (elmo-pop3-msgdb-create-message): Likewise.
8470 Set size, loc-alist in msgdb.
8471 (elmo-pop3-read-msg): Set number by use of uidl.
8472 Added optional argument `msgdb'.
8473 (elmo-pop3-delete-msg): Ditto.
8474 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8475 (elmo-pop3-commit): Close connection.
8477 * elmo-pipe.el (elmo-pipe-max-of-folder):
8478 Bind `elmo-pop3-use-uidl' as nil.
8479 (elmo-pipe-drain): Ditto.
8482 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8483 (elmo-msgdb-overview-entity-set-size): New defsubst.
8485 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8487 * elmo-vars.el (elmo-use-killed-list): New variable
8488 (Renamed from `elmo-nntp-use-killed-list').
8489 (elmo-nntp-use-killed-list): Eliminated.
8491 * elmo-msgdb.el (elmo-msgdb-expand-path):
8492 Changed expanding msgdb path for elmo-multi.
8494 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8495 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8496 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8497 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8498 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8499 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8500 (toplevel): Deleted time-stamp line.
8502 * elmo2.el (elmo-clear-killed ): Defined as function
8503 (Abolished defining as a backend function).
8504 All other related modules are changed.
8506 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8508 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8510 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8512 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8514 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8516 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8518 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8520 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8521 asynchronous folder check.
8523 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8525 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8526 `elmo-nntp-use-killed-list'.
8527 (elmo-nntp-list-folder): Use killed list.
8528 (elmo-nntp-max-of-folder): Ditto.
8529 (elmo-nntp-msgdb-create): Set killed list.
8531 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8533 * elmo2.el (elmo-clear-killed): New backend function.
8534 All other related modules are changed.
8536 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8538 * elmo-util.el (elmo-imap4-spec-folder): Use
8539 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8540 All callers changed.
8542 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8544 * mmelmo-2.el (initialize-instance):
8545 Use `mime-buffer-entity-buffer-internal' instead of
8546 `mime-entity-buffer'.
8548 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8549 (mime-entity-body): Implemented.
8550 (mime-goto-header-start-point): Deleted.
8551 (mime-goto-body-end-point): Ditto.
8552 (mime-entity-point-min): Ditto.
8553 (mime-entity-point-max): Ditto.
8554 (mime-entity-children): Ditto.
8555 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8556 instead of `mime-entity-buffer'.
8557 (mime-entity-header-buffer): Ditto.
8558 (mime-entity-body-buffer): Ditto.
8559 (mime-write-entity-content): Ditto.
8561 * pldap.el (ldap-static-if): New macro.
8562 (toplevel): Use it instead of `static-if'.
8564 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8566 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8567 included in `attrs' argument.
8569 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8571 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8573 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8574 (ldap-ldif-safe-init-char-regexp): Ditto.
8575 (ldap-ldif-safe-string-regexp): Ditto.
8576 (ldap/ldif-safe-string-p): New macro.
8577 (ldap/ldif-insert-field): Ditto.
8578 (ldap-modify): Use it.
8580 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8581 (ldap-decode-attribute): Decode only when `attr' is consp.
8582 (ldap-delete): Bind `ret'.
8583 (toplevel): Require 'cl at compile time.
8584 Removed (require 'poe) and (require 'std11).
8585 (pldap-version): Eliminated.
8586 (ldap-search-basic): Removed auth and dn binding.
8587 (ldap-ldif-field-name-regexp): New constant.
8588 (ldap-ldif-field-head-regexp): Ditto.
8589 (ldap-ldif-next-field-head-regexp): Ditto.
8590 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8591 (ldap/field-end): New function.
8592 (ldap/field-body): Use it.
8593 (ldap/collect-field): Ditto.
8594 (ldap-search-basic): Use `ldap/field-body'.
8596 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8598 * pldap.el (ldap-default-attribute-encoder): New user option.
8599 (ldap/field-body): Decode base64 string.
8600 (ldap/collect-field): Ditto.
8601 (ldap-encode-attribute): New function.
8602 (ldap-add-entries): Use it.
8603 (ldap-modify-entries): Ditto.
8604 (ldap-search-entries): Enclosed decoding function with
8605 `with-temp-buffer' and set as unibyte.
8606 (ldap-search-basic): Set process buffer as unibyte.
8608 * elmo-util.el (elmo-folder-identical-system-p):
8609 Eliminated name space checking.
8611 * pldap.el: New module.
8612 toplevel: Changed condition to detect built-in ldap feature.
8613 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8614 (ldap-add): Added error handling.
8615 (ldap-modify): Ditto.
8616 (ldap-delete): Ditto.
8618 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8620 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8621 Initialize local variables with `let'. Inline a temporary
8622 variable for the progress percentage. Sort `setq' to reduce
8623 function call in the while-loop.
8625 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8626 into the conditional branch.
8628 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8630 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8631 Move a conditional out of the while-loop.
8633 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8635 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8636 elmo-msgdb-overview-get-entity-by-number.
8637 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8640 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8642 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8643 the local variable for a packed number self descriptively.
8645 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8647 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8648 * elmo-localdir.el (elmo-localdir-pack-number): Use
8649 `elmo-msgdb-overview-get-entity' instead of
8650 `elmo-msgdb-overview-get-entity-by-number'.
8651 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8652 (elmo-msgdb-search-overview-entity): Removed.
8653 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8654 by message-id or number.
8655 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8656 instead of `elmo-msgdb-overview-get-entity-by-number'.
8658 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8660 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8661 non-nil, use hash table for overview.
8662 (elmo-hash-maximum-size): New variable.
8663 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8664 (elmo-msgdb-make-overview-hashtb): New function.
8665 (elmo-msgdb-clear-overview-hashtb): New function.
8666 (elmo-clear-hash-val): New macro.
8667 All other related modules are changed.
8669 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8671 * elmo2.el (elmo-move-msgs): If there's other message with
8672 same message-id, don't use cache.
8674 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8676 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8677 number is already packed.
8679 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8681 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8683 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8685 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8686 All other related modules are changed.
8688 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8690 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8691 of refiling failure on Maildir.
8693 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8695 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8696 decoded mime-charset with cache.
8697 (elmo-msgdb-overview-entity-get-from): Ditto.
8698 (elmo-msgdb-overview-entity-get-subject): Ditto.
8699 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8701 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8703 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8704 (elmo-remove-passwd): Fill password with 0 before erase.
8705 * elmo-vars.el (elmo-passwd-life-time): New variable.
8708 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8710 * elmo-cache.el (elmo-buffer-cache-add):
8711 Set message cache buffer as unibyte.
8713 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8715 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8718 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8720 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8721 when display is finished.
8722 (elmo-nntp-msgdb-create): Ditto.
8723 (elmo-nntp-groups-read-response): Ditto.
8724 (elmo-nntp-retrieve-headers): Ditto.
8725 (elmo-nntp-msgdb-create-message): Ditto.
8726 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8727 (elmo-pop3-msgdb-create-message): Ditto.
8729 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8731 * elmo-maildir.el (elmo-maildir-msgdb-create):
8732 Use `elmo-msgdb-sort-by-date'.
8734 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8736 * elmo2.el (elmo-read-msg-no-cache):
8737 Eliminated arguments after `outbuf'.
8738 Don't use cache even if it exists.
8739 (elmo-read-msg): Don't pass arguments after `outbuf' to
8740 `elmo-read-msg-no-cache'.
8742 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8744 * elmo-archive.el (elmo-archive-list-folders):
8745 Use `file-name-directory' if base folder does not exist.
8747 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8749 * elmo-archive.el (elmo-archive-list-folders): Don't use
8750 `file-name-directory'.
8752 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8754 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8755 If `force' is non-nil, try flushing all operation queues.
8757 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8759 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8762 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8764 * elmo-util.el (elmo-display-progress): Fixed.
8766 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8768 * elmo-util.el (elmo-display-progress): New function.
8769 All other related modules are changed.