1 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
3 * elmo-util.el (elmo-list-filter): Rewritten.
5 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7 * elmo-util.el (elmo-string-member): Allow symbol element in list.
9 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
11 * elmo-search.el (elmo-make-search-engine): Use prefix
12 `elmo-search-' for require symbol instead of `else-'.
13 (elmo-search-engine-extprog): New class.
14 (elmo-search-engine-do-search): Remove nil from argument
15 list. Added argument pattern to evaluate element as function.
16 (elmo-search-engine-local-file): Derived from
17 `elmo-search-engine-extprog'.
18 (elmo-search-engine-create-message-entity): Check existance of file.
19 (elmo-search-engine-fetch-message): Ditto.
20 (elmo-search-namazu-index): Follow the API change.
21 (elmo-search-grep-target): Ditto.
23 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
25 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
26 characters of working buffer.
28 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
29 Does not bind `default-mime-charset'.
30 (elmo-msgdb-create-message-entity-from-buffer): Removed
31 unnecessary local bind.
33 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
35 (modb-entity-extract-mailing-list-info-functions): Added it.
37 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
39 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
40 when number and message-id are non-nil.
42 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
44 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
45 conditional steatment.
46 (elmo-pop3-auth-apop): Likewise.
47 (elmo-network-authenticate-session): Likewise.
49 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
51 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
53 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
56 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
57 (elmo-decoded-field-body): Ditto.
59 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
61 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
64 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
66 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
69 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
71 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
74 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
76 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
77 Set default value as nil.
78 (toplevel): Register search engines by
79 `elmo-search-register-engine' if there are not defined.
81 * elmo.el (autoload): Added autoload setting for
82 `elmo-search-register-engine'.
84 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
86 * elmo.el (toplevel): `[' is redefined as the prefix of the search
87 folder instead of nmz folder.
88 (elmo-nmz-default-index-path): Added obsolete variable setting.
89 (elmo-nmz-index-alias-alist): Ditto.
90 (elmo-nmz-use-drive-letter): Ditto.
92 * elmo-search.el (elmo-search-register-engine): New function.
94 * elmo-nmz.el: Removed.
96 * elmo-version.el (elmo-version): Up to 2.15.2.
98 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
100 * elmo-search.el: New file.
102 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
104 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
105 condition `larger' and `smaller'.
107 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
109 * elmo-util.el (elmo-safe-filename): Rewrite to replace
110 `"' (double quote) into "_Q_".
112 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
114 * elmo-net.el (elmo-net-quote-chars): Abolish.
115 (elmo-net-format-quoted): Ditto.
117 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
119 * elmo.el (elmo-get-folder-function): New variable.
120 (elmo-get-folder): New function.
121 (elmo-folder-rename): Call `elmo-make-folder' with specified
124 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
126 (elmo-split-subr): Ditto.
128 * elmo-multi.el (elmo-folder-initialize): Ditto.
130 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
132 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
133 (elmo-flag-get-folder): Ditto.
135 * elmo-filter.el (elmo-folder-initialize): Ditto.
137 * elmo-access.el (elmo-folder-initialize): Ditto.
138 (elmo-access-folder-update-children): Ditto.
140 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
141 (elmo-dop-queue-flush): Ditto.
142 (elmo-folder-append-buffer-dop-delayed): Ditto.
143 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
146 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
147 instead of `elmo-make-folder'.
148 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
149 destination folder instead of send `elmo-folder-rename-internal'.
151 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
152 slot of subfolder instead of create it.
154 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
156 * elmo-util.el (elmo-collect-separators): New function.
157 (elmo-collect-separators-internal): Ditto.
158 (elmo-collect-trail-separators): Ditto.
159 (elmo-parse-separated-tokens): Ditto.
160 (elmo-parse-separated-tokens-internal): Ditto.
161 (elmo-quote-syntactical-element): Ditto.
163 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
164 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
166 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
167 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
168 (elmo-nntp-folder-list-subfolders): Quote a user name.
170 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
171 (elmo-net-parse-network): Abolish.
172 (elmo-net-folder-set-parameters): New function.
173 (elmo-folder-initialize): Follow the above change.
175 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
176 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
177 (elmo-folder-list-subfolders): Use
178 `elmo-quote-syntactical-element' instead of
179 `elmo-net-format-quoted' to quote mailbox and user name.
181 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
183 * elmo-util.el (elmo-token-valid-p): New function.
184 (elmo-parse-token): Add optional argument `requirement'.
185 (elmo-parse-prefixed-element): Likewise.
187 * elmo-net.el (elmo-net-quote-chars): Renamed from
188 `elmo-net-quote-chars-regexp'.
189 (elmo-net-format-quoted): Add optional argument `extra-chars'.
191 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
192 by info document. Check token `uidl' is started an alphabet.
194 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
195 by info document. Check token `user' is started an alphabet.
197 * elmo-imap4.el (elmo-folder-initialize): Ditto.
198 (elmo-folder-list-subfolders): Quote user.
200 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
202 * elmo-util.el (elmo-quoted-specials-list): New constant.
203 (elmo-quoted-token): New function.
205 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
206 (elmo-net-format-quoted): New function.
207 (elmo-net-parse-network): Ditto.
208 (elmo-folder-initialize): Use it.
210 * elmo-nntp.el (elmo-folder-initialize): Use
211 `elmo-net-parse-network' to parse network specification instead of
212 `elmo-folder-initialize#elmo-net'.
214 * elmo-pop3.el (elmo-folder-initialize): Ditto.
216 * elmo-imap4.el (elmo-folder-initialize): Ditto.
217 (elmo-folder-list-subfolders): Quote folder name by
218 `elmo-net-format-quoted'.
220 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
222 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
223 (elmo-folder-search): Use it.
225 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
227 * modb-standard.el (modb-standard-loaded-message-id): Use
228 `elmo-msgdb-message-entity-field'.
230 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
232 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
235 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
237 * elmo-util.el (elmo-set-auto-coding): New function.
238 (elmo-object-load): Use it.
240 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
242 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
243 (elmo-time<): Define as alias of `elmo-time-less-p'.
244 (elmo-time-to-datevec): New function.
246 * elmo-date.el (elmo-time-to-days): New function.
248 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
250 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
253 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
255 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
258 * elmo-util.el (elmo-map-recursive): New function.
260 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
261 (modb-entity-encode-string-recursive): Ditto.
263 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
265 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
266 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
267 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
268 compare sequence number when last modified time is nil.
270 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
272 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
274 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
276 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
278 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
279 modification time of the file.
281 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
283 * elmo-util.el (elmo-condition-optimize): Discriminated against
284 preserved fields, extra fields and the other weight.
286 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
288 * modb-entity.el (initialize-instance): Define.
289 (modb-entity-handler-mime-charset): New internal function.
290 (modb-standard-entity-set-field): Use it.
291 (elmo-msgdb-message-entity-field): Ditto.
292 (elmo-msgdb-message-entity-field): Ditto.
294 * modb.el (elmo-msgdb-match-condition): Rewrite with
295 `elmo-condition-match'.
296 (elmo-msgdb-match-condition-primitive): New function.
298 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
299 arguments `flags' and `numbers'.
300 (elmo-msgdb-match-condition-primitive): Abolished (merged to
301 `elmo-msgdb-message-match-condition').
302 (modb-buffer-entity-handler): New class.
304 * elmo.el (elmo-folder-search): Optimize condition to use
305 `elmo-condition-optimize'.
306 (elmo-message-buffer-match-condition): New function.
307 (elmo-message-match-condition): Use
308 `elmo-message-buffer-match-condition' instead of
309 `elmo-buffer-field-condition-match'.
311 * elmo-util.el (elmo-condition-match): New function.
312 (elmo-condition-optimize): Ditto.
313 (elmo-buffer-field-primitive-condition-match): Abolish.
314 (elmo-buffer-field-condition-match): Ditto.
316 * elmo-archive.el (elmo-archive-field-condition-match): Use
317 `elmo-message-buffer-match-condition' instead of
318 `elmo-buffer-field-condition-match'.
320 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
322 * elmo-flag.el (elmo-global-flags-initialize): Check the
323 existence of the flag directory.
325 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
327 * elmo-access.el (elmo-folder-initialize): Call
328 `elmo-multi-connect-signals'.
330 * elmo-pipe.el (elmo-folder-close): Define.
332 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
335 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
338 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
341 * elmo-multi.el (elmo-message-entity): Don't use return value of
342 `elmo-message-entity-set-number'.
344 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
346 * modb.el (modb-generic): Added slot `mime-charset'.
348 * modb-standard.el (modb-standard): Added slot `overview-handler'.
349 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
350 and `modb-entity-handler-dump-parameters'.
351 (modb-standard-default-entity-handler): Abolish.
352 (elmo-msgdb-message-entity-handler): Save created handler by
355 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
356 (modb-entity-handler-list-parameters): New method.
357 (modb-entity-handler-equal-p): New function.
358 (modb-entity-handler-dump-parameters): Ditto.
359 (modb-entity-parse-address-string): Encode return value.
360 (modb-entity-make-address-string): Decode argument value.
361 (modb-entity-decode-string-recursive): New function.
362 (modb-entity-encode-string-recursive): Ditto.
363 (modb-standard-entity-normalizer): Set to encode field value.
364 (modb-standard-entity-specializer): Follow the above change.
365 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
366 mime-charset of handler.
367 (elmo-msgdb-message-entity-field): Ditto.
368 (elmo-msgdb-copy-message-entity): Fixed reference to internal
370 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
372 * elmo.el (elmo-folder): Added slot `mime-charset'.
373 (elmo-make-folder): Added argument `mime-charset'.
374 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
377 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
378 (elmo-make-msgdb): Likewise.
380 * elmo-internal.el (elmo-internal-folder-initialize): Call
381 `luna-make-entity' with :mime-charset parameter.
383 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
385 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
386 encoded words in `from' and `subject' field.
388 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
390 * modb.el (elmo-msgdb-message-field): Add argument `type'.
391 (elmo-msgdb-match-condition): Get handler from entity instead of
394 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
395 (modb-standard-load-entity): Treat new file format.
396 (modb-standard-save-entity-1): Save as new file format.
397 (modb-standard-save-entity): Split messages into section here.
398 (elmo-msgdb-message-field): Follow the API change.
399 (modb-standard-default-entity-handler): New internal variable.
400 (elmo-msgdb-message-entity-handler): Define.
402 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
404 (modb-entity-field-extractor-alist): New user option.
405 (elmo-msgdb-message-entity-field): Removed argument `decode' and
406 added argument `type'.
407 (elmo-msgdb-copy-message-entity): Add optional argument
409 (modb-set-field-converter): New function.
410 (modb-convert-field-value): Ditto.
411 (modb-entity-string-decoder): Ditto.
412 (modb-entity-string-encoder): Ditto.
413 (modb-entity-parse-date-string): Ditto.
414 (modb-entity-make-date-string): Ditto.
415 (modb-entity-mime-decoder): Ditto.
416 (modb-entity-mime-encoder): Ditto.
417 (modb-entity-address-list-decoder): Ditto.
418 (modb-entity-address-list-encoder): Ditto.
419 (modb-entity-parse-address-string): Ditto.
420 (modb-entity-make-address-string): Ditto.
421 (modb-entity-create-field-indices): Ditto.
422 (modb-legacy-entity-field-slots): New constant.
423 (modb-legacy-entity-field-indices): Ditto.
424 (modb-legacy-entity-normalizer): New variable.
425 (modb-legacy-entity-specializer): Ditto.
426 (modb-legacy-entity-field-index): New macro.
427 (modb-legacy-entity-set-field): New function.
428 (modb-legacy-make-message-entity): Rewrite.
429 (elmo-msgdb-create-message-entity-from-buffer): Use
430 `elmo-msgdb-get-references-from-buffer'. Use
431 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
432 Use `modb-legacy-entity-set-field' instead of
433 `elmo-msgdb-message-entity-set-field'.
434 (elmo-msgdb-message-entity-field): Rewrite.
435 (elmo-msgdb-message-entity-set-field): Ditto.
436 (elmo-msgdb-copy-message-entity): Make new entity by
437 `make-handler' if it specified.
438 (elmo-msgdb-message-match-condition): Define a method of
439 `modb-entity-handler' and follow the API change.
440 (modb-standard-entity-handler): New class.
441 (modb-entity-extract-ml-info-from-x-sequence): New function.
442 (modb-entity-extract-ml-info-from-subject): Ditto.
443 (modb-entity-extract-ml-info-from-return-path): Ditto.
444 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
445 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
446 (modb-entity-extract-mailing-list-info): Ditto.
447 (modb-entity-extract-mailing-list-info-functions): New variable.
449 * elmo.el (elmo-message-field): Add optional argument `type'.
451 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
452 from `modb-entity.el'.
454 * elmo-util.el (elmo-object-load): Decode by coding-system from
455 `set-auto-coding-function'.
456 (elmo-object-save): Use `detect-mime-charset-region' and add
457 coding cookie if encode.
458 (elmo-msgdb-get-references-from-buffer): New function.
459 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
461 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
463 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
464 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
465 instead of `shimbun-make-header' and follow the API change.
466 (elmo-shimbun-update-overview): Follow the API change.
467 (elmo-map-folder-list-message-locations): Ditto.
469 * elmo-pipe.el (elmo-message-field): Ditto.
471 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
474 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
476 * elmo-multi.el (elmo-message-field): Ditto.
478 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
479 (elmo-msgdb-sort-by-date): Ditto.
480 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
481 `elmo-message-entity-field'.
482 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
484 (elmo-msgdb-overview-entity-get-from): Ditto.
485 (elmo-msgdb-overview-entity-get-subject): Ditto.
486 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
487 (elmo-msgdb-overview-entity-get-date): Ditto.
488 (elmo-msgdb-overview-entity-get-to): Ditto.
489 (elmo-msgdb-overview-entity-get-cc): Ditto.
491 * elmo-mime.el (elmo-message-mime-entity): Ditto.
492 (elmo-mime-collect-message/partial-pieces): Ditto.
494 * elmo-filter.el (elmo-message-field): Ditto.
496 * elmo-date.el (elmo-datevec-to-time): New function.
497 (elmo-time-parse-date-string): Ditto.
498 (elmo-time-make-date-string): Ditto.
501 * elmo-version.el (elmo-version): Up to 2.15.1.
503 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
505 * elmo-flag.el (elmo-global-flags-initialize): Don't include
506 member of elmo-local-flags.
508 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
510 * elmo-version.el (elmo-version): Up to 2.15.0.
512 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
514 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
515 `ignore-msgdb' is non-nil.
517 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
519 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
520 (elmo-condition-in-msgdb-p): Ditto.
521 (elmo-file-field-primitive-condition-match): Ditto.
522 (elmo-file-field-condition-match): Ditto.
524 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
526 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
528 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
530 (elmo-global-flags-initialize): New function.
532 * elmo.el (toplevel): Added autoload setting for
533 `elmo-global-flags-initialize'.
535 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
537 * elmo.el (message-number-changed): Define new signal.
538 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
539 message-number-changed signal.
540 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
541 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
542 Respect `elmo-pack-number-check-strict'.
544 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
546 * elmo-signal.el (elmo-connect-signal): Document.
547 (elmo-emit-signal): Ditto.
548 (elmo-emit-signal): It should pass source argument to filter and
549 handler, not slot-source.
551 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
553 * modb.el (elmo-msgdb-update-entity): New API and define generic
556 * modb-standard.el (elmo-msgdb-update-entity): Define.
558 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
559 API and define generic implement.
561 * elmo.el (update-overview): New singnal.
563 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
564 `elmo-msgdb-update-entity' and emit signal `update-overview'.
565 (elmo-message-entity-parent): Define.
567 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
570 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
572 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
574 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
576 * elmo.el (elmo-folder-synchronize): Sort the return value of
579 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
582 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
584 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
585 `default-enable-multibyte-characters'.
586 (elmo-object-load): Use `with-temp-buffer' instead of
588 (elmo-object-save): Ditto.
589 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
591 (elmo-decoded-field-body): Ditto.
593 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
595 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
596 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
598 * elmo-version.el (elmo-version): Up to 2.13.3.
600 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
602 * elmo-util.el (elmo-list-diff): Fix the last change.
603 Reverse order of result lists.
605 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
607 * modb-standard.el (elmo-msgdb-set-flag): Use
608 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
609 (elmo-msgdb-unset-flag): Ditto.
611 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
614 * elmo-util.el (elmo-list-diff): Rewrite.
615 (elmo-list-diff-nonsortable): New function.
617 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
619 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
620 `elmo-multibypte-buffer-name'. All referers are updated.
622 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
624 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
625 (elmo-mime-entity-fragment-p): New function.
626 (mime-elmo-buffer-entity): Added slot `reassembled'.
627 (elmo-message-mime-entity): Added 4th argument `reassemble'.
628 (elmo-message-mime-entity-internal): New function (renamed from
629 `elmo-message-mime-entity').
630 (elmo-mime-inherit-field-list-from-enclosed): New constant.
631 (elmo-mime-make-reassembled-mime-entity): New function.
632 (elmo-message-reassembled-mime-entity): Ditto.
633 (elmo-mime-collect-message/partial-pieces): Ditto.
635 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
637 * elmo.el (elmo-message-fetch-string): Disable multibyte.
639 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
640 (elmo-with-enable-multibyte): New macro.
642 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
644 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
646 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
648 (elmo-filter-connect-signals): Follow the above change.
650 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
652 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
654 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
655 that only the first flag is used.
657 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
659 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
662 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
664 * elmo-signal.el: New file.
666 * elmo.el (toplevel): Require elmo-signal.
667 (flag-changing, flag-changed, cache-changed): New signal.
668 (elmo-folder): Remove slog `handlers'.
669 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
670 `elmo-folder-notify-event'.
671 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
672 (elmo-folder-unset-flag): Ditto.
673 (elmo-event-handler): Abolish.
674 (elmo-event-handler-flag-changed): Ditto.
675 (elmo-event-handler-cache-changed): Ditto.
676 (elmo-folder-add-handler): Ditto.
677 (elmo-folder-remove-handler): Ditto.
678 (elmo-folder-notify-event): Ditto.
680 * elmo-pipe.el (toplevel): Require elmo-signal.
681 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
682 (elmo-pipe-connect-signals): New function.
683 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
684 (elmo-folder-set-flag): Ditto.
685 (elmo-folder-unset-flag): Ditto.
686 (elmo-message-set-cached): Ditto.
688 * elmo-multi.el (toplevel): Require elmo-signal.
689 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
690 (elmo-multi-connect-signals): New function.
691 (elmo-multi-map-numbers): Ditto.
692 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
693 (elmo-message-fetch): Ditto.
694 (elmo-folder-set-flag): Ditto.
695 (elmo-folder-unset-flag): Ditto.
697 * elmo-filter.el (toplevel): Require elmo-signal.
698 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
699 (elmo-filter-connect-signals): New function.
700 (elmo-filter-add-flag-count): Ditto.
701 (elmo-message-fetch): Does not call
702 `elmo-filter-folder-countup-message-flags' and
703 `elmo-folder-notify-event'.
704 (elmo-message-set-cached): Ditto.
705 (elmo-folder-set-flag): Ditto.
706 (elmo-folder-unset-flag): Ditto.
708 * elmo-version.el (elmo-version): Up to 2.13.2.
710 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
712 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
715 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
717 * elmo-filter.el (elmo-message-set-cached): Call
718 `elmo-folder-notify-event' with event `cache-changed'.
720 * elmo-multi.el (elmo-message-set-cached): Ditto.
722 * elmo-pipe.el (elmo-message-set-cached): Ditto.
724 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
726 * elmo.el (elmo-folder-encache): Abolish.
728 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
730 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
731 (elmo-folder-next-message-number-dop): Return appropriate negative
734 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
736 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
737 clearing pending operations.
738 (elmo-folder-next-message-number-dop): Return appropriate negative
741 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
743 * elmo.el (toplevel): Added autoload setting for `md5'.
744 (elmo-msgdb-path-encode-threshold): New user option.
745 (elmo-folder-msgdb-path): Encode msgdb path if its length is
746 longer than `elmo-msgdb-path-encode-threshold'.
748 * elmo-flag.el (elmo-global-mark-migrate): Use
749 `elmo-folder-expand-msgdb-path' instead of
750 `elmo-folder-msgdb-path'.
752 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
754 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
755 element of the difference is nil.
757 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
759 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
760 to the check logic of file systems which are weak in colon character.
762 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
764 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
766 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
768 * elmo-maildir.el (elmo-maildir-move-file): New function.
769 (elmo-folder-append-buffer): Use it.
770 (elmo-folder-append-messages): Ditto.
771 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
773 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
774 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
776 * elmo-maildir.el (elmo-maildir-separator): New user option.
777 (elmo-maildir-adjust-separator): New macro.
778 (elmo-maildir-list-location): Use it.
779 (elmo-maildir-update-current): Ditto.
780 (elmo-maildir-set-mark): Ditto.
781 (elmo-maildir-delete-mark): Ditto.
782 (These changes are based on Hiroya Murata's patch [wl: 13437])
784 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
786 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
788 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
790 * elmo-flag.el (elmo-flag-valid-p): Simplify.
791 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
792 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
794 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
796 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
797 Use `with-temp-buffer'.
799 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
801 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
803 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
804 `wl-read-search-condition').
805 (elmo-read-search-condition-internal): Likewise.
807 * elmo-flag.el (elmo-flag-char-regexp): New constant.
808 (elmo-flag-valid-p): New function.
809 (elmo-folder-initialize): Check flag name is valid.
811 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
813 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
814 delimiter to obtain root mailbox itself.
816 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
818 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
821 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
823 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
826 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
828 * elmo-shimbun.el (toplevel): Require cl at compile.
830 * elmo-nntp.el (toplevel): Ditto.
832 * elmo-nmz.el (toplevel): Ditto.
834 * elmo-multi.el (toplevel): Ditto.
836 * elmo-file.el (toplevel): Ditto.
838 * elmo-dop.el (toplevel): Ditto.
840 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
842 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
844 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
847 * elmo.el (elmo-message-fetch): Return t even when the output buffer
848 size of elmo-message-fetch-internal is 0 byte.
850 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
852 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
854 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
856 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
859 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
861 * elmo-maildir.el (elmo-map-message-fetch): Call
862 `elmo-map-folder-set-flag'.
864 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
865 (elmo-message-fetch): Merge from
866 `elmo-message-fetch-with-cache-process'.
868 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
869 (elmo-message-fetch): Define.
871 * elmo-nntp.el (elmo-message-fetch): Renamed from
872 `elmo-message-fetch-with-cache-process'.
874 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
875 (elmo-message-fetch): Define.
877 * elmo-util.el (elmo-condition-parse-primitive): Downcase
880 * elmo-shimbun.el (shimbun-mua-search-id): Use
881 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
882 (elmo-shimbun-folder-shimbun-header): Ditto.
883 (elmo-shimbun-get-headers): Ditto.
884 (elmo-shimbun-update-overview): Ditto.
886 * elmo-pipe.el (elmo-folder-detach-messages): Define.
888 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
889 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
891 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
893 * elmo.el (elmo-message-fetch): Unset unread flag on server when
895 (elmo-message-fetch-string): Fixed argument.
897 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
899 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
900 exchange order of arguments `section' and `unread'.
901 (elmo-message-encache): Follow the API change.
902 (elmo-message-match-condition): Ditto.
903 (elmo-generic-folder-append-messages): Ditto.
904 (elmo-message-fetch-string): New function.
906 * elmo-split.el (elmo-split-subr): Ditto.
908 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
910 * elmo-pipe.el (elmo-message-fetch): Ditto.
912 * elmo-multi.el (elmo-message-fetch): Ditto.
914 * elmo-mime.el (elmo-message-mime-entity): Ditto.
916 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
918 * elmo-filter.el (elmo-message-fetch): Ditto.
920 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
922 * elmo-imap4.el (mime-imap-location-section-body): Use
923 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
924 follow the API change.
926 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
928 * elmo-access.el: New file.
930 * elmo-null.el: Ditto.
932 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
934 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
936 * elmo-net.el (elmo-network-session-idle-timeout): New option.
937 (elmo-network-session): New attribute `last-accessed'.
938 (elmo-network-get-session): Discard network cache if elapsed time
939 since last-accessed is larger than elmo-network-session-idle-timeout.
941 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
943 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
944 and added `number', `require-entireness'.
945 (elmo-find-fetch-strategy): Rewrite.
946 (elmo-message-fetch): Unset `unread' flag when argument unread is
949 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
951 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
952 (elmo-message-fetch): Notify event `flag-changed'.
954 * elmo-pipe.el: Likewise.
956 * elmo-mime.el (elmo-mime-entity): New class.
957 (elmo-mime-entity-display-p): New generic function.
958 (elmo-mime-entity-display): Ditto.
959 (elmo-mime-entity-display-as-is): Ditto.
960 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
962 (elmo-make-mime-message-location): Removed.
963 (elmo-mime-message-display): Ditto.
964 (elmo-mime-display-as-is): Ditto.
965 (elmo-message-mime-entity): New function.
967 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
969 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
971 (elmo-message-fetch): Re-count flagged message number and notify
972 event `flag-changed'.
974 * elmo-version.el (elmo-version): Up to 2.13.1.
976 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
978 * elmo-filter.el (elmo-message-field): Define.
979 (elmo-message-set-field): Ditto.
981 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
983 * elmo.el (elmo-message-set-cached): Call
984 `elmo-folder-notify-event' with cache-changed.
985 (elmo-event-handler-cache-changed): New generic function.
987 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
989 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
990 instead of elmo-add-name-to-file.
991 (elmo-folder-append-messages): Ditto.
993 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
995 * elmo.el (elmo-folder-update-threshold): Add nil to range.
997 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
999 * elmo-version.el (elmo-version): Up to 2.13.0.
1001 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1004 * modb-standard.el (modb-standard-economize-entity-size): Changed
1005 default value to `t'.
1007 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1010 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1011 after parsing greeting string.
1013 2004-11-23 Daishi Kato <daishi@axlight.com>
1015 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1017 (elmo-spam-spamoracle-call): Use it.
1019 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1021 * elmo.el (elmo-message-accessible-p): Message in dop spool
1024 2004-11-23 Daishi Kato <daishi@axlight.com>
1026 * elsp-spamoracle.el: New file.
1028 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1030 * elmo.el (elmo-message-flags-for-append): New function.
1031 (elmo-generic-folder-append-messages): Use it.
1033 * elmo-split.el (elmo-split-subr): Ditto.
1035 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1036 `flags' and use elmo-folder-append-buffer instead of
1037 write-region-as-binary.
1038 (elmo-dop-filter-pending-messages): New function.
1039 (elmo-folder-append-buffer-dop): Call
1040 elmo-dop-spool-folder-append-buffer with `flag'.
1041 (elmo-folder-set-flag-dop): Filter messages by
1042 elmo-dop-filter-pending-messages.
1043 (elmo-folder-unset-flag-dop): Ditto.
1044 (elmo-folder-append-buffer-dop-delayed): Use
1045 elmo-message-flags-for-append to get flags of the message and
1048 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1050 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1052 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1054 * elmo.el (elmo-folder): Added handlers slot.
1055 (elmo-event-handler): New class.
1056 (elmo-event-handler-flag-changed): New API.
1057 (elmo-folder-add-handler): New function.
1058 (elmo-folder-remove-handler): Ditto.
1059 (elmo-folder-notify-event): Ditto.
1060 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1062 (elmo-folder-unset-flag): Ditto.
1064 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1065 (elmo-folder-unset-flag): Ditto.
1067 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1068 (elmo-folder-unset-flag): Ditto.
1070 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1071 (elmo-folder-unset-flag): Ditto.
1073 * elmo-version.el (elmo-version): Up to 2.11.33.
1075 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1077 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1079 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1081 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1083 * elmo-flag.el (elmo-folder-unset-flag): Define.
1084 (elmo-global-flag-detach): Do process when the flag is not target
1087 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1089 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1091 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1093 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1095 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1097 (elmo-folder-delete-messages): Detach messages before delete
1098 messages from target folder.
1099 (elmo-folder-detach-messages): Set updated number-list to slot.
1101 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1103 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1105 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1107 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1109 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1111 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1113 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1115 (elmo-folder-delete-messages): Define.
1116 (elmo-folder-move-messages): Don't call
1117 `elmo-folder-detach-messages'.
1118 (elmo-folder-synchronize): Rewrite.
1119 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1121 * elmo-util.el (elmo-last): New function.
1122 (elmo-set-list): Ditto.
1123 (elmo-number-set-delete-list): Ditto.
1124 (elmo-number-set-delete): Ditto.
1126 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1128 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1129 `elmo-folder-delete-messages' and don't delete location map.
1130 (elmo-folder-detach-messages): Define.
1132 * elmo-imap4.el (elmo-folder-delete): Use
1133 `elmo-folder-delete-messages-internal' instead of
1134 `elmo-folder-delete-messages'.
1136 * elmo-filter.el (elmo-folder-delete-messages): Call
1137 `elmo-folder-detach-messages'.
1138 (elmo-folder-detach-messages): Don't call
1139 `elmo-folder-detach-messages' for target folder.
1141 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1142 message deletion is succeeded.
1144 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1146 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1147 from `elmo-folder-delete-messages'.
1149 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1151 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1153 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1155 * elmo-version.el (elmo-version): Up to 2.11.32.
1157 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1159 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1160 (elmo-global-flag-list): Added obsolete variable setting.
1162 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1164 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1165 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1166 `elmo-mime-display-header-analysis' is nil.
1168 * elmo-flag.el (elmo-global-flags): Renamed from
1169 `elmo-global-flag-list' (All other related portions are changed).
1170 (elmo-local-flags): New variable.
1171 (elmo-local-flag-p): New function.
1172 (elmo-global-flag-set-internal): Cause an error when flag is not
1175 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1177 * elmo-util.el (elmo-concat-path): Treat empty path.
1179 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1181 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1183 (elmo-split-address-match): Ditto.
1184 (elmo-split-equal): Ditto.
1185 (elmo-split-match): Ditto.
1187 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1189 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1190 (elmo-generic-folder-append-messages): If src message exists but
1191 has no flag, pass (read) for the FLAG argument of
1192 `elmo-folder-append-buffer'. Otherwise, pass nil.
1194 * elmo-split.el (elmo-split-subr): Likewise.
1196 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1198 * elmo-multi.el (elmo-message-flags): Ditto.
1200 * elmo-filter.el (elmo-message-flags): Ditto.
1202 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1203 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1204 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1206 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1208 * elmo-split.el (elmo-split-rule): Update comment.
1209 (elmo-split-address-equal): Allow 2nd argument to be a list.
1210 (elmo-split-address-match): Ditto.
1211 (elmo-split-equal): Ditto.
1212 (elmo-split-match): Ditto.
1214 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1216 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1217 (elmo-folder-append-msgdb): Don't treat `read'.
1218 (elmo-message-flags): Don't return `read'.
1220 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1221 (elmo-folder-unset-read-delayed): Ditto.
1223 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1225 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1227 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1230 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1232 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1235 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1237 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1239 (elmo-msgdb-save): Bind inhibit-quit.
1240 (modb-standard-message-entity): Ditto.
1242 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1244 * elmo-database.el: No need to require elmo-msgdb.
1246 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1248 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1249 instead of `elmo-list-subdirectories'.
1251 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1253 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1255 (elmo-folder-exists-p): "[" is empty.
1256 (elmo-folder-list-subfolders): Define.
1257 (elmo-folder-have-subfolder-p): Ditto.
1259 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1261 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1263 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1265 * elmo-filter.el (elmo-folder-local-p): Define.
1267 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1269 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1270 when entity is garbaged.
1271 (modb-standard-save-entity-1): Don't modify the original entity.
1273 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1275 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1277 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1279 * elmo.el (elmo-strict-folder-diff): Use
1280 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1282 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1284 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1285 (elmo-msgdb-message-number): Ditto.
1286 (elmo-msgdb-message-field): Ditto.
1288 * modb-standard.el (modb-standard-economize-entity-size): New user
1290 (modb-standard-loaded-message-id): New inline function.
1291 (modb-standard-load-entity): Use it.
1292 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1293 throw message-id string away.
1294 (elmo-msgdb-flag-available-p): Define.
1295 (elmo-msgdb-message-number): Ditto.
1296 (elmo-msgdb-message-field): Ditto.
1298 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1299 (suppoted -> supported).
1300 (modb-legacy-supported-flag-p): Ditto.
1301 (elmo-msgdb-set-flag): Ditto.
1302 (elmo-msgdb-unset-flag): Ditto.
1303 (elmo-msgdb-flag-available-p): Define.
1305 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1306 is `t', treat it as legacy entity.
1308 * elmo.el (elmo-message-flag-available-p): New generic function.
1309 (elmo-message-number): Ditto.
1310 (elmo-message-field): Use `elmo-msgdb-message-field'.
1312 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1314 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1315 (elmo-message-number): Ditto.
1317 * elmo-multi.el (elmo-message-number): Define.
1318 (elmo-message-flag-available-p): Ditto.
1320 * elmo-filter.el (elmo-message-flag-available-p): Define.
1321 (elmo-message-number): Ditto.
1323 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1324 (elmo-folder-initialize): Load `max-number'.
1325 (elmo-folder-commit): Save it.
1326 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1327 (elmo-global-flag-set-internal): Set up max-number slot.
1329 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1331 * elmo-version.el (elmo-version): Up to 2.11.31.
1333 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1335 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1336 unibyte string of the current buffer for the argument of `md5'
1337 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1339 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1341 * modb-legacy.el (modb-legacy-flag-list): New constant.
1342 (modb-legacy-suppoted-flag-p): New internal function.
1343 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1344 (elmo-msgdb-unset-flag): Ditto.
1346 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1348 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1350 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1353 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1355 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1356 (follow the API change).
1358 * elmo-filter.el (elmo-folder-count-flags): Ditto.
1360 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
1362 * modb-standard.el (modb-standard-digest-flags): Abolish.
1363 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1365 * elmo-vars.el (elmo-digest-flags): New variable.
1366 (elmo-preserved-flags): Moved from elmo-flag.el.
1368 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1369 (elmo-imap4-flag-to-imap-criteria): Ditto.
1370 (elmo-imap4-folder-list-flagged): Use it.
1372 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1374 * elmo.el (elmo-folder-count-flags): Changed return value.
1376 * elmo-flag.el (elmo-preserved-flags): New variable.
1377 (elmo-get-global-flags): Use it.
1379 * modb-standard.el (modb-standard-digest-flags): New variable.
1380 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1381 Changed behavior of `any'.
1383 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1384 which are defined the Internet draft
1385 (draft-melnikov-imap-keywords-03.txt).
1386 (elmo-imap4-flags-to-imap): New function.
1387 (elmo-folder-append-buffer): Use it.
1389 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1392 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1393 avoid the bug of Emacs 21.3.
1395 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
1397 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1398 function find-coding-system does not exist.
1400 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1402 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1405 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1407 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1410 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
1412 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1413 (elmo-network-close-session): Follow the changes in
1414 `elmo-pop3-read-response'.
1415 (elmo-pop3-auth-user): Ditto.
1416 (elmo-pop3-auth-apop): Ditto.
1417 (elmo-network-initialize-session): Ditto.
1418 (elmo-network-authenticate-session): Ditto.
1419 (elmo-network-setup-session): Ditto.
1420 (elmo-folder-status): Ditto.
1421 (elmo-message-fetch-plugged): Ditto.
1422 (elmo-pop3-delete-msg): Ditto.
1424 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1426 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1429 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1431 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1433 (elmo-bind-directory): Ditto.
1435 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1437 * elmo.el (elmo-folder-append-messages): Note on return value.
1438 * elmo-archive.el (elmo-folder-append-messages): Don't return
1439 message numbers which could not be appended.
1441 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1443 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1445 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1447 * elmo-version.el (elmo-version): Up to 2.11.30.
1449 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1451 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1454 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1456 * elmo-multi.el (elmo-folder-synchronize): Likewise.
1457 (elmo-multi-split-numbers): Add elmo-folder object into each
1458 element of return value at first.
1459 (elmo-folder-delete-messages): Follow the above change.
1460 (elmo-folder-detach-messages): Ditto.
1462 * elmo-filter.el (elmo-folder-synchronize): Minimize message
1463 number which is synchronized in target folder.
1465 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1467 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1468 Change default value to symbol `all'.
1469 (elmo-map-message-fetch): Change condition to update overview
1472 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1474 * elmo-shimbun.el (elmo-map-message-fetch): Change default
1475 behavior to update overview.
1476 (elmo-shimbun-update-overview-folder-list): Note it.
1478 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1480 * modb-standard.el (modb-standard-message-entity): Avoid infinite
1483 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1485 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1486 buffer-disable-undo, it is unnecessary.
1487 (elmo-spam-register-good-messages): Ditto.
1489 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1492 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
1494 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1496 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
1497 (elmo-set-work-buf): Use set-buffer-multibyte instead of
1498 elmo-set-buffer-multibyte.
1499 (elmo-object-load): Ditto.
1500 (elmo-save-buffer): Ditto.
1501 (elmo-delete-char): Ditto.
1502 (elmo-file-field-primitive-condition-match): Ditto.
1503 (elmo-mime-string): Ditto.
1505 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
1506 (elmo-archive-field-condition-match): Ditto.
1508 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
1510 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
1512 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
1513 (elmo-nntp-msgdb-create-message): Ditto.
1515 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1517 * elmo.el (elmo-message-match-condition): Ditto.
1518 (elmo-message-match-condition): Ditto.
1520 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
1523 * elmo-version.el (elmo-version): Up to 2.11.29.
1525 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
1526 (elsp-header): New backend.
1528 * elmo-util.el (elmo-decoded-field-body): New function.
1530 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1532 * elmo-version.el (elmo-version): Up to 2.11.28.
1534 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1536 * elmo-filter.el: Rewrite.
1538 * elmo-version.el (elmo-version): Up to 2.11.27.
1540 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
1542 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
1543 msgdb path for the localdir folder with absolute path.
1545 * utf7.el: Synch up with latest gnus/utf7.el;
1546 Modified for latest Emacs.
1548 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1550 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
1551 shimbun backend couldn't open.
1553 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
1555 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
1556 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
1557 when a destination folder is a filter folder.
1559 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1561 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
1562 (elmo-generic-folder-append-messages): Call elmo-message-flags
1563 with argument `msgid'.
1565 * elmo-split.el (elmo-split-subr): Ditto.
1567 * elmo-pipe.el (elmo-message-flags): Follow the API change.
1569 * elmo-multi.el (elmo-message-flags): Ditto.
1571 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1573 * elmo.el (elmo-folder): Add new slot `flag-table'.
1574 (elmo-folder-flag-table): New API.
1575 (elmo-folder-close-flag-table): Ditto.
1576 (elmo-folder-preserve-flags): New function.
1577 (elmo-generic-folder-append-messages): Use
1578 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
1579 Flag of a non-registered message, it sets to nil.
1580 Does not set flag to flag-table.
1582 * elmo-maildir.el (elmo-folder-append-buffer): Use
1583 `elmo-folder-preserve-flags'.
1584 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1585 `elmo-folder-close-flag-table'.
1587 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
1588 (elmo-archive-folder-append-buffer): Use
1589 `elmo-folder-preserve-flags'.
1591 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
1593 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
1595 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1596 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
1597 `elmo-folder-close-flag-table'.
1599 * elmo-version.el (elmo-version): Up to 2.11.26.
1601 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1603 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
1605 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
1606 md5's 4th and 5th argument (non-existent in flim one).
1608 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1610 * elmo-split.el (elmo-split-subr): Flag of a non-registered
1611 message, It sets to nil.
1613 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1615 * elmo.el (elmo-folder-list-messages): Merge lists only if both
1618 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
1620 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
1622 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
1624 * elmo-util.el (elmo-uniq-sorted-list): New function.
1625 (elmo-make-number-list): Ditto.
1626 (elmo-number-set-to-number-list): Use elmo-make-number-list
1627 and don't use nreverse.
1629 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1631 * elmo-version.el (elmo-version): Up to 2.11.25.
1633 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1635 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
1636 field not exists in message, Use md5 message digest of header.
1638 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
1640 * elmo.el (elmo-folder-append-buffer): Add note on return value.
1641 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
1642 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1643 * elmo-split.el (elmo-split-subr): Check return value of
1644 elmo-folder-append-buffer.
1646 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
1647 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1649 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
1652 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
1654 * elmo-split.el (elmo-split-subr): Append message with flag.
1656 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
1657 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
1658 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
1660 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
1662 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
1663 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
1664 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1666 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
1668 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
1669 with a function call of `process-buffer'. All callers are updated.
1670 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
1671 Remove redundant `set-buffer' in a while loop.
1673 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
1675 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
1678 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1680 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
1681 elsp-spamfilter-register-buffer-internal with current buffer.
1682 (elmo-spam-register-spam-buffer): Ditto.
1683 (elmo-spam-register-good-buffer): Ditto.
1685 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1687 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
1688 if it is not contained in the response(A workaround for courier-imap).
1690 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1692 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
1695 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1697 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
1700 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1702 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
1705 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
1707 (elmo-msgdb-message-match-condition): Follow the change above.
1709 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1711 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
1714 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1716 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
1718 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1720 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
1722 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1724 * elmo-file.el (elmo-file-find): Fixed the problem when file is
1727 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
1729 * elmo-file.el (elmo-file-find): Use expand-file-name for return
1731 (elmo-file-command-argument): Undo last change for cygwin.
1732 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
1734 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
1736 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1738 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
1739 value returned from elmo-file-find is nil.
1741 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
1743 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
1746 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
1747 instead of insert-file-contents-as-binary.
1748 (elmo-message-set-field): New generic function.
1750 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
1751 behavior change on `split-string'.
1753 * elmo-file.el (elmo-file-find): New function.
1754 (elmo-file-command): New user option.
1755 (elmo-file-command-argument): Ditto.
1756 (elmo-file-fetch-max-size): Ditto.
1757 (elmo-file-detect-format): New function.
1758 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
1759 Use elmo-file-detect-format.
1760 (elmo-map-folder-list-message-locations): Don't treat directories.
1762 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1764 * elmo-util.el (elmo-string-partial-p): Removed unused function.
1765 (elmo-passwd-alist-clear): Shred password before clear.
1766 (elmo-remove-passwd): Remove all mached pair.
1768 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1770 * elmo.el (elmo-folder-synchronize): Fix description of the return
1773 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1775 * elmo.el (elmo-message-fetch-bodystructure): New method.
1776 (elmo-message-fetch-bodystructure): Define default.
1778 * elmo-imap4.el (mime-imap-location-bodystructure): Call
1779 elmo-message-fetch-bodystructure.
1780 (elmo-message-fetch-bodystructure): Define.
1782 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
1784 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
1786 * elmo-filter.el (elmo-message-folder): Define.
1788 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
1790 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
1791 elmo-delete-cr-buffer.
1793 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
1795 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1797 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
1799 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
1800 type seems to be a text.
1802 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1804 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
1805 (elmo-spam-register-good-buffer): Ditto.
1806 (elmo-spam-spamassassin-register-messages): Ditto.
1808 * elmo-util.el (elmo-string-member-ignore-case): Define with
1811 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
1813 * elmo.el (elmo-folder-type): Undo last change.
1815 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
1817 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
1820 * elmo-file.el: New file.
1822 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
1824 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
1826 (elmo-spam-spamassassin-register-messages): New inline function.
1827 (elmo-spam-register-spam-messages): Define.
1828 (elmo-spam-register-good-messages): Ditto.
1830 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
1833 * elmo.el (toplevel): Added autoload setting for
1834 `elmo-get-global-flags'.
1835 (elmo-message-has-global-flag-p): New function.
1836 (elmo-message-set-global-flags): Ditto.
1837 (elmo-folder-type): Improvement for name: format.
1839 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
1840 availability of keyword flags.
1841 (elmo-imap4-folder-list-flagged): Treat keyword flags.
1842 (elmo-folder-list-flagged-plugged): Renamed from
1843 elmo-folder-list-flagged-unplugged.
1844 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
1845 accept any flag as keyword flag.
1846 (elmo-folder-set-flag-plugged): Accept keyword flags.
1847 (toplevel): Added autoload setting for `elmo-get-global-flags'.
1849 * elmo-flag.el (elmo-get-global-flags): New function.
1851 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
1854 * elmo-version.el (elmo-version): Up to 2.11.24.
1856 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
1858 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1859 elmo-multiple-field-body instead of std11-field-body to check all
1862 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
1864 * elmo-util.el (elmo-cache-expire): Completion require match "age"
1867 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1869 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
1870 unintern is unbound.
1872 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
1874 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
1875 Protect from infinite loop.
1877 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1879 * elsp-bogofilter.el
1880 (elmo-spam-bogofilter-max-messages-per-process): New user option.
1881 (elmo-spam-bogofilter-register-messages): New internal function.
1882 (elmo-spam-register-spam-messages): Define.
1883 (elmo-spam-register-good-messages): Ditto.
1885 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1887 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1888 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
1889 (elmo-spam-bogofilter-call): Fixed the last change.
1890 (elmo-spam-bogofilter-arguments): Ditto.
1892 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
1893 Follow the options change of latest bogofilter.
1895 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
1896 (elmo-spam-bogofilter-good-switch): Ditto.
1897 (elmo-spam-bogofilter-arguments-alist): New user option.
1898 (elmo-spam-bogofilter-debug): Ditto.
1899 (elmo-spam-bogofilter-call): Renamed from
1900 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
1901 is non-nil, insert output in buffer for debug.
1902 (elmo-spam-bogofilter-arguments): New macro.
1903 (elmo-spam-buffer-spam-p): Use it.
1904 (elsp-bogofilter-register-buffer): Ditto.
1906 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
1908 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
1911 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1913 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
1915 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
1916 (elmo-spam-bsfilter-program): Set default value as full path for
1918 (elmo-spam-bsfilter-debug): New user option.
1919 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
1920 non-nil, insert output in buffer for debug. Fix treating of
1923 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1925 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
1926 `elmo-maildir-flag-specs' element instead of one.
1927 (elmo-map-folder-unset-flag): Ditto.
1928 (Reported by Ken Makimura <macky@astem.or.jp>)
1930 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
1931 (elmo-folder-unset-flag-plugged): Ditto.
1933 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1935 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
1936 to `reads' slot only if `in-msgdb' is nil.
1938 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1940 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
1941 and complement argument list.
1943 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1945 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
1946 instead of elmo-folder-list-flagged.
1948 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1950 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
1952 * elsp-bsfilter.el: New file.
1954 * elmo-pipe.el (elmo-folder-list-unreads,
1955 elmo-folder-list-answereds,
1956 elmo-folder-list-importants,
1957 elmo-folder-flag-as-important,
1958 elmo-folder-unflag-important,
1959 elmo-folder-flag-as-read,
1960 elmo-folder-unflag-read,
1961 elmo-folder-flag-as-answered,
1962 elmo-folder-unflag-answered): Remove.
1963 (elmo-folder-set-flag): Define.
1964 (elmo-folder-unset-flag): Ditto.
1966 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
1967 (elmo-folder-set-flag): Define.
1968 (elmo-folder-unset-flag): Ditto.
1969 (elmo-folder-list-unreads): Remove.
1970 (elmo-folder-list-flagged): Define.
1972 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
1973 (elmo-folder-list-unreads,
1974 elmo-folder-list-importants,
1975 elmo-folder-list-answereds,
1976 elmo-folder-list-unreads-plugged,
1977 elmo-folder-list-importants-plugged,
1978 elmo-folder-list-answereds-plugged): Remove.
1979 (elmo-folder-list-flagged-plugged): New method.
1980 (elmo-folder-unflag-important,
1981 elmo-folder-flag-as-important,
1982 elmo-folder-unflag-read,
1983 elmo-folder-flag-as-read,
1984 elmo-folder-unflag-answered,
1985 elmo-folder-flag-as-answered,
1986 elmo-folder-flag-as-read-unplugged,
1987 elmo-folder-unflag-read-unplugged,
1988 elmo-folder-flag-as-important-unplugged,
1989 elmo-folder-unflag-important-unplugged,
1990 elmo-folder-flag-as-answered-unplugged,
1991 elmo-folder-unflag-answered-unplugged): Remove.
1992 (elmo-folder-set-flag): Define.
1993 (elmo-folder-unset-flag): Ditto.
1994 (elmo-folder-set-flag-unplugged): Ditto.
1995 (elmo-folder-unset-flag-unplugged): Ditto.
1997 * elmo-multi.el (elmo-folder-list-unreads,
1998 elmo-folder-list-answereds,
1999 elmo-folder-list-importants,
2000 elmo-folder-flag-as-important,
2001 elmo-folder-unflag-important,
2002 elmo-folder-flag-as-read,
2003 elmo-folder-unflag-read,
2004 elmo-folder-flag-as-answered,
2005 elmo-folder-unflag-answered): Remove.
2006 (elmo-folder-set-flag): Define.
2007 (elmo-folder-unset-flag): Ditto.
2009 * elmo-map.el (elmo-map-folder-unflag-important,
2010 elmo-map-folder-flag-as-important,
2011 elmo-map-folder-unflag-read,
2012 elmo-map-folder-flag-as-read,
2013 elmo-map-folder-unflag-answered,
2014 elmo-map-folder-flag-as-answered): Remove.
2015 (elmo-map-folder-set-flag): New method.
2016 (elmo-map-folder-unset-flag): Ditto.
2017 (elmo-map-folder-list-unreads,
2018 elmo-map-folder-list-importants,
2019 elmo-map-folder-list-answereds): Remove.
2020 (elmo-folder-list-flagged-internal): Define.
2021 (elmo-map-folder-list-flagged): New method.
2023 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2024 (elmo-map-folder-list-unreads,
2025 elmo-map-folder-list-importants,
2026 elmo-map-folder-list-flagged): Remove.
2027 (elmo-map-folder-list-flagged): Define.
2028 (elmo-map-folder-flag-as-important,
2029 elmo-map-folder-unflag-important,
2030 elmo-map-folder-flag-as-read,
2031 elmo-map-folder-unflag-read,
2032 elmo-map-folder-flag-as-answered,
2033 elmo-map-folder-unflag-answered): Remove.
2034 (elmo-maildir-set-mark-messages): New internal function.
2035 (elmo-map-folder-set-flag): Define.
2036 (elmo-map-folder-unset-flag): Ditto.
2038 * elmo.el (toplevel): Added autoload setting for
2039 `elmo-folder-list-global-flag-messages'.
2040 (elmo-folder-list-unreads,
2041 elmo-folder-list-importants,
2042 elmo-folder-list-answereds): Remove.
2043 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2044 Return a list whitch merged with messages have global flag.
2045 (elmo-folder-list-flagged-internal): New method.
2046 (elmo-folder-unflag-important,
2047 elmo-folder-flag-as-important,
2048 elmo-folder-unflag-read,
2049 elmo-folder-flag-as-read,
2050 elmo-folder-unflag-answered,
2051 elmo-folder-flag-as-answered): Remove.
2052 (elmo-folder-set-flag): New method.
2053 (elmo-folder-unset-flag): Ditto.
2054 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2055 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2057 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2058 (elmo-folder-list-unreads-plugged,
2059 elmo-folder-list-importants-plugged,
2060 elmo-folder-list-answereds-plugged,
2061 elmo-folder-list-flagged-unplugged,
2062 elmo-folder-unflag-important-plugged,
2063 elmo-folder-flag-as-important-plugged,
2064 elmo-folder-unflag-read-plugged,
2065 elmo-folder-flag-as-read-plugged,
2066 elmo-folder-unflag-answered-plugged,
2067 elmo-folder-flag-as-answered-plugged): Remove.
2068 (elmo-folder-set-flag-plugged,
2069 elmo-folder-unset-flag-plugged): Define.
2071 * elmo-flag.el (elmo-folder-initialize): Register to
2072 `elmo-global-flag-list' if flag is not global.
2073 (elmo-folder-append-messages): Set flag to source messages.
2075 * elmo-filter.el (elmo-filter-folder-list-unreads,
2076 elmo-folder-list-unreads,
2077 elmo-filter-folder-list-importants,
2078 elmo-folder-list-importants,
2079 elmo-folder-flag-as-read,
2080 elmo-folder-unflag-read,
2081 elmo-folder-flag-as-important,
2082 elmo-folder-unflag-important,
2083 elmo-folder-flag-as-answered,
2084 elmo-folder-unflag-answered): Remove.
2085 (elmo-folder-set-flag): Define.
2086 (elmo-folder-unset-flag): Ditto.
2088 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2089 elmo-folder-unflag-read-dop,
2090 elmo-folder-flag-as-important-dop,
2091 elmo-folder-unflag-important-dop,
2092 elmo-folder-flag-as-answered-dop,
2093 elmo-folder-unflag-answered-dop): Remove.
2094 (elmo-folder-set-flag-dop,
2095 elmo-folder-unset-flag-dop,
2096 elmo-folder-set-important-delayed,
2097 elmo-folder-unset-important-delayed,
2098 elmo-folder-set-read-delayed,
2099 elmo-folder-unset-read-delayed,
2100 elmo-folder-set-answered-delayed,
2101 elmo-folder-unset-answered-delayed): New function.
2102 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2103 (elmo-dop-queue-method-name-alist): Ditto.
2105 * elmo-version.el (elmo-version): Up to 2.11.23.
2107 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2109 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2111 * elsp-sa.el: New file.
2113 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2115 * modb-standard.el (modb-standard-message-entity): New function.
2116 (elmo-msgdb-message-entity): Use it.
2118 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2120 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2121 behavior when one-level is nil.
2123 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2125 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2127 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2129 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2131 (elmo-generic-folder-diff): Ditto.
2133 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2134 (elmo-folder-update-number): Ditto.
2136 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2137 (elmo-folder-next-message-number-dop): Ditto.
2139 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2141 * elmo-filter.el (elmo-folder-msgdb-create): Use
2142 `elmo-message-entity' and `elmo-message-flags' instead of
2143 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2145 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2147 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2150 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2152 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2154 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2156 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2158 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2160 * elmo-version.el (elmo-version): Up to 2.11.22.
2162 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2164 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2166 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2168 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2169 if the message dose not exist.
2171 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2173 * elmo-version.el (elmo-version): Up to 2.11.21.
2175 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2177 * modb-standard.el (toplevel): Don't require mime.
2179 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2181 * elsp-bogofilter.el (toplevel): Don't require path-util.
2182 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2183 (elmo-spam-bogofilter-header): Abolish.
2184 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2185 (elmo-spam-bogofilter-args): New user option.
2186 (elsp-bogofilter-call-bogofilter): New internal function.
2187 (elmo-spam-buffer-spam-p): Use it.
2188 (elsp-bogofilter-register-buffer): Renamed from
2189 `elmo-spam-bogofilter-register-buffer';
2190 Use `elsp-bogofilter-call-bogofilter'.
2191 (elmo-spam-register-spam-buffer): Follow the change above.
2192 (elmo-spam-register-good-buffer): Ditto.
2194 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2196 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2197 message-id is nil do nothing.
2199 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2201 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2203 (elmo-imap4-session): Removed use-flag slot.
2204 (elmo-imap4-session-select-mailbox): Undo last change.
2205 (elmo-folder-use-flag-p): Use
2206 elmo-imap4-disuse-server-flag-mailbox-regexp.
2208 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2210 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2211 (elmo-imap4-session-select-mailbox): Set it up.
2212 (elmo-folder-use-flag-p): Return value of use-flag slot.
2214 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2216 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2218 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2220 * modb-entity.el (elmo-message-entity-handler): Likewise.
2222 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2224 * elmo.el (toplevel): Remove setting of autoloding for
2225 elmo-global-flag-initialize.
2226 (elmo-init): Don't call elmo-global-flag-initialize.
2227 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2229 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2230 (elmo-global-mark-migrate): Don't call it.
2231 (elmo-global-mark-upgrade): Ditto.
2233 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2235 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2236 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2238 * elmo-vars.el (elmo-init-hook): New user option.
2240 * elmo.el (elmo-init): Run the elmo-init-hook.
2242 * elmo-flag.el (elmo-global-mark-migrate): New function.
2244 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2246 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2247 Undo last change (move to elmo-msgdb-unset-flag).
2248 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2251 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2253 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2255 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2256 (elmo-msgdb-unset-flag): Ditto.
2258 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2260 * elmo-split.el (elmo-split): Return split message count.
2262 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2264 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2267 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2269 * elmo.el (elmo-folder-unflag-important): Call
2270 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2273 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2275 (elmo-global-flag-detach): Delete the message from flag folder, if
2276 `delete-if-none' is a symbol `always'.
2278 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2280 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2281 `elmo-spam-spamfilter-decode-buffer'.
2282 (elsp-spamfilter-register-buffer-internal): New internal function.
2283 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2284 (elmo-spam-register-spam-buffer): Ditto.
2285 (elmo-spam-register-good-buffer): Ditto.
2287 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2289 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2290 (elmo-spam-register-spam-buffer): Follow the API change.
2291 (elmo-spam-register-good-buffer): Ditto.
2293 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2294 (elmo-split-spam-p): Added argument plist; Call
2295 `elmo-spam-buffer-spam-p' with new argument register.
2297 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2299 (elmo-spam-message-spam-p): Ditto.
2300 (elmo-spam-register-spam-buffer): Added optional argument
2302 (elmo-spam-register-good-buffer): Ditto.
2303 (elmo-spam-register-spam-messages): Ditto.
2304 (elmo-spam-register-good-messages): Ditto.
2306 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2308 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2309 register into good corpus.
2310 (elmo-spam-register-good-buffer): Fixed to register into bad
2313 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2315 * elmo-version.el (elmo-version): Up to 2.11.20.
2317 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2320 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2321 flag without depending on \Recent flag.
2323 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2325 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2326 (elmo-spam-modified-p): Defined.
2327 (elmo-spam-save-status): Set `modified' slot to nil.
2328 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2329 (elmo-spam-register-good-buffer): Ditto.
2331 * elmo-spam.el (elmo-spam-modified-p): New API.
2333 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2335 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2336 duplicate definition.
2338 * elmo-util.el (elmo-unfold-field-body): New function.
2339 (elmo-msgdb-get-message-id-from-buffer): Use it.
2341 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2342 Fixed the last change; Use elmo-unfold-field-body.
2344 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2346 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2349 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2351 * elmo-spam.el (elmo-spam-save-status): New API.
2353 * elsp-spamfilter.el: New file.
2355 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
2357 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2359 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2361 * elmo-split.el (elmo-split-spam-p): New function.
2363 * elmo-spam.el: New file.
2365 * elsp-bogofilter.el: Ditto.
2367 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
2369 * elmo.el (elmo-folder-next-message-number): New API.
2370 (elmo-folder-next-message-number): Define.
2371 (elmo-message-field): Don't check folder length.
2373 * elmo-net.el (elmo-folder-next-message-number): Define.
2374 (elmo-folder-next-message-number-unplugged): Define.
2376 * elmo-map.el (elmo-folder-next-message-number): Define.
2377 (elmo-folder-delete-messages): Clear hash value.
2379 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2381 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2382 (elmo-folder-delete-messages-dop-delayed): Always return t.
2384 * elmo-version.el (elmo-version): Up to 2.11.19.
2386 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2388 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2391 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2392 identical cons cell into the mark-alist and the hash table.
2394 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
2396 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2397 elmo-folder-list-messages with argument `visible-only' as t.
2399 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2400 (elmo-folder-msgdb-create): Check the target folder.
2402 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
2404 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2405 `permanentflag' instead of `flags'.
2406 (elmo-folder-open): Ditto.
2407 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2408 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2409 (elmo-folder-use-flag-p): Always return t.
2410 (elmo-imap4-session-select-mailbox): Use value of `flags' if
2411 `permanentflags' does not exist.
2412 (elmo-folder-open): Ditto.
2414 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
2416 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2418 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2420 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2421 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2423 (elmo-folder-open): Ditto.
2424 (elmo-imap4-set-flag): Send store flag command only when the `flags'
2425 slot of the session includes the flag.
2426 (elmo-imap4-session-flag-available-p): New function.
2427 (elmo-imap4-folder-list-flagged): Ditto.
2428 (elmo-folder-list-unreads-plugged): Use it.
2429 (elmo-folder-list-importants-plugged): Ditto.
2430 (elmo-folder-list-answereds-plugged): Ditto.
2431 (elmo-imap4-search-internal-primitive): Ditto.
2432 (elmo-imap4-folder-list-any-plugged,
2433 elmo-imap4-folder-list-digest-plugged): Abolish.
2435 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2438 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
2440 * elmo-util.el (toplevel): Require emu for char-list-to-string.
2442 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
2444 * elmo-util.el (elmo-get-hash-val): Simplify.
2445 (elmo-set-hash-val): Rewrite.
2447 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2449 * elmo.el (elmo-folder-list-messages): Append killed messages into
2450 result if `visible-only' is nil and `in-msgdb' is non-nil.
2452 * elmo-util.el (elmo-uniq-list): Added optional argument
2455 * modb.el (elmo-msgdb-flag-count): New API.
2457 * modb-standard.el (modb-standard): Added slot flag-count.
2458 (modb-standard-countup-flags): New function.
2459 (modb-standard-load-flag): Call it.
2460 (elmo-msgdb-append): Ditto.
2461 (elmo-msgdb-clear): Clear slot flag-count.
2462 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2463 (elmo-msgdb-unset-flag): Treat `all' flag and call
2464 modb-standard-countup-flags.
2465 (elmo-msgdb-flag-count): Define.
2466 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2467 (elmo-msgdb-delete-messages): Ditto.
2469 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2470 (elmo-msgdb-flag-count): Define.
2472 * elmo.el (elmo-folder-list-messages): Undo last change.
2473 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2474 (elmo-folder-kill-messages): Unset all flags to numbers.
2476 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2477 elmo-folder-kill-messages.
2479 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2480 (elmo-nntp-folder-delete-messages): Abolish.
2482 * elmo-version.el (elmo-version): Up to 2.11.18.
2484 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2486 * elmo.el (elmo-folder-kill-messages-before): Abolish.
2487 (elmo-folder-kill-messages-range): New function.
2488 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
2489 instead of elmo-folder-kill-messages-before.
2491 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
2493 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
2494 elmo-imap4-current-msgdb to decide entity handler.
2496 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2498 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
2500 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
2502 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
2503 (elmo-msgdb-overview-entity-set-number,
2504 elmo-msgdb-overview-entity-get-references,
2505 elmo-msgdb-overview-entity-set-references,
2506 elmo-msgdb-overview-entity-get-from-no-decode,
2507 elmo-msgdb-overview-entity-get-from,
2508 elmo-msgdb-overview-entity-set-from,
2509 elmo-msgdb-overview-entity-get-subject,
2510 elmo-msgdb-overview-entity-get-subject-no-decode,
2511 elmo-msgdb-overview-entity-set-subject,
2512 elmo-msgdb-overview-entity-get-date,
2513 elmo-msgdb-overview-entity-set-date,
2514 elmo-msgdb-overview-entity-get-to,
2515 elmo-msgdb-overview-entity-get-cc,
2516 elmo-msgdb-overview-entity-get-size,
2517 elmo-msgdb-overview-entity-set-size,
2518 elmo-msgdb-overview-entity-get-extra,
2519 elmo-msgdb-overview-entity-set-extra,
2520 elmo-msgdb-overview-entity-get-extra-field,
2521 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
2522 (elmo-msgdb-make-index): Use
2523 `elmo-msgdb-overview-entity-get-number-internal'.
2524 (elmo-msgdb-clear-index): Ditto.
2525 (elmo-msgdb-append-entity): Ditto;
2526 Use `elmo-msgdb-overview-entity-get-id-internal'.
2528 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
2529 elmo-msgdb-overview-entity-set-number,
2530 elmo-msgdb-overview-entity-get-references,
2531 elmo-msgdb-overview-entity-set-references,
2532 elmo-msgdb-overview-entity-get-from-no-decode,
2533 elmo-msgdb-overview-entity-get-from,
2534 elmo-msgdb-overview-entity-set-from,
2535 elmo-msgdb-overview-entity-get-subject,
2536 elmo-msgdb-overview-entity-get-subject-no-decode,
2537 elmo-msgdb-overview-entity-set-subject,
2538 elmo-msgdb-overview-entity-get-date,
2539 elmo-msgdb-overview-entity-set-date,
2540 elmo-msgdb-overview-entity-get-to,
2541 elmo-msgdb-overview-entity-get-cc,
2542 elmo-msgdb-overview-entity-get-size,
2543 elmo-msgdb-overview-entity-set-size,
2544 elmo-msgdb-overview-entity-get-extra,
2545 elmo-msgdb-overview-entity-set-extra,
2546 elmo-msgdb-overview-entity-get-extra-field,
2547 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
2548 and rewrote for backward compatibility.
2550 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2552 * elmo.el (elmo-message-entity-number,
2553 elmo-message-entity-set-number,
2554 elmo-message-entity-field,
2555 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
2557 * elmo-msgdb.el (elmo-message-entity-number,
2558 elmo-message-entity-set-number,
2559 elmo-message-entity-field,
2560 elmo-message-entity-set-field): Moved from elmo.el.
2562 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2564 * elmo.el (toplevel): Changed definition orders.
2566 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2568 * modb.el (elmo-msgdb-search): New API .
2569 (elmo-msgdb-match-condition): Ditto.
2571 * modb-standard.el (elmo-msgdb-search): Define.
2573 * modb-legacy.el (elmo-msgdb-search): Ditto.
2575 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
2576 from elmo-msgdb-match-condition-internal.
2578 * elmo.el (elmo-folder-search-fast): Abolish.
2579 (elmo-folder-search): Use elmo-msgdb-search and
2580 elmo-with-progress-display.
2582 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
2585 * elmo.el (elmo-folder): Remove slot message-modified and
2587 (elmo-folder-set-message-modified): Abolish.
2588 (elmo-generic-folder-commit): Follow the change above.
2589 (elmo-folder-synchronize): Ditto.
2591 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
2593 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
2595 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
2597 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2599 * modb-standard.el (modb-standard-make-message-entity,
2600 elmo-msgdb-make-message-entity,
2601 elmo-msgdb-create-message-entity-from-buffer,
2602 elmo-msgdb-message-entity-number,
2603 elmo-msgdb-message-entity-set-number,
2604 elmo-msgdb-message-entity-field,
2605 elmo-msgdb-message-entity-set-field,
2606 elmo-msgdb-copy-message-entity,
2607 elmo-msgdb-match-condition-internal): Remove.
2609 * modb-entity.el: New file (again).
2611 * modb.el (toplevel): Require modb-entity.
2612 (elmo-msgdb-message-entity-handler): New method.
2614 * modb-standard.el (modb-standard-entity-id): Use
2615 elmo-message-entity-handler.
2616 (modb-standard-load-entity): Ditto.
2617 (elmo-msgdb-append-entity): Ditto.
2618 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2620 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
2621 elmo-msgdb-decoded-cache-hashtb,
2622 (modb-legacy-make-message-entity,
2623 elmo-msgdb-make-message-entity,
2624 elmo-msgdb-create-message-entity-from-buffer,
2625 elmo-msgdb-message-entity-number,
2626 elmo-msgdb-message-entity-set-number,
2627 elmo-msgdb-message-entity-field,
2628 elmo-msgdb-message-entity-set-field,
2629 elmo-msgdb-copy-message-entity,
2630 elmo-msgdb-match-condition-internal,
2631 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
2633 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
2634 (elmo-message-entity-set-number): Ditto.
2635 (elmo-message-entity-field): Ditto.
2636 (elmo-message-entity-set-field): Ditto.
2638 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
2640 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2642 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2644 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2645 (elmo-nntp-msgdb-create-message): Ditto.
2647 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
2648 (elmo-folder-msgdb-create): Add unread flag.
2650 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2652 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
2654 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
2656 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2658 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
2659 elmo-msgdb-messge-entity-handler.
2660 * elmo-version.el (elmo-version): Up to 2.11.17.
2662 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2664 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
2667 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
2669 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
2671 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
2672 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
2673 (elmo-msgdb-flag-table): Ditto.
2674 (elmo-msgdb-sort-by-date): Ditto.
2676 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
2678 * modb-standard.el (toplevel): Require mime.
2679 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
2680 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
2681 elmo-msgdb-message-entity-number.
2682 (elmo-msgdb-append-entity): Ditto.
2683 (elmo-msgdb-create-message-entity-from-file): Remove.
2684 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
2685 corresponds to the entity.
2686 (elmo-msgdb-message-entity-number): Do nothing currently.
2687 (elmo-msgdb-message-entity-field): Ditto.
2688 (elmo-msgdb-message-entity-set-field): Ditto.
2689 (elmo-msgdb-copy-message-entity): Ditto.
2690 (elmo-msgdb-match-condition-internal): Ditto.
2692 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
2694 (elmo-msgdb-create-message-entity-from-file): Remove.
2696 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
2698 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
2700 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
2702 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2704 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
2705 (elmo-msgdb-message-entity-field): Ditto.
2706 (elmo-msgdb-message-entity-number): Ditto.
2708 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2710 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
2711 Fixed how to set extra field into entity.
2712 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2715 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
2716 Fixed how to set extra field into entity.
2717 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
2720 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
2722 * modb.el (elmo-message-entity-db): New function.
2723 (elmo-msgdb-make-message-entity): New API.
2724 (elmo-msgdb-message-entity-number): Ditto.
2725 (elmo-msgdb-message-entity-set-number): Ditto.
2726 (elmo-msgdb-message-entity-field): Ditto.
2727 (elmo-msgdb-message-entity-set-field): Ditto.
2728 (elmo-msgdb-copy-message-entity): Ditto.
2729 (elmo-msgdb-create-message-entity-from-file): Ditto.
2730 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2731 (elmo-msgdb-match-condition-internal): Ditto.
2733 * modb-standard.el (modb-legacy): Require modb-legacy.
2734 (modb-standard-make-message-entity): New inline function.
2735 (elmo-msgdb-make-message-entity): Define.
2736 (elmo-msgdb-create-message-entity-from-file): Ditto.
2737 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2738 (elmo-msgdb-message-entity-field): Ditto.
2739 (elmo-msgdb-message-entity-set-field): Ditto.
2740 (elmo-msgdb-copy-message-entity): Ditto.
2741 (elmo-msgdb-match-condition-internal): Ditto.
2743 * modb-legacy.el: Don't require modb-entity.
2744 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
2745 (elmo-msgdb-match-condition-primitive): Ditto.
2746 (elmo-msgdb-get-decoded-cache): Ditto.
2747 (elmo-msgdb-overview-entity-get-id): Ditto.
2748 (elmo-msgdb-overview-entity-get-number): Ditto.
2749 (elmo-msgdb-overview-entity-set-number): Ditto.
2750 (elmo-msgdb-overview-entity-get-references): Ditto.
2751 (elmo-msgdb-overview-entity-set-references): Ditto.
2752 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
2753 (elmo-msgdb-overview-entity-get-from): Ditto.
2754 (elmo-msgdb-overview-entity-set-from): Ditto.
2755 (elmo-msgdb-overview-entity-get-subject): Ditto.
2756 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
2757 (elmo-msgdb-overview-entity-set-subject): Ditto.
2758 (elmo-msgdb-overview-entity-get-date): Ditto.
2759 (elmo-msgdb-overview-entity-set-date): Ditto.
2760 (elmo-msgdb-overview-entity-get-to): Ditto.
2761 (elmo-msgdb-overview-entity-get-cc): Ditto.
2762 (elmo-msgdb-overview-entity-get-size): Ditto.
2763 (elmo-msgdb-overview-entity-set-size): Ditto.
2764 (elmo-msgdb-overview-entity-get-extra): Ditto.
2765 (elmo-msgdb-overview-entity-set-extra): Ditto.
2766 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
2767 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2768 (elmo-msgdb-number-load): Ditto.
2769 (elmo-msgdb-overview-load): Ditto.
2770 (elmo-msgdb-mark-load): Ditto.
2771 (elmo-msgdb-number-save): Ditto.
2772 (elmo-msgdb-mark-save): Ditto.
2773 (elmo-msgdb-overview-save): Ditto.
2774 (modb-legacy-make-message-entity): New inline function.
2775 (elmo-msgdb-insert-file-header): Ditto.
2776 (elmo-msgdb-make-message-entity): Define.
2777 (elmo-msgdb-create-message-entity-from-file): Ditto.
2778 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
2779 (elmo-msgdb-message-entity-number): Ditto.
2780 (elmo-msgdb-message-entity-set-number): Ditto.
2781 (elmo-msgdb-message-entity-field): Ditto.
2782 (elmo-msgdb-message-entity-set-field): Ditto.
2783 (elmo-msgdb-copy-message-entity): Ditto.
2784 (elmo-msgdb-match-condition-internal): Ditto.
2786 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
2787 (elmo-message-copy-entity): Rewrite.
2788 (elmo-message-entity-number): Ditto.
2789 (elmo-message-entity-set-number): Ditto.
2790 (elmo-message-entity-field): Use elmo-message-entity-db.
2791 (elmo-message-entity-set-field): Ditto.
2792 (elmo-message-field): Rewrite.
2794 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
2796 (elmo-msgdb-get-message-id-from-buffer): Ditto.
2798 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
2799 elmo-message-entity-field.
2800 (elmo-shimbun-folder-shimbun-header): Ditto.
2801 (elmo-shimbun-entity-to-header): Ditto.
2802 (elmo-folder-msgdb-create): Ditto.
2803 (elmo-shimbun-msgdb-create-entity): Ditto;
2804 Use elmo-msgdb-create-message-entity-from-buffer.
2805 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
2806 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
2808 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
2809 elmo-msgdb-create-message-entity-from-file and
2810 elmo-message-entity-field.
2812 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
2813 elmo-message-entity-number.
2814 (elmo-pop3-msgdb-create-message): Use
2815 elmo-msgdb-create-message-entity-from-buffer,
2816 elmo-message-entity-set-field, elmo-message-entity-number and
2817 elmo-message-entity-set-number.
2819 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
2820 the API change in elmo-msgdb-make-message-entity.
2821 (elmo-nntp-msgdb-create-message): Use
2822 elmo-msgdb-create-message-entity-from-buffer.
2824 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
2825 elmo-message-entity-field and
2826 elmo-msgdb-create-message-entity-from-file.
2828 * elmo-msgdb.el (toplevel): Don't require modb-entity.
2829 (elmo-msgdb-get-field): Abolish.
2830 (elmo-msgdb-get-number): Rewrite.
2831 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
2832 (elmo-msgdb-flag-table): Ditto.
2833 (elmo-msgdb-get-last-message-id,
2834 elmo-msgdb-number-load, elmo-msgdb-overview-load,
2835 elmo-msgdb-mark-load, elmo-msgdb-number-save,
2836 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
2837 (elmo-msgdb-create-overview-from-buffer,
2838 elmo-msgdb-overview-get-parent-entity): Abolish.
2840 * elmo-mime.el (elmo-mime-display-as-is): Use
2841 elmo-message-entity-field.
2843 * elmo-map.el (elmo-folder-pack-numbers): Use
2844 elmo-message-entity-set-number.
2846 * elmo-maildir.el (elmo-folder-msgdb-create):
2847 elmo-msgdb-create-message-entity-from-file instead of
2848 elmo-msgdb-create-overview-entity-from-file.
2850 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
2852 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
2853 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
2855 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
2856 elmo-messge-entity-field and elmo-message-entity-number.
2857 (elmo-imap4-fetch-callback-1): Call
2858 elmo-msgdb-create-message-entity-from-buffer instead of
2859 elmo-msgdb-create-overview-from-buffer.
2860 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
2861 (elmo-find-fetch-strategy): Likewise.
2863 * elmo-flag.el (elmo-folder-msgdb-create): Call
2864 elmo-localdir-msgdb-create-entity with argument msgdb.
2866 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
2867 and elmo-message-entity-set-number.
2869 * elmo-cache.el (elmo-folder-msgdb-create): Use
2870 elmo-message-entity-field.
2871 (elmo-folder-msgdb-create): Call
2872 elmo-msgdb-create-message-entity-from-file instead of
2873 elmo-msgdb-create-overview-entity-from-file.
2875 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
2876 argument msgdb; Call elmo-msgdb-create-message-from-buffer
2877 instead of elmo-msgdb-create-overview-from-buffer.
2878 (elmo-archive-msgdb-create-entity): Ditto.
2879 (elmo-archive-msgdb-create-as-numlist-subr1): Use
2880 elmo-message-entity-field.
2881 (elmo-archive-parse-mmdf): Ditto.
2883 * modb-entity.el: Removed.
2885 * elmo-version.el (elmo-version): Up to 2.11.16.
2887 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2889 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
2891 (elmo-folder-flag-as-answered): Ditto.
2893 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2895 * modb-standard.el: New file.
2897 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
2898 elmo-msgdb-convert-type is `sync'.
2900 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
2901 (elmo-msgdb-convert-type): New user option.
2903 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
2904 (elmo-load-msgdb): Auto detect saved type.
2906 * elmo-version.el (elmo-version): Up to 2.11.15.
2908 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2910 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
2912 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
2913 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
2914 with argument `delete-if-none' when dst-folder is 'null.
2916 * elmo-flag.el (elmo-folder-append-messages): Defined.
2917 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
2919 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2921 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
2923 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2925 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
2926 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
2927 (elmo-folder-commit): Ditto.
2929 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2931 * elmo-flag.el: New file.
2933 * elmo-mark.el: Removed.
2935 * modb-legacy.el (modb-legacy-new-mark,
2936 modb-legacy-unread-uncached-mark,
2937 modb-legacy-unread-cached-mark,
2938 modb-legacy-read-uncached-mark,
2939 modb-legacy-answered-cached-mark,
2940 modb-legacy-answered-uncached-mark,
2941 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
2942 All other related portions are changed.
2944 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
2945 (elmo-folder-list-messages-with-global-mark): Abolish.
2946 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
2947 (elmo-folder-flag-as-important): Ditto.
2948 (elmo-folder-unflag-read): Ditto.
2949 (elmo-folder-flag-as-read): Ditto.
2950 (elmo-folder-unflag-answered): Ditto.
2951 (elmo-folder-flag-as-answered): Ditto.
2952 (elmo-message-encache): Return the cache path.
2953 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
2954 (elmo-message-set-flag): Transitional implementation.
2955 (elmo-message-unset-flag): Ditto.
2956 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
2957 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
2958 (elmo-init): Call elmo-global-flag-initialize.
2959 (toplevel): Added autoload settings for elmo-flag.
2961 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
2963 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
2964 (elmo-file-cache-delete): Don't treat global-mark.
2966 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2968 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2970 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
2971 `elmo-global-flags-set'.
2973 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
2975 (elmo-folder-unflag-read): Ditto.
2976 (elmo-folder-unflag-important): Ditto.
2977 (elmo-folder-flag-as-important): Ditto.
2978 (elmo-folder-unflag-answered): Ditto.
2979 (elmo-folder-flag-as-answered): Ditto.
2981 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
2982 `elmo-global-flags-set'.
2983 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
2985 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
2987 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
2989 (elmo-folder-flag-as-important): Ditto.
2990 (elmo-folder-unflag-important): Ditto.
2991 (elmo-folder-flag-as-important): Ditto.
2992 (elmo-folder-unflag-read): Ditto.
2993 (elmo-folder-flag-as-read): Ditto.
2994 (elmo-folder-unflag-answered): Ditto.
2995 (elmo-folder-flag-as-answered): Ditto.
2997 * elmo-multi.el (elmo-folder-list-importants): Don't call
2998 elmo-folder-list-messages-with-global-mark.
2999 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3000 (elmo-folder-unflag-important): Ditto.
3001 (elmo-folder-flag-as-read): Ditto.
3002 (elmo-folder-unflag-read): Ditto.
3003 (elmo-folder-flag-as-answered): Ditto.
3004 (elmo-folder-unflag-answered): Ditto.
3006 * elmo-msgdb.el (elmo-msgdb-new-mark,
3007 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3008 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3009 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3010 (Moved to modb-legacy.el).
3011 (elmo-flag-table-get): Treat important flag too.
3013 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3015 (elmo-map-folder-flag-as-important): Ditto.
3016 (elmo-map-folder-unflag-read): Ditto.
3017 (elmo-map-folder-flag-as-read): Ditto.
3018 (elmo-map-folder-unflag-answered): Ditto.
3019 (elmo-map-folder-flag-as-answered): Ditto.
3020 (elmo-folder-unflag-important): Ditto.
3021 (elmo-folder-flag-as-important): Ditto.
3022 (elmo-folder-unflag-read): Ditto.
3023 (elmo-folder-flag-as-read): Ditto.
3024 (elmo-folder-unflag-answered): Ditto.
3025 (elmo-folder-flag-as-answered): Ditto.
3027 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3028 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3030 (elmo-map-folder-unflag-important): Ditto.
3031 (elmo-map-folder-flag-as-read): Ditto.
3032 (elmo-map-folder-unflag-read): Ditto.
3033 (elmo-map-folder-flag-as-answered): Ditto.
3034 (elmo-map-folder-unflag-answered): Ditto.
3036 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3037 `elmo-global-flags-set'.
3038 (elmo-global-flags-set): Added autoload setting.
3040 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3043 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3044 `elmo-msgdb-global-mark-set'.
3045 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3046 Call `elmo-global-flags-set'.
3047 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3049 (elmo-folder-flag-as-important-plugged): Ditto.
3050 (elmo-folder-unflag-read-plugged): Ditto.
3051 (elmo-folder-flag-as-read-plugged): Ditto.
3052 (elmo-folder-unflag-answered-plugged): Ditto.
3053 (elmo-folder-flag-as-answered-plugged): Ditto.
3054 (elmo-global-flags-set): Added autoload setting.
3056 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3058 (elmo-folder-unflag-read): Ditto.
3059 (elmo-folder-flag-as-important): Ditto.
3060 (elmo-folder-unflag-important): Ditto.
3061 (elmo-folder-flag-as-answered): Ditto.
3062 (elmo-folder-unflag-answered): Ditto.
3064 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3065 change of `mark'->`flag'.
3066 (elmo-dop-queue-method-name-alist): Ditto.
3067 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3068 (elmo-folder-unflag-read-dop): Ditto.
3069 (elmo-folder-flag-as-important-dop): Ditto.
3070 (elmo-folder-unflag-important-dop): Ditto.
3071 (elmo-folder-flag-as-answered-dop): Ditto.
3072 (elmo-folder-unflag-answered-dop): Ditto.
3074 * elmo-cache.el (elmo-folder-msgdb-create): Call
3075 `elmo-global-flags-set'.
3077 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3078 Call `elmo-global-flags-set'.
3079 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3080 elmo-archive-parse-mmdf with argument `folder'.
3081 (elmo-archive-parse-mmdf): Added argument `folder';
3082 Call `elmo-global-flags-set'.
3084 * elmo-version.el (elmo-version): Up to 2.11.14.
3086 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3088 * modb.el (elmo-msgdb-length): Define.
3090 * elmo.el (elmo-make-folder): Fixed.
3091 (elmo-generic-folder-append-messages): Follow the API change.
3093 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3096 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3098 * modb.el: New file.
3100 * modb-entity.el: Ditto.
3102 * modb-legacy.el: Ditto.
3104 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3105 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3106 of `elmo-msgdb-overview-get-entity'.
3107 (elmo-msgdb-get-field): Ditto.
3108 (elmo-msgdb-merge): Moved to `elmo.el'.
3109 (elmo-msgdb-length): Removed; redefine as modb method.
3110 (elmo-msgdb-change-mark): Abolish.
3111 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3112 (elmo-msgdb-match-condition): Don't use mark.
3113 (elmo-msgdb-overview-get-entity): Abolish.
3114 Split modb part into `modb*.el'.
3116 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3118 * elmo-shimbun.el (shimbun-mua-search-id): Use
3119 `elmo-msgdb-message-entity' instead of
3120 `elmo-msgdb-overview-get-entity'.
3121 (elmo-shimbun-folder-shimbun-header): Ditto.
3122 (elmo-shimbun-get-headers): Ditto.
3123 (elmo-shimbun-update-overview): Ditto.
3125 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3127 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3129 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3130 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3132 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3133 `elmo-msgdb-mark-to-flags'.
3135 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3136 `elmo-msgdb-set-path'.
3138 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3140 * elmo-version.el (elmo-version): Up to 2.11.13.
3142 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3144 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3147 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3149 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3152 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3154 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3155 instead of `elmo-msgdb-get-cached'.
3156 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3158 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3159 (elmo-msgdb-set-cached): Ditto.
3160 (elmo-msgdb-set-flag): Rewrite.
3161 (elmo-msgdb-unset-flag): Ditto.
3163 * elmo-msgdb.el: Rewrite with luna.
3165 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3166 (elmo-folder-msgdb): Follow the change above.
3167 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3168 (elmo-folder-unmark-important): Follow the API change.
3169 (elmo-folder-mark-as-important): Ditto.
3170 (elmo-folder-unmark-read): Ditto.
3171 (elmo-folder-mark-as-read): Ditto.
3172 (elmo-folder-unmark-answered): Ditto.
3173 (elmo-folder-mark-as-answered): Ditto.
3174 (elmo-folder-clear): Likewise.
3176 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3177 instead of `elmo-msgdb-load' (renamed).
3179 * elmo-version.el (elmo-version): Up to 2.11.12.
3181 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3183 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3185 (elmo-message-mark): Abolish.
3186 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3187 instead of `elmo-msgdb-change-mark'.
3189 * elmo-pipe.el (elmo-message-mark): Abolish.
3191 * elmo-multi.el (elmo-message-mark): Ditto.
3193 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3194 (elmo-msgdb-unread-uncached-mark): Ditto.
3195 (elmo-msgdb-unread-cached-mark): Ditto.
3196 (elmo-msgdb-read-uncached-mark): Ditto.
3197 (elmo-msgdb-answered-cached-mark): Ditto.
3198 (elmo-msgdb-answered-uncached-mark): Ditto.
3199 (elmo-msgdb-important-mark): Ditto.
3200 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3202 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3204 (elmo-flag-table-load): Changed flag to list of flag.
3205 (elmo-flag-table-set): If flags is nil, set read flag.
3206 (elmo-flag-table-get): Return derived flags from global mark,
3207 cache status and saved flags.
3208 (elmo-msgdb-flag-table): Follow the change above.
3209 (elmo-msgdb-out-of-date-messages): New function.
3211 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3213 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3215 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3217 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3218 (elmo-nntp-msgdb-create-message): Ditto.
3220 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3222 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3224 (elmo-folder-msgdb-create): Follow the API change.
3226 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3227 (elmo-folder-append-messages): Ditto.
3229 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3230 (elmo-folder-append-buffer): Ditto.
3232 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3234 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3236 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3237 (elmo-archive-parse-mmdf): Ditto.
3239 * elmo-version.el (elmo-version): Up to 2.11.11.
3241 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3243 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3246 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3248 * elmo-pipe.el (elmo-message-flags): Defined.
3250 * elmo-multi.el (elmo-message-flags): Ditto.
3252 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3254 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3255 `elmo-msgdb-delete-msgs'.
3257 * elmo.el (elmo-folder-count-flags): Don't use
3258 `elmo-msgdb-get-mark-alist'.
3259 (elmo-folder-detach-messages): Follow the API change.
3261 * elmo.el (elmo-folder-list-messages): Append killed messages into
3262 result if `visible-only' is nil.
3264 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3266 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3267 (elmo-folder-update-number): Likewise.
3269 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3270 (elmo-pop3-sort-msgdb-by-original-number): Use
3271 `elmo-msgdb-sort-entities'.
3273 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3274 (elmo-msgdb-sort-by-date): Use it.
3275 (elmo-msgdb-overview-sort-by-date): Abolish.
3277 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3279 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3280 (elmo-msgdb-flags): New function.
3281 (elmo-msgdb-merge): Use elmo-msgdb-append.
3283 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3286 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3288 * elmo-dop.el (elmo-folder-status-dop): Use
3289 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3291 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3293 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3295 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3297 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3299 * elmo-util.el (elmo-with-progress-display): New macro.
3301 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3303 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3305 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3306 `elmo-folder-list-message-entities' instead of
3307 `elmo-msgdb-get-overview'.
3308 (elmo-map-folder-list-message-locations): Ditto.
3310 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3311 methods instead of treat directly).
3312 (elmo-msgdb-clear): Ditto.
3313 (elmo-msgdb-delete-msgs): Ditto.
3314 (elmo-msgdb-sort-by-date): Ditto.
3316 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3318 (elmo-nntp-folder-msgdb-create): Follow the API change.
3320 * elmo-version.el (elmo-version): Up to 2.11.10.
3322 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3324 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3325 (elmo-msgdb-flags-to-mark): Ditto.
3326 (elmo-msgdb-append-entity): Ditto.
3328 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3329 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3330 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3331 (elmo-archive-parse-mmdf): Ditto.
3333 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3335 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3337 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3339 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3341 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3343 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3345 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3347 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3349 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3350 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3353 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3354 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3355 instead of directly construction.
3356 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3357 instead of construct msgdb.
3359 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3360 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3361 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3362 instead of construct msgdb.
3364 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3366 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3367 when field is from or subject.
3369 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
3371 * elmo-multi.el (elmo-message-entity-parent): Define.
3372 (elmo-folder-search): Rewrite.
3374 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3376 * elmo-multi.el (elmo-message-cached-p): Define.
3378 * elmo.el (elmo-message-cached-p): New method.
3379 (elmo-message-accessible-p): Use it instead of msgdb API directly.
3380 (elmo-message-flags): New method.
3381 (elmo-message-flagged-p): New function.
3383 * elmo-version.el (elmo-version): Up to 2.11.9.
3385 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3387 * elmo-version.el (elmo-version): Up to 2.11.8.
3389 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3391 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3393 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
3395 * elmo.el (elmo-folder-detach-messages): Undo last change.
3397 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
3399 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3401 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3402 only when src folder type is pop3.
3404 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
3406 * elmo-msgdb.el (elmo-msgdb-make-index): Use
3407 elmo-msgdb-overview-entity-get-number instead of
3408 elmo-message-entity-number.
3410 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3412 * elmo-version.el (elmo-version): Up to 2.11.7.
3414 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
3416 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3419 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3420 (elmo-msgdb-merge): New function.
3421 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3422 (elmo-msgdb-make-index): Rewrite.
3424 * elmo-version.el (elmo-version): Up to 2.11.6.
3426 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3427 use it as a the path for loading message entities.
3429 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3431 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
3433 * elmo-filter.el (elmo-folder-set-message-modified): Set
3434 message-modified slot of itself if it does not require target msgdb.
3436 * elmo-mime.el (elmo-mime-message-display): Display message entirely
3437 if folder length is zero.
3438 (elmo-mime-display-as-is): Ditto.
3440 * elmo-filter.el (elmo-folder-set-message-modified): Define.
3442 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3444 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3446 * elmo.el (elmo-folder-set-message-modified): New method.
3447 (elmo-generic-folder-commit): Use it.
3448 (elmo-folder-synchronize): Ditto.
3450 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3451 (elmo-folder-commit): Remove duplicate definition.
3453 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3455 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3457 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3459 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3460 (elmo-strict-folder-diff): Ditto.
3461 (elmo-folder-set-info-max-by-numdb): Simplify.
3463 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3464 elmo-msgdb-list-messages.
3466 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3467 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3469 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3471 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3472 visible-only is non-nil.
3473 (elmo-folder-confirm-appends): Changed message.
3474 (elmo-folder-synchronize): Added argument disable-killed.
3476 * elmo-multi.el (elmo-folder-synchronize): Added argument
3479 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3481 * elmo-version.el (elmo-version): Up to 2.11.5.
3483 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3486 * elmo-util.el (elmo-list-filter): Simplify.
3488 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
3489 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
3490 (elmo-generic-folder-diff): Abolish argument.
3491 (elmo-msgdb-load): Don't use number-alist.
3493 * elmo-filter.el (elmo-folder-diff): Abolish argument.
3495 * elmo-pipe.el (elmo-folder-diff): Ditto.
3497 * elmo-nmz.el (elmo-folder-diff): Ditto.
3499 * elmo-net.el (elmo-folder-diff): Ditto.
3501 * elmo-maildir.el (elmo-folder-diff): Ditto.
3503 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
3505 * elmo-multi.el (elmo-folder-diff): Ditto
3506 (elmo-multi-folder-diff): Rewrite.
3508 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3510 * elmo-pipe.el (elmo-folder-msgdb): Define.
3512 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
3514 * elmo.el (elmo-message-set-cached): Define as a method.
3516 * elmo-pipe.el (elmo-message-set-cached): Define.
3517 (elmo-find-fetch-strategy): Ditto.
3519 * elmo-multi.el (elmo-message-set-cached): Define.
3520 (elmo-find-fetch-strategy): Rewrite.
3522 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
3524 * elmo-pipe.el (elmo-message-folder): Fixed definition.
3526 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3528 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
3529 instead of number-alist.
3531 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
3532 mark nor message-id when msgdb of source folder is not loaded.
3534 * elmo.el (elmo-generic-folder-append-messages): Ditto.
3536 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3538 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
3540 * elmo.el (elmo-folder-length): Don't require msgdb.
3542 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
3544 * elmo.el (elmo-message-mark): Cause an error when empty folder.
3545 (elmo-message-field): Ditto.
3547 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
3548 (elmo-map-folder-list-message-locations): Setup `answered-locations'
3550 (elmo-map-folder-list-answereds): Define.
3551 (elmo-maildir-list-location): Treat 'R' info.
3552 (elmo-folder-msgdb-create): Treat flag-table.
3553 (elmo-folder-append-messages): Save flag-table.
3555 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
3557 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
3558 Use SELECT when elmo-imap4-use-select-to-update-status is t.
3560 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3562 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
3564 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
3565 'read when mark is null.
3567 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
3569 * elmo-version.el (elmo-version): Up to 2.11.4.
3571 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3573 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
3574 (elmo-folder-mark-as-answered): Ditto.
3576 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
3578 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
3579 (elmo-pop3-get-session): Make msgdb directory after session.
3580 (elmo-folder-exists-p): Check exactly at the first time even when the
3581 elmo-pop3-exists-exactly is nil.
3583 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
3584 (elmo-folder-list-messages): Define instead of
3585 elmo-folder-list-messages-internal.
3586 (elmo-folder-check): Check destination folder.
3587 (elmo-folder-synchronize): Drain the pipe.
3589 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
3590 when msgdb is not loaded.
3592 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
3594 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
3595 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
3598 * elmo.el (elmo-folder-kill-messages-before): New function.
3599 (elmo-folder-kill-messages): Ditto.
3600 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
3602 * elmo-imap4.el (elmo-folder-list-messages-plugged):
3603 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
3604 killed not by synchronize (e.g. scoring).
3606 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3608 * elmo.el (elmo-folder-search-fast): Return t if condition is not
3610 (elmo-folder-search): Follow the change above.
3612 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
3613 into the candidates of search field.
3615 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
3617 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
3618 (elmo-msgdb-unset-flag): Ditto.
3620 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
3622 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
3624 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
3625 (elmo-folder-commit): Define.
3626 (elmo-folder-synchronize): Ditto.
3627 (elmo-folder-list-flagged): Ditto.
3628 (elmo-folder-commit): Ditto.
3629 (elmo-folder-length): Ditto.
3630 (elmo-folder-count-flags): Ditto.
3631 (elmo-message-mark): Ditto.
3632 (elmo-message-field): Ditto.
3633 (elmo-message-entity): Ditto.
3634 (elmo-message-folder): Ditto.
3636 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
3638 * elmo.el (elmo-message-field): Define as a method.
3640 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
3641 (elmo-message-field): Define.
3643 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
3644 (elmo-folder-list-importants): Ditto.
3645 (elmo-folder-list-answereds): Ditto.
3647 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
3649 (elmo-folder-mark-as-read): Ditto.
3650 (elmo-folder-unmark-read): Ditto.
3651 (elmo-folder-mark-as-answered): Ditto.
3652 (elmo-folder-unmark-answered): Ditto.
3653 (elmo-folder-list-flagged): Define.
3654 (elmo-folder-commit): Ditto.
3655 (elmo-folder-length): Ditto.
3656 (elmo-folder-count-flags): Ditto.
3658 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3660 * elmo.el (elmo-folder-detach-messages): New method.
3661 (elmo-folder-move-messages): Use it.
3662 (elmo-folder-synchronize): Ditto.
3664 * elmo-multi.el (elmo-folder-detach-messages): Define.
3666 * elmo.el (elmo-message-copy-entity): New function.
3667 (elmo-message-entity-set-number): Ditto.
3668 (elmo-message-mark): Define as method.
3670 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
3671 (elmo-folder-synchronize): Return 0 (Should be reconsider).
3672 (elmo-message-entity): Fixed last change.
3673 (elmo-message-mark): Define.
3674 (elmo-folder-msgdb-create): Abolish.
3675 (elmo-multi-folder-append-msgdb): Ditto.
3676 (elmo-multi-folder-diff): Fixed.
3677 (elmo-multi-split-number-alist): Removed.
3678 (elmo-multi-split-mark-alist): Removed.
3679 (elmo-folder-list-messages): Define.
3680 (elmo-folder-list-messages-internal): Removed.
3682 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
3683 local file messages.
3684 (elmo-folder-msgdb-create): Fixed read mark.
3686 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3688 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
3691 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3693 * elmo.el (elmo-folder-list-message-entities): Define as inline
3695 (elmo-folder-messages): Abolish.
3697 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
3699 (elmo-folder-synchronize): Define.
3700 (elmo-message-entity): Define.
3702 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
3704 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
3705 elmo-imap4-session-select-mailbox.
3707 * elmo.el (elmo-folder-move-messages): Don't display any message.
3709 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
3711 (elmo-imap4-session-check): Don't wait CHECK response.
3712 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
3714 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3716 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
3718 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3720 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
3722 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
3725 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
3726 (elmo-folder-list-message-entities): Added argument in-msgdb and
3728 (elmo-folder-synchronize): Define as a method.
3730 * elmo-nntp.el (elmo-folder-initialize): Don't use
3731 elmo-nntp-default-user if zero-length username is specified
3734 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3736 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
3737 server name in case with username.
3738 (XXX: this is ad-hoc fix against username includes "@", it
3739 should be solved fundamentally)
3741 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
3743 * elmo-nntp.el (elmo-nntp-debug): New function.
3744 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
3745 (elmo-network-authenticate-session): Hide auth-info from the log.
3747 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
3748 user name if it is equal to elmo-nntp-default-user.
3750 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3752 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
3753 instead of shimbun-server-internal;
3754 Use shimbun-current-group instead of shimbun-current-group-internal.
3755 (elmo-folder-plugged-p): Use shimbun-server instead of
3756 shimbun-server-internal.
3757 (elmo-folder-set-plugged): Ditto.
3758 (elmo-net-port-info): Ditto.
3759 (elmo-folder-check): Ditto.
3760 (elmo-folder-expand-msgdb-path): Ditto.
3761 (elmo-folder-list-subfolders): Ditto.
3763 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
3765 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
3766 Convert field-name to lower case.
3767 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3769 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
3771 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
3772 `message' and `error' take format string.
3774 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3776 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
3778 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3780 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
3781 recursive call (can't byte compile on emacs 20.7).
3783 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3785 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
3786 (elmo-folder-list-message-entities): New API.
3787 (elmo-message-entity): Ditto.
3788 (elmo-message-entity-parent): Ditto.
3789 (elmo-folder-do-each-message-entity): Ditto.
3790 (elmo-message-entity-number): Ditto.
3791 (elmo-message-entity-field): Ditto.
3792 (elmo-message-entity-set-field): Ditto.
3793 (elmo-folder-count-flags): Ditto.
3794 (elmo-folder-length): Ditto.
3796 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
3799 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
3800 (elmo-msgdb-count-marks): Abolish.
3801 (elmo-msgdb-make-entity): Ditto.
3802 (elmo-msgdb-do-each-entity): Ditto.
3803 (elmo-msgdb-message-entity): New inline function.
3804 (elmo-msgdb-message-entity-field): Ditto.
3805 (elmo-msgdb-message-entity-set-field): Ditto.
3806 (elmo-msgdb-make-message-entity): New function.
3808 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
3810 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
3811 to flag. (All other related portions are changed.)
3812 (elmo-folder-msgdb-create): Likewise.
3813 (elmo-generic-folder-append-messages): Use flag-table instead of
3815 (elmo-folder-move-messages): Removed redundant process.
3816 (elmo-folder-synchronize): Likewise.
3818 * elmo-msgdb.el (elmo-flag-table-get): New function.
3819 (elmo-flag-table-save): Fixed.
3820 (elmo-msgdb-length): New inline function.
3821 (elmo-msgdb-flag-table): New function.
3822 (elmo-msgdb-mark): Add optional argument new.
3823 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
3824 (elmo-msgdb-seen-list): Ditto.
3825 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
3828 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
3830 * elmo.el (elmo-message-set-mark): Abolish.
3831 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
3832 (All related portions are changed.)
3834 * elmo-msgdb.el (toplevel): Added comment.
3835 (elmo-load-msgdb): Added 4th element `path'.
3836 (elmo-msgdb-append): Follow the change above.
3837 (elmo-msgdb-clear): Ditto.
3838 (elmo-msgdb-delete-msgs): Ditto.
3839 (elmo-msgdb-get-path): New inline function.
3840 (elmo-msgdb-set-path): Ditto.
3841 (elmo-flag-table-filename): New variable.
3842 (elmo-flag-table-load): New function.
3843 (elmo-flag-table-set): Ditto.
3844 (elmo-flag-table-save): Ditto.
3845 (elmo-msgdb-get-field-value): Abolish.
3846 (elmo-msgdb-overview-get-entity-by-number): Ditto.
3848 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
3850 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
3851 the folder has been deleted successfully.
3852 * elmo-imap4.el (elmo-folder-delete): Ditto.
3853 * elmo-archive.el (elmo-folder-delete): Ditto.
3854 * elmo-localdir.el (elmo-folder-delete): Ditto.
3855 * elmo-maildir.el (elmo-folder-delete): Ditto.
3857 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
3859 * elmo-util.el (elmo-string-member-ignore-case): New function.
3860 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
3861 (elmo-imap4-fetch-callback-1-subr): Likewise.
3863 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
3865 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
3866 the case of the name attribute "\Noselect".
3868 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3870 * elmo.el (elmo-folder-rename-internal): New method to cause error.
3872 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
3873 flist, is not always a member of onum-alist.
3875 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3877 * elmo-version.el (elmo-version): Up to 2.11.3.
3879 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3881 * elmo-maildir.el (elmo-folder-rename-internal): New method,
3882 copied from localdir's one.
3884 * elmo-pipe.el (elmo-folder-rename): New method, rename
3885 destination folder with leaving source folder as it is.
3887 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
3889 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
3892 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3894 * elmo-version.el (elmo-version): Up to 2.11.2.
3896 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3898 * elmo-shimbun.el (elmo-folder-initialize): Do not call
3899 shimbun-open in case of "@".
3900 (elmo-folder-open-internal): Cope with shimbun = nil case.
3901 (elmo-folder-plugged-p): Ditto.
3902 (elmo-folder-list-subfolders): Make list for "@/" group.
3904 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3906 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
3907 mailbox (e.g. for %~/something).
3909 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3911 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
3912 Replace nested conditional with guard clauses.
3914 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3916 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
3919 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
3922 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
3924 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
3925 Replace nested conditional with guard clauses.
3927 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3929 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
3930 (elmo-passwd-alist-save): Ditto.
3931 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
3933 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3935 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
3936 dir-name only if it is absolute path.
3937 (TODO: distinguish +/something and +something)
3939 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3941 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
3942 path for "+~/something".
3944 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3946 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
3947 as non-directory, cause error before rename-file.
3948 * elmo-archive.el (elmo-folder-rename-internal): Create directory
3949 apropriately, mimic localdir's one.
3950 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
3952 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
3954 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
3956 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
3958 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
3960 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
3962 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
3963 is included in the global-mark or not.
3965 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3967 * utf7.el (toplevel): Avoid error when the function
3968 find-coding-system does not exist.
3970 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3972 * elmo-nntp.el (elmo-folder-search): Body search is to search from
3973 cache even if the folder is plugged.
3974 (elmo-nntp-search-primitive): Do nothing when body search is
3975 invoked (although it is not used by the change above).
3976 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
3978 2002-12-20 Kenichi OKADA <okada@opaopa.org>
3980 * elmo-version.el (elmo-version): Up to 2.11.1.
3982 2002-12-10 Kenichi OKADA <okada@opaopa.org>
3984 * elmo-archive.el: Specify charset.
3986 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
3988 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
3989 process buffer lives or not.
3991 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
3992 while flushing queues (It causes infinite loop).
3994 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
3996 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
3998 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4000 * utf7.el (toplevel): Check the ucs features dynamically.
4001 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4003 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4004 folder is creatabe or not if it already exists.
4006 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4008 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4010 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4012 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4013 (elmo-imap4-read-response): Take care of garbage response.
4015 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4017 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4018 just return nil instead of error.
4020 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4022 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4023 search-key is "body".
4025 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4027 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4028 of elmo-string-matched-assoc to use match-data.
4029 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4031 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4033 * elmo-split.el (elmo-split->): New function.
4034 (elmo-split-<): Ditto.
4036 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4038 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4039 workaround for invalid message-id.
4041 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4043 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4044 return normal pop3 session or pop3 biff session.
4046 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4048 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4049 info part to the cur files when the new files already have it.
4050 (Adviced by Jared Rhine <jared@wordzoo.com>)
4052 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4054 * elmo-split.el (elmo-split-default-action): New variable.
4055 (elmo-split-subr): Use it if all other conditions are passed.
4056 Extend `fname' and rename it as `action'. (implemented
4057 Teranishi-san's idea in [wl:10800])
4059 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4061 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4062 * elmo-util.el: Ditto.
4064 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4066 * elmo.el (elmo-message-accessible-p): Renamed from
4067 elmo-message-cached-p and rewritten.
4069 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4071 * elmo.el (elmo-folder-list-flagged): New generic function.
4072 (elmo-folder-list-importants): New implementation.
4073 (elmo-folder-list-answereds): Ditto.
4074 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4076 (elmo-message-cached-p): New function.
4077 (elmo-message-set-flag): Ditto (no content).
4078 (elmo-message-unset-flag): Ditto.
4079 (elmo-folder-list-messages-mark-match): Abolish.
4081 * elmo-util.el (elmo-regexp-opt): New function.
4083 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4084 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4086 (elmo-msgdb-list-flagged): New function.
4088 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4089 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4092 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4094 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4096 * elmo-version.el (elmo-version): Up to 2.11.0.
4098 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4100 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4101 `elmo-file-cache-exists-p'; use proper mark that depends on
4103 (elmo-msgdb-unset-flag): Ditto.
4104 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4106 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4107 with 4th argument `use-cache'.
4109 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4111 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4112 (elmo-folder-mark-as-important): Ditto.
4113 (elmo-folder-unmark-read): Ditto.
4114 (elmo-folder-mark-as-read): Ditto.
4115 (elmo-folder-unmark-answered): Ditto.
4116 (elmo-folder-mark-as-answered): Ditto.
4118 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4120 (elmo-msgdb-mark): Likewise.
4121 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4122 (elmo-msgdb-unset-flag): Likewise.
4124 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4126 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4128 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4131 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4133 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4134 set spool-length to 0.
4136 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4138 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4139 (elmo-dop-queue-flush): Fixed last change.
4141 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4143 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4144 if require-msgdb slot is nil.
4145 (elmo-folder-list-importants): Likewise.
4147 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4149 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4152 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4153 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4156 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4158 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4160 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4162 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4164 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4166 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4168 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4169 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4171 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4173 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4174 the problem reported by Sean Rima [wl-en:180].
4176 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4178 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4180 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4182 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4184 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4186 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4188 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4190 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4192 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4194 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4197 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4199 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4200 (elmo-folder-mark-as-read): Follow the API change.
4201 (elmo-message-set-cached): New function.
4203 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4205 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4207 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4208 (elmo-folder-mark-as-important): Ditto.
4209 (elmo-folder-unmark-read): Ditto.
4210 (elmo-folder-mark-as-read): Ditto.
4211 (elmo-folder-unmark-answered): Ditto.
4212 (elmo-folder-mark-as-answered): Ditto.
4214 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4215 (elmo-folder-unmark-important): Ditto.
4216 (elmo-folder-mark-as-read): Ditto.
4217 (elmo-folder-unmark-read): Ditto.
4218 (elmo-folder-mark-as-answered): Ditto.
4219 (elmo-folder-unmark-answered): Ditto.
4221 * elmo-mark.el (toplevel): Removed some mark method definitions.
4223 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4224 (elmo-map-folder-mark-as-answered): Ditto.
4225 (elmo-folder-unmark-important): Add :before qualifier.
4226 (elmo-folder-mark-as-important): Ditto.
4227 (elmo-folder-unmark-read): Ditto.
4228 (elmo-folder-mark-as-read): Ditto.
4229 (elmo-folder-unmark-answered): Define.
4230 (elmo-folder-mark-as-answered): Ditto.
4232 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4233 (elmo-map-folder-unmark-answered): Ditto.
4235 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4237 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4238 (elmo-folder-mark-as-important): Ditto.
4239 (elmo-folder-unmark-read): Ditto.
4240 (elmo-folder-mark-as-read): Ditto.
4241 (elmo-folder-unmark-answered): Ditto.
4242 (elmo-folder-mark-as-answered): Ditto.
4244 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4245 `mark'; evaluate mark condition.
4246 (elmo-msgdb-match-condition-internal): New function.
4247 (elmo-msgdb-match-condition): Call it; changed argument.
4249 * elmo.el (elmo-folder-search): Follow the API change on
4250 `elmo-msgdb-match-condition'.
4252 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4254 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4255 original mark is non-nil.
4257 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4259 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4260 (elmo-map-folder-list-answereds): New method.
4261 (elmo-folder-list-unreads): Add :around qualifier.
4262 (elmo-folder-list-importants): Ditto.
4263 (elmo-folder-list-answereds): Ditto.
4265 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4267 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4269 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4270 method if msgdb is not required.
4271 (elmo-filter-folder-list-importants): Don't treat global-mark.
4273 * elmo.el (elmo-folder-list-importants): Ditto.
4275 * elmo-net.el (elmo-folder-list-importants): Ditto.
4277 * elmo-map.el (elmo-folder-list-importants): Ditto.
4279 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4281 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4282 (elmo-imap4-folder-list-any-plugged): New function.
4283 (elmo-imap4-search-internal-primitive): Use it.
4285 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4286 only when require-msgdb slot is non-nil.
4287 (elmo-folder-close): Clear target folder's msgdb.
4289 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4291 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4292 (elmo-pop3-msgdb-create-by-header): Ditto.
4293 (elmo-pop3-msgdb-create-message): Ditto.
4295 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4297 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4299 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4301 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4302 (elmo-folder-msgdb-create): Ditto.
4303 (elmo-nntp-folder-msgdb-create): Ditto.
4304 (elmo-nntp-msgdb-create-by-header): Ditto.
4305 (elmo-nntp-msgdb-create-message): Ditto.
4306 (elmo-folder-list-unreads): Define.
4308 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4309 (elmo-folder-append-messages): Ditto.
4310 (elmo-folder-list-unreads): Define.
4311 (elmo-folder-list-importants): Ditto.
4312 (elmo-folder-list-answereds): Ditto.
4314 * elmo-net.el (elmo-folder-list-unreads): Define.
4315 (elmo-folder-list-importants): Ditto.
4316 (elmo-folder-list-answereds): Ditto.
4317 (elmo-folder-list-answereds-plugged): Ditto.
4318 (elmo-folder-msgdb-create): Follow the API change.
4319 (elmo-folder-msgdb-create-unplugged): Ditto.
4320 (elmo-folder-unmark-answered): Define.
4321 (elmo-folder-mark-as-answered-unplugged): Ditto.
4322 (elmo-folder-unmark-answered-unplugged): Ditto.
4324 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4325 (elmo-msgdb-unread-uncached-mark): Ditto.
4326 (elmo-msgdb-unread-cached-mark): Ditto.
4327 (elmo-msgdb-read-uncached-mark): Ditto.
4328 (elmo-msgdb-answered-cached-mark): Ditto.
4329 (elmo-msgdb-answered-uncached-mark): Ditto.
4330 (elmo-msgdb-important-mark): Ditto.
4331 (elmo-msgdb-set-mark): Rewrite.
4332 (elmo-msgdb-count-marks): Rewrite.
4333 (elmo-msgdb-mark-alist-set): Abolish.
4334 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4335 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4337 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4338 (elmo-folder-close): Define.
4339 (elmo-folder-msgdb-create): Follow the API change.
4340 (elmo-folder-list-unreads): Rewrite.
4341 (elmo-folder-mark-as-important): Ditto.
4342 (elmo-folder-unmark-important): Ditto.
4343 (elmo-folder-mark-as-read): Ditto.
4344 (elmo-folder-unmark-read): Ditto.
4345 (elmo-folder-mark-as-answered): Define.
4346 (elmo-folder-unmark-answered): Ditto.
4348 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4349 (elmo-folder-append-messages): Ditto.
4351 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4353 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4354 (elmo-folder-list-importants): Ditto.
4356 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4357 (elmo-folder-append-messages): Ditto.
4359 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4361 (elmo-folder-msgdb-create-plugged): Ditto.
4362 (elmo-folder-append-messages): Ditto.
4363 (elmo-folder-list-answereds-plugged): Define.
4364 (elmo-imap4-search-internal-primitive): Add `mark' processing.
4365 (elmo-folder-unmark-answered-plugged): Define.
4366 (elmo-folder-mark-as-answered-plugged): Ditto.
4367 (elmo-folder-search-requires-msgdb-p): Ditto.
4369 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4370 (elmo-folder-initialize): Set it.
4371 (elmo-folder-msgdb): Define.
4372 (elmo-folder-check): Call elmo-folder-synchronize.
4373 (elmo-folder-close): Define.
4374 (elmo-folder-commit): Ditto.
4375 (elmo-folder-msgdb-create): Rewrite.
4376 (elmo-folder-list-unreads): Ditto.
4377 (elmo-folder-list-importants): Ditto.
4378 (elmo-folder-mark-as-read): Ditto.
4379 (elmo-folder-unmark-read): Ditto.
4380 (elmo-folder-mark-as-important): Ditto.
4381 (elmo-folder-unmark-important): Ditto.
4382 (elmo-folder-mark-as-answered): Define.
4383 (elmo-folder-unmark-answered): Ditto.
4385 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4386 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4387 (elmo-dop-queue-method-name-alist): Likewise.
4388 (elmo-folder-mark-as-answered-dop): New inline function.
4389 (elmo-folder-unmark-answered-dop): Ditto.
4390 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4392 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4393 (elmo-folder-msgdb-create): Ditto.
4394 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4395 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4396 (elmo-archive-parse-mmdf): Ditto.
4398 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4399 (elmo-folder-list-unreads-internal): Ditto.
4401 * elmo.el (elmo-folder-msgdb): Define as generic function.
4402 (elmo-folder-list-messages): Added argument `in-msgdb'.
4403 (elmo-folder-list-unreads): Define as generic function.
4404 (elmo-folder-list-importants): Ditto.
4405 (elmo-folder-list-answereds): Ditto.
4406 (elmo-folder-list-messages-with-global-mark): New function.
4407 (elmo-folder-msgdb-create): Removed mark arguments.
4408 (elmo-folder-unmark-answered): New generic function.
4409 (elmo-folder-mark-as-answered): Ditto.
4410 (elmo-folder-append-messages): Removed argunment `unread-marks'
4411 (elmo-folder-list-unreads-internal): Abolish.
4412 (elmo-folder-list-importants-internal): Ditto.
4413 (elmo-folder-search-requires-msgdb-p): New generic function.
4414 (elmo-folder-search-requires-msgdb-p-internal): New function.
4415 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4417 (elmo-folder-search-fast): Added key 'mark'.
4418 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4419 instead of unread-marks argument.
4420 (elmo-folder-move-messages): Removed argunment `unread-marks'
4421 (elmo-folder-unmark-important): Define.
4422 (elmo-folder-mark-as-important): Ditto.
4423 (elmo-folder-unmark-read): Ditto.
4424 (elmo-folder-mark-as-read): Ditto.
4425 (elmo-folder-unmark-answered): Ditto.
4426 (elmo-folder-mark-as-answered): Ditto.
4427 (elmo-folder-replace-marks): Abolish.
4428 (elmo-generic-folder-append-msgdb): Append msgdb before checking
4430 (elmo-folder-synchronize): Removed mark arguments;
4431 return crosspost only number.
4433 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4435 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4436 Remove redundunt connectivity check.
4438 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4440 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4441 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4443 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
4445 * pldap.el (ldap-decode-string): Return string as-is if
4446 `ldap-coding-system' is nil.
4447 (ldap-encode-string): Ditto.
4448 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4449 (ldap-default-host): Fixed docstring.
4451 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4453 * elmo-util.el (elmo-warning): Define as a macro which uses
4454 `display-warning' if it is defined as a function.
4456 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4457 (elmo-split-equal): Use it.
4458 (elmo-split-match): Ditto.
4459 (elmo-split-message-entity): New buffer-local variable.
4460 (elmo-split-subr): Set it.
4462 * elmo-version.el (elmo-version): Up to 2.9.15.
4464 2002-08-18 Kenichi OKADA <okada@opaopa.org>
4466 * elmo-imap4.el (elmo-network-initialize-session):
4467 Check capability after starttls.
4469 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
4471 * elmo-util.el (elmo-list-delete): Added optional argument
4474 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4476 * elmo-util.el (elmo-warning): Ignore errors while recenter.
4478 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4480 * elmo-imap4.el (elmo-folder-initialize): Don't use
4481 elmo-imap4-default-mailbox.
4483 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
4485 * elmo-split.el (toplevel): Use `product-provide'.
4486 (elmo-split): Checkdoc.
4488 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
4490 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
4491 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
4492 the function `elmo-imap4-debug-1'.
4494 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4496 * elmo-split.el (elmo-split): Moved to run hooks and to show
4497 message from elmo-split-subr.
4498 (elmo-split-subr): Follow the change above.
4500 * elmo-split.el (elmo-split-subr): New function (renamed from
4502 (elmo-split): Changed to call elmo-split-subr by element of
4504 (elmo-split-folder): Changed customization type to choice.
4506 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4508 * elmo-split.el (elmo-split-and): Fixed condition.
4510 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4512 * elmo-split.el: New file.
4513 (elmo-split): Fixed logic.
4514 Display "Test:" instead of "Folder:" when reharsal.
4516 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
4519 * elmo-version.el (elmo-version): Up to 2.9.14.
4521 * elmo-util.el (elmo-expand-newtext): New function (renamed from
4524 2002-06-10 Kenichi Sato <ksato@sonycom.com>
4526 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
4527 message with no message-id field.
4529 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
4531 * elmo-version.el (elmo-version): Up to 2.9.13.
4533 * elmo-dop.el (elmo-folder-status-dop): Fix.
4535 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
4537 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
4539 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
4540 changing default value of default-mime-charset.
4541 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
4543 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
4545 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
4546 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
4547 instead of elmo-dop-queue-method-name-alist to check merging queue.
4548 (elmo-folder-delete-messages-dop): Delete from queue if negative
4550 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
4551 file is already removed.
4553 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
4555 * elmo-vars.el: Bind colon keywords for old Emacsen.
4557 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4559 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
4560 against non-exsisting charset.
4562 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
4564 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
4565 Use eword-decode-and-unfold-unstructured-field-body.
4567 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
4568 (elmo-msgdb-create-overview-from-buffer): Use document charset if
4569 exists to decode raw subject string.
4570 (toplevel): Require 'mime.
4572 * elmo-version.el (elmo-version): Up to 2.9.12.
4574 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
4576 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
4577 (elmo-msgdb-set-mark): Ditto.
4579 * elmo-version.el (elmo-version): Up to 2.9.11.
4581 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
4583 * elmo-util.el (elmo-delete-match-files): New function.
4585 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
4586 instead of elmo-delete-directory.
4588 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
4589 elmo-hash-minimun-size as 63.
4591 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
4592 elmo-diff-unread is nil.
4594 * elmo-imap4.el (elmo-folder-open): Fix.
4596 * elmo.el (elmo-message-mark): Rewrite.
4597 (elmo-message-field): Ditto.
4598 (elmo-message-set-mark): Ditto.
4599 (elmo-folder-replace-marks): New function.
4600 (elmo-generic-folder-append-msgdb): Removed third argument for
4602 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
4603 (elmo-msgdb-load): New implementation.
4605 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
4607 * elmo-util.el (elmo-list-insert): New implementation.
4609 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
4610 argument for elmo-msgdb-append.
4613 * elmo-msgdb.el (elmo-load-msgdb): New function.
4614 (elmo-make-msgdb): Ditto.
4615 (elmo-msgdb-get-index): New inline function.
4616 (elmo-msgdb-set-index): Ditto.
4617 (elmo-msgdb-get-entity-hashtb): Ditto.
4618 (elmo-msgdb-get-mark-hashtb): Ditto.
4619 (elmo-msgdb-get-mark): Ditto.
4620 (elmo-msgdb-set-mark): Ditto.
4621 (elmo-msgdb-count-marks): Ditto.
4622 (elmo-msgdb-get-number): Ditto.
4623 (elmo-msgdb-get-field): Ditto.
4624 (elmo-msgdb-seen-list): Ditto.
4625 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
4626 (elmo-msgdb-delete-msgs): Follow the changes above.
4627 (elmo-msgdb-overview-get-entity): Ditto.
4628 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4629 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
4631 (elmo-msgdb-make-index): Likewise.
4632 (elmo-msgdb-append): Removed third argument.
4633 (elmo-msgdb-clear): Clear index as nil.
4634 (elmo-folder-set-info-hashtb): Removed.
4635 (elmo-folder-set-info-max-by-numdb): Ditto.
4636 (elmo-folder-info-make-hashtb): Ditto.
4638 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
4640 * elmo-map.el (elmo-folder-pack-number): Ditto.
4642 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
4644 * elmo-version.el (elmo-version): Up to 2.9.10.
4646 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
4648 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
4650 2002-04-26 Kenichi OKADA <okada@opaopa.org>
4652 * elmo-utils.el (elmo-make-directory): Add option.
4653 Default file mode is 700.
4655 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4657 * elmo-shimbun.el (elmo-folder-local-p): Defined.
4659 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
4661 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
4664 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
4667 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4669 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
4670 (elmo-shimbun-folder-entity-hash): New function.
4671 (elmo-shimbun-folder-shimbun-header): Ditto.
4672 (elmo-shimbun-entity-to-header): Ditto.
4673 (elmo-shimbun-msgdb-to-headers): Removed.
4674 (elmo-shimbun-folder-setup): Ditto.
4675 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
4677 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
4678 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
4679 Removed useless local bind.
4680 (elmo-folder-open-internal): Don't call
4681 `elmo-shimbun-folder-setup'.
4682 (elmo-folder-close-internal): Clear entity-hash slot.
4683 (elmo-folder-clear): Ditto.
4684 (elmo-shimbun-msgdb-create-entity): Use
4685 `elmo-shimbun-folder-shimbun-header'.
4686 (elmo-map-message-fetch): Ditto.
4687 (elmo-shimbun-update-overview): Use overview entity instead of
4688 shimbun header to lookup id by references.
4689 (elmo-map-folder-list-message-locations): Use not only headers but
4690 also overviews to list locations.
4692 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4694 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
4697 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
4699 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4701 * elmo-util.el (elmo-read-search-condition-internal): Give default
4704 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
4706 * elmo-util.el (elmo-condition-parse-search-value): Accept
4707 YYYY-MM-DD format to search.
4708 * elmo-date.el (elmo-date-get-datevec): Likewise.
4710 2002-04-04 Kenichi OKADA <okada@opaopa.org>
4712 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
4715 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4717 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
4720 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
4722 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
4723 case from `elmo-folder-exists-p'.
4724 (elmo-folder-exists-p): Removed.
4725 (elmo-folder-creatable-p) Ditto.
4727 * elmo-net.el (elmo-folder-create): Defined.
4728 (elmo-folder-create-unplugged): New function.
4729 (elmo-folder-exists-p): Changed default value to nil from t.
4731 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
4732 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
4734 * elmo-dop.el (elmo-folder-create-dop): Renamed from
4735 `elmo-create-folder-dop' and append queue
4736 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
4737 (elmo-folder-create-dop-delayed): New function.
4739 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
4741 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
4743 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
4744 (elmo-folder-writable-p) : Ditto.
4746 * elmo-version.el (elmo-version): Up to 2.9.9.
4748 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4750 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
4751 `elmo-message-use-cache-p' returns nil.
4752 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4753 (ignore cache file and refer the substance in local folders)
4755 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4757 * elmo-version.el (elmo-version): Up to 2.9.8.
4759 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
4761 * elmo-version.el (elmo-version): Up to 2.9.7.
4763 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
4765 2002-02-18 Daiki Ueno <ueno@unixuser.org>
4767 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
4769 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
4771 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
4773 (elmo-map-folder-list-message-locations): Reverse location list.
4775 2002-02-01 Kenichi OKADA <okada@opaopa.org>
4777 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
4779 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
4781 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
4783 (elmo-nntp-folder-list-subfolders): Follow the change above.
4785 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
4787 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
4788 name if authentication type is specified.
4790 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
4792 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
4794 (elmo-default-nntp-stream-type): Ditto.
4795 (elmo-default-pop3-stream-type): Ditto.
4797 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
4799 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
4801 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4803 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
4805 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
4807 * elmo-vars.el (elmo-localnews-folder-path): Removed.
4808 (elmo-maildir-folder-path): Ditto.
4809 (elmo-maildir-list): Ditto (abolished).
4811 2002-01-23 Kenichi OKADA <okada@opaopa.org>
4813 * elmo-version.el (elmo-version): Up to 2.9.6.
4815 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4817 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
4818 (elmo-maildir-folder-path): Ditto.
4819 (elmo-msgdb-directory): Ditto.
4820 (elmo-passwd-life-time): Ditto.
4821 (elmo-msgdb-extra-fields): Ditto.
4822 (elmo-enable-disconnected-operation): Ditto.
4824 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4826 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4828 (elmo-pop3-default-authenticate-type): Ditto.
4830 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4832 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
4834 (elmo-pop3-default-authenticate-type): Ditto.
4836 2002-01-22 Kenichi OKADA <okada@opaopa.org>
4838 * elmo-imap4.el (elmo-folder-rename-internal): Change current
4839 mailbox to new-folder.
4841 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
4843 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
4844 less than new, set new as unread.
4846 * elmo-util.el (elmo-string): Don't put text-property if nil.
4848 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4850 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
4851 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
4853 2002-01-21 Kenichi OKADA <okada@opaopa.org>
4855 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4856 is nil on `completing-read'.
4858 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
4860 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
4862 (elmo-imap4-parse-namespace-subr): Ditto.
4863 (elmo-folder-list-subfolders): Append a delimiter when the specified
4864 folder path is a root with namespace and does not end with delimiter.
4866 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4868 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
4871 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4873 * elmo-util.el (elmo-save-buffer): The first argument of message
4874 is a format control string.
4876 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4878 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
4879 `elmo-folder-diff').
4880 (elmo-diff-unread): Likewise.
4882 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4884 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
4885 is t on `completing-read'.
4887 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4889 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
4890 method of target folder with self mark-alist if MARK-ALIST is nil.
4892 2002-01-19 Kenichi OKADA <okada@opaopa.org>
4894 * elmo-version.el (elmo-version): Up to 2.9.5.
4896 2002-01-17 Kenichi OKADA <okada@opaopa.org>
4898 * elmo-dop.el (elmo-dop-queue-merge): Implement.
4899 (elmo-dop-merge-funcs): Remove.
4901 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4903 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
4904 Return t if PATH is directory, too.
4905 Use `dolist' instead of while loop.
4907 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4909 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
4912 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4914 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
4916 (elmo-folder-list-messages-unplugged): Return t if
4917 elmo-enable-disconnected-operation is nil.
4919 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
4920 `elmo-folder-list-messages-internal'.
4922 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4924 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
4925 Change to looking-at `[23][0-9]+'.
4926 (elmo-network-initialize-session): Use 'error-msg'
4927 * elmo-net.el (elmo-network-open-session): Set unplugged
4928 if elmo-network-initialize-session returns 'elmo-open-err.
4930 2002-01-07 Kenichi OKADA <okada@opaopa.org>
4932 * elmo-version.el (elmo-version): Up to 2.9.4.
4934 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4936 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
4937 `elmo-folder-list-messages-internal'.
4939 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4941 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
4942 (elmo-message-match-condition): New method.
4943 (elmo-folder-search-fast): New inline function.
4944 (elmo-msgdb-search): Removed.
4946 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
4947 target folder if it is unplugged.
4948 (elmo-folder-list-messages-internal): Return t if target folder is
4949 unplugged and itself is persistent; In this case, use list be
4952 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
4953 (elmo-msgdb-search-internal-primitive): Ditto.
4954 (elmo-msgdb-match-condition): New function.
4955 (elmo-msgdb-match-condition-primitive): Ditto.
4957 * elmo-util.el (elmo-filter-condition-p): New macro.
4959 * elmo-cache.el (elmo-folder-search): Removed.
4961 * elmo-localdir.el (elmo-folder-search): Ditto.
4963 * elmo-maildir.el (elmo-folder-search): Ditto.
4965 * elmo-mark.el (elmo-folder-search): Ditto.
4967 * elmo-nmz.el (elmo-folder-search): Ditto.
4969 * elmo-sendlog.el (elmo-folder-search): Ditto.
4971 * elmo-shimbun.el (elmo-folder-search): Ditto.
4973 * elmo-imap4.el (elmo-folder-search): Call method of parent class
4974 if folder is unplugged.
4976 * elmo-nntp.el (elmo-folder-search): Likewise.
4977 (elmo-nntp-search-internal): New function.
4979 * elmo-version.el (elmo-version): Up to 2.9.3.
4981 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4983 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
4985 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
4987 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
4989 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
4991 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
4993 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
4995 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
4996 (elmo-map-folder-list-message-locations): Do drive letter conversion
4997 on Windows environment.
4998 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
4999 (elmo-map-message-fetch): Ditto.
5001 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5003 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5004 (elmo-network-initialize-session): Ditto.
5006 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5008 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5010 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5012 * elmo-util.el (elmo-progress-clear): Ditto.
5014 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5015 `DD-Mon-YYYY' type date.
5017 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5019 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5020 `elmo-date-make-sortable-string' instead of
5021 `timezone-make-date-sortable'.
5023 * elmo-date.el (elmo-date-make-sortable-string): Use
5024 `timezone-make-time-string'.
5026 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5028 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5030 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5031 `since'; Fix timezone.
5033 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5035 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5037 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5039 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5041 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5043 * elmo.el (elmo-generic-folder-append-messages): Make
5044 fetch-strategy with `use-cache' as 'maybe. Check return value of
5045 `elmo-message-fetch'.
5046 (elmo-message-fetch): Return return value of
5047 `elmo-message-fetch-with-cache-process'.
5048 (elmo-message-fetch-with-cache-process): Return non-nil if
5049 fetching was succeed. Load cache when fetching was failed and
5050 fetch-strategy-use-cache is 'maybe.
5052 * elmo-util.el (elmo-file-cache-load): New function.
5054 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5057 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5058 non-nil if fetching was succeed.
5060 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5062 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5064 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5065 (elmo-message-fetch-with-cache-process): Likwise.
5067 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5069 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5071 * elmo-version.el (elmo-version): Up to 2.9.2.
5073 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5075 * elmo.el (elmo-folder-delete): Delete msgdb path.
5077 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5079 * elmo-maildir.el (elmo-folder-delete): Ditto.
5081 * elmo-localdir.el (elmo-folder-delete): Ditto.
5083 * elmo-imap4.el (elmo-folder-delete): Ditto.
5085 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5087 * elmo.el (luna-define-class): Added `biff' slot.
5089 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5090 (elmo-pop3-debug-inhibit-logging): Abolished.
5091 (elmo-network-close-session): Eliminated needless let.
5092 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5093 (elmo-pop3-send-command): Added `no-log' argument.
5094 (elmo-pop3-process-filter): Use `with-current-buffer'.
5095 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5097 (elmo-pop3-auth-apop): Likewise.
5098 (elmo-network-authenticate-session): Likewise.
5100 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5103 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5104 string to determine protocol.
5105 (elmo-network-session-name-prefix): Abolished.
5106 (elmo-network-session-cache-key): Follow the change above.
5107 (elmo-network-open-session): Ditto.
5109 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5110 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5112 * elmo-version.el (elmo-version): Up to 2.9.1.
5114 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5115 unmatch condition checking.
5117 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5120 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5122 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5124 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5126 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5127 test for while loop to execute at least one SEARCH command.
5129 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5131 * elmo-version.el (elmo-version): Up to 2.9.0.
5133 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5135 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5136 (elmo-archive-folder-path): Define.
5137 (elmo-folder-initialize): Setup `dir-name' slot.
5138 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5139 Use `dir-name' as prefix of each subfolders.
5140 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5142 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5144 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5145 (elmo-pipe-folder-list-target-messages): New internal function.
5146 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5148 (elmo-pipe-folder-copied-list-load): New function.
5149 (elmo-pipe-folder-copied-list-save): Ditto.
5150 (elmo-folder-open-internal): Follow the change above.
5151 (elmo-folder-status): Fixed for copy.
5153 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5155 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5157 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5159 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5160 elmo-copy-file instead of elmo-add-name-to-file.
5162 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5164 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5167 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5168 of accept-process-output as 1.
5169 (elmo-pop3-read-contents): Ditto.
5170 (elmo-pop3-read-body): Ditto.
5172 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5174 * elmo-version.el (product-version-as-string): Remove define.
5176 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5178 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5179 (elmo-imap4-copy-messages): Chop number set using
5180 `elmo-imap4-number-set-chop-length'.
5181 (elmo-imap4-set-flag): Ditto.
5182 (elmo-imap4-search-internal-primitive): Ditto.
5184 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5186 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5187 `elmo-folder-make-temp-dir'
5189 * elmo-vars.el (elmo-cache-directory): New variable.
5190 (elmo-cache-dir): Abolished.
5191 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5193 * elmo-version.el (elmo-version): Up to 2.7.7.
5195 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5197 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5198 defcustom; Set default value as t.
5200 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5202 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5203 (ldap-search-program-arguments): Changed default value.
5204 (ldap-search-basic): Accept exit status 4.
5205 (ldap/field-body): Parse options.
5206 (ldap/collect-field): Ditto.
5207 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5209 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5210 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5211 (elmo-imap4-accept-ok): Ditto.
5212 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5213 'notify-bye, only BYE error is reported.
5214 (elmo-folder-exists-p-plugged): Set no-error argument of
5215 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5217 * elmo.el (elmo-imap4-bye-error): Changed message.
5219 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5220 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5221 queues (It causes infinite loop).
5223 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5225 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5226 (RECENT UNSEEN MESSAGES) extension.
5228 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5230 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5231 Check number of overview fields.
5233 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5235 * elmo.el (elmo-folder-confirm-appends): Changed message.
5236 (elmo-folder-confirm-appends): Ditto.
5238 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5240 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5242 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5244 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5245 of elmo-folder-update-threshold is nil, which can be set by
5246 wl-summary-update-confirm-threshold.
5248 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5250 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5251 (elmo-nmz-index-alias-alist): Ditto.
5252 (elmo-map-folder-list-message-locations): Follow the change above.
5254 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5256 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5258 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5260 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5262 * elmo-util.el (elmo-read): Ditto.
5263 (elmo-display-error): Ditto.
5265 * elmo-vars.el (elmo-date-match): Ditto.
5267 * pldap.el (ldap-coding-system): Ditto.
5269 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5270 `elmo-inhibit-number-mapping' as nil.
5272 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5274 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5275 space delimiter for list response.
5277 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5279 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5281 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5283 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5284 (elmo-map-message-fetch): Fix.
5285 * elmo-map.el (elmo-folder-status): Fix for killed.
5287 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5289 * elmo-sendlog.el: New file.
5290 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5292 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5294 * acap.el (acap-logging-out): New buffer local variable.
5295 (acap-close): Set it.
5296 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5299 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5301 * acap.el (acap-response-bye-p): New function.
5302 (acap-response-bye-message): Ditto.
5303 (acap-wait-for-response): If bye response is received, cause an error.
5304 (acap-parse-response): Make bye response when 'Bye' is received.
5306 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5308 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5310 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5312 * elmo-util.el (elmo-copy-file): Added argument
5313 `ok-if-already-exists'.
5314 (elmo-copy-file): Fixed typo.
5316 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5318 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5320 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5322 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5324 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5326 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5329 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5331 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5332 (elmo-folder-initialize): Fix for `copy'.
5333 (elmo-pipe-drain): Ditto.
5334 (elmo-folder-open-internal): Ditto.
5335 (elmo-folder-newsgroups): Fix.
5337 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5339 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5342 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5343 recent value is returned from imap folder.
5345 * elmo.el (elmo-folder-newsgroups): New generic function.
5347 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5348 (elmo-folder-initialize): Set it.
5349 (elmo-folder-expand-msgdb-path): Use it.
5350 (elmo-folder-newsgroups): Define.
5352 * elmo-filter.el (elmo-folder-newsgroups): Define.
5354 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5356 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5358 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5360 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5362 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5364 (elmo-shimbun-header-extra-field): New inline function.
5365 (elmo-shimbun-header-set-extra-field): Ditto.
5366 (elmo-shimbun-folder-header-hash-setup): Ditto.
5367 (elmo-shimbun-update-overview): Ditto.
5368 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5369 (elmo-shimbun-folder-setup): Use
5370 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5371 (elmo-shimbun-get-headers): Ditto.
5372 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5373 Insert `X-Shimbun-Id:' header if extra field is set.
5374 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5375 field's value instead of `shimbun-header-id'.
5377 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5379 (elmo-msgdb-overview-entity-set-date): Ditto.
5380 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5382 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
5384 * mmimap.el (mmimap-entity-section): Changed body node number from
5387 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5389 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5390 `elmo-folder-delete-messages'.
5392 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5393 (elmo-folder-initialize): Changed to expand alias into index path.
5395 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5396 `elmo-mime-insert-header-from-buffer' with 6th arg
5399 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5401 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5403 * elmo.el (elmo-diff-new): New inline function.
5404 (elmo-diff-unread): Ditto.
5405 (elmo-diff-all): Ditto.
5407 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5408 value from responseb.
5409 (elmo-imap4-folder-diff-plugged): Ditto.
5410 (elmo-imap4-server-diff-async): Added recent argument.
5411 (elmo-server-diff-async): Ditto.
5412 (elmo-imap4-folder-diff-plugged): Ditto.
5414 * elmo-version.el (elmo-version): Up to 2.7.6.
5416 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5418 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5421 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
5423 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5425 * elmo-imap4.el (elmo-folder-initialize): Ditto.
5427 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5429 * elmo-multi.el (elmo-folder-initialize): Ditto.
5431 * elmo-util.el (elmo-parse-token): New function.
5432 (elmo-parse-prefixed-element): Ditto.
5434 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5436 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5438 (elmo-imap4-accept-ok): Ditto.
5440 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5442 * mmimap.el (mime-imap-entity-header-string): Don't check first
5443 element of node-id is `0' (Follow last change).
5445 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5447 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5448 assigned irregular node-id to nested multipart section.
5449 (initialize-instance): Followed above change.
5451 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5453 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5454 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5455 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5456 `elmo-shimbun-get-headers');
5457 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5458 visible article on summary exists in headers).
5459 (elmo-map-message-fetch): Cause an error when folder is unplugged.
5461 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5463 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5466 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
5468 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5470 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5472 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5473 header separator into loop condition.
5475 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5477 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5478 Return duplicate folder if it has subfolder.
5480 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5482 * elmo.el (elmo-make-folder): Add folder name error check.
5484 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5485 (elmo-nntp-encode-group-string): New inline function.
5486 (elmo-nntp-decode-group-string): Ditto.
5487 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5488 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
5489 Use `not' instead of `null';
5490 Use elmo-nntp-decode-group-string.
5492 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
5494 * elmo-version.el (elmo-version): Up to 2.7.5.
5496 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5498 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
5499 Hide progress gauge if `elmo-folder-move-messages' exits
5502 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5504 * elmo-imap4.el (elmo-folder-initialize): Use
5505 `elmo-imap4-encode-folder-string' for folder name.
5507 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5509 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
5512 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5514 * elmo-util.el (elmo-progress-counter-alist): New internal
5516 (elmo-progress-counter-value): New macro.
5517 (elmo-progress-counter-all-value): Ditto.
5518 (elmo-progress-counter-format): Ditto.
5519 (elmo-progress-counter-set-value): Ditto.
5520 (elmo-progress-set): New function.
5521 (elmo-progress-clear): Ditto.
5522 (elmo-progress-notify): Ditto.
5524 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
5527 * elmo.el (elmo-generic-folder-append-messages): Call
5528 `elmo-progress-notify'.
5529 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
5531 * elmo-archive.el (elmo-folder-append-messages): Call
5532 `elmo-progress-notify'.
5534 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
5536 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
5538 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
5540 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5542 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
5544 (elmo-message-encache-dop): Added argument `read'.
5546 * elmo-shimbun.el (elmo-message-encache): Ditto.
5548 * elmo-net.el (elmo-message-encache): Ditto.
5550 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
5551 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
5552 elmo-imap4-seen-messages.
5553 (elmo-folder-msgdb-create-plugged): Initialize
5554 elmo-imap4-seen-messages;
5555 Set seen mark on elmo-imap4-seen-messages.
5557 * elmo-pipe.el (elmo-folder-message-file-p): Define.
5559 * elmo.el (elmo-generic-folder-append-messages): Check return value of
5560 elmo-folder-append-buffer.
5561 (elmo-folder-encache): Added optional argument `read'.
5562 (elmo-message-encache): Ditto.
5564 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
5566 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
5568 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
5569 if append buffer content succeds.
5571 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5573 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
5574 elmo-display-progress.
5576 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
5577 Set 4th argument of mime-display-message.
5578 (elmo-mime-display-as-is): Ditto.
5580 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
5582 * elmo-nmz.el (toplevel): Require 'mime-edit.
5583 (elmo-nmz-content-type-alist): Abolished.
5584 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
5585 content is not a message.
5586 (elmo-map-message-fetch): Changed behavior exept for message content;
5587 Detect mime-charset automatically, Use `mime-find-file-type' to detect
5588 content-type, Add From: and Subject: field.
5590 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5592 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
5593 (elmo-map-message-fetch): Add `Content-Type' field if contents is
5596 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5598 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
5599 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
5601 * elmo-archive.el (elmo-folder-writable-p): Defined.
5603 * elmo-cache.el (elmo-folder-writable-p): Ditto.
5605 * elmo-filter.el (elmo-folder-writable-p): Ditto.
5607 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
5609 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
5611 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
5613 * elmo-mark.el (elmo-folder-writable-p): Ditto.
5615 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
5617 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
5619 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
5621 * elmo-util.el (elmo-address-quote-specials): New function;
5622 Renamed from `wl-address-quote-specials'.
5624 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
5626 * elmo-version.el (elmo-version): Up to 2.7.4.
5628 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
5630 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
5632 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
5634 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
5635 both compile-time and run-time to avoid byte-compile warning.
5637 2001-09-13 Kenichi OKADA <okada@opaopa.org>
5639 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
5641 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5643 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
5645 (elmo-mime-display-as-is-internal): Use it.
5647 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
5648 if `read-passwd' is not defined.
5650 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5652 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
5654 (elmo-folder-status): Call `elmo-folder-open-internal';
5655 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
5656 (elmo-folder-close-internal): Set location-alist as nil.
5657 (elmo-folder-clear): Define.
5658 (elmo-folder-check): Don't set location-alist as nil.
5660 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
5662 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
5664 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
5665 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
5667 * mmimap.el (mime-imap-entity::requested): New slot.
5668 (mime-imap-location-fetch-entity-p): New generic function.
5669 (mime-decode-parameters): Define using `defun-maybe'.
5670 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
5671 content-type structure.
5672 (mime-entity-body): Return empty body if
5673 `mime-imap-location-fetch-entity-p' returns nil in the first request.
5675 * elmo.el (elmo-message-displaying): New variable.
5677 * elmo-mime.el (elmo-mime-message-display): Bind
5678 elmo-message-displaying as t.
5680 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
5682 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5684 * acap.el (acap-open): erase buffer before starting network process.
5685 (acap-store): Rewrite.
5687 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5689 * elmo-imap4.el (elmo-imap4-default-mailbox,
5690 elmo-imap4-default-server
5691 elmo-imap4-default-authenticate-type,
5692 elmo-imap4-default-user,
5693 elmo-imap4-default-port,
5694 elmo-imap4-default-stream-type,
5695 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
5697 * elmo-pop3.el (elmo-pop3-default-user,
5698 elmo-pop3-default-server,
5699 elmo-pop3-default-authenticate-type,
5700 elmo-pop3-default-port,
5701 elmo-pop3-default-stream-type,
5702 elmo-pop3-stream-type-alist): Ditto.
5704 * elmo-nntp.el (elmo-nntp-default-server,
5705 elmo-nntp-default-user,
5706 elmo-nntp-default-port,
5707 elmo-nntp-default-stream-type,
5708 elmo-nntp-stream-type-alist): Ditto.
5710 * elmo-vars.el: Follow changes above.
5711 (elmo-setting): New custom group; added 'elmo-setting group to
5714 * elmo-version.el (elmo-version): Up to 2.7.3.
5716 * acap.el (acap-parse-response): Don't delete process when BYE
5717 response (It causes hang-up on slow network environment).
5718 (toplevel): Added comment.
5720 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
5722 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
5724 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
5726 (acap-parse-return-metadata): Ditto.
5729 (toplevel): Fixed typo.
5731 * acap.el: New file.
5732 (acap-network-stream-open): Show "Connecting..." message.
5733 (acap-parse-response): Fixed problem for BYE untagged response.
5734 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
5735 (toplevel): Added tiny comments.
5737 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
5739 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
5740 space delimiter for uidl response.
5742 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
5744 * elmo-vars.el (elmo-use-semi): Eliminated.
5746 * elmo-util.el (elmo-string-assoc-all): New function.
5748 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5750 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
5751 property 'mime-preview-situation for `mime-preview-quit'.
5753 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5755 * elmo.el (elmo-message-fetch-with-cache-process): Call
5756 elmo-message-fetch-internal instead of causing an error when fetch
5757 strategy is 'entire but only 'section cache is available.
5759 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
5761 * elmo-version.el (elmo-version): Up to 2.7.2.
5763 * elmo.el (elmo-generic-folder-append-messages): Make
5764 fetch-strategy with `use-cache'.
5766 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
5767 (elmo-dop-queue-method-name): New macro.
5769 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5771 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
5772 unbalanced parenthesis.
5774 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
5776 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
5778 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
5780 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
5781 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
5783 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
5785 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
5788 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
5790 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
5791 (elmo-message-use-cache-p): Define.
5792 (elmo-folder-msgdb-create): Treat cache.
5794 2001-07-28 Kenichi OKADA <okada@opaopa.org>
5796 * elmo-nntp.el (elmo-network-initialize-session): Call
5797 `elmo-nntp-send-mode-reader'.
5798 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
5800 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
5802 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
5804 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
5807 * elmo-net.el (elmo-network-get-session): Set stream-type argument
5808 for `elmo-plugged-p'.
5809 (elmo-open-network-stream): Fixed stream-type argument.
5811 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
5813 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
5814 unknown archive type is specified.
5816 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
5818 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
5820 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
5821 while loading msgdb.
5823 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
5824 (elmo-folder-open-internal): Rewrite.
5826 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5828 * elmo-mime.el (elmo-mime-display-as-is-internal):
5829 Adjust buffer-multibyte status.
5831 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5833 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
5834 of elmo-condition-find-key.
5836 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
5837 (elmo-condition-in-msgdb-p): Ditto.
5838 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
5841 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5843 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
5845 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
5847 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
5848 label for elmo-display-progress.
5850 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
5852 * elmo.el (elmo-folder-clear): New method.
5853 (elmo-folder-clear): Define.
5854 (elmo-folder-synchronize): Call `elmo-folder-clear'.
5856 * elmo-shimbun.el (elmo-folder-check): Rewrite.
5857 (elmo-folder-clear): Define.
5859 * elmo-map.el (elmo-folder-clear): Define.
5861 * elmo-version.el (elmo-version): Up to 2.7.1.
5863 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
5865 * elmo.el (elmo-folder-synchronize): Return list of nil when no
5868 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
5870 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
5871 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
5873 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
5875 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
5877 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
5880 * elmo-imap4.el (elmo-folder-initialize): Use
5881 elmo-get-network-stream-type.
5883 * elmo-nntp.el (elmo-folder-initialize): Ditto.
5885 * elmo-pop3.el (elmo-folder-initialize): Ditto.
5887 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5889 * elmo.el (elmo-message-encache): Set unread argument for
5892 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
5894 * elmo.el (elmo-net-port-info): New method.
5896 * elmo-shimbun.el (elmo-net-port-info): Define.
5897 (elmo-message-encache): Ditto.
5899 * elmo-net.el (elmo-net-port-info): Define as method.
5901 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
5902 unplugged status when elmo-enable-disconnected-operation is t.
5904 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
5905 of spool folder before checking new number.
5907 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
5909 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
5910 (elmo-network-setup-session): Ditto.
5911 (elmo-message-fetch-plugged): Ditto.
5912 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
5913 (elmo-network-initialize-session): Ditto.
5914 (elmo-pop3-read-response): Abolish 3rd argument.
5915 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
5916 (elmo-pop3-read-contents): Ditto.
5917 (elmo-pop3-read-body): Ditto.
5918 (elmo-folder-status): Call elmo-folder-close.
5919 (elmo-pop3-lock): Abolish.
5920 (elmo-pop3-unlock): Ditto.
5921 (elmo-pop3-locked-p): Ditto.
5922 (elmo-folder-check): Don't call elmo-pop3-locked-p.
5924 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5926 * elmo-version.el (elmo-version): Up to 2.7.0.
5928 * elmo-pop3.el (elmo-pop3-debug): New variable.
5929 (elmo-pop3-debug-inhibit-logging): Ditto.
5930 (elmo-pop3-debug): New function.
5931 (elmo-pop3-send-command): Call elmo-pop3-debug.
5932 (elmo-pop3-read-response): Added keep-lock optional argument;
5933 Don't unlock if keep-lock is non-nil.
5934 (elmo-pop3-process-filter): Call elmo-pop3-debug.
5935 (elmo-network-authenticate-session): Bind
5936 elmo-pop3-debug-inhibit-logging as t.
5937 (elmo-network-setup-session): Call elmo-pop3-read-response with
5939 (elmo-pop3-read-msg): Ditto.
5940 (elmo-pop3-locked-p): Call elmo-pop3-debug.
5941 (elmo-pop3-read-body): Call elmo-pop3-unlock.
5942 (elmo-network-initialize-session): Call elmo-pop3-lock.
5943 (elmo-folder-close-internal): Don't clear location-alist slot.
5944 (elmo-folder-check): Clear location-alist slot.
5946 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
5948 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
5949 (elmo-pop3-send-command): Call elmo-pop3-lock.
5950 (elmo-pop3-read-response): Call elmo-pop3-unlock.
5951 (elmo-pop3-read-contents): Ditto.
5952 (elmo-pop3-lock): New function.
5953 (elmo-pop3-unlock): Ditto.
5954 (elmo-pop3-locked-p): Ditto.
5955 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
5958 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
5960 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
5962 * elmo-util.el (elmo-file-field-primitive-condition-match):
5963 New inline function (Don't fetch file content if "first" or "last").
5964 (elmo-file-field-condition-match): Use
5965 elmo-file-field-primitive-condition-match.
5967 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
5970 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
5971 (elmo-message-fetch-plugged): Fixed.
5973 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
5975 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
5977 * elmo.el (elmo-folder-move-messages): Bind
5978 elmo-inhibit-display-retrieval-progress as t while moving messages.
5980 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
5982 (elmo-inhibit-display-retrieval-progress): Ditto.
5984 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
5985 for retrieval progress;
5986 Don't display progress when total buffer size is smaller than
5987 elmo-display-retrieval-progress-threshold.
5988 (elmo-message-fetch-plugged): Don't display progress when
5989 elmo-inhibit-display-retrieval-progress is non-nil.
5991 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
5992 for retrieval progress;
5993 Don't display progress when literal size is smaller than
5994 elmo-display-retrieval-progress-threshold.
5995 (elmo-imap4-message-fetch): Don't display progress when
5996 elmo-inhibit-display-retrieval-progress is non-nil.
5998 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6000 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6001 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6002 (elmo-imap4-message-fetch): Likewise.
6004 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6005 (elmo-shimbun-index-range-alist): Ditto.
6006 (elmo-shimbun-use-entire-index): Abolish.
6007 (shimbun-mua-use-entire-index): Ditto.
6008 (elmo-shimbun-folder): Added new slot `range'.
6009 (elmo-folder-initialize): Setup slot `range'.
6011 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6013 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6014 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6015 (elmo-shimbun-get-headers): Use return value of
6016 `shimbun-article-expiration-days'.
6017 (elmo-folder-close-internal): Clean up last-check slot.
6019 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6020 (elmo-pop3-total-size): New variable.
6021 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6023 * elmo.el (elmo-folder-reserve-status-p): New method.
6025 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6026 (elmo-shimbun-use-entire-index): New user option.
6027 (shimbun-elmo-mua): New class.
6028 (shimbun-mua-search-id): Define.
6029 (shimbun-mua-use-entire-index): Ditto.
6030 (elmo-shimbun-folder:last-check): New slot.
6031 (elmo-shimbun-headers-cache-header-list): Abolish.
6032 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6033 (elmo-shimbun-headers-cache-header-hash): Ditto.
6034 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6035 (elmo-shimbun-headers-cache-last-check): Ditto.
6036 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6037 (elmo-shimbun-headers-check-p): Rewrite.
6038 (elmo-shimbun-msgdb-to-headers): New function.
6039 (elmo-shimbun-get-headers): Rewrite.
6040 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6041 (elmo-folder-open-internal): Get headers only if
6042 `elmo-shimbun-headers-check-p' is non-nil.
6043 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6045 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6046 (elmo-quit): Removed.
6048 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6050 (elmo-msgdb-overview-entity-set-extra): Ditto.
6051 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6053 * elmo-map.el (elmo-folder-status): Don't call
6054 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6057 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6059 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6060 of `elmo-msgdb-search-internal-primitive' when condition's car is
6063 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6065 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6067 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6069 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6070 call `elmo-pipe-drain'.
6072 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6074 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6075 typo. (elmo-cache-folder -> elmo-mark-folder)
6077 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6079 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6080 `elmo-message-fetch'.
6082 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6084 * elmo-net.el (elmo-message-encache): Fixed typo.
6085 (elmo-message-fetch-unplugged): Changed call
6086 `elmo-message-fetch-internal' without argument `outbuf'.
6088 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6090 * elmo.el (elmo-message-encache): Define as generic function.
6091 (elmo-message-fetch-field): New generic function.
6092 (elmo-message-fetch-with-cache-process): Cause an error when
6093 fetch strategy is 'entire but only 'section cache is available.
6094 (toplevel): Fixed nmz folder definition.
6096 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6097 (elmo-msgdb-resume-list-filename): Ditto.
6098 (elmo-queue-filename): Ditto.
6099 (elmo-enable-disconnected-operation): Changed default value to t.
6101 * elmo-util.el (elmo-cache-path-section-p): New function.
6102 (elmo-file-cache-get): Use it.
6103 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6104 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6105 (elmo-dop-queue-save): Ditto.
6107 * elmo-net.el (elmo-folder-status-unplugged): Call
6108 elmo-folder-status-dop.
6109 (elmo-folder-list-messages-unplugged): Implemented.
6110 (elmo-folder-delete-messages-unplugged): Define.
6111 (elmo-folder-msgdb-create): Define.
6112 (elmo-folder-msgdb-create-unplugged): Define.
6113 (elmo-folder-mark-as-read-unplugged): Ditto.
6114 (elmo-folder-unmark-read-unplugged): Ditto.
6115 (elmo-folder-mark-as-important-unplugged): Ditto.
6116 (elmo-folder-unmark-important-unplugged): Ditto.
6117 (elmo-message-encache): Ditto.
6119 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6120 (elmo-dop-queue-save): Ditto.
6122 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6123 `elmo-folder-msgdb-create'.
6124 (elmo-folder-append-buffer): Implemented unplugged operation.
6125 (elmo-folder-append-messages): Call parent method in unplugged status.
6126 (elmo-message-fetch-unplugged): Removed definition.
6127 (elmo-message-fetch-field): Implemented.
6129 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6130 (elmo-dop-folder): Removed variable definition.
6131 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6132 (elmo-dop-queue-flush): Implemented.
6133 (elmo-dop-queue-merge): Removed definition (TODO).
6134 (elmo-dop-spool-folder): New function.
6135 (elmo-dop-spool-folder-append-buffer): Ditto.
6136 (elmo-dop-spool-folder-list-messages): Ditto.
6137 (elmo-dop-list-deleting-messages): Ditto.
6138 (elmo-folder-append-buffer-dop): Ditto.
6139 (elmo-folder-delete-messages-dop): Ditto.
6140 (elmo-message-encache-dop): New inline function.
6141 (elmo-create-folder-dop): Ditto.
6142 (elmo-folder-mark-as-read-dop): Ditto.
6143 (elmo-folder-unmark-read-dop): Ditto.
6144 (elmo-folder-mark-as-important-dop): Ditto.
6145 (elmo-folder-unmark-important-dop): Ditto.
6146 (elmo-folder-status-dop): Fixed.
6147 (elmo-folder-append-buffer-dop-delayed): New function.
6148 (elmo-folder-delete-messages-dop-delayed): Ditto.
6149 (elmo-dop-msgdb): Ditto.
6151 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6153 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6155 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6157 * elmo.el (elmo-folder-move-messages): Fixed problem when
6158 `dst-folder' is 'null.
6160 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6162 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6163 instead of current mark.
6165 * elmo-multi.el (elmo-folder-list-importants-internal): No
6166 operation if importants is not list.
6168 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6169 Return t if importants is not list.
6171 * elmo-map.el (elmo-map-folder-list-importants): Define.
6172 (elmo-folder-list-importants-internal): Check return value of
6173 `elmo-map-folder-list-importants-internal'.
6175 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6177 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6179 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6181 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6183 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6185 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6186 (Patch is provided by <kita@coe.nttdata.co.jp>).
6188 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6190 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6193 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6195 * elmo.el (elmo-message-fetch): Define.
6196 (elmo-message-fetch-with-cache-process): New generic method.
6197 (elmo-message-fetch-internal): New generic method.
6198 (elmo-folder-synchronize):
6200 * elmo-archive.el (elmo-message-fetch-internal): Define.
6201 (elmo-message-fetch): Eliminated.
6203 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6204 (elmo-message-fetch): Eliminated.
6206 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6208 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6210 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6211 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6213 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6214 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6216 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6218 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6220 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6222 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6223 (elmo-message-fetch-unplugged): New generic method.
6224 (elmo-message-fetch-internal): Remove cache process (Renamed from
6225 `elmo-message-fetch').
6227 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6228 (elmo-message-fetch): Eliminated.
6229 (elmo-message-fetch-unplugged): Ditto.
6231 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6233 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6235 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6236 of `to-be-deleted' from number-alist to number-list.
6238 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6240 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6241 (elmo-folder-mark-as-important): Ditto.
6243 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6245 * elmo.el (elmo-folder): Added process-duplicates slot.
6247 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6248 (elmo-folder-unmark-read): Ditto.
6249 (elmo-folder-unmark-important): Ditto.
6250 (elmo-folder-mark-as-important): Ditto.
6252 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6253 duplicated message processing.
6255 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6257 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6259 * elmo-util.el (elmo-list-subdirectories-1): New function.
6260 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6261 (elmo-mapcar-list-of-list): New function.
6263 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6264 `elmo-mapcar-list-of-list' instead of `mapcar'.
6266 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6268 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6269 `elmo-have-link-count'. Return the fully qualified folder name.
6271 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6273 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6274 (elmo-shimbun-headers-cache): New internal variable.
6275 (elmo-shimbun-headers-cache-header-list): New inline function.
6276 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6277 (elmo-shimbun-headers-cache-header-hash): Ditto.
6278 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6279 (elmo-shimbun-headers-cache-last-check): Ditto.
6280 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6281 (elmo-shimbun-lapse-seconds): Ditto.
6282 (elmo-shimbun-headers-cache-check-p): Ditto.
6283 (elmo-shimbun-get-headers): New function.
6284 (elmo-folder-open-internal): Call it.
6285 (elmo-quit): Define (Clear headers-cache).
6287 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6289 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6291 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6292 (elmo-msgdb-flist-save): Ditto.
6294 * elmo-shimbun.el (elmo-folder-list-subfolders):
6295 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6296 (elmo-folder-exists-p): Ditto.
6298 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6299 argument for `shimbun-header-insert'.
6301 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6303 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6306 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6307 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6309 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6311 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6312 (elmo-folder-plugged-p): Define.
6313 (elmo-folder-set-plugged): Ditto.
6314 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6315 (elmo-folder-list-messages-internal): Return t if unplugged.
6316 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6318 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6319 when elmo-folder-list-messages-internal method of children returns t.
6321 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6323 (elmo-folder-open-internal): Don't update if unplugged status.
6325 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6327 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6330 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6332 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6334 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6337 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6339 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6341 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6342 (elmo-folder-open-internal): Set up headers slot.
6343 (elmo-folder-check): Call elmo-folder-close-internal and
6344 elmo-folder-open-internal.
6345 (elmo-folder-close-internal): Clean up headers slot.
6347 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6349 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6350 exactly folder list.
6351 (elmo-folder-append-messages): Fixed append archive with prefix.
6353 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6354 make temp files with start-number.
6356 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6358 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6360 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6361 argument `visible-only'.
6362 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6365 * elmo-pop3.el (elmo-folder-open-internal): Check
6366 `elmo-inhibit-number-mapping' is non-nil.
6368 * elmo-pipe.el (elmo-folder-status): Fixed.
6370 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
6372 * elmo.el (elmo-dop-queue-flush): Added autload setting.
6374 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6375 (elmo-folder-open-internal): Setup `header-hash' slot.
6376 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6378 (elmo-map-message-fetch): Ditto.
6380 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
6382 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6383 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6384 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6385 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6387 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6389 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6391 * sb-airs.el: Added footer.
6393 * shimbun.el (shimbun-article): Define as luna-method.
6395 * sb-tcup.el: New file.
6397 * sb-airs.el (toplevel): Require 'sb-mhonarc.
6398 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6400 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
6402 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6403 (shimbun-get-headers): Ditto.
6405 * elmo.el: Moved obsolete variable definitions from
6406 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6408 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6411 * shimbun.el: New file.
6413 * elmo-shimbun.el: New file.
6415 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6416 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6417 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6418 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6420 2001-03-27 Kenichi OKADA <okada@opaopa.org>
6422 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6425 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
6427 * elmo.el (elmo-folder-msgdb): Define as macro.
6428 (elmo-folder-open): Added argument `load-msgdb'.
6429 (elmo-generic-folder-open): Ditto.
6430 (elmo-folder-encache): New function.
6432 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6434 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6436 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6437 Eliminated argument FOLDER and added argument MSGDB.
6438 (elmo-dop-queue-load): Moved from elmo-dop.el.
6439 (elmo-dop-queue-save): Ditto.
6441 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6443 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6445 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6446 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6447 (elmo-filter-folder-list-importants-internal): Ditto.
6449 * elmo-map.el (elmo-folder-pack-number): Ditto.
6451 * elmo-mime.el (elmo-mime-message-display): Ditto.
6453 * elmo.el (elmo-generic-folder-commit): Ditto.
6454 (elmo-folder-list-unreads): Ditto.
6455 (elmo-folder-list-importants): Ditto.
6456 (elmo-generic-folder-commit): Ditto.
6457 (elmo-message-set-mark): Ditto.
6458 (elmo-generic-folder-append-msgdb): Ditto.
6459 (elmo-folder-synchronize): Ditto.
6460 (elmo-folder-messages): Ditto.
6461 (elmo-init): Call elmo-dop-queue-load.
6462 (elmo-folder-list-messages): Ditto.
6464 * elmo-nntp.el (elmo-folder-update-number): Ditto.
6465 (elmo-nntp-folder-process-crosspost): Ditto.
6466 (elmo-folder-list-unreads-internal): Ditto.
6468 * elmo-dop.el: Removed old functions.
6470 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
6472 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6473 `folder' to `msgdb'.
6475 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
6477 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6478 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6480 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6483 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
6485 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6488 * mmimap.el (toplevel): Require 'mime-parse and 'static.
6489 (mmimap-parse-parameters-from-list): Define as alias for
6490 `mime-decode-parameter-plist' if it is defined as function.
6491 (mmimap-make-mime-entity): Added argument `number'.
6492 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
6494 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
6496 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
6498 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
6500 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
6502 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
6504 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
6506 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
6507 when elmo-imap4-default-authenticate-type is nil.
6508 (elmo-folder-list-subfolders): Ditto
6509 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
6510 (elmo-imap4-fetch-callback-1-subr): Renamed from
6511 `elmo-imap4-fetch-callback-1' and define as inline function.
6512 (elmo-imap4-fetch-callback-1):
6513 Renamed from `elmo-imap4-fetch-callback'.
6514 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
6516 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
6517 msgdb path (To keep compatibility with main trunk).
6519 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
6521 * elmo-util.el (elmo-make-file-cache): Moved position of
6524 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
6525 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
6526 instead of `elmo-pop3-inhibit-uidl'.
6527 (elmo-folder-exists-p): Ditto.
6528 (elmo-pop3-folder-list-messages): Ditto.
6530 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
6531 instead of `elmo-pop3-inhibit-uidl'.
6532 (elmo-folder-status): Ditto.
6534 * elmo-dop.el (elmo-dop-folder): New variable.
6535 (elmo-dop-lock-message): Eliminated.
6536 (elmo-dop-unlock-message): Ditto.
6537 (elmo-dop-lock-list-load): Ditto.
6538 (elmo-dop-lock-list-save): Ditto.
6539 (elmo-dop-delete-folder): Ditto.
6540 (elmo-dop-rename-folder): Ditto.
6542 * elmo.el: Removed incomplete commentary.
6544 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
6546 * elmo.el (toplevel): Require 'elmo-version first;
6547 for little `recursive-load-depth' settings.
6548 Fix "ends here" comment.
6550 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
6552 * elmo-util.el (toplevel): Require 'poem;
6553 Some functions are moved from elmo-cache.el.
6555 * elmo-net.el (toplevel): Require 'elmo-cache.
6557 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
6559 * elmo.el (toplevel): Ditto.
6561 * elmo-cache.el: Rewrite with luna;
6562 Some functions are moved to elmo-util.el.
6564 * elmo-internal.el (elmo-internal-folder-list): New variable.
6565 (elmo-internal-folder-initialize): Rewrite.
6566 (elmo-folder-list-subfolders): Ditto.
6568 * elmo-cache.el (elmo-cache-search-all): Eliminated.
6569 (elmo-cache-collect-sub-directories): Ditto.
6571 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
6573 * elmo-version.el (elmo-version): Up to 2.5.8.
6575 * elmo.el (elmo-folder-list-messages-mark-match): New function.
6577 * elmo-util.el (elmo-list-insert): New function.
6579 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
6581 * elmo.el (elmo-init): New function.
6582 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
6584 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
6585 (Renamed from `elmo-localdir-header-chop-length').
6587 * elmo-pop3.el (elmo-pop3-use-cache,
6588 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
6590 * elmo-nntp.el (elmo-message-fetch): Define.
6591 (elmo-message-fetch-unplugged): Ditto.
6592 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
6593 (elmo-nntp-use-cache): Ditto.
6594 (elmo-nntp-max-number-precedes-list-active): Ditto.
6596 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
6598 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
6599 `elmo-msgdb-insert-file-header'.
6600 Use `elmo-msgdb-file-header-chop-length'.
6602 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
6605 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
6606 (elmo-cache-msgdb-create-overview-entity-from-file): Use
6607 `elmo-msgdb-insert-file-header'.
6609 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
6611 Define obsolete variables with `elmo-define-obsolete-variable',
6613 * elmo-util.el (elmo-warning-buffer-name): New constant.
6614 (elmo-warning): New function.
6615 (elmo-obsolete-variable-alist): New variable.
6616 (elmo-obsolete-variable-show-warnings): New variable.
6617 (elmo-define-obsolete-variable): New function.
6618 (elmo-resque-obsolete-variable): Ditto.
6619 (elmo-resque-obsolete-variables): Ditto.
6621 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6623 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
6626 * elmo-pop3.el, elmo-nntp.el: Use custom.
6628 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6630 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
6631 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
6633 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6635 * Luna-fy Kenichi OKADA's following changes.
6636 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
6638 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
6640 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
6642 * elmo-util.el (elmo-display-progress): Prefer
6643 `progress-feedback-with-label' to `lprogress-display'.
6645 2000-02-20 Kenichi OKADA <okada@opaopa.org>
6647 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
6649 2000-02-19 Kenichi OKADA <okada@opaopa.org>
6651 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
6652 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
6653 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
6654 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
6655 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
6656 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
6657 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6658 * elmo-filter.el (elmo-filter-list-folder): Ditto.
6659 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6660 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
6661 * elmo-multi.el (elmo-multi-list-folder): Ditto.
6662 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6663 * elmo-dop.el (elmo-dop-list-folder): Ditto.
6665 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6667 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
6668 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
6670 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
6672 * elmo.el (elmo-folder-process-crosspost): New generic method.
6673 (elmo-folder-writable-p): Ditto.
6674 (elmo-folder-message-appendable-p): Eliminated.
6675 (elmo-generic-folder-append-msgdb): Rewrite.
6676 (elmo-newsgroups-hashtb): New internal variable.
6677 (elmo-crosspost-message-set): Eliminated.
6678 (elmo-crosspost-message-delete): Ditto.
6679 (elmo-setup-subscribed-newsgroups): New function.
6680 (elmo-crosspost-message-alist-modified): New internal variable.
6681 (elmo-crosspost-message-alist-load): New function (Renamed from
6682 `wl-crosspost-alist-load').
6683 (elmo-crosspost-message-alist-save): Ditto (Renamed from
6684 `wl-crosspost-alist-save').
6686 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
6688 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
6690 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
6691 elmo-newsgroups-hashtb).
6692 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
6693 `elmo-nntp-folder-update-crosspost-message-alist'.
6694 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
6695 `elmo-nntp-groups-hashtb'.
6696 (elmo-nntp-make-groups-hashtb): Eliminated.
6697 (elmo-nntp-parse-newsgroups): New function (Renamed from
6698 `wl-parse-newsgroups').
6699 (elmo-folder-creatable-p, elmo-folder-writable-p,
6700 elmo-folder-close-internal, elmo-folder-mark-as-read,
6701 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
6703 (elmo-nntp-folder-update-crosspost-message-alist): New function.
6705 * elmo-net.el (elmo-message-fetch): Check buffer size.
6707 * elmo-multi.el (elmo-multi-split-number-alist): New function.
6709 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
6711 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
6712 before `close' command.
6714 * elmo.el (elmo-folder-list-unreads-internal): Added argument
6715 `mark-alist' (All other related portions are changed).
6717 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
6719 * elmo-util.el (elmo-create-hash-size): Eliminated.
6720 (elmo-make-hash) Make a hash with `one less than a power of two'
6723 * elmo-vars.el (elmo-hash-minimum-size): New variable.
6724 (elmo-hash-maximum-size): Changed value.
6726 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
6728 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
6729 (elmo-mime-message-display-as-is): Ditto.
6731 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
6733 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
6734 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
6736 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
6738 * elmo-mark.el: New file.
6740 * elmo-internal.el: Rewrite (Almost empty).
6742 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
6744 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
6745 (mime-imap-entity-header-string): Ditto.
6746 (mmimap-entity-section): Rewrite.
6748 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
6750 * elmo-nmz.el: New file.
6752 * elmo-pipe.el: Rewrite with luna.
6754 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
6756 * elmo-archive.el: Rewrite with luna.
6758 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
6759 (elmo-folder-list-importants-internal): Ditto.
6761 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
6763 * elmo-archive.el (elmo-archive-version): Abolish.
6764 (toplevel) Removed `boso' comment.
6766 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
6768 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
6769 elmo-msgdb-add-msgs-to-seen-list-subr;
6770 Changed argument seen-marks to unread-marks.
6772 * elmo-nntp.el: Rewrite with luna.
6774 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
6776 * elmo-filter.el: Rewrite with luna.
6778 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6780 * elmo-pop3.el: Rewrite with luna.
6782 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
6784 * elmo-multi.el: Rewrite with luna.
6786 * elmo-vars.el (elmo-use-killed-list): Abolish.
6787 All other related portions are changed.
6788 (elmo-filename-replace-string-alist): Renamed from
6789 elmo-msgid-replace-string-alist.
6791 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
6793 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
6795 * elmo-map.el: New file.
6796 * elmo-maildir.el: Rewrite with luna.
6798 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
6800 * elmo.el: Changed meaning of `elmo-folder-commit'.
6801 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
6803 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
6805 * elmo.el (elmo-folder-append-buffer): New function.
6806 (Renamed from `elmo-append-msg')
6808 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
6810 * elmo-mime.el: New file.
6812 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6814 * elmo-cache.el: Rewrite.
6816 2000-02-17 Kenichi OKADA <okada@opaopa.org>
6818 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
6820 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6822 * elmo-vars.el (elmo): New group.
6823 (elmo-strict-diff-folder-regexp): New variable.
6825 * elmo-util.el (elmo-call-func): Abolish.
6826 (elmo-folder-get-type): Ditto.
6827 (elmo-*-get-spec): Ditto.
6828 (elmo-*-spec-*): Ditto.
6829 (elmo-imap4-identical-name-space-p): Ditto.
6830 (elmo-folder-identical-system-p): Ditto.
6831 (elmo-folder-direct-copy-alist): Ditto.
6832 (elmo-folder-direct-copy-p): Ditto.
6834 * elmo-pipe.el (elmo-pipe-folder): New luna class.
6835 (elmo-folder-initialize): Define.
6836 (elmo-folder-get-primitive-list): Ditto.
6838 * elmo-nntp.el (elmo-nntp-folder): New luna class.
6839 (elmo-folder-initialize): Define.
6840 Renamed `elmo-network-session-host-internal' to
6841 `elmo-network-session-server-internal'.
6843 * elmo-multi.el (elmo-multi-folder): New luna class.
6844 (elmo-folder-initialize): Define.
6845 (elmo-folder-get-primitive-list): Ditto.
6846 (elmo-folder-contains-type): Ditto.
6847 (elmo-message-use-cache-p): Ditto.
6849 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
6850 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
6852 * elmo-maildir.el (elmo-maildir-folder): New luna class.
6853 (elmo-folder-initialize): Define.
6855 * elmo-filter.el (elmo-filter-folder): New luna class.
6856 (elmo-folder-initialize): Define.
6857 (elmo-folder-get-primitive-list): Ditto.
6858 (elmo-folder-contains-type): Ditto.
6860 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6862 * elmo-imap4.el: Rewrite with luna.
6864 * mmimap.el: New file.
6866 * mmelmo.el, mmelmo-imap4.el: Removed.
6868 * elmo-net.el: Ditto.
6870 * elmo-pop3.el (elmo-pop3-folder): New luna class.
6871 (elmo-folder-initialize): Define.
6873 * elmo-archive.el (elmo-archive-folder): New luna class.
6874 (elmo-folder-initialize): Define.
6876 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
6877 `elmo-folder-msgdb-path'.
6878 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
6881 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
6883 * elmo.el: New file.
6885 * elmo2.el: Renamed to elmo.el.
6888 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
6890 * elmo-cache.el (elmo-cache-expire-by-size): Count
6891 a disk usage for a cache file entry in KB even when
6892 its kind is a directory.
6894 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
6896 * elmo-version.el (elmo-version): Up to 2.5.7.
6898 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
6900 * elmo-version.el (elmo-version): Up to 2.5.6.
6902 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
6904 * elmo-version.el (elmo-version): Up to 2.5.5.
6906 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
6908 * elmo-imap4.el (elmo-network-authenticate-session):
6909 Fixed a logic for response checking.
6911 2000-12-15 Daiki Ueno <ueno@unixuser.org>
6913 * elmo-net.el: Add autoload settings for `starttls-negotiate',
6914 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
6915 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
6918 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
6919 for `starttls-open-stream' and `starttls-negotiate'.
6921 * elmo-nntp.el: Remove autoload settings for
6922 `starttls-open-stream' and `starttls-negotiate'.
6924 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
6925 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
6926 `luna-define-class' with `eval-and-compile'.
6928 2000-12-01 Kenichi OKADA <okada@opaopa.org>
6930 * elmo-util.el (elmo-read-search-condition-internal):
6931 Require an element of table for searching field.
6933 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6935 * elmo-version.el (elmo-version): Up to 2.5.4.
6937 2000-11-26 Kenichi OKADA <okada@opaopa.org>
6939 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
6941 2000-11-24 Kenichi OKADA <okada@opaopa.org>
6943 * elmo-nntp.el (elmo-network-initialize-session): omitted.
6945 2000-11-22 Kenichi OKADA <okada@opaopa.org>
6947 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
6950 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6952 * elmo-imap4.el (elmo-imap4-delete-folder):
6953 Send "close" before "delete" (Use commented out line).
6954 (elmo-imap4-rename-folder): Ditto.
6956 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
6957 folder string itself.
6958 (elmo-dop-list-deleted): New function.
6959 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
6962 * elmo-util.el (elmo-string-rassoc-all): New function.
6964 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
6966 * elmo-version.el (elmo-version): Up to 2.5.3.
6968 * elmo-net.el (elmo-network-get-session): Changed logic for
6969 checking process status.
6971 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
6973 Changed logic for checking process status.
6975 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
6977 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
6979 (elmo-network-setup-session): Set UIDL hash size according to
6980 the length of list response.
6981 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
6982 according to the length of list response;
6983 Return the length of list response.
6984 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
6986 2000-11-21 Kenichi OKADA <okada@opaopa.org>
6988 * elmo-imap4.el (toplevel): Require 'ssl.
6989 Add autoload 'starttls.
6990 * elmo-pop3.el (toplevel): Ditto.
6991 * elmo-nntp.el (toplevel): Ditto.
6993 2000-11-20 Kenichi OKADA <okada@opaopa.org>
6995 * elmo-imap4.el (toplevel): defun at compile time.
6996 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
6997 sasl-next-step, sasl-step-data, sasl-step-set-data.
6998 * elmo-pop3.el (toplevel): Ditto.
7000 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7002 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7004 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7006 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7008 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7009 and `elmo-pop-auth-apop'.
7011 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7013 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7015 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7017 * elmo-pop3.el (elmo-network-authenticate-session): Split
7018 encoded response value.
7020 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7022 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7023 `elmo-pop3-force-login'.
7024 Redefine `sasl-mechanisms'.
7025 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7027 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7029 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7030 Delete `elmo-imap4-authenticator-alist'.
7031 (elmo-imap4-auth-cram-md5): Delete.
7032 (elmo-imap4-auth-digest-md5): Delete.
7034 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7036 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7037 (elmo-pop3-auth-scram-md5): Ditto.
7038 (elmo-pop3-auth-cram-md5): Ditto.
7040 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7042 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7043 Delete `elmo-pop3-authenticator-alist'.
7045 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7047 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7049 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7051 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7053 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7055 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7057 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7058 Fixed problem when `elmo-pop3-use-uidl' is nil.
7059 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7061 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7063 * elmo-version.el (elmo-version): Up to 2.5.2.
7065 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7067 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7069 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7070 (elmo-pop3-msgdb-create-as-numlist): Use it.
7072 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7073 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7075 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7076 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7078 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7080 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7081 when elmo-mark-as-read is called with second argument nil.
7083 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7085 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7086 Moved to elmo-util.el.
7088 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7089 Moved from elmo-pipe.el
7091 * elmo-archive.el (elmo-archive-call-process): Enclose with
7094 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7095 "RFC822" (because RFC822.PEEK is obsolete).
7096 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7098 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7100 * elmo-archive.el (elmo-archive-call-process): Don't check for
7101 the exit status when Nemacs is running.
7103 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7105 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7108 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7109 (elmo-pop3-get-spec): Set default of auth to 'user.
7111 * elmo-imap4.el (elmo-imap4-session-check):
7112 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7113 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7114 (elmo-imap4-auth-login): New function; Revival.
7115 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7116 `elmo-imap4-auth-login'.
7118 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7120 * elmo2.el (toplevel): Move `product-provide' declare.
7121 * mmelmo.el (toplevel): Ditto.
7123 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7125 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7127 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7129 * elmo-util.el (elmo-folder-get-store-type): New function.
7130 (elmo-folder-direct-copy-p): Use it.
7132 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7134 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7135 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7136 and result of `elmo-imap4-use-flag-p'.
7137 (elmo-imap4-fetch-callback-1): Set mark according to
7138 the result of `elmo-imap4-use-flag-p'.
7140 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7142 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7143 (elmo-generic-list-folder-unread): Ditto.
7144 (elmo-folder-get-info): Ditto.
7145 (elmo-folder-set-info-max-by-numdb): Ditto.
7146 (elmo-folder-get-info-max): Ditto.
7147 (elmo-folder-get-info-length): Ditto.
7148 (elmo-folder-get-info-unread): Ditto.
7149 (elmo-folder-info-make-hashtb): Ditto.
7151 * elmo2.el: Removed above functions.
7153 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7155 * elmo-imap4.el (toplevel): Require 'ssl.
7156 Add autoload 'starttls.
7157 * elmo-pop3.el (toplevel): Ditto.
7158 * elmo-nntp.el (toplevel): Ditto.
7160 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7162 * elmo-imap4.el (toplevel): defun at compile time.
7163 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7164 sasl-next-step, sasl-step-data, sasl-step-set-data.
7165 * elmo-pop3.el (toplevel): Ditto.
7167 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7169 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7171 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7173 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7175 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7176 and `elmo-pop-auth-apop'.
7178 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7180 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7182 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7184 * elmo-pop3.el (elmo-network-authenticate-session): Split
7185 encoded response value.
7187 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7189 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7190 `elmo-pop3-force-login'.
7191 Redefine `sasl-mechanisms'.
7192 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7194 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7196 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7197 Delete `elmo-imap4-authenticator-alist'.
7198 (elmo-imap4-auth-cram-md5): Delete.
7199 (elmo-imap4-auth-digest-md5): Delete.
7201 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7203 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7204 (elmo-pop3-auth-scram-md5): Ditto.
7205 (elmo-pop3-auth-cram-md5): Ditto.
7207 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7209 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7210 Delete `elmo-pop3-authenticator-alist'.
7212 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7214 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7216 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7219 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7221 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7223 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7225 * elmo-nntp.el (elmo-nntp-get-folders-info):
7226 Fixed problem when '\' character is contained in user-id.
7227 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7230 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7232 * elmo-imap4.el (elmo-imap4-delete-folder):
7233 Send "close" before "delete" (Use commented out line).
7234 (elmo-imap4-rename-folder): Ditto.
7236 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7237 folder string itself.
7238 (elmo-dop-list-deleted): New function.
7239 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7242 * elmo-util.el (elmo-string-rassoc-all): New function.
7244 * elmo-version.el (elmo-version): Up to 2.5.1.
7246 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7248 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7250 * elmo-internal.el (elmo-internal-search): Fix last change.
7252 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7254 * elmo-internal.el (elmo-internal-search): Rewrite.
7255 (Fixed problem which is pointed out by Akihiro MOTOKI
7256 <motoki@da.jp.nec.com>)
7258 * elmo-version.el (elmo-version): Up to 2.5.0.
7260 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7262 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7264 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7266 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7267 non-nil, make hierarchy.
7269 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7271 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7272 `elmo-pop3-use-uidl' must be bound to nil.
7273 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7275 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7277 * elmo-util.el (elmo-copy-file): Don't cause an error after
7278 `add-name-to-file' failed.
7280 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7281 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7283 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7285 * elmo-version.el (elmo-version): Up to 2.3.93.
7287 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7289 * elmo-util.el (elmo-flatten): New function.
7291 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7293 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7295 * elmo-cache.el (toplevel): Ditto.
7296 * elmo-database.el (toplevel): Ditto.
7297 * elmo-date.el (toplevel): Ditto.
7298 * elmo-dop.el (toplevel): Ditto.
7299 * elmo-filter.el (toplevel): Ditto.
7300 * elmo-imap4.el (toplevel): Ditto.
7301 * elmo-internal.el (toplevel): Ditto.
7302 * elmo-localdir.el (toplevel): Ditto.
7303 * elmo-localnews.el (toplevel): Ditto.
7304 * elmo-maildir.el (toplevel): Ditto.
7305 * elmo-msgdb.el (toplevel): Ditto.
7306 * elmo-multi.el (toplevel): Ditto.
7307 * elmo-net.el (toplevel): Ditto.
7308 * elmo-nntp.el (toplevel): Ditto.
7309 * elmo-pipe.el (toplevel): Ditto.
7310 * elmo-pop3.el (toplevel): Ditto.
7311 * elmo-util.el (toplevel): Ditto.
7312 * elmo-vars.el (toplevel): Ditto.
7313 * elmo2.el (toplevel): Ditto.
7314 * mmelmo-imap4.el (toplevel): Ditto.
7315 * mmelmo.el (toplevel): Ditto.
7317 * elmo-version.el (elmo-version): Move to top.
7319 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7320 * elmo-imap4.el (toplevel): Ditto.
7321 * elmo-localdir.el (toplevel): Ditto.
7322 * elmo-msgdb.el (toplevel): Ditto.
7323 * elmo-nntp.el (toplevel): Ditto.
7324 * elmo-pop3.el (toplevel): Ditto.
7325 * elmo-version.el (toplevel): Ditto.
7327 * elmo-localnews.el (toplevel): Added Keyword header.
7329 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7331 * elmo-version.el (product-version-as-string): Defined using
7335 * elmo-localdir.el (toplevel): Updated copyright notice.
7336 * elmo-version.el (toplevel): Ditto.
7337 * elmo-msgdb.el (toplevel): Ditto.
7338 * elmo-imap4.el (toplevel): Ditto.
7339 * elmo-nntp.el (toplevel): Ditto.
7340 * elmo-pop3.el (toplevel): Ditto.
7342 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7344 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7347 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7348 parameter value (It sometimes contains raw kanji).
7350 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7352 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7353 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7355 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7357 * elmo-imap4.el (elmo-network-initialize-session): Fix.
7359 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7361 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7362 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7364 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
7366 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7367 value if selecting folder succceeded.
7368 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7370 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
7372 * elmo-util.el (elmo-make-directory): Fixed permission lateral
7375 * elmo-util.el (elmo-string-matched-member): New function.
7377 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
7379 * elmo-util.el (elmo-unintern): New macro.
7380 (elmo-number-set-member): Fixed docstring.
7382 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7385 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
7387 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7388 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7390 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
7392 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7395 Return non-nil if selecting folder succeeded.
7396 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7398 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
7400 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7401 `file-name-completion' returns t.
7402 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7403 (elmo-maildir-set-mark): Put `info' part to the files in the cur
7404 directory if it does not exist.
7405 (elmo-maildir-update-current): Use `while' instead of `mapcar'
7408 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
7410 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7411 enclosure (It's harmful in unplugged status).
7413 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7415 * mmelmo-1.el: Removed.
7417 * mmelmo-2.el: Ditto.
7419 * mmelmo-imap4-1.el: Ditto.
7421 * mmelmo-imap4-2.el: Ditto.
7423 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7425 * mmelmo.el: Merged mmelmo-2.el.
7427 * elmo-version.el (elmo-version): Up to 2.3.92.
7429 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7431 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7432 elmo-update-number): Remove last period in "...done." message.
7433 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7435 * elmo-cache.el (elmo-cache-expire-by-size,
7436 elmo-cache-get-sorted-cache-file-list,
7437 elmo-cache-msgdb-create-as-numlist): Ditto.
7438 * elmo-dop.el (elmo-dop-save-pending-messages,
7439 (elmo-dop-flush-pending-append-operations): Ditto.
7440 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7441 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7442 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7443 (elmo-localdir-pack-number): Ditto.
7444 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7445 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7446 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7447 mime-write-entity-content): Ditto.
7448 * pldap.el (ldap-search-basic): Ditto.
7450 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
7452 * elmo-version.el (elmo-version): Up to 2.3.91.
7454 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7455 Only when filter is 'last'.
7457 * elmo-util.el (elmo-condition-atom-regexp): New constant.
7458 (elmo-condition-parse-search-value): Use it.
7459 (elmo-read-search-condition-internal): Quote value only when
7462 2000-10-18 Kenichi OKADA <okada@opaopa.org>
7464 * elmo2.el (elmo-generic-folder-diff): Fix.
7466 2000-10-17 Kenichi OKADA <okada@opaopa.org>
7468 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7469 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7470 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7471 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7472 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7473 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7475 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
7477 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7480 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
7482 * elmo-version.el (elmo-version): Up to 2.3.90.
7484 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7485 (elmo-imap4-list-folder-important): Ditto.
7487 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7489 * elmo-nntp.el (elmo-network-initialize-session): Fix.
7491 2000-10-16 Kenichi OKADA <okada@opaopa.org>
7493 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
7495 2000-10-15 Kenichi OKADA <okada@opaopa.org>
7497 * elmo-nntp.el (elmo-network-initialize-session):
7498 Add starttls negotiation.
7500 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7502 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
7504 (elmo-network-setup-session): Define.
7505 Call `elmo-nntp-send-mode-reader' when session opened.
7507 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7509 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
7511 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
7513 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
7514 an invalid SPACE character ahead of `SEARCH' command. Move
7515 a valid SPACE character following `SEARCH' from conditional
7516 `format' arguments to control-strings.
7518 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
7520 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
7523 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
7525 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
7527 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
7528 `w32-get-true-file-link-count' as t.
7530 * elmo-imap4.el (elmo-imap4-read): Abolished.
7531 (Renamed to `elmo-read' and moved to elmo-util.el)
7532 All other related portions are changed.
7534 * elmo-util.el (elmo-read): New function.
7535 (elmo-condition-parse-search-value): Use it.
7537 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
7539 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
7541 * elmo-nntp.el (elmo-nntp-session): Define.
7542 (elmo-nntp-setting): Abolished.
7543 All other related portions are changed.
7544 (elmo-nntp-get-server-command): Changed argument.
7545 (elmo-nntp-set-server-command): Ditto.
7546 (elmo-nntp-xover-p): Ditto.
7547 (elmo-nntp-set-xover): Ditto.
7548 (elmo-nntp-listgroup-p): Ditto.
7549 (elmo-nntp-set-listgroup): Ditto.
7550 (elmo-nntp-list-active-p): Ditto.
7551 (elmo-nntp-set-list-active): Ditto.
7552 (elmo-nntp-xhdr-p): Ditto.
7553 (elmo-nntp-set-xhdr): Ditto.
7554 (elmo-nntp-flush-connection): Abolished.
7555 (elmo-nntp-get-connection): Abolished.
7556 (elmo-nntp-get-session): New function.
7557 (elmo-network-initialize-session): Defined.
7558 (elmo-network-authenticate-session): Ditto.
7559 (elmo-nntp-send-mode-reader): Changed argument.
7560 (elmo-nntp-send-command): Changed argument.
7561 All other related portions are changed.
7562 (elmo-nntp-read-response): Ditto.
7563 (elmo-nntp-read-raw-response): Ditto.
7564 (elmo-nntp-read-contents): Ditto.
7565 (elmo-nntp-read-body): Ditto.
7566 (elmo-nntp-goto-folder): Abolished.
7567 (elmo-nntp-select-group): New function.
7568 All other related portions are changed.
7569 (This function substitutes `elmo-nntp-goto-folder')
7570 (elmo-nntp-msgdb-create-by-header): Rewrite.
7571 (elmo-nntp-get-overview): Eliminated.
7572 (elmo-nntp-get-message): Ditto.
7573 (elmo-nntp-open-connection) Abolished.
7574 (elmo-nntp-read-msg): Rewrite.
7575 (elmo-nntp-post): Ditto.
7576 (elmo-nntp-send-data): Abolished.
7577 (elmo-nntp-send-buffer): New function.
7578 (elmo-nntp-send-data-line): Define as inline function.
7579 (elmo-nntp-get-folders-info-prepare): Use session as key.
7580 (elmo-nntp-groups-read-response): Changed argument.
7581 (elmo-nntp-retrieve-headers): Ditto.
7582 (elmo-nntp-msgdb-create-message): Ditto.
7584 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
7585 when searching by 'since' or 'before'.
7587 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
7589 * elmo-version.el (toplevel): Use product-version-as-string for set
7590 verstion-string, if defined.
7592 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
7594 * elmo-util.el: Doc fixes.
7596 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7598 * elmo-archive.el (toplevel): Use product-provide.
7599 * elmo-cache.el (toplevel): Ditto.
7600 * elmo-database.el (toplevel): Ditto.
7601 * elmo-date.el (toplevel): Ditto.
7602 * elmo-dop.el (toplevel): Ditto.
7603 * elmo-filter.el (toplevel): Ditto.
7604 * elmo-imap4.el (toplevel): Ditto.
7605 * elmo-internal.el (toplevel): Ditto.
7606 * elmo-localdir.el (toplevel): Ditto.
7607 * elmo-localnews.el (toplevel): Ditto.
7608 * elmo-maildir.el (toplevel): Ditto.
7609 * elmo-msgdb.el (toplevel): Ditto.
7610 * elmo-multi.el (toplevel): Ditto.
7611 * elmo-net.el (toplevel): Ditto.
7612 * elmo-nntp.el (toplevel): Ditto.
7613 * elmo-pipe.el (toplevel): Ditto.
7614 * elmo-pop3.el (toplevel): Ditto.
7615 * elmo-util.el (toplevel): Ditto.
7616 * elmo-vars.el (toplevel): Ditto.
7617 * elmo2.el (toplevel): Ditto.
7618 * mmelmo-1.el (toplevel): Ditto.
7619 * mmelmo-2.el (toplevel): Ditto.
7620 * mmelmo-imap4-1.el (toplevel): Ditto.
7621 * mmelmo-imap4-2.el (toplevel): Ditto.
7622 * mmelmo-imap4.el (toplevel): Ditto.
7623 * mmelmo.el (toplevel): Ditto.
7625 2000-10-10 Kenichi OKADA <okada@opaopa.org>
7627 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
7628 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
7630 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
7632 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
7634 (elmo-multi-split-number-alist): Ditto.
7636 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
7638 * elmo-version.el: New file. Use product.el.
7639 * elmo2.el: Add (require 'elmo-version).
7640 * elmo-vars.el (elmo-appname, elmo-version): Move to
7643 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
7645 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
7646 `elmo-msgdb-expand-path'.
7647 (elmo-msgdb-load): Ditto.
7648 Abolished 2nd argument. If 1st argument is not string, treat as spec.
7649 (elmo-generic-list-folder-unread): Rewrite.
7650 (elmo-generic-list-folder-important): Changed argument.
7651 (elmo-list-folder-unread): Ditto.
7652 (elmo-list-folder-important): Ditto.
7653 (elmo-folder-diff): Rewrite.
7654 (elmo-generic-folder-diff): New function.
7655 (elmo-multi-get-number-alist-list): Abolished
7656 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
7657 (elmo-multi-folder-diff): Moved to elmo-multi.el
7658 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
7660 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
7661 `elmo-msgdb-expand-path'.
7662 (elmo-pop3-msgdb-create-as-numlist): Ditto.
7663 (elmo-pop3-read-msg): Ditto.
7664 (elmo-pop3-delete-msgs): Ditto.
7665 (elmo-pop3-folder-diff): New alias.
7667 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
7668 `elmo-msgdb-expand-path'.
7669 (elmo-pipe-list-folder-unread): Changed arguments.
7670 (elmo-pipe-list-folder-important): Ditto.
7671 (elmo-pipe-folder-diff): New alias.
7673 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
7674 `elmo-msgdb-expand-path'.
7675 (elmo-nntp-max-of-folder): Ditto.
7676 (elmo-nntp-msgdb-create): Ditto.
7677 (elmo-nntp-delete-msgs): Ditto.
7678 (elmo-nntp-folder-diff): New alias.
7680 * elmo-multi.el (elmo-multi-folder-diff): New function.
7681 (elmo-multi-split-mark-alist): Ditto.
7682 (elmo-multi-split-number-alist): Ditto.
7683 (elmo-multi-mark-alist-list): Abolished (Renamed to
7684 elmo-multi-split-mark-alist).
7685 (elmo-multi-list-folder-unread): Rewrite.
7686 (elmo-multi-list-folder-important): Ditto.
7687 (elmo-multi-list-folder): Set `spec' as 1st argument for
7688 `elmo-msgdb-expand-path'.
7689 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
7690 instead of `elmo-multi-get-number-alist-list'.
7692 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
7693 If 1st argument is not string, treat as spec.
7694 (elmo-list-folder-by-location): Set `spec' as 1st argument for
7695 `elmo-msgdb-expand-path'.
7696 (elmo-msgdb-flist-load): Ditto.
7697 (elmo-msgdb-flist-save): Ditto.
7698 (elmo-msgdb-delete-path): Ditto.
7699 (elmo-msgdb-rename-path): Ditto.
7701 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
7702 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7703 (elmo-maildir-delete-mark-msgs): Ditto.
7704 (elmo-maildir-msgdb-create): Ditto.
7705 (elmo-maildir-read-msg): Ditto.
7706 (elmo-maildir-delete-msgs): Ditto.
7707 (elmo-maildir-list-folder-subr): Ditto.
7708 (elmo-maildir-search): Ditto.
7709 (elmo-maildir-get-msg-filename): Ditto.
7710 (elmo-maildir-pack-number): Ditto.
7711 (elmo-maildir-folder-diff): New alias.
7713 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
7715 * elmo-localdir.el (elmo-localdir-list-folder-subr):
7716 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7717 (elmo-localdir-folder-diff): New alias.
7719 * elmo-internal.el (elmo-internal-list-folder-subr):
7720 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7721 (elmo-internal-list-folder-by-location): Ditto.
7722 (elmo-internal-msgdb-create): Ditto.
7723 (elmo-internal-delete-msgs): Ditto.
7724 (elmo-internal-read-msg): Ditto.
7725 (elmo-internal-folder-diff): New alias.
7727 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
7728 (elmo-imap4-list-folder): Set `spec' as 1st argument for
7729 `elmo-msgdb-expand-path'.
7730 (elmo-imap4-list-folder-unread): Changed arguments.
7731 (elmo-imap4-list-folder-important): Ditto.
7733 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
7734 (elmo-filter-list-folder-important): Ditto.
7735 (elmo-filter-folder-diff): New function.
7737 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
7739 * elmo-cache.el (elmo-cache-list-folder):
7740 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7741 (elmo-cache-copy-msgs): Ditto.
7742 (elmo-cache-folder-diff): New alias.
7744 * elmo-archive.el (elmo-archive-list-folder-subr):
7745 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
7746 (elmo-archive-get-archive-name): Ditto.
7747 (elmo-archive-create-file): Ditto.
7748 (elmo-archive-append-msg): Ditto.
7749 (elmo-archive-copy-msgs): Ditto.
7750 (elmo-archive-copy-msgs-froms): Ditto.
7751 (elmo-archive-get-msg-filename): Ditto.
7752 (elmo-archive-folder-diff): New alias.
7754 2000-10-06 Daiki Ueno <ueno@unixuser.org>
7756 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
7757 (elmo-pop3-stream-type-alist): New variable.
7758 (elmo-nntp-stream-type-alist): New variable.
7760 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
7761 (elmo-kill-buffer): Ditto.
7762 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
7763 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
7764 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
7765 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
7766 (elmo-imap4-get-spec): Take into account
7767 `elmo-imap4-stream-type-alist'.
7769 2000-10-06 Kenichi OKADA <okada@opaopa.org>
7771 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
7772 (elmo-nntp-list-folders-get-cache): Ditto.
7774 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
7776 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
7777 character before 'uid'.
7779 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
7781 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
7783 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
7785 * elmo-util.el (elmo-number-set-member): New function.
7786 (elmo-number-set-append-list): Ditto.
7787 (elmo-number-set-append): Ditto.
7789 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
7790 Use `elmo-number-set-member'.
7791 (elmo-living-messages): Ditto.
7792 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
7793 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
7795 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
7796 (elmo-imap4-add-to-cont-list): Abolished.
7797 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
7798 instead of elmo-imap4-add-to-cont-list.
7800 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
7801 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
7803 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
7805 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7807 * elmo-util.el (elmo-condition-parse-search-value):
7810 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
7812 * elmo-util.el (elmo-condition-find-key-internal): New function.
7813 (elmo-condition-find-key): Ditto.
7815 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
7816 (elmo-msgdb-search-internal): Ditto.
7817 (elmo-msgdb-search): Ditto.
7819 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
7821 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
7822 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
7824 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
7825 (elmo-nntp-search-primitive): Fixed problem when condition is
7828 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
7830 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
7831 (elmo-nntp-xhdr-p): New macro.
7832 (elmo-nntp-set-xhdr): Ditto.
7833 (elmo-nntp-parse-xhdr-response): New function.
7834 (elmo-nntp-retrieve-field): Ditto.
7835 (elmo-nntp-search-primitive): Ditto.
7836 (elmo-nntp-search): Implemented.
7838 * elmo-date.el (elmo-date-make-sortable-string): New macro.
7840 * elmo-archive.el (elmo-archive-search): Set all number list to
7841 `elmo-archive-field-condition-match'
7843 * elmo-localdir.el (elmo-localdir-search): Likewise.
7845 * elmo-maildir.el (elmo-maildir-search): Likewise.
7847 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
7849 * elmo-msgdb.el (elmo-living-messages): New function.
7850 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
7851 * elmo-cache.el (elmo-cache-list-folder): Ditto.
7852 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7853 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
7854 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
7855 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
7856 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
7857 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7858 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7859 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7860 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7862 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
7864 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
7866 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
7868 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
7870 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
7871 arguments for `SEARCH' command.
7872 (elmo-imap4-parse-string): Set `POS' argument for char-after.
7873 All other related portions are changed.
7875 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
7877 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
7878 (elmo-list-folder-unread): Rewrite.
7879 (elmo-list-folder-important): Ditto.
7881 * elmo-util.el (elmo-filter-get-spec): Rewrite.
7882 (elmo-condition-parse-error): New inline function.
7883 (elmo-read-search-condition): New function.
7884 (elmo-read-search-condition-internal): Ditto.
7885 (elmo-parse-search-condition): Rewrite.
7886 (elmo-condition-parse): New function.
7887 (elmo-condition-parse-or-expr): Ditto.
7888 (elmo-condition-parse-and-expr): Ditto.
7889 (elmo-condition-parse-primitive): Ditto.
7890 (elmo-condition-parse-search-value): Ditto.
7891 (elmo-buffer-field-primitive-condition-match): Ditto.
7892 (elmo-buffer-field-condition-match): Rewrite.
7893 (elmo-file-field-condition-match): Ditto.
7895 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
7896 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
7898 * elmo-internal.el (elmo-internal-search): Set `number' and
7899 `number-list' argument of `elmo-file-field-condition-match'.
7901 * elmo-maildir.el (elmo-maildir-search): Ditto.
7903 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
7904 `msgdb' as argument instead of `mark-alist'.
7905 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
7908 * elmo-multi.el: Likewise.
7910 * elmo-pipe.el: Likewise.
7912 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
7913 (elmo-imap4-search-internal): Rewrite.
7914 (elmo-imap4-search): Ditto.
7916 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
7917 (elmo-filter-list-folder-unread): Ditto.
7918 (elmo-filter-list-folder-important): Ditto.
7919 (elmo-filter-search): Rewrite.
7921 * elmo-cache.el (elmo-cache-search-all): Set `number' and
7922 `number-list' argument of `elmo-file-field-condition-match'.
7923 (elmo-cache-search): Ditto.
7925 * elmo-localdir.el: Likewise.
7927 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
7928 number-list and pass it to `elmo-buffer-field-condition-match'.
7929 (elmo-archive-field-condition-match): Pass `number-list' to
7930 `elmo-archive-field-condition-match'
7932 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
7934 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
7937 * elmo2.el (elmo-folder-diff-async-callback): New variable.
7938 (elmo-folder-diff-async-callback-data): Ditto.
7939 (elmo-folder-diff-async): New function.
7941 * elmo-net.el (elmo-network-session-name-prefix): New variable.
7942 (elmo-network-session-cache-key): Use it as a prefix of the session
7944 (elmo-network-open-session): Ditto.
7946 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
7947 (elmo-imap4-status-callback-data): Ditto.
7948 (elmo-imap4-server-diff-async-callback): New variable.
7949 (elmo-imap4-server-diff-async-callback-data): Ditto.
7950 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
7951 `elmo-imap4-status-callback-data'.
7952 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
7953 `elmo-imap4-status-callback-data' as nil.
7954 (elmo-imap4-server-diff): Ditto.
7955 (elmo-imap4-server-diff-async-callback-1): New function.
7956 (elmo-imap4-server-diff-async): Ditto.
7957 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
7959 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
7961 * elmo-util.el (elmo-list-delete): Doc fix.
7962 (elmo-delete-lists): Abolish.
7963 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
7964 instead of `elmo-delete-lists'.
7966 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
7968 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
7971 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
7973 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
7974 `elmo-imap4-literal-subr'.
7975 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
7976 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
7978 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7980 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7981 (elmo-archive-list-folder): Fix.
7982 (elmo-archive-max-of-folder): Fix.
7984 2000-09-15 Kenichi OKADA <okada@opaopa.org>
7986 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
7987 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
7988 (elmo-localdir-append-msg): Ditto.
7989 (elmo-localdir-list-folder): Fix for `nonsort'.
7990 (elmo-localdir-list-folder-subr): Fix for `killed'.
7991 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7992 (elmo-maildir-list-folder-subr): Ditto.
7993 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7994 (elmo-archive-list-folder-subr): Ditto.
7995 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7996 (elmo-internal-list-folder-subr): Ditto.
7998 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8000 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8002 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8004 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8006 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8008 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8009 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8011 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8013 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8014 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8016 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8018 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8020 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8021 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8022 before STORE command.
8024 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8026 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8028 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8029 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8031 (elmo-imap4-list-folders): Removed unused local variable.
8032 (elmo-network-initialize-session): Ditto.
8033 (elmo-imap4-delete-msg-by-id): Ditto.
8034 (elmo-imap4-parse-fetch): Ditto.
8035 (elmo-imap4-copy-msgs): Ditto.
8036 Use `dst-spec' instead of `dst-folder'.
8037 (elmo-network-authenticate-session): Check authenticate type `plain'.
8039 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8041 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8043 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8044 `elmo-imap4-response-value'.
8045 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8047 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8049 * elmo-imap4.el (elmo-imap4-send-command):
8050 Cause elmo-imap4-bye-error when current response is BYE.
8051 (elmo-imap4-arrival-filter): Changed greeting response value.
8053 * elmo2.el (elmo-imap4-bye-error): Define.
8055 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8056 (elmo-imap4-server-diff): Ditto.
8057 (elmo-imap4-response-bye-p): New macro.
8058 (elmo-imap4-response-error-text): Get text from BYE response.
8059 (elmo-imap4-read-response): Return if BYE response.
8060 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8061 (elmo-imap4-folder-exists-p): Ditto.
8062 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8063 (elmo-imap4-parse-bye): New function.
8064 (elmo-imap4-parse-response): Remove needless let.
8065 Call `elmo-imap4-parse-bye'.
8067 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8069 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8070 the mailbox does not exist.
8071 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8073 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8075 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8077 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8079 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8081 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8082 (elmo-network-initialize-session-buffer): Defined.
8084 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8086 (mmelmo-imap4-get-mime-entity): Rewrite.
8088 * elmo2.el (elmo-error): Capitalize error message.
8090 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8091 (elmo-network-session-buffer): New macro.
8092 (elmo-network-open-session): Use it.
8094 * elmo-imap4.el: Rewrite.
8096 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8098 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8100 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8102 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8103 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8104 (elmo-imap4-create-msgdb-from-overview-string): Use
8105 `elmo-msgdb-create-overview-from-buffer'.
8107 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8109 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8110 (elmo-imap4-default-hierarchy-delimiter): New variable.
8111 (elmo-imap4-list-folders): Use it.
8113 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8115 * elmo-net.el (elmo-network-open-session): Add user and
8116 stream-type for process-buffer name.
8118 * elmo-pop3.el (elmo-network-initialize-session): Call
8119 buffer-disable-undo.
8121 * elmo-imap4.el (elmo-network-initialize-session):
8122 Set current-buffer as an argument for `buffer-disable-undo'.
8124 * elmo-pop3.el (elmo-network-close-session): Don't use
8127 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8128 Set default as 'user.
8130 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8132 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8133 and `elmo-imap4-flush-connection'.
8135 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8136 (elmo-pop3-get-spec): Assume auth as symbol.
8137 (elmo-open-network-stream): Moved to `elmo-net'.
8139 * elmo-pop3.el (toplevel): Require 'elmo-net.
8140 Define `sasl-cram-md5' to silence byte compilier.
8141 (elmo-pop3-connection-cache) Abolished.
8142 (elmo-pop3-authenticator-alist) New variable.
8143 (elmo-pop3-session): Define.
8144 (elmo-pop3-connection-get-process): Abolished.
8145 (elmo-pop3-connection-get-buffer): Ditto.
8146 (elmo-pop3-close-connection): Ditto.
8147 (elmo-pop3-flush-connection): Ditto.
8148 (elmo-pop3-get-connection): Ditto.
8149 (elmo-pop3-get-session): New function.
8150 (Replacement for `elmo-pop3-get-connection').
8151 All other related modules are changed.
8152 (elmo-network-close-session): Define.
8153 (elmo-pop3-send-command): Abolished argument `buffer'.
8154 All other related modules are changed.
8155 (elmo-pop3-read-response): Likewise.
8156 (elmo-pop3-open-connection): Abolished.
8157 (elmo-pop3-auth-user): New function.
8158 (elmo-pop3-auth-apop): Ditto.
8159 (elmo-pop3-auth-cram-md5): Ditto.
8160 (elmo-pop3-auth-scram-md5): Ditto.
8161 (elmo-pop3-auth-digest-md5): Ditto.
8162 (elmo-network-initialize-session): Define.
8163 (elmo-network-authenticate-session): Ditto.
8164 (elmo-network-setup-session): Ditto.
8166 * elmo-imap4.el (toplevel): Require 'elmo-net.
8167 (elmo-imap4-session): Define.
8168 (elmo-imap4-connection-cache): Abolished.
8169 (elmo-imap4-password-key): Ditto.
8170 (elmo-imap4-flush-connection): Ditto.
8171 (elmo-imap4-get-connection): Ditto.
8172 All other related modules are changed.
8173 (elmo-imap4-get-session): New function
8174 (Replacement for `elmo-imap4-get-connection').
8175 (elmo-imap4-read-response): Abolished argument `buffer'.
8176 All other related modules are changed.
8177 (elmo-imap4-send-command): Likewise.
8178 (elmo-imap4-select-folder): Abolished.
8179 All other related modules are changed.
8180 (elmo-imap4-select-mailbox): New function.
8181 (Replacement for `elmo-imap4-select-folder').
8182 (elmo-imap4-auth-login): Simplify.
8183 (Assume current buffer as process buffer)
8184 (elmo-imap4-auth-cram-md5): Ditto.
8185 (elmo-imap4-auth-digest-md5): Ditto.
8186 (elmo-imap4-login): Ditto.
8187 (elmo-imap4-open-connection): Abolished.
8188 (elmo-imap4-open-connection-1): Abolished.
8189 (elmo-network-initialize-sessoin): Define.
8190 (elmo-network-authenticate-session): Ditto.
8191 (elmo-network-setup-session): Ditto.
8193 * elmo-net.el: New module.
8195 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8197 * elmo-util.el (elmo-define-error): New function.
8199 * elmo2.el (elmo-error): Define.
8200 (elmo-open-error): Define.
8201 (elmo-authenticate-error): Define.
8203 * elmo-imap4.el (elmo-imap4-error): Abolish.
8204 (elmo-imap4-error-type): Abolish.
8205 (elmo-imap4-error-process): Abolish.
8206 (elmo-imap4-error-message): Abolish
8207 (elmo-imap4-list-folders): Don't quote lambda.
8208 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8209 (elmo-imap4-parse-namespace): Ditto.
8210 (elmo-imap4-open-connection): Rewrite.
8211 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8212 (elmo-imap4-get-connection): Abolish local variable `result'.
8214 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8216 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8217 wrong-type-argument error when auth is nil.
8219 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8221 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8222 (elmo-default-nntp-stream-type): Ditto.
8223 (elmo-default-pop3-stream-type): Ditto.
8224 (elmo-network-stream-type-alist): Ditto.
8225 (elmo-default-imap4-ssl): Abolished.
8226 (elmo-default-nntp-ssl): Ditto.
8227 (elmo-default-pop3-ssl): Ditto.
8229 * elmo-util.el: (toplevel): Removed needless requires.
8230 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8231 (elmo-open-network-stream): Open network stream according to
8232 the value of `elmo-network-stream-type-alist'.
8233 (elmo-get-network-stream-type): New function.
8234 (elmo-network-stream-type-spec-string): New macro.
8235 (elmo-network-stream-type-symbol): Ditto.
8236 (elmo-network-stream-type-function): Ditto.
8238 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8239 network-stream-type. All other related portions are changed.
8240 (elmo-pop3-open-connection): Ditto.
8242 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8243 network-stream-type. All other related portions are changed.
8245 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8246 network-stream-type.All other related portions are changed.
8247 (elmo-imap4-error): New macro.
8248 (elmo-imap4-error-type): Ditto.
8249 (elmo-imap4-error-process): Ditto.
8250 (elmo-imap4-error-message): Ditto.
8251 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8252 (elmo-imap4-auth-cram-md5): Ditto.
8253 (elmo-imap4-auth-digest-md5): Ditto.
8254 (elmo-imap4-login): Ditto.
8255 (elmo-imap4-open-connection): Remove password entry if authentication
8257 (elmo-imap4-user-at-host): Abolished.
8258 (elmo-imap4-password-key): New buffer local variable.
8259 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8260 using protocol, port, auth and stream-type.
8262 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8264 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8266 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8268 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8270 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8271 (elmo-imap4-authenticator-alist): New variable.
8272 (elmo-imap4-open-connection-1): Rename from
8273 elmo-imap4-open-connection.
8274 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8275 only wraps elmo-imap4-open-connection-1.
8276 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8278 (elmo-imap4-auth-login): New function.
8279 (elmo-imap4-auth-cram-md5): New function.
8280 (elmo-imap4-auth-digest-md5): New function.
8281 (elmo-imap4-login): New function.
8283 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8285 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8288 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8290 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8292 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8294 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8296 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8298 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8299 for server responses, quote `*' regardless of where it appears.
8301 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8303 * elmo-maildir.el (elmo-maildir-commit): New alias.
8305 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8307 * elmo-util.el (elmo-display-progress):
8308 Use `progress-feedback-with-label'.
8310 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8312 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8313 (elmo-imap4-non-atom-char-regex): Ditto.
8314 (elmo-imap4-non-text-char-regex): Ditto.
8315 (elmo-imap4-literal-threshold): Ditto.
8316 (elmo-imap4-atom-p): New function.
8317 (elmo-imap4-quotable-p): Ditto.
8318 (elmo-imap4-nil): Ditto.
8319 (elmo-imap4-atom): Ditto.
8320 (elmo-imap4-quoted): Ditto.
8321 (elmo-imap4-literal-subr): Ditto.
8322 (elmo-imap4-literal): Ditto.
8323 (elmo-imap4-buffer-literal): Ditto.
8324 (elmo-imap4-string-subr): Ditto.
8325 (elmo-imap4-string): Ditto.
8326 (elmo-imap4-buffer-string): Ditto.
8327 (elmo-imap4-astring-subr): Ditto.
8328 (elmo-imap4-astring): Ditto.
8329 (elmo-imap4-buffer-astring): Ditto.
8330 (elmo-imap4-nstring): Ditto.
8331 (elmo-imap4-buffer-nstring): Ditto.
8332 (elmo-imap4-mailbox): New alias.
8333 (elmo-imap4-field-body): Ditto.
8334 (elmo-imap4-userid): Ditto.
8335 (elmo-imap4-password): Ditto.
8336 (elmo-imap4-format-quoted): New function.
8337 (elmo-imap4-send-command): Rewritten. Accept a list of command
8338 arguments and handle "atom", "quoted" and "literal" string here.
8339 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8340 `elmo-imap4-send-command'.
8341 (elmo-imap4-folder-exists-p): Likewise.
8342 (elmo-imap4-create-folder): Likewise.
8343 (elmo-imap4-delete-folder): Likewise.
8344 (elmo-imap4-rename-folder): Likewise.
8345 (elmo-imap4-max-of-folder): Likewise.
8346 (elmo-imap4-check-validity): Likewise.
8347 (elmo-imap4-sync-validity): Likewise.
8348 (elmo-imap4-server-diff): Likewise.
8349 (elmo-imap4-select-folder): Likewise.
8350 (elmo-imap4-copy-msgs): Likewise.
8351 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8352 (elmo-imap4-mark-set-on-msgs): Likewise.
8353 (elmo-imap4-read-part): Likewise.
8354 (elmo-imap4-read-msg): Likewise.
8355 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8356 `elmo-imap4-password' for `elmo-imap4-send-command'.
8357 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8358 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8359 `elmo-imap4-buffer-literal'.
8360 (elmo-imap4-append-msg): Likewise.
8362 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8363 `delete' for removing dead connection from the connection cache.
8364 Move deletion of the process buffer after that.
8365 (elmo-imap4-list): Change `defsubst' to `defun'.
8366 (elmo-imap4-commit): Make error message verbose.
8367 (elmo-imap4-search): Ditto.
8368 (elmo-imap4-list): Ditto.
8369 (elmo-imap4-select-folder): Ditto.
8370 (elmo-imap4-copy-msgs): Ditto.
8371 (elmo-imap4-delete-msg-by-id): Ditto.
8372 (elmo-imap4-append-msg-by-id): Ditto.
8373 (elmo-imap4-append-msg): Ditto.
8375 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8377 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8378 when dired is used on XEmacs.
8380 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
8382 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8383 instead of `append'.
8384 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8385 `elmo-plugged-p' directly.
8386 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8387 of `elmo-plugged-p' directly.
8389 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8390 Eliminate unused variable. Use `memq' for checking a process status.
8391 Use `cons' instead of `append' for updating the connection cache.
8392 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8393 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8395 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
8397 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8398 `elmo-imap4-read-point' exactly.
8400 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8401 the local variable `folder' to `mailbox'.
8402 Rename the argument `fld' to `folder'.
8404 2000-07-20 Kenichi OKADA <okada@opaopa.org>
8406 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8407 * elmo-imap4.el (elmo-imap4-commit): Ditto.
8409 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
8411 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8412 (elmo-pop3-number-uidl-hash): New buffer-local variable.
8413 (elmo-pop3-uidl-number-hash): Ditto.
8414 (elmo-pop3-size-hash): Ditto.
8415 (elmo-pop3-uidl-done): Ditto.
8416 (elmo-pop3-list-done): Ditto.
8417 (elmo-pop3-connection-get-process): New defmacro.
8418 (elmo-pop3-connection-get-buffer): Ditto.
8419 (elmo-pop3-close-connection): Delete buffer and process.
8420 (elmo-pop3-flush-connection): Don't delete buffer and process.
8421 (elmo-pop3-get-connection): Added optional argument `if-exists'.
8422 Setup UIDL and size hash.
8423 (elmo-pop3-send-command-no-erase): Deleted
8424 (elmo-pop3-send-command): Added optional argument `no-erase'.
8425 (elmo-pop3-parse-uidl-response): New function.
8426 (elmo-pop3-parse-list-response): Set size hash.
8427 (elmo-pop3-list-location): New function.
8428 (elmo-pop3-list-by-uidl-subr): Ditto.
8429 (elmo-pop3-list-by-list): Ditto.
8430 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8431 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8432 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8433 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8434 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8436 (elmo-pop3-uidl-to-number): New function.
8437 (elmo-pop3-number-to-uidl): Ditto.
8438 (elmo-pop3-number-to-size): Ditto.
8439 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8440 Set number by use of uidl.
8441 (elmo-pop3-msgdb-create-message): Likewise.
8442 Set size, loc-alist in msgdb.
8443 (elmo-pop3-read-msg): Set number by use of uidl.
8444 Added optional argument `msgdb'.
8445 (elmo-pop3-delete-msg): Ditto.
8446 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8447 (elmo-pop3-commit): Close connection.
8449 * elmo-pipe.el (elmo-pipe-max-of-folder):
8450 Bind `elmo-pop3-use-uidl' as nil.
8451 (elmo-pipe-drain): Ditto.
8454 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8455 (elmo-msgdb-overview-entity-set-size): New defsubst.
8457 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
8459 * elmo-vars.el (elmo-use-killed-list): New variable
8460 (Renamed from `elmo-nntp-use-killed-list').
8461 (elmo-nntp-use-killed-list): Eliminated.
8463 * elmo-msgdb.el (elmo-msgdb-expand-path):
8464 Changed expanding msgdb path for elmo-multi.
8466 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8467 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8468 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8469 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8470 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8471 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8472 (toplevel): Deleted time-stamp line.
8474 * elmo2.el (elmo-clear-killed ): Defined as function
8475 (Abolished defining as a backend function).
8476 All other related modules are changed.
8478 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8480 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8482 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
8484 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8486 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8488 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
8490 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
8492 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
8493 asynchronous folder check.
8495 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
8497 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
8498 `elmo-nntp-use-killed-list'.
8499 (elmo-nntp-list-folder): Use killed list.
8500 (elmo-nntp-max-of-folder): Ditto.
8501 (elmo-nntp-msgdb-create): Set killed list.
8503 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
8505 * elmo2.el (elmo-clear-killed): New backend function.
8506 All other related modules are changed.
8508 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
8510 * elmo-util.el (elmo-imap4-spec-folder): Use
8511 `elmo-imap4-spec-mailbox'; Mark as obsolete.
8512 All callers changed.
8514 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
8516 * mmelmo-2.el (initialize-instance):
8517 Use `mime-buffer-entity-buffer-internal' instead of
8518 `mime-entity-buffer'.
8520 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
8521 (mime-entity-body): Implemented.
8522 (mime-goto-header-start-point): Deleted.
8523 (mime-goto-body-end-point): Ditto.
8524 (mime-entity-point-min): Ditto.
8525 (mime-entity-point-max): Ditto.
8526 (mime-entity-children): Ditto.
8527 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
8528 instead of `mime-entity-buffer'.
8529 (mime-entity-header-buffer): Ditto.
8530 (mime-entity-body-buffer): Ditto.
8531 (mime-write-entity-content): Ditto.
8533 * pldap.el (ldap-static-if): New macro.
8534 (toplevel): Use it instead of `static-if'.
8536 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
8538 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
8539 included in `attrs' argument.
8541 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
8543 * elmo-util.el (elmo-get-passwd): Use old backquote style.
8545 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
8546 (ldap-ldif-safe-init-char-regexp): Ditto.
8547 (ldap-ldif-safe-string-regexp): Ditto.
8548 (ldap/ldif-safe-string-p): New macro.
8549 (ldap/ldif-insert-field): Ditto.
8550 (ldap-modify): Use it.
8552 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
8553 (ldap-decode-attribute): Decode only when `attr' is consp.
8554 (ldap-delete): Bind `ret'.
8555 (toplevel): Require 'cl at compile time.
8556 Removed (require 'poe) and (require 'std11).
8557 (pldap-version): Eliminated.
8558 (ldap-search-basic): Removed auth and dn binding.
8559 (ldap-ldif-field-name-regexp): New constant.
8560 (ldap-ldif-field-head-regexp): Ditto.
8561 (ldap-ldif-next-field-head-regexp): Ditto.
8562 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
8563 (ldap/field-end): New function.
8564 (ldap/field-body): Use it.
8565 (ldap/collect-field): Ditto.
8566 (ldap-search-basic): Use `ldap/field-body'.
8568 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
8570 * pldap.el (ldap-default-attribute-encoder): New user option.
8571 (ldap/field-body): Decode base64 string.
8572 (ldap/collect-field): Ditto.
8573 (ldap-encode-attribute): New function.
8574 (ldap-add-entries): Use it.
8575 (ldap-modify-entries): Ditto.
8576 (ldap-search-entries): Enclosed decoding function with
8577 `with-temp-buffer' and set as unibyte.
8578 (ldap-search-basic): Set process buffer as unibyte.
8580 * elmo-util.el (elmo-folder-identical-system-p):
8581 Eliminated name space checking.
8583 * pldap.el: New module.
8584 toplevel: Changed condition to detect built-in ldap feature.
8585 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
8586 (ldap-add): Added error handling.
8587 (ldap-modify): Ditto.
8588 (ldap-delete): Ditto.
8590 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
8592 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
8593 Initialize local variables with `let'. Inline a temporary
8594 variable for the progress percentage. Sort `setq' to reduce
8595 function call in the while-loop.
8597 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
8598 into the conditional branch.
8600 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
8602 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
8603 Move a conditional out of the while-loop.
8605 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8607 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
8608 elmo-msgdb-overview-get-entity-by-number.
8609 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
8612 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
8614 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
8615 the local variable for a packed number self descriptively.
8617 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8619 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
8620 * elmo-localdir.el (elmo-localdir-pack-number): Use
8621 `elmo-msgdb-overview-get-entity' instead of
8622 `elmo-msgdb-overview-get-entity-by-number'.
8623 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
8624 (elmo-msgdb-search-overview-entity): Removed.
8625 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
8626 by message-id or number.
8627 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
8628 instead of `elmo-msgdb-overview-get-entity-by-number'.
8630 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8632 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
8633 non-nil, use hash table for overview.
8634 (elmo-hash-maximum-size): New variable.
8635 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
8636 (elmo-msgdb-make-overview-hashtb): New function.
8637 (elmo-msgdb-clear-overview-hashtb): New function.
8638 (elmo-clear-hash-val): New macro.
8639 All other related modules are changed.
8641 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
8643 * elmo2.el (elmo-move-msgs): If there's other message with
8644 same message-id, don't use cache.
8646 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
8648 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
8649 number is already packed.
8651 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
8653 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
8655 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8657 * elmo-vars.el (elmo-display-progress-threshold): New variable.
8658 All other related modules are changed.
8660 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
8662 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
8663 of refiling failure on Maildir.
8665 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8667 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
8668 decoded mime-charset with cache.
8669 (elmo-msgdb-overview-entity-get-from): Ditto.
8670 (elmo-msgdb-overview-entity-get-subject): Ditto.
8671 * elmo-vars.el (elmo-use-decoded-cache): New variable.
8673 2000-05-10 Kenichi OKADA <okada@opaopa.org>
8675 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
8676 (elmo-remove-passwd): Fill password with 0 before erase.
8677 * elmo-vars.el (elmo-passwd-life-time): New variable.
8680 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
8682 * elmo-cache.el (elmo-buffer-cache-add):
8683 Set message cache buffer as unibyte.
8685 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8687 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
8690 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
8692 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
8693 when display is finished.
8694 (elmo-nntp-msgdb-create): Ditto.
8695 (elmo-nntp-groups-read-response): Ditto.
8696 (elmo-nntp-retrieve-headers): Ditto.
8697 (elmo-nntp-msgdb-create-message): Ditto.
8698 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
8699 (elmo-pop3-msgdb-create-message): Ditto.
8701 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8703 * elmo-maildir.el (elmo-maildir-msgdb-create):
8704 Use `elmo-msgdb-sort-by-date'.
8706 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
8708 * elmo2.el (elmo-read-msg-no-cache):
8709 Eliminated arguments after `outbuf'.
8710 Don't use cache even if it exists.
8711 (elmo-read-msg): Don't pass arguments after `outbuf' to
8712 `elmo-read-msg-no-cache'.
8714 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
8716 * elmo-archive.el (elmo-archive-list-folders):
8717 Use `file-name-directory' if base folder does not exist.
8719 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
8721 * elmo-archive.el (elmo-archive-list-folders): Don't use
8722 `file-name-directory'.
8724 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
8726 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
8727 If `force' is non-nil, try flushing all operation queues.
8729 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
8731 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
8734 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8736 * elmo-util.el (elmo-display-progress): Fixed.
8738 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
8740 * elmo-util.el (elmo-display-progress): New function.
8741 All other related modules are changed.