1 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
5 (elmo-mailing-list-count-spec-list): Ditto.
7 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
10 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
12 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
15 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
17 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
18 (elmo-mailing-list-count-spec-list): Ditto.
20 * elmo-util.el (elmo-map-until-success): New function.
21 (elmo-string-match-substring): Ditto.
22 (elmo-find-list-match-value): Ditto.
24 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
26 (modb-entity-extract-ml-info-from-subject): Ditto.
27 (modb-entity-extract-ml-info-from-return-path): Ditto.
28 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
29 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
30 (modb-entity-extract-ml-info-from-mailman): Ditto.
31 (modb-entity-extract-mailing-list-info-functions): Ditto.
32 (modb-entity-extract-mailing-list-info): Rewrite with
33 `elmo-find-list-match-value'.
35 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
37 * elmo-net.el (elmo-network-session-retry-count): New user option.
38 (elmo-network-session-buffer-name): New internal function.
39 (elmo-network-session-buffer-create): Ditto.
40 (elmo-network-open-session): Retry open network session
41 `elmo-network-session-retry-count' times.
43 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
45 * elmo-util.el (elmo-list-filter): Rewritten.
47 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
49 * elmo-util.el (elmo-string-member): Allow symbol element in list.
51 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
53 * elmo-search.el (elmo-make-search-engine): Use prefix
54 `elmo-search-' for require symbol instead of `else-'.
55 (elmo-search-engine-extprog): New class.
56 (elmo-search-engine-do-search): Remove nil from argument
57 list. Added argument pattern to evaluate element as function.
58 (elmo-search-engine-local-file): Derived from
59 `elmo-search-engine-extprog'.
60 (elmo-search-engine-create-message-entity): Check existance of file.
61 (elmo-search-engine-fetch-message): Ditto.
62 (elmo-search-namazu-index): Follow the API change.
63 (elmo-search-grep-target): Ditto.
65 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
67 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
68 characters of working buffer.
70 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
71 Does not bind `default-mime-charset'.
72 (elmo-msgdb-create-message-entity-from-buffer): Removed
73 unnecessary local bind.
75 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
77 (modb-entity-extract-mailing-list-info-functions): Added it.
79 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
81 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
82 when number and message-id are non-nil.
84 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
86 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
87 conditional steatment.
88 (elmo-pop3-auth-apop): Likewise.
89 (elmo-network-authenticate-session): Likewise.
91 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
93 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
95 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
98 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
99 (elmo-decoded-field-body): Ditto.
101 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
103 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
104 `tokens' to `params'.
106 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
108 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
111 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
113 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
116 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
118 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
119 Set default value as nil.
120 (toplevel): Register search engines by
121 `elmo-search-register-engine' if there are not defined.
123 * elmo.el (autoload): Added autoload setting for
124 `elmo-search-register-engine'.
126 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
128 * elmo.el (toplevel): `[' is redefined as the prefix of the search
129 folder instead of nmz folder.
130 (elmo-nmz-default-index-path): Added obsolete variable setting.
131 (elmo-nmz-index-alias-alist): Ditto.
132 (elmo-nmz-use-drive-letter): Ditto.
134 * elmo-search.el (elmo-search-register-engine): New function.
136 * elmo-nmz.el: Removed.
138 * elmo-version.el (elmo-version): Up to 2.15.2.
140 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
142 * elmo-search.el: New file.
144 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
146 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
147 condition `larger' and `smaller'.
149 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
151 * elmo-util.el (elmo-safe-filename): Rewrite to replace
152 `"' (double quote) into "_Q_".
154 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
156 * elmo-net.el (elmo-net-quote-chars): Abolish.
157 (elmo-net-format-quoted): Ditto.
159 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
161 * elmo.el (elmo-get-folder-function): New variable.
162 (elmo-get-folder): New function.
163 (elmo-folder-rename): Call `elmo-make-folder' with specified
166 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
168 (elmo-split-subr): Ditto.
170 * elmo-multi.el (elmo-folder-initialize): Ditto.
172 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
174 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
175 (elmo-flag-get-folder): Ditto.
177 * elmo-filter.el (elmo-folder-initialize): Ditto.
179 * elmo-access.el (elmo-folder-initialize): Ditto.
180 (elmo-access-folder-update-children): Ditto.
182 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
183 (elmo-dop-queue-flush): Ditto.
184 (elmo-folder-append-buffer-dop-delayed): Ditto.
185 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
188 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
189 instead of `elmo-make-folder'.
190 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
191 destination folder instead of send `elmo-folder-rename-internal'.
193 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
194 slot of subfolder instead of create it.
196 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
198 * elmo-util.el (elmo-collect-separators): New function.
199 (elmo-collect-separators-internal): Ditto.
200 (elmo-collect-trail-separators): Ditto.
201 (elmo-parse-separated-tokens): Ditto.
202 (elmo-parse-separated-tokens-internal): Ditto.
203 (elmo-quote-syntactical-element): Ditto.
205 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
206 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
208 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
209 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
210 (elmo-nntp-folder-list-subfolders): Quote a user name.
212 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
213 (elmo-net-parse-network): Abolish.
214 (elmo-net-folder-set-parameters): New function.
215 (elmo-folder-initialize): Follow the above change.
217 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
218 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
219 (elmo-folder-list-subfolders): Use
220 `elmo-quote-syntactical-element' instead of
221 `elmo-net-format-quoted' to quote mailbox and user name.
223 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
225 * elmo-util.el (elmo-token-valid-p): New function.
226 (elmo-parse-token): Add optional argument `requirement'.
227 (elmo-parse-prefixed-element): Likewise.
229 * elmo-net.el (elmo-net-quote-chars): Renamed from
230 `elmo-net-quote-chars-regexp'.
231 (elmo-net-format-quoted): Add optional argument `extra-chars'.
233 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
234 by info document. Check token `uidl' is started an alphabet.
236 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
237 by info document. Check token `user' is started an alphabet.
239 * elmo-imap4.el (elmo-folder-initialize): Ditto.
240 (elmo-folder-list-subfolders): Quote user.
242 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
244 * elmo-util.el (elmo-quoted-specials-list): New constant.
245 (elmo-quoted-token): New function.
247 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
248 (elmo-net-format-quoted): New function.
249 (elmo-net-parse-network): Ditto.
250 (elmo-folder-initialize): Use it.
252 * elmo-nntp.el (elmo-folder-initialize): Use
253 `elmo-net-parse-network' to parse network specification instead of
254 `elmo-folder-initialize#elmo-net'.
256 * elmo-pop3.el (elmo-folder-initialize): Ditto.
258 * elmo-imap4.el (elmo-folder-initialize): Ditto.
259 (elmo-folder-list-subfolders): Quote folder name by
260 `elmo-net-format-quoted'.
262 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
264 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
265 (elmo-folder-search): Use it.
267 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
269 * modb-standard.el (modb-standard-loaded-message-id): Use
270 `elmo-msgdb-message-entity-field'.
272 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
274 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
277 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
279 * elmo-util.el (elmo-set-auto-coding): New function.
280 (elmo-object-load): Use it.
282 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
284 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
285 (elmo-time<): Define as alias of `elmo-time-less-p'.
286 (elmo-time-to-datevec): New function.
288 * elmo-date.el (elmo-time-to-days): New function.
290 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
292 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
295 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
297 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
300 * elmo-util.el (elmo-map-recursive): New function.
302 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
303 (modb-entity-encode-string-recursive): Ditto.
305 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
307 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
308 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
309 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
310 compare sequence number when last modified time is nil.
312 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
314 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
316 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
318 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
320 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
321 modification time of the file.
323 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
325 * elmo-util.el (elmo-condition-optimize): Discriminated against
326 preserved fields, extra fields and the other weight.
328 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
330 * modb-entity.el (initialize-instance): Define.
331 (modb-entity-handler-mime-charset): New internal function.
332 (modb-standard-entity-set-field): Use it.
333 (elmo-msgdb-message-entity-field): Ditto.
334 (elmo-msgdb-message-entity-field): Ditto.
336 * modb.el (elmo-msgdb-match-condition): Rewrite with
337 `elmo-condition-match'.
338 (elmo-msgdb-match-condition-primitive): New function.
340 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
341 arguments `flags' and `numbers'.
342 (elmo-msgdb-match-condition-primitive): Abolished (merged to
343 `elmo-msgdb-message-match-condition').
344 (modb-buffer-entity-handler): New class.
346 * elmo.el (elmo-folder-search): Optimize condition to use
347 `elmo-condition-optimize'.
348 (elmo-message-buffer-match-condition): New function.
349 (elmo-message-match-condition): Use
350 `elmo-message-buffer-match-condition' instead of
351 `elmo-buffer-field-condition-match'.
353 * elmo-util.el (elmo-condition-match): New function.
354 (elmo-condition-optimize): Ditto.
355 (elmo-buffer-field-primitive-condition-match): Abolish.
356 (elmo-buffer-field-condition-match): Ditto.
358 * elmo-archive.el (elmo-archive-field-condition-match): Use
359 `elmo-message-buffer-match-condition' instead of
360 `elmo-buffer-field-condition-match'.
362 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
364 * elmo-flag.el (elmo-global-flags-initialize): Check the
365 existence of the flag directory.
367 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
369 * elmo-access.el (elmo-folder-initialize): Call
370 `elmo-multi-connect-signals'.
372 * elmo-pipe.el (elmo-folder-close): Define.
374 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
377 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
380 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
383 * elmo-multi.el (elmo-message-entity): Don't use return value of
384 `elmo-message-entity-set-number'.
386 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
388 * modb.el (modb-generic): Added slot `mime-charset'.
390 * modb-standard.el (modb-standard): Added slot `overview-handler'.
391 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
392 and `modb-entity-handler-dump-parameters'.
393 (modb-standard-default-entity-handler): Abolish.
394 (elmo-msgdb-message-entity-handler): Save created handler by
397 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
398 (modb-entity-handler-list-parameters): New method.
399 (modb-entity-handler-equal-p): New function.
400 (modb-entity-handler-dump-parameters): Ditto.
401 (modb-entity-parse-address-string): Encode return value.
402 (modb-entity-make-address-string): Decode argument value.
403 (modb-entity-decode-string-recursive): New function.
404 (modb-entity-encode-string-recursive): Ditto.
405 (modb-standard-entity-normalizer): Set to encode field value.
406 (modb-standard-entity-specializer): Follow the above change.
407 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
408 mime-charset of handler.
409 (elmo-msgdb-message-entity-field): Ditto.
410 (elmo-msgdb-copy-message-entity): Fixed reference to internal
412 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
414 * elmo.el (elmo-folder): Added slot `mime-charset'.
415 (elmo-make-folder): Added argument `mime-charset'.
416 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
419 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
420 (elmo-make-msgdb): Likewise.
422 * elmo-internal.el (elmo-internal-folder-initialize): Call
423 `luna-make-entity' with :mime-charset parameter.
425 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
427 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
428 encoded words in `from' and `subject' field.
430 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
432 * modb.el (elmo-msgdb-message-field): Add argument `type'.
433 (elmo-msgdb-match-condition): Get handler from entity instead of
436 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
437 (modb-standard-load-entity): Treat new file format.
438 (modb-standard-save-entity-1): Save as new file format.
439 (modb-standard-save-entity): Split messages into section here.
440 (elmo-msgdb-message-field): Follow the API change.
441 (modb-standard-default-entity-handler): New internal variable.
442 (elmo-msgdb-message-entity-handler): Define.
444 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
446 (modb-entity-field-extractor-alist): New user option.
447 (elmo-msgdb-message-entity-field): Removed argument `decode' and
448 added argument `type'.
449 (elmo-msgdb-copy-message-entity): Add optional argument
451 (modb-set-field-converter): New function.
452 (modb-convert-field-value): Ditto.
453 (modb-entity-string-decoder): Ditto.
454 (modb-entity-string-encoder): Ditto.
455 (modb-entity-parse-date-string): Ditto.
456 (modb-entity-make-date-string): Ditto.
457 (modb-entity-mime-decoder): Ditto.
458 (modb-entity-mime-encoder): Ditto.
459 (modb-entity-address-list-decoder): Ditto.
460 (modb-entity-address-list-encoder): Ditto.
461 (modb-entity-parse-address-string): Ditto.
462 (modb-entity-make-address-string): Ditto.
463 (modb-entity-create-field-indices): Ditto.
464 (modb-legacy-entity-field-slots): New constant.
465 (modb-legacy-entity-field-indices): Ditto.
466 (modb-legacy-entity-normalizer): New variable.
467 (modb-legacy-entity-specializer): Ditto.
468 (modb-legacy-entity-field-index): New macro.
469 (modb-legacy-entity-set-field): New function.
470 (modb-legacy-make-message-entity): Rewrite.
471 (elmo-msgdb-create-message-entity-from-buffer): Use
472 `elmo-msgdb-get-references-from-buffer'. Use
473 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
474 Use `modb-legacy-entity-set-field' instead of
475 `elmo-msgdb-message-entity-set-field'.
476 (elmo-msgdb-message-entity-field): Rewrite.
477 (elmo-msgdb-message-entity-set-field): Ditto.
478 (elmo-msgdb-copy-message-entity): Make new entity by
479 `make-handler' if it specified.
480 (elmo-msgdb-message-match-condition): Define a method of
481 `modb-entity-handler' and follow the API change.
482 (modb-standard-entity-handler): New class.
483 (modb-entity-extract-ml-info-from-x-sequence): New function.
484 (modb-entity-extract-ml-info-from-subject): Ditto.
485 (modb-entity-extract-ml-info-from-return-path): Ditto.
486 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
487 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
488 (modb-entity-extract-mailing-list-info): Ditto.
489 (modb-entity-extract-mailing-list-info-functions): New variable.
491 * elmo.el (elmo-message-field): Add optional argument `type'.
493 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
494 from `modb-entity.el'.
496 * elmo-util.el (elmo-object-load): Decode by coding-system from
497 `set-auto-coding-function'.
498 (elmo-object-save): Use `detect-mime-charset-region' and add
499 coding cookie if encode.
500 (elmo-msgdb-get-references-from-buffer): New function.
501 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
503 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
505 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
506 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
507 instead of `shimbun-make-header' and follow the API change.
508 (elmo-shimbun-update-overview): Follow the API change.
509 (elmo-map-folder-list-message-locations): Ditto.
511 * elmo-pipe.el (elmo-message-field): Ditto.
513 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
516 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
518 * elmo-multi.el (elmo-message-field): Ditto.
520 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
521 (elmo-msgdb-sort-by-date): Ditto.
522 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
523 `elmo-message-entity-field'.
524 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
526 (elmo-msgdb-overview-entity-get-from): Ditto.
527 (elmo-msgdb-overview-entity-get-subject): Ditto.
528 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
529 (elmo-msgdb-overview-entity-get-date): Ditto.
530 (elmo-msgdb-overview-entity-get-to): Ditto.
531 (elmo-msgdb-overview-entity-get-cc): Ditto.
533 * elmo-mime.el (elmo-message-mime-entity): Ditto.
534 (elmo-mime-collect-message/partial-pieces): Ditto.
536 * elmo-filter.el (elmo-message-field): Ditto.
538 * elmo-date.el (elmo-datevec-to-time): New function.
539 (elmo-time-parse-date-string): Ditto.
540 (elmo-time-make-date-string): Ditto.
543 * elmo-version.el (elmo-version): Up to 2.15.1.
545 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
547 * elmo-flag.el (elmo-global-flags-initialize): Don't include
548 member of elmo-local-flags.
550 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
552 * elmo-version.el (elmo-version): Up to 2.15.0.
554 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
556 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
557 `ignore-msgdb' is non-nil.
559 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
561 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
562 (elmo-condition-in-msgdb-p): Ditto.
563 (elmo-file-field-primitive-condition-match): Ditto.
564 (elmo-file-field-condition-match): Ditto.
566 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
568 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
570 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
572 (elmo-global-flags-initialize): New function.
574 * elmo.el (toplevel): Added autoload setting for
575 `elmo-global-flags-initialize'.
577 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
579 * elmo.el (message-number-changed): Define new signal.
580 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
581 message-number-changed signal.
582 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
583 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
584 Respect `elmo-pack-number-check-strict'.
586 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
588 * elmo-signal.el (elmo-connect-signal): Document.
589 (elmo-emit-signal): Ditto.
590 (elmo-emit-signal): It should pass source argument to filter and
591 handler, not slot-source.
593 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
595 * modb.el (elmo-msgdb-update-entity): New API and define generic
598 * modb-standard.el (elmo-msgdb-update-entity): Define.
600 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
601 API and define generic implement.
603 * elmo.el (update-overview): New singnal.
605 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
606 `elmo-msgdb-update-entity' and emit signal `update-overview'.
607 (elmo-message-entity-parent): Define.
609 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
612 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
614 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
616 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
618 * elmo.el (elmo-folder-synchronize): Sort the return value of
621 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
624 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
626 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
627 `default-enable-multibyte-characters'.
628 (elmo-object-load): Use `with-temp-buffer' instead of
630 (elmo-object-save): Ditto.
631 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
633 (elmo-decoded-field-body): Ditto.
635 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
637 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
638 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
640 * elmo-version.el (elmo-version): Up to 2.13.3.
642 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
644 * elmo-util.el (elmo-list-diff): Fix the last change.
645 Reverse order of result lists.
647 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
649 * modb-standard.el (elmo-msgdb-set-flag): Use
650 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
651 (elmo-msgdb-unset-flag): Ditto.
653 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
656 * elmo-util.el (elmo-list-diff): Rewrite.
657 (elmo-list-diff-nonsortable): New function.
659 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
661 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
662 `elmo-multibypte-buffer-name'. All referers are updated.
664 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
666 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
667 (elmo-mime-entity-fragment-p): New function.
668 (mime-elmo-buffer-entity): Added slot `reassembled'.
669 (elmo-message-mime-entity): Added 4th argument `reassemble'.
670 (elmo-message-mime-entity-internal): New function (renamed from
671 `elmo-message-mime-entity').
672 (elmo-mime-inherit-field-list-from-enclosed): New constant.
673 (elmo-mime-make-reassembled-mime-entity): New function.
674 (elmo-message-reassembled-mime-entity): Ditto.
675 (elmo-mime-collect-message/partial-pieces): Ditto.
677 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
679 * elmo.el (elmo-message-fetch-string): Disable multibyte.
681 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
682 (elmo-with-enable-multibyte): New macro.
684 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
686 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
688 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
690 (elmo-filter-connect-signals): Follow the above change.
692 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
694 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
696 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
697 that only the first flag is used.
699 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
701 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
704 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
706 * elmo-signal.el: New file.
708 * elmo.el (toplevel): Require elmo-signal.
709 (flag-changing, flag-changed, cache-changed): New signal.
710 (elmo-folder): Remove slog `handlers'.
711 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
712 `elmo-folder-notify-event'.
713 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
714 (elmo-folder-unset-flag): Ditto.
715 (elmo-event-handler): Abolish.
716 (elmo-event-handler-flag-changed): Ditto.
717 (elmo-event-handler-cache-changed): Ditto.
718 (elmo-folder-add-handler): Ditto.
719 (elmo-folder-remove-handler): Ditto.
720 (elmo-folder-notify-event): Ditto.
722 * elmo-pipe.el (toplevel): Require elmo-signal.
723 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
724 (elmo-pipe-connect-signals): New function.
725 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
726 (elmo-folder-set-flag): Ditto.
727 (elmo-folder-unset-flag): Ditto.
728 (elmo-message-set-cached): Ditto.
730 * elmo-multi.el (toplevel): Require elmo-signal.
731 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
732 (elmo-multi-connect-signals): New function.
733 (elmo-multi-map-numbers): Ditto.
734 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
735 (elmo-message-fetch): Ditto.
736 (elmo-folder-set-flag): Ditto.
737 (elmo-folder-unset-flag): Ditto.
739 * elmo-filter.el (toplevel): Require elmo-signal.
740 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
741 (elmo-filter-connect-signals): New function.
742 (elmo-filter-add-flag-count): Ditto.
743 (elmo-message-fetch): Does not call
744 `elmo-filter-folder-countup-message-flags' and
745 `elmo-folder-notify-event'.
746 (elmo-message-set-cached): Ditto.
747 (elmo-folder-set-flag): Ditto.
748 (elmo-folder-unset-flag): Ditto.
750 * elmo-version.el (elmo-version): Up to 2.13.2.
752 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
754 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
757 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
759 * elmo-filter.el (elmo-message-set-cached): Call
760 `elmo-folder-notify-event' with event `cache-changed'.
762 * elmo-multi.el (elmo-message-set-cached): Ditto.
764 * elmo-pipe.el (elmo-message-set-cached): Ditto.
766 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
768 * elmo.el (elmo-folder-encache): Abolish.
770 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
772 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
773 (elmo-folder-next-message-number-dop): Return appropriate negative
776 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
778 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
779 clearing pending operations.
780 (elmo-folder-next-message-number-dop): Return appropriate negative
783 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
785 * elmo.el (toplevel): Added autoload setting for `md5'.
786 (elmo-msgdb-path-encode-threshold): New user option.
787 (elmo-folder-msgdb-path): Encode msgdb path if its length is
788 longer than `elmo-msgdb-path-encode-threshold'.
790 * elmo-flag.el (elmo-global-mark-migrate): Use
791 `elmo-folder-expand-msgdb-path' instead of
792 `elmo-folder-msgdb-path'.
794 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
796 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
797 element of the difference is nil.
799 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
801 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
802 to the check logic of file systems which are weak in colon character.
804 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
806 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
808 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
810 * elmo-maildir.el (elmo-maildir-move-file): New function.
811 (elmo-folder-append-buffer): Use it.
812 (elmo-folder-append-messages): Ditto.
813 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
815 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
816 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
818 * elmo-maildir.el (elmo-maildir-separator): New user option.
819 (elmo-maildir-adjust-separator): New macro.
820 (elmo-maildir-list-location): Use it.
821 (elmo-maildir-update-current): Ditto.
822 (elmo-maildir-set-mark): Ditto.
823 (elmo-maildir-delete-mark): Ditto.
824 (These changes are based on Hiroya Murata's patch [wl: 13437])
826 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
828 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
830 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
832 * elmo-flag.el (elmo-flag-valid-p): Simplify.
833 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
834 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
836 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
838 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
839 Use `with-temp-buffer'.
841 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
843 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
845 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
846 `wl-read-search-condition').
847 (elmo-read-search-condition-internal): Likewise.
849 * elmo-flag.el (elmo-flag-char-regexp): New constant.
850 (elmo-flag-valid-p): New function.
851 (elmo-folder-initialize): Check flag name is valid.
853 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
855 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
856 delimiter to obtain root mailbox itself.
858 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
860 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
863 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
865 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
868 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
870 * elmo-shimbun.el (toplevel): Require cl at compile.
872 * elmo-nntp.el (toplevel): Ditto.
874 * elmo-nmz.el (toplevel): Ditto.
876 * elmo-multi.el (toplevel): Ditto.
878 * elmo-file.el (toplevel): Ditto.
880 * elmo-dop.el (toplevel): Ditto.
882 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
884 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
886 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
889 * elmo.el (elmo-message-fetch): Return t even when the output buffer
890 size of elmo-message-fetch-internal is 0 byte.
892 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
894 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
896 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
898 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
901 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
903 * elmo-maildir.el (elmo-map-message-fetch): Call
904 `elmo-map-folder-set-flag'.
906 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
907 (elmo-message-fetch): Merge from
908 `elmo-message-fetch-with-cache-process'.
910 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
911 (elmo-message-fetch): Define.
913 * elmo-nntp.el (elmo-message-fetch): Renamed from
914 `elmo-message-fetch-with-cache-process'.
916 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
917 (elmo-message-fetch): Define.
919 * elmo-util.el (elmo-condition-parse-primitive): Downcase
922 * elmo-shimbun.el (shimbun-mua-search-id): Use
923 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
924 (elmo-shimbun-folder-shimbun-header): Ditto.
925 (elmo-shimbun-get-headers): Ditto.
926 (elmo-shimbun-update-overview): Ditto.
928 * elmo-pipe.el (elmo-folder-detach-messages): Define.
930 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
931 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
933 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
935 * elmo.el (elmo-message-fetch): Unset unread flag on server when
937 (elmo-message-fetch-string): Fixed argument.
939 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
941 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
942 exchange order of arguments `section' and `unread'.
943 (elmo-message-encache): Follow the API change.
944 (elmo-message-match-condition): Ditto.
945 (elmo-generic-folder-append-messages): Ditto.
946 (elmo-message-fetch-string): New function.
948 * elmo-split.el (elmo-split-subr): Ditto.
950 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
952 * elmo-pipe.el (elmo-message-fetch): Ditto.
954 * elmo-multi.el (elmo-message-fetch): Ditto.
956 * elmo-mime.el (elmo-message-mime-entity): Ditto.
958 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
960 * elmo-filter.el (elmo-message-fetch): Ditto.
962 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
964 * elmo-imap4.el (mime-imap-location-section-body): Use
965 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
966 follow the API change.
968 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
970 * elmo-access.el: New file.
972 * elmo-null.el: Ditto.
974 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
976 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
978 * elmo-net.el (elmo-network-session-idle-timeout): New option.
979 (elmo-network-session): New attribute `last-accessed'.
980 (elmo-network-get-session): Discard network cache if elapsed time
981 since last-accessed is larger than elmo-network-session-idle-timeout.
983 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
985 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
986 and added `number', `require-entireness'.
987 (elmo-find-fetch-strategy): Rewrite.
988 (elmo-message-fetch): Unset `unread' flag when argument unread is
991 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
993 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
994 (elmo-message-fetch): Notify event `flag-changed'.
996 * elmo-pipe.el: Likewise.
998 * elmo-mime.el (elmo-mime-entity): New class.
999 (elmo-mime-entity-display-p): New generic function.
1000 (elmo-mime-entity-display): Ditto.
1001 (elmo-mime-entity-display-as-is): Ditto.
1002 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1004 (elmo-make-mime-message-location): Removed.
1005 (elmo-mime-message-display): Ditto.
1006 (elmo-mime-display-as-is): Ditto.
1007 (elmo-message-mime-entity): New function.
1009 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1011 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1013 (elmo-message-fetch): Re-count flagged message number and notify
1014 event `flag-changed'.
1016 * elmo-version.el (elmo-version): Up to 2.13.1.
1018 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1020 * elmo-filter.el (elmo-message-field): Define.
1021 (elmo-message-set-field): Ditto.
1023 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1025 * elmo.el (elmo-message-set-cached): Call
1026 `elmo-folder-notify-event' with cache-changed.
1027 (elmo-event-handler-cache-changed): New generic function.
1029 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1031 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1032 instead of elmo-add-name-to-file.
1033 (elmo-folder-append-messages): Ditto.
1035 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1037 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1039 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1041 * elmo-version.el (elmo-version): Up to 2.13.0.
1043 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1046 * modb-standard.el (modb-standard-economize-entity-size): Changed
1047 default value to `t'.
1049 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1052 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1053 after parsing greeting string.
1055 2004-11-23 Daishi Kato <daishi@axlight.com>
1057 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1059 (elmo-spam-spamoracle-call): Use it.
1061 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1063 * elmo.el (elmo-message-accessible-p): Message in dop spool
1066 2004-11-23 Daishi Kato <daishi@axlight.com>
1068 * elsp-spamoracle.el: New file.
1070 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1072 * elmo.el (elmo-message-flags-for-append): New function.
1073 (elmo-generic-folder-append-messages): Use it.
1075 * elmo-split.el (elmo-split-subr): Ditto.
1077 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1078 `flags' and use elmo-folder-append-buffer instead of
1079 write-region-as-binary.
1080 (elmo-dop-filter-pending-messages): New function.
1081 (elmo-folder-append-buffer-dop): Call
1082 elmo-dop-spool-folder-append-buffer with `flag'.
1083 (elmo-folder-set-flag-dop): Filter messages by
1084 elmo-dop-filter-pending-messages.
1085 (elmo-folder-unset-flag-dop): Ditto.
1086 (elmo-folder-append-buffer-dop-delayed): Use
1087 elmo-message-flags-for-append to get flags of the message and
1090 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1092 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1094 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1096 * elmo.el (elmo-folder): Added handlers slot.
1097 (elmo-event-handler): New class.
1098 (elmo-event-handler-flag-changed): New API.
1099 (elmo-folder-add-handler): New function.
1100 (elmo-folder-remove-handler): Ditto.
1101 (elmo-folder-notify-event): Ditto.
1102 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1104 (elmo-folder-unset-flag): Ditto.
1106 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1107 (elmo-folder-unset-flag): Ditto.
1109 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1110 (elmo-folder-unset-flag): Ditto.
1112 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1113 (elmo-folder-unset-flag): Ditto.
1115 * elmo-version.el (elmo-version): Up to 2.11.33.
1117 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1119 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1121 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1123 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1125 * elmo-flag.el (elmo-folder-unset-flag): Define.
1126 (elmo-global-flag-detach): Do process when the flag is not target
1129 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1131 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1133 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1135 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1137 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1139 (elmo-folder-delete-messages): Detach messages before delete
1140 messages from target folder.
1141 (elmo-folder-detach-messages): Set updated number-list to slot.
1143 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1145 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1147 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1149 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1151 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1153 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1155 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1157 (elmo-folder-delete-messages): Define.
1158 (elmo-folder-move-messages): Don't call
1159 `elmo-folder-detach-messages'.
1160 (elmo-folder-synchronize): Rewrite.
1161 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1163 * elmo-util.el (elmo-last): New function.
1164 (elmo-set-list): Ditto.
1165 (elmo-number-set-delete-list): Ditto.
1166 (elmo-number-set-delete): Ditto.
1168 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1170 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1171 `elmo-folder-delete-messages' and don't delete location map.
1172 (elmo-folder-detach-messages): Define.
1174 * elmo-imap4.el (elmo-folder-delete): Use
1175 `elmo-folder-delete-messages-internal' instead of
1176 `elmo-folder-delete-messages'.
1178 * elmo-filter.el (elmo-folder-delete-messages): Call
1179 `elmo-folder-detach-messages'.
1180 (elmo-folder-detach-messages): Don't call
1181 `elmo-folder-detach-messages' for target folder.
1183 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1184 message deletion is succeeded.
1186 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1188 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1189 from `elmo-folder-delete-messages'.
1191 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1193 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1195 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1197 * elmo-version.el (elmo-version): Up to 2.11.32.
1199 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1201 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1202 (elmo-global-flag-list): Added obsolete variable setting.
1204 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1206 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1207 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1208 `elmo-mime-display-header-analysis' is nil.
1210 * elmo-flag.el (elmo-global-flags): Renamed from
1211 `elmo-global-flag-list' (All other related portions are changed).
1212 (elmo-local-flags): New variable.
1213 (elmo-local-flag-p): New function.
1214 (elmo-global-flag-set-internal): Cause an error when flag is not
1217 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1219 * elmo-util.el (elmo-concat-path): Treat empty path.
1221 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1223 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1225 (elmo-split-address-match): Ditto.
1226 (elmo-split-equal): Ditto.
1227 (elmo-split-match): Ditto.
1229 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1231 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1232 (elmo-generic-folder-append-messages): If src message exists but
1233 has no flag, pass (read) for the FLAG argument of
1234 `elmo-folder-append-buffer'. Otherwise, pass nil.
1236 * elmo-split.el (elmo-split-subr): Likewise.
1238 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1240 * elmo-multi.el (elmo-message-flags): Ditto.
1242 * elmo-filter.el (elmo-message-flags): Ditto.
1244 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1245 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1246 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1248 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1250 * elmo-split.el (elmo-split-rule): Update comment.
1251 (elmo-split-address-equal): Allow 2nd argument to be a list.
1252 (elmo-split-address-match): Ditto.
1253 (elmo-split-equal): Ditto.
1254 (elmo-split-match): Ditto.
1256 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1258 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1259 (elmo-folder-append-msgdb): Don't treat `read'.
1260 (elmo-message-flags): Don't return `read'.
1262 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1263 (elmo-folder-unset-read-delayed): Ditto.
1265 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1267 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1269 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1272 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1274 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1277 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1279 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1281 (elmo-msgdb-save): Bind inhibit-quit.
1282 (modb-standard-message-entity): Ditto.
1284 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1286 * elmo-database.el: No need to require elmo-msgdb.
1288 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1290 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1291 instead of `elmo-list-subdirectories'.
1293 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1295 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1297 (elmo-folder-exists-p): "[" is empty.
1298 (elmo-folder-list-subfolders): Define.
1299 (elmo-folder-have-subfolder-p): Ditto.
1301 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1303 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1305 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1307 * elmo-filter.el (elmo-folder-local-p): Define.
1309 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1311 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1312 when entity is garbaged.
1313 (modb-standard-save-entity-1): Don't modify the original entity.
1315 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1317 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1319 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1321 * elmo.el (elmo-strict-folder-diff): Use
1322 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1324 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1326 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1327 (elmo-msgdb-message-number): Ditto.
1328 (elmo-msgdb-message-field): Ditto.
1330 * modb-standard.el (modb-standard-economize-entity-size): New user
1332 (modb-standard-loaded-message-id): New inline function.
1333 (modb-standard-load-entity): Use it.
1334 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1335 throw message-id string away.
1336 (elmo-msgdb-flag-available-p): Define.
1337 (elmo-msgdb-message-number): Ditto.
1338 (elmo-msgdb-message-field): Ditto.
1340 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1341 (suppoted -> supported).
1342 (modb-legacy-supported-flag-p): Ditto.
1343 (elmo-msgdb-set-flag): Ditto.
1344 (elmo-msgdb-unset-flag): Ditto.
1345 (elmo-msgdb-flag-available-p): Define.
1347 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1348 is `t', treat it as legacy entity.
1350 * elmo.el (elmo-message-flag-available-p): New generic function.
1351 (elmo-message-number): Ditto.
1352 (elmo-message-field): Use `elmo-msgdb-message-field'.
1354 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1356 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1357 (elmo-message-number): Ditto.
1359 * elmo-multi.el (elmo-message-number): Define.
1360 (elmo-message-flag-available-p): Ditto.
1362 * elmo-filter.el (elmo-message-flag-available-p): Define.
1363 (elmo-message-number): Ditto.
1365 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1366 (elmo-folder-initialize): Load `max-number'.
1367 (elmo-folder-commit): Save it.
1368 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1369 (elmo-global-flag-set-internal): Set up max-number slot.
1371 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1373 * elmo-version.el (elmo-version): Up to 2.11.31.
1375 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1377 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1378 unibyte string of the current buffer for the argument of `md5'
1379 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1381 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1383 * modb-legacy.el (modb-legacy-flag-list): New constant.
1384 (modb-legacy-suppoted-flag-p): New internal function.
1385 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1386 (elmo-msgdb-unset-flag): Ditto.
1388 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1390 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1392 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1395 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1397 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1398 (follow the API change).
1400 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1402 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1404 * modb-standard.el (modb-standard-digest-flags): Abolish.
1405 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1407 * elmo-vars.el (elmo-digest-flags): New variable.
1408 (elmo-preserved-flags): Moved from elmo-flag.el.
1410 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1411 (elmo-imap4-flag-to-imap-criteria): Ditto.
1412 (elmo-imap4-folder-list-flagged): Use it.
1414 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1416 * elmo.el (elmo-folder-count-flags): Changed return value.
1418 * elmo-flag.el (elmo-preserved-flags): New variable.
1419 (elmo-get-global-flags): Use it.
1421 * modb-standard.el (modb-standard-digest-flags): New variable.
1422 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1423 Changed behavior of `any'.
1425 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1426 which are defined the Internet draft
1427 (draft-melnikov-imap-keywords-03.txt).
1428 (elmo-imap4-flags-to-imap): New function.
1429 (elmo-folder-append-buffer): Use it.
1431 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1434 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1435 avoid the bug of Emacs 21.3.
1437 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1439 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1440 function find-coding-system does not exist.
1442 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1444 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1447 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1449 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1452 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1454 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1455 (elmo-network-close-session): Follow the changes in
1456 `elmo-pop3-read-response'.
1457 (elmo-pop3-auth-user): Ditto.
1458 (elmo-pop3-auth-apop): Ditto.
1459 (elmo-network-initialize-session): Ditto.
1460 (elmo-network-authenticate-session): Ditto.
1461 (elmo-network-setup-session): Ditto.
1462 (elmo-folder-status): Ditto.
1463 (elmo-message-fetch-plugged): Ditto.
1464 (elmo-pop3-delete-msg): Ditto.
1466 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1468 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1471 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1473 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1475 (elmo-bind-directory): Ditto.
1477 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1479 * elmo.el (elmo-folder-append-messages): Note on return value.
1480 * elmo-archive.el (elmo-folder-append-messages): Don't return
1481 message numbers which could not be appended.
1483 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1485 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1487 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1489 * elmo-version.el (elmo-version): Up to 2.11.30.
1491 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1493 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1496 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1498 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1499 (elmo-multi-split-numbers): Add elmo-folder object into each
1500 element of return value at first.
1501 (elmo-folder-delete-messages): Follow the above change.
1502 (elmo-folder-detach-messages): Ditto.
1504 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1505 number which is synchronized in target folder.
1507 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1509 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1510 Change default value to symbol `all'.
1511 (elmo-map-message-fetch): Change condition to update overview
1514 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1516 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1517 behavior to update overview.
1518 (elmo-shimbun-update-overview-folder-list): Note it.
1520 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1522 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1525 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1527 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1528 buffer-disable-undo, it is unnecessary.
1529 (elmo-spam-register-good-messages): Ditto.
1531 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1534 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1536 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1538 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1539 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1540 elmo-set-buffer-multibyte.
1541 (elmo-object-load): Ditto.
1542 (elmo-save-buffer): Ditto.
1543 (elmo-delete-char): Ditto.
1544 (elmo-file-field-primitive-condition-match): Ditto.
1545 (elmo-mime-string): Ditto.
1547 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1548 (elmo-archive-field-condition-match): Ditto.
1550 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1552 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1554 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1555 (elmo-nntp-msgdb-create-message): Ditto.
1557 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1559 * elmo.el (elmo-message-match-condition): Ditto.
1560 (elmo-message-match-condition): Ditto.
1562 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1565 * elmo-version.el (elmo-version): Up to 2.11.29.
1567 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1568 (elsp-header): New backend.
1570 * elmo-util.el (elmo-decoded-field-body): New function.
1572 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1574 * elmo-version.el (elmo-version): Up to 2.11.28.
1576 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1578 * elmo-filter.el: Rewrite.
1580 * elmo-version.el (elmo-version): Up to 2.11.27.
1582 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1584 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1585 msgdb path for the localdir folder with absolute path.
1587 * utf7.el: Synch up with latest gnus/utf7.el;
1588 Modified for latest Emacs.
1590 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1592 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1593 shimbun backend couldn't open.
1595 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1597 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1598 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1599 when a destination folder is a filter folder.
1601 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1603 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1604 (elmo-generic-folder-append-messages): Call elmo-message-flags
1605 with argument `msgid'.
1607 * elmo-split.el (elmo-split-subr): Ditto.
1609 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1611 * elmo-multi.el (elmo-message-flags): Ditto.
1613 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1615 * elmo.el (elmo-folder): Add new slot `flag-table'.
1616 (elmo-folder-flag-table): New API.
1617 (elmo-folder-close-flag-table): Ditto.
1618 (elmo-folder-preserve-flags): New function.
1619 (elmo-generic-folder-append-messages): Use
1620 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1621 Flag of a non-registered message, it sets to nil.
1622 Does not set flag to flag-table.
1624 * elmo-maildir.el (elmo-folder-append-buffer): Use
1625 `elmo-folder-preserve-flags'.
1626 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1627 `elmo-folder-close-flag-table'.
1629 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1630 (elmo-archive-folder-append-buffer): Use
1631 `elmo-folder-preserve-flags'.
1633 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1635 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1637 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1638 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1639 `elmo-folder-close-flag-table'.
1641 * elmo-version.el (elmo-version): Up to 2.11.26.
1643 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1645 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1647 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1648 md5's 4th and 5th argument (non-existent in flim one).
1650 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1652 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1653 message, It sets to nil.
1655 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1657 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1660 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1662 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1664 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1666 * elmo-util.el (elmo-uniq-sorted-list): New function.
1667 (elmo-make-number-list): Ditto.
1668 (elmo-number-set-to-number-list): Use elmo-make-number-list
1669 and don't use nreverse.
1671 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1673 * elmo-version.el (elmo-version): Up to 2.11.25.
1675 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1677 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1678 field not exists in message, Use md5 message digest of header.
1680 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1682 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1683 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1684 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1685 * elmo-split.el (elmo-split-subr): Check return value of
1686 elmo-folder-append-buffer.
1688 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1689 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1691 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1694 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1696 * elmo-split.el (elmo-split-subr): Append message with flag.
1698 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1699 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1700 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1702 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1704 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1705 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1706 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1708 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1710 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1711 with a function call of `process-buffer'. All callers are updated.
1712 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1713 Remove redundant `set-buffer' in a while loop.
1715 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1717 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1720 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1722 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1723 elsp-spamfilter-register-buffer-internal with current buffer.
1724 (elmo-spam-register-spam-buffer): Ditto.
1725 (elmo-spam-register-good-buffer): Ditto.
1727 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1729 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1730 if it is not contained in the response(A workaround for courier-imap).
1732 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1734 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1737 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1739 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1742 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1744 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1747 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1749 (elmo-msgdb-message-match-condition): Follow the change above.
1751 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1753 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1756 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1758 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1760 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1762 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1764 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1766 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1769 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1771 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1773 (elmo-file-command-argument): Undo last change for cygwin.
1774 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1776 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1778 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1780 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1781 value returned from elmo-file-find is nil.
1783 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1785 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1788 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1789 instead of insert-file-contents-as-binary.
1790 (elmo-message-set-field): New generic function.
1792 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1793 behavior change on `split-string'.
1795 * elmo-file.el (elmo-file-find): New function.
1796 (elmo-file-command): New user option.
1797 (elmo-file-command-argument): Ditto.
1798 (elmo-file-fetch-max-size): Ditto.
1799 (elmo-file-detect-format): New function.
1800 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1801 Use elmo-file-detect-format.
1802 (elmo-map-folder-list-message-locations): Don't treat directories.
1804 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1806 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1807 (elmo-passwd-alist-clear): Shred password before clear.
1808 (elmo-remove-passwd): Remove all mached pair.
1810 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1812 * elmo.el (elmo-folder-synchronize): Fix description of the return
1815 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1817 * elmo.el (elmo-message-fetch-bodystructure): New method.
1818 (elmo-message-fetch-bodystructure): Define default.
1820 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1821 elmo-message-fetch-bodystructure.
1822 (elmo-message-fetch-bodystructure): Define.
1824 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1826 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1828 * elmo-filter.el (elmo-message-folder): Define.
1830 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1832 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1833 elmo-delete-cr-buffer.
1835 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1837 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1839 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1841 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1842 type seems to be a text.
1844 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1846 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1847 (elmo-spam-register-good-buffer): Ditto.
1848 (elmo-spam-spamassassin-register-messages): Ditto.
1850 * elmo-util.el (elmo-string-member-ignore-case): Define with
1853 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1855 * elmo.el (elmo-folder-type): Undo last change.
1857 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1859 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1862 * elmo-file.el: New file.
1864 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1866 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1868 (elmo-spam-spamassassin-register-messages): New inline function.
1869 (elmo-spam-register-spam-messages): Define.
1870 (elmo-spam-register-good-messages): Ditto.
1872 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1875 * elmo.el (toplevel): Added autoload setting for
1876 `elmo-get-global-flags'.
1877 (elmo-message-has-global-flag-p): New function.
1878 (elmo-message-set-global-flags): Ditto.
1879 (elmo-folder-type): Improvement for name: format.
1881 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1882 availability of keyword flags.
1883 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1884 (elmo-folder-list-flagged-plugged): Renamed from
1885 elmo-folder-list-flagged-unplugged.
1886 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1887 accept any flag as keyword flag.
1888 (elmo-folder-set-flag-plugged): Accept keyword flags.
1889 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1891 * elmo-flag.el (elmo-get-global-flags): New function.
1893 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1896 * elmo-version.el (elmo-version): Up to 2.11.24.
1898 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1900 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1901 elmo-multiple-field-body instead of std11-field-body to check all
1904 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1906 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1909 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1911 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1912 unintern is unbound.
1914 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1916 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1917 Protect from infinite loop.
1919 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1921 * elsp-bogofilter.el
1922 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1923 (elmo-spam-bogofilter-register-messages): New internal function.
1924 (elmo-spam-register-spam-messages): Define.
1925 (elmo-spam-register-good-messages): Ditto.
1927 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1929 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1930 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1931 (elmo-spam-bogofilter-call): Fixed the last change.
1932 (elmo-spam-bogofilter-arguments): Ditto.
1934 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1935 Follow the options change of latest bogofilter.
1937 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1938 (elmo-spam-bogofilter-good-switch): Ditto.
1939 (elmo-spam-bogofilter-arguments-alist): New user option.
1940 (elmo-spam-bogofilter-debug): Ditto.
1941 (elmo-spam-bogofilter-call): Renamed from
1942 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1943 is non-nil, insert output in buffer for debug.
1944 (elmo-spam-bogofilter-arguments): New macro.
1945 (elmo-spam-buffer-spam-p): Use it.
1946 (elsp-bogofilter-register-buffer): Ditto.
1948 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1950 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1953 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1955 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1957 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1958 (elmo-spam-bsfilter-program): Set default value as full path for
1960 (elmo-spam-bsfilter-debug): New user option.
1961 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1962 non-nil, insert output in buffer for debug. Fix treating of
1965 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1967 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1968 `elmo-maildir-flag-specs' element instead of one.
1969 (elmo-map-folder-unset-flag): Ditto.
1970 (Reported by Ken Makimura <macky@astem.or.jp>)
1972 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1973 (elmo-folder-unset-flag-plugged): Ditto.
1975 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1977 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1978 to `reads' slot only if `in-msgdb' is nil.
1980 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1982 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1983 and complement argument list.
1985 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1987 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1988 instead of elmo-folder-list-flagged.
1990 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1992 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1994 * elsp-bsfilter.el: New file.
1996 * elmo-pipe.el (elmo-folder-list-unreads,
1997 elmo-folder-list-answereds,
1998 elmo-folder-list-importants,
1999 elmo-folder-flag-as-important,
2000 elmo-folder-unflag-important,
2001 elmo-folder-flag-as-read,
2002 elmo-folder-unflag-read,
2003 elmo-folder-flag-as-answered,
2004 elmo-folder-unflag-answered): Remove.
2005 (elmo-folder-set-flag): Define.
2006 (elmo-folder-unset-flag): Ditto.
2008 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2009 (elmo-folder-set-flag): Define.
2010 (elmo-folder-unset-flag): Ditto.
2011 (elmo-folder-list-unreads): Remove.
2012 (elmo-folder-list-flagged): Define.
2014 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2015 (elmo-folder-list-unreads,
2016 elmo-folder-list-importants,
2017 elmo-folder-list-answereds,
2018 elmo-folder-list-unreads-plugged,
2019 elmo-folder-list-importants-plugged,
2020 elmo-folder-list-answereds-plugged): Remove.
2021 (elmo-folder-list-flagged-plugged): New method.
2022 (elmo-folder-unflag-important,
2023 elmo-folder-flag-as-important,
2024 elmo-folder-unflag-read,
2025 elmo-folder-flag-as-read,
2026 elmo-folder-unflag-answered,
2027 elmo-folder-flag-as-answered,
2028 elmo-folder-flag-as-read-unplugged,
2029 elmo-folder-unflag-read-unplugged,
2030 elmo-folder-flag-as-important-unplugged,
2031 elmo-folder-unflag-important-unplugged,
2032 elmo-folder-flag-as-answered-unplugged,
2033 elmo-folder-unflag-answered-unplugged): Remove.
2034 (elmo-folder-set-flag): Define.
2035 (elmo-folder-unset-flag): Ditto.
2036 (elmo-folder-set-flag-unplugged): Ditto.
2037 (elmo-folder-unset-flag-unplugged): Ditto.
2039 * elmo-multi.el (elmo-folder-list-unreads,
2040 elmo-folder-list-answereds,
2041 elmo-folder-list-importants,
2042 elmo-folder-flag-as-important,
2043 elmo-folder-unflag-important,
2044 elmo-folder-flag-as-read,
2045 elmo-folder-unflag-read,
2046 elmo-folder-flag-as-answered,
2047 elmo-folder-unflag-answered): Remove.
2048 (elmo-folder-set-flag): Define.
2049 (elmo-folder-unset-flag): Ditto.
2051 * elmo-map.el (elmo-map-folder-unflag-important,
2052 elmo-map-folder-flag-as-important,
2053 elmo-map-folder-unflag-read,
2054 elmo-map-folder-flag-as-read,
2055 elmo-map-folder-unflag-answered,
2056 elmo-map-folder-flag-as-answered): Remove.
2057 (elmo-map-folder-set-flag): New method.
2058 (elmo-map-folder-unset-flag): Ditto.
2059 (elmo-map-folder-list-unreads,
2060 elmo-map-folder-list-importants,
2061 elmo-map-folder-list-answereds): Remove.
2062 (elmo-folder-list-flagged-internal): Define.
2063 (elmo-map-folder-list-flagged): New method.
2065 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2066 (elmo-map-folder-list-unreads,
2067 elmo-map-folder-list-importants,
2068 elmo-map-folder-list-flagged): Remove.
2069 (elmo-map-folder-list-flagged): Define.
2070 (elmo-map-folder-flag-as-important,
2071 elmo-map-folder-unflag-important,
2072 elmo-map-folder-flag-as-read,
2073 elmo-map-folder-unflag-read,
2074 elmo-map-folder-flag-as-answered,
2075 elmo-map-folder-unflag-answered): Remove.
2076 (elmo-maildir-set-mark-messages): New internal function.
2077 (elmo-map-folder-set-flag): Define.
2078 (elmo-map-folder-unset-flag): Ditto.
2080 * elmo.el (toplevel): Added autoload setting for
2081 `elmo-folder-list-global-flag-messages'.
2082 (elmo-folder-list-unreads,
2083 elmo-folder-list-importants,
2084 elmo-folder-list-answereds): Remove.
2085 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2086 Return a list whitch merged with messages have global flag.
2087 (elmo-folder-list-flagged-internal): New method.
2088 (elmo-folder-unflag-important,
2089 elmo-folder-flag-as-important,
2090 elmo-folder-unflag-read,
2091 elmo-folder-flag-as-read,
2092 elmo-folder-unflag-answered,
2093 elmo-folder-flag-as-answered): Remove.
2094 (elmo-folder-set-flag): New method.
2095 (elmo-folder-unset-flag): Ditto.
2096 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2097 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2099 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2100 (elmo-folder-list-unreads-plugged,
2101 elmo-folder-list-importants-plugged,
2102 elmo-folder-list-answereds-plugged,
2103 elmo-folder-list-flagged-unplugged,
2104 elmo-folder-unflag-important-plugged,
2105 elmo-folder-flag-as-important-plugged,
2106 elmo-folder-unflag-read-plugged,
2107 elmo-folder-flag-as-read-plugged,
2108 elmo-folder-unflag-answered-plugged,
2109 elmo-folder-flag-as-answered-plugged): Remove.
2110 (elmo-folder-set-flag-plugged,
2111 elmo-folder-unset-flag-plugged): Define.
2113 * elmo-flag.el (elmo-folder-initialize): Register to
2114 `elmo-global-flag-list' if flag is not global.
2115 (elmo-folder-append-messages): Set flag to source messages.
2117 * elmo-filter.el (elmo-filter-folder-list-unreads,
2118 elmo-folder-list-unreads,
2119 elmo-filter-folder-list-importants,
2120 elmo-folder-list-importants,
2121 elmo-folder-flag-as-read,
2122 elmo-folder-unflag-read,
2123 elmo-folder-flag-as-important,
2124 elmo-folder-unflag-important,
2125 elmo-folder-flag-as-answered,
2126 elmo-folder-unflag-answered): Remove.
2127 (elmo-folder-set-flag): Define.
2128 (elmo-folder-unset-flag): Ditto.
2130 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2131 elmo-folder-unflag-read-dop,
2132 elmo-folder-flag-as-important-dop,
2133 elmo-folder-unflag-important-dop,
2134 elmo-folder-flag-as-answered-dop,
2135 elmo-folder-unflag-answered-dop): Remove.
2136 (elmo-folder-set-flag-dop,
2137 elmo-folder-unset-flag-dop,
2138 elmo-folder-set-important-delayed,
2139 elmo-folder-unset-important-delayed,
2140 elmo-folder-set-read-delayed,
2141 elmo-folder-unset-read-delayed,
2142 elmo-folder-set-answered-delayed,
2143 elmo-folder-unset-answered-delayed): New function.
2144 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2145 (elmo-dop-queue-method-name-alist): Ditto.
2147 * elmo-version.el (elmo-version): Up to 2.11.23.
2149 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2151 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2153 * elsp-sa.el: New file.
2155 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2157 * modb-standard.el (modb-standard-message-entity): New function.
2158 (elmo-msgdb-message-entity): Use it.
2160 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2162 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2163 behavior when one-level is nil.
2165 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2167 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2169 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2171 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2173 (elmo-generic-folder-diff): Ditto.
2175 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2176 (elmo-folder-update-number): Ditto.
2178 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2179 (elmo-folder-next-message-number-dop): Ditto.
2181 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2183 * elmo-filter.el (elmo-folder-msgdb-create): Use
2184 `elmo-message-entity' and `elmo-message-flags' instead of
2185 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2187 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2189 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2192 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2194 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2196 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2198 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2200 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2202 * elmo-version.el (elmo-version): Up to 2.11.22.
2204 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2206 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2208 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2210 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2211 if the message dose not exist.
2213 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2215 * elmo-version.el (elmo-version): Up to 2.11.21.
2217 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2219 * modb-standard.el (toplevel): Don't require mime.
2221 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2223 * elsp-bogofilter.el (toplevel): Don't require path-util.
2224 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2225 (elmo-spam-bogofilter-header): Abolish.
2226 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2227 (elmo-spam-bogofilter-args): New user option.
2228 (elsp-bogofilter-call-bogofilter): New internal function.
2229 (elmo-spam-buffer-spam-p): Use it.
2230 (elsp-bogofilter-register-buffer): Renamed from
2231 `elmo-spam-bogofilter-register-buffer';
2232 Use `elsp-bogofilter-call-bogofilter'.
2233 (elmo-spam-register-spam-buffer): Follow the change above.
2234 (elmo-spam-register-good-buffer): Ditto.
2236 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2238 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2239 message-id is nil do nothing.
2241 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2243 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2245 (elmo-imap4-session): Removed use-flag slot.
2246 (elmo-imap4-session-select-mailbox): Undo last change.
2247 (elmo-folder-use-flag-p): Use
2248 elmo-imap4-disuse-server-flag-mailbox-regexp.
2250 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2252 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2253 (elmo-imap4-session-select-mailbox): Set it up.
2254 (elmo-folder-use-flag-p): Return value of use-flag slot.
2256 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2258 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2260 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2262 * modb-entity.el (elmo-message-entity-handler): Likewise.
2264 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2266 * elmo.el (toplevel): Remove setting of autoloding for
2267 elmo-global-flag-initialize.
2268 (elmo-init): Don't call elmo-global-flag-initialize.
2269 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2271 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2272 (elmo-global-mark-migrate): Don't call it.
2273 (elmo-global-mark-upgrade): Ditto.
2275 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2277 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2278 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2280 * elmo-vars.el (elmo-init-hook): New user option.
2282 * elmo.el (elmo-init): Run the elmo-init-hook.
2284 * elmo-flag.el (elmo-global-mark-migrate): New function.
2286 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2288 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2289 Undo last change (move to elmo-msgdb-unset-flag).
2290 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2293 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2295 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2297 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2298 (elmo-msgdb-unset-flag): Ditto.
2300 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2302 * elmo-split.el (elmo-split): Return split message count.
2304 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2306 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2309 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2311 * elmo.el (elmo-folder-unflag-important): Call
2312 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2315 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2317 (elmo-global-flag-detach): Delete the message from flag folder, if
2318 `delete-if-none' is a symbol `always'.
2320 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2322 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2323 `elmo-spam-spamfilter-decode-buffer'.
2324 (elsp-spamfilter-register-buffer-internal): New internal function.
2325 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2326 (elmo-spam-register-spam-buffer): Ditto.
2327 (elmo-spam-register-good-buffer): Ditto.
2329 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2331 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2332 (elmo-spam-register-spam-buffer): Follow the API change.
2333 (elmo-spam-register-good-buffer): Ditto.
2335 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2336 (elmo-split-spam-p): Added argument plist; Call
2337 `elmo-spam-buffer-spam-p' with new argument register.
2339 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2341 (elmo-spam-message-spam-p): Ditto.
2342 (elmo-spam-register-spam-buffer): Added optional argument
2344 (elmo-spam-register-good-buffer): Ditto.
2345 (elmo-spam-register-spam-messages): Ditto.
2346 (elmo-spam-register-good-messages): Ditto.
2348 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2350 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2351 register into good corpus.
2352 (elmo-spam-register-good-buffer): Fixed to register into bad
2355 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2357 * elmo-version.el (elmo-version): Up to 2.11.20.
2359 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2362 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2363 flag without depending on \Recent flag.
2365 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2367 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2368 (elmo-spam-modified-p): Defined.
2369 (elmo-spam-save-status): Set `modified' slot to nil.
2370 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2371 (elmo-spam-register-good-buffer): Ditto.
2373 * elmo-spam.el (elmo-spam-modified-p): New API.
2375 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2377 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2378 duplicate definition.
2380 * elmo-util.el (elmo-unfold-field-body): New function.
2381 (elmo-msgdb-get-message-id-from-buffer): Use it.
2383 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2384 Fixed the last change; Use elmo-unfold-field-body.
2386 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2388 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2391 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2393 * elmo-spam.el (elmo-spam-save-status): New API.
2395 * elsp-spamfilter.el: New file.
2397 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2399 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2401 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2403 * elmo-split.el (elmo-split-spam-p): New function.
2405 * elmo-spam.el: New file.
2407 * elsp-bogofilter.el: Ditto.
2409 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2411 * elmo.el (elmo-folder-next-message-number): New API.
2412 (elmo-folder-next-message-number): Define.
2413 (elmo-message-field): Don't check folder length.
2415 * elmo-net.el (elmo-folder-next-message-number): Define.
2416 (elmo-folder-next-message-number-unplugged): Define.
2418 * elmo-map.el (elmo-folder-next-message-number): Define.
2419 (elmo-folder-delete-messages): Clear hash value.
2421 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2423 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2424 (elmo-folder-delete-messages-dop-delayed): Always return t.
2426 * elmo-version.el (elmo-version): Up to 2.11.19.
2428 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2430 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2433 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2434 identical cons cell into the mark-alist and the hash table.
2436 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2438 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2439 elmo-folder-list-messages with argument `visible-only' as t.
2441 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2442 (elmo-folder-msgdb-create): Check the target folder.
2444 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2446 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2447 `permanentflag' instead of `flags'.
2448 (elmo-folder-open): Ditto.
2449 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2450 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2451 (elmo-folder-use-flag-p): Always return t.
2452 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2453 `permanentflags' does not exist.
2454 (elmo-folder-open): Ditto.
2456 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2458 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2460 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2462 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2463 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2465 (elmo-folder-open): Ditto.
2466 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2467 slot of the session includes the flag.
2468 (elmo-imap4-session-flag-available-p): New function.
2469 (elmo-imap4-folder-list-flagged): Ditto.
2470 (elmo-folder-list-unreads-plugged): Use it.
2471 (elmo-folder-list-importants-plugged): Ditto.
2472 (elmo-folder-list-answereds-plugged): Ditto.
2473 (elmo-imap4-search-internal-primitive): Ditto.
2474 (elmo-imap4-folder-list-any-plugged,
2475 elmo-imap4-folder-list-digest-plugged): Abolish.
2477 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2480 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2482 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2484 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2486 * elmo-util.el (elmo-get-hash-val): Simplify.
2487 (elmo-set-hash-val): Rewrite.
2489 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2491 * elmo.el (elmo-folder-list-messages): Append killed messages into
2492 result if `visible-only' is nil and `in-msgdb' is non-nil.
2494 * elmo-util.el (elmo-uniq-list): Added optional argument
2497 * modb.el (elmo-msgdb-flag-count): New API.
2499 * modb-standard.el (modb-standard): Added slot flag-count.
2500 (modb-standard-countup-flags): New function.
2501 (modb-standard-load-flag): Call it.
2502 (elmo-msgdb-append): Ditto.
2503 (elmo-msgdb-clear): Clear slot flag-count.
2504 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2505 (elmo-msgdb-unset-flag): Treat `all' flag and call
2506 modb-standard-countup-flags.
2507 (elmo-msgdb-flag-count): Define.
2508 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2509 (elmo-msgdb-delete-messages): Ditto.
2511 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2512 (elmo-msgdb-flag-count): Define.
2514 * elmo.el (elmo-folder-list-messages): Undo last change.
2515 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2516 (elmo-folder-kill-messages): Unset all flags to numbers.
2518 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2519 elmo-folder-kill-messages.
2521 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2522 (elmo-nntp-folder-delete-messages): Abolish.
2524 * elmo-version.el (elmo-version): Up to 2.11.18.
2526 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2528 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2529 (elmo-folder-kill-messages-range): New function.
2530 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2531 instead of elmo-folder-kill-messages-before.
2533 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2535 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2536 elmo-imap4-current-msgdb to decide entity handler.
2538 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2540 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2542 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2544 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2545 (elmo-msgdb-overview-entity-set-number,
2546 elmo-msgdb-overview-entity-get-references,
2547 elmo-msgdb-overview-entity-set-references,
2548 elmo-msgdb-overview-entity-get-from-no-decode,
2549 elmo-msgdb-overview-entity-get-from,
2550 elmo-msgdb-overview-entity-set-from,
2551 elmo-msgdb-overview-entity-get-subject,
2552 elmo-msgdb-overview-entity-get-subject-no-decode,
2553 elmo-msgdb-overview-entity-set-subject,
2554 elmo-msgdb-overview-entity-get-date,
2555 elmo-msgdb-overview-entity-set-date,
2556 elmo-msgdb-overview-entity-get-to,
2557 elmo-msgdb-overview-entity-get-cc,
2558 elmo-msgdb-overview-entity-get-size,
2559 elmo-msgdb-overview-entity-set-size,
2560 elmo-msgdb-overview-entity-get-extra,
2561 elmo-msgdb-overview-entity-set-extra,
2562 elmo-msgdb-overview-entity-get-extra-field,
2563 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2564 (elmo-msgdb-make-index): Use
2565 `elmo-msgdb-overview-entity-get-number-internal'.
2566 (elmo-msgdb-clear-index): Ditto.
2567 (elmo-msgdb-append-entity): Ditto;
2568 Use `elmo-msgdb-overview-entity-get-id-internal'.
2570 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2571 elmo-msgdb-overview-entity-set-number,
2572 elmo-msgdb-overview-entity-get-references,
2573 elmo-msgdb-overview-entity-set-references,
2574 elmo-msgdb-overview-entity-get-from-no-decode,
2575 elmo-msgdb-overview-entity-get-from,
2576 elmo-msgdb-overview-entity-set-from,
2577 elmo-msgdb-overview-entity-get-subject,
2578 elmo-msgdb-overview-entity-get-subject-no-decode,
2579 elmo-msgdb-overview-entity-set-subject,
2580 elmo-msgdb-overview-entity-get-date,
2581 elmo-msgdb-overview-entity-set-date,
2582 elmo-msgdb-overview-entity-get-to,
2583 elmo-msgdb-overview-entity-get-cc,
2584 elmo-msgdb-overview-entity-get-size,
2585 elmo-msgdb-overview-entity-set-size,
2586 elmo-msgdb-overview-entity-get-extra,
2587 elmo-msgdb-overview-entity-set-extra,
2588 elmo-msgdb-overview-entity-get-extra-field,
2589 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2590 and rewrote for backward compatibility.
2592 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2594 * elmo.el (elmo-message-entity-number,
2595 elmo-message-entity-set-number,
2596 elmo-message-entity-field,
2597 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2599 * elmo-msgdb.el (elmo-message-entity-number,
2600 elmo-message-entity-set-number,
2601 elmo-message-entity-field,
2602 elmo-message-entity-set-field): Moved from elmo.el.
2604 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2606 * elmo.el (toplevel): Changed definition orders.
2608 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2610 * modb.el (elmo-msgdb-search): New API .
2611 (elmo-msgdb-match-condition): Ditto.
2613 * modb-standard.el (elmo-msgdb-search): Define.
2615 * modb-legacy.el (elmo-msgdb-search): Ditto.
2617 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2618 from elmo-msgdb-match-condition-internal.
2620 * elmo.el (elmo-folder-search-fast): Abolish.
2621 (elmo-folder-search): Use elmo-msgdb-search and
2622 elmo-with-progress-display.
2624 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2627 * elmo.el (elmo-folder): Remove slot message-modified and
2629 (elmo-folder-set-message-modified): Abolish.
2630 (elmo-generic-folder-commit): Follow the change above.
2631 (elmo-folder-synchronize): Ditto.
2633 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2635 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2637 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2639 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2641 * modb-standard.el (modb-standard-make-message-entity,
2642 elmo-msgdb-make-message-entity,
2643 elmo-msgdb-create-message-entity-from-buffer,
2644 elmo-msgdb-message-entity-number,
2645 elmo-msgdb-message-entity-set-number,
2646 elmo-msgdb-message-entity-field,
2647 elmo-msgdb-message-entity-set-field,
2648 elmo-msgdb-copy-message-entity,
2649 elmo-msgdb-match-condition-internal): Remove.
2651 * modb-entity.el: New file (again).
2653 * modb.el (toplevel): Require modb-entity.
2654 (elmo-msgdb-message-entity-handler): New method.
2656 * modb-standard.el (modb-standard-entity-id): Use
2657 elmo-message-entity-handler.
2658 (modb-standard-load-entity): Ditto.
2659 (elmo-msgdb-append-entity): Ditto.
2660 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2662 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2663 elmo-msgdb-decoded-cache-hashtb,
2664 (modb-legacy-make-message-entity,
2665 elmo-msgdb-make-message-entity,
2666 elmo-msgdb-create-message-entity-from-buffer,
2667 elmo-msgdb-message-entity-number,
2668 elmo-msgdb-message-entity-set-number,
2669 elmo-msgdb-message-entity-field,
2670 elmo-msgdb-message-entity-set-field,
2671 elmo-msgdb-copy-message-entity,
2672 elmo-msgdb-match-condition-internal,
2673 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2675 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2676 (elmo-message-entity-set-number): Ditto.
2677 (elmo-message-entity-field): Ditto.
2678 (elmo-message-entity-set-field): Ditto.
2680 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2682 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2684 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2686 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2687 (elmo-nntp-msgdb-create-message): Ditto.
2689 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2690 (elmo-folder-msgdb-create): Add unread flag.
2692 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2694 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2696 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2698 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2700 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2701 elmo-msgdb-messge-entity-handler.
2702 * elmo-version.el (elmo-version): Up to 2.11.17.
2704 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2706 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2709 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2711 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2713 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2714 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2715 (elmo-msgdb-flag-table): Ditto.
2716 (elmo-msgdb-sort-by-date): Ditto.
2718 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2720 * modb-standard.el (toplevel): Require mime.
2721 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2722 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2723 elmo-msgdb-message-entity-number.
2724 (elmo-msgdb-append-entity): Ditto.
2725 (elmo-msgdb-create-message-entity-from-file): Remove.
2726 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2727 corresponds to the entity.
2728 (elmo-msgdb-message-entity-number): Do nothing currently.
2729 (elmo-msgdb-message-entity-field): Ditto.
2730 (elmo-msgdb-message-entity-set-field): Ditto.
2731 (elmo-msgdb-copy-message-entity): Ditto.
2732 (elmo-msgdb-match-condition-internal): Ditto.
2734 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2736 (elmo-msgdb-create-message-entity-from-file): Remove.
2738 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2740 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2742 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2744 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2746 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2747 (elmo-msgdb-message-entity-field): Ditto.
2748 (elmo-msgdb-message-entity-number): Ditto.
2750 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2752 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2753 Fixed how to set extra field into entity.
2754 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2757 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2758 Fixed how to set extra field into entity.
2759 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2762 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2764 * modb.el (elmo-message-entity-db): New function.
2765 (elmo-msgdb-make-message-entity): New API.
2766 (elmo-msgdb-message-entity-number): Ditto.
2767 (elmo-msgdb-message-entity-set-number): Ditto.
2768 (elmo-msgdb-message-entity-field): Ditto.
2769 (elmo-msgdb-message-entity-set-field): Ditto.
2770 (elmo-msgdb-copy-message-entity): Ditto.
2771 (elmo-msgdb-create-message-entity-from-file): Ditto.
2772 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2773 (elmo-msgdb-match-condition-internal): Ditto.
2775 * modb-standard.el (modb-legacy): Require modb-legacy.
2776 (modb-standard-make-message-entity): New inline function.
2777 (elmo-msgdb-make-message-entity): Define.
2778 (elmo-msgdb-create-message-entity-from-file): Ditto.
2779 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2780 (elmo-msgdb-message-entity-field): Ditto.
2781 (elmo-msgdb-message-entity-set-field): Ditto.
2782 (elmo-msgdb-copy-message-entity): Ditto.
2783 (elmo-msgdb-match-condition-internal): Ditto.
2785 * modb-legacy.el: Don't require modb-entity.
2786 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2787 (elmo-msgdb-match-condition-primitive): Ditto.
2788 (elmo-msgdb-get-decoded-cache): Ditto.
2789 (elmo-msgdb-overview-entity-get-id): Ditto.
2790 (elmo-msgdb-overview-entity-get-number): Ditto.
2791 (elmo-msgdb-overview-entity-set-number): Ditto.
2792 (elmo-msgdb-overview-entity-get-references): Ditto.
2793 (elmo-msgdb-overview-entity-set-references): Ditto.
2794 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2795 (elmo-msgdb-overview-entity-get-from): Ditto.
2796 (elmo-msgdb-overview-entity-set-from): Ditto.
2797 (elmo-msgdb-overview-entity-get-subject): Ditto.
2798 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2799 (elmo-msgdb-overview-entity-set-subject): Ditto.
2800 (elmo-msgdb-overview-entity-get-date): Ditto.
2801 (elmo-msgdb-overview-entity-set-date): Ditto.
2802 (elmo-msgdb-overview-entity-get-to): Ditto.
2803 (elmo-msgdb-overview-entity-get-cc): Ditto.
2804 (elmo-msgdb-overview-entity-get-size): Ditto.
2805 (elmo-msgdb-overview-entity-set-size): Ditto.
2806 (elmo-msgdb-overview-entity-get-extra): Ditto.
2807 (elmo-msgdb-overview-entity-set-extra): Ditto.
2808 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2809 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2810 (elmo-msgdb-number-load): Ditto.
2811 (elmo-msgdb-overview-load): Ditto.
2812 (elmo-msgdb-mark-load): Ditto.
2813 (elmo-msgdb-number-save): Ditto.
2814 (elmo-msgdb-mark-save): Ditto.
2815 (elmo-msgdb-overview-save): Ditto.
2816 (modb-legacy-make-message-entity): New inline function.
2817 (elmo-msgdb-insert-file-header): Ditto.
2818 (elmo-msgdb-make-message-entity): Define.
2819 (elmo-msgdb-create-message-entity-from-file): Ditto.
2820 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2821 (elmo-msgdb-message-entity-number): Ditto.
2822 (elmo-msgdb-message-entity-set-number): Ditto.
2823 (elmo-msgdb-message-entity-field): Ditto.
2824 (elmo-msgdb-message-entity-set-field): Ditto.
2825 (elmo-msgdb-copy-message-entity): Ditto.
2826 (elmo-msgdb-match-condition-internal): Ditto.
2828 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2829 (elmo-message-copy-entity): Rewrite.
2830 (elmo-message-entity-number): Ditto.
2831 (elmo-message-entity-set-number): Ditto.
2832 (elmo-message-entity-field): Use elmo-message-entity-db.
2833 (elmo-message-entity-set-field): Ditto.
2834 (elmo-message-field): Rewrite.
2836 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2838 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2840 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2841 elmo-message-entity-field.
2842 (elmo-shimbun-folder-shimbun-header): Ditto.
2843 (elmo-shimbun-entity-to-header): Ditto.
2844 (elmo-folder-msgdb-create): Ditto.
2845 (elmo-shimbun-msgdb-create-entity): Ditto;
2846 Use elmo-msgdb-create-message-entity-from-buffer.
2847 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2848 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2850 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2851 elmo-msgdb-create-message-entity-from-file and
2852 elmo-message-entity-field.
2854 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2855 elmo-message-entity-number.
2856 (elmo-pop3-msgdb-create-message): Use
2857 elmo-msgdb-create-message-entity-from-buffer,
2858 elmo-message-entity-set-field, elmo-message-entity-number and
2859 elmo-message-entity-set-number.
2861 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2862 the API change in elmo-msgdb-make-message-entity.
2863 (elmo-nntp-msgdb-create-message): Use
2864 elmo-msgdb-create-message-entity-from-buffer.
2866 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2867 elmo-message-entity-field and
2868 elmo-msgdb-create-message-entity-from-file.
2870 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2871 (elmo-msgdb-get-field): Abolish.
2872 (elmo-msgdb-get-number): Rewrite.
2873 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2874 (elmo-msgdb-flag-table): Ditto.
2875 (elmo-msgdb-get-last-message-id,
2876 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2877 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2878 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2879 (elmo-msgdb-create-overview-from-buffer,
2880 elmo-msgdb-overview-get-parent-entity): Abolish.
2882 * elmo-mime.el (elmo-mime-display-as-is): Use
2883 elmo-message-entity-field.
2885 * elmo-map.el (elmo-folder-pack-numbers): Use
2886 elmo-message-entity-set-number.
2888 * elmo-maildir.el (elmo-folder-msgdb-create):
2889 elmo-msgdb-create-message-entity-from-file instead of
2890 elmo-msgdb-create-overview-entity-from-file.
2892 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2894 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2895 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2897 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2898 elmo-messge-entity-field and elmo-message-entity-number.
2899 (elmo-imap4-fetch-callback-1): Call
2900 elmo-msgdb-create-message-entity-from-buffer instead of
2901 elmo-msgdb-create-overview-from-buffer.
2902 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2903 (elmo-find-fetch-strategy): Likewise.
2905 * elmo-flag.el (elmo-folder-msgdb-create): Call
2906 elmo-localdir-msgdb-create-entity with argument msgdb.
2908 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2909 and elmo-message-entity-set-number.
2911 * elmo-cache.el (elmo-folder-msgdb-create): Use
2912 elmo-message-entity-field.
2913 (elmo-folder-msgdb-create): Call
2914 elmo-msgdb-create-message-entity-from-file instead of
2915 elmo-msgdb-create-overview-entity-from-file.
2917 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2918 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2919 instead of elmo-msgdb-create-overview-from-buffer.
2920 (elmo-archive-msgdb-create-entity): Ditto.
2921 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2922 elmo-message-entity-field.
2923 (elmo-archive-parse-mmdf): Ditto.
2925 * modb-entity.el: Removed.
2927 * elmo-version.el (elmo-version): Up to 2.11.16.
2929 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2931 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2933 (elmo-folder-flag-as-answered): Ditto.
2935 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2937 * modb-standard.el: New file.
2939 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2940 elmo-msgdb-convert-type is `sync'.
2942 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2943 (elmo-msgdb-convert-type): New user option.
2945 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2946 (elmo-load-msgdb): Auto detect saved type.
2948 * elmo-version.el (elmo-version): Up to 2.11.15.
2950 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2952 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2954 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2955 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2956 with argument `delete-if-none' when dst-folder is 'null.
2958 * elmo-flag.el (elmo-folder-append-messages): Defined.
2959 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2961 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2963 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2965 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2967 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2968 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2969 (elmo-folder-commit): Ditto.
2971 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2973 * elmo-flag.el: New file.
2975 * elmo-mark.el: Removed.
2977 * modb-legacy.el (modb-legacy-new-mark,
2978 modb-legacy-unread-uncached-mark,
2979 modb-legacy-unread-cached-mark,
2980 modb-legacy-read-uncached-mark,
2981 modb-legacy-answered-cached-mark,
2982 modb-legacy-answered-uncached-mark,
2983 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2984 All other related portions are changed.
2986 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2987 (elmo-folder-list-messages-with-global-mark): Abolish.
2988 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2989 (elmo-folder-flag-as-important): Ditto.
2990 (elmo-folder-unflag-read): Ditto.
2991 (elmo-folder-flag-as-read): Ditto.
2992 (elmo-folder-unflag-answered): Ditto.
2993 (elmo-folder-flag-as-answered): Ditto.
2994 (elmo-message-encache): Return the cache path.
2995 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2996 (elmo-message-set-flag): Transitional implementation.
2997 (elmo-message-unset-flag): Ditto.
2998 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2999 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3000 (elmo-init): Call elmo-global-flag-initialize.
3001 (toplevel): Added autoload settings for elmo-flag.
3003 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3005 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3006 (elmo-file-cache-delete): Don't treat global-mark.
3008 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3010 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3012 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3013 `elmo-global-flags-set'.
3015 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3017 (elmo-folder-unflag-read): Ditto.
3018 (elmo-folder-unflag-important): Ditto.
3019 (elmo-folder-flag-as-important): Ditto.
3020 (elmo-folder-unflag-answered): Ditto.
3021 (elmo-folder-flag-as-answered): Ditto.
3023 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3024 `elmo-global-flags-set'.
3025 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3027 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3029 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3031 (elmo-folder-flag-as-important): Ditto.
3032 (elmo-folder-unflag-important): Ditto.
3033 (elmo-folder-flag-as-important): Ditto.
3034 (elmo-folder-unflag-read): Ditto.
3035 (elmo-folder-flag-as-read): Ditto.
3036 (elmo-folder-unflag-answered): Ditto.
3037 (elmo-folder-flag-as-answered): Ditto.
3039 * elmo-multi.el (elmo-folder-list-importants): Don't call
3040 elmo-folder-list-messages-with-global-mark.
3041 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3042 (elmo-folder-unflag-important): Ditto.
3043 (elmo-folder-flag-as-read): Ditto.
3044 (elmo-folder-unflag-read): Ditto.
3045 (elmo-folder-flag-as-answered): Ditto.
3046 (elmo-folder-unflag-answered): Ditto.
3048 * elmo-msgdb.el (elmo-msgdb-new-mark,
3049 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3050 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3051 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3052 (Moved to modb-legacy.el).
3053 (elmo-flag-table-get): Treat important flag too.
3055 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3057 (elmo-map-folder-flag-as-important): Ditto.
3058 (elmo-map-folder-unflag-read): Ditto.
3059 (elmo-map-folder-flag-as-read): Ditto.
3060 (elmo-map-folder-unflag-answered): Ditto.
3061 (elmo-map-folder-flag-as-answered): Ditto.
3062 (elmo-folder-unflag-important): Ditto.
3063 (elmo-folder-flag-as-important): Ditto.
3064 (elmo-folder-unflag-read): Ditto.
3065 (elmo-folder-flag-as-read): Ditto.
3066 (elmo-folder-unflag-answered): Ditto.
3067 (elmo-folder-flag-as-answered): Ditto.
3069 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3070 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3072 (elmo-map-folder-unflag-important): Ditto.
3073 (elmo-map-folder-flag-as-read): Ditto.
3074 (elmo-map-folder-unflag-read): Ditto.
3075 (elmo-map-folder-flag-as-answered): Ditto.
3076 (elmo-map-folder-unflag-answered): Ditto.
3078 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3079 `elmo-global-flags-set'.
3080 (elmo-global-flags-set): Added autoload setting.
3082 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3085 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3086 `elmo-msgdb-global-mark-set'.
3087 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3088 Call `elmo-global-flags-set'.
3089 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3091 (elmo-folder-flag-as-important-plugged): Ditto.
3092 (elmo-folder-unflag-read-plugged): Ditto.
3093 (elmo-folder-flag-as-read-plugged): Ditto.
3094 (elmo-folder-unflag-answered-plugged): Ditto.
3095 (elmo-folder-flag-as-answered-plugged): Ditto.
3096 (elmo-global-flags-set): Added autoload setting.
3098 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3100 (elmo-folder-unflag-read): Ditto.
3101 (elmo-folder-flag-as-important): Ditto.
3102 (elmo-folder-unflag-important): Ditto.
3103 (elmo-folder-flag-as-answered): Ditto.
3104 (elmo-folder-unflag-answered): Ditto.
3106 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3107 change of `mark'->`flag'.
3108 (elmo-dop-queue-method-name-alist): Ditto.
3109 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3110 (elmo-folder-unflag-read-dop): Ditto.
3111 (elmo-folder-flag-as-important-dop): Ditto.
3112 (elmo-folder-unflag-important-dop): Ditto.
3113 (elmo-folder-flag-as-answered-dop): Ditto.
3114 (elmo-folder-unflag-answered-dop): Ditto.
3116 * elmo-cache.el (elmo-folder-msgdb-create): Call
3117 `elmo-global-flags-set'.
3119 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3120 Call `elmo-global-flags-set'.
3121 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3122 elmo-archive-parse-mmdf with argument `folder'.
3123 (elmo-archive-parse-mmdf): Added argument `folder';
3124 Call `elmo-global-flags-set'.
3126 * elmo-version.el (elmo-version): Up to 2.11.14.
3128 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3130 * modb.el (elmo-msgdb-length): Define.
3132 * elmo.el (elmo-make-folder): Fixed.
3133 (elmo-generic-folder-append-messages): Follow the API change.
3135 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3138 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3140 * modb.el: New file.
3142 * modb-entity.el: Ditto.
3144 * modb-legacy.el: Ditto.
3146 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3147 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3148 of `elmo-msgdb-overview-get-entity'.
3149 (elmo-msgdb-get-field): Ditto.
3150 (elmo-msgdb-merge): Moved to `elmo.el'.
3151 (elmo-msgdb-length): Removed; redefine as modb method.
3152 (elmo-msgdb-change-mark): Abolish.
3153 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3154 (elmo-msgdb-match-condition): Don't use mark.
3155 (elmo-msgdb-overview-get-entity): Abolish.
3156 Split modb part into `modb*.el'.
3158 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3160 * elmo-shimbun.el (shimbun-mua-search-id): Use
3161 `elmo-msgdb-message-entity' instead of
3162 `elmo-msgdb-overview-get-entity'.
3163 (elmo-shimbun-folder-shimbun-header): Ditto.
3164 (elmo-shimbun-get-headers): Ditto.
3165 (elmo-shimbun-update-overview): Ditto.
3167 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3169 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3171 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3172 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3174 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3175 `elmo-msgdb-mark-to-flags'.
3177 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3178 `elmo-msgdb-set-path'.
3180 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3182 * elmo-version.el (elmo-version): Up to 2.11.13.
3184 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3186 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3189 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3191 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3194 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3196 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3197 instead of `elmo-msgdb-get-cached'.
3198 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3200 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3201 (elmo-msgdb-set-cached): Ditto.
3202 (elmo-msgdb-set-flag): Rewrite.
3203 (elmo-msgdb-unset-flag): Ditto.
3205 * elmo-msgdb.el: Rewrite with luna.
3207 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3208 (elmo-folder-msgdb): Follow the change above.
3209 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3210 (elmo-folder-unmark-important): Follow the API change.
3211 (elmo-folder-mark-as-important): Ditto.
3212 (elmo-folder-unmark-read): Ditto.
3213 (elmo-folder-mark-as-read): Ditto.
3214 (elmo-folder-unmark-answered): Ditto.
3215 (elmo-folder-mark-as-answered): Ditto.
3216 (elmo-folder-clear): Likewise.
3218 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3219 instead of `elmo-msgdb-load' (renamed).
3221 * elmo-version.el (elmo-version): Up to 2.11.12.
3223 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3225 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3227 (elmo-message-mark): Abolish.
3228 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3229 instead of `elmo-msgdb-change-mark'.
3231 * elmo-pipe.el (elmo-message-mark): Abolish.
3233 * elmo-multi.el (elmo-message-mark): Ditto.
3235 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3236 (elmo-msgdb-unread-uncached-mark): Ditto.
3237 (elmo-msgdb-unread-cached-mark): Ditto.
3238 (elmo-msgdb-read-uncached-mark): Ditto.
3239 (elmo-msgdb-answered-cached-mark): Ditto.
3240 (elmo-msgdb-answered-uncached-mark): Ditto.
3241 (elmo-msgdb-important-mark): Ditto.
3242 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3244 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3246 (elmo-flag-table-load): Changed flag to list of flag.
3247 (elmo-flag-table-set): If flags is nil, set read flag.
3248 (elmo-flag-table-get): Return derived flags from global mark,
3249 cache status and saved flags.
3250 (elmo-msgdb-flag-table): Follow the change above.
3251 (elmo-msgdb-out-of-date-messages): New function.
3253 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3255 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3257 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3259 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3260 (elmo-nntp-msgdb-create-message): Ditto.
3262 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3264 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3266 (elmo-folder-msgdb-create): Follow the API change.
3268 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3269 (elmo-folder-append-messages): Ditto.
3271 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3272 (elmo-folder-append-buffer): Ditto.
3274 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3276 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3278 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3279 (elmo-archive-parse-mmdf): Ditto.
3281 * elmo-version.el (elmo-version): Up to 2.11.11.
3283 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3285 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3288 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3290 * elmo-pipe.el (elmo-message-flags): Defined.
3292 * elmo-multi.el (elmo-message-flags): Ditto.
3294 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3296 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3297 `elmo-msgdb-delete-msgs'.
3299 * elmo.el (elmo-folder-count-flags): Don't use
3300 `elmo-msgdb-get-mark-alist'.
3301 (elmo-folder-detach-messages): Follow the API change.
3303 * elmo.el (elmo-folder-list-messages): Append killed messages into
3304 result if `visible-only' is nil.
3306 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3308 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3309 (elmo-folder-update-number): Likewise.
3311 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3312 (elmo-pop3-sort-msgdb-by-original-number): Use
3313 `elmo-msgdb-sort-entities'.
3315 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3316 (elmo-msgdb-sort-by-date): Use it.
3317 (elmo-msgdb-overview-sort-by-date): Abolish.
3319 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3321 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3322 (elmo-msgdb-flags): New function.
3323 (elmo-msgdb-merge): Use elmo-msgdb-append.
3325 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3328 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3330 * elmo-dop.el (elmo-folder-status-dop): Use
3331 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3333 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3335 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3337 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3339 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3341 * elmo-util.el (elmo-with-progress-display): New macro.
3343 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3345 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3347 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3348 `elmo-folder-list-message-entities' instead of
3349 `elmo-msgdb-get-overview'.
3350 (elmo-map-folder-list-message-locations): Ditto.
3352 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3353 methods instead of treat directly).
3354 (elmo-msgdb-clear): Ditto.
3355 (elmo-msgdb-delete-msgs): Ditto.
3356 (elmo-msgdb-sort-by-date): Ditto.
3358 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3360 (elmo-nntp-folder-msgdb-create): Follow the API change.
3362 * elmo-version.el (elmo-version): Up to 2.11.10.
3364 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3366 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3367 (elmo-msgdb-flags-to-mark): Ditto.
3368 (elmo-msgdb-append-entity): Ditto.
3370 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3371 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3372 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3373 (elmo-archive-parse-mmdf): Ditto.
3375 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3377 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3379 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3381 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3383 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3385 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3387 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3389 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3391 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3392 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3395 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3396 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3397 instead of directly construction.
3398 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3399 instead of construct msgdb.
3401 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3402 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3403 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3404 instead of construct msgdb.
3406 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3408 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3409 when field is from or subject.
3411 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3413 * elmo-multi.el (elmo-message-entity-parent): Define.
3414 (elmo-folder-search): Rewrite.
3416 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3418 * elmo-multi.el (elmo-message-cached-p): Define.
3420 * elmo.el (elmo-message-cached-p): New method.
3421 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3422 (elmo-message-flags): New method.
3423 (elmo-message-flagged-p): New function.
3425 * elmo-version.el (elmo-version): Up to 2.11.9.
3427 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3429 * elmo-version.el (elmo-version): Up to 2.11.8.
3431 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3433 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3435 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3437 * elmo.el (elmo-folder-detach-messages): Undo last change.
3439 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3441 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3443 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3444 only when src folder type is pop3.
3446 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3448 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3449 elmo-msgdb-overview-entity-get-number instead of
3450 elmo-message-entity-number.
3452 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3454 * elmo-version.el (elmo-version): Up to 2.11.7.
3456 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3458 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3461 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3462 (elmo-msgdb-merge): New function.
3463 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3464 (elmo-msgdb-make-index): Rewrite.
3466 * elmo-version.el (elmo-version): Up to 2.11.6.
3468 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3469 use it as a the path for loading message entities.
3471 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3473 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3475 * elmo-filter.el (elmo-folder-set-message-modified): Set
3476 message-modified slot of itself if it does not require target msgdb.
3478 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3479 if folder length is zero.
3480 (elmo-mime-display-as-is): Ditto.
3482 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3484 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3486 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3488 * elmo.el (elmo-folder-set-message-modified): New method.
3489 (elmo-generic-folder-commit): Use it.
3490 (elmo-folder-synchronize): Ditto.
3492 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3493 (elmo-folder-commit): Remove duplicate definition.
3495 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3497 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3499 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3501 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3502 (elmo-strict-folder-diff): Ditto.
3503 (elmo-folder-set-info-max-by-numdb): Simplify.
3505 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3506 elmo-msgdb-list-messages.
3508 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3509 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3511 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3513 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3514 visible-only is non-nil.
3515 (elmo-folder-confirm-appends): Changed message.
3516 (elmo-folder-synchronize): Added argument disable-killed.
3518 * elmo-multi.el (elmo-folder-synchronize): Added argument
3521 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3523 * elmo-version.el (elmo-version): Up to 2.11.5.
3525 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3528 * elmo-util.el (elmo-list-filter): Simplify.
3530 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3531 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3532 (elmo-generic-folder-diff): Abolish argument.
3533 (elmo-msgdb-load): Don't use number-alist.
3535 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3537 * elmo-pipe.el (elmo-folder-diff): Ditto.
3539 * elmo-nmz.el (elmo-folder-diff): Ditto.
3541 * elmo-net.el (elmo-folder-diff): Ditto.
3543 * elmo-maildir.el (elmo-folder-diff): Ditto.
3545 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3547 * elmo-multi.el (elmo-folder-diff): Ditto
3548 (elmo-multi-folder-diff): Rewrite.
3550 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3552 * elmo-pipe.el (elmo-folder-msgdb): Define.
3554 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3556 * elmo.el (elmo-message-set-cached): Define as a method.
3558 * elmo-pipe.el (elmo-message-set-cached): Define.
3559 (elmo-find-fetch-strategy): Ditto.
3561 * elmo-multi.el (elmo-message-set-cached): Define.
3562 (elmo-find-fetch-strategy): Rewrite.
3564 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3566 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3568 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3570 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3571 instead of number-alist.
3573 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3574 mark nor message-id when msgdb of source folder is not loaded.
3576 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3578 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3580 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3582 * elmo.el (elmo-folder-length): Don't require msgdb.
3584 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3586 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3587 (elmo-message-field): Ditto.
3589 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3590 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3592 (elmo-map-folder-list-answereds): Define.
3593 (elmo-maildir-list-location): Treat 'R' info.
3594 (elmo-folder-msgdb-create): Treat flag-table.
3595 (elmo-folder-append-messages): Save flag-table.
3597 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3599 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3600 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3602 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3604 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3606 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3607 'read when mark is null.
3609 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3611 * elmo-version.el (elmo-version): Up to 2.11.4.
3613 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3615 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3616 (elmo-folder-mark-as-answered): Ditto.
3618 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3620 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3621 (elmo-pop3-get-session): Make msgdb directory after session.
3622 (elmo-folder-exists-p): Check exactly at the first time even when the
3623 elmo-pop3-exists-exactly is nil.
3625 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3626 (elmo-folder-list-messages): Define instead of
3627 elmo-folder-list-messages-internal.
3628 (elmo-folder-check): Check destination folder.
3629 (elmo-folder-synchronize): Drain the pipe.
3631 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3632 when msgdb is not loaded.
3634 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3636 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3637 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3640 * elmo.el (elmo-folder-kill-messages-before): New function.
3641 (elmo-folder-kill-messages): Ditto.
3642 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3644 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3645 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3646 killed not by synchronize (e.g. scoring).
3648 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3650 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3652 (elmo-folder-search): Follow the change above.
3654 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3655 into the candidates of search field.
3657 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3659 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3660 (elmo-msgdb-unset-flag): Ditto.
3662 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3664 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3666 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3667 (elmo-folder-commit): Define.
3668 (elmo-folder-synchronize): Ditto.
3669 (elmo-folder-list-flagged): Ditto.
3670 (elmo-folder-commit): Ditto.
3671 (elmo-folder-length): Ditto.
3672 (elmo-folder-count-flags): Ditto.
3673 (elmo-message-mark): Ditto.
3674 (elmo-message-field): Ditto.
3675 (elmo-message-entity): Ditto.
3676 (elmo-message-folder): Ditto.
3678 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3680 * elmo.el (elmo-message-field): Define as a method.
3682 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3683 (elmo-message-field): Define.
3685 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3686 (elmo-folder-list-importants): Ditto.
3687 (elmo-folder-list-answereds): Ditto.
3689 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3691 (elmo-folder-mark-as-read): Ditto.
3692 (elmo-folder-unmark-read): Ditto.
3693 (elmo-folder-mark-as-answered): Ditto.
3694 (elmo-folder-unmark-answered): Ditto.
3695 (elmo-folder-list-flagged): Define.
3696 (elmo-folder-commit): Ditto.
3697 (elmo-folder-length): Ditto.
3698 (elmo-folder-count-flags): Ditto.
3700 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3702 * elmo.el (elmo-folder-detach-messages): New method.
3703 (elmo-folder-move-messages): Use it.
3704 (elmo-folder-synchronize): Ditto.
3706 * elmo-multi.el (elmo-folder-detach-messages): Define.
3708 * elmo.el (elmo-message-copy-entity): New function.
3709 (elmo-message-entity-set-number): Ditto.
3710 (elmo-message-mark): Define as method.
3712 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3713 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3714 (elmo-message-entity): Fixed last change.
3715 (elmo-message-mark): Define.
3716 (elmo-folder-msgdb-create): Abolish.
3717 (elmo-multi-folder-append-msgdb): Ditto.
3718 (elmo-multi-folder-diff): Fixed.
3719 (elmo-multi-split-number-alist): Removed.
3720 (elmo-multi-split-mark-alist): Removed.
3721 (elmo-folder-list-messages): Define.
3722 (elmo-folder-list-messages-internal): Removed.
3724 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3725 local file messages.
3726 (elmo-folder-msgdb-create): Fixed read mark.
3728 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3730 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3733 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3735 * elmo.el (elmo-folder-list-message-entities): Define as inline
3737 (elmo-folder-messages): Abolish.
3739 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3741 (elmo-folder-synchronize): Define.
3742 (elmo-message-entity): Define.
3744 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3746 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3747 elmo-imap4-session-select-mailbox.
3749 * elmo.el (elmo-folder-move-messages): Don't display any message.
3751 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3753 (elmo-imap4-session-check): Don't wait CHECK response.
3754 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3756 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3758 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3760 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3762 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3764 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3767 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3768 (elmo-folder-list-message-entities): Added argument in-msgdb and
3770 (elmo-folder-synchronize): Define as a method.
3772 * elmo-nntp.el (elmo-folder-initialize): Don't use
3773 elmo-nntp-default-user if zero-length username is specified
3776 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3778 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3779 server name in case with username.
3780 (XXX: this is ad-hoc fix against username includes "@", it
3781 should be solved fundamentally)
3783 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3785 * elmo-nntp.el (elmo-nntp-debug): New function.
3786 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3787 (elmo-network-authenticate-session): Hide auth-info from the log.
3789 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3790 user name if it is equal to elmo-nntp-default-user.
3792 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3794 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3795 instead of shimbun-server-internal;
3796 Use shimbun-current-group instead of shimbun-current-group-internal.
3797 (elmo-folder-plugged-p): Use shimbun-server instead of
3798 shimbun-server-internal.
3799 (elmo-folder-set-plugged): Ditto.
3800 (elmo-net-port-info): Ditto.
3801 (elmo-folder-check): Ditto.
3802 (elmo-folder-expand-msgdb-path): Ditto.
3803 (elmo-folder-list-subfolders): Ditto.
3805 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3807 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3808 Convert field-name to lower case.
3809 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3811 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3813 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3814 `message' and `error' take format string.
3816 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3818 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3820 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3822 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3823 recursive call (can't byte compile on emacs 20.7).
3825 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3827 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3828 (elmo-folder-list-message-entities): New API.
3829 (elmo-message-entity): Ditto.
3830 (elmo-message-entity-parent): Ditto.
3831 (elmo-folder-do-each-message-entity): Ditto.
3832 (elmo-message-entity-number): Ditto.
3833 (elmo-message-entity-field): Ditto.
3834 (elmo-message-entity-set-field): Ditto.
3835 (elmo-folder-count-flags): Ditto.
3836 (elmo-folder-length): Ditto.
3838 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3841 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3842 (elmo-msgdb-count-marks): Abolish.
3843 (elmo-msgdb-make-entity): Ditto.
3844 (elmo-msgdb-do-each-entity): Ditto.
3845 (elmo-msgdb-message-entity): New inline function.
3846 (elmo-msgdb-message-entity-field): Ditto.
3847 (elmo-msgdb-message-entity-set-field): Ditto.
3848 (elmo-msgdb-make-message-entity): New function.
3850 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3852 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3853 to flag. (All other related portions are changed.)
3854 (elmo-folder-msgdb-create): Likewise.
3855 (elmo-generic-folder-append-messages): Use flag-table instead of
3857 (elmo-folder-move-messages): Removed redundant process.
3858 (elmo-folder-synchronize): Likewise.
3860 * elmo-msgdb.el (elmo-flag-table-get): New function.
3861 (elmo-flag-table-save): Fixed.
3862 (elmo-msgdb-length): New inline function.
3863 (elmo-msgdb-flag-table): New function.
3864 (elmo-msgdb-mark): Add optional argument new.
3865 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3866 (elmo-msgdb-seen-list): Ditto.
3867 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3870 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3872 * elmo.el (elmo-message-set-mark): Abolish.
3873 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3874 (All related portions are changed.)
3876 * elmo-msgdb.el (toplevel): Added comment.
3877 (elmo-load-msgdb): Added 4th element `path'.
3878 (elmo-msgdb-append): Follow the change above.
3879 (elmo-msgdb-clear): Ditto.
3880 (elmo-msgdb-delete-msgs): Ditto.
3881 (elmo-msgdb-get-path): New inline function.
3882 (elmo-msgdb-set-path): Ditto.
3883 (elmo-flag-table-filename): New variable.
3884 (elmo-flag-table-load): New function.
3885 (elmo-flag-table-set): Ditto.
3886 (elmo-flag-table-save): Ditto.
3887 (elmo-msgdb-get-field-value): Abolish.
3888 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3890 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3892 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3893 the folder has been deleted successfully.
3894 * elmo-imap4.el (elmo-folder-delete): Ditto.
3895 * elmo-archive.el (elmo-folder-delete): Ditto.
3896 * elmo-localdir.el (elmo-folder-delete): Ditto.
3897 * elmo-maildir.el (elmo-folder-delete): Ditto.
3899 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3901 * elmo-util.el (elmo-string-member-ignore-case): New function.
3902 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3903 (elmo-imap4-fetch-callback-1-subr): Likewise.
3905 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3907 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3908 the case of the name attribute "\Noselect".
3910 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3912 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3914 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3915 flist, is not always a member of onum-alist.
3917 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3919 * elmo-version.el (elmo-version): Up to 2.11.3.
3921 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3923 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3924 copied from localdir's one.
3926 * elmo-pipe.el (elmo-folder-rename): New method, rename
3927 destination folder with leaving source folder as it is.
3929 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3931 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3934 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3936 * elmo-version.el (elmo-version): Up to 2.11.2.
3938 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3940 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3941 shimbun-open in case of "@".
3942 (elmo-folder-open-internal): Cope with shimbun = nil case.
3943 (elmo-folder-plugged-p): Ditto.
3944 (elmo-folder-list-subfolders): Make list for "@/" group.
3946 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3948 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3949 mailbox (e.g. for %~/something).
3951 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3953 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3954 Replace nested conditional with guard clauses.
3956 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3958 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3961 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3964 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3966 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3967 Replace nested conditional with guard clauses.
3969 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3971 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3972 (elmo-passwd-alist-save): Ditto.
3973 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3975 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3977 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3978 dir-name only if it is absolute path.
3979 (TODO: distinguish +/something and +something)
3981 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3983 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3984 path for "+~/something".
3986 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3988 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3989 as non-directory, cause error before rename-file.
3990 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3991 apropriately, mimic localdir's one.
3992 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3994 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3996 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3998 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4000 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4002 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4004 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4005 is included in the global-mark or not.
4007 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4009 * utf7.el (toplevel): Avoid error when the function
4010 find-coding-system does not exist.
4012 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4014 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4015 cache even if the folder is plugged.
4016 (elmo-nntp-search-primitive): Do nothing when body search is
4017 invoked (although it is not used by the change above).
4018 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4020 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4022 * elmo-version.el (elmo-version): Up to 2.11.1.
4024 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4026 * elmo-archive.el: Specify charset.
4028 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4030 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4031 process buffer lives or not.
4033 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4034 while flushing queues (It causes infinite loop).
4036 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4038 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4040 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4042 * utf7.el (toplevel): Check the ucs features dynamically.
4043 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4045 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4046 folder is creatabe or not if it already exists.
4048 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4050 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4052 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4054 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4055 (elmo-imap4-read-response): Take care of garbage response.
4057 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4059 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4060 just return nil instead of error.
4062 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4064 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4065 search-key is "body".
4067 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4069 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4070 of elmo-string-matched-assoc to use match-data.
4071 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4073 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4075 * elmo-split.el (elmo-split->): New function.
4076 (elmo-split-<): Ditto.
4078 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4080 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4081 workaround for invalid message-id.
4083 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4085 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4086 return normal pop3 session or pop3 biff session.
4088 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4090 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4091 info part to the cur files when the new files already have it.
4092 (Adviced by Jared Rhine <jared@wordzoo.com>)
4094 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4096 * elmo-split.el (elmo-split-default-action): New variable.
4097 (elmo-split-subr): Use it if all other conditions are passed.
4098 Extend `fname' and rename it as `action'. (implemented
4099 Teranishi-san's idea in [wl:10800])
4101 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4103 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4104 * elmo-util.el: Ditto.
4106 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4108 * elmo.el (elmo-message-accessible-p): Renamed from
4109 elmo-message-cached-p and rewritten.
4111 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4113 * elmo.el (elmo-folder-list-flagged): New generic function.
4114 (elmo-folder-list-importants): New implementation.
4115 (elmo-folder-list-answereds): Ditto.
4116 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4118 (elmo-message-cached-p): New function.
4119 (elmo-message-set-flag): Ditto (no content).
4120 (elmo-message-unset-flag): Ditto.
4121 (elmo-folder-list-messages-mark-match): Abolish.
4123 * elmo-util.el (elmo-regexp-opt): New function.
4125 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4126 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4128 (elmo-msgdb-list-flagged): New function.
4130 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4131 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4134 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4136 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4138 * elmo-version.el (elmo-version): Up to 2.11.0.
4140 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4142 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4143 `elmo-file-cache-exists-p'; use proper mark that depends on
4145 (elmo-msgdb-unset-flag): Ditto.
4146 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4148 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4149 with 4th argument `use-cache'.
4151 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4153 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4154 (elmo-folder-mark-as-important): Ditto.
4155 (elmo-folder-unmark-read): Ditto.
4156 (elmo-folder-mark-as-read): Ditto.
4157 (elmo-folder-unmark-answered): Ditto.
4158 (elmo-folder-mark-as-answered): Ditto.
4160 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4162 (elmo-msgdb-mark): Likewise.
4163 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4164 (elmo-msgdb-unset-flag): Likewise.
4166 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4168 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4170 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4173 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4175 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4176 set spool-length to 0.
4178 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4180 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4181 (elmo-dop-queue-flush): Fixed last change.
4183 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4185 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4186 if require-msgdb slot is nil.
4187 (elmo-folder-list-importants): Likewise.
4189 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4191 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4194 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4195 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4198 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4200 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4202 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4204 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4206 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4208 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4210 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4211 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4213 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4215 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4216 the problem reported by Sean Rima [wl-en:180].
4218 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4220 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4222 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4224 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4226 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4228 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4230 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4232 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4234 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4236 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4239 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4241 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4242 (elmo-folder-mark-as-read): Follow the API change.
4243 (elmo-message-set-cached): New function.
4245 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4247 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4249 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4250 (elmo-folder-mark-as-important): Ditto.
4251 (elmo-folder-unmark-read): Ditto.
4252 (elmo-folder-mark-as-read): Ditto.
4253 (elmo-folder-unmark-answered): Ditto.
4254 (elmo-folder-mark-as-answered): Ditto.
4256 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4257 (elmo-folder-unmark-important): Ditto.
4258 (elmo-folder-mark-as-read): Ditto.
4259 (elmo-folder-unmark-read): Ditto.
4260 (elmo-folder-mark-as-answered): Ditto.
4261 (elmo-folder-unmark-answered): Ditto.
4263 * elmo-mark.el (toplevel): Removed some mark method definitions.
4265 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4266 (elmo-map-folder-mark-as-answered): Ditto.
4267 (elmo-folder-unmark-important): Add :before qualifier.
4268 (elmo-folder-mark-as-important): Ditto.
4269 (elmo-folder-unmark-read): Ditto.
4270 (elmo-folder-mark-as-read): Ditto.
4271 (elmo-folder-unmark-answered): Define.
4272 (elmo-folder-mark-as-answered): Ditto.
4274 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4275 (elmo-map-folder-unmark-answered): Ditto.
4277 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4279 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4280 (elmo-folder-mark-as-important): Ditto.
4281 (elmo-folder-unmark-read): Ditto.
4282 (elmo-folder-mark-as-read): Ditto.
4283 (elmo-folder-unmark-answered): Ditto.
4284 (elmo-folder-mark-as-answered): Ditto.
4286 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4287 `mark'; evaluate mark condition.
4288 (elmo-msgdb-match-condition-internal): New function.
4289 (elmo-msgdb-match-condition): Call it; changed argument.
4291 * elmo.el (elmo-folder-search): Follow the API change on
4292 `elmo-msgdb-match-condition'.
4294 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4296 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4297 original mark is non-nil.
4299 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4301 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4302 (elmo-map-folder-list-answereds): New method.
4303 (elmo-folder-list-unreads): Add :around qualifier.
4304 (elmo-folder-list-importants): Ditto.
4305 (elmo-folder-list-answereds): Ditto.
4307 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4309 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4311 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4312 method if msgdb is not required.
4313 (elmo-filter-folder-list-importants): Don't treat global-mark.
4315 * elmo.el (elmo-folder-list-importants): Ditto.
4317 * elmo-net.el (elmo-folder-list-importants): Ditto.
4319 * elmo-map.el (elmo-folder-list-importants): Ditto.
4321 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4323 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4324 (elmo-imap4-folder-list-any-plugged): New function.
4325 (elmo-imap4-search-internal-primitive): Use it.
4327 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4328 only when require-msgdb slot is non-nil.
4329 (elmo-folder-close): Clear target folder's msgdb.
4331 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4333 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4334 (elmo-pop3-msgdb-create-by-header): Ditto.
4335 (elmo-pop3-msgdb-create-message): Ditto.
4337 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4339 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4341 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4343 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4344 (elmo-folder-msgdb-create): Ditto.
4345 (elmo-nntp-folder-msgdb-create): Ditto.
4346 (elmo-nntp-msgdb-create-by-header): Ditto.
4347 (elmo-nntp-msgdb-create-message): Ditto.
4348 (elmo-folder-list-unreads): Define.
4350 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4351 (elmo-folder-append-messages): Ditto.
4352 (elmo-folder-list-unreads): Define.
4353 (elmo-folder-list-importants): Ditto.
4354 (elmo-folder-list-answereds): Ditto.
4356 * elmo-net.el (elmo-folder-list-unreads): Define.
4357 (elmo-folder-list-importants): Ditto.
4358 (elmo-folder-list-answereds): Ditto.
4359 (elmo-folder-list-answereds-plugged): Ditto.
4360 (elmo-folder-msgdb-create): Follow the API change.
4361 (elmo-folder-msgdb-create-unplugged): Ditto.
4362 (elmo-folder-unmark-answered): Define.
4363 (elmo-folder-mark-as-answered-unplugged): Ditto.
4364 (elmo-folder-unmark-answered-unplugged): Ditto.
4366 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4367 (elmo-msgdb-unread-uncached-mark): Ditto.
4368 (elmo-msgdb-unread-cached-mark): Ditto.
4369 (elmo-msgdb-read-uncached-mark): Ditto.
4370 (elmo-msgdb-answered-cached-mark): Ditto.
4371 (elmo-msgdb-answered-uncached-mark): Ditto.
4372 (elmo-msgdb-important-mark): Ditto.
4373 (elmo-msgdb-set-mark): Rewrite.
4374 (elmo-msgdb-count-marks): Rewrite.
4375 (elmo-msgdb-mark-alist-set): Abolish.
4376 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4377 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4379 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4380 (elmo-folder-close): Define.
4381 (elmo-folder-msgdb-create): Follow the API change.
4382 (elmo-folder-list-unreads): Rewrite.
4383 (elmo-folder-mark-as-important): Ditto.
4384 (elmo-folder-unmark-important): Ditto.
4385 (elmo-folder-mark-as-read): Ditto.
4386 (elmo-folder-unmark-read): Ditto.
4387 (elmo-folder-mark-as-answered): Define.
4388 (elmo-folder-unmark-answered): Ditto.
4390 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4391 (elmo-folder-append-messages): Ditto.
4393 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4395 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4396 (elmo-folder-list-importants): Ditto.
4398 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4399 (elmo-folder-append-messages): Ditto.
4401 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4403 (elmo-folder-msgdb-create-plugged): Ditto.
4404 (elmo-folder-append-messages): Ditto.
4405 (elmo-folder-list-answereds-plugged): Define.
4406 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4407 (elmo-folder-unmark-answered-plugged): Define.
4408 (elmo-folder-mark-as-answered-plugged): Ditto.
4409 (elmo-folder-search-requires-msgdb-p): Ditto.
4411 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4412 (elmo-folder-initialize): Set it.
4413 (elmo-folder-msgdb): Define.
4414 (elmo-folder-check): Call elmo-folder-synchronize.
4415 (elmo-folder-close): Define.
4416 (elmo-folder-commit): Ditto.
4417 (elmo-folder-msgdb-create): Rewrite.
4418 (elmo-folder-list-unreads): Ditto.
4419 (elmo-folder-list-importants): Ditto.
4420 (elmo-folder-mark-as-read): Ditto.
4421 (elmo-folder-unmark-read): Ditto.
4422 (elmo-folder-mark-as-important): Ditto.
4423 (elmo-folder-unmark-important): Ditto.
4424 (elmo-folder-mark-as-answered): Define.
4425 (elmo-folder-unmark-answered): Ditto.
4427 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4428 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4429 (elmo-dop-queue-method-name-alist): Likewise.
4430 (elmo-folder-mark-as-answered-dop): New inline function.
4431 (elmo-folder-unmark-answered-dop): Ditto.
4432 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4434 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4435 (elmo-folder-msgdb-create): Ditto.
4436 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4437 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4438 (elmo-archive-parse-mmdf): Ditto.
4440 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4441 (elmo-folder-list-unreads-internal): Ditto.
4443 * elmo.el (elmo-folder-msgdb): Define as generic function.
4444 (elmo-folder-list-messages): Added argument `in-msgdb'.
4445 (elmo-folder-list-unreads): Define as generic function.
4446 (elmo-folder-list-importants): Ditto.
4447 (elmo-folder-list-answereds): Ditto.
4448 (elmo-folder-list-messages-with-global-mark): New function.
4449 (elmo-folder-msgdb-create): Removed mark arguments.
4450 (elmo-folder-unmark-answered): New generic function.
4451 (elmo-folder-mark-as-answered): Ditto.
4452 (elmo-folder-append-messages): Removed argunment `unread-marks'
4453 (elmo-folder-list-unreads-internal): Abolish.
4454 (elmo-folder-list-importants-internal): Ditto.
4455 (elmo-folder-search-requires-msgdb-p): New generic function.
4456 (elmo-folder-search-requires-msgdb-p-internal): New function.
4457 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4459 (elmo-folder-search-fast): Added key 'mark'.
4460 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4461 instead of unread-marks argument.
4462 (elmo-folder-move-messages): Removed argunment `unread-marks'
4463 (elmo-folder-unmark-important): Define.
4464 (elmo-folder-mark-as-important): Ditto.
4465 (elmo-folder-unmark-read): Ditto.
4466 (elmo-folder-mark-as-read): Ditto.
4467 (elmo-folder-unmark-answered): Ditto.
4468 (elmo-folder-mark-as-answered): Ditto.
4469 (elmo-folder-replace-marks): Abolish.
4470 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4472 (elmo-folder-synchronize): Removed mark arguments;
4473 return crosspost only number.
4475 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4477 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4478 Remove redundunt connectivity check.
4480 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4482 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4483 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4485 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4487 * pldap.el (ldap-decode-string): Return string as-is if
4488 `ldap-coding-system' is nil.
4489 (ldap-encode-string): Ditto.
4490 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4491 (ldap-default-host): Fixed docstring.
4493 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4495 * elmo-util.el (elmo-warning): Define as a macro which uses
4496 `display-warning' if it is defined as a function.
4498 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4499 (elmo-split-equal): Use it.
4500 (elmo-split-match): Ditto.
4501 (elmo-split-message-entity): New buffer-local variable.
4502 (elmo-split-subr): Set it.
4504 * elmo-version.el (elmo-version): Up to 2.9.15.
4506 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4508 * elmo-imap4.el (elmo-network-initialize-session):
4509 Check capability after starttls.
4511 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4513 * elmo-util.el (elmo-list-delete): Added optional argument
4516 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4518 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4520 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4522 * elmo-imap4.el (elmo-folder-initialize): Don't use
4523 elmo-imap4-default-mailbox.
4525 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4527 * elmo-split.el (toplevel): Use `product-provide'.
4528 (elmo-split): Checkdoc.
4530 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4532 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4533 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4534 the function `elmo-imap4-debug-1'.
4536 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4538 * elmo-split.el (elmo-split): Moved to run hooks and to show
4539 message from elmo-split-subr.
4540 (elmo-split-subr): Follow the change above.
4542 * elmo-split.el (elmo-split-subr): New function (renamed from
4544 (elmo-split): Changed to call elmo-split-subr by element of
4546 (elmo-split-folder): Changed customization type to choice.
4548 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4550 * elmo-split.el (elmo-split-and): Fixed condition.
4552 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4554 * elmo-split.el: New file.
4555 (elmo-split): Fixed logic.
4556 Display "Test:" instead of "Folder:" when reharsal.
4558 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4561 * elmo-version.el (elmo-version): Up to 2.9.14.
4563 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4566 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4568 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4569 message with no message-id field.
4571 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4573 * elmo-version.el (elmo-version): Up to 2.9.13.
4575 * elmo-dop.el (elmo-folder-status-dop): Fix.
4577 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4579 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4581 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4582 changing default value of default-mime-charset.
4583 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4585 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4587 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4588 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4589 instead of elmo-dop-queue-method-name-alist to check merging queue.
4590 (elmo-folder-delete-messages-dop): Delete from queue if negative
4592 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4593 file is already removed.
4595 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4597 * elmo-vars.el: Bind colon keywords for old Emacsen.
4599 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4601 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4602 against non-exsisting charset.
4604 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4606 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4607 Use eword-decode-and-unfold-unstructured-field-body.
4609 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4610 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4611 exists to decode raw subject string.
4612 (toplevel): Require 'mime.
4614 * elmo-version.el (elmo-version): Up to 2.9.12.
4616 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4618 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4619 (elmo-msgdb-set-mark): Ditto.
4621 * elmo-version.el (elmo-version): Up to 2.9.11.
4623 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4625 * elmo-util.el (elmo-delete-match-files): New function.
4627 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4628 instead of elmo-delete-directory.
4630 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4631 elmo-hash-minimun-size as 63.
4633 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4634 elmo-diff-unread is nil.
4636 * elmo-imap4.el (elmo-folder-open): Fix.
4638 * elmo.el (elmo-message-mark): Rewrite.
4639 (elmo-message-field): Ditto.
4640 (elmo-message-set-mark): Ditto.
4641 (elmo-folder-replace-marks): New function.
4642 (elmo-generic-folder-append-msgdb): Removed third argument for
4644 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4645 (elmo-msgdb-load): New implementation.
4647 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4649 * elmo-util.el (elmo-list-insert): New implementation.
4651 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4652 argument for elmo-msgdb-append.
4655 * elmo-msgdb.el (elmo-load-msgdb): New function.
4656 (elmo-make-msgdb): Ditto.
4657 (elmo-msgdb-get-index): New inline function.
4658 (elmo-msgdb-set-index): Ditto.
4659 (elmo-msgdb-get-entity-hashtb): Ditto.
4660 (elmo-msgdb-get-mark-hashtb): Ditto.
4661 (elmo-msgdb-get-mark): Ditto.
4662 (elmo-msgdb-set-mark): Ditto.
4663 (elmo-msgdb-count-marks): Ditto.
4664 (elmo-msgdb-get-number): Ditto.
4665 (elmo-msgdb-get-field): Ditto.
4666 (elmo-msgdb-seen-list): Ditto.
4667 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4668 (elmo-msgdb-delete-msgs): Follow the changes above.
4669 (elmo-msgdb-overview-get-entity): Ditto.
4670 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4671 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4673 (elmo-msgdb-make-index): Likewise.
4674 (elmo-msgdb-append): Removed third argument.
4675 (elmo-msgdb-clear): Clear index as nil.
4676 (elmo-folder-set-info-hashtb): Removed.
4677 (elmo-folder-set-info-max-by-numdb): Ditto.
4678 (elmo-folder-info-make-hashtb): Ditto.
4680 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4682 * elmo-map.el (elmo-folder-pack-number): Ditto.
4684 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4686 * elmo-version.el (elmo-version): Up to 2.9.10.
4688 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4690 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4692 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4694 * elmo-utils.el (elmo-make-directory): Add option.
4695 Default file mode is 700.
4697 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4699 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4701 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4703 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4706 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4709 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4711 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4712 (elmo-shimbun-folder-entity-hash): New function.
4713 (elmo-shimbun-folder-shimbun-header): Ditto.
4714 (elmo-shimbun-entity-to-header): Ditto.
4715 (elmo-shimbun-msgdb-to-headers): Removed.
4716 (elmo-shimbun-folder-setup): Ditto.
4717 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4719 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4720 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4721 Removed useless local bind.
4722 (elmo-folder-open-internal): Don't call
4723 `elmo-shimbun-folder-setup'.
4724 (elmo-folder-close-internal): Clear entity-hash slot.
4725 (elmo-folder-clear): Ditto.
4726 (elmo-shimbun-msgdb-create-entity): Use
4727 `elmo-shimbun-folder-shimbun-header'.
4728 (elmo-map-message-fetch): Ditto.
4729 (elmo-shimbun-update-overview): Use overview entity instead of
4730 shimbun header to lookup id by references.
4731 (elmo-map-folder-list-message-locations): Use not only headers but
4732 also overviews to list locations.
4734 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4736 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4739 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4741 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4743 * elmo-util.el (elmo-read-search-condition-internal): Give default
4746 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4748 * elmo-util.el (elmo-condition-parse-search-value): Accept
4749 YYYY-MM-DD format to search.
4750 * elmo-date.el (elmo-date-get-datevec): Likewise.
4752 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4754 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4757 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4759 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4762 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4764 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4765 case from `elmo-folder-exists-p'.
4766 (elmo-folder-exists-p): Removed.
4767 (elmo-folder-creatable-p) Ditto.
4769 * elmo-net.el (elmo-folder-create): Defined.
4770 (elmo-folder-create-unplugged): New function.
4771 (elmo-folder-exists-p): Changed default value to nil from t.
4773 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4774 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4776 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4777 `elmo-create-folder-dop' and append queue
4778 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4779 (elmo-folder-create-dop-delayed): New function.
4781 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4783 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4785 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4786 (elmo-folder-writable-p) : Ditto.
4788 * elmo-version.el (elmo-version): Up to 2.9.9.
4790 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4792 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4793 `elmo-message-use-cache-p' returns nil.
4794 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4795 (ignore cache file and refer the substance in local folders)
4797 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4799 * elmo-version.el (elmo-version): Up to 2.9.8.
4801 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4803 * elmo-version.el (elmo-version): Up to 2.9.7.
4805 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4807 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4809 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4811 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4813 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4815 (elmo-map-folder-list-message-locations): Reverse location list.
4817 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4819 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4821 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4823 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4825 (elmo-nntp-folder-list-subfolders): Follow the change above.
4827 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4829 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4830 name if authentication type is specified.
4832 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4834 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4836 (elmo-default-nntp-stream-type): Ditto.
4837 (elmo-default-pop3-stream-type): Ditto.
4839 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4841 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4843 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4845 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4847 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4849 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4850 (elmo-maildir-folder-path): Ditto.
4851 (elmo-maildir-list): Ditto (abolished).
4853 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4855 * elmo-version.el (elmo-version): Up to 2.9.6.
4857 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4859 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4860 (elmo-maildir-folder-path): Ditto.
4861 (elmo-msgdb-directory): Ditto.
4862 (elmo-passwd-life-time): Ditto.
4863 (elmo-msgdb-extra-fields): Ditto.
4864 (elmo-enable-disconnected-operation): Ditto.
4866 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4868 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4870 (elmo-pop3-default-authenticate-type): Ditto.
4872 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4874 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4876 (elmo-pop3-default-authenticate-type): Ditto.
4878 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4880 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4881 mailbox to new-folder.
4883 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4885 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4886 less than new, set new as unread.
4888 * elmo-util.el (elmo-string): Don't put text-property if nil.
4890 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4892 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4893 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4895 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4897 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4898 is nil on `completing-read'.
4900 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4902 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4904 (elmo-imap4-parse-namespace-subr): Ditto.
4905 (elmo-folder-list-subfolders): Append a delimiter when the specified
4906 folder path is a root with namespace and does not end with delimiter.
4908 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4910 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4913 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4915 * elmo-util.el (elmo-save-buffer): The first argument of message
4916 is a format control string.
4918 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4920 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4921 `elmo-folder-diff').
4922 (elmo-diff-unread): Likewise.
4924 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4926 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4927 is t on `completing-read'.
4929 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4931 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4932 method of target folder with self mark-alist if MARK-ALIST is nil.
4934 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4936 * elmo-version.el (elmo-version): Up to 2.9.5.
4938 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4940 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4941 (elmo-dop-merge-funcs): Remove.
4943 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4945 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4946 Return t if PATH is directory, too.
4947 Use `dolist' instead of while loop.
4949 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4951 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4954 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4956 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4958 (elmo-folder-list-messages-unplugged): Return t if
4959 elmo-enable-disconnected-operation is nil.
4961 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4962 `elmo-folder-list-messages-internal'.
4964 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4966 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4967 Change to looking-at `[23][0-9]+'.
4968 (elmo-network-initialize-session): Use 'error-msg'
4969 * elmo-net.el (elmo-network-open-session): Set unplugged
4970 if elmo-network-initialize-session returns 'elmo-open-err.
4972 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4974 * elmo-version.el (elmo-version): Up to 2.9.4.
4976 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4978 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4979 `elmo-folder-list-messages-internal'.
4981 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4983 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4984 (elmo-message-match-condition): New method.
4985 (elmo-folder-search-fast): New inline function.
4986 (elmo-msgdb-search): Removed.
4988 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4989 target folder if it is unplugged.
4990 (elmo-folder-list-messages-internal): Return t if target folder is
4991 unplugged and itself is persistent; In this case, use list be
4994 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4995 (elmo-msgdb-search-internal-primitive): Ditto.
4996 (elmo-msgdb-match-condition): New function.
4997 (elmo-msgdb-match-condition-primitive): Ditto.
4999 * elmo-util.el (elmo-filter-condition-p): New macro.
5001 * elmo-cache.el (elmo-folder-search): Removed.
5003 * elmo-localdir.el (elmo-folder-search): Ditto.
5005 * elmo-maildir.el (elmo-folder-search): Ditto.
5007 * elmo-mark.el (elmo-folder-search): Ditto.
5009 * elmo-nmz.el (elmo-folder-search): Ditto.
5011 * elmo-sendlog.el (elmo-folder-search): Ditto.
5013 * elmo-shimbun.el (elmo-folder-search): Ditto.
5015 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5016 if folder is unplugged.
5018 * elmo-nntp.el (elmo-folder-search): Likewise.
5019 (elmo-nntp-search-internal): New function.
5021 * elmo-version.el (elmo-version): Up to 2.9.3.
5023 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5025 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5027 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5029 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5031 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5033 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5035 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5037 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5038 (elmo-map-folder-list-message-locations): Do drive letter conversion
5039 on Windows environment.
5040 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5041 (elmo-map-message-fetch): Ditto.
5043 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5045 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5046 (elmo-network-initialize-session): Ditto.
5048 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5050 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5052 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5054 * elmo-util.el (elmo-progress-clear): Ditto.
5056 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5057 `DD-Mon-YYYY' type date.
5059 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5061 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5062 `elmo-date-make-sortable-string' instead of
5063 `timezone-make-date-sortable'.
5065 * elmo-date.el (elmo-date-make-sortable-string): Use
5066 `timezone-make-time-string'.
5068 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5070 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5072 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5073 `since'; Fix timezone.
5075 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5077 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5079 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5081 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5083 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5085 * elmo.el (elmo-generic-folder-append-messages): Make
5086 fetch-strategy with `use-cache' as 'maybe. Check return value of
5087 `elmo-message-fetch'.
5088 (elmo-message-fetch): Return return value of
5089 `elmo-message-fetch-with-cache-process'.
5090 (elmo-message-fetch-with-cache-process): Return non-nil if
5091 fetching was succeed. Load cache when fetching was failed and
5092 fetch-strategy-use-cache is 'maybe.
5094 * elmo-util.el (elmo-file-cache-load): New function.
5096 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5099 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5100 non-nil if fetching was succeed.
5102 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5104 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5106 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5107 (elmo-message-fetch-with-cache-process): Likwise.
5109 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5111 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5113 * elmo-version.el (elmo-version): Up to 2.9.2.
5115 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5117 * elmo.el (elmo-folder-delete): Delete msgdb path.
5119 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5121 * elmo-maildir.el (elmo-folder-delete): Ditto.
5123 * elmo-localdir.el (elmo-folder-delete): Ditto.
5125 * elmo-imap4.el (elmo-folder-delete): Ditto.
5127 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5129 * elmo.el (luna-define-class): Added `biff' slot.
5131 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5132 (elmo-pop3-debug-inhibit-logging): Abolished.
5133 (elmo-network-close-session): Eliminated needless let.
5134 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5135 (elmo-pop3-send-command): Added `no-log' argument.
5136 (elmo-pop3-process-filter): Use `with-current-buffer'.
5137 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5139 (elmo-pop3-auth-apop): Likewise.
5140 (elmo-network-authenticate-session): Likewise.
5142 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5145 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5146 string to determine protocol.
5147 (elmo-network-session-name-prefix): Abolished.
5148 (elmo-network-session-cache-key): Follow the change above.
5149 (elmo-network-open-session): Ditto.
5151 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5152 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5154 * elmo-version.el (elmo-version): Up to 2.9.1.
5156 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5157 unmatch condition checking.
5159 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5162 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5164 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5166 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5168 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5169 test for while loop to execute at least one SEARCH command.
5171 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5173 * elmo-version.el (elmo-version): Up to 2.9.0.
5175 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5177 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5178 (elmo-archive-folder-path): Define.
5179 (elmo-folder-initialize): Setup `dir-name' slot.
5180 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5181 Use `dir-name' as prefix of each subfolders.
5182 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5184 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5186 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5187 (elmo-pipe-folder-list-target-messages): New internal function.
5188 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5190 (elmo-pipe-folder-copied-list-load): New function.
5191 (elmo-pipe-folder-copied-list-save): Ditto.
5192 (elmo-folder-open-internal): Follow the change above.
5193 (elmo-folder-status): Fixed for copy.
5195 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5197 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5199 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5201 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5202 elmo-copy-file instead of elmo-add-name-to-file.
5204 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5206 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5209 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5210 of accept-process-output as 1.
5211 (elmo-pop3-read-contents): Ditto.
5212 (elmo-pop3-read-body): Ditto.
5214 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5216 * elmo-version.el (product-version-as-string): Remove define.
5218 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5220 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5221 (elmo-imap4-copy-messages): Chop number set using
5222 `elmo-imap4-number-set-chop-length'.
5223 (elmo-imap4-set-flag): Ditto.
5224 (elmo-imap4-search-internal-primitive): Ditto.
5226 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5228 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5229 `elmo-folder-make-temp-dir'
5231 * elmo-vars.el (elmo-cache-directory): New variable.
5232 (elmo-cache-dir): Abolished.
5233 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5235 * elmo-version.el (elmo-version): Up to 2.7.7.
5237 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5239 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5240 defcustom; Set default value as t.
5242 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5244 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5245 (ldap-search-program-arguments): Changed default value.
5246 (ldap-search-basic): Accept exit status 4.
5247 (ldap/field-body): Parse options.
5248 (ldap/collect-field): Ditto.
5249 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5251 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5252 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5253 (elmo-imap4-accept-ok): Ditto.
5254 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5255 'notify-bye, only BYE error is reported.
5256 (elmo-folder-exists-p-plugged): Set no-error argument of
5257 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5259 * elmo.el (elmo-imap4-bye-error): Changed message.
5261 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5262 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5263 queues (It causes infinite loop).
5265 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5267 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5268 (RECENT UNSEEN MESSAGES) extension.
5270 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5272 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5273 Check number of overview fields.
5275 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5277 * elmo.el (elmo-folder-confirm-appends): Changed message.
5278 (elmo-folder-confirm-appends): Ditto.
5280 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5282 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5284 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5286 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5287 of elmo-folder-update-threshold is nil, which can be set by
5288 wl-summary-update-confirm-threshold.
5290 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5292 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5293 (elmo-nmz-index-alias-alist): Ditto.
5294 (elmo-map-folder-list-message-locations): Follow the change above.
5296 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5298 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5300 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5302 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5304 * elmo-util.el (elmo-read): Ditto.
5305 (elmo-display-error): Ditto.
5307 * elmo-vars.el (elmo-date-match): Ditto.
5309 * pldap.el (ldap-coding-system): Ditto.
5311 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5312 `elmo-inhibit-number-mapping' as nil.
5314 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5316 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5317 space delimiter for list response.
5319 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5321 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5323 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5325 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5326 (elmo-map-message-fetch): Fix.
5327 * elmo-map.el (elmo-folder-status): Fix for killed.
5329 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5331 * elmo-sendlog.el: New file.
5332 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5334 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5336 * acap.el (acap-logging-out): New buffer local variable.
5337 (acap-close): Set it.
5338 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5341 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5343 * acap.el (acap-response-bye-p): New function.
5344 (acap-response-bye-message): Ditto.
5345 (acap-wait-for-response): If bye response is received, cause an error.
5346 (acap-parse-response): Make bye response when 'Bye' is received.
5348 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5350 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5352 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5354 * elmo-util.el (elmo-copy-file): Added argument
5355 `ok-if-already-exists'.
5356 (elmo-copy-file): Fixed typo.
5358 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5360 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5362 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5364 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5366 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5368 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5371 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5373 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5374 (elmo-folder-initialize): Fix for `copy'.
5375 (elmo-pipe-drain): Ditto.
5376 (elmo-folder-open-internal): Ditto.
5377 (elmo-folder-newsgroups): Fix.
5379 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5381 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5384 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5385 recent value is returned from imap folder.
5387 * elmo.el (elmo-folder-newsgroups): New generic function.
5389 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5390 (elmo-folder-initialize): Set it.
5391 (elmo-folder-expand-msgdb-path): Use it.
5392 (elmo-folder-newsgroups): Define.
5394 * elmo-filter.el (elmo-folder-newsgroups): Define.
5396 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5398 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5400 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5402 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5404 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5406 (elmo-shimbun-header-extra-field): New inline function.
5407 (elmo-shimbun-header-set-extra-field): Ditto.
5408 (elmo-shimbun-folder-header-hash-setup): Ditto.
5409 (elmo-shimbun-update-overview): Ditto.
5410 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5411 (elmo-shimbun-folder-setup): Use
5412 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5413 (elmo-shimbun-get-headers): Ditto.
5414 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5415 Insert `X-Shimbun-Id:' header if extra field is set.
5416 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5417 field's value instead of `shimbun-header-id'.
5419 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5421 (elmo-msgdb-overview-entity-set-date): Ditto.
5422 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5424 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5426 * mmimap.el (mmimap-entity-section): Changed body node number from
5429 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5431 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5432 `elmo-folder-delete-messages'.
5434 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5435 (elmo-folder-initialize): Changed to expand alias into index path.
5437 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5438 `elmo-mime-insert-header-from-buffer' with 6th arg
5441 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5443 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5445 * elmo.el (elmo-diff-new): New inline function.
5446 (elmo-diff-unread): Ditto.
5447 (elmo-diff-all): Ditto.
5449 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5450 value from responseb.
5451 (elmo-imap4-folder-diff-plugged): Ditto.
5452 (elmo-imap4-server-diff-async): Added recent argument.
5453 (elmo-server-diff-async): Ditto.
5454 (elmo-imap4-folder-diff-plugged): Ditto.
5456 * elmo-version.el (elmo-version): Up to 2.7.6.
5458 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5460 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5463 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5465 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5467 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5469 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5471 * elmo-multi.el (elmo-folder-initialize): Ditto.
5473 * elmo-util.el (elmo-parse-token): New function.
5474 (elmo-parse-prefixed-element): Ditto.
5476 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5478 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5480 (elmo-imap4-accept-ok): Ditto.
5482 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5484 * mmimap.el (mime-imap-entity-header-string): Don't check first
5485 element of node-id is `0' (Follow last change).
5487 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5489 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5490 assigned irregular node-id to nested multipart section.
5491 (initialize-instance): Followed above change.
5493 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5495 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5496 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5497 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5498 `elmo-shimbun-get-headers');
5499 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5500 visible article on summary exists in headers).
5501 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5503 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5505 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5508 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5510 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5512 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5514 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5515 header separator into loop condition.
5517 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5519 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5520 Return duplicate folder if it has subfolder.
5522 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5524 * elmo.el (elmo-make-folder): Add folder name error check.
5526 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5527 (elmo-nntp-encode-group-string): New inline function.
5528 (elmo-nntp-decode-group-string): Ditto.
5529 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5530 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5531 Use `not' instead of `null';
5532 Use elmo-nntp-decode-group-string.
5534 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5536 * elmo-version.el (elmo-version): Up to 2.7.5.
5538 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5540 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5541 Hide progress gauge if `elmo-folder-move-messages' exits
5544 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5546 * elmo-imap4.el (elmo-folder-initialize): Use
5547 `elmo-imap4-encode-folder-string' for folder name.
5549 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5551 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5554 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5556 * elmo-util.el (elmo-progress-counter-alist): New internal
5558 (elmo-progress-counter-value): New macro.
5559 (elmo-progress-counter-all-value): Ditto.
5560 (elmo-progress-counter-format): Ditto.
5561 (elmo-progress-counter-set-value): Ditto.
5562 (elmo-progress-set): New function.
5563 (elmo-progress-clear): Ditto.
5564 (elmo-progress-notify): Ditto.
5566 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5569 * elmo.el (elmo-generic-folder-append-messages): Call
5570 `elmo-progress-notify'.
5571 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5573 * elmo-archive.el (elmo-folder-append-messages): Call
5574 `elmo-progress-notify'.
5576 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5578 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5580 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5582 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5584 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5586 (elmo-message-encache-dop): Added argument `read'.
5588 * elmo-shimbun.el (elmo-message-encache): Ditto.
5590 * elmo-net.el (elmo-message-encache): Ditto.
5592 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5593 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5594 elmo-imap4-seen-messages.
5595 (elmo-folder-msgdb-create-plugged): Initialize
5596 elmo-imap4-seen-messages;
5597 Set seen mark on elmo-imap4-seen-messages.
5599 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5601 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5602 elmo-folder-append-buffer.
5603 (elmo-folder-encache): Added optional argument `read'.
5604 (elmo-message-encache): Ditto.
5606 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5608 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5610 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5611 if append buffer content succeds.
5613 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5615 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5616 elmo-display-progress.
5618 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5619 Set 4th argument of mime-display-message.
5620 (elmo-mime-display-as-is): Ditto.
5622 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5624 * elmo-nmz.el (toplevel): Require 'mime-edit.
5625 (elmo-nmz-content-type-alist): Abolished.
5626 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5627 content is not a message.
5628 (elmo-map-message-fetch): Changed behavior exept for message content;
5629 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5630 content-type, Add From: and Subject: field.
5632 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5634 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5635 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5638 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5640 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5641 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5643 * elmo-archive.el (elmo-folder-writable-p): Defined.
5645 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5647 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5649 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5651 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5653 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5655 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5657 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5659 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5661 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5663 * elmo-util.el (elmo-address-quote-specials): New function;
5664 Renamed from `wl-address-quote-specials'.
5666 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5668 * elmo-version.el (elmo-version): Up to 2.7.4.
5670 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5672 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5674 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5676 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5677 both compile-time and run-time to avoid byte-compile warning.
5679 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5681 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5683 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5685 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5687 (elmo-mime-display-as-is-internal): Use it.
5689 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5690 if `read-passwd' is not defined.
5692 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5694 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5696 (elmo-folder-status): Call `elmo-folder-open-internal';
5697 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5698 (elmo-folder-close-internal): Set location-alist as nil.
5699 (elmo-folder-clear): Define.
5700 (elmo-folder-check): Don't set location-alist as nil.
5702 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5704 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5706 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5707 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5709 * mmimap.el (mime-imap-entity::requested): New slot.
5710 (mime-imap-location-fetch-entity-p): New generic function.
5711 (mime-decode-parameters): Define using `defun-maybe'.
5712 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5713 content-type structure.
5714 (mime-entity-body): Return empty body if
5715 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5717 * elmo.el (elmo-message-displaying): New variable.
5719 * elmo-mime.el (elmo-mime-message-display): Bind
5720 elmo-message-displaying as t.
5722 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5724 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5726 * acap.el (acap-open): erase buffer before starting network process.
5727 (acap-store): Rewrite.
5729 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5731 * elmo-imap4.el (elmo-imap4-default-mailbox,
5732 elmo-imap4-default-server
5733 elmo-imap4-default-authenticate-type,
5734 elmo-imap4-default-user,
5735 elmo-imap4-default-port,
5736 elmo-imap4-default-stream-type,
5737 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5739 * elmo-pop3.el (elmo-pop3-default-user,
5740 elmo-pop3-default-server,
5741 elmo-pop3-default-authenticate-type,
5742 elmo-pop3-default-port,
5743 elmo-pop3-default-stream-type,
5744 elmo-pop3-stream-type-alist): Ditto.
5746 * elmo-nntp.el (elmo-nntp-default-server,
5747 elmo-nntp-default-user,
5748 elmo-nntp-default-port,
5749 elmo-nntp-default-stream-type,
5750 elmo-nntp-stream-type-alist): Ditto.
5752 * elmo-vars.el: Follow changes above.
5753 (elmo-setting): New custom group; added 'elmo-setting group to
5756 * elmo-version.el (elmo-version): Up to 2.7.3.
5758 * acap.el (acap-parse-response): Don't delete process when BYE
5759 response (It causes hang-up on slow network environment).
5760 (toplevel): Added comment.
5762 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5764 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5766 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5768 (acap-parse-return-metadata): Ditto.
5771 (toplevel): Fixed typo.
5773 * acap.el: New file.
5774 (acap-network-stream-open): Show "Connecting..." message.
5775 (acap-parse-response): Fixed problem for BYE untagged response.
5776 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5777 (toplevel): Added tiny comments.
5779 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5781 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5782 space delimiter for uidl response.
5784 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5786 * elmo-vars.el (elmo-use-semi): Eliminated.
5788 * elmo-util.el (elmo-string-assoc-all): New function.
5790 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5792 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5793 property 'mime-preview-situation for `mime-preview-quit'.
5795 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5797 * elmo.el (elmo-message-fetch-with-cache-process): Call
5798 elmo-message-fetch-internal instead of causing an error when fetch
5799 strategy is 'entire but only 'section cache is available.
5801 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5803 * elmo-version.el (elmo-version): Up to 2.7.2.
5805 * elmo.el (elmo-generic-folder-append-messages): Make
5806 fetch-strategy with `use-cache'.
5808 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5809 (elmo-dop-queue-method-name): New macro.
5811 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5813 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5814 unbalanced parenthesis.
5816 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5818 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5820 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5822 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5823 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5825 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5827 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5830 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5832 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5833 (elmo-message-use-cache-p): Define.
5834 (elmo-folder-msgdb-create): Treat cache.
5836 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5838 * elmo-nntp.el (elmo-network-initialize-session): Call
5839 `elmo-nntp-send-mode-reader'.
5840 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5842 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5844 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5846 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5849 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5850 for `elmo-plugged-p'.
5851 (elmo-open-network-stream): Fixed stream-type argument.
5853 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5855 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5856 unknown archive type is specified.
5858 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5860 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5862 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5863 while loading msgdb.
5865 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5866 (elmo-folder-open-internal): Rewrite.
5868 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5870 * elmo-mime.el (elmo-mime-display-as-is-internal):
5871 Adjust buffer-multibyte status.
5873 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5875 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5876 of elmo-condition-find-key.
5878 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5879 (elmo-condition-in-msgdb-p): Ditto.
5880 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5883 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5885 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5887 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5889 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5890 label for elmo-display-progress.
5892 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5894 * elmo.el (elmo-folder-clear): New method.
5895 (elmo-folder-clear): Define.
5896 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5898 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5899 (elmo-folder-clear): Define.
5901 * elmo-map.el (elmo-folder-clear): Define.
5903 * elmo-version.el (elmo-version): Up to 2.7.1.
5905 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5907 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5910 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5912 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5913 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5915 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5917 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5919 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5922 * elmo-imap4.el (elmo-folder-initialize): Use
5923 elmo-get-network-stream-type.
5925 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5927 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5929 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5931 * elmo.el (elmo-message-encache): Set unread argument for
5934 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5936 * elmo.el (elmo-net-port-info): New method.
5938 * elmo-shimbun.el (elmo-net-port-info): Define.
5939 (elmo-message-encache): Ditto.
5941 * elmo-net.el (elmo-net-port-info): Define as method.
5943 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5944 unplugged status when elmo-enable-disconnected-operation is t.
5946 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5947 of spool folder before checking new number.
5949 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5951 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5952 (elmo-network-setup-session): Ditto.
5953 (elmo-message-fetch-plugged): Ditto.
5954 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5955 (elmo-network-initialize-session): Ditto.
5956 (elmo-pop3-read-response): Abolish 3rd argument.
5957 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5958 (elmo-pop3-read-contents): Ditto.
5959 (elmo-pop3-read-body): Ditto.
5960 (elmo-folder-status): Call elmo-folder-close.
5961 (elmo-pop3-lock): Abolish.
5962 (elmo-pop3-unlock): Ditto.
5963 (elmo-pop3-locked-p): Ditto.
5964 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5966 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5968 * elmo-version.el (elmo-version): Up to 2.7.0.
5970 * elmo-pop3.el (elmo-pop3-debug): New variable.
5971 (elmo-pop3-debug-inhibit-logging): Ditto.
5972 (elmo-pop3-debug): New function.
5973 (elmo-pop3-send-command): Call elmo-pop3-debug.
5974 (elmo-pop3-read-response): Added keep-lock optional argument;
5975 Don't unlock if keep-lock is non-nil.
5976 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5977 (elmo-network-authenticate-session): Bind
5978 elmo-pop3-debug-inhibit-logging as t.
5979 (elmo-network-setup-session): Call elmo-pop3-read-response with
5981 (elmo-pop3-read-msg): Ditto.
5982 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5983 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5984 (elmo-network-initialize-session): Call elmo-pop3-lock.
5985 (elmo-folder-close-internal): Don't clear location-alist slot.
5986 (elmo-folder-check): Clear location-alist slot.
5988 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5990 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5991 (elmo-pop3-send-command): Call elmo-pop3-lock.
5992 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5993 (elmo-pop3-read-contents): Ditto.
5994 (elmo-pop3-lock): New function.
5995 (elmo-pop3-unlock): Ditto.
5996 (elmo-pop3-locked-p): Ditto.
5997 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6000 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6002 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6004 * elmo-util.el (elmo-file-field-primitive-condition-match):
6005 New inline function (Don't fetch file content if "first" or "last").
6006 (elmo-file-field-condition-match): Use
6007 elmo-file-field-primitive-condition-match.
6009 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6012 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6013 (elmo-message-fetch-plugged): Fixed.
6015 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6017 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6019 * elmo.el (elmo-folder-move-messages): Bind
6020 elmo-inhibit-display-retrieval-progress as t while moving messages.
6022 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6024 (elmo-inhibit-display-retrieval-progress): Ditto.
6026 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6027 for retrieval progress;
6028 Don't display progress when total buffer size is smaller than
6029 elmo-display-retrieval-progress-threshold.
6030 (elmo-message-fetch-plugged): Don't display progress when
6031 elmo-inhibit-display-retrieval-progress is non-nil.
6033 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6034 for retrieval progress;
6035 Don't display progress when literal size is smaller than
6036 elmo-display-retrieval-progress-threshold.
6037 (elmo-imap4-message-fetch): Don't display progress when
6038 elmo-inhibit-display-retrieval-progress is non-nil.
6040 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6042 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6043 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6044 (elmo-imap4-message-fetch): Likewise.
6046 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6047 (elmo-shimbun-index-range-alist): Ditto.
6048 (elmo-shimbun-use-entire-index): Abolish.
6049 (shimbun-mua-use-entire-index): Ditto.
6050 (elmo-shimbun-folder): Added new slot `range'.
6051 (elmo-folder-initialize): Setup slot `range'.
6053 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6055 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6056 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6057 (elmo-shimbun-get-headers): Use return value of
6058 `shimbun-article-expiration-days'.
6059 (elmo-folder-close-internal): Clean up last-check slot.
6061 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6062 (elmo-pop3-total-size): New variable.
6063 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6065 * elmo.el (elmo-folder-reserve-status-p): New method.
6067 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6068 (elmo-shimbun-use-entire-index): New user option.
6069 (shimbun-elmo-mua): New class.
6070 (shimbun-mua-search-id): Define.
6071 (shimbun-mua-use-entire-index): Ditto.
6072 (elmo-shimbun-folder:last-check): New slot.
6073 (elmo-shimbun-headers-cache-header-list): Abolish.
6074 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6075 (elmo-shimbun-headers-cache-header-hash): Ditto.
6076 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6077 (elmo-shimbun-headers-cache-last-check): Ditto.
6078 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6079 (elmo-shimbun-headers-check-p): Rewrite.
6080 (elmo-shimbun-msgdb-to-headers): New function.
6081 (elmo-shimbun-get-headers): Rewrite.
6082 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6083 (elmo-folder-open-internal): Get headers only if
6084 `elmo-shimbun-headers-check-p' is non-nil.
6085 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6087 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6088 (elmo-quit): Removed.
6090 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6092 (elmo-msgdb-overview-entity-set-extra): Ditto.
6093 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6095 * elmo-map.el (elmo-folder-status): Don't call
6096 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6099 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6101 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6102 of `elmo-msgdb-search-internal-primitive' when condition's car is
6105 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6107 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6109 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6111 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6112 call `elmo-pipe-drain'.
6114 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6116 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6117 typo. (elmo-cache-folder -> elmo-mark-folder)
6119 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6121 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6122 `elmo-message-fetch'.
6124 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6126 * elmo-net.el (elmo-message-encache): Fixed typo.
6127 (elmo-message-fetch-unplugged): Changed call
6128 `elmo-message-fetch-internal' without argument `outbuf'.
6130 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6132 * elmo.el (elmo-message-encache): Define as generic function.
6133 (elmo-message-fetch-field): New generic function.
6134 (elmo-message-fetch-with-cache-process): Cause an error when
6135 fetch strategy is 'entire but only 'section cache is available.
6136 (toplevel): Fixed nmz folder definition.
6138 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6139 (elmo-msgdb-resume-list-filename): Ditto.
6140 (elmo-queue-filename): Ditto.
6141 (elmo-enable-disconnected-operation): Changed default value to t.
6143 * elmo-util.el (elmo-cache-path-section-p): New function.
6144 (elmo-file-cache-get): Use it.
6145 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6146 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6147 (elmo-dop-queue-save): Ditto.
6149 * elmo-net.el (elmo-folder-status-unplugged): Call
6150 elmo-folder-status-dop.
6151 (elmo-folder-list-messages-unplugged): Implemented.
6152 (elmo-folder-delete-messages-unplugged): Define.
6153 (elmo-folder-msgdb-create): Define.
6154 (elmo-folder-msgdb-create-unplugged): Define.
6155 (elmo-folder-mark-as-read-unplugged): Ditto.
6156 (elmo-folder-unmark-read-unplugged): Ditto.
6157 (elmo-folder-mark-as-important-unplugged): Ditto.
6158 (elmo-folder-unmark-important-unplugged): Ditto.
6159 (elmo-message-encache): Ditto.
6161 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6162 (elmo-dop-queue-save): Ditto.
6164 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6165 `elmo-folder-msgdb-create'.
6166 (elmo-folder-append-buffer): Implemented unplugged operation.
6167 (elmo-folder-append-messages): Call parent method in unplugged status.
6168 (elmo-message-fetch-unplugged): Removed definition.
6169 (elmo-message-fetch-field): Implemented.
6171 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6172 (elmo-dop-folder): Removed variable definition.
6173 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6174 (elmo-dop-queue-flush): Implemented.
6175 (elmo-dop-queue-merge): Removed definition (TODO).
6176 (elmo-dop-spool-folder): New function.
6177 (elmo-dop-spool-folder-append-buffer): Ditto.
6178 (elmo-dop-spool-folder-list-messages): Ditto.
6179 (elmo-dop-list-deleting-messages): Ditto.
6180 (elmo-folder-append-buffer-dop): Ditto.
6181 (elmo-folder-delete-messages-dop): Ditto.
6182 (elmo-message-encache-dop): New inline function.
6183 (elmo-create-folder-dop): Ditto.
6184 (elmo-folder-mark-as-read-dop): Ditto.
6185 (elmo-folder-unmark-read-dop): Ditto.
6186 (elmo-folder-mark-as-important-dop): Ditto.
6187 (elmo-folder-unmark-important-dop): Ditto.
6188 (elmo-folder-status-dop): Fixed.
6189 (elmo-folder-append-buffer-dop-delayed): New function.
6190 (elmo-folder-delete-messages-dop-delayed): Ditto.
6191 (elmo-dop-msgdb): Ditto.
6193 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6195 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6197 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6199 * elmo.el (elmo-folder-move-messages): Fixed problem when
6200 `dst-folder' is 'null.
6202 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6204 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6205 instead of current mark.
6207 * elmo-multi.el (elmo-folder-list-importants-internal): No
6208 operation if importants is not list.
6210 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6211 Return t if importants is not list.
6213 * elmo-map.el (elmo-map-folder-list-importants): Define.
6214 (elmo-folder-list-importants-internal): Check return value of
6215 `elmo-map-folder-list-importants-internal'.
6217 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6219 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6221 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6223 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6225 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6227 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6228 (Patch is provided by <kita@coe.nttdata.co.jp>).
6230 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6232 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6235 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6237 * elmo.el (elmo-message-fetch): Define.
6238 (elmo-message-fetch-with-cache-process): New generic method.
6239 (elmo-message-fetch-internal): New generic method.
6240 (elmo-folder-synchronize):
6242 * elmo-archive.el (elmo-message-fetch-internal): Define.
6243 (elmo-message-fetch): Eliminated.
6245 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6246 (elmo-message-fetch): Eliminated.
6248 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6250 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6252 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6253 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6255 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6256 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6258 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6260 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6262 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6264 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6265 (elmo-message-fetch-unplugged): New generic method.
6266 (elmo-message-fetch-internal): Remove cache process (Renamed from
6267 `elmo-message-fetch').
6269 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6270 (elmo-message-fetch): Eliminated.
6271 (elmo-message-fetch-unplugged): Ditto.
6273 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6275 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6277 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6278 of `to-be-deleted' from number-alist to number-list.
6280 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6282 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6283 (elmo-folder-mark-as-important): Ditto.
6285 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6287 * elmo.el (elmo-folder): Added process-duplicates slot.
6289 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6290 (elmo-folder-unmark-read): Ditto.
6291 (elmo-folder-unmark-important): Ditto.
6292 (elmo-folder-mark-as-important): Ditto.
6294 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6295 duplicated message processing.
6297 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6299 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6301 * elmo-util.el (elmo-list-subdirectories-1): New function.
6302 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6303 (elmo-mapcar-list-of-list): New function.
6305 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6306 `elmo-mapcar-list-of-list' instead of `mapcar'.
6308 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6310 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6311 `elmo-have-link-count'. Return the fully qualified folder name.
6313 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6315 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6316 (elmo-shimbun-headers-cache): New internal variable.
6317 (elmo-shimbun-headers-cache-header-list): New inline function.
6318 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6319 (elmo-shimbun-headers-cache-header-hash): Ditto.
6320 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6321 (elmo-shimbun-headers-cache-last-check): Ditto.
6322 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6323 (elmo-shimbun-lapse-seconds): Ditto.
6324 (elmo-shimbun-headers-cache-check-p): Ditto.
6325 (elmo-shimbun-get-headers): New function.
6326 (elmo-folder-open-internal): Call it.
6327 (elmo-quit): Define (Clear headers-cache).
6329 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6331 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6333 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6334 (elmo-msgdb-flist-save): Ditto.
6336 * elmo-shimbun.el (elmo-folder-list-subfolders):
6337 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6338 (elmo-folder-exists-p): Ditto.
6340 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6341 argument for `shimbun-header-insert'.
6343 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6345 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6348 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6349 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6351 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6353 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6354 (elmo-folder-plugged-p): Define.
6355 (elmo-folder-set-plugged): Ditto.
6356 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6357 (elmo-folder-list-messages-internal): Return t if unplugged.
6358 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6360 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6361 when elmo-folder-list-messages-internal method of children returns t.
6363 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6365 (elmo-folder-open-internal): Don't update if unplugged status.
6367 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6369 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6372 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6374 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6376 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6379 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6381 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6383 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6384 (elmo-folder-open-internal): Set up headers slot.
6385 (elmo-folder-check): Call elmo-folder-close-internal and
6386 elmo-folder-open-internal.
6387 (elmo-folder-close-internal): Clean up headers slot.
6389 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6391 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6392 exactly folder list.
6393 (elmo-folder-append-messages): Fixed append archive with prefix.
6395 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6396 make temp files with start-number.
6398 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6400 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6402 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6403 argument `visible-only'.
6404 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6407 * elmo-pop3.el (elmo-folder-open-internal): Check
6408 `elmo-inhibit-number-mapping' is non-nil.
6410 * elmo-pipe.el (elmo-folder-status): Fixed.
6412 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6414 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6416 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6417 (elmo-folder-open-internal): Setup `header-hash' slot.
6418 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6420 (elmo-map-message-fetch): Ditto.
6422 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6424 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6425 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6426 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6427 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6429 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6431 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6433 * sb-airs.el: Added footer.
6435 * shimbun.el (shimbun-article): Define as luna-method.
6437 * sb-tcup.el: New file.
6439 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6440 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6442 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6444 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6445 (shimbun-get-headers): Ditto.
6447 * elmo.el: Moved obsolete variable definitions from
6448 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6450 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6453 * shimbun.el: New file.
6455 * elmo-shimbun.el: New file.
6457 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6458 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6459 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6460 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6462 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6464 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6467 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6469 * elmo.el (elmo-folder-msgdb): Define as macro.
6470 (elmo-folder-open): Added argument `load-msgdb'.
6471 (elmo-generic-folder-open): Ditto.
6472 (elmo-folder-encache): New function.
6474 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6476 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6478 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6479 Eliminated argument FOLDER and added argument MSGDB.
6480 (elmo-dop-queue-load): Moved from elmo-dop.el.
6481 (elmo-dop-queue-save): Ditto.
6483 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6485 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6487 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6488 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6489 (elmo-filter-folder-list-importants-internal): Ditto.
6491 * elmo-map.el (elmo-folder-pack-number): Ditto.
6493 * elmo-mime.el (elmo-mime-message-display): Ditto.
6495 * elmo.el (elmo-generic-folder-commit): Ditto.
6496 (elmo-folder-list-unreads): Ditto.
6497 (elmo-folder-list-importants): Ditto.
6498 (elmo-generic-folder-commit): Ditto.
6499 (elmo-message-set-mark): Ditto.
6500 (elmo-generic-folder-append-msgdb): Ditto.
6501 (elmo-folder-synchronize): Ditto.
6502 (elmo-folder-messages): Ditto.
6503 (elmo-init): Call elmo-dop-queue-load.
6504 (elmo-folder-list-messages): Ditto.
6506 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6507 (elmo-nntp-folder-process-crosspost): Ditto.
6508 (elmo-folder-list-unreads-internal): Ditto.
6510 * elmo-dop.el: Removed old functions.
6512 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6514 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6515 `folder' to `msgdb'.
6517 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6519 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6520 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6522 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6525 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6527 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6530 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6531 (mmimap-parse-parameters-from-list): Define as alias for
6532 `mime-decode-parameter-plist' if it is defined as function.
6533 (mmimap-make-mime-entity): Added argument `number'.
6534 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6536 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6538 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6540 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6542 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6544 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6546 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6548 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6549 when elmo-imap4-default-authenticate-type is nil.
6550 (elmo-folder-list-subfolders): Ditto
6551 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6552 (elmo-imap4-fetch-callback-1-subr): Renamed from
6553 `elmo-imap4-fetch-callback-1' and define as inline function.
6554 (elmo-imap4-fetch-callback-1):
6555 Renamed from `elmo-imap4-fetch-callback'.
6556 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6558 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6559 msgdb path (To keep compatibility with main trunk).
6561 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6563 * elmo-util.el (elmo-make-file-cache): Moved position of
6566 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6567 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6568 instead of `elmo-pop3-inhibit-uidl'.
6569 (elmo-folder-exists-p): Ditto.
6570 (elmo-pop3-folder-list-messages): Ditto.
6572 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6573 instead of `elmo-pop3-inhibit-uidl'.
6574 (elmo-folder-status): Ditto.
6576 * elmo-dop.el (elmo-dop-folder): New variable.
6577 (elmo-dop-lock-message): Eliminated.
6578 (elmo-dop-unlock-message): Ditto.
6579 (elmo-dop-lock-list-load): Ditto.
6580 (elmo-dop-lock-list-save): Ditto.
6581 (elmo-dop-delete-folder): Ditto.
6582 (elmo-dop-rename-folder): Ditto.
6584 * elmo.el: Removed incomplete commentary.
6586 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6588 * elmo.el (toplevel): Require 'elmo-version first;
6589 for little `recursive-load-depth' settings.
6590 Fix "ends here" comment.
6592 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6594 * elmo-util.el (toplevel): Require 'poem;
6595 Some functions are moved from elmo-cache.el.
6597 * elmo-net.el (toplevel): Require 'elmo-cache.
6599 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6601 * elmo.el (toplevel): Ditto.
6603 * elmo-cache.el: Rewrite with luna;
6604 Some functions are moved to elmo-util.el.
6606 * elmo-internal.el (elmo-internal-folder-list): New variable.
6607 (elmo-internal-folder-initialize): Rewrite.
6608 (elmo-folder-list-subfolders): Ditto.
6610 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6611 (elmo-cache-collect-sub-directories): Ditto.
6613 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6615 * elmo-version.el (elmo-version): Up to 2.5.8.
6617 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6619 * elmo-util.el (elmo-list-insert): New function.
6621 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6623 * elmo.el (elmo-init): New function.
6624 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6626 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6627 (Renamed from `elmo-localdir-header-chop-length').
6629 * elmo-pop3.el (elmo-pop3-use-cache,
6630 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6632 * elmo-nntp.el (elmo-message-fetch): Define.
6633 (elmo-message-fetch-unplugged): Ditto.
6634 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6635 (elmo-nntp-use-cache): Ditto.
6636 (elmo-nntp-max-number-precedes-list-active): Ditto.
6638 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6640 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6641 `elmo-msgdb-insert-file-header'.
6642 Use `elmo-msgdb-file-header-chop-length'.
6644 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6647 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6648 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6649 `elmo-msgdb-insert-file-header'.
6651 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6653 Define obsolete variables with `elmo-define-obsolete-variable',
6655 * elmo-util.el (elmo-warning-buffer-name): New constant.
6656 (elmo-warning): New function.
6657 (elmo-obsolete-variable-alist): New variable.
6658 (elmo-obsolete-variable-show-warnings): New variable.
6659 (elmo-define-obsolete-variable): New function.
6660 (elmo-resque-obsolete-variable): Ditto.
6661 (elmo-resque-obsolete-variables): Ditto.
6663 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6665 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6668 * elmo-pop3.el, elmo-nntp.el: Use custom.
6670 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6672 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6673 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6675 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6677 * Luna-fy Kenichi OKADA's following changes.
6678 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6680 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6682 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6684 * elmo-util.el (elmo-display-progress): Prefer
6685 `progress-feedback-with-label' to `lprogress-display'.
6687 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6689 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6691 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6693 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6694 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6695 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6696 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6697 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6698 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6699 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6700 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6701 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6702 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6703 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6704 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6705 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6707 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6709 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6710 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6712 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6714 * elmo.el (elmo-folder-process-crosspost): New generic method.
6715 (elmo-folder-writable-p): Ditto.
6716 (elmo-folder-message-appendable-p): Eliminated.
6717 (elmo-generic-folder-append-msgdb): Rewrite.
6718 (elmo-newsgroups-hashtb): New internal variable.
6719 (elmo-crosspost-message-set): Eliminated.
6720 (elmo-crosspost-message-delete): Ditto.
6721 (elmo-setup-subscribed-newsgroups): New function.
6722 (elmo-crosspost-message-alist-modified): New internal variable.
6723 (elmo-crosspost-message-alist-load): New function (Renamed from
6724 `wl-crosspost-alist-load').
6725 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6726 `wl-crosspost-alist-save').
6728 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6730 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6732 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6733 elmo-newsgroups-hashtb).
6734 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6735 `elmo-nntp-folder-update-crosspost-message-alist'.
6736 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6737 `elmo-nntp-groups-hashtb'.
6738 (elmo-nntp-make-groups-hashtb): Eliminated.
6739 (elmo-nntp-parse-newsgroups): New function (Renamed from
6740 `wl-parse-newsgroups').
6741 (elmo-folder-creatable-p, elmo-folder-writable-p,
6742 elmo-folder-close-internal, elmo-folder-mark-as-read,
6743 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6745 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6747 * elmo-net.el (elmo-message-fetch): Check buffer size.
6749 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6751 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6753 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6754 before `close' command.
6756 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6757 `mark-alist' (All other related portions are changed).
6759 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6761 * elmo-util.el (elmo-create-hash-size): Eliminated.
6762 (elmo-make-hash) Make a hash with `one less than a power of two'
6765 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6766 (elmo-hash-maximum-size): Changed value.
6768 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6770 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6771 (elmo-mime-message-display-as-is): Ditto.
6773 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6775 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6776 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6778 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6780 * elmo-mark.el: New file.
6782 * elmo-internal.el: Rewrite (Almost empty).
6784 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6786 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6787 (mime-imap-entity-header-string): Ditto.
6788 (mmimap-entity-section): Rewrite.
6790 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6792 * elmo-nmz.el: New file.
6794 * elmo-pipe.el: Rewrite with luna.
6796 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6798 * elmo-archive.el: Rewrite with luna.
6800 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6801 (elmo-folder-list-importants-internal): Ditto.
6803 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6805 * elmo-archive.el (elmo-archive-version): Abolish.
6806 (toplevel) Removed `boso' comment.
6808 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6810 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6811 elmo-msgdb-add-msgs-to-seen-list-subr;
6812 Changed argument seen-marks to unread-marks.
6814 * elmo-nntp.el: Rewrite with luna.
6816 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6818 * elmo-filter.el: Rewrite with luna.
6820 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6822 * elmo-pop3.el: Rewrite with luna.
6824 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6826 * elmo-multi.el: Rewrite with luna.
6828 * elmo-vars.el (elmo-use-killed-list): Abolish.
6829 All other related portions are changed.
6830 (elmo-filename-replace-string-alist): Renamed from
6831 elmo-msgid-replace-string-alist.
6833 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6835 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6837 * elmo-map.el: New file.
6838 * elmo-maildir.el: Rewrite with luna.
6840 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6842 * elmo.el: Changed meaning of `elmo-folder-commit'.
6843 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6845 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6847 * elmo.el (elmo-folder-append-buffer): New function.
6848 (Renamed from `elmo-append-msg')
6850 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6852 * elmo-mime.el: New file.
6854 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6856 * elmo-cache.el: Rewrite.
6858 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6860 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6862 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6864 * elmo-vars.el (elmo): New group.
6865 (elmo-strict-diff-folder-regexp): New variable.
6867 * elmo-util.el (elmo-call-func): Abolish.
6868 (elmo-folder-get-type): Ditto.
6869 (elmo-*-get-spec): Ditto.
6870 (elmo-*-spec-*): Ditto.
6871 (elmo-imap4-identical-name-space-p): Ditto.
6872 (elmo-folder-identical-system-p): Ditto.
6873 (elmo-folder-direct-copy-alist): Ditto.
6874 (elmo-folder-direct-copy-p): Ditto.
6876 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6877 (elmo-folder-initialize): Define.
6878 (elmo-folder-get-primitive-list): Ditto.
6880 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6881 (elmo-folder-initialize): Define.
6882 Renamed `elmo-network-session-host-internal' to
6883 `elmo-network-session-server-internal'.
6885 * elmo-multi.el (elmo-multi-folder): New luna class.
6886 (elmo-folder-initialize): Define.
6887 (elmo-folder-get-primitive-list): Ditto.
6888 (elmo-folder-contains-type): Ditto.
6889 (elmo-message-use-cache-p): Ditto.
6891 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6892 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6894 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6895 (elmo-folder-initialize): Define.
6897 * elmo-filter.el (elmo-filter-folder): New luna class.
6898 (elmo-folder-initialize): Define.
6899 (elmo-folder-get-primitive-list): Ditto.
6900 (elmo-folder-contains-type): Ditto.
6902 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6904 * elmo-imap4.el: Rewrite with luna.
6906 * mmimap.el: New file.
6908 * mmelmo.el, mmelmo-imap4.el: Removed.
6910 * elmo-net.el: Ditto.
6912 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6913 (elmo-folder-initialize): Define.
6915 * elmo-archive.el (elmo-archive-folder): New luna class.
6916 (elmo-folder-initialize): Define.
6918 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6919 `elmo-folder-msgdb-path'.
6920 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6923 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6925 * elmo.el: New file.
6927 * elmo2.el: Renamed to elmo.el.
6930 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6932 * elmo-cache.el (elmo-cache-expire-by-size): Count
6933 a disk usage for a cache file entry in KB even when
6934 its kind is a directory.
6936 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6938 * elmo-version.el (elmo-version): Up to 2.5.7.
6940 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6942 * elmo-version.el (elmo-version): Up to 2.5.6.
6944 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6946 * elmo-version.el (elmo-version): Up to 2.5.5.
6948 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6950 * elmo-imap4.el (elmo-network-authenticate-session):
6951 Fixed a logic for response checking.
6953 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6955 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6956 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6957 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6960 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6961 for `starttls-open-stream' and `starttls-negotiate'.
6963 * elmo-nntp.el: Remove autoload settings for
6964 `starttls-open-stream' and `starttls-negotiate'.
6966 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6967 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6968 `luna-define-class' with `eval-and-compile'.
6970 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6972 * elmo-util.el (elmo-read-search-condition-internal):
6973 Require an element of table for searching field.
6975 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6977 * elmo-version.el (elmo-version): Up to 2.5.4.
6979 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6981 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6983 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6985 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6987 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6989 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6992 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6994 * elmo-imap4.el (elmo-imap4-delete-folder):
6995 Send "close" before "delete" (Use commented out line).
6996 (elmo-imap4-rename-folder): Ditto.
6998 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6999 folder string itself.
7000 (elmo-dop-list-deleted): New function.
7001 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7004 * elmo-util.el (elmo-string-rassoc-all): New function.
7006 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7008 * elmo-version.el (elmo-version): Up to 2.5.3.
7010 * elmo-net.el (elmo-network-get-session): Changed logic for
7011 checking process status.
7013 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7015 Changed logic for checking process status.
7017 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7019 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7021 (elmo-network-setup-session): Set UIDL hash size according to
7022 the length of list response.
7023 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7024 according to the length of list response;
7025 Return the length of list response.
7026 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7028 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7030 * elmo-imap4.el (toplevel): Require 'ssl.
7031 Add autoload 'starttls.
7032 * elmo-pop3.el (toplevel): Ditto.
7033 * elmo-nntp.el (toplevel): Ditto.
7035 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7037 * elmo-imap4.el (toplevel): defun at compile time.
7038 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7039 sasl-next-step, sasl-step-data, sasl-step-set-data.
7040 * elmo-pop3.el (toplevel): Ditto.
7042 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7044 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7046 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7048 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7050 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7051 and `elmo-pop-auth-apop'.
7053 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7055 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7057 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7059 * elmo-pop3.el (elmo-network-authenticate-session): Split
7060 encoded response value.
7062 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7064 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7065 `elmo-pop3-force-login'.
7066 Redefine `sasl-mechanisms'.
7067 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7069 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7071 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7072 Delete `elmo-imap4-authenticator-alist'.
7073 (elmo-imap4-auth-cram-md5): Delete.
7074 (elmo-imap4-auth-digest-md5): Delete.
7076 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7078 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7079 (elmo-pop3-auth-scram-md5): Ditto.
7080 (elmo-pop3-auth-cram-md5): Ditto.
7082 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7084 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7085 Delete `elmo-pop3-authenticator-alist'.
7087 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7089 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7091 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7093 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7095 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7097 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7099 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7100 Fixed problem when `elmo-pop3-use-uidl' is nil.
7101 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7103 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7105 * elmo-version.el (elmo-version): Up to 2.5.2.
7107 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7109 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7111 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7112 (elmo-pop3-msgdb-create-as-numlist): Use it.
7114 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7115 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7117 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7118 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7120 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7122 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7123 when elmo-mark-as-read is called with second argument nil.
7125 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7127 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7128 Moved to elmo-util.el.
7130 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7131 Moved from elmo-pipe.el
7133 * elmo-archive.el (elmo-archive-call-process): Enclose with
7136 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7137 "RFC822" (because RFC822.PEEK is obsolete).
7138 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7140 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7142 * elmo-archive.el (elmo-archive-call-process): Don't check for
7143 the exit status when Nemacs is running.
7145 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7147 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7150 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7151 (elmo-pop3-get-spec): Set default of auth to 'user.
7153 * elmo-imap4.el (elmo-imap4-session-check):
7154 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7155 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7156 (elmo-imap4-auth-login): New function; Revival.
7157 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7158 `elmo-imap4-auth-login'.
7160 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7162 * elmo2.el (toplevel): Move `product-provide' declare.
7163 * mmelmo.el (toplevel): Ditto.
7165 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7167 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7169 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7171 * elmo-util.el (elmo-folder-get-store-type): New function.
7172 (elmo-folder-direct-copy-p): Use it.
7174 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7176 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7177 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7178 and result of `elmo-imap4-use-flag-p'.
7179 (elmo-imap4-fetch-callback-1): Set mark according to
7180 the result of `elmo-imap4-use-flag-p'.
7182 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7184 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7185 (elmo-generic-list-folder-unread): Ditto.
7186 (elmo-folder-get-info): Ditto.
7187 (elmo-folder-set-info-max-by-numdb): Ditto.
7188 (elmo-folder-get-info-max): Ditto.
7189 (elmo-folder-get-info-length): Ditto.
7190 (elmo-folder-get-info-unread): Ditto.
7191 (elmo-folder-info-make-hashtb): Ditto.
7193 * elmo2.el: Removed above functions.
7195 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7197 * elmo-imap4.el (toplevel): Require 'ssl.
7198 Add autoload 'starttls.
7199 * elmo-pop3.el (toplevel): Ditto.
7200 * elmo-nntp.el (toplevel): Ditto.
7202 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7204 * elmo-imap4.el (toplevel): defun at compile time.
7205 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7206 sasl-next-step, sasl-step-data, sasl-step-set-data.
7207 * elmo-pop3.el (toplevel): Ditto.
7209 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7211 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7213 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7215 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7217 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7218 and `elmo-pop-auth-apop'.
7220 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7222 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7224 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7226 * elmo-pop3.el (elmo-network-authenticate-session): Split
7227 encoded response value.
7229 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7231 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7232 `elmo-pop3-force-login'.
7233 Redefine `sasl-mechanisms'.
7234 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7236 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7238 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7239 Delete `elmo-imap4-authenticator-alist'.
7240 (elmo-imap4-auth-cram-md5): Delete.
7241 (elmo-imap4-auth-digest-md5): Delete.
7243 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7245 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7246 (elmo-pop3-auth-scram-md5): Ditto.
7247 (elmo-pop3-auth-cram-md5): Ditto.
7249 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7251 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7252 Delete `elmo-pop3-authenticator-alist'.
7254 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7256 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7258 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7261 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7263 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7265 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7267 * elmo-nntp.el (elmo-nntp-get-folders-info):
7268 Fixed problem when '\' character is contained in user-id.
7269 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7272 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7274 * elmo-imap4.el (elmo-imap4-delete-folder):
7275 Send "close" before "delete" (Use commented out line).
7276 (elmo-imap4-rename-folder): Ditto.
7278 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7279 folder string itself.
7280 (elmo-dop-list-deleted): New function.
7281 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7284 * elmo-util.el (elmo-string-rassoc-all): New function.
7286 * elmo-version.el (elmo-version): Up to 2.5.1.
7288 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7290 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7292 * elmo-internal.el (elmo-internal-search): Fix last change.
7294 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7296 * elmo-internal.el (elmo-internal-search): Rewrite.
7297 (Fixed problem which is pointed out by Akihiro MOTOKI
7298 <motoki@da.jp.nec.com>)
7300 * elmo-version.el (elmo-version): Up to 2.5.0.
7302 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7304 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7306 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7308 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7309 non-nil, make hierarchy.
7311 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7313 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7314 `elmo-pop3-use-uidl' must be bound to nil.
7315 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7317 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7319 * elmo-util.el (elmo-copy-file): Don't cause an error after
7320 `add-name-to-file' failed.
7322 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7323 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7325 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7327 * elmo-version.el (elmo-version): Up to 2.3.93.
7329 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7331 * elmo-util.el (elmo-flatten): New function.
7333 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7335 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7337 * elmo-cache.el (toplevel): Ditto.
7338 * elmo-database.el (toplevel): Ditto.
7339 * elmo-date.el (toplevel): Ditto.
7340 * elmo-dop.el (toplevel): Ditto.
7341 * elmo-filter.el (toplevel): Ditto.
7342 * elmo-imap4.el (toplevel): Ditto.
7343 * elmo-internal.el (toplevel): Ditto.
7344 * elmo-localdir.el (toplevel): Ditto.
7345 * elmo-localnews.el (toplevel): Ditto.
7346 * elmo-maildir.el (toplevel): Ditto.
7347 * elmo-msgdb.el (toplevel): Ditto.
7348 * elmo-multi.el (toplevel): Ditto.
7349 * elmo-net.el (toplevel): Ditto.
7350 * elmo-nntp.el (toplevel): Ditto.
7351 * elmo-pipe.el (toplevel): Ditto.
7352 * elmo-pop3.el (toplevel): Ditto.
7353 * elmo-util.el (toplevel): Ditto.
7354 * elmo-vars.el (toplevel): Ditto.
7355 * elmo2.el (toplevel): Ditto.
7356 * mmelmo-imap4.el (toplevel): Ditto.
7357 * mmelmo.el (toplevel): Ditto.
7359 * elmo-version.el (elmo-version): Move to top.
7361 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7362 * elmo-imap4.el (toplevel): Ditto.
7363 * elmo-localdir.el (toplevel): Ditto.
7364 * elmo-msgdb.el (toplevel): Ditto.
7365 * elmo-nntp.el (toplevel): Ditto.
7366 * elmo-pop3.el (toplevel): Ditto.
7367 * elmo-version.el (toplevel): Ditto.
7369 * elmo-localnews.el (toplevel): Added Keyword header.
7371 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7373 * elmo-version.el (product-version-as-string): Defined using
7377 * elmo-localdir.el (toplevel): Updated copyright notice.
7378 * elmo-version.el (toplevel): Ditto.
7379 * elmo-msgdb.el (toplevel): Ditto.
7380 * elmo-imap4.el (toplevel): Ditto.
7381 * elmo-nntp.el (toplevel): Ditto.
7382 * elmo-pop3.el (toplevel): Ditto.
7384 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7386 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7389 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7390 parameter value (It sometimes contains raw kanji).
7392 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7394 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7395 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7397 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7399 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7401 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7403 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7404 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7406 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7408 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7409 value if selecting folder succceeded.
7410 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7412 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7414 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7417 * elmo-util.el (elmo-string-matched-member): New function.
7419 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7421 * elmo-util.el (elmo-unintern): New macro.
7422 (elmo-number-set-member): Fixed docstring.
7424 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7427 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7429 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7430 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7432 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7434 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7437 Return non-nil if selecting folder succeeded.
7438 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7440 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7442 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7443 `file-name-completion' returns t.
7444 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7445 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7446 directory if it does not exist.
7447 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7450 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7452 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7453 enclosure (It's harmful in unplugged status).
7455 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7457 * mmelmo-1.el: Removed.
7459 * mmelmo-2.el: Ditto.
7461 * mmelmo-imap4-1.el: Ditto.
7463 * mmelmo-imap4-2.el: Ditto.
7465 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7467 * mmelmo.el: Merged mmelmo-2.el.
7469 * elmo-version.el (elmo-version): Up to 2.3.92.
7471 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7473 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7474 elmo-update-number): Remove last period in "...done." message.
7475 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7477 * elmo-cache.el (elmo-cache-expire-by-size,
7478 elmo-cache-get-sorted-cache-file-list,
7479 elmo-cache-msgdb-create-as-numlist): Ditto.
7480 * elmo-dop.el (elmo-dop-save-pending-messages,
7481 (elmo-dop-flush-pending-append-operations): Ditto.
7482 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7483 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7484 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7485 (elmo-localdir-pack-number): Ditto.
7486 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7487 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7488 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7489 mime-write-entity-content): Ditto.
7490 * pldap.el (ldap-search-basic): Ditto.
7492 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7494 * elmo-version.el (elmo-version): Up to 2.3.91.
7496 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7497 Only when filter is 'last'.
7499 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7500 (elmo-condition-parse-search-value): Use it.
7501 (elmo-read-search-condition-internal): Quote value only when
7504 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7506 * elmo2.el (elmo-generic-folder-diff): Fix.
7508 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7510 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7511 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7512 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7513 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7514 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7515 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7517 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7519 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7522 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7524 * elmo-version.el (elmo-version): Up to 2.3.90.
7526 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7527 (elmo-imap4-list-folder-important): Ditto.
7529 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7531 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7533 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7535 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7537 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7539 * elmo-nntp.el (elmo-network-initialize-session):
7540 Add starttls negotiation.
7542 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7544 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7546 (elmo-network-setup-session): Define.
7547 Call `elmo-nntp-send-mode-reader' when session opened.
7549 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7551 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7553 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7555 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7556 an invalid SPACE character ahead of `SEARCH' command. Move
7557 a valid SPACE character following `SEARCH' from conditional
7558 `format' arguments to control-strings.
7560 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7562 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7565 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7567 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7569 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7570 `w32-get-true-file-link-count' as t.
7572 * elmo-imap4.el (elmo-imap4-read): Abolished.
7573 (Renamed to `elmo-read' and moved to elmo-util.el)
7574 All other related portions are changed.
7576 * elmo-util.el (elmo-read): New function.
7577 (elmo-condition-parse-search-value): Use it.
7579 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7581 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7583 * elmo-nntp.el (elmo-nntp-session): Define.
7584 (elmo-nntp-setting): Abolished.
7585 All other related portions are changed.
7586 (elmo-nntp-get-server-command): Changed argument.
7587 (elmo-nntp-set-server-command): Ditto.
7588 (elmo-nntp-xover-p): Ditto.
7589 (elmo-nntp-set-xover): Ditto.
7590 (elmo-nntp-listgroup-p): Ditto.
7591 (elmo-nntp-set-listgroup): Ditto.
7592 (elmo-nntp-list-active-p): Ditto.
7593 (elmo-nntp-set-list-active): Ditto.
7594 (elmo-nntp-xhdr-p): Ditto.
7595 (elmo-nntp-set-xhdr): Ditto.
7596 (elmo-nntp-flush-connection): Abolished.
7597 (elmo-nntp-get-connection): Abolished.
7598 (elmo-nntp-get-session): New function.
7599 (elmo-network-initialize-session): Defined.
7600 (elmo-network-authenticate-session): Ditto.
7601 (elmo-nntp-send-mode-reader): Changed argument.
7602 (elmo-nntp-send-command): Changed argument.
7603 All other related portions are changed.
7604 (elmo-nntp-read-response): Ditto.
7605 (elmo-nntp-read-raw-response): Ditto.
7606 (elmo-nntp-read-contents): Ditto.
7607 (elmo-nntp-read-body): Ditto.
7608 (elmo-nntp-goto-folder): Abolished.
7609 (elmo-nntp-select-group): New function.
7610 All other related portions are changed.
7611 (This function substitutes `elmo-nntp-goto-folder')
7612 (elmo-nntp-msgdb-create-by-header): Rewrite.
7613 (elmo-nntp-get-overview): Eliminated.
7614 (elmo-nntp-get-message): Ditto.
7615 (elmo-nntp-open-connection) Abolished.
7616 (elmo-nntp-read-msg): Rewrite.
7617 (elmo-nntp-post): Ditto.
7618 (elmo-nntp-send-data): Abolished.
7619 (elmo-nntp-send-buffer): New function.
7620 (elmo-nntp-send-data-line): Define as inline function.
7621 (elmo-nntp-get-folders-info-prepare): Use session as key.
7622 (elmo-nntp-groups-read-response): Changed argument.
7623 (elmo-nntp-retrieve-headers): Ditto.
7624 (elmo-nntp-msgdb-create-message): Ditto.
7626 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7627 when searching by 'since' or 'before'.
7629 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7631 * elmo-version.el (toplevel): Use product-version-as-string for set
7632 verstion-string, if defined.
7634 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7636 * elmo-util.el: Doc fixes.
7638 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7640 * elmo-archive.el (toplevel): Use product-provide.
7641 * elmo-cache.el (toplevel): Ditto.
7642 * elmo-database.el (toplevel): Ditto.
7643 * elmo-date.el (toplevel): Ditto.
7644 * elmo-dop.el (toplevel): Ditto.
7645 * elmo-filter.el (toplevel): Ditto.
7646 * elmo-imap4.el (toplevel): Ditto.
7647 * elmo-internal.el (toplevel): Ditto.
7648 * elmo-localdir.el (toplevel): Ditto.
7649 * elmo-localnews.el (toplevel): Ditto.
7650 * elmo-maildir.el (toplevel): Ditto.
7651 * elmo-msgdb.el (toplevel): Ditto.
7652 * elmo-multi.el (toplevel): Ditto.
7653 * elmo-net.el (toplevel): Ditto.
7654 * elmo-nntp.el (toplevel): Ditto.
7655 * elmo-pipe.el (toplevel): Ditto.
7656 * elmo-pop3.el (toplevel): Ditto.
7657 * elmo-util.el (toplevel): Ditto.
7658 * elmo-vars.el (toplevel): Ditto.
7659 * elmo2.el (toplevel): Ditto.
7660 * mmelmo-1.el (toplevel): Ditto.
7661 * mmelmo-2.el (toplevel): Ditto.
7662 * mmelmo-imap4-1.el (toplevel): Ditto.
7663 * mmelmo-imap4-2.el (toplevel): Ditto.
7664 * mmelmo-imap4.el (toplevel): Ditto.
7665 * mmelmo.el (toplevel): Ditto.
7667 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7669 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7670 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7672 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7674 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7676 (elmo-multi-split-number-alist): Ditto.
7678 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7680 * elmo-version.el: New file. Use product.el.
7681 * elmo2.el: Add (require 'elmo-version).
7682 * elmo-vars.el (elmo-appname, elmo-version): Move to
7685 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7687 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7688 `elmo-msgdb-expand-path'.
7689 (elmo-msgdb-load): Ditto.
7690 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7691 (elmo-generic-list-folder-unread): Rewrite.
7692 (elmo-generic-list-folder-important): Changed argument.
7693 (elmo-list-folder-unread): Ditto.
7694 (elmo-list-folder-important): Ditto.
7695 (elmo-folder-diff): Rewrite.
7696 (elmo-generic-folder-diff): New function.
7697 (elmo-multi-get-number-alist-list): Abolished
7698 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7699 (elmo-multi-folder-diff): Moved to elmo-multi.el
7700 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7702 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7703 `elmo-msgdb-expand-path'.
7704 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7705 (elmo-pop3-read-msg): Ditto.
7706 (elmo-pop3-delete-msgs): Ditto.
7707 (elmo-pop3-folder-diff): New alias.
7709 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7710 `elmo-msgdb-expand-path'.
7711 (elmo-pipe-list-folder-unread): Changed arguments.
7712 (elmo-pipe-list-folder-important): Ditto.
7713 (elmo-pipe-folder-diff): New alias.
7715 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7716 `elmo-msgdb-expand-path'.
7717 (elmo-nntp-max-of-folder): Ditto.
7718 (elmo-nntp-msgdb-create): Ditto.
7719 (elmo-nntp-delete-msgs): Ditto.
7720 (elmo-nntp-folder-diff): New alias.
7722 * elmo-multi.el (elmo-multi-folder-diff): New function.
7723 (elmo-multi-split-mark-alist): Ditto.
7724 (elmo-multi-split-number-alist): Ditto.
7725 (elmo-multi-mark-alist-list): Abolished (Renamed to
7726 elmo-multi-split-mark-alist).
7727 (elmo-multi-list-folder-unread): Rewrite.
7728 (elmo-multi-list-folder-important): Ditto.
7729 (elmo-multi-list-folder): Set `spec' as 1st argument for
7730 `elmo-msgdb-expand-path'.
7731 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7732 instead of `elmo-multi-get-number-alist-list'.
7734 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7735 If 1st argument is not string, treat as spec.
7736 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7737 `elmo-msgdb-expand-path'.
7738 (elmo-msgdb-flist-load): Ditto.
7739 (elmo-msgdb-flist-save): Ditto.
7740 (elmo-msgdb-delete-path): Ditto.
7741 (elmo-msgdb-rename-path): Ditto.
7743 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7744 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7745 (elmo-maildir-delete-mark-msgs): Ditto.
7746 (elmo-maildir-msgdb-create): Ditto.
7747 (elmo-maildir-read-msg): Ditto.
7748 (elmo-maildir-delete-msgs): Ditto.
7749 (elmo-maildir-list-folder-subr): Ditto.
7750 (elmo-maildir-search): Ditto.
7751 (elmo-maildir-get-msg-filename): Ditto.
7752 (elmo-maildir-pack-number): Ditto.
7753 (elmo-maildir-folder-diff): New alias.
7755 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7757 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7758 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7759 (elmo-localdir-folder-diff): New alias.
7761 * elmo-internal.el (elmo-internal-list-folder-subr):
7762 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7763 (elmo-internal-list-folder-by-location): Ditto.
7764 (elmo-internal-msgdb-create): Ditto.
7765 (elmo-internal-delete-msgs): Ditto.
7766 (elmo-internal-read-msg): Ditto.
7767 (elmo-internal-folder-diff): New alias.
7769 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7770 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7771 `elmo-msgdb-expand-path'.
7772 (elmo-imap4-list-folder-unread): Changed arguments.
7773 (elmo-imap4-list-folder-important): Ditto.
7775 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7776 (elmo-filter-list-folder-important): Ditto.
7777 (elmo-filter-folder-diff): New function.
7779 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7781 * elmo-cache.el (elmo-cache-list-folder):
7782 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7783 (elmo-cache-copy-msgs): Ditto.
7784 (elmo-cache-folder-diff): New alias.
7786 * elmo-archive.el (elmo-archive-list-folder-subr):
7787 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7788 (elmo-archive-get-archive-name): Ditto.
7789 (elmo-archive-create-file): Ditto.
7790 (elmo-archive-append-msg): Ditto.
7791 (elmo-archive-copy-msgs): Ditto.
7792 (elmo-archive-copy-msgs-froms): Ditto.
7793 (elmo-archive-get-msg-filename): Ditto.
7794 (elmo-archive-folder-diff): New alias.
7796 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7798 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7799 (elmo-pop3-stream-type-alist): New variable.
7800 (elmo-nntp-stream-type-alist): New variable.
7802 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7803 (elmo-kill-buffer): Ditto.
7804 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7805 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7806 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7807 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7808 (elmo-imap4-get-spec): Take into account
7809 `elmo-imap4-stream-type-alist'.
7811 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7813 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7814 (elmo-nntp-list-folders-get-cache): Ditto.
7816 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7818 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7819 character before 'uid'.
7821 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7823 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7825 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7827 * elmo-util.el (elmo-number-set-member): New function.
7828 (elmo-number-set-append-list): Ditto.
7829 (elmo-number-set-append): Ditto.
7831 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7832 Use `elmo-number-set-member'.
7833 (elmo-living-messages): Ditto.
7834 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7835 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7837 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7838 (elmo-imap4-add-to-cont-list): Abolished.
7839 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7840 instead of elmo-imap4-add-to-cont-list.
7842 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7843 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7845 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7847 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7849 * elmo-util.el (elmo-condition-parse-search-value):
7852 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7854 * elmo-util.el (elmo-condition-find-key-internal): New function.
7855 (elmo-condition-find-key): Ditto.
7857 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7858 (elmo-msgdb-search-internal): Ditto.
7859 (elmo-msgdb-search): Ditto.
7861 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7863 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7864 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7866 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7867 (elmo-nntp-search-primitive): Fixed problem when condition is
7870 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7872 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7873 (elmo-nntp-xhdr-p): New macro.
7874 (elmo-nntp-set-xhdr): Ditto.
7875 (elmo-nntp-parse-xhdr-response): New function.
7876 (elmo-nntp-retrieve-field): Ditto.
7877 (elmo-nntp-search-primitive): Ditto.
7878 (elmo-nntp-search): Implemented.
7880 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7882 * elmo-archive.el (elmo-archive-search): Set all number list to
7883 `elmo-archive-field-condition-match'
7885 * elmo-localdir.el (elmo-localdir-search): Likewise.
7887 * elmo-maildir.el (elmo-maildir-search): Likewise.
7889 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7891 * elmo-msgdb.el (elmo-living-messages): New function.
7892 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7893 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7894 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7895 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7896 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7897 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7898 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7899 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7900 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7901 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7902 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7904 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7906 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7908 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7910 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7912 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7913 arguments for `SEARCH' command.
7914 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7915 All other related portions are changed.
7917 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7919 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7920 (elmo-list-folder-unread): Rewrite.
7921 (elmo-list-folder-important): Ditto.
7923 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7924 (elmo-condition-parse-error): New inline function.
7925 (elmo-read-search-condition): New function.
7926 (elmo-read-search-condition-internal): Ditto.
7927 (elmo-parse-search-condition): Rewrite.
7928 (elmo-condition-parse): New function.
7929 (elmo-condition-parse-or-expr): Ditto.
7930 (elmo-condition-parse-and-expr): Ditto.
7931 (elmo-condition-parse-primitive): Ditto.
7932 (elmo-condition-parse-search-value): Ditto.
7933 (elmo-buffer-field-primitive-condition-match): Ditto.
7934 (elmo-buffer-field-condition-match): Rewrite.
7935 (elmo-file-field-condition-match): Ditto.
7937 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7938 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7940 * elmo-internal.el (elmo-internal-search): Set `number' and
7941 `number-list' argument of `elmo-file-field-condition-match'.
7943 * elmo-maildir.el (elmo-maildir-search): Ditto.
7945 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7946 `msgdb' as argument instead of `mark-alist'.
7947 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7950 * elmo-multi.el: Likewise.
7952 * elmo-pipe.el: Likewise.
7954 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7955 (elmo-imap4-search-internal): Rewrite.
7956 (elmo-imap4-search): Ditto.
7958 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7959 (elmo-filter-list-folder-unread): Ditto.
7960 (elmo-filter-list-folder-important): Ditto.
7961 (elmo-filter-search): Rewrite.
7963 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7964 `number-list' argument of `elmo-file-field-condition-match'.
7965 (elmo-cache-search): Ditto.
7967 * elmo-localdir.el: Likewise.
7969 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7970 number-list and pass it to `elmo-buffer-field-condition-match'.
7971 (elmo-archive-field-condition-match): Pass `number-list' to
7972 `elmo-archive-field-condition-match'
7974 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7976 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7979 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7980 (elmo-folder-diff-async-callback-data): Ditto.
7981 (elmo-folder-diff-async): New function.
7983 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7984 (elmo-network-session-cache-key): Use it as a prefix of the session
7986 (elmo-network-open-session): Ditto.
7988 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7989 (elmo-imap4-status-callback-data): Ditto.
7990 (elmo-imap4-server-diff-async-callback): New variable.
7991 (elmo-imap4-server-diff-async-callback-data): Ditto.
7992 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7993 `elmo-imap4-status-callback-data'.
7994 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7995 `elmo-imap4-status-callback-data' as nil.
7996 (elmo-imap4-server-diff): Ditto.
7997 (elmo-imap4-server-diff-async-callback-1): New function.
7998 (elmo-imap4-server-diff-async): Ditto.
7999 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8001 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8003 * elmo-util.el (elmo-list-delete): Doc fix.
8004 (elmo-delete-lists): Abolish.
8005 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8006 instead of `elmo-delete-lists'.
8008 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8010 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8013 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8015 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8016 `elmo-imap4-literal-subr'.
8017 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8018 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8020 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8022 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8023 (elmo-archive-list-folder): Fix.
8024 (elmo-archive-max-of-folder): Fix.
8026 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8028 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8029 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8030 (elmo-localdir-append-msg): Ditto.
8031 (elmo-localdir-list-folder): Fix for `nonsort'.
8032 (elmo-localdir-list-folder-subr): Fix for `killed'.
8033 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8034 (elmo-maildir-list-folder-subr): Ditto.
8035 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8036 (elmo-archive-list-folder-subr): Ditto.
8037 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8038 (elmo-internal-list-folder-subr): Ditto.
8040 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8042 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8044 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8046 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8048 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8050 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8051 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8053 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8055 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8056 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8058 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8060 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8062 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8063 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8064 before STORE command.
8066 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8068 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8070 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8071 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8073 (elmo-imap4-list-folders): Removed unused local variable.
8074 (elmo-network-initialize-session): Ditto.
8075 (elmo-imap4-delete-msg-by-id): Ditto.
8076 (elmo-imap4-parse-fetch): Ditto.
8077 (elmo-imap4-copy-msgs): Ditto.
8078 Use `dst-spec' instead of `dst-folder'.
8079 (elmo-network-authenticate-session): Check authenticate type `plain'.
8081 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8083 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8085 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8086 `elmo-imap4-response-value'.
8087 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8089 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8091 * elmo-imap4.el (elmo-imap4-send-command):
8092 Cause elmo-imap4-bye-error when current response is BYE.
8093 (elmo-imap4-arrival-filter): Changed greeting response value.
8095 * elmo2.el (elmo-imap4-bye-error): Define.
8097 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8098 (elmo-imap4-server-diff): Ditto.
8099 (elmo-imap4-response-bye-p): New macro.
8100 (elmo-imap4-response-error-text): Get text from BYE response.
8101 (elmo-imap4-read-response): Return if BYE response.
8102 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8103 (elmo-imap4-folder-exists-p): Ditto.
8104 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8105 (elmo-imap4-parse-bye): New function.
8106 (elmo-imap4-parse-response): Remove needless let.
8107 Call `elmo-imap4-parse-bye'.
8109 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8111 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8112 the mailbox does not exist.
8113 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8115 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8117 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8119 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8121 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8123 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8124 (elmo-network-initialize-session-buffer): Defined.
8126 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8128 (mmelmo-imap4-get-mime-entity): Rewrite.
8130 * elmo2.el (elmo-error): Capitalize error message.
8132 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8133 (elmo-network-session-buffer): New macro.
8134 (elmo-network-open-session): Use it.
8136 * elmo-imap4.el: Rewrite.
8138 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8140 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8142 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8144 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8145 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8146 (elmo-imap4-create-msgdb-from-overview-string): Use
8147 `elmo-msgdb-create-overview-from-buffer'.
8149 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8151 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8152 (elmo-imap4-default-hierarchy-delimiter): New variable.
8153 (elmo-imap4-list-folders): Use it.
8155 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8157 * elmo-net.el (elmo-network-open-session): Add user and
8158 stream-type for process-buffer name.
8160 * elmo-pop3.el (elmo-network-initialize-session): Call
8161 buffer-disable-undo.
8163 * elmo-imap4.el (elmo-network-initialize-session):
8164 Set current-buffer as an argument for `buffer-disable-undo'.
8166 * elmo-pop3.el (elmo-network-close-session): Don't use
8169 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8170 Set default as 'user.
8172 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8174 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8175 and `elmo-imap4-flush-connection'.
8177 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8178 (elmo-pop3-get-spec): Assume auth as symbol.
8179 (elmo-open-network-stream): Moved to `elmo-net'.
8181 * elmo-pop3.el (toplevel): Require 'elmo-net.
8182 Define `sasl-cram-md5' to silence byte compilier.
8183 (elmo-pop3-connection-cache) Abolished.
8184 (elmo-pop3-authenticator-alist) New variable.
8185 (elmo-pop3-session): Define.
8186 (elmo-pop3-connection-get-process): Abolished.
8187 (elmo-pop3-connection-get-buffer): Ditto.
8188 (elmo-pop3-close-connection): Ditto.
8189 (elmo-pop3-flush-connection): Ditto.
8190 (elmo-pop3-get-connection): Ditto.
8191 (elmo-pop3-get-session): New function.
8192 (Replacement for `elmo-pop3-get-connection').
8193 All other related modules are changed.
8194 (elmo-network-close-session): Define.
8195 (elmo-pop3-send-command): Abolished argument `buffer'.
8196 All other related modules are changed.
8197 (elmo-pop3-read-response): Likewise.
8198 (elmo-pop3-open-connection): Abolished.
8199 (elmo-pop3-auth-user): New function.
8200 (elmo-pop3-auth-apop): Ditto.
8201 (elmo-pop3-auth-cram-md5): Ditto.
8202 (elmo-pop3-auth-scram-md5): Ditto.
8203 (elmo-pop3-auth-digest-md5): Ditto.
8204 (elmo-network-initialize-session): Define.
8205 (elmo-network-authenticate-session): Ditto.
8206 (elmo-network-setup-session): Ditto.
8208 * elmo-imap4.el (toplevel): Require 'elmo-net.
8209 (elmo-imap4-session): Define.
8210 (elmo-imap4-connection-cache): Abolished.
8211 (elmo-imap4-password-key): Ditto.
8212 (elmo-imap4-flush-connection): Ditto.
8213 (elmo-imap4-get-connection): Ditto.
8214 All other related modules are changed.
8215 (elmo-imap4-get-session): New function
8216 (Replacement for `elmo-imap4-get-connection').
8217 (elmo-imap4-read-response): Abolished argument `buffer'.
8218 All other related modules are changed.
8219 (elmo-imap4-send-command): Likewise.
8220 (elmo-imap4-select-folder): Abolished.
8221 All other related modules are changed.
8222 (elmo-imap4-select-mailbox): New function.
8223 (Replacement for `elmo-imap4-select-folder').
8224 (elmo-imap4-auth-login): Simplify.
8225 (Assume current buffer as process buffer)
8226 (elmo-imap4-auth-cram-md5): Ditto.
8227 (elmo-imap4-auth-digest-md5): Ditto.
8228 (elmo-imap4-login): Ditto.
8229 (elmo-imap4-open-connection): Abolished.
8230 (elmo-imap4-open-connection-1): Abolished.
8231 (elmo-network-initialize-sessoin): Define.
8232 (elmo-network-authenticate-session): Ditto.
8233 (elmo-network-setup-session): Ditto.
8235 * elmo-net.el: New module.
8237 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8239 * elmo-util.el (elmo-define-error): New function.
8241 * elmo2.el (elmo-error): Define.
8242 (elmo-open-error): Define.
8243 (elmo-authenticate-error): Define.
8245 * elmo-imap4.el (elmo-imap4-error): Abolish.
8246 (elmo-imap4-error-type): Abolish.
8247 (elmo-imap4-error-process): Abolish.
8248 (elmo-imap4-error-message): Abolish
8249 (elmo-imap4-list-folders): Don't quote lambda.
8250 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8251 (elmo-imap4-parse-namespace): Ditto.
8252 (elmo-imap4-open-connection): Rewrite.
8253 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8254 (elmo-imap4-get-connection): Abolish local variable `result'.
8256 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8258 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8259 wrong-type-argument error when auth is nil.
8261 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8263 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8264 (elmo-default-nntp-stream-type): Ditto.
8265 (elmo-default-pop3-stream-type): Ditto.
8266 (elmo-network-stream-type-alist): Ditto.
8267 (elmo-default-imap4-ssl): Abolished.
8268 (elmo-default-nntp-ssl): Ditto.
8269 (elmo-default-pop3-ssl): Ditto.
8271 * elmo-util.el: (toplevel): Removed needless requires.
8272 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8273 (elmo-open-network-stream): Open network stream according to
8274 the value of `elmo-network-stream-type-alist'.
8275 (elmo-get-network-stream-type): New function.
8276 (elmo-network-stream-type-spec-string): New macro.
8277 (elmo-network-stream-type-symbol): Ditto.
8278 (elmo-network-stream-type-function): Ditto.
8280 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8281 network-stream-type. All other related portions are changed.
8282 (elmo-pop3-open-connection): Ditto.
8284 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8285 network-stream-type. All other related portions are changed.
8287 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8288 network-stream-type.All other related portions are changed.
8289 (elmo-imap4-error): New macro.
8290 (elmo-imap4-error-type): Ditto.
8291 (elmo-imap4-error-process): Ditto.
8292 (elmo-imap4-error-message): Ditto.
8293 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8294 (elmo-imap4-auth-cram-md5): Ditto.
8295 (elmo-imap4-auth-digest-md5): Ditto.
8296 (elmo-imap4-login): Ditto.
8297 (elmo-imap4-open-connection): Remove password entry if authentication
8299 (elmo-imap4-user-at-host): Abolished.
8300 (elmo-imap4-password-key): New buffer local variable.
8301 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8302 using protocol, port, auth and stream-type.
8304 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8306 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8308 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8310 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8312 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8313 (elmo-imap4-authenticator-alist): New variable.
8314 (elmo-imap4-open-connection-1): Rename from
8315 elmo-imap4-open-connection.
8316 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8317 only wraps elmo-imap4-open-connection-1.
8318 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8320 (elmo-imap4-auth-login): New function.
8321 (elmo-imap4-auth-cram-md5): New function.
8322 (elmo-imap4-auth-digest-md5): New function.
8323 (elmo-imap4-login): New function.
8325 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8327 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8330 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8332 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8334 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8336 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8338 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8340 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8341 for server responses, quote `*' regardless of where it appears.
8343 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8345 * elmo-maildir.el (elmo-maildir-commit): New alias.
8347 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8349 * elmo-util.el (elmo-display-progress):
8350 Use `progress-feedback-with-label'.
8352 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8354 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8355 (elmo-imap4-non-atom-char-regex): Ditto.
8356 (elmo-imap4-non-text-char-regex): Ditto.
8357 (elmo-imap4-literal-threshold): Ditto.
8358 (elmo-imap4-atom-p): New function.
8359 (elmo-imap4-quotable-p): Ditto.
8360 (elmo-imap4-nil): Ditto.
8361 (elmo-imap4-atom): Ditto.
8362 (elmo-imap4-quoted): Ditto.
8363 (elmo-imap4-literal-subr): Ditto.
8364 (elmo-imap4-literal): Ditto.
8365 (elmo-imap4-buffer-literal): Ditto.
8366 (elmo-imap4-string-subr): Ditto.
8367 (elmo-imap4-string): Ditto.
8368 (elmo-imap4-buffer-string): Ditto.
8369 (elmo-imap4-astring-subr): Ditto.
8370 (elmo-imap4-astring): Ditto.
8371 (elmo-imap4-buffer-astring): Ditto.
8372 (elmo-imap4-nstring): Ditto.
8373 (elmo-imap4-buffer-nstring): Ditto.
8374 (elmo-imap4-mailbox): New alias.
8375 (elmo-imap4-field-body): Ditto.
8376 (elmo-imap4-userid): Ditto.
8377 (elmo-imap4-password): Ditto.
8378 (elmo-imap4-format-quoted): New function.
8379 (elmo-imap4-send-command): Rewritten. Accept a list of command
8380 arguments and handle "atom", "quoted" and "literal" string here.
8381 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8382 `elmo-imap4-send-command'.
8383 (elmo-imap4-folder-exists-p): Likewise.
8384 (elmo-imap4-create-folder): Likewise.
8385 (elmo-imap4-delete-folder): Likewise.
8386 (elmo-imap4-rename-folder): Likewise.
8387 (elmo-imap4-max-of-folder): Likewise.
8388 (elmo-imap4-check-validity): Likewise.
8389 (elmo-imap4-sync-validity): Likewise.
8390 (elmo-imap4-server-diff): Likewise.
8391 (elmo-imap4-select-folder): Likewise.
8392 (elmo-imap4-copy-msgs): Likewise.
8393 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8394 (elmo-imap4-mark-set-on-msgs): Likewise.
8395 (elmo-imap4-read-part): Likewise.
8396 (elmo-imap4-read-msg): Likewise.
8397 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8398 `elmo-imap4-password' for `elmo-imap4-send-command'.
8399 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8400 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8401 `elmo-imap4-buffer-literal'.
8402 (elmo-imap4-append-msg): Likewise.
8404 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8405 `delete' for removing dead connection from the connection cache.
8406 Move deletion of the process buffer after that.
8407 (elmo-imap4-list): Change `defsubst' to `defun'.
8408 (elmo-imap4-commit): Make error message verbose.
8409 (elmo-imap4-search): Ditto.
8410 (elmo-imap4-list): Ditto.
8411 (elmo-imap4-select-folder): Ditto.
8412 (elmo-imap4-copy-msgs): Ditto.
8413 (elmo-imap4-delete-msg-by-id): Ditto.
8414 (elmo-imap4-append-msg-by-id): Ditto.
8415 (elmo-imap4-append-msg): Ditto.
8417 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8419 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8420 when dired is used on XEmacs.
8422 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8424 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8425 instead of `append'.
8426 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8427 `elmo-plugged-p' directly.
8428 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8429 of `elmo-plugged-p' directly.
8431 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8432 Eliminate unused variable. Use `memq' for checking a process status.
8433 Use `cons' instead of `append' for updating the connection cache.
8434 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8435 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8437 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8439 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8440 `elmo-imap4-read-point' exactly.
8442 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8443 the local variable `folder' to `mailbox'.
8444 Rename the argument `fld' to `folder'.
8446 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8448 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8449 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8451 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8453 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8454 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8455 (elmo-pop3-uidl-number-hash): Ditto.
8456 (elmo-pop3-size-hash): Ditto.
8457 (elmo-pop3-uidl-done): Ditto.
8458 (elmo-pop3-list-done): Ditto.
8459 (elmo-pop3-connection-get-process): New defmacro.
8460 (elmo-pop3-connection-get-buffer): Ditto.
8461 (elmo-pop3-close-connection): Delete buffer and process.
8462 (elmo-pop3-flush-connection): Don't delete buffer and process.
8463 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8464 Setup UIDL and size hash.
8465 (elmo-pop3-send-command-no-erase): Deleted
8466 (elmo-pop3-send-command): Added optional argument `no-erase'.
8467 (elmo-pop3-parse-uidl-response): New function.
8468 (elmo-pop3-parse-list-response): Set size hash.
8469 (elmo-pop3-list-location): New function.
8470 (elmo-pop3-list-by-uidl-subr): Ditto.
8471 (elmo-pop3-list-by-list): Ditto.
8472 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8473 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8474 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8475 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8476 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8478 (elmo-pop3-uidl-to-number): New function.
8479 (elmo-pop3-number-to-uidl): Ditto.
8480 (elmo-pop3-number-to-size): Ditto.
8481 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8482 Set number by use of uidl.
8483 (elmo-pop3-msgdb-create-message): Likewise.
8484 Set size, loc-alist in msgdb.
8485 (elmo-pop3-read-msg): Set number by use of uidl.
8486 Added optional argument `msgdb'.
8487 (elmo-pop3-delete-msg): Ditto.
8488 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8489 (elmo-pop3-commit): Close connection.
8491 * elmo-pipe.el (elmo-pipe-max-of-folder):
8492 Bind `elmo-pop3-use-uidl' as nil.
8493 (elmo-pipe-drain): Ditto.
8496 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8497 (elmo-msgdb-overview-entity-set-size): New defsubst.
8499 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8501 * elmo-vars.el (elmo-use-killed-list): New variable
8502 (Renamed from `elmo-nntp-use-killed-list').
8503 (elmo-nntp-use-killed-list): Eliminated.
8505 * elmo-msgdb.el (elmo-msgdb-expand-path):
8506 Changed expanding msgdb path for elmo-multi.
8508 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8509 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8510 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8511 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8512 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8513 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8514 (toplevel): Deleted time-stamp line.
8516 * elmo2.el (elmo-clear-killed ): Defined as function
8517 (Abolished defining as a backend function).
8518 All other related modules are changed.
8520 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8522 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8524 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8526 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8528 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8530 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8532 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8534 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8535 asynchronous folder check.
8537 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8539 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8540 `elmo-nntp-use-killed-list'.
8541 (elmo-nntp-list-folder): Use killed list.
8542 (elmo-nntp-max-of-folder): Ditto.
8543 (elmo-nntp-msgdb-create): Set killed list.
8545 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8547 * elmo2.el (elmo-clear-killed): New backend function.
8548 All other related modules are changed.
8550 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8552 * elmo-util.el (elmo-imap4-spec-folder): Use
8553 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8554 All callers changed.
8556 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8558 * mmelmo-2.el (initialize-instance):
8559 Use `mime-buffer-entity-buffer-internal' instead of
8560 `mime-entity-buffer'.
8562 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8563 (mime-entity-body): Implemented.
8564 (mime-goto-header-start-point): Deleted.
8565 (mime-goto-body-end-point): Ditto.
8566 (mime-entity-point-min): Ditto.
8567 (mime-entity-point-max): Ditto.
8568 (mime-entity-children): Ditto.
8569 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8570 instead of `mime-entity-buffer'.
8571 (mime-entity-header-buffer): Ditto.
8572 (mime-entity-body-buffer): Ditto.
8573 (mime-write-entity-content): Ditto.
8575 * pldap.el (ldap-static-if): New macro.
8576 (toplevel): Use it instead of `static-if'.
8578 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8580 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8581 included in `attrs' argument.
8583 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8585 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8587 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8588 (ldap-ldif-safe-init-char-regexp): Ditto.
8589 (ldap-ldif-safe-string-regexp): Ditto.
8590 (ldap/ldif-safe-string-p): New macro.
8591 (ldap/ldif-insert-field): Ditto.
8592 (ldap-modify): Use it.
8594 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8595 (ldap-decode-attribute): Decode only when `attr' is consp.
8596 (ldap-delete): Bind `ret'.
8597 (toplevel): Require 'cl at compile time.
8598 Removed (require 'poe) and (require 'std11).
8599 (pldap-version): Eliminated.
8600 (ldap-search-basic): Removed auth and dn binding.
8601 (ldap-ldif-field-name-regexp): New constant.
8602 (ldap-ldif-field-head-regexp): Ditto.
8603 (ldap-ldif-next-field-head-regexp): Ditto.
8604 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8605 (ldap/field-end): New function.
8606 (ldap/field-body): Use it.
8607 (ldap/collect-field): Ditto.
8608 (ldap-search-basic): Use `ldap/field-body'.
8610 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8612 * pldap.el (ldap-default-attribute-encoder): New user option.
8613 (ldap/field-body): Decode base64 string.
8614 (ldap/collect-field): Ditto.
8615 (ldap-encode-attribute): New function.
8616 (ldap-add-entries): Use it.
8617 (ldap-modify-entries): Ditto.
8618 (ldap-search-entries): Enclosed decoding function with
8619 `with-temp-buffer' and set as unibyte.
8620 (ldap-search-basic): Set process buffer as unibyte.
8622 * elmo-util.el (elmo-folder-identical-system-p):
8623 Eliminated name space checking.
8625 * pldap.el: New module.
8626 toplevel: Changed condition to detect built-in ldap feature.
8627 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8628 (ldap-add): Added error handling.
8629 (ldap-modify): Ditto.
8630 (ldap-delete): Ditto.
8632 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8634 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8635 Initialize local variables with `let'. Inline a temporary
8636 variable for the progress percentage. Sort `setq' to reduce
8637 function call in the while-loop.
8639 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8640 into the conditional branch.
8642 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8644 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8645 Move a conditional out of the while-loop.
8647 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8649 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8650 elmo-msgdb-overview-get-entity-by-number.
8651 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8654 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8656 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8657 the local variable for a packed number self descriptively.
8659 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8661 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8662 * elmo-localdir.el (elmo-localdir-pack-number): Use
8663 `elmo-msgdb-overview-get-entity' instead of
8664 `elmo-msgdb-overview-get-entity-by-number'.
8665 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8666 (elmo-msgdb-search-overview-entity): Removed.
8667 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8668 by message-id or number.
8669 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8670 instead of `elmo-msgdb-overview-get-entity-by-number'.
8672 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8674 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8675 non-nil, use hash table for overview.
8676 (elmo-hash-maximum-size): New variable.
8677 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8678 (elmo-msgdb-make-overview-hashtb): New function.
8679 (elmo-msgdb-clear-overview-hashtb): New function.
8680 (elmo-clear-hash-val): New macro.
8681 All other related modules are changed.
8683 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8685 * elmo2.el (elmo-move-msgs): If there's other message with
8686 same message-id, don't use cache.
8688 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8690 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8691 number is already packed.
8693 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8695 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8697 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8699 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8700 All other related modules are changed.
8702 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8704 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8705 of refiling failure on Maildir.
8707 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8709 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8710 decoded mime-charset with cache.
8711 (elmo-msgdb-overview-entity-get-from): Ditto.
8712 (elmo-msgdb-overview-entity-get-subject): Ditto.
8713 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8715 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8717 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8718 (elmo-remove-passwd): Fill password with 0 before erase.
8719 * elmo-vars.el (elmo-passwd-life-time): New variable.
8722 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8724 * elmo-cache.el (elmo-buffer-cache-add):
8725 Set message cache buffer as unibyte.
8727 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8729 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8732 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8734 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8735 when display is finished.
8736 (elmo-nntp-msgdb-create): Ditto.
8737 (elmo-nntp-groups-read-response): Ditto.
8738 (elmo-nntp-retrieve-headers): Ditto.
8739 (elmo-nntp-msgdb-create-message): Ditto.
8740 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8741 (elmo-pop3-msgdb-create-message): Ditto.
8743 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8745 * elmo-maildir.el (elmo-maildir-msgdb-create):
8746 Use `elmo-msgdb-sort-by-date'.
8748 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8750 * elmo2.el (elmo-read-msg-no-cache):
8751 Eliminated arguments after `outbuf'.
8752 Don't use cache even if it exists.
8753 (elmo-read-msg): Don't pass arguments after `outbuf' to
8754 `elmo-read-msg-no-cache'.
8756 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8758 * elmo-archive.el (elmo-archive-list-folders):
8759 Use `file-name-directory' if base folder does not exist.
8761 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8763 * elmo-archive.el (elmo-archive-list-folders): Don't use
8764 `file-name-directory'.
8766 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8768 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8769 If `force' is non-nil, try flushing all operation queues.
8771 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8773 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8776 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8778 * elmo-util.el (elmo-display-progress): Fixed.
8780 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8782 * elmo-util.el (elmo-display-progress): New function.
8783 All other related modules are changed.