1 2010-08-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
3 * acap.el (acap-arrival-filter): Use (delete-char (- X)) instead of
4 (delete-backward-char X) that deletes region in Emacs 24.
5 See delete-active-region described in NEWS.
6 * elmo-imap4.el (elmo-imap4-arrival-filter): Ditto.
7 * elmo-util.el (elmo-get-file-string): Ditto.
8 * utf7.el (utf7-encode-internal, utf7-decode-internal): Ditto.
10 2010-08-09 David Maus <dmaus@ictsoc.de>
12 * elmo.el (elmo-folder-open-internal-p): New luna method.
13 (elmo-folder-move-messages): Open source folder only if necessary.
14 * elmo-pipe.el (elmo-folder-open-internal-p): New luna method.
15 * elmo-multi.el (elmo-folder-open-internal-p): Dto.
16 * elmo-map.el (elmo-folder-open-internal-p): Dto.
17 * elmo-filter.el (elmo-folder-open-internal-p): Dto.
19 2010-08-01 David Maus <dmaus@ictsoc.de>
21 * elmo.el (elmo-folder-move-messages): Open source folder before
24 2010-04-15 David Maus <dmaus@ictsoc.de>
26 * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
29 2010-04-14 David Maus <dmaus@ictsoc.de>
31 * elmo-imap4.el (elmo-imap4-disabled-extension): New
32 variable. List of server extensions that are disabled on the
34 (elmo-imap4-session-capable-p): Honour list of disabled
37 2010-03-17 David Maus <dmaus@ictsoc.de>
39 * elmo-imap4.el (elmo-imap4-folder-list-flagged)
40 (elmo-imap4-search-internal-primitive): Pass filter type to imap
41 search when performing search for flagged messages.
43 2010-01-22 Vitaly Mayatskih <v.mayatskih@gmail.com>
45 * modb-standard.el (modb-standard-save-entity): Use
46 `modb-standard-cleanup-stale-entities' to clean up stale entity
48 * elmo-imap4.el (elmo-network-authenticate-session): Ask for
49 capabilities after login.
51 2010-01-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
53 * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
54 indent (only cosmetic fix).
56 2010-01-15 Vitaly Mayatskih <v.mayatskih@gmail.com>
58 * elmo-version.el (elmo-version): Up to 2.15.9.
60 * elmo-imap4.el (elmo-imap4-elist): New function
61 * elmo-imap4.el (elmo-imap4-parse-response): Added support for
62 ESEARCH feature (RFC4731).
63 * elmo-imap4.el (toplevel): Require time-stamp
64 * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
65 elmo-imap4-read-response elmo-imap4-read-untagged
66 elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
68 * elmo-imap4.el (elmo-folder-list-messages-plugged,
69 elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
70 for full uid range on folder entering, retrieve updates only for
71 newly appeared messages.
72 * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
73 elmo-imap4-read-response, elmo-imap4-read-untagged,
74 elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
75 to format-time-string.
76 * elmo-vars.el (toplevel): New custom
77 `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
78 flag for some buggy servers.
79 * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
81 2010-01-05 TAKAHASHI Kaoru <kaoru@kaisei.org>
83 * acap.el (acap-parse-response): Fix comment-out style. Use three
84 semicolons, that should start at the left margin.
85 See. also (Info-goto-node "(elisp)Comment Tips").
86 * elmo.el (toplevel, elmo-message-match-condition)
87 (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
89 * elmo-archive.el (elmo-archive-suffix-alist)
90 (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
91 (elmo-archive-method-list)
92 (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
94 * elmo-imap4.el (toplevel)
95 (elmo-imap4-send-command, elmo-imap4-check-validity)
96 (elmo-imap4-fetch-callback-1-subr)
97 (elmo-network-initialize-session, elmo-server-diff-async)
98 (elmo-imap4-folder-diff-plugged): Ditto
99 * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
100 * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
101 * elmo-net.el (elmo-network-close-session): Ditto.
102 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
103 (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
104 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
105 * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
106 (elmo-number-set-delete)
107 (elmo-cache-get-oldest-cache-file-entity): Ditto.
109 2010-01-04 TAKAHASHI Kaoru <kaoru@kaisei.org>
111 * elmo-version.el (elmo-version): Up to 2.15.8.
113 * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
114 `with-current-buffer' instead of `save-excursion' (for suppress
117 * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
118 instead of `int-to-string'.
119 * elmo-archive.el (elmo-archive-message-fetch-internal)
120 (elmo-archive-folder-message-make-temp-files)
121 (elmo-archive-folder-append-buffer)
122 (elmo-folder-delete-messages-internal)
123 (elmo-archive-msgdb-create-entity)
124 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
125 * elmo-util.el (elmo-cache-expire-by-age): Ditto.
126 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
127 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
128 * elmo-imap4.el (elmo-imap4-make-number-set-list)
129 (elmo-folder-list-subfolders): Ditto.
130 * elmo-localdir.el (elmo-message-file-name)
131 (elmo-folder-message-make-temp-files)
132 (elmo-localdir-msgdb-create-entity)
133 (elmo-folder-append-messages-*-localdir)
134 (elmo-folder-pack-numbers): Ditto.
135 * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
136 * elmo-map.el (elmo-location-map-key): Ditto.
137 * elmo-nntp.el (elmo-nntp-folder-postfix)
138 (elmo-nntp-folder-list-subfolders)
139 (elmo-nntp-folder-msgdb-create): Ditto.
141 * elmo.el (elmo-crosspost-message-alist-save): Don't use
142 `function' for `lambda'.
143 * elmo-archive.el (elmo-archive-folder-list-subfolders)
144 (elmo-folder-append-messages-*-archive)
145 (elmo-folder-delete-messages-internal): Ditto.
146 * elmo-date.el (elmo-replace-in-string): Ditto.
147 * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
148 (elmo-folder-list-flagged): Ditto.
149 * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
150 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
151 * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
153 2010-01-02 TAKAHASHI Kaoru <kaoru@kaisei.org>
155 * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
156 `elmo-dop-spool-folder' was used before it was defined"; Use
159 * pldap.el (ldap/ldif-safe-string-p): macro to function.
160 * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
162 * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
163 `mapcar'; Suppress compile warning.
164 * elmo-imap4.el (elmo-network-initialize-session-buffer)
165 (elmo-imap4-search-internal-primitive): Ditto.
166 * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
167 * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
169 * elmo-imap4.el (elmo-imap4-parse-address-list)
170 (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
171 (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
172 (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
173 `(string-to-char " ")' instead of `? ', `?\ '.
175 2010-01-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
177 * pldap.el (ldap-search-entries): Don't use `function' for lambda.
178 (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
179 (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
180 `function' for lambda.
182 * modb-standard.el (modb-standard-cleanup-stale-entities): Use
183 `string-to-number' instead of `string-to-int'.
185 * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
186 instead of `save-excursion' (for suppress compile warnings).
187 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
188 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
189 (elmo-nntp-post): Ditto.
191 2009-08-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
193 * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
194 Mule-UCS (to-utf-16).
195 (utf7-utf-16-coding-system): Change preference when Mule-UCS on
198 2009-07-11 Taiki SUGAWARA <buzz.taiki@gmail.com>
200 * utf7.el (utf7-find-coding-system-without-bom): New Function.
201 (utf7-utf-16-coding-system): use no-BOM coding system.
202 (utf7-get-u16char-converter): remove workaround for BOM.
204 2009-05-26 Vitaly Mayatskikh <v.mayatskih@gmail.com>
206 * elmo-util.el (elmo-union): New function, make a union of two lists.
208 * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
209 mime-view when displaying malformed base64 attach.
211 * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
212 (removed duplicated code)
214 * modb-standard.el (modb-standard-cleanup-stale-entities): New
215 function, Remove stale entities from elmo's cache.
217 2009-05-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
219 * elmo-version.el (elmo-version): Up to 2.15.7.
221 2009-03-22 Tetsurou Okazaki <okazaki@be.to>
223 * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
224 default value to `--auto-update'.
226 2008-07-06 TAKAHASHI Kaoru <kaoru@kaisei.org>
228 * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
229 Add `elmo-pop3-read-point' barrier.
231 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
233 * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
234 goto the previous end-point insead of the head-point, and use
235 `search-forward' instead of `re-search-forward'.
237 2008-06-30 Tetsurou Okazaki <okazaki@be.to>
239 * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
241 2008-06-30 Don Bashford <Don.Bashford@stjude.org>
243 * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
244 case-insensitive fashion.
246 2008-03-30 Tetsurou Okazaki <okazaki@be.to>
248 * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
250 2008-02-20 TAKAHASHI Kaoru <kaoru@kaisei.org>
252 * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
253 `eval-and-compile' for suppress compile warnings.
255 * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
256 instead of `defun-maybe'
258 * elmo-util.el: Add (eval-when-compile (require 'static)).
260 2008-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
262 * mmimap.el: Remove (require 'static).
265 * elmo-flag.el: Move ';;; Code:' comment.
266 * elmo-imap4.el: Ditto.
267 * elmo-net.el: Ditto.
269 * elmo-version.el (product-provide): Fix comment.
271 2008-02-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
273 * slp.el: Add (eval-when-compile (require 'cl)).
274 * elmo-date.el: Ditto.
275 * elmo-pop3.el: Ditto.
276 * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
278 2008-02-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
280 * modb.el (elmo-msgdb-match-condition-primitive): Use
281 `string-to-number' instead of `string-to-int'.
283 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
284 (elmo-msgdb-message-match-condition)
285 (elmo-msgdb-create-message-entity-from-buffer): Use
286 `string-to-number' instead of `string-to-int'.
288 * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
289 instead of `string-to-int'.
291 * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
292 instead of `string-to-int'.
294 * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
295 `string-to-number' instead of `string-to-int'.
297 * elmo-nntp.el (elmo-nntp-make-msglist)
298 (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
299 (elmo-nntp-create-msgdb-from-overview-string)
300 (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
301 (elmo-nntp-search-primitive): Use `string-to-number' instead of
304 * elmo-net.el (elmo-net-folder-set-parameters): Use
305 `string-to-number' instead of `string-to-int'.
307 * elmo-localdir.el (elmo-localdir-list-subr): Use
308 `string-to-number' instead of `string-to-int'.
310 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
311 `string-to-number' instead of `string-to-int'.
313 * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
314 instead of `string-to-int'.
316 * elmo-archive.el (elmo-archive-list-folder-subr): Use
317 `string-to-number' instead of `string-to-int'.
319 2008-02-16 TAKAHASHI Kaoru <kaoru@kaisei.org>
321 * elmo-util.el (elmo-get-passwd): Fix typo.
323 * elmo-nntp.el (elmo-nntp-get-server-command)
324 (elmo-nntp-set-server-command, elmo-nntp-xover-p)
325 (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
326 (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
327 (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
329 * elmo-imap4.el (elmo-imap4-debug)
330 (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
331 (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
332 (elmo-imap4-response-value, elmo-imap4-response-error-text)
333 (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
334 (elmo-imap4-nth, elmo-imap4-detect-search-charset)
335 (elmo-imap4-identical-system-p): New backquote style.
337 2008-02-15 TAKAHASHI Kaoru <kaoru@kaisei.org>
339 * elmo-dop.el (elmo-make-dop-queue): New backquote style.
340 (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
341 (elmo-dop-queue-arguments): Ditto.
343 * elmo-date.el (elmo-match-substring): New backquote style.
344 (elmo-match-string, elmo-match-buffer): Ditto.
345 (elmo-date-make-sortable-string): Ditto.
347 * elmo-archive.el (elmo-archive-get-method):New backquote style.
348 (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
350 * elmo-multi.el (elmo-multi-real-folder-number): New backquote
353 * elmo-net.el (elmo-network-stream-type-spec-string): New
355 (elmo-network-stream-type-symbol): Ditto.
356 (elmo-network-stream-type-feature): Ditto.
357 (elmo-network-stream-type-function): Ditto.
358 (elmo-network-session-buffer): Ditto.
360 * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
361 (elmo-file-cache-status, elmo-file-cache-path): Ditto.
362 (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
363 (elmo-bind-directory, elmo-set-work-buf): Ditto.
365 * elmo.el (elmo-folder-send): New backquote style.
367 2008-02-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
369 * pldap.el (ldap-static-if): New backquote style.
370 (ldap/ldif-safe-string-p): Ditto.
371 (ldap/ldif-insert-field): Ditto.
373 * elmo-version.el (elmo-version): Up to 2.15.6.
375 2008-01-31 Yoichi NAKAYAMA <yoichi@geiin.org>
377 * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
378 messages with \Deleted flag.
379 (elmo-folder-delete-messages-plugged): Ask before sending expunge
380 command if there are messages with \Deleted flag.
382 2007-04-24 Yoichi NAKAYAMA <yoichi@geiin.org>
384 * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
385 http://seclists.org/bugtraq/2007/Apr/0018.html
386 (Suggested by Tatsuya Kinoshita)
388 2007-04-16 Yoichi NAKAYAMA <yoichi@geiin.org>
390 * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
391 with \Noselect attribute.
393 2007-04-15 Yoichi NAKAYAMA <yoichi@geiin.org>
395 * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
396 hierarchical folder structure with UW-imapd.
398 2007-02-12 Yoichi NAKAYAMA <yoichi@geiin.org>
400 * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
401 when the LOGINDISABLED capability is advertised.
403 2007-01-27 Yoichi NAKAYAMA <yoichi@geiin.org>
405 * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
407 2007-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
409 * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
411 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
412 if the message entity is exists.
414 2007-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
416 * elmo-util.el (elmo-msgdb-insert-file-header): Call
417 `elmo-delete-cr-buffer'.
419 * elmo-localdir.el (elmo-message-fetch-internal): Use
420 `insert-file-contents-as-raw-text' instead of
421 `insert-file-contents-as-binary'.
423 * elmo-maildir.el (elmo-map-message-fetch): Ditto.
425 2006-12-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
427 * elmo-imap4.el (elmo-network-initialize-session): Check to
428 retrieve a whole greeting message.
430 2006-11-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
432 * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
434 2006-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
436 * elmo-util.el (elmo-safe-plist-get): New alias or macro.
437 (elmo-progress-notify): Use it instead of `plist-get'.
439 2006-11-19 Yoichi NAKAYAMA <yoichi@geiin.org>
441 * elmo.el (elmo-generic-folder-append-messages): Remove unused
444 2006-11-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
446 * elmo-pipe.el (elmo-folder-set-plugged): Define.
448 2006-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
450 * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
451 (elmo-spam-list-spam-messages): Check it option.
453 2006-11-08 Tetsurou Okazaki <okazaki@be.to>
455 * elmo-util.el (elmo-with-progress-display): Return the value
456 of the last form in `body'.
458 2006-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
460 * elmo-util.el (elmo-progress-start): Accept nil for `total'. Set
461 `elmo-progress-counter' as t when a query callback returns nil.
462 (elmo-progress-clear): New function.
463 (elmo-progress-done): Split into `elmo-progress-clear'.
464 (elmo-progress-notify): Update a total slot when it is nil.
465 (elmo-with-progress-display): Call `elmo-progress-clear' in
466 unwind-protect and move calling `elmo-progress-done' to outside.
468 * elmo-imap4.el (elmo-imap4-find-next-line): Call
469 `elmo-progress-notify' with :total parameter instead of
470 `elmo-progress-counter-set-total'.
472 2006-11-07 Tetsurou Okazaki <okazaki@be.to>
474 * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
476 (elmo-progress-start): Avoid updating `elmo-progress-counter'
477 when a query callback returns nil. Return a progress counter
478 instead of t whenever a start callback was called.
480 2006-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
482 * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
483 (elmo-imap4-send-command): Use it.
484 (elmo-network-initialize-session): Ditto.
485 (elmo-network-setup-session): Ditto.
486 (elmo-folder-msgdb-create-plugged): Ditto.
488 2006-11-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
490 * elmo-util.el (elmo-progress-done): Fix a miss refer to
491 `elmo-progress-counter'.
493 2006-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
495 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
496 (elsp-bsfilter-list-spam-filter): New function.
497 (elsp-bsfilter-start-list-spam): Ditto.
498 (elsp-bsfilter-read-list-spam): Ditto.
499 (elmo-spam-list-spam-messages): Use async process to display
500 progress message by each message.
502 2006-11-03 Yoichi NAKAYAMA <yoichi@geiin.org>
504 * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
505 of flushing previously inserted message contents.
507 * elmo-imap4.el (elmo-folder-search): Fix return value.
509 2006-11-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
511 * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
512 of reporter is enable or not.
514 2006-10-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
516 * elmo-util.el (elmo-list-bigger-diff): Abolish.
517 (elmo-display-progress): Ditto.
518 (elmo-progress-counter-alist): Ditto.
519 (elmo-progress-set): Ditto.
520 (elmo-progress-clear): Ditto.
521 (elmo-progress-counter-all-value): Rename to
522 `elmo-progress-counter-total'.
523 (elmo-progress-counter-format): Rename to
524 `elmo-progress-counter-action'.
525 (elmo-progress-counter): New internal variable.
526 (elmo-progress-callback-function): Ditto.
527 (elmo-progress-counter-label): New function.
528 (elmo-progress-counter-set-total): Ditto.
529 (elmo-progress-counter-set-action): Ditto.
530 (elmo-progress-call-callback): Ditto.
531 (elmo-progress-start): Ditto.
532 (elmo-progress-done): Ditto.
533 (elmo-progress-notify): Rewrite.
534 (elmo-with-progress-display): Remove first argument
535 `condition'. Add optional argument `var' in `spec'.
537 * elmo-vars.el (elmo-display-progress-threshold): Abolish.
538 (elmo-display-retrieval-progress-threshold): Ditto.
539 (elmo-inhibit-display-retrieval-progress): Ditto.
541 * Replace all pair of `elmo-progress-set' and
542 `elmo-progress-clear' into `elmo-with-progress-display'.
544 * Replace to call `elmo-display-progress' into pair of
545 `elmo-progress-notify' and `elmo-with-progress-display'.
547 * elmo-version.el (elmo-version): Up to 2.15.5.
549 2006-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
551 * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
554 2006-10-15 Yoichi NAKAYAMA <yoichi@geiin.org>
556 * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
557 cleanup-forms [wl:14027].
559 2006-10-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
561 * elmo-flag.el (elmo-global-flag-set-internal): Use
562 `elmo-copy-file' by priority when the message is a file.
564 2006-10-01 Yoichi NAKAYAMA <yoichi@geiin.org>
566 * elmo.el: Fix typo: disptch -> dispatch.
568 2006-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
570 * elmo.el (elmo-file-tag): New class.
571 (elmo-append-messages-disptch-table): New constant.
572 (elmo-folder-type-p): New function.
573 (elmo-folder-append-messages): Redefine as function.
575 * elmo-null.el (elmo-folder-append-messages): Renamed from
576 `elmo-folder-append-messages'.
578 * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
579 (elmo-folder-append-messages-*-maildir): Renamed from
580 `elmo-folder-append-messages'.
582 * elmo-localdir.el (elmo-localdir-folder): Inherit
584 (elmo-folder-append-messages-*-localdir): Renamed from
585 `elmo-folder-append-messages'.
587 * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
588 from `elmo-folder-append-messages'.
590 * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
591 `elmo-folder-append-messages'.
593 * elmo-filter.el (elmo-folder-append-messages-filter-*): New
595 (elmo-folder-append-messages-*-filter): Ditto.
597 * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
599 * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
600 (elmo-folder-append-messages-*-pipe): Renamed from
601 `elmo-folder-append-messages'.
603 * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
605 * elmo-file.el (elmo-file-folder): Ditto.
607 * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
609 * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
610 from `elmo-folder-append-messages'
612 2006-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
614 * elmo-map.el (elmo-location-map-setup): Change an argument
615 `locations' to optional.
616 (elmo-location-map-clear): Abolish.
617 (elmo-folder-clear): Follow the API change.
619 * elmo-pop3.el (elmo-folder-clear): Ditto.
621 * elmo-pop3.el (toplevel): Require elmo-map.
622 (elmo-pop3-folder): Inherit elmo-location-map and abolish
623 location-alist slot (All other related portions are changed).
624 (elmo-pop3-folder-use-uidl): New function.
625 (elmo-folder-msgdb-create): Don't sort message entities.
626 (elmo-pop3-sort-msgdb-by-original-number): Abolish.
627 (elmo-pop3-number-to-size): Convert return value to number.
628 (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
631 * elmo-map.el: Use `location-map' as a variable name for instance
633 (elmo-location-map-setup): Return location alist.
634 (elmo-location-map-update): Ditto.
636 2006-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
638 * elmo-map.el (elmo-location-map): New class; split location and
639 number mapping from elmo-map-folder (All other related portions
642 * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
645 * elmo-version.el (elmo-version): Up to 2.15.4.
647 2006-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
649 * elmo-vars.el (elmo-use-hardlink): New user option.
651 * elmo-util.el (elmo-add-name-to-file): Switch implementations by
654 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
656 (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
657 instead of `*-internal'. Use `elmo-with-progress-display'.
659 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
661 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
662 `elmo-spam-process-messages-as-mbox'.
664 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
666 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
668 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
669 argument BUFFER of `call-process'.
671 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
673 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
675 (elsp-bsfilter-list-spam-files): Ditto.
677 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
679 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
680 (elmo-spam-bsfilter-max-messages-per-process): New use option.
681 (elmo-spam-bsfilter-debug): Fix a group.
682 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
684 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
685 (elsp-bsfilter-list-spam-files): New function.
686 (elmo-spam-list-spam-messages): Define.
687 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
688 (elmo-spam-bsfilter-register-messages): New function.
689 (elmo-spam-register-spam-messages): Define.
690 (elmo-spam-register-good-messages): Ditto.
692 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
694 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
697 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
699 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
700 hash table to test whether a location is exists.
702 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
704 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
705 even if some error occurred.
707 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
708 meaningless unwind-protect.
710 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
711 start-number correctly.
712 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
713 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
715 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
717 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
718 (elmo-folder-initialize): Use it.
719 (elmo-global-flag-replace-referrer): New function.
721 * elmo.el (toplevel): Added autoload setting for
722 `elmo-global-flag-replace-referrer'.
723 (elmo-folder-rename): Rewrite the last change use
724 `elmo-global-flag-replace-referrer'.
726 * elmo-pipe.el (elmo-folder-rename): Call
727 `elmo-global-flag-replace-referrer'.
729 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
731 * elmo.el (elmo-folder-rename): Set meta data for global flags
734 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
736 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
738 (elmo-folder-close): Ditto.
739 (elmo-filter-folder-number-list-loaded-p): New function.
740 (elmo-filter-folder-number-list): Check whether loaded or not.
741 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
742 of `elmo-filter-folder-number-list-internal'.
743 (elmo-folder-delete-messages): Ditto.
744 (elmo-folder-length): Check whether number-list is loaded or not.
746 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
748 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
749 field `real field' into each element of list.
750 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
751 (elmo-msgdb-message-entity-field): Ditto.
752 (modb-entity-ml-info-real-fields): New function.
754 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
756 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
757 `elmo-msgdb-extra-fields'.
759 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
761 * elmo-util.el (elmo-passwd-alist-load): Move point to min
762 position before read.
764 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
766 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
767 (elmo-global-flags-initialize): Ditto.
769 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
771 * elmo-archive.el (toplevel): Don't require emu, std11
774 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
777 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
779 * elmo.el (elmo-folder-confirm-appends): Display folder name.
781 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
783 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
786 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
788 * elmo-maildir.el (elmo-maildir-list-location): Reduce
789 `elmo-get-last-modification-time' call.
791 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
793 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
795 (elmo-maildir-set-mark): Ditto.
796 (elmo-maildir-delete-mark): Ditto.
798 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
800 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
801 optional argument `separators'.
803 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
805 * elmo.el (cache-changed): Abolish.
806 (status-changed): New signal.
807 (elmo-message-killed-p): New generic function and define for
809 (elmo-folder-recover-messages): Ditto.
810 (elmo-message-set-cached): Emit signal `status-changed' instead of
812 (elmo-message-status): New macro.
813 (elmo-message-status-folder): Ditto.
814 (elmo-message-status-number): Ditto.
815 (elmo-message-status-set-flags): Ditto.
816 (elmo-message-status-set-killed): Ditto.
817 (elmo-message-status-flags): New function.
818 (elmo-message-status-cached-p): Ditto.
819 (elmo-message-status-killed-p): Ditto.
821 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
822 `status-changed' instead of `cache-changed'.
823 (elmo-folder-recover-messages): Define.
824 (elmo-message-killed-p): Ditto.
826 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
827 `status-changed' instead of `cache-changed'.
829 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
830 (elmo-message-killed-p): Define.
831 (elmo-folder-recover-messages): Ditto.
833 * elmo-version.el (elmo-version): Up to 2.15.3.
835 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
837 * elmo-signal.el (elmo-signal-bindings): Use cons to append
839 (elmo-define-signal-handler): Add docstring.
840 (elmo-define-signal-filter): Ditto.
842 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
844 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
846 * elmo-util.el (elmo-flatten): Don't use recursive call.
848 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
850 (elmo-folder-message-make-temp-files): Use `number-to-string'
851 instead of `int-to-string'.
853 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
855 * elmo-search.el (elmo-folder-delete-messages): Define.
857 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
859 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
861 (elmo-mailing-list-count-spec-list): Ditto.
863 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
866 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
868 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
871 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
873 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
874 (elmo-mailing-list-count-spec-list): Ditto.
876 * elmo-util.el (elmo-map-until-success): New function.
877 (elmo-string-match-substring): Ditto.
878 (elmo-find-list-match-value): Ditto.
880 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
882 (modb-entity-extract-ml-info-from-subject): Ditto.
883 (modb-entity-extract-ml-info-from-return-path): Ditto.
884 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
885 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
886 (modb-entity-extract-ml-info-from-mailman): Ditto.
887 (modb-entity-extract-mailing-list-info-functions): Ditto.
888 (modb-entity-extract-mailing-list-info): Rewrite with
889 `elmo-find-list-match-value'.
891 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
893 * elmo-net.el (elmo-network-session-retry-count): New user option.
894 (elmo-network-session-buffer-name): New internal function.
895 (elmo-network-session-buffer-create): Ditto.
896 (elmo-network-open-session): Retry open network session
897 `elmo-network-session-retry-count' times.
899 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
901 * elmo-util.el (elmo-list-filter): Rewritten.
903 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
905 * elmo-util.el (elmo-string-member): Allow symbol element in list.
907 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
909 * elmo-search.el (elmo-make-search-engine): Use prefix
910 `elmo-search-' for require symbol instead of `else-'.
911 (elmo-search-engine-extprog): New class.
912 (elmo-search-engine-do-search): Remove nil from argument
913 list. Added argument pattern to evaluate element as function.
914 (elmo-search-engine-local-file): Derived from
915 `elmo-search-engine-extprog'.
916 (elmo-search-engine-create-message-entity): Check existance of file.
917 (elmo-search-engine-fetch-message): Ditto.
918 (elmo-search-namazu-index): Follow the API change.
919 (elmo-search-grep-target): Ditto.
921 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
923 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
924 characters of working buffer.
926 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
927 Does not bind `default-mime-charset'.
928 (elmo-msgdb-create-message-entity-from-buffer): Removed
929 unnecessary local bind.
931 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
933 (modb-entity-extract-mailing-list-info-functions): Added it.
935 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
937 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
938 when number and message-id are non-nil.
940 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
942 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
943 conditional steatment.
944 (elmo-pop3-auth-apop): Likewise.
945 (elmo-network-authenticate-session): Likewise.
947 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
949 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
950 symbol `fill-column'.
951 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
954 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
955 (elmo-decoded-field-body): Ditto.
957 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
959 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
960 `tokens' to `params'.
962 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
964 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
967 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
969 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
972 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
974 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
975 Set default value as nil.
976 (toplevel): Register search engines by
977 `elmo-search-register-engine' if there are not defined.
979 * elmo.el (autoload): Added autoload setting for
980 `elmo-search-register-engine'.
982 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
984 * elmo.el (toplevel): `[' is redefined as the prefix of the search
985 folder instead of nmz folder.
986 (elmo-nmz-default-index-path): Added obsolete variable setting.
987 (elmo-nmz-index-alias-alist): Ditto.
988 (elmo-nmz-use-drive-letter): Ditto.
990 * elmo-search.el (elmo-search-register-engine): New function.
992 * elmo-nmz.el: Removed.
994 * elmo-version.el (elmo-version): Up to 2.15.2.
996 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
998 * elmo-search.el: New file.
1000 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1002 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
1003 condition `larger' and `smaller'.
1005 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1007 * elmo-util.el (elmo-safe-filename): Rewrite to replace
1008 `"' (double quote) into "_Q_".
1010 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1012 * elmo-net.el (elmo-net-quote-chars): Abolish.
1013 (elmo-net-format-quoted): Ditto.
1015 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1017 * elmo.el (elmo-get-folder-function): New variable.
1018 (elmo-get-folder): New function.
1019 (elmo-folder-rename): Call `elmo-make-folder' with specified
1022 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1024 (elmo-split-subr): Ditto.
1026 * elmo-multi.el (elmo-folder-initialize): Ditto.
1028 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1030 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1031 (elmo-flag-get-folder): Ditto.
1033 * elmo-filter.el (elmo-folder-initialize): Ditto.
1035 * elmo-access.el (elmo-folder-initialize): Ditto.
1036 (elmo-access-folder-update-children): Ditto.
1038 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1039 (elmo-dop-queue-flush): Ditto.
1040 (elmo-folder-append-buffer-dop-delayed): Ditto.
1041 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1044 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1045 instead of `elmo-make-folder'.
1046 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
1047 destination folder instead of send `elmo-folder-rename-internal'.
1049 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1050 slot of subfolder instead of create it.
1052 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1054 * elmo-util.el (elmo-collect-separators): New function.
1055 (elmo-collect-separators-internal): Ditto.
1056 (elmo-collect-trail-separators): Ditto.
1057 (elmo-parse-separated-tokens): Ditto.
1058 (elmo-parse-separated-tokens-internal): Ditto.
1059 (elmo-quote-syntactical-element): Ditto.
1061 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1062 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1064 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1065 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1066 (elmo-nntp-folder-list-subfolders): Quote a user name.
1068 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1069 (elmo-net-parse-network): Abolish.
1070 (elmo-net-folder-set-parameters): New function.
1071 (elmo-folder-initialize): Follow the above change.
1073 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1074 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1075 (elmo-folder-list-subfolders): Use
1076 `elmo-quote-syntactical-element' instead of
1077 `elmo-net-format-quoted' to quote mailbox and user name.
1079 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1081 * elmo-util.el (elmo-token-valid-p): New function.
1082 (elmo-parse-token): Add optional argument `requirement'.
1083 (elmo-parse-prefixed-element): Likewise.
1085 * elmo-net.el (elmo-net-quote-chars): Renamed from
1086 `elmo-net-quote-chars-regexp'.
1087 (elmo-net-format-quoted): Add optional argument `extra-chars'.
1089 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1090 by info document. Check token `uidl' is started an alphabet.
1092 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1093 by info document. Check token `user' is started an alphabet.
1095 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1096 (elmo-folder-list-subfolders): Quote user.
1098 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1100 * elmo-util.el (elmo-quoted-specials-list): New constant.
1101 (elmo-quoted-token): New function.
1103 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1104 (elmo-net-format-quoted): New function.
1105 (elmo-net-parse-network): Ditto.
1106 (elmo-folder-initialize): Use it.
1108 * elmo-nntp.el (elmo-folder-initialize): Use
1109 `elmo-net-parse-network' to parse network specification instead of
1110 `elmo-folder-initialize#elmo-net'.
1112 * elmo-pop3.el (elmo-folder-initialize): Ditto.
1114 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1115 (elmo-folder-list-subfolders): Quote folder name by
1116 `elmo-net-format-quoted'.
1118 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1120 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1121 (elmo-folder-search): Use it.
1123 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1125 * modb-standard.el (modb-standard-loaded-message-id): Use
1126 `elmo-msgdb-message-entity-field'.
1128 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1130 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1133 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
1135 * elmo-util.el (elmo-set-auto-coding): New function.
1136 (elmo-object-load): Use it.
1138 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1140 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1141 (elmo-time<): Define as alias of `elmo-time-less-p'.
1142 (elmo-time-to-datevec): New function.
1144 * elmo-date.el (elmo-time-to-days): New function.
1146 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1148 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1151 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1153 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1156 * elmo-util.el (elmo-map-recursive): New function.
1158 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1159 (modb-entity-encode-string-recursive): Ditto.
1161 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
1163 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1164 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1165 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1166 compare sequence number when last modified time is nil.
1168 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1170 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1172 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1174 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
1176 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1177 modification time of the file.
1179 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1181 * elmo-util.el (elmo-condition-optimize): Discriminated against
1182 preserved fields, extra fields and the other weight.
1184 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1186 * modb-entity.el (initialize-instance): Define.
1187 (modb-entity-handler-mime-charset): New internal function.
1188 (modb-standard-entity-set-field): Use it.
1189 (elmo-msgdb-message-entity-field): Ditto.
1190 (elmo-msgdb-message-entity-field): Ditto.
1192 * modb.el (elmo-msgdb-match-condition): Rewrite with
1193 `elmo-condition-match'.
1194 (elmo-msgdb-match-condition-primitive): New function.
1196 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1197 arguments `flags' and `numbers'.
1198 (elmo-msgdb-match-condition-primitive): Abolished (merged to
1199 `elmo-msgdb-message-match-condition').
1200 (modb-buffer-entity-handler): New class.
1202 * elmo.el (elmo-folder-search): Optimize condition to use
1203 `elmo-condition-optimize'.
1204 (elmo-message-buffer-match-condition): New function.
1205 (elmo-message-match-condition): Use
1206 `elmo-message-buffer-match-condition' instead of
1207 `elmo-buffer-field-condition-match'.
1209 * elmo-util.el (elmo-condition-match): New function.
1210 (elmo-condition-optimize): Ditto.
1211 (elmo-buffer-field-primitive-condition-match): Abolish.
1212 (elmo-buffer-field-condition-match): Ditto.
1214 * elmo-archive.el (elmo-archive-field-condition-match): Use
1215 `elmo-message-buffer-match-condition' instead of
1216 `elmo-buffer-field-condition-match'.
1218 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1220 * elmo-flag.el (elmo-global-flags-initialize): Check the
1221 existence of the flag directory.
1223 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1225 * elmo-access.el (elmo-folder-initialize): Call
1226 `elmo-multi-connect-signals'.
1228 * elmo-pipe.el (elmo-folder-close): Define.
1230 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1233 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1236 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1239 * elmo-multi.el (elmo-message-entity): Don't use return value of
1240 `elmo-message-entity-set-number'.
1242 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1244 * modb.el (modb-generic): Added slot `mime-charset'.
1246 * modb-standard.el (modb-standard): Added slot `overview-handler'.
1247 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1248 and `modb-entity-handler-dump-parameters'.
1249 (modb-standard-default-entity-handler): Abolish.
1250 (elmo-msgdb-message-entity-handler): Save created handler by
1253 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1254 (modb-entity-handler-list-parameters): New method.
1255 (modb-entity-handler-equal-p): New function.
1256 (modb-entity-handler-dump-parameters): Ditto.
1257 (modb-entity-parse-address-string): Encode return value.
1258 (modb-entity-make-address-string): Decode argument value.
1259 (modb-entity-decode-string-recursive): New function.
1260 (modb-entity-encode-string-recursive): Ditto.
1261 (modb-standard-entity-normalizer): Set to encode field value.
1262 (modb-standard-entity-specializer): Follow the above change.
1263 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1264 mime-charset of handler.
1265 (elmo-msgdb-message-entity-field): Ditto.
1266 (elmo-msgdb-copy-message-entity): Fixed reference to internal
1268 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1270 * elmo.el (elmo-folder): Added slot `mime-charset'.
1271 (elmo-make-folder): Added argument `mime-charset'.
1272 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1275 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1276 (elmo-make-msgdb): Likewise.
1278 * elmo-internal.el (elmo-internal-folder-initialize): Call
1279 `luna-make-entity' with :mime-charset parameter.
1281 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
1283 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1284 encoded words in `from' and `subject' field.
1286 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1288 * modb.el (elmo-msgdb-message-field): Add argument `type'.
1289 (elmo-msgdb-match-condition): Get handler from entity instead of
1292 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1293 (modb-standard-load-entity): Treat new file format.
1294 (modb-standard-save-entity-1): Save as new file format.
1295 (modb-standard-save-entity): Split messages into section here.
1296 (elmo-msgdb-message-field): Follow the API change.
1297 (modb-standard-default-entity-handler): New internal variable.
1298 (elmo-msgdb-message-entity-handler): Define.
1300 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1302 (modb-entity-field-extractor-alist): New user option.
1303 (elmo-msgdb-message-entity-field): Removed argument `decode' and
1304 added argument `type'.
1305 (elmo-msgdb-copy-message-entity): Add optional argument
1307 (modb-set-field-converter): New function.
1308 (modb-convert-field-value): Ditto.
1309 (modb-entity-string-decoder): Ditto.
1310 (modb-entity-string-encoder): Ditto.
1311 (modb-entity-parse-date-string): Ditto.
1312 (modb-entity-make-date-string): Ditto.
1313 (modb-entity-mime-decoder): Ditto.
1314 (modb-entity-mime-encoder): Ditto.
1315 (modb-entity-address-list-decoder): Ditto.
1316 (modb-entity-address-list-encoder): Ditto.
1317 (modb-entity-parse-address-string): Ditto.
1318 (modb-entity-make-address-string): Ditto.
1319 (modb-entity-create-field-indices): Ditto.
1320 (modb-legacy-entity-field-slots): New constant.
1321 (modb-legacy-entity-field-indices): Ditto.
1322 (modb-legacy-entity-normalizer): New variable.
1323 (modb-legacy-entity-specializer): Ditto.
1324 (modb-legacy-entity-field-index): New macro.
1325 (modb-legacy-entity-set-field): New function.
1326 (modb-legacy-make-message-entity): Rewrite.
1327 (elmo-msgdb-create-message-entity-from-buffer): Use
1328 `elmo-msgdb-get-references-from-buffer'. Use
1329 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1330 Use `modb-legacy-entity-set-field' instead of
1331 `elmo-msgdb-message-entity-set-field'.
1332 (elmo-msgdb-message-entity-field): Rewrite.
1333 (elmo-msgdb-message-entity-set-field): Ditto.
1334 (elmo-msgdb-copy-message-entity): Make new entity by
1335 `make-handler' if it specified.
1336 (elmo-msgdb-message-match-condition): Define a method of
1337 `modb-entity-handler' and follow the API change.
1338 (modb-standard-entity-handler): New class.
1339 (modb-entity-extract-ml-info-from-x-sequence): New function.
1340 (modb-entity-extract-ml-info-from-subject): Ditto.
1341 (modb-entity-extract-ml-info-from-return-path): Ditto.
1342 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1343 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1344 (modb-entity-extract-mailing-list-info): Ditto.
1345 (modb-entity-extract-mailing-list-info-functions): New variable.
1347 * elmo.el (elmo-message-field): Add optional argument `type'.
1349 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1350 from `modb-entity.el'.
1352 * elmo-util.el (elmo-object-load): Decode by coding-system from
1353 `set-auto-coding-function'.
1354 (elmo-object-save): Use `detect-mime-charset-region' and add
1355 coding cookie if encode.
1356 (elmo-msgdb-get-references-from-buffer): New function.
1357 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1359 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1361 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1362 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1363 instead of `shimbun-make-header' and follow the API change.
1364 (elmo-shimbun-update-overview): Follow the API change.
1365 (elmo-map-folder-list-message-locations): Ditto.
1367 * elmo-pipe.el (elmo-message-field): Ditto.
1369 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1372 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1374 * elmo-multi.el (elmo-message-field): Ditto.
1376 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1377 (elmo-msgdb-sort-by-date): Ditto.
1378 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1379 `elmo-message-entity-field'.
1380 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1382 (elmo-msgdb-overview-entity-get-from): Ditto.
1383 (elmo-msgdb-overview-entity-get-subject): Ditto.
1384 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1385 (elmo-msgdb-overview-entity-get-date): Ditto.
1386 (elmo-msgdb-overview-entity-get-to): Ditto.
1387 (elmo-msgdb-overview-entity-get-cc): Ditto.
1389 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1390 (elmo-mime-collect-message/partial-pieces): Ditto.
1392 * elmo-filter.el (elmo-message-field): Ditto.
1394 * elmo-date.el (elmo-datevec-to-time): New function.
1395 (elmo-time-parse-date-string): Ditto.
1396 (elmo-time-make-date-string): Ditto.
1397 (elmo-time<): Ditto.
1399 * elmo-version.el (elmo-version): Up to 2.15.1.
1401 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
1403 * elmo-flag.el (elmo-global-flags-initialize): Don't include
1404 member of elmo-local-flags.
1406 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
1408 * elmo-version.el (elmo-version): Up to 2.15.0.
1410 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1412 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1413 `ignore-msgdb' is non-nil.
1415 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1417 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1418 (elmo-condition-in-msgdb-p): Ditto.
1419 (elmo-file-field-primitive-condition-match): Ditto.
1420 (elmo-file-field-condition-match): Ditto.
1422 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1424 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1426 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1427 subdirectories here.
1428 (elmo-global-flags-initialize): New function.
1430 * elmo.el (toplevel): Added autoload setting for
1431 `elmo-global-flags-initialize'.
1433 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
1435 * elmo.el (message-number-changed): Define new signal.
1436 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1437 message-number-changed signal.
1438 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1439 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1440 Respect `elmo-pack-number-check-strict'.
1442 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1444 * elmo-signal.el (elmo-connect-signal): Document.
1445 (elmo-emit-signal): Ditto.
1446 (elmo-emit-signal): It should pass source argument to filter and
1447 handler, not slot-source.
1449 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1451 * modb.el (elmo-msgdb-update-entity): New API and define generic
1454 * modb-standard.el (elmo-msgdb-update-entity): Define.
1456 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1457 API and define generic implement.
1459 * elmo.el (update-overview): New singnal.
1461 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1462 `elmo-msgdb-update-entity' and emit signal `update-overview'.
1463 (elmo-message-entity-parent): Define.
1465 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1468 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1470 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1472 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
1474 * elmo.el (elmo-folder-synchronize): Sort the return value of
1477 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1480 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1482 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1483 `default-enable-multibyte-characters'.
1484 (elmo-object-load): Use `with-temp-buffer' instead of
1485 `elmo-set-work-buf'.
1486 (elmo-object-save): Ditto.
1487 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1488 `elmo-set-work-buf'.
1489 (elmo-decoded-field-body): Ditto.
1491 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1493 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1494 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1496 * elmo-version.el (elmo-version): Up to 2.13.3.
1498 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
1500 * elmo-util.el (elmo-list-diff): Fix the last change.
1501 Reverse order of result lists.
1503 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
1505 * modb-standard.el (elmo-msgdb-set-flag): Use
1506 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1507 (elmo-msgdb-unset-flag): Ditto.
1509 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1512 * elmo-util.el (elmo-list-diff): Rewrite.
1513 (elmo-list-diff-nonsortable): New function.
1515 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
1517 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1518 `elmo-multibypte-buffer-name'. All referers are updated.
1520 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1522 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1523 (elmo-mime-entity-fragment-p): New function.
1524 (mime-elmo-buffer-entity): Added slot `reassembled'.
1525 (elmo-message-mime-entity): Added 4th argument `reassemble'.
1526 (elmo-message-mime-entity-internal): New function (renamed from
1527 `elmo-message-mime-entity').
1528 (elmo-mime-inherit-field-list-from-enclosed): New constant.
1529 (elmo-mime-make-reassembled-mime-entity): New function.
1530 (elmo-message-reassembled-mime-entity): Ditto.
1531 (elmo-mime-collect-message/partial-pieces): Ditto.
1533 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1535 * elmo.el (elmo-message-fetch-string): Disable multibyte.
1537 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1538 (elmo-with-enable-multibyte): New macro.
1540 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1542 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1544 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1546 (elmo-filter-connect-signals): Follow the above change.
1548 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
1550 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1552 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1553 that only the first flag is used.
1555 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1557 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1560 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1562 * elmo-signal.el: New file.
1564 * elmo.el (toplevel): Require elmo-signal.
1565 (flag-changing, flag-changed, cache-changed): New signal.
1566 (elmo-folder): Remove slog `handlers'.
1567 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1568 `elmo-folder-notify-event'.
1569 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1570 (elmo-folder-unset-flag): Ditto.
1571 (elmo-event-handler): Abolish.
1572 (elmo-event-handler-flag-changed): Ditto.
1573 (elmo-event-handler-cache-changed): Ditto.
1574 (elmo-folder-add-handler): Ditto.
1575 (elmo-folder-remove-handler): Ditto.
1576 (elmo-folder-notify-event): Ditto.
1578 * elmo-pipe.el (toplevel): Require elmo-signal.
1579 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1580 (elmo-pipe-connect-signals): New function.
1581 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1582 (elmo-folder-set-flag): Ditto.
1583 (elmo-folder-unset-flag): Ditto.
1584 (elmo-message-set-cached): Ditto.
1586 * elmo-multi.el (toplevel): Require elmo-signal.
1587 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1588 (elmo-multi-connect-signals): New function.
1589 (elmo-multi-map-numbers): Ditto.
1590 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1591 (elmo-message-fetch): Ditto.
1592 (elmo-folder-set-flag): Ditto.
1593 (elmo-folder-unset-flag): Ditto.
1595 * elmo-filter.el (toplevel): Require elmo-signal.
1596 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1597 (elmo-filter-connect-signals): New function.
1598 (elmo-filter-add-flag-count): Ditto.
1599 (elmo-message-fetch): Does not call
1600 `elmo-filter-folder-countup-message-flags' and
1601 `elmo-folder-notify-event'.
1602 (elmo-message-set-cached): Ditto.
1603 (elmo-folder-set-flag): Ditto.
1604 (elmo-folder-unset-flag): Ditto.
1606 * elmo-version.el (elmo-version): Up to 2.13.2.
1608 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1610 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1613 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1615 * elmo-filter.el (elmo-message-set-cached): Call
1616 `elmo-folder-notify-event' with event `cache-changed'.
1618 * elmo-multi.el (elmo-message-set-cached): Ditto.
1620 * elmo-pipe.el (elmo-message-set-cached): Ditto.
1622 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
1624 * elmo.el (elmo-folder-encache): Abolish.
1626 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1628 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1629 (elmo-folder-next-message-number-dop): Return appropriate negative
1632 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1634 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1635 clearing pending operations.
1636 (elmo-folder-next-message-number-dop): Return appropriate negative
1639 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1641 * elmo.el (toplevel): Added autoload setting for `md5'.
1642 (elmo-msgdb-path-encode-threshold): New user option.
1643 (elmo-folder-msgdb-path): Encode msgdb path if its length is
1644 longer than `elmo-msgdb-path-encode-threshold'.
1646 * elmo-flag.el (elmo-global-mark-migrate): Use
1647 `elmo-folder-expand-msgdb-path' instead of
1648 `elmo-folder-msgdb-path'.
1650 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1652 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1653 element of the difference is nil.
1655 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
1657 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1658 to the check logic of file systems which are weak in colon character.
1660 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1662 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1664 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1666 * elmo-maildir.el (elmo-maildir-move-file): New function.
1667 (elmo-folder-append-buffer): Use it.
1668 (elmo-folder-append-messages): Ditto.
1669 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1671 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1672 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1674 * elmo-maildir.el (elmo-maildir-separator): New user option.
1675 (elmo-maildir-adjust-separator): New macro.
1676 (elmo-maildir-list-location): Use it.
1677 (elmo-maildir-update-current): Ditto.
1678 (elmo-maildir-set-mark): Ditto.
1679 (elmo-maildir-delete-mark): Ditto.
1680 (These changes are based on Hiroya Murata's patch [wl: 13437])
1682 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1684 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1686 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1688 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1689 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1690 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1692 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1694 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1695 Use `with-temp-buffer'.
1697 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1699 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1701 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1702 `wl-read-search-condition').
1703 (elmo-read-search-condition-internal): Likewise.
1705 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1706 (elmo-flag-valid-p): New function.
1707 (elmo-folder-initialize): Check flag name is valid.
1709 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1711 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1712 delimiter to obtain root mailbox itself.
1714 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1716 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1719 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1721 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1724 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1726 * elmo-shimbun.el (toplevel): Require cl at compile.
1728 * elmo-nntp.el (toplevel): Ditto.
1730 * elmo-nmz.el (toplevel): Ditto.
1732 * elmo-multi.el (toplevel): Ditto.
1734 * elmo-file.el (toplevel): Ditto.
1736 * elmo-dop.el (toplevel): Ditto.
1738 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1740 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1742 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1745 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1746 size of elmo-message-fetch-internal is 0 byte.
1748 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1750 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1752 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1754 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1757 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1759 * elmo-maildir.el (elmo-map-message-fetch): Call
1760 `elmo-map-folder-set-flag'.
1762 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1763 (elmo-message-fetch): Merge from
1764 `elmo-message-fetch-with-cache-process'.
1766 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1767 (elmo-message-fetch): Define.
1769 * elmo-nntp.el (elmo-message-fetch): Renamed from
1770 `elmo-message-fetch-with-cache-process'.
1772 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1773 (elmo-message-fetch): Define.
1775 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1778 * elmo-shimbun.el (shimbun-mua-search-id): Use
1779 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1780 (elmo-shimbun-folder-shimbun-header): Ditto.
1781 (elmo-shimbun-get-headers): Ditto.
1782 (elmo-shimbun-update-overview): Ditto.
1784 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1786 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1787 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1789 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1791 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1793 (elmo-message-fetch-string): Fixed argument.
1795 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1797 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1798 exchange order of arguments `section' and `unread'.
1799 (elmo-message-encache): Follow the API change.
1800 (elmo-message-match-condition): Ditto.
1801 (elmo-generic-folder-append-messages): Ditto.
1802 (elmo-message-fetch-string): New function.
1804 * elmo-split.el (elmo-split-subr): Ditto.
1806 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1808 * elmo-pipe.el (elmo-message-fetch): Ditto.
1810 * elmo-multi.el (elmo-message-fetch): Ditto.
1812 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1814 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1816 * elmo-filter.el (elmo-message-fetch): Ditto.
1818 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1820 * elmo-imap4.el (mime-imap-location-section-body): Use
1821 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1822 follow the API change.
1824 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1826 * elmo-access.el: New file.
1828 * elmo-null.el: Ditto.
1830 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1832 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1834 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1835 (elmo-network-session): New attribute `last-accessed'.
1836 (elmo-network-get-session): Discard network cache if elapsed time
1837 since last-accessed is larger than elmo-network-session-idle-timeout.
1839 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1841 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1842 and added `number', `require-entireness'.
1843 (elmo-find-fetch-strategy): Rewrite.
1844 (elmo-message-fetch): Unset `unread' flag when argument unread is
1847 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1849 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1850 (elmo-message-fetch): Notify event `flag-changed'.
1852 * elmo-pipe.el: Likewise.
1854 * elmo-mime.el (elmo-mime-entity): New class.
1855 (elmo-mime-entity-display-p): New generic function.
1856 (elmo-mime-entity-display): Ditto.
1857 (elmo-mime-entity-display-as-is): Ditto.
1858 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1860 (elmo-make-mime-message-location): Removed.
1861 (elmo-mime-message-display): Ditto.
1862 (elmo-mime-display-as-is): Ditto.
1863 (elmo-message-mime-entity): New function.
1865 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1867 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1869 (elmo-message-fetch): Re-count flagged message number and notify
1870 event `flag-changed'.
1872 * elmo-version.el (elmo-version): Up to 2.13.1.
1874 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1876 * elmo-filter.el (elmo-message-field): Define.
1877 (elmo-message-set-field): Ditto.
1879 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1881 * elmo.el (elmo-message-set-cached): Call
1882 `elmo-folder-notify-event' with cache-changed.
1883 (elmo-event-handler-cache-changed): New generic function.
1885 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1887 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1888 instead of elmo-add-name-to-file.
1889 (elmo-folder-append-messages): Ditto.
1891 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1893 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1895 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1897 * elmo-version.el (elmo-version): Up to 2.13.0.
1899 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1902 * modb-standard.el (modb-standard-economize-entity-size): Changed
1903 default value to `t'.
1905 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1908 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1909 after parsing greeting string.
1911 2004-11-23 Daishi Kato <daishi@axlight.com>
1913 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1915 (elmo-spam-spamoracle-call): Use it.
1917 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1919 * elmo.el (elmo-message-accessible-p): Message in dop spool
1922 2004-11-23 Daishi Kato <daishi@axlight.com>
1924 * elsp-spamoracle.el: New file.
1926 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1928 * elmo.el (elmo-message-flags-for-append): New function.
1929 (elmo-generic-folder-append-messages): Use it.
1931 * elmo-split.el (elmo-split-subr): Ditto.
1933 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1934 `flags' and use elmo-folder-append-buffer instead of
1935 write-region-as-binary.
1936 (elmo-dop-filter-pending-messages): New function.
1937 (elmo-folder-append-buffer-dop): Call
1938 elmo-dop-spool-folder-append-buffer with `flag'.
1939 (elmo-folder-set-flag-dop): Filter messages by
1940 elmo-dop-filter-pending-messages.
1941 (elmo-folder-unset-flag-dop): Ditto.
1942 (elmo-folder-append-buffer-dop-delayed): Use
1943 elmo-message-flags-for-append to get flags of the message and
1946 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1948 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1950 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1952 * elmo.el (elmo-folder): Added handlers slot.
1953 (elmo-event-handler): New class.
1954 (elmo-event-handler-flag-changed): New API.
1955 (elmo-folder-add-handler): New function.
1956 (elmo-folder-remove-handler): Ditto.
1957 (elmo-folder-notify-event): Ditto.
1958 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1960 (elmo-folder-unset-flag): Ditto.
1962 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1963 (elmo-folder-unset-flag): Ditto.
1965 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1966 (elmo-folder-unset-flag): Ditto.
1968 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1969 (elmo-folder-unset-flag): Ditto.
1971 * elmo-version.el (elmo-version): Up to 2.11.33.
1973 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1975 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1977 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1979 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1981 * elmo-flag.el (elmo-folder-unset-flag): Define.
1982 (elmo-global-flag-detach): Do process when the flag is not target
1985 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1987 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1989 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1991 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1993 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1995 (elmo-folder-delete-messages): Detach messages before delete
1996 messages from target folder.
1997 (elmo-folder-detach-messages): Set updated number-list to slot.
1999 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2001 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
2003 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2005 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
2007 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2009 * elmo.el (elmo-folder-delete-messages-internal): New API (for
2011 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
2013 (elmo-folder-delete-messages): Define.
2014 (elmo-folder-move-messages): Don't call
2015 `elmo-folder-detach-messages'.
2016 (elmo-folder-synchronize): Rewrite.
2017 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
2019 * elmo-util.el (elmo-last): New function.
2020 (elmo-set-list): Ditto.
2021 (elmo-number-set-delete-list): Ditto.
2022 (elmo-number-set-delete): Ditto.
2024 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2026 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2027 `elmo-folder-delete-messages' and don't delete location map.
2028 (elmo-folder-detach-messages): Define.
2030 * elmo-imap4.el (elmo-folder-delete): Use
2031 `elmo-folder-delete-messages-internal' instead of
2032 `elmo-folder-delete-messages'.
2034 * elmo-filter.el (elmo-folder-delete-messages): Call
2035 `elmo-folder-detach-messages'.
2036 (elmo-folder-detach-messages): Don't call
2037 `elmo-folder-detach-messages' for target folder.
2039 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2040 message deletion is succeeded.
2042 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2044 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2045 from `elmo-folder-delete-messages'.
2047 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2049 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2051 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2053 * elmo-version.el (elmo-version): Up to 2.11.32.
2055 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
2057 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2058 (elmo-global-flag-list): Added obsolete variable setting.
2060 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2062 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2063 (elmo-mime-insert-header-from-buffer): Don't decode header content when
2064 `elmo-mime-display-header-analysis' is nil.
2066 * elmo-flag.el (elmo-global-flags): Renamed from
2067 `elmo-global-flag-list' (All other related portions are changed).
2068 (elmo-local-flags): New variable.
2069 (elmo-local-flag-p): New function.
2070 (elmo-global-flag-set-internal): Cause an error when flag is not
2073 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
2075 * elmo-util.el (elmo-concat-path): Treat empty path.
2077 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2079 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2081 (elmo-split-address-match): Ditto.
2082 (elmo-split-equal): Ditto.
2083 (elmo-split-match): Ditto.
2085 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
2087 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2088 (elmo-generic-folder-append-messages): If src message exists but
2089 has no flag, pass (read) for the FLAG argument of
2090 `elmo-folder-append-buffer'. Otherwise, pass nil.
2092 * elmo-split.el (elmo-split-subr): Likewise.
2094 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2096 * elmo-multi.el (elmo-message-flags): Ditto.
2098 * elmo-filter.el (elmo-message-flags): Ditto.
2100 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2101 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2102 pass (read) for the FLAG argument of elmo-folder-append-buffer.
2104 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
2106 * elmo-split.el (elmo-split-rule): Update comment.
2107 (elmo-split-address-equal): Allow 2nd argument to be a list.
2108 (elmo-split-address-match): Ditto.
2109 (elmo-split-equal): Ditto.
2110 (elmo-split-match): Ditto.
2112 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
2114 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2115 (elmo-folder-append-msgdb): Don't treat `read'.
2116 (elmo-message-flags): Don't return `read'.
2118 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2119 (elmo-folder-unset-read-delayed): Ditto.
2121 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2123 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
2125 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2128 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2130 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2133 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
2135 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2137 (elmo-msgdb-save): Bind inhibit-quit.
2138 (modb-standard-message-entity): Ditto.
2140 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2142 * elmo-database.el: No need to require elmo-msgdb.
2144 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2146 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2147 instead of `elmo-list-subdirectories'.
2149 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2151 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2153 (elmo-folder-exists-p): "[" is empty.
2154 (elmo-folder-list-subfolders): Define.
2155 (elmo-folder-have-subfolder-p): Ditto.
2157 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
2159 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2161 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
2163 * elmo-filter.el (elmo-folder-local-p): Define.
2165 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2167 * modb-standard.el (modb-standard-loaded-message-id): Return nil
2168 when entity is garbaged.
2169 (modb-standard-save-entity-1): Don't modify the original entity.
2171 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
2173 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2175 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2177 * elmo.el (elmo-strict-folder-diff): Use
2178 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2180 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2182 * modb.el (elmo-msgdb-flag-available-p): New generic function.
2183 (elmo-msgdb-message-number): Ditto.
2184 (elmo-msgdb-message-field): Ditto.
2186 * modb-standard.el (modb-standard-economize-entity-size): New user
2188 (modb-standard-loaded-message-id): New inline function.
2189 (modb-standard-load-entity): Use it.
2190 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2191 throw message-id string away.
2192 (elmo-msgdb-flag-available-p): Define.
2193 (elmo-msgdb-message-number): Ditto.
2194 (elmo-msgdb-message-field): Ditto.
2196 * modb-legacy.el (modb-legacy-flag-list): Fix typo
2197 (suppoted -> supported).
2198 (modb-legacy-supported-flag-p): Ditto.
2199 (elmo-msgdb-set-flag): Ditto.
2200 (elmo-msgdb-unset-flag): Ditto.
2201 (elmo-msgdb-flag-available-p): Define.
2203 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2204 is `t', treat it as legacy entity.
2206 * elmo.el (elmo-message-flag-available-p): New generic function.
2207 (elmo-message-number): Ditto.
2208 (elmo-message-field): Use `elmo-msgdb-message-field'.
2210 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2212 * elmo-pipe.el (elmo-message-flag-available-p): Define.
2213 (elmo-message-number): Ditto.
2215 * elmo-multi.el (elmo-message-number): Define.
2216 (elmo-message-flag-available-p): Ditto.
2218 * elmo-filter.el (elmo-message-flag-available-p): Define.
2219 (elmo-message-number): Ditto.
2221 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2222 (elmo-folder-initialize): Load `max-number'.
2223 (elmo-folder-commit): Save it.
2224 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2225 (elmo-global-flag-set-internal): Set up max-number slot.
2227 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2229 * elmo-version.el (elmo-version): Up to 2.11.31.
2231 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
2233 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2234 unibyte string of the current buffer for the argument of `md5'
2235 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2237 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2239 * modb-legacy.el (modb-legacy-flag-list): New constant.
2240 (modb-legacy-suppoted-flag-p): New internal function.
2241 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2242 (elmo-msgdb-unset-flag): Ditto.
2244 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
2246 * elmo.el (elmo-make-folder): Remove text properties for prefix.
2248 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2251 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2253 * elmo-multi.el (elmo-folder-count-flags): Changed return value
2254 (follow the API change).
2256 * elmo-filter.el (elmo-folder-count-flags): Ditto.
2258 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
2260 * modb-standard.el (modb-standard-digest-flags): Abolish.
2261 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2263 * elmo-vars.el (elmo-digest-flags): New variable.
2264 (elmo-preserved-flags): Moved from elmo-flag.el.
2266 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2267 (elmo-imap4-flag-to-imap-criteria): Ditto.
2268 (elmo-imap4-folder-list-flagged): Use it.
2270 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2272 * elmo.el (elmo-folder-count-flags): Changed return value.
2274 * elmo-flag.el (elmo-preserved-flags): New variable.
2275 (elmo-get-global-flags): Use it.
2277 * modb-standard.el (modb-standard-digest-flags): New variable.
2278 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2279 Changed behavior of `any'.
2281 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2282 which are defined the Internet draft
2283 (draft-melnikov-imap-keywords-03.txt).
2284 (elmo-imap4-flags-to-imap): New function.
2285 (elmo-folder-append-buffer): Use it.
2287 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2290 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2291 avoid the bug of Emacs 21.3.
2293 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
2295 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2296 function find-coding-system does not exist.
2298 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2300 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2303 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2305 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2308 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2310 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2311 (elmo-network-close-session): Follow the changes in
2312 `elmo-pop3-read-response'.
2313 (elmo-pop3-auth-user): Ditto.
2314 (elmo-pop3-auth-apop): Ditto.
2315 (elmo-network-initialize-session): Ditto.
2316 (elmo-network-authenticate-session): Ditto.
2317 (elmo-network-setup-session): Ditto.
2318 (elmo-folder-status): Ditto.
2319 (elmo-message-fetch-plugged): Ditto.
2320 (elmo-pop3-delete-msg): Ditto.
2322 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
2324 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2327 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2329 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2331 (elmo-bind-directory): Ditto.
2333 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2335 * elmo.el (elmo-folder-append-messages): Note on return value.
2336 * elmo-archive.el (elmo-folder-append-messages): Don't return
2337 message numbers which could not be appended.
2339 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2341 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2343 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2345 * elmo-version.el (elmo-version): Up to 2.11.30.
2347 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2349 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2352 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2354 * elmo-multi.el (elmo-folder-synchronize): Likewise.
2355 (elmo-multi-split-numbers): Add elmo-folder object into each
2356 element of return value at first.
2357 (elmo-folder-delete-messages): Follow the above change.
2358 (elmo-folder-detach-messages): Ditto.
2360 * elmo-filter.el (elmo-folder-synchronize): Minimize message
2361 number which is synchronized in target folder.
2363 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2365 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2366 Change default value to symbol `all'.
2367 (elmo-map-message-fetch): Change condition to update overview
2370 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2372 * elmo-shimbun.el (elmo-map-message-fetch): Change default
2373 behavior to update overview.
2374 (elmo-shimbun-update-overview-folder-list): Note it.
2376 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2378 * modb-standard.el (modb-standard-message-entity): Avoid infinite
2381 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2383 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2384 buffer-disable-undo, it is unnecessary.
2385 (elmo-spam-register-good-messages): Ditto.
2387 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2390 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2392 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2394 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2395 (elmo-set-work-buf): Use set-buffer-multibyte instead of
2396 elmo-set-buffer-multibyte.
2397 (elmo-object-load): Ditto.
2398 (elmo-save-buffer): Ditto.
2399 (elmo-delete-char): Ditto.
2400 (elmo-file-field-primitive-condition-match): Ditto.
2401 (elmo-mime-string): Ditto.
2403 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2404 (elmo-archive-field-condition-match): Ditto.
2406 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2408 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2410 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2411 (elmo-nntp-msgdb-create-message): Ditto.
2413 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2415 * elmo.el (elmo-message-match-condition): Ditto.
2416 (elmo-message-match-condition): Ditto.
2418 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2421 * elmo-version.el (elmo-version): Up to 2.11.29.
2423 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2424 (elsp-header): New backend.
2426 * elmo-util.el (elmo-decoded-field-body): New function.
2428 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2430 * elmo-version.el (elmo-version): Up to 2.11.28.
2432 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2434 * elmo-filter.el: Rewrite.
2436 * elmo-version.el (elmo-version): Up to 2.11.27.
2438 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
2440 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2441 msgdb path for the localdir folder with absolute path.
2443 * utf7.el: Synch up with latest gnus/utf7.el;
2444 Modified for latest Emacs.
2446 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2448 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2449 shimbun backend couldn't open.
2451 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
2453 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2454 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2455 when a destination folder is a filter folder.
2457 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2459 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2460 (elmo-generic-folder-append-messages): Call elmo-message-flags
2461 with argument `msgid'.
2463 * elmo-split.el (elmo-split-subr): Ditto.
2465 * elmo-pipe.el (elmo-message-flags): Follow the API change.
2467 * elmo-multi.el (elmo-message-flags): Ditto.
2469 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2471 * elmo.el (elmo-folder): Add new slot `flag-table'.
2472 (elmo-folder-flag-table): New API.
2473 (elmo-folder-close-flag-table): Ditto.
2474 (elmo-folder-preserve-flags): New function.
2475 (elmo-generic-folder-append-messages): Use
2476 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2477 Flag of a non-registered message, it sets to nil.
2478 Does not set flag to flag-table.
2480 * elmo-maildir.el (elmo-folder-append-buffer): Use
2481 `elmo-folder-preserve-flags'.
2482 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2483 `elmo-folder-close-flag-table'.
2485 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2486 (elmo-archive-folder-append-buffer): Use
2487 `elmo-folder-preserve-flags'.
2489 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2491 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2493 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2494 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2495 `elmo-folder-close-flag-table'.
2497 * elmo-version.el (elmo-version): Up to 2.11.26.
2499 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2501 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2503 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2504 md5's 4th and 5th argument (non-existent in flim one).
2506 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2508 * elmo-split.el (elmo-split-subr): Flag of a non-registered
2509 message, It sets to nil.
2511 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2513 * elmo.el (elmo-folder-list-messages): Merge lists only if both
2516 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
2518 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2520 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2522 * elmo-util.el (elmo-uniq-sorted-list): New function.
2523 (elmo-make-number-list): Ditto.
2524 (elmo-number-set-to-number-list): Use elmo-make-number-list
2525 and don't use nreverse.
2527 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2529 * elmo-version.el (elmo-version): Up to 2.11.25.
2531 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2533 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2534 field not exists in message, Use md5 message digest of header.
2536 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2538 * elmo.el (elmo-folder-append-buffer): Add note on return value.
2539 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2540 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2541 * elmo-split.el (elmo-split-subr): Check return value of
2542 elmo-folder-append-buffer.
2544 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2545 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2547 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2550 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
2552 * elmo-split.el (elmo-split-subr): Append message with flag.
2554 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2555 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2556 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2558 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
2560 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2561 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2562 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2564 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
2566 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2567 with a function call of `process-buffer'. All callers are updated.
2568 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
2569 Remove redundant `set-buffer' in a while loop.
2571 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
2573 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2576 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2578 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2579 elsp-spamfilter-register-buffer-internal with current buffer.
2580 (elmo-spam-register-spam-buffer): Ditto.
2581 (elmo-spam-register-good-buffer): Ditto.
2583 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2585 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2586 if it is not contained in the response(A workaround for courier-imap).
2588 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2590 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2593 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2595 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2598 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2600 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2603 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2605 (elmo-msgdb-message-match-condition): Follow the change above.
2607 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2609 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2612 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2614 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2616 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2618 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2620 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2622 * elmo-file.el (elmo-file-find): Fixed the problem when file is
2625 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2627 * elmo-file.el (elmo-file-find): Use expand-file-name for return
2629 (elmo-file-command-argument): Undo last change for cygwin.
2630 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2632 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2634 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2636 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2637 value returned from elmo-file-find is nil.
2639 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2641 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2644 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2645 instead of insert-file-contents-as-binary.
2646 (elmo-message-set-field): New generic function.
2648 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2649 behavior change on `split-string'.
2651 * elmo-file.el (elmo-file-find): New function.
2652 (elmo-file-command): New user option.
2653 (elmo-file-command-argument): Ditto.
2654 (elmo-file-fetch-max-size): Ditto.
2655 (elmo-file-detect-format): New function.
2656 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2657 Use elmo-file-detect-format.
2658 (elmo-map-folder-list-message-locations): Don't treat directories.
2660 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2662 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2663 (elmo-passwd-alist-clear): Shred password before clear.
2664 (elmo-remove-passwd): Remove all mached pair.
2666 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2668 * elmo.el (elmo-folder-synchronize): Fix description of the return
2671 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2673 * elmo.el (elmo-message-fetch-bodystructure): New method.
2674 (elmo-message-fetch-bodystructure): Define default.
2676 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2677 elmo-message-fetch-bodystructure.
2678 (elmo-message-fetch-bodystructure): Define.
2680 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2682 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2684 * elmo-filter.el (elmo-message-folder): Define.
2686 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2688 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2689 elmo-delete-cr-buffer.
2691 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2693 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2695 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2697 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2698 type seems to be a text.
2700 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2702 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2703 (elmo-spam-register-good-buffer): Ditto.
2704 (elmo-spam-spamassassin-register-messages): Ditto.
2706 * elmo-util.el (elmo-string-member-ignore-case): Define with
2709 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2711 * elmo.el (elmo-folder-type): Undo last change.
2713 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2715 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2718 * elmo-file.el: New file.
2720 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2722 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2724 (elmo-spam-spamassassin-register-messages): New inline function.
2725 (elmo-spam-register-spam-messages): Define.
2726 (elmo-spam-register-good-messages): Ditto.
2728 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2731 * elmo.el (toplevel): Added autoload setting for
2732 `elmo-get-global-flags'.
2733 (elmo-message-has-global-flag-p): New function.
2734 (elmo-message-set-global-flags): Ditto.
2735 (elmo-folder-type): Improvement for name: format.
2737 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2738 availability of keyword flags.
2739 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2740 (elmo-folder-list-flagged-plugged): Renamed from
2741 elmo-folder-list-flagged-unplugged.
2742 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2743 accept any flag as keyword flag.
2744 (elmo-folder-set-flag-plugged): Accept keyword flags.
2745 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2747 * elmo-flag.el (elmo-get-global-flags): New function.
2749 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2752 * elmo-version.el (elmo-version): Up to 2.11.24.
2754 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2756 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2757 elmo-multiple-field-body instead of std11-field-body to check all
2760 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2762 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2765 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2767 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2768 unintern is unbound.
2770 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2772 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2773 Protect from infinite loop.
2775 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2777 * elsp-bogofilter.el
2778 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2779 (elmo-spam-bogofilter-register-messages): New internal function.
2780 (elmo-spam-register-spam-messages): Define.
2781 (elmo-spam-register-good-messages): Ditto.
2783 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2785 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2786 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2787 (elmo-spam-bogofilter-call): Fixed the last change.
2788 (elmo-spam-bogofilter-arguments): Ditto.
2790 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2791 Follow the options change of latest bogofilter.
2793 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2794 (elmo-spam-bogofilter-good-switch): Ditto.
2795 (elmo-spam-bogofilter-arguments-alist): New user option.
2796 (elmo-spam-bogofilter-debug): Ditto.
2797 (elmo-spam-bogofilter-call): Renamed from
2798 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2799 is non-nil, insert output in buffer for debug.
2800 (elmo-spam-bogofilter-arguments): New macro.
2801 (elmo-spam-buffer-spam-p): Use it.
2802 (elsp-bogofilter-register-buffer): Ditto.
2804 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2806 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2809 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2811 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2813 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2814 (elmo-spam-bsfilter-program): Set default value as full path for
2816 (elmo-spam-bsfilter-debug): New user option.
2817 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2818 non-nil, insert output in buffer for debug. Fix treating of
2821 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2823 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2824 `elmo-maildir-flag-specs' element instead of one.
2825 (elmo-map-folder-unset-flag): Ditto.
2826 (Reported by Ken Makimura <macky@astem.or.jp>)
2828 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2829 (elmo-folder-unset-flag-plugged): Ditto.
2831 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2833 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2834 to `reads' slot only if `in-msgdb' is nil.
2836 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2838 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2839 and complement argument list.
2841 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2843 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2844 instead of elmo-folder-list-flagged.
2846 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2848 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2850 * elsp-bsfilter.el: New file.
2852 * elmo-pipe.el (elmo-folder-list-unreads,
2853 elmo-folder-list-answereds,
2854 elmo-folder-list-importants,
2855 elmo-folder-flag-as-important,
2856 elmo-folder-unflag-important,
2857 elmo-folder-flag-as-read,
2858 elmo-folder-unflag-read,
2859 elmo-folder-flag-as-answered,
2860 elmo-folder-unflag-answered): Remove.
2861 (elmo-folder-set-flag): Define.
2862 (elmo-folder-unset-flag): Ditto.
2864 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2865 (elmo-folder-set-flag): Define.
2866 (elmo-folder-unset-flag): Ditto.
2867 (elmo-folder-list-unreads): Remove.
2868 (elmo-folder-list-flagged): Define.
2870 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2871 (elmo-folder-list-unreads,
2872 elmo-folder-list-importants,
2873 elmo-folder-list-answereds,
2874 elmo-folder-list-unreads-plugged,
2875 elmo-folder-list-importants-plugged,
2876 elmo-folder-list-answereds-plugged): Remove.
2877 (elmo-folder-list-flagged-plugged): New method.
2878 (elmo-folder-unflag-important,
2879 elmo-folder-flag-as-important,
2880 elmo-folder-unflag-read,
2881 elmo-folder-flag-as-read,
2882 elmo-folder-unflag-answered,
2883 elmo-folder-flag-as-answered,
2884 elmo-folder-flag-as-read-unplugged,
2885 elmo-folder-unflag-read-unplugged,
2886 elmo-folder-flag-as-important-unplugged,
2887 elmo-folder-unflag-important-unplugged,
2888 elmo-folder-flag-as-answered-unplugged,
2889 elmo-folder-unflag-answered-unplugged): Remove.
2890 (elmo-folder-set-flag): Define.
2891 (elmo-folder-unset-flag): Ditto.
2892 (elmo-folder-set-flag-unplugged): Ditto.
2893 (elmo-folder-unset-flag-unplugged): Ditto.
2895 * elmo-multi.el (elmo-folder-list-unreads,
2896 elmo-folder-list-answereds,
2897 elmo-folder-list-importants,
2898 elmo-folder-flag-as-important,
2899 elmo-folder-unflag-important,
2900 elmo-folder-flag-as-read,
2901 elmo-folder-unflag-read,
2902 elmo-folder-flag-as-answered,
2903 elmo-folder-unflag-answered): Remove.
2904 (elmo-folder-set-flag): Define.
2905 (elmo-folder-unset-flag): Ditto.
2907 * elmo-map.el (elmo-map-folder-unflag-important,
2908 elmo-map-folder-flag-as-important,
2909 elmo-map-folder-unflag-read,
2910 elmo-map-folder-flag-as-read,
2911 elmo-map-folder-unflag-answered,
2912 elmo-map-folder-flag-as-answered): Remove.
2913 (elmo-map-folder-set-flag): New method.
2914 (elmo-map-folder-unset-flag): Ditto.
2915 (elmo-map-folder-list-unreads,
2916 elmo-map-folder-list-importants,
2917 elmo-map-folder-list-answereds): Remove.
2918 (elmo-folder-list-flagged-internal): Define.
2919 (elmo-map-folder-list-flagged): New method.
2921 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2922 (elmo-map-folder-list-unreads,
2923 elmo-map-folder-list-importants,
2924 elmo-map-folder-list-flagged): Remove.
2925 (elmo-map-folder-list-flagged): Define.
2926 (elmo-map-folder-flag-as-important,
2927 elmo-map-folder-unflag-important,
2928 elmo-map-folder-flag-as-read,
2929 elmo-map-folder-unflag-read,
2930 elmo-map-folder-flag-as-answered,
2931 elmo-map-folder-unflag-answered): Remove.
2932 (elmo-maildir-set-mark-messages): New internal function.
2933 (elmo-map-folder-set-flag): Define.
2934 (elmo-map-folder-unset-flag): Ditto.
2936 * elmo.el (toplevel): Added autoload setting for
2937 `elmo-folder-list-global-flag-messages'.
2938 (elmo-folder-list-unreads,
2939 elmo-folder-list-importants,
2940 elmo-folder-list-answereds): Remove.
2941 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2942 Return a list whitch merged with messages have global flag.
2943 (elmo-folder-list-flagged-internal): New method.
2944 (elmo-folder-unflag-important,
2945 elmo-folder-flag-as-important,
2946 elmo-folder-unflag-read,
2947 elmo-folder-flag-as-read,
2948 elmo-folder-unflag-answered,
2949 elmo-folder-flag-as-answered): Remove.
2950 (elmo-folder-set-flag): New method.
2951 (elmo-folder-unset-flag): Ditto.
2952 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2953 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2955 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2956 (elmo-folder-list-unreads-plugged,
2957 elmo-folder-list-importants-plugged,
2958 elmo-folder-list-answereds-plugged,
2959 elmo-folder-list-flagged-unplugged,
2960 elmo-folder-unflag-important-plugged,
2961 elmo-folder-flag-as-important-plugged,
2962 elmo-folder-unflag-read-plugged,
2963 elmo-folder-flag-as-read-plugged,
2964 elmo-folder-unflag-answered-plugged,
2965 elmo-folder-flag-as-answered-plugged): Remove.
2966 (elmo-folder-set-flag-plugged,
2967 elmo-folder-unset-flag-plugged): Define.
2969 * elmo-flag.el (elmo-folder-initialize): Register to
2970 `elmo-global-flag-list' if flag is not global.
2971 (elmo-folder-append-messages): Set flag to source messages.
2973 * elmo-filter.el (elmo-filter-folder-list-unreads,
2974 elmo-folder-list-unreads,
2975 elmo-filter-folder-list-importants,
2976 elmo-folder-list-importants,
2977 elmo-folder-flag-as-read,
2978 elmo-folder-unflag-read,
2979 elmo-folder-flag-as-important,
2980 elmo-folder-unflag-important,
2981 elmo-folder-flag-as-answered,
2982 elmo-folder-unflag-answered): Remove.
2983 (elmo-folder-set-flag): Define.
2984 (elmo-folder-unset-flag): Ditto.
2986 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2987 elmo-folder-unflag-read-dop,
2988 elmo-folder-flag-as-important-dop,
2989 elmo-folder-unflag-important-dop,
2990 elmo-folder-flag-as-answered-dop,
2991 elmo-folder-unflag-answered-dop): Remove.
2992 (elmo-folder-set-flag-dop,
2993 elmo-folder-unset-flag-dop,
2994 elmo-folder-set-important-delayed,
2995 elmo-folder-unset-important-delayed,
2996 elmo-folder-set-read-delayed,
2997 elmo-folder-unset-read-delayed,
2998 elmo-folder-set-answered-delayed,
2999 elmo-folder-unset-answered-delayed): New function.
3000 (elmo-dop-queue-merge-method-list): Follow the above chagned.
3001 (elmo-dop-queue-method-name-alist): Ditto.
3003 * elmo-version.el (elmo-version): Up to 2.11.23.
3005 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
3007 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
3009 * elsp-sa.el: New file.
3011 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3013 * modb-standard.el (modb-standard-message-entity): New function.
3014 (elmo-msgdb-message-entity): Use it.
3016 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3018 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
3019 behavior when one-level is nil.
3021 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3023 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3025 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3027 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3029 (elmo-generic-folder-diff): Ditto.
3031 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3032 (elmo-folder-update-number): Ditto.
3034 * elmo-dop.el (elmo-folder-status-dop): Ditto.
3035 (elmo-folder-next-message-number-dop): Ditto.
3037 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3039 * elmo-filter.el (elmo-folder-msgdb-create): Use
3040 `elmo-message-entity' and `elmo-message-flags' instead of
3041 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3043 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3045 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3048 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3050 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3052 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3054 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3056 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3058 * elmo-version.el (elmo-version): Up to 2.11.22.
3060 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3062 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3064 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3066 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3067 if the message dose not exist.
3069 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
3071 * elmo-version.el (elmo-version): Up to 2.11.21.
3073 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3075 * modb-standard.el (toplevel): Don't require mime.
3077 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3079 * elsp-bogofilter.el (toplevel): Don't require path-util.
3080 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3081 (elmo-spam-bogofilter-header): Abolish.
3082 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3083 (elmo-spam-bogofilter-args): New user option.
3084 (elsp-bogofilter-call-bogofilter): New internal function.
3085 (elmo-spam-buffer-spam-p): Use it.
3086 (elsp-bogofilter-register-buffer): Renamed from
3087 `elmo-spam-bogofilter-register-buffer';
3088 Use `elsp-bogofilter-call-bogofilter'.
3089 (elmo-spam-register-spam-buffer): Follow the change above.
3090 (elmo-spam-register-good-buffer): Ditto.
3092 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3094 * modb-standard.el (elmo-msgdb-append-entity): If entity or
3095 message-id is nil do nothing.
3097 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
3099 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3101 (elmo-imap4-session): Removed use-flag slot.
3102 (elmo-imap4-session-select-mailbox): Undo last change.
3103 (elmo-folder-use-flag-p): Use
3104 elmo-imap4-disuse-server-flag-mailbox-regexp.
3106 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
3108 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3109 (elmo-imap4-session-select-mailbox): Set it up.
3110 (elmo-folder-use-flag-p): Return value of use-flag slot.
3112 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3114 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3116 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3118 * modb-entity.el (elmo-message-entity-handler): Likewise.
3120 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
3122 * elmo.el (toplevel): Remove setting of autoloding for
3123 elmo-global-flag-initialize.
3124 (elmo-init): Don't call elmo-global-flag-initialize.
3125 (toplevel): Added autoload setting for elmo-global-mark-migrate.
3127 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3128 (elmo-global-mark-migrate): Don't call it.
3129 (elmo-global-mark-upgrade): Ditto.
3131 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
3133 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3134 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3136 * elmo-vars.el (elmo-init-hook): New user option.
3138 * elmo.el (elmo-init): Run the elmo-init-hook.
3140 * elmo-flag.el (elmo-global-mark-migrate): New function.
3142 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3144 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3145 Undo last change (move to elmo-msgdb-unset-flag).
3146 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3149 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
3151 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3153 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3154 (elmo-msgdb-unset-flag): Ditto.
3156 2003-11-05 Andreas Fuchs <asf@boinkor.net>
3158 * elmo-split.el (elmo-split): Return split message count.
3160 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3162 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3165 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3167 * elmo.el (elmo-folder-unflag-important): Call
3168 `elmo-global-flag-detach' with 4th argument delete-if-none that is
3171 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3173 (elmo-global-flag-detach): Delete the message from flag folder, if
3174 `delete-if-none' is a symbol `always'.
3176 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3178 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3179 `elmo-spam-spamfilter-decode-buffer'.
3180 (elsp-spamfilter-register-buffer-internal): New internal function.
3181 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3182 (elmo-spam-register-spam-buffer): Ditto.
3183 (elmo-spam-register-good-buffer): Ditto.
3185 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3187 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3188 (elmo-spam-register-spam-buffer): Follow the API change.
3189 (elmo-spam-register-good-buffer): Ditto.
3191 * elmo-split.el (toplevel): Require elmo-spam when copmile.
3192 (elmo-split-spam-p): Added argument plist; Call
3193 `elmo-spam-buffer-spam-p' with new argument register.
3195 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3197 (elmo-spam-message-spam-p): Ditto.
3198 (elmo-spam-register-spam-buffer): Added optional argument
3200 (elmo-spam-register-good-buffer): Ditto.
3201 (elmo-spam-register-spam-messages): Ditto.
3202 (elmo-spam-register-good-messages): Ditto.
3204 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3206 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3207 register into good corpus.
3208 (elmo-spam-register-good-buffer): Fixed to register into bad
3211 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3213 * elmo-version.el (elmo-version): Up to 2.11.20.
3215 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3218 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3219 flag without depending on \Recent flag.
3221 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3223 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3224 (elmo-spam-modified-p): Defined.
3225 (elmo-spam-save-status): Set `modified' slot to nil.
3226 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3227 (elmo-spam-register-good-buffer): Ditto.
3229 * elmo-spam.el (elmo-spam-modified-p): New API.
3231 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3233 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3234 duplicate definition.
3236 * elmo-util.el (elmo-unfold-field-body): New function.
3237 (elmo-msgdb-get-message-id-from-buffer): Use it.
3239 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3240 Fixed the last change; Use elmo-unfold-field-body.
3242 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3244 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3247 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3249 * elmo-spam.el (elmo-spam-save-status): New API.
3251 * elsp-spamfilter.el: New file.
3253 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
3255 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3257 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3259 * elmo-split.el (elmo-split-spam-p): New function.
3261 * elmo-spam.el: New file.
3263 * elsp-bogofilter.el: Ditto.
3265 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
3267 * elmo.el (elmo-folder-next-message-number): New API.
3268 (elmo-folder-next-message-number): Define.
3269 (elmo-message-field): Don't check folder length.
3271 * elmo-net.el (elmo-folder-next-message-number): Define.
3272 (elmo-folder-next-message-number-unplugged): Define.
3274 * elmo-map.el (elmo-folder-next-message-number): Define.
3275 (elmo-folder-delete-messages): Clear hash value.
3277 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3279 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3280 (elmo-folder-delete-messages-dop-delayed): Always return t.
3282 * elmo-version.el (elmo-version): Up to 2.11.19.
3284 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3286 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3289 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3290 identical cons cell into the mark-alist and the hash table.
3292 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
3294 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3295 elmo-folder-list-messages with argument `visible-only' as t.
3297 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3298 (elmo-folder-msgdb-create): Check the target folder.
3300 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
3302 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3303 `permanentflag' instead of `flags'.
3304 (elmo-folder-open): Ditto.
3305 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3306 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3307 (elmo-folder-use-flag-p): Always return t.
3308 (elmo-imap4-session-select-mailbox): Use value of `flags' if
3309 `permanentflags' does not exist.
3310 (elmo-folder-open): Ditto.
3312 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
3314 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3316 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3318 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3319 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3321 (elmo-folder-open): Ditto.
3322 (elmo-imap4-set-flag): Send store flag command only when the `flags'
3323 slot of the session includes the flag.
3324 (elmo-imap4-session-flag-available-p): New function.
3325 (elmo-imap4-folder-list-flagged): Ditto.
3326 (elmo-folder-list-unreads-plugged): Use it.
3327 (elmo-folder-list-importants-plugged): Ditto.
3328 (elmo-folder-list-answereds-plugged): Ditto.
3329 (elmo-imap4-search-internal-primitive): Ditto.
3330 (elmo-imap4-folder-list-any-plugged,
3331 elmo-imap4-folder-list-digest-plugged): Abolish.
3333 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3336 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3338 * elmo-util.el (toplevel): Require emu for char-list-to-string.
3340 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
3342 * elmo-util.el (elmo-get-hash-val): Simplify.
3343 (elmo-set-hash-val): Rewrite.
3345 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3347 * elmo.el (elmo-folder-list-messages): Append killed messages into
3348 result if `visible-only' is nil and `in-msgdb' is non-nil.
3350 * elmo-util.el (elmo-uniq-list): Added optional argument
3353 * modb.el (elmo-msgdb-flag-count): New API.
3355 * modb-standard.el (modb-standard): Added slot flag-count.
3356 (modb-standard-countup-flags): New function.
3357 (modb-standard-load-flag): Call it.
3358 (elmo-msgdb-append): Ditto.
3359 (elmo-msgdb-clear): Clear slot flag-count.
3360 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3361 (elmo-msgdb-unset-flag): Treat `all' flag and call
3362 modb-standard-countup-flags.
3363 (elmo-msgdb-flag-count): Define.
3364 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3365 (elmo-msgdb-delete-messages): Ditto.
3367 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3368 (elmo-msgdb-flag-count): Define.
3370 * elmo.el (elmo-folder-list-messages): Undo last change.
3371 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3372 (elmo-folder-kill-messages): Unset all flags to numbers.
3374 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3375 elmo-folder-kill-messages.
3377 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3378 (elmo-nntp-folder-delete-messages): Abolish.
3380 * elmo-version.el (elmo-version): Up to 2.11.18.
3382 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3384 * elmo.el (elmo-folder-kill-messages-before): Abolish.
3385 (elmo-folder-kill-messages-range): New function.
3386 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3387 instead of elmo-folder-kill-messages-before.
3389 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
3391 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3392 elmo-imap4-current-msgdb to decide entity handler.
3394 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3396 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3398 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3400 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3401 (elmo-msgdb-overview-entity-set-number,
3402 elmo-msgdb-overview-entity-get-references,
3403 elmo-msgdb-overview-entity-set-references,
3404 elmo-msgdb-overview-entity-get-from-no-decode,
3405 elmo-msgdb-overview-entity-get-from,
3406 elmo-msgdb-overview-entity-set-from,
3407 elmo-msgdb-overview-entity-get-subject,
3408 elmo-msgdb-overview-entity-get-subject-no-decode,
3409 elmo-msgdb-overview-entity-set-subject,
3410 elmo-msgdb-overview-entity-get-date,
3411 elmo-msgdb-overview-entity-set-date,
3412 elmo-msgdb-overview-entity-get-to,
3413 elmo-msgdb-overview-entity-get-cc,
3414 elmo-msgdb-overview-entity-get-size,
3415 elmo-msgdb-overview-entity-set-size,
3416 elmo-msgdb-overview-entity-get-extra,
3417 elmo-msgdb-overview-entity-set-extra,
3418 elmo-msgdb-overview-entity-get-extra-field,
3419 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3420 (elmo-msgdb-make-index): Use
3421 `elmo-msgdb-overview-entity-get-number-internal'.
3422 (elmo-msgdb-clear-index): Ditto.
3423 (elmo-msgdb-append-entity): Ditto;
3424 Use `elmo-msgdb-overview-entity-get-id-internal'.
3426 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3427 elmo-msgdb-overview-entity-set-number,
3428 elmo-msgdb-overview-entity-get-references,
3429 elmo-msgdb-overview-entity-set-references,
3430 elmo-msgdb-overview-entity-get-from-no-decode,
3431 elmo-msgdb-overview-entity-get-from,
3432 elmo-msgdb-overview-entity-set-from,
3433 elmo-msgdb-overview-entity-get-subject,
3434 elmo-msgdb-overview-entity-get-subject-no-decode,
3435 elmo-msgdb-overview-entity-set-subject,
3436 elmo-msgdb-overview-entity-get-date,
3437 elmo-msgdb-overview-entity-set-date,
3438 elmo-msgdb-overview-entity-get-to,
3439 elmo-msgdb-overview-entity-get-cc,
3440 elmo-msgdb-overview-entity-get-size,
3441 elmo-msgdb-overview-entity-set-size,
3442 elmo-msgdb-overview-entity-get-extra,
3443 elmo-msgdb-overview-entity-set-extra,
3444 elmo-msgdb-overview-entity-get-extra-field,
3445 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3446 and rewrote for backward compatibility.
3448 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3450 * elmo.el (elmo-message-entity-number,
3451 elmo-message-entity-set-number,
3452 elmo-message-entity-field,
3453 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3455 * elmo-msgdb.el (elmo-message-entity-number,
3456 elmo-message-entity-set-number,
3457 elmo-message-entity-field,
3458 elmo-message-entity-set-field): Moved from elmo.el.
3460 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3462 * elmo.el (toplevel): Changed definition orders.
3464 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3466 * modb.el (elmo-msgdb-search): New API .
3467 (elmo-msgdb-match-condition): Ditto.
3469 * modb-standard.el (elmo-msgdb-search): Define.
3471 * modb-legacy.el (elmo-msgdb-search): Ditto.
3473 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3474 from elmo-msgdb-match-condition-internal.
3476 * elmo.el (elmo-folder-search-fast): Abolish.
3477 (elmo-folder-search): Use elmo-msgdb-search and
3478 elmo-with-progress-display.
3480 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3483 * elmo.el (elmo-folder): Remove slot message-modified and
3485 (elmo-folder-set-message-modified): Abolish.
3486 (elmo-generic-folder-commit): Follow the change above.
3487 (elmo-folder-synchronize): Ditto.
3489 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3491 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3493 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3495 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3497 * modb-standard.el (modb-standard-make-message-entity,
3498 elmo-msgdb-make-message-entity,
3499 elmo-msgdb-create-message-entity-from-buffer,
3500 elmo-msgdb-message-entity-number,
3501 elmo-msgdb-message-entity-set-number,
3502 elmo-msgdb-message-entity-field,
3503 elmo-msgdb-message-entity-set-field,
3504 elmo-msgdb-copy-message-entity,
3505 elmo-msgdb-match-condition-internal): Remove.
3507 * modb-entity.el: New file (again).
3509 * modb.el (toplevel): Require modb-entity.
3510 (elmo-msgdb-message-entity-handler): New method.
3512 * modb-standard.el (modb-standard-entity-id): Use
3513 elmo-message-entity-handler.
3514 (modb-standard-load-entity): Ditto.
3515 (elmo-msgdb-append-entity): Ditto.
3516 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3518 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3519 elmo-msgdb-decoded-cache-hashtb,
3520 (modb-legacy-make-message-entity,
3521 elmo-msgdb-make-message-entity,
3522 elmo-msgdb-create-message-entity-from-buffer,
3523 elmo-msgdb-message-entity-number,
3524 elmo-msgdb-message-entity-set-number,
3525 elmo-msgdb-message-entity-field,
3526 elmo-msgdb-message-entity-set-field,
3527 elmo-msgdb-copy-message-entity,
3528 elmo-msgdb-match-condition-internal,
3529 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3531 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3532 (elmo-message-entity-set-number): Ditto.
3533 (elmo-message-entity-field): Ditto.
3534 (elmo-message-entity-set-field): Ditto.
3536 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3538 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3540 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3542 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3543 (elmo-nntp-msgdb-create-message): Ditto.
3545 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3546 (elmo-folder-msgdb-create): Add unread flag.
3548 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3550 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3552 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3554 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3556 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3557 elmo-msgdb-messge-entity-handler.
3558 * elmo-version.el (elmo-version): Up to 2.11.17.
3560 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3562 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3565 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3567 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3569 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3570 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3571 (elmo-msgdb-flag-table): Ditto.
3572 (elmo-msgdb-sort-by-date): Ditto.
3574 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3576 * modb-standard.el (toplevel): Require mime.
3577 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3578 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3579 elmo-msgdb-message-entity-number.
3580 (elmo-msgdb-append-entity): Ditto.
3581 (elmo-msgdb-create-message-entity-from-file): Remove.
3582 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3583 corresponds to the entity.
3584 (elmo-msgdb-message-entity-number): Do nothing currently.
3585 (elmo-msgdb-message-entity-field): Ditto.
3586 (elmo-msgdb-message-entity-set-field): Ditto.
3587 (elmo-msgdb-copy-message-entity): Ditto.
3588 (elmo-msgdb-match-condition-internal): Ditto.
3590 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3592 (elmo-msgdb-create-message-entity-from-file): Remove.
3594 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3596 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3598 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3600 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3602 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3603 (elmo-msgdb-message-entity-field): Ditto.
3604 (elmo-msgdb-message-entity-number): Ditto.
3606 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3608 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3609 Fixed how to set extra field into entity.
3610 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3613 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3614 Fixed how to set extra field into entity.
3615 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3618 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3620 * modb.el (elmo-message-entity-db): New function.
3621 (elmo-msgdb-make-message-entity): New API.
3622 (elmo-msgdb-message-entity-number): Ditto.
3623 (elmo-msgdb-message-entity-set-number): Ditto.
3624 (elmo-msgdb-message-entity-field): Ditto.
3625 (elmo-msgdb-message-entity-set-field): Ditto.
3626 (elmo-msgdb-copy-message-entity): Ditto.
3627 (elmo-msgdb-create-message-entity-from-file): Ditto.
3628 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3629 (elmo-msgdb-match-condition-internal): Ditto.
3631 * modb-standard.el (modb-legacy): Require modb-legacy.
3632 (modb-standard-make-message-entity): New inline function.
3633 (elmo-msgdb-make-message-entity): Define.
3634 (elmo-msgdb-create-message-entity-from-file): Ditto.
3635 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3636 (elmo-msgdb-message-entity-field): Ditto.
3637 (elmo-msgdb-message-entity-set-field): Ditto.
3638 (elmo-msgdb-copy-message-entity): Ditto.
3639 (elmo-msgdb-match-condition-internal): Ditto.
3641 * modb-legacy.el: Don't require modb-entity.
3642 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3643 (elmo-msgdb-match-condition-primitive): Ditto.
3644 (elmo-msgdb-get-decoded-cache): Ditto.
3645 (elmo-msgdb-overview-entity-get-id): Ditto.
3646 (elmo-msgdb-overview-entity-get-number): Ditto.
3647 (elmo-msgdb-overview-entity-set-number): Ditto.
3648 (elmo-msgdb-overview-entity-get-references): Ditto.
3649 (elmo-msgdb-overview-entity-set-references): Ditto.
3650 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3651 (elmo-msgdb-overview-entity-get-from): Ditto.
3652 (elmo-msgdb-overview-entity-set-from): Ditto.
3653 (elmo-msgdb-overview-entity-get-subject): Ditto.
3654 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3655 (elmo-msgdb-overview-entity-set-subject): Ditto.
3656 (elmo-msgdb-overview-entity-get-date): Ditto.
3657 (elmo-msgdb-overview-entity-set-date): Ditto.
3658 (elmo-msgdb-overview-entity-get-to): Ditto.
3659 (elmo-msgdb-overview-entity-get-cc): Ditto.
3660 (elmo-msgdb-overview-entity-get-size): Ditto.
3661 (elmo-msgdb-overview-entity-set-size): Ditto.
3662 (elmo-msgdb-overview-entity-get-extra): Ditto.
3663 (elmo-msgdb-overview-entity-set-extra): Ditto.
3664 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3665 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3666 (elmo-msgdb-number-load): Ditto.
3667 (elmo-msgdb-overview-load): Ditto.
3668 (elmo-msgdb-mark-load): Ditto.
3669 (elmo-msgdb-number-save): Ditto.
3670 (elmo-msgdb-mark-save): Ditto.
3671 (elmo-msgdb-overview-save): Ditto.
3672 (modb-legacy-make-message-entity): New inline function.
3673 (elmo-msgdb-insert-file-header): Ditto.
3674 (elmo-msgdb-make-message-entity): Define.
3675 (elmo-msgdb-create-message-entity-from-file): Ditto.
3676 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3677 (elmo-msgdb-message-entity-number): Ditto.
3678 (elmo-msgdb-message-entity-set-number): Ditto.
3679 (elmo-msgdb-message-entity-field): Ditto.
3680 (elmo-msgdb-message-entity-set-field): Ditto.
3681 (elmo-msgdb-copy-message-entity): Ditto.
3682 (elmo-msgdb-match-condition-internal): Ditto.
3684 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3685 (elmo-message-copy-entity): Rewrite.
3686 (elmo-message-entity-number): Ditto.
3687 (elmo-message-entity-set-number): Ditto.
3688 (elmo-message-entity-field): Use elmo-message-entity-db.
3689 (elmo-message-entity-set-field): Ditto.
3690 (elmo-message-field): Rewrite.
3692 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3694 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3696 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3697 elmo-message-entity-field.
3698 (elmo-shimbun-folder-shimbun-header): Ditto.
3699 (elmo-shimbun-entity-to-header): Ditto.
3700 (elmo-folder-msgdb-create): Ditto.
3701 (elmo-shimbun-msgdb-create-entity): Ditto;
3702 Use elmo-msgdb-create-message-entity-from-buffer.
3703 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3704 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3706 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3707 elmo-msgdb-create-message-entity-from-file and
3708 elmo-message-entity-field.
3710 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3711 elmo-message-entity-number.
3712 (elmo-pop3-msgdb-create-message): Use
3713 elmo-msgdb-create-message-entity-from-buffer,
3714 elmo-message-entity-set-field, elmo-message-entity-number and
3715 elmo-message-entity-set-number.
3717 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3718 the API change in elmo-msgdb-make-message-entity.
3719 (elmo-nntp-msgdb-create-message): Use
3720 elmo-msgdb-create-message-entity-from-buffer.
3722 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3723 elmo-message-entity-field and
3724 elmo-msgdb-create-message-entity-from-file.
3726 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3727 (elmo-msgdb-get-field): Abolish.
3728 (elmo-msgdb-get-number): Rewrite.
3729 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3730 (elmo-msgdb-flag-table): Ditto.
3731 (elmo-msgdb-get-last-message-id,
3732 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3733 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3734 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3735 (elmo-msgdb-create-overview-from-buffer,
3736 elmo-msgdb-overview-get-parent-entity): Abolish.
3738 * elmo-mime.el (elmo-mime-display-as-is): Use
3739 elmo-message-entity-field.
3741 * elmo-map.el (elmo-folder-pack-numbers): Use
3742 elmo-message-entity-set-number.
3744 * elmo-maildir.el (elmo-folder-msgdb-create):
3745 elmo-msgdb-create-message-entity-from-file instead of
3746 elmo-msgdb-create-overview-entity-from-file.
3748 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3750 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3751 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3753 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3754 elmo-messge-entity-field and elmo-message-entity-number.
3755 (elmo-imap4-fetch-callback-1): Call
3756 elmo-msgdb-create-message-entity-from-buffer instead of
3757 elmo-msgdb-create-overview-from-buffer.
3758 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3759 (elmo-find-fetch-strategy): Likewise.
3761 * elmo-flag.el (elmo-folder-msgdb-create): Call
3762 elmo-localdir-msgdb-create-entity with argument msgdb.
3764 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3765 and elmo-message-entity-set-number.
3767 * elmo-cache.el (elmo-folder-msgdb-create): Use
3768 elmo-message-entity-field.
3769 (elmo-folder-msgdb-create): Call
3770 elmo-msgdb-create-message-entity-from-file instead of
3771 elmo-msgdb-create-overview-entity-from-file.
3773 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3774 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3775 instead of elmo-msgdb-create-overview-from-buffer.
3776 (elmo-archive-msgdb-create-entity): Ditto.
3777 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3778 elmo-message-entity-field.
3779 (elmo-archive-parse-mmdf): Ditto.
3781 * modb-entity.el: Removed.
3783 * elmo-version.el (elmo-version): Up to 2.11.16.
3785 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3787 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3789 (elmo-folder-flag-as-answered): Ditto.
3791 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3793 * modb-standard.el: New file.
3795 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3796 elmo-msgdb-convert-type is `sync'.
3798 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3799 (elmo-msgdb-convert-type): New user option.
3801 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3802 (elmo-load-msgdb): Auto detect saved type.
3804 * elmo-version.el (elmo-version): Up to 2.11.15.
3806 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3808 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3810 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3811 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3812 with argument `delete-if-none' when dst-folder is 'null.
3814 * elmo-flag.el (elmo-folder-append-messages): Defined.
3815 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3817 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3819 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3821 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3823 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3824 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3825 (elmo-folder-commit): Ditto.
3827 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3829 * elmo-flag.el: New file.
3831 * elmo-mark.el: Removed.
3833 * modb-legacy.el (modb-legacy-new-mark,
3834 modb-legacy-unread-uncached-mark,
3835 modb-legacy-unread-cached-mark,
3836 modb-legacy-read-uncached-mark,
3837 modb-legacy-answered-cached-mark,
3838 modb-legacy-answered-uncached-mark,
3839 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3840 All other related portions are changed.
3842 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3843 (elmo-folder-list-messages-with-global-mark): Abolish.
3844 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3845 (elmo-folder-flag-as-important): Ditto.
3846 (elmo-folder-unflag-read): Ditto.
3847 (elmo-folder-flag-as-read): Ditto.
3848 (elmo-folder-unflag-answered): Ditto.
3849 (elmo-folder-flag-as-answered): Ditto.
3850 (elmo-message-encache): Return the cache path.
3851 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3852 (elmo-message-set-flag): Transitional implementation.
3853 (elmo-message-unset-flag): Ditto.
3854 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3855 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3856 (elmo-init): Call elmo-global-flag-initialize.
3857 (toplevel): Added autoload settings for elmo-flag.
3859 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3861 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3862 (elmo-file-cache-delete): Don't treat global-mark.
3864 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3866 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3868 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3869 `elmo-global-flags-set'.
3871 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3873 (elmo-folder-unflag-read): Ditto.
3874 (elmo-folder-unflag-important): Ditto.
3875 (elmo-folder-flag-as-important): Ditto.
3876 (elmo-folder-unflag-answered): Ditto.
3877 (elmo-folder-flag-as-answered): Ditto.
3879 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3880 `elmo-global-flags-set'.
3881 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3883 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3885 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3887 (elmo-folder-flag-as-important): Ditto.
3888 (elmo-folder-unflag-important): Ditto.
3889 (elmo-folder-flag-as-important): Ditto.
3890 (elmo-folder-unflag-read): Ditto.
3891 (elmo-folder-flag-as-read): Ditto.
3892 (elmo-folder-unflag-answered): Ditto.
3893 (elmo-folder-flag-as-answered): Ditto.
3895 * elmo-multi.el (elmo-folder-list-importants): Don't call
3896 elmo-folder-list-messages-with-global-mark.
3897 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3898 (elmo-folder-unflag-important): Ditto.
3899 (elmo-folder-flag-as-read): Ditto.
3900 (elmo-folder-unflag-read): Ditto.
3901 (elmo-folder-flag-as-answered): Ditto.
3902 (elmo-folder-unflag-answered): Ditto.
3904 * elmo-msgdb.el (elmo-msgdb-new-mark,
3905 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3906 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3907 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3908 (Moved to modb-legacy.el).
3909 (elmo-flag-table-get): Treat important flag too.
3911 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3913 (elmo-map-folder-flag-as-important): Ditto.
3914 (elmo-map-folder-unflag-read): Ditto.
3915 (elmo-map-folder-flag-as-read): Ditto.
3916 (elmo-map-folder-unflag-answered): Ditto.
3917 (elmo-map-folder-flag-as-answered): Ditto.
3918 (elmo-folder-unflag-important): Ditto.
3919 (elmo-folder-flag-as-important): Ditto.
3920 (elmo-folder-unflag-read): Ditto.
3921 (elmo-folder-flag-as-read): Ditto.
3922 (elmo-folder-unflag-answered): Ditto.
3923 (elmo-folder-flag-as-answered): Ditto.
3925 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3926 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3928 (elmo-map-folder-unflag-important): Ditto.
3929 (elmo-map-folder-flag-as-read): Ditto.
3930 (elmo-map-folder-unflag-read): Ditto.
3931 (elmo-map-folder-flag-as-answered): Ditto.
3932 (elmo-map-folder-unflag-answered): Ditto.
3934 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3935 `elmo-global-flags-set'.
3936 (elmo-global-flags-set): Added autoload setting.
3938 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3941 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3942 `elmo-msgdb-global-mark-set'.
3943 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3944 Call `elmo-global-flags-set'.
3945 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3947 (elmo-folder-flag-as-important-plugged): Ditto.
3948 (elmo-folder-unflag-read-plugged): Ditto.
3949 (elmo-folder-flag-as-read-plugged): Ditto.
3950 (elmo-folder-unflag-answered-plugged): Ditto.
3951 (elmo-folder-flag-as-answered-plugged): Ditto.
3952 (elmo-global-flags-set): Added autoload setting.
3954 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3956 (elmo-folder-unflag-read): Ditto.
3957 (elmo-folder-flag-as-important): Ditto.
3958 (elmo-folder-unflag-important): Ditto.
3959 (elmo-folder-flag-as-answered): Ditto.
3960 (elmo-folder-unflag-answered): Ditto.
3962 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3963 change of `mark'->`flag'.
3964 (elmo-dop-queue-method-name-alist): Ditto.
3965 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3966 (elmo-folder-unflag-read-dop): Ditto.
3967 (elmo-folder-flag-as-important-dop): Ditto.
3968 (elmo-folder-unflag-important-dop): Ditto.
3969 (elmo-folder-flag-as-answered-dop): Ditto.
3970 (elmo-folder-unflag-answered-dop): Ditto.
3972 * elmo-cache.el (elmo-folder-msgdb-create): Call
3973 `elmo-global-flags-set'.
3975 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3976 Call `elmo-global-flags-set'.
3977 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3978 elmo-archive-parse-mmdf with argument `folder'.
3979 (elmo-archive-parse-mmdf): Added argument `folder';
3980 Call `elmo-global-flags-set'.
3982 * elmo-version.el (elmo-version): Up to 2.11.14.
3984 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3986 * modb.el (elmo-msgdb-length): Define.
3988 * elmo.el (elmo-make-folder): Fixed.
3989 (elmo-generic-folder-append-messages): Follow the API change.
3991 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3994 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3996 * modb.el: New file.
3998 * modb-entity.el: Ditto.
4000 * modb-legacy.el: Ditto.
4002 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
4003 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
4004 of `elmo-msgdb-overview-get-entity'.
4005 (elmo-msgdb-get-field): Ditto.
4006 (elmo-msgdb-merge): Moved to `elmo.el'.
4007 (elmo-msgdb-length): Removed; redefine as modb method.
4008 (elmo-msgdb-change-mark): Abolish.
4009 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
4010 (elmo-msgdb-match-condition): Don't use mark.
4011 (elmo-msgdb-overview-get-entity): Abolish.
4012 Split modb part into `modb*.el'.
4014 * elmo-vars.el (elmo-msgdb-default-type): New user option.
4016 * elmo-shimbun.el (shimbun-mua-search-id): Use
4017 `elmo-msgdb-message-entity' instead of
4018 `elmo-msgdb-overview-get-entity'.
4019 (elmo-shimbun-folder-shimbun-header): Ditto.
4020 (elmo-shimbun-get-headers): Ditto.
4021 (elmo-shimbun-update-overview): Ditto.
4023 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4025 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4027 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4028 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4030 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4031 `elmo-msgdb-mark-to-flags'.
4033 * elmo-map.el (elmo-folder-pack-numbers): Don't use
4034 `elmo-msgdb-set-path'.
4036 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4038 * elmo-version.el (elmo-version): Up to 2.11.13.
4040 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4042 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4045 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
4047 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4050 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4052 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4053 instead of `elmo-msgdb-get-cached'.
4054 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4056 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4057 (elmo-msgdb-set-cached): Ditto.
4058 (elmo-msgdb-set-flag): Rewrite.
4059 (elmo-msgdb-unset-flag): Ditto.
4061 * elmo-msgdb.el: Rewrite with luna.
4063 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4064 (elmo-folder-msgdb): Follow the change above.
4065 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4066 (elmo-folder-unmark-important): Follow the API change.
4067 (elmo-folder-mark-as-important): Ditto.
4068 (elmo-folder-unmark-read): Ditto.
4069 (elmo-folder-mark-as-read): Ditto.
4070 (elmo-folder-unmark-answered): Ditto.
4071 (elmo-folder-mark-as-answered): Ditto.
4072 (elmo-folder-clear): Likewise.
4074 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4075 instead of `elmo-msgdb-load' (renamed).
4077 * elmo-version.el (elmo-version): Up to 2.11.12.
4079 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4081 * elmo.el (elmo-generic-folder-append-messages): Follow the API
4083 (elmo-message-mark): Abolish.
4084 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4085 instead of `elmo-msgdb-change-mark'.
4087 * elmo-pipe.el (elmo-message-mark): Abolish.
4089 * elmo-multi.el (elmo-message-mark): Ditto.
4091 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4092 (elmo-msgdb-unread-uncached-mark): Ditto.
4093 (elmo-msgdb-unread-cached-mark): Ditto.
4094 (elmo-msgdb-read-uncached-mark): Ditto.
4095 (elmo-msgdb-answered-cached-mark): Ditto.
4096 (elmo-msgdb-answered-uncached-mark): Ditto.
4097 (elmo-msgdb-important-mark): Ditto.
4098 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4100 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4102 (elmo-flag-table-load): Changed flag to list of flag.
4103 (elmo-flag-table-set): If flags is nil, set read flag.
4104 (elmo-flag-table-get): Return derived flags from global mark,
4105 cache status and saved flags.
4106 (elmo-msgdb-flag-table): Follow the change above.
4107 (elmo-msgdb-out-of-date-messages): New function.
4109 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4111 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4113 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4115 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4116 (elmo-nntp-msgdb-create-message): Ditto.
4118 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4120 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4122 (elmo-folder-msgdb-create): Follow the API change.
4124 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4125 (elmo-folder-append-messages): Ditto.
4127 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4128 (elmo-folder-append-buffer): Ditto.
4130 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4132 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4134 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4135 (elmo-archive-parse-mmdf): Ditto.
4137 * elmo-version.el (elmo-version): Up to 2.11.11.
4139 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4141 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4144 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4146 * elmo-pipe.el (elmo-message-flags): Defined.
4148 * elmo-multi.el (elmo-message-flags): Ditto.
4150 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4152 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4153 `elmo-msgdb-delete-msgs'.
4155 * elmo.el (elmo-folder-count-flags): Don't use
4156 `elmo-msgdb-get-mark-alist'.
4157 (elmo-folder-detach-messages): Follow the API change.
4159 * elmo.el (elmo-folder-list-messages): Append killed messages into
4160 result if `visible-only' is nil.
4162 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4164 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4165 (elmo-folder-update-number): Likewise.
4167 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4168 (elmo-pop3-sort-msgdb-by-original-number): Use
4169 `elmo-msgdb-sort-entities'.
4171 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4172 (elmo-msgdb-sort-by-date): Use it.
4173 (elmo-msgdb-overview-sort-by-date): Abolish.
4175 * elmo-dop.el (elmo-folder-status-dop): Fixed.
4177 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4178 (elmo-msgdb-flags): New function.
4179 (elmo-msgdb-merge): Use elmo-msgdb-append.
4181 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4184 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4186 * elmo-dop.el (elmo-folder-status-dop): Use
4187 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4189 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4191 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4193 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4195 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4197 * elmo-util.el (elmo-with-progress-display): New macro.
4199 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4201 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4203 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4204 `elmo-folder-list-message-entities' instead of
4205 `elmo-msgdb-get-overview'.
4206 (elmo-map-folder-list-message-locations): Ditto.
4208 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4209 methods instead of treat directly).
4210 (elmo-msgdb-clear): Ditto.
4211 (elmo-msgdb-delete-msgs): Ditto.
4212 (elmo-msgdb-sort-by-date): Ditto.
4214 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4216 (elmo-nntp-folder-msgdb-create): Follow the API change.
4218 * elmo-version.el (elmo-version): Up to 2.11.10.
4220 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4222 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4223 (elmo-msgdb-flags-to-mark): Ditto.
4224 (elmo-msgdb-append-entity): Ditto.
4226 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4227 Use `elmo-msgdb-append-entity' instead of construct msgdb.
4228 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4229 (elmo-archive-parse-mmdf): Ditto.
4231 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4233 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4235 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4237 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4239 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4241 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4243 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4245 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4247 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4248 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4251 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4252 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4253 instead of directly construction.
4254 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4255 instead of construct msgdb.
4257 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4258 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4259 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4260 instead of construct msgdb.
4262 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4264 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4265 when field is from or subject.
4267 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
4269 * elmo-multi.el (elmo-message-entity-parent): Define.
4270 (elmo-folder-search): Rewrite.
4272 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4274 * elmo-multi.el (elmo-message-cached-p): Define.
4276 * elmo.el (elmo-message-cached-p): New method.
4277 (elmo-message-accessible-p): Use it instead of msgdb API directly.
4278 (elmo-message-flags): New method.
4279 (elmo-message-flagged-p): New function.
4281 * elmo-version.el (elmo-version): Up to 2.11.9.
4283 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4285 * elmo-version.el (elmo-version): Up to 2.11.8.
4287 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4289 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4291 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
4293 * elmo.el (elmo-folder-detach-messages): Undo last change.
4295 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
4297 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4299 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4300 only when src folder type is pop3.
4302 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
4304 * elmo-msgdb.el (elmo-msgdb-make-index): Use
4305 elmo-msgdb-overview-entity-get-number instead of
4306 elmo-message-entity-number.
4308 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4310 * elmo-version.el (elmo-version): Up to 2.11.7.
4312 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
4314 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4317 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4318 (elmo-msgdb-merge): New function.
4319 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4320 (elmo-msgdb-make-index): Rewrite.
4322 * elmo-version.el (elmo-version): Up to 2.11.6.
4324 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4325 use it as a the path for loading message entities.
4327 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4329 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
4331 * elmo-filter.el (elmo-folder-set-message-modified): Set
4332 message-modified slot of itself if it does not require target msgdb.
4334 * elmo-mime.el (elmo-mime-message-display): Display message entirely
4335 if folder length is zero.
4336 (elmo-mime-display-as-is): Ditto.
4338 * elmo-filter.el (elmo-folder-set-message-modified): Define.
4340 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4342 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4344 * elmo.el (elmo-folder-set-message-modified): New method.
4345 (elmo-generic-folder-commit): Use it.
4346 (elmo-folder-synchronize): Ditto.
4348 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4349 (elmo-folder-commit): Remove duplicate definition.
4351 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4353 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4355 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4357 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4358 (elmo-strict-folder-diff): Ditto.
4359 (elmo-folder-set-info-max-by-numdb): Simplify.
4361 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4362 elmo-msgdb-list-messages.
4364 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4365 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4367 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4369 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4370 visible-only is non-nil.
4371 (elmo-folder-confirm-appends): Changed message.
4372 (elmo-folder-synchronize): Added argument disable-killed.
4374 * elmo-multi.el (elmo-folder-synchronize): Added argument
4377 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4379 * elmo-version.el (elmo-version): Up to 2.11.5.
4381 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4384 * elmo-util.el (elmo-list-filter): Simplify.
4386 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4387 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4388 (elmo-generic-folder-diff): Abolish argument.
4389 (elmo-msgdb-load): Don't use number-alist.
4391 * elmo-filter.el (elmo-folder-diff): Abolish argument.
4393 * elmo-pipe.el (elmo-folder-diff): Ditto.
4395 * elmo-nmz.el (elmo-folder-diff): Ditto.
4397 * elmo-net.el (elmo-folder-diff): Ditto.
4399 * elmo-maildir.el (elmo-folder-diff): Ditto.
4401 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4403 * elmo-multi.el (elmo-folder-diff): Ditto
4404 (elmo-multi-folder-diff): Rewrite.
4406 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4408 * elmo-pipe.el (elmo-folder-msgdb): Define.
4410 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
4412 * elmo.el (elmo-message-set-cached): Define as a method.
4414 * elmo-pipe.el (elmo-message-set-cached): Define.
4415 (elmo-find-fetch-strategy): Ditto.
4417 * elmo-multi.el (elmo-message-set-cached): Define.
4418 (elmo-find-fetch-strategy): Rewrite.
4420 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4422 * elmo-pipe.el (elmo-message-folder): Fixed definition.
4424 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
4426 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4427 instead of number-alist.
4429 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4430 mark nor message-id when msgdb of source folder is not loaded.
4432 * elmo.el (elmo-generic-folder-append-messages): Ditto.
4434 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4436 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
4438 * elmo.el (elmo-folder-length): Don't require msgdb.
4440 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
4442 * elmo.el (elmo-message-mark): Cause an error when empty folder.
4443 (elmo-message-field): Ditto.
4445 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4446 (elmo-map-folder-list-message-locations): Setup `answered-locations'
4448 (elmo-map-folder-list-answereds): Define.
4449 (elmo-maildir-list-location): Treat 'R' info.
4450 (elmo-folder-msgdb-create): Treat flag-table.
4451 (elmo-folder-append-messages): Save flag-table.
4453 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
4455 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
4456 Use SELECT when elmo-imap4-use-select-to-update-status is t.
4458 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4460 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4462 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4463 'read when mark is null.
4465 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
4467 * elmo-version.el (elmo-version): Up to 2.11.4.
4469 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4471 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4472 (elmo-folder-mark-as-answered): Ditto.
4474 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
4476 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4477 (elmo-pop3-get-session): Make msgdb directory after session.
4478 (elmo-folder-exists-p): Check exactly at the first time even when the
4479 elmo-pop3-exists-exactly is nil.
4481 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4482 (elmo-folder-list-messages): Define instead of
4483 elmo-folder-list-messages-internal.
4484 (elmo-folder-check): Check destination folder.
4485 (elmo-folder-synchronize): Drain the pipe.
4487 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4488 when msgdb is not loaded.
4490 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4492 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4493 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4496 * elmo.el (elmo-folder-kill-messages-before): New function.
4497 (elmo-folder-kill-messages): Ditto.
4498 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4500 * elmo-imap4.el (elmo-folder-list-messages-plugged):
4501 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4502 killed not by synchronize (e.g. scoring).
4504 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4506 * elmo.el (elmo-folder-search-fast): Return t if condition is not
4508 (elmo-folder-search): Follow the change above.
4510 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4511 into the candidates of search field.
4513 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
4515 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4516 (elmo-msgdb-unset-flag): Ditto.
4518 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4520 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
4522 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4523 (elmo-folder-commit): Define.
4524 (elmo-folder-synchronize): Ditto.
4525 (elmo-folder-list-flagged): Ditto.
4526 (elmo-folder-commit): Ditto.
4527 (elmo-folder-length): Ditto.
4528 (elmo-folder-count-flags): Ditto.
4529 (elmo-message-mark): Ditto.
4530 (elmo-message-field): Ditto.
4531 (elmo-message-entity): Ditto.
4532 (elmo-message-folder): Ditto.
4534 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
4536 * elmo.el (elmo-message-field): Define as a method.
4538 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4539 (elmo-message-field): Define.
4541 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4542 (elmo-folder-list-importants): Ditto.
4543 (elmo-folder-list-answereds): Ditto.
4545 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4547 (elmo-folder-mark-as-read): Ditto.
4548 (elmo-folder-unmark-read): Ditto.
4549 (elmo-folder-mark-as-answered): Ditto.
4550 (elmo-folder-unmark-answered): Ditto.
4551 (elmo-folder-list-flagged): Define.
4552 (elmo-folder-commit): Ditto.
4553 (elmo-folder-length): Ditto.
4554 (elmo-folder-count-flags): Ditto.
4556 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4558 * elmo.el (elmo-folder-detach-messages): New method.
4559 (elmo-folder-move-messages): Use it.
4560 (elmo-folder-synchronize): Ditto.
4562 * elmo-multi.el (elmo-folder-detach-messages): Define.
4564 * elmo.el (elmo-message-copy-entity): New function.
4565 (elmo-message-entity-set-number): Ditto.
4566 (elmo-message-mark): Define as method.
4568 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4569 (elmo-folder-synchronize): Return 0 (Should be reconsider).
4570 (elmo-message-entity): Fixed last change.
4571 (elmo-message-mark): Define.
4572 (elmo-folder-msgdb-create): Abolish.
4573 (elmo-multi-folder-append-msgdb): Ditto.
4574 (elmo-multi-folder-diff): Fixed.
4575 (elmo-multi-split-number-alist): Removed.
4576 (elmo-multi-split-mark-alist): Removed.
4577 (elmo-folder-list-messages): Define.
4578 (elmo-folder-list-messages-internal): Removed.
4580 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4581 local file messages.
4582 (elmo-folder-msgdb-create): Fixed read mark.
4584 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4586 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4589 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4591 * elmo.el (elmo-folder-list-message-entities): Define as inline
4593 (elmo-folder-messages): Abolish.
4595 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4597 (elmo-folder-synchronize): Define.
4598 (elmo-message-entity): Define.
4600 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
4602 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4603 elmo-imap4-session-select-mailbox.
4605 * elmo.el (elmo-folder-move-messages): Don't display any message.
4607 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4609 (elmo-imap4-session-check): Don't wait CHECK response.
4610 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4612 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4614 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4616 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4618 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4620 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4623 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4624 (elmo-folder-list-message-entities): Added argument in-msgdb and
4626 (elmo-folder-synchronize): Define as a method.
4628 * elmo-nntp.el (elmo-folder-initialize): Don't use
4629 elmo-nntp-default-user if zero-length username is specified
4632 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
4634 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4635 server name in case with username.
4636 (XXX: this is ad-hoc fix against username includes "@", it
4637 should be solved fundamentally)
4639 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
4641 * elmo-nntp.el (elmo-nntp-debug): New function.
4642 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4643 (elmo-network-authenticate-session): Hide auth-info from the log.
4645 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4646 user name if it is equal to elmo-nntp-default-user.
4648 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4650 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4651 instead of shimbun-server-internal;
4652 Use shimbun-current-group instead of shimbun-current-group-internal.
4653 (elmo-folder-plugged-p): Use shimbun-server instead of
4654 shimbun-server-internal.
4655 (elmo-folder-set-plugged): Ditto.
4656 (elmo-net-port-info): Ditto.
4657 (elmo-folder-check): Ditto.
4658 (elmo-folder-expand-msgdb-path): Ditto.
4659 (elmo-folder-list-subfolders): Ditto.
4661 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4663 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4664 Convert field-name to lower case.
4665 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4667 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4669 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4670 `message' and `error' take format string.
4672 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4674 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4676 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4678 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4679 recursive call (can't byte compile on emacs 20.7).
4681 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4683 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4684 (elmo-folder-list-message-entities): New API.
4685 (elmo-message-entity): Ditto.
4686 (elmo-message-entity-parent): Ditto.
4687 (elmo-folder-do-each-message-entity): Ditto.
4688 (elmo-message-entity-number): Ditto.
4689 (elmo-message-entity-field): Ditto.
4690 (elmo-message-entity-set-field): Ditto.
4691 (elmo-folder-count-flags): Ditto.
4692 (elmo-folder-length): Ditto.
4694 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4697 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4698 (elmo-msgdb-count-marks): Abolish.
4699 (elmo-msgdb-make-entity): Ditto.
4700 (elmo-msgdb-do-each-entity): Ditto.
4701 (elmo-msgdb-message-entity): New inline function.
4702 (elmo-msgdb-message-entity-field): Ditto.
4703 (elmo-msgdb-message-entity-set-field): Ditto.
4704 (elmo-msgdb-make-message-entity): New function.
4706 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4708 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4709 to flag. (All other related portions are changed.)
4710 (elmo-folder-msgdb-create): Likewise.
4711 (elmo-generic-folder-append-messages): Use flag-table instead of
4713 (elmo-folder-move-messages): Removed redundant process.
4714 (elmo-folder-synchronize): Likewise.
4716 * elmo-msgdb.el (elmo-flag-table-get): New function.
4717 (elmo-flag-table-save): Fixed.
4718 (elmo-msgdb-length): New inline function.
4719 (elmo-msgdb-flag-table): New function.
4720 (elmo-msgdb-mark): Add optional argument new.
4721 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4722 (elmo-msgdb-seen-list): Ditto.
4723 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4726 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4728 * elmo.el (elmo-message-set-mark): Abolish.
4729 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4730 (All related portions are changed.)
4732 * elmo-msgdb.el (toplevel): Added comment.
4733 (elmo-load-msgdb): Added 4th element `path'.
4734 (elmo-msgdb-append): Follow the change above.
4735 (elmo-msgdb-clear): Ditto.
4736 (elmo-msgdb-delete-msgs): Ditto.
4737 (elmo-msgdb-get-path): New inline function.
4738 (elmo-msgdb-set-path): Ditto.
4739 (elmo-flag-table-filename): New variable.
4740 (elmo-flag-table-load): New function.
4741 (elmo-flag-table-set): Ditto.
4742 (elmo-flag-table-save): Ditto.
4743 (elmo-msgdb-get-field-value): Abolish.
4744 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4746 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4748 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4749 the folder has been deleted successfully.
4750 * elmo-imap4.el (elmo-folder-delete): Ditto.
4751 * elmo-archive.el (elmo-folder-delete): Ditto.
4752 * elmo-localdir.el (elmo-folder-delete): Ditto.
4753 * elmo-maildir.el (elmo-folder-delete): Ditto.
4755 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4757 * elmo-util.el (elmo-string-member-ignore-case): New function.
4758 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4759 (elmo-imap4-fetch-callback-1-subr): Likewise.
4761 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4763 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4764 the case of the name attribute "\Noselect".
4766 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4768 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4770 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4771 flist, is not always a member of onum-alist.
4773 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4775 * elmo-version.el (elmo-version): Up to 2.11.3.
4777 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4779 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4780 copied from localdir's one.
4782 * elmo-pipe.el (elmo-folder-rename): New method, rename
4783 destination folder with leaving source folder as it is.
4785 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4787 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4790 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4792 * elmo-version.el (elmo-version): Up to 2.11.2.
4794 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4796 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4797 shimbun-open in case of "@".
4798 (elmo-folder-open-internal): Cope with shimbun = nil case.
4799 (elmo-folder-plugged-p): Ditto.
4800 (elmo-folder-list-subfolders): Make list for "@/" group.
4802 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4804 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4805 mailbox (e.g. for %~/something).
4807 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4809 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4810 Replace nested conditional with guard clauses.
4812 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4814 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4817 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4820 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4822 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4823 Replace nested conditional with guard clauses.
4825 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4827 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4828 (elmo-passwd-alist-save): Ditto.
4829 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4831 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4833 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4834 dir-name only if it is absolute path.
4835 (TODO: distinguish +/something and +something)
4837 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4839 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4840 path for "+~/something".
4842 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4844 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4845 as non-directory, cause error before rename-file.
4846 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4847 apropriately, mimic localdir's one.
4848 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4850 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4852 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4854 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4856 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4858 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4860 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4861 is included in the global-mark or not.
4863 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4865 * utf7.el (toplevel): Avoid error when the function
4866 find-coding-system does not exist.
4868 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4870 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4871 cache even if the folder is plugged.
4872 (elmo-nntp-search-primitive): Do nothing when body search is
4873 invoked (although it is not used by the change above).
4874 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4876 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4878 * elmo-version.el (elmo-version): Up to 2.11.1.
4880 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4882 * elmo-archive.el: Specify charset.
4884 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4886 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4887 process buffer lives or not.
4889 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4890 while flushing queues (It causes infinite loop).
4892 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4894 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4896 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4898 * utf7.el (toplevel): Check the ucs features dynamically.
4899 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4901 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4902 folder is creatabe or not if it already exists.
4904 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4906 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4908 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4910 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4911 (elmo-imap4-read-response): Take care of garbage response.
4913 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4915 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4916 just return nil instead of error.
4918 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4920 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4921 search-key is "body".
4923 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4925 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4926 of elmo-string-matched-assoc to use match-data.
4927 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4929 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4931 * elmo-split.el (elmo-split->): New function.
4932 (elmo-split-<): Ditto.
4934 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4936 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4937 workaround for invalid message-id.
4939 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4941 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4942 return normal pop3 session or pop3 biff session.
4944 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4946 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4947 info part to the cur files when the new files already have it.
4948 (Adviced by Jared Rhine <jared@wordzoo.com>)
4950 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4952 * elmo-split.el (elmo-split-default-action): New variable.
4953 (elmo-split-subr): Use it if all other conditions are passed.
4954 Extend `fname' and rename it as `action'. (implemented
4955 Teranishi-san's idea in [wl:10800])
4957 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4959 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4960 * elmo-util.el: Ditto.
4962 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4964 * elmo.el (elmo-message-accessible-p): Renamed from
4965 elmo-message-cached-p and rewritten.
4967 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4969 * elmo.el (elmo-folder-list-flagged): New generic function.
4970 (elmo-folder-list-importants): New implementation.
4971 (elmo-folder-list-answereds): Ditto.
4972 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4974 (elmo-message-cached-p): New function.
4975 (elmo-message-set-flag): Ditto (no content).
4976 (elmo-message-unset-flag): Ditto.
4977 (elmo-folder-list-messages-mark-match): Abolish.
4979 * elmo-util.el (elmo-regexp-opt): New function.
4981 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4982 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4984 (elmo-msgdb-list-flagged): New function.
4986 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4987 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4990 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4992 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4994 * elmo-version.el (elmo-version): Up to 2.11.0.
4996 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4998 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4999 `elmo-file-cache-exists-p'; use proper mark that depends on
5001 (elmo-msgdb-unset-flag): Ditto.
5002 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
5004 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
5005 with 4th argument `use-cache'.
5007 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
5009 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
5010 (elmo-folder-mark-as-important): Ditto.
5011 (elmo-folder-unmark-read): Ditto.
5012 (elmo-folder-mark-as-read): Ditto.
5013 (elmo-folder-unmark-answered): Ditto.
5014 (elmo-folder-mark-as-answered): Ditto.
5016 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
5018 (elmo-msgdb-mark): Likewise.
5019 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
5020 (elmo-msgdb-unset-flag): Likewise.
5022 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5024 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5026 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5029 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5031 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5032 set spool-length to 0.
5034 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5036 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5037 (elmo-dop-queue-flush): Fixed last change.
5039 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5041 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5042 if require-msgdb slot is nil.
5043 (elmo-folder-list-importants): Likewise.
5045 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5047 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5050 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5051 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5054 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
5056 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5058 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
5060 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5062 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5064 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5066 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5067 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5069 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5071 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5072 the problem reported by Sean Rima [wl-en:180].
5074 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
5076 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5078 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5080 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5082 * elmo-map.el (elmo-folder-unmark-read): Ditto.
5084 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5086 * elmo-net.el (elmo-folder-unmark-read): Ditto.
5088 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5090 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
5092 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5095 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5097 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5098 (elmo-folder-mark-as-read): Follow the API change.
5099 (elmo-message-set-cached): New function.
5101 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5103 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5105 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5106 (elmo-folder-mark-as-important): Ditto.
5107 (elmo-folder-unmark-read): Ditto.
5108 (elmo-folder-mark-as-read): Ditto.
5109 (elmo-folder-unmark-answered): Ditto.
5110 (elmo-folder-mark-as-answered): Ditto.
5112 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5113 (elmo-folder-unmark-important): Ditto.
5114 (elmo-folder-mark-as-read): Ditto.
5115 (elmo-folder-unmark-read): Ditto.
5116 (elmo-folder-mark-as-answered): Ditto.
5117 (elmo-folder-unmark-answered): Ditto.
5119 * elmo-mark.el (toplevel): Removed some mark method definitions.
5121 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5122 (elmo-map-folder-mark-as-answered): Ditto.
5123 (elmo-folder-unmark-important): Add :before qualifier.
5124 (elmo-folder-mark-as-important): Ditto.
5125 (elmo-folder-unmark-read): Ditto.
5126 (elmo-folder-mark-as-read): Ditto.
5127 (elmo-folder-unmark-answered): Define.
5128 (elmo-folder-mark-as-answered): Ditto.
5130 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5131 (elmo-map-folder-unmark-answered): Ditto.
5133 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5135 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5136 (elmo-folder-mark-as-important): Ditto.
5137 (elmo-folder-unmark-read): Ditto.
5138 (elmo-folder-mark-as-read): Ditto.
5139 (elmo-folder-unmark-answered): Ditto.
5140 (elmo-folder-mark-as-answered): Ditto.
5142 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5143 `mark'; evaluate mark condition.
5144 (elmo-msgdb-match-condition-internal): New function.
5145 (elmo-msgdb-match-condition): Call it; changed argument.
5147 * elmo.el (elmo-folder-search): Follow the API change on
5148 `elmo-msgdb-match-condition'.
5150 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5152 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5153 original mark is non-nil.
5155 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5157 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5158 (elmo-map-folder-list-answereds): New method.
5159 (elmo-folder-list-unreads): Add :around qualifier.
5160 (elmo-folder-list-importants): Ditto.
5161 (elmo-folder-list-answereds): Ditto.
5163 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
5165 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5167 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5168 method if msgdb is not required.
5169 (elmo-filter-folder-list-importants): Don't treat global-mark.
5171 * elmo.el (elmo-folder-list-importants): Ditto.
5173 * elmo-net.el (elmo-folder-list-importants): Ditto.
5175 * elmo-map.el (elmo-folder-list-importants): Ditto.
5177 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5179 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5180 (elmo-imap4-folder-list-any-plugged): New function.
5181 (elmo-imap4-search-internal-primitive): Use it.
5183 * elmo-filter.el (elmo-folder-check): Synchronize original folder
5184 only when require-msgdb slot is non-nil.
5185 (elmo-folder-close): Clear target folder's msgdb.
5187 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5189 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5190 (elmo-pop3-msgdb-create-by-header): Ditto.
5191 (elmo-pop3-msgdb-create-message): Ditto.
5193 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5195 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5197 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5199 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5200 (elmo-folder-msgdb-create): Ditto.
5201 (elmo-nntp-folder-msgdb-create): Ditto.
5202 (elmo-nntp-msgdb-create-by-header): Ditto.
5203 (elmo-nntp-msgdb-create-message): Ditto.
5204 (elmo-folder-list-unreads): Define.
5206 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5207 (elmo-folder-append-messages): Ditto.
5208 (elmo-folder-list-unreads): Define.
5209 (elmo-folder-list-importants): Ditto.
5210 (elmo-folder-list-answereds): Ditto.
5212 * elmo-net.el (elmo-folder-list-unreads): Define.
5213 (elmo-folder-list-importants): Ditto.
5214 (elmo-folder-list-answereds): Ditto.
5215 (elmo-folder-list-answereds-plugged): Ditto.
5216 (elmo-folder-msgdb-create): Follow the API change.
5217 (elmo-folder-msgdb-create-unplugged): Ditto.
5218 (elmo-folder-unmark-answered): Define.
5219 (elmo-folder-mark-as-answered-unplugged): Ditto.
5220 (elmo-folder-unmark-answered-unplugged): Ditto.
5222 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5223 (elmo-msgdb-unread-uncached-mark): Ditto.
5224 (elmo-msgdb-unread-cached-mark): Ditto.
5225 (elmo-msgdb-read-uncached-mark): Ditto.
5226 (elmo-msgdb-answered-cached-mark): Ditto.
5227 (elmo-msgdb-answered-uncached-mark): Ditto.
5228 (elmo-msgdb-important-mark): Ditto.
5229 (elmo-msgdb-set-mark): Rewrite.
5230 (elmo-msgdb-count-marks): Rewrite.
5231 (elmo-msgdb-mark-alist-set): Abolish.
5232 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5233 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5235 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5236 (elmo-folder-close): Define.
5237 (elmo-folder-msgdb-create): Follow the API change.
5238 (elmo-folder-list-unreads): Rewrite.
5239 (elmo-folder-mark-as-important): Ditto.
5240 (elmo-folder-unmark-important): Ditto.
5241 (elmo-folder-mark-as-read): Ditto.
5242 (elmo-folder-unmark-read): Ditto.
5243 (elmo-folder-mark-as-answered): Define.
5244 (elmo-folder-unmark-answered): Ditto.
5246 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5247 (elmo-folder-append-messages): Ditto.
5249 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5251 * elmo-map.el (elmo-folder-list-unreads): Ditto.
5252 (elmo-folder-list-importants): Ditto.
5254 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5255 (elmo-folder-append-messages): Ditto.
5257 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5259 (elmo-folder-msgdb-create-plugged): Ditto.
5260 (elmo-folder-append-messages): Ditto.
5261 (elmo-folder-list-answereds-plugged): Define.
5262 (elmo-imap4-search-internal-primitive): Add `mark' processing.
5263 (elmo-folder-unmark-answered-plugged): Define.
5264 (elmo-folder-mark-as-answered-plugged): Ditto.
5265 (elmo-folder-search-requires-msgdb-p): Ditto.
5267 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5268 (elmo-folder-initialize): Set it.
5269 (elmo-folder-msgdb): Define.
5270 (elmo-folder-check): Call elmo-folder-synchronize.
5271 (elmo-folder-close): Define.
5272 (elmo-folder-commit): Ditto.
5273 (elmo-folder-msgdb-create): Rewrite.
5274 (elmo-folder-list-unreads): Ditto.
5275 (elmo-folder-list-importants): Ditto.
5276 (elmo-folder-mark-as-read): Ditto.
5277 (elmo-folder-unmark-read): Ditto.
5278 (elmo-folder-mark-as-important): Ditto.
5279 (elmo-folder-unmark-important): Ditto.
5280 (elmo-folder-mark-as-answered): Define.
5281 (elmo-folder-unmark-answered): Ditto.
5283 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5284 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5285 (elmo-dop-queue-method-name-alist): Likewise.
5286 (elmo-folder-mark-as-answered-dop): New inline function.
5287 (elmo-folder-unmark-answered-dop): Ditto.
5288 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5290 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5291 (elmo-folder-msgdb-create): Ditto.
5292 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5293 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5294 (elmo-archive-parse-mmdf): Ditto.
5296 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5297 (elmo-folder-list-unreads-internal): Ditto.
5299 * elmo.el (elmo-folder-msgdb): Define as generic function.
5300 (elmo-folder-list-messages): Added argument `in-msgdb'.
5301 (elmo-folder-list-unreads): Define as generic function.
5302 (elmo-folder-list-importants): Ditto.
5303 (elmo-folder-list-answereds): Ditto.
5304 (elmo-folder-list-messages-with-global-mark): New function.
5305 (elmo-folder-msgdb-create): Removed mark arguments.
5306 (elmo-folder-unmark-answered): New generic function.
5307 (elmo-folder-mark-as-answered): Ditto.
5308 (elmo-folder-append-messages): Removed argunment `unread-marks'
5309 (elmo-folder-list-unreads-internal): Abolish.
5310 (elmo-folder-list-importants-internal): Ditto.
5311 (elmo-folder-search-requires-msgdb-p): New generic function.
5312 (elmo-folder-search-requires-msgdb-p-internal): New function.
5313 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5315 (elmo-folder-search-fast): Added key 'mark'.
5316 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5317 instead of unread-marks argument.
5318 (elmo-folder-move-messages): Removed argunment `unread-marks'
5319 (elmo-folder-unmark-important): Define.
5320 (elmo-folder-mark-as-important): Ditto.
5321 (elmo-folder-unmark-read): Ditto.
5322 (elmo-folder-mark-as-read): Ditto.
5323 (elmo-folder-unmark-answered): Ditto.
5324 (elmo-folder-mark-as-answered): Ditto.
5325 (elmo-folder-replace-marks): Abolish.
5326 (elmo-generic-folder-append-msgdb): Append msgdb before checking
5328 (elmo-folder-synchronize): Removed mark arguments;
5329 return crosspost only number.
5331 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5333 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5334 Remove redundunt connectivity check.
5336 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5338 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5339 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5341 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
5343 * pldap.el (ldap-decode-string): Return string as-is if
5344 `ldap-coding-system' is nil.
5345 (ldap-encode-string): Ditto.
5346 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5347 (ldap-default-host): Fixed docstring.
5349 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
5351 * elmo-util.el (elmo-warning): Define as a macro which uses
5352 `display-warning' if it is defined as a function.
5354 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5355 (elmo-split-equal): Use it.
5356 (elmo-split-match): Ditto.
5357 (elmo-split-message-entity): New buffer-local variable.
5358 (elmo-split-subr): Set it.
5360 * elmo-version.el (elmo-version): Up to 2.9.15.
5362 2002-08-18 Kenichi OKADA <okada@opaopa.org>
5364 * elmo-imap4.el (elmo-network-initialize-session):
5365 Check capability after starttls.
5367 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
5369 * elmo-util.el (elmo-list-delete): Added optional argument
5372 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5374 * elmo-util.el (elmo-warning): Ignore errors while recenter.
5376 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5378 * elmo-imap4.el (elmo-folder-initialize): Don't use
5379 elmo-imap4-default-mailbox.
5381 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
5383 * elmo-split.el (toplevel): Use `product-provide'.
5384 (elmo-split): Checkdoc.
5386 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
5388 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5389 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5390 the function `elmo-imap4-debug-1'.
5392 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5394 * elmo-split.el (elmo-split): Moved to run hooks and to show
5395 message from elmo-split-subr.
5396 (elmo-split-subr): Follow the change above.
5398 * elmo-split.el (elmo-split-subr): New function (renamed from
5400 (elmo-split): Changed to call elmo-split-subr by element of
5402 (elmo-split-folder): Changed customization type to choice.
5404 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5406 * elmo-split.el (elmo-split-and): Fixed condition.
5408 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5410 * elmo-split.el: New file.
5411 (elmo-split): Fixed logic.
5412 Display "Test:" instead of "Folder:" when reharsal.
5414 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5417 * elmo-version.el (elmo-version): Up to 2.9.14.
5419 * elmo-util.el (elmo-expand-newtext): New function (renamed from
5422 2002-06-10 Kenichi Sato <ksato@sonycom.com>
5424 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5425 message with no message-id field.
5427 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
5429 * elmo-version.el (elmo-version): Up to 2.9.13.
5431 * elmo-dop.el (elmo-folder-status-dop): Fix.
5433 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
5435 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5437 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5438 changing default value of default-mime-charset.
5439 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5441 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5443 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5444 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5445 instead of elmo-dop-queue-method-name-alist to check merging queue.
5446 (elmo-folder-delete-messages-dop): Delete from queue if negative
5448 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5449 file is already removed.
5451 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5453 * elmo-vars.el: Bind colon keywords for old Emacsen.
5455 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5457 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5458 against non-exsisting charset.
5460 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
5462 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5463 Use eword-decode-and-unfold-unstructured-field-body.
5465 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5466 (elmo-msgdb-create-overview-from-buffer): Use document charset if
5467 exists to decode raw subject string.
5468 (toplevel): Require 'mime.
5470 * elmo-version.el (elmo-version): Up to 2.9.12.
5472 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
5474 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5475 (elmo-msgdb-set-mark): Ditto.
5477 * elmo-version.el (elmo-version): Up to 2.9.11.
5479 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
5481 * elmo-util.el (elmo-delete-match-files): New function.
5483 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5484 instead of elmo-delete-directory.
5486 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5487 elmo-hash-minimun-size as 63.
5489 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5490 elmo-diff-unread is nil.
5492 * elmo-imap4.el (elmo-folder-open): Fix.
5494 * elmo.el (elmo-message-mark): Rewrite.
5495 (elmo-message-field): Ditto.
5496 (elmo-message-set-mark): Ditto.
5497 (elmo-folder-replace-marks): New function.
5498 (elmo-generic-folder-append-msgdb): Removed third argument for
5500 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5501 (elmo-msgdb-load): New implementation.
5503 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5505 * elmo-util.el (elmo-list-insert): New implementation.
5507 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5508 argument for elmo-msgdb-append.
5511 * elmo-msgdb.el (elmo-load-msgdb): New function.
5512 (elmo-make-msgdb): Ditto.
5513 (elmo-msgdb-get-index): New inline function.
5514 (elmo-msgdb-set-index): Ditto.
5515 (elmo-msgdb-get-entity-hashtb): Ditto.
5516 (elmo-msgdb-get-mark-hashtb): Ditto.
5517 (elmo-msgdb-get-mark): Ditto.
5518 (elmo-msgdb-set-mark): Ditto.
5519 (elmo-msgdb-count-marks): Ditto.
5520 (elmo-msgdb-get-number): Ditto.
5521 (elmo-msgdb-get-field): Ditto.
5522 (elmo-msgdb-seen-list): Ditto.
5523 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5524 (elmo-msgdb-delete-msgs): Follow the changes above.
5525 (elmo-msgdb-overview-get-entity): Ditto.
5526 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5527 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5529 (elmo-msgdb-make-index): Likewise.
5530 (elmo-msgdb-append): Removed third argument.
5531 (elmo-msgdb-clear): Clear index as nil.
5532 (elmo-folder-set-info-hashtb): Removed.
5533 (elmo-folder-set-info-max-by-numdb): Ditto.
5534 (elmo-folder-info-make-hashtb): Ditto.
5536 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5538 * elmo-map.el (elmo-folder-pack-number): Ditto.
5540 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
5542 * elmo-version.el (elmo-version): Up to 2.9.10.
5544 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5546 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5548 2002-04-26 Kenichi OKADA <okada@opaopa.org>
5550 * elmo-utils.el (elmo-make-directory): Add option.
5551 Default file mode is 700.
5553 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5555 * elmo-shimbun.el (elmo-folder-local-p): Defined.
5557 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
5559 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5562 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5565 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5567 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5568 (elmo-shimbun-folder-entity-hash): New function.
5569 (elmo-shimbun-folder-shimbun-header): Ditto.
5570 (elmo-shimbun-entity-to-header): Ditto.
5571 (elmo-shimbun-msgdb-to-headers): Removed.
5572 (elmo-shimbun-folder-setup): Ditto.
5573 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5575 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5576 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5577 Removed useless local bind.
5578 (elmo-folder-open-internal): Don't call
5579 `elmo-shimbun-folder-setup'.
5580 (elmo-folder-close-internal): Clear entity-hash slot.
5581 (elmo-folder-clear): Ditto.
5582 (elmo-shimbun-msgdb-create-entity): Use
5583 `elmo-shimbun-folder-shimbun-header'.
5584 (elmo-map-message-fetch): Ditto.
5585 (elmo-shimbun-update-overview): Use overview entity instead of
5586 shimbun header to lookup id by references.
5587 (elmo-map-folder-list-message-locations): Use not only headers but
5588 also overviews to list locations.
5590 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5592 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5595 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5597 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5599 * elmo-util.el (elmo-read-search-condition-internal): Give default
5602 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
5604 * elmo-util.el (elmo-condition-parse-search-value): Accept
5605 YYYY-MM-DD format to search.
5606 * elmo-date.el (elmo-date-get-datevec): Likewise.
5608 2002-04-04 Kenichi OKADA <okada@opaopa.org>
5610 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5613 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5615 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5618 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5620 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5621 case from `elmo-folder-exists-p'.
5622 (elmo-folder-exists-p): Removed.
5623 (elmo-folder-creatable-p) Ditto.
5625 * elmo-net.el (elmo-folder-create): Defined.
5626 (elmo-folder-create-unplugged): New function.
5627 (elmo-folder-exists-p): Changed default value to nil from t.
5629 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5630 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5632 * elmo-dop.el (elmo-folder-create-dop): Renamed from
5633 `elmo-create-folder-dop' and append queue
5634 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5635 (elmo-folder-create-dop-delayed): New function.
5637 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5639 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5641 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5642 (elmo-folder-writable-p) : Ditto.
5644 * elmo-version.el (elmo-version): Up to 2.9.9.
5646 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5648 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5649 `elmo-message-use-cache-p' returns nil.
5650 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5651 (ignore cache file and refer the substance in local folders)
5653 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5655 * elmo-version.el (elmo-version): Up to 2.9.8.
5657 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5659 * elmo-version.el (elmo-version): Up to 2.9.7.
5661 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5663 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5665 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5667 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5669 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5671 (elmo-map-folder-list-message-locations): Reverse location list.
5673 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5675 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5677 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5679 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5681 (elmo-nntp-folder-list-subfolders): Follow the change above.
5683 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5685 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5686 name if authentication type is specified.
5688 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5690 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5692 (elmo-default-nntp-stream-type): Ditto.
5693 (elmo-default-pop3-stream-type): Ditto.
5695 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5697 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5699 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5701 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5703 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5705 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5706 (elmo-maildir-folder-path): Ditto.
5707 (elmo-maildir-list): Ditto (abolished).
5709 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5711 * elmo-version.el (elmo-version): Up to 2.9.6.
5713 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5715 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5716 (elmo-maildir-folder-path): Ditto.
5717 (elmo-msgdb-directory): Ditto.
5718 (elmo-passwd-life-time): Ditto.
5719 (elmo-msgdb-extra-fields): Ditto.
5720 (elmo-enable-disconnected-operation): Ditto.
5722 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5724 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5726 (elmo-pop3-default-authenticate-type): Ditto.
5728 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5730 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5732 (elmo-pop3-default-authenticate-type): Ditto.
5734 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5736 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5737 mailbox to new-folder.
5739 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5741 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5742 less than new, set new as unread.
5744 * elmo-util.el (elmo-string): Don't put text-property if nil.
5746 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5748 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5749 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5751 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5753 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5754 is nil on `completing-read'.
5756 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5758 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5760 (elmo-imap4-parse-namespace-subr): Ditto.
5761 (elmo-folder-list-subfolders): Append a delimiter when the specified
5762 folder path is a root with namespace and does not end with delimiter.
5764 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5766 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5769 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5771 * elmo-util.el (elmo-save-buffer): The first argument of message
5772 is a format control string.
5774 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5776 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5777 `elmo-folder-diff').
5778 (elmo-diff-unread): Likewise.
5780 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5782 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5783 is t on `completing-read'.
5785 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5787 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5788 method of target folder with self mark-alist if MARK-ALIST is nil.
5790 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5792 * elmo-version.el (elmo-version): Up to 2.9.5.
5794 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5796 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5797 (elmo-dop-merge-funcs): Remove.
5799 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5801 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5802 Return t if PATH is directory, too.
5803 Use `dolist' instead of while loop.
5805 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5807 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5810 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5812 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5814 (elmo-folder-list-messages-unplugged): Return t if
5815 elmo-enable-disconnected-operation is nil.
5817 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5818 `elmo-folder-list-messages-internal'.
5820 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5822 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5823 Change to looking-at `[23][0-9]+'.
5824 (elmo-network-initialize-session): Use 'error-msg'
5825 * elmo-net.el (elmo-network-open-session): Set unplugged
5826 if elmo-network-initialize-session returns 'elmo-open-err.
5828 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5830 * elmo-version.el (elmo-version): Up to 2.9.4.
5832 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5834 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5835 `elmo-folder-list-messages-internal'.
5837 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5839 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5840 (elmo-message-match-condition): New method.
5841 (elmo-folder-search-fast): New inline function.
5842 (elmo-msgdb-search): Removed.
5844 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5845 target folder if it is unplugged.
5846 (elmo-folder-list-messages-internal): Return t if target folder is
5847 unplugged and itself is persistent; In this case, use list be
5850 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5851 (elmo-msgdb-search-internal-primitive): Ditto.
5852 (elmo-msgdb-match-condition): New function.
5853 (elmo-msgdb-match-condition-primitive): Ditto.
5855 * elmo-util.el (elmo-filter-condition-p): New macro.
5857 * elmo-cache.el (elmo-folder-search): Removed.
5859 * elmo-localdir.el (elmo-folder-search): Ditto.
5861 * elmo-maildir.el (elmo-folder-search): Ditto.
5863 * elmo-mark.el (elmo-folder-search): Ditto.
5865 * elmo-nmz.el (elmo-folder-search): Ditto.
5867 * elmo-sendlog.el (elmo-folder-search): Ditto.
5869 * elmo-shimbun.el (elmo-folder-search): Ditto.
5871 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5872 if folder is unplugged.
5874 * elmo-nntp.el (elmo-folder-search): Likewise.
5875 (elmo-nntp-search-internal): New function.
5877 * elmo-version.el (elmo-version): Up to 2.9.3.
5879 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5881 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5883 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5885 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5887 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5889 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5891 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5893 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5894 (elmo-map-folder-list-message-locations): Do drive letter conversion
5895 on Windows environment.
5896 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5897 (elmo-map-message-fetch): Ditto.
5899 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5901 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5902 (elmo-network-initialize-session): Ditto.
5904 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5906 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5908 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5910 * elmo-util.el (elmo-progress-clear): Ditto.
5912 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5913 `DD-Mon-YYYY' type date.
5915 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5917 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5918 `elmo-date-make-sortable-string' instead of
5919 `timezone-make-date-sortable'.
5921 * elmo-date.el (elmo-date-make-sortable-string): Use
5922 `timezone-make-time-string'.
5924 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5926 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5928 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5929 `since'; Fix timezone.
5931 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5933 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5935 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5937 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5939 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5941 * elmo.el (elmo-generic-folder-append-messages): Make
5942 fetch-strategy with `use-cache' as 'maybe. Check return value of
5943 `elmo-message-fetch'.
5944 (elmo-message-fetch): Return return value of
5945 `elmo-message-fetch-with-cache-process'.
5946 (elmo-message-fetch-with-cache-process): Return non-nil if
5947 fetching was succeed. Load cache when fetching was failed and
5948 fetch-strategy-use-cache is 'maybe.
5950 * elmo-util.el (elmo-file-cache-load): New function.
5952 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5955 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5956 non-nil if fetching was succeed.
5958 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5960 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5962 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5963 (elmo-message-fetch-with-cache-process): Likwise.
5965 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5967 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5969 * elmo-version.el (elmo-version): Up to 2.9.2.
5971 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5973 * elmo.el (elmo-folder-delete): Delete msgdb path.
5975 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5977 * elmo-maildir.el (elmo-folder-delete): Ditto.
5979 * elmo-localdir.el (elmo-folder-delete): Ditto.
5981 * elmo-imap4.el (elmo-folder-delete): Ditto.
5983 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5985 * elmo.el (luna-define-class): Added `biff' slot.
5987 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5988 (elmo-pop3-debug-inhibit-logging): Abolished.
5989 (elmo-network-close-session): Eliminated needless let.
5990 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5991 (elmo-pop3-send-command): Added `no-log' argument.
5992 (elmo-pop3-process-filter): Use `with-current-buffer'.
5993 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5995 (elmo-pop3-auth-apop): Likewise.
5996 (elmo-network-authenticate-session): Likewise.
5998 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
6001 * elmo-net.el (elmo-network-session-password-key): Use class symbol
6002 string to determine protocol.
6003 (elmo-network-session-name-prefix): Abolished.
6004 (elmo-network-session-cache-key): Follow the change above.
6005 (elmo-network-open-session): Ditto.
6007 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
6008 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
6010 * elmo-version.el (elmo-version): Up to 2.9.1.
6012 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
6013 unmatch condition checking.
6015 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
6018 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6020 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
6022 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
6024 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6025 test for while loop to execute at least one SEARCH command.
6027 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
6029 * elmo-version.el (elmo-version): Up to 2.9.0.
6031 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6033 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6034 (elmo-archive-folder-path): Define.
6035 (elmo-folder-initialize): Setup `dir-name' slot.
6036 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6037 Use `dir-name' as prefix of each subfolders.
6038 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6040 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6042 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6043 (elmo-pipe-folder-list-target-messages): New internal function.
6044 (elmo-pipe-drain): Use new argument `ignore-list' instead of
6046 (elmo-pipe-folder-copied-list-load): New function.
6047 (elmo-pipe-folder-copied-list-save): Ditto.
6048 (elmo-folder-open-internal): Follow the change above.
6049 (elmo-folder-status): Fixed for copy.
6051 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
6053 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6055 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
6057 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6058 elmo-copy-file instead of elmo-add-name-to-file.
6060 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6062 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6065 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6066 of accept-process-output as 1.
6067 (elmo-pop3-read-contents): Ditto.
6068 (elmo-pop3-read-body): Ditto.
6070 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
6072 * elmo-version.el (product-version-as-string): Remove define.
6074 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6076 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6077 (elmo-imap4-copy-messages): Chop number set using
6078 `elmo-imap4-number-set-chop-length'.
6079 (elmo-imap4-set-flag): Ditto.
6080 (elmo-imap4-search-internal-primitive): Ditto.
6082 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
6084 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6085 `elmo-folder-make-temp-dir'
6087 * elmo-vars.el (elmo-cache-directory): New variable.
6088 (elmo-cache-dir): Abolished.
6089 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6091 * elmo-version.el (elmo-version): Up to 2.7.7.
6093 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6095 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6096 defcustom; Set default value as t.
6098 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
6100 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6101 (ldap-search-program-arguments): Changed default value.
6102 (ldap-search-basic): Accept exit status 4.
6103 (ldap/field-body): Parse options.
6104 (ldap/collect-field): Ditto.
6105 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6107 * elmo-imap4.el (elmo-imap4-process-bye): New function.
6108 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6109 (elmo-imap4-accept-ok): Ditto.
6110 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6111 'notify-bye, only BYE error is reported.
6112 (elmo-folder-exists-p-plugged): Set no-error argument of
6113 `elmo-imap4-session-select-mailbox' as 'notify-bye.
6115 * elmo.el (elmo-imap4-bye-error): Changed message.
6117 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6118 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6119 queues (It causes infinite loop).
6121 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
6123 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6124 (RECENT UNSEEN MESSAGES) extension.
6126 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
6128 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6129 Check number of overview fields.
6131 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6133 * elmo.el (elmo-folder-confirm-appends): Changed message.
6134 (elmo-folder-confirm-appends): Ditto.
6136 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6138 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6140 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
6142 * elmo.el (elmo-folder-confirm-appends): Check whether the value
6143 of elmo-folder-update-threshold is nil, which can be set by
6144 wl-summary-update-confirm-threshold.
6146 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
6148 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6149 (elmo-nmz-index-alias-alist): Ditto.
6150 (elmo-map-folder-list-message-locations): Follow the change above.
6152 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6154 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6156 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6158 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6160 * elmo-util.el (elmo-read): Ditto.
6161 (elmo-display-error): Ditto.
6163 * elmo-vars.el (elmo-date-match): Ditto.
6165 * pldap.el (ldap-coding-system): Ditto.
6167 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6168 `elmo-inhibit-number-mapping' as nil.
6170 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
6172 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6173 space delimiter for list response.
6175 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6177 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6179 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6181 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6182 (elmo-map-message-fetch): Fix.
6183 * elmo-map.el (elmo-folder-status): Fix for killed.
6185 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6187 * elmo-sendlog.el: New file.
6188 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6190 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6192 * acap.el (acap-logging-out): New buffer local variable.
6193 (acap-close): Set it.
6194 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6197 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6199 * acap.el (acap-response-bye-p): New function.
6200 (acap-response-bye-message): Ditto.
6201 (acap-wait-for-response): If bye response is received, cause an error.
6202 (acap-parse-response): Make bye response when 'Bye' is received.
6204 2001-11-23 Kenichi OKADA <okada@opaopa.org>
6206 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6208 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6210 * elmo-util.el (elmo-copy-file): Added argument
6211 `ok-if-already-exists'.
6212 (elmo-copy-file): Fixed typo.
6214 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6216 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6218 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6220 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6222 2001-11-20 Kenichi OKADA <okada@opaopa.org>
6224 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6227 2001-11-19 Kenichi OKADA <okada@opaopa.org>
6229 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6230 (elmo-folder-initialize): Fix for `copy'.
6231 (elmo-pipe-drain): Ditto.
6232 (elmo-folder-open-internal): Ditto.
6233 (elmo-folder-newsgroups): Fix.
6235 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
6237 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6240 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6241 recent value is returned from imap folder.
6243 * elmo.el (elmo-folder-newsgroups): New generic function.
6245 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6246 (elmo-folder-initialize): Set it.
6247 (elmo-folder-expand-msgdb-path): Use it.
6248 (elmo-folder-newsgroups): Define.
6250 * elmo-filter.el (elmo-folder-newsgroups): Define.
6252 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6254 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6256 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6258 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6260 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6262 (elmo-shimbun-header-extra-field): New inline function.
6263 (elmo-shimbun-header-set-extra-field): Ditto.
6264 (elmo-shimbun-folder-header-hash-setup): Ditto.
6265 (elmo-shimbun-update-overview): Ditto.
6266 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6267 (elmo-shimbun-folder-setup): Use
6268 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6269 (elmo-shimbun-get-headers): Ditto.
6270 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6271 Insert `X-Shimbun-Id:' header if extra field is set.
6272 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6273 field's value instead of `shimbun-header-id'.
6275 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6277 (elmo-msgdb-overview-entity-set-date): Ditto.
6278 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6280 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
6282 * mmimap.el (mmimap-entity-section): Changed body node number from
6285 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6287 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6288 `elmo-folder-delete-messages'.
6290 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6291 (elmo-folder-initialize): Changed to expand alias into index path.
6293 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6294 `elmo-mime-insert-header-from-buffer' with 6th arg
6297 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6299 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6301 * elmo.el (elmo-diff-new): New inline function.
6302 (elmo-diff-unread): Ditto.
6303 (elmo-diff-all): Ditto.
6305 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6306 value from responseb.
6307 (elmo-imap4-folder-diff-plugged): Ditto.
6308 (elmo-imap4-server-diff-async): Added recent argument.
6309 (elmo-server-diff-async): Ditto.
6310 (elmo-imap4-folder-diff-plugged): Ditto.
6312 * elmo-version.el (elmo-version): Up to 2.7.6.
6314 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6316 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6319 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
6321 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6323 * elmo-imap4.el (elmo-folder-initialize): Ditto.
6325 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6327 * elmo-multi.el (elmo-folder-initialize): Ditto.
6329 * elmo-util.el (elmo-parse-token): New function.
6330 (elmo-parse-prefixed-element): Ditto.
6332 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6334 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6336 (elmo-imap4-accept-ok): Ditto.
6338 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6340 * mmimap.el (mime-imap-entity-header-string): Don't check first
6341 element of node-id is `0' (Follow last change).
6343 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6345 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6346 assigned irregular node-id to nested multipart section.
6347 (initialize-instance): Followed above change.
6349 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6351 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6352 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6353 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6354 `elmo-shimbun-get-headers');
6355 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6356 visible article on summary exists in headers).
6357 (elmo-map-message-fetch): Cause an error when folder is unplugged.
6359 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6361 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6364 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
6366 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6368 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6370 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6371 header separator into loop condition.
6373 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6375 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6376 Return duplicate folder if it has subfolder.
6378 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
6380 * elmo.el (elmo-make-folder): Add folder name error check.
6382 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6383 (elmo-nntp-encode-group-string): New inline function.
6384 (elmo-nntp-decode-group-string): Ditto.
6385 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6386 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6387 Use `not' instead of `null';
6388 Use elmo-nntp-decode-group-string.
6390 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6392 * elmo-version.el (elmo-version): Up to 2.7.5.
6394 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6396 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6397 Hide progress gauge if `elmo-folder-move-messages' exits
6400 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
6402 * elmo-imap4.el (elmo-folder-initialize): Use
6403 `elmo-imap4-encode-folder-string' for folder name.
6405 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6407 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6410 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6412 * elmo-util.el (elmo-progress-counter-alist): New internal
6414 (elmo-progress-counter-value): New macro.
6415 (elmo-progress-counter-all-value): Ditto.
6416 (elmo-progress-counter-format): Ditto.
6417 (elmo-progress-counter-set-value): Ditto.
6418 (elmo-progress-set): New function.
6419 (elmo-progress-clear): Ditto.
6420 (elmo-progress-notify): Ditto.
6422 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6425 * elmo.el (elmo-generic-folder-append-messages): Call
6426 `elmo-progress-notify'.
6427 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6429 * elmo-archive.el (elmo-folder-append-messages): Call
6430 `elmo-progress-notify'.
6432 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6434 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6436 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6438 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
6440 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6442 (elmo-message-encache-dop): Added argument `read'.
6444 * elmo-shimbun.el (elmo-message-encache): Ditto.
6446 * elmo-net.el (elmo-message-encache): Ditto.
6448 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6449 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6450 elmo-imap4-seen-messages.
6451 (elmo-folder-msgdb-create-plugged): Initialize
6452 elmo-imap4-seen-messages;
6453 Set seen mark on elmo-imap4-seen-messages.
6455 * elmo-pipe.el (elmo-folder-message-file-p): Define.
6457 * elmo.el (elmo-generic-folder-append-messages): Check return value of
6458 elmo-folder-append-buffer.
6459 (elmo-folder-encache): Added optional argument `read'.
6460 (elmo-message-encache): Ditto.
6462 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6464 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6466 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6467 if append buffer content succeds.
6469 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
6471 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6472 elmo-display-progress.
6474 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6475 Set 4th argument of mime-display-message.
6476 (elmo-mime-display-as-is): Ditto.
6478 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
6480 * elmo-nmz.el (toplevel): Require 'mime-edit.
6481 (elmo-nmz-content-type-alist): Abolished.
6482 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6483 content is not a message.
6484 (elmo-map-message-fetch): Changed behavior exept for message content;
6485 Detect mime-charset automatically, Use `mime-find-file-type' to detect
6486 content-type, Add From: and Subject: field.
6488 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6490 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6491 (elmo-map-message-fetch): Add `Content-Type' field if contents is
6494 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6496 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6497 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6499 * elmo-archive.el (elmo-folder-writable-p): Defined.
6501 * elmo-cache.el (elmo-folder-writable-p): Ditto.
6503 * elmo-filter.el (elmo-folder-writable-p): Ditto.
6505 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6507 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6509 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6511 * elmo-mark.el (elmo-folder-writable-p): Ditto.
6513 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6515 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6517 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
6519 * elmo-util.el (elmo-address-quote-specials): New function;
6520 Renamed from `wl-address-quote-specials'.
6522 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
6524 * elmo-version.el (elmo-version): Up to 2.7.4.
6526 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
6528 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6530 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6532 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6533 both compile-time and run-time to avoid byte-compile warning.
6535 2001-09-13 Kenichi OKADA <okada@opaopa.org>
6537 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6539 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
6541 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6543 (elmo-mime-display-as-is-internal): Use it.
6545 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6546 if `read-passwd' is not defined.
6548 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
6550 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6552 (elmo-folder-status): Call `elmo-folder-open-internal';
6553 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6554 (elmo-folder-close-internal): Set location-alist as nil.
6555 (elmo-folder-clear): Define.
6556 (elmo-folder-check): Don't set location-alist as nil.
6558 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6560 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
6562 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6563 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6565 * mmimap.el (mime-imap-entity::requested): New slot.
6566 (mime-imap-location-fetch-entity-p): New generic function.
6567 (mime-decode-parameters): Define using `defun-maybe'.
6568 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6569 content-type structure.
6570 (mime-entity-body): Return empty body if
6571 `mime-imap-location-fetch-entity-p' returns nil in the first request.
6573 * elmo.el (elmo-message-displaying): New variable.
6575 * elmo-mime.el (elmo-mime-message-display): Bind
6576 elmo-message-displaying as t.
6578 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6580 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6582 * acap.el (acap-open): erase buffer before starting network process.
6583 (acap-store): Rewrite.
6585 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6587 * elmo-imap4.el (elmo-imap4-default-mailbox,
6588 elmo-imap4-default-server
6589 elmo-imap4-default-authenticate-type,
6590 elmo-imap4-default-user,
6591 elmo-imap4-default-port,
6592 elmo-imap4-default-stream-type,
6593 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6595 * elmo-pop3.el (elmo-pop3-default-user,
6596 elmo-pop3-default-server,
6597 elmo-pop3-default-authenticate-type,
6598 elmo-pop3-default-port,
6599 elmo-pop3-default-stream-type,
6600 elmo-pop3-stream-type-alist): Ditto.
6602 * elmo-nntp.el (elmo-nntp-default-server,
6603 elmo-nntp-default-user,
6604 elmo-nntp-default-port,
6605 elmo-nntp-default-stream-type,
6606 elmo-nntp-stream-type-alist): Ditto.
6608 * elmo-vars.el: Follow changes above.
6609 (elmo-setting): New custom group; added 'elmo-setting group to
6612 * elmo-version.el (elmo-version): Up to 2.7.3.
6614 * acap.el (acap-parse-response): Don't delete process when BYE
6615 response (It causes hang-up on slow network environment).
6616 (toplevel): Added comment.
6618 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
6620 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6622 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6624 (acap-parse-return-metadata): Ditto.
6627 (toplevel): Fixed typo.
6629 * acap.el: New file.
6630 (acap-network-stream-open): Show "Connecting..." message.
6631 (acap-parse-response): Fixed problem for BYE untagged response.
6632 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6633 (toplevel): Added tiny comments.
6635 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
6637 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6638 space delimiter for uidl response.
6640 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
6642 * elmo-vars.el (elmo-use-semi): Eliminated.
6644 * elmo-util.el (elmo-string-assoc-all): New function.
6646 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6648 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6649 property 'mime-preview-situation for `mime-preview-quit'.
6651 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6653 * elmo.el (elmo-message-fetch-with-cache-process): Call
6654 elmo-message-fetch-internal instead of causing an error when fetch
6655 strategy is 'entire but only 'section cache is available.
6657 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6659 * elmo-version.el (elmo-version): Up to 2.7.2.
6661 * elmo.el (elmo-generic-folder-append-messages): Make
6662 fetch-strategy with `use-cache'.
6664 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6665 (elmo-dop-queue-method-name): New macro.
6667 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6669 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6670 unbalanced parenthesis.
6672 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6674 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6676 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6678 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6679 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6681 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6683 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6686 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6688 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6689 (elmo-message-use-cache-p): Define.
6690 (elmo-folder-msgdb-create): Treat cache.
6692 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6694 * elmo-nntp.el (elmo-network-initialize-session): Call
6695 `elmo-nntp-send-mode-reader'.
6696 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6698 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6700 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6702 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6705 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6706 for `elmo-plugged-p'.
6707 (elmo-open-network-stream): Fixed stream-type argument.
6709 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6711 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6712 unknown archive type is specified.
6714 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6716 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6718 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6719 while loading msgdb.
6721 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6722 (elmo-folder-open-internal): Rewrite.
6724 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6726 * elmo-mime.el (elmo-mime-display-as-is-internal):
6727 Adjust buffer-multibyte status.
6729 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6731 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6732 of elmo-condition-find-key.
6734 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6735 (elmo-condition-in-msgdb-p): Ditto.
6736 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6739 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6741 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6743 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6745 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6746 label for elmo-display-progress.
6748 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6750 * elmo.el (elmo-folder-clear): New method.
6751 (elmo-folder-clear): Define.
6752 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6754 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6755 (elmo-folder-clear): Define.
6757 * elmo-map.el (elmo-folder-clear): Define.
6759 * elmo-version.el (elmo-version): Up to 2.7.1.
6761 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6763 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6766 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6768 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6769 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6771 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6773 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6775 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6778 * elmo-imap4.el (elmo-folder-initialize): Use
6779 elmo-get-network-stream-type.
6781 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6783 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6785 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6787 * elmo.el (elmo-message-encache): Set unread argument for
6790 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6792 * elmo.el (elmo-net-port-info): New method.
6794 * elmo-shimbun.el (elmo-net-port-info): Define.
6795 (elmo-message-encache): Ditto.
6797 * elmo-net.el (elmo-net-port-info): Define as method.
6799 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6800 unplugged status when elmo-enable-disconnected-operation is t.
6802 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6803 of spool folder before checking new number.
6805 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6807 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6808 (elmo-network-setup-session): Ditto.
6809 (elmo-message-fetch-plugged): Ditto.
6810 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6811 (elmo-network-initialize-session): Ditto.
6812 (elmo-pop3-read-response): Abolish 3rd argument.
6813 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6814 (elmo-pop3-read-contents): Ditto.
6815 (elmo-pop3-read-body): Ditto.
6816 (elmo-folder-status): Call elmo-folder-close.
6817 (elmo-pop3-lock): Abolish.
6818 (elmo-pop3-unlock): Ditto.
6819 (elmo-pop3-locked-p): Ditto.
6820 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6822 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6824 * elmo-version.el (elmo-version): Up to 2.7.0.
6826 * elmo-pop3.el (elmo-pop3-debug): New variable.
6827 (elmo-pop3-debug-inhibit-logging): Ditto.
6828 (elmo-pop3-debug): New function.
6829 (elmo-pop3-send-command): Call elmo-pop3-debug.
6830 (elmo-pop3-read-response): Added keep-lock optional argument;
6831 Don't unlock if keep-lock is non-nil.
6832 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6833 (elmo-network-authenticate-session): Bind
6834 elmo-pop3-debug-inhibit-logging as t.
6835 (elmo-network-setup-session): Call elmo-pop3-read-response with
6837 (elmo-pop3-read-msg): Ditto.
6838 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6839 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6840 (elmo-network-initialize-session): Call elmo-pop3-lock.
6841 (elmo-folder-close-internal): Don't clear location-alist slot.
6842 (elmo-folder-check): Clear location-alist slot.
6844 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6846 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6847 (elmo-pop3-send-command): Call elmo-pop3-lock.
6848 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6849 (elmo-pop3-read-contents): Ditto.
6850 (elmo-pop3-lock): New function.
6851 (elmo-pop3-unlock): Ditto.
6852 (elmo-pop3-locked-p): Ditto.
6853 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6856 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6858 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6860 * elmo-util.el (elmo-file-field-primitive-condition-match):
6861 New inline function (Don't fetch file content if "first" or "last").
6862 (elmo-file-field-condition-match): Use
6863 elmo-file-field-primitive-condition-match.
6865 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6868 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6869 (elmo-message-fetch-plugged): Fixed.
6871 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6873 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6875 * elmo.el (elmo-folder-move-messages): Bind
6876 elmo-inhibit-display-retrieval-progress as t while moving messages.
6878 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6880 (elmo-inhibit-display-retrieval-progress): Ditto.
6882 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6883 for retrieval progress;
6884 Don't display progress when total buffer size is smaller than
6885 elmo-display-retrieval-progress-threshold.
6886 (elmo-message-fetch-plugged): Don't display progress when
6887 elmo-inhibit-display-retrieval-progress is non-nil.
6889 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6890 for retrieval progress;
6891 Don't display progress when literal size is smaller than
6892 elmo-display-retrieval-progress-threshold.
6893 (elmo-imap4-message-fetch): Don't display progress when
6894 elmo-inhibit-display-retrieval-progress is non-nil.
6896 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6898 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6899 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6900 (elmo-imap4-message-fetch): Likewise.
6902 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6903 (elmo-shimbun-index-range-alist): Ditto.
6904 (elmo-shimbun-use-entire-index): Abolish.
6905 (shimbun-mua-use-entire-index): Ditto.
6906 (elmo-shimbun-folder): Added new slot `range'.
6907 (elmo-folder-initialize): Setup slot `range'.
6909 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6911 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6912 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6913 (elmo-shimbun-get-headers): Use return value of
6914 `shimbun-article-expiration-days'.
6915 (elmo-folder-close-internal): Clean up last-check slot.
6917 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6918 (elmo-pop3-total-size): New variable.
6919 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6921 * elmo.el (elmo-folder-reserve-status-p): New method.
6923 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6924 (elmo-shimbun-use-entire-index): New user option.
6925 (shimbun-elmo-mua): New class.
6926 (shimbun-mua-search-id): Define.
6927 (shimbun-mua-use-entire-index): Ditto.
6928 (elmo-shimbun-folder:last-check): New slot.
6929 (elmo-shimbun-headers-cache-header-list): Abolish.
6930 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6931 (elmo-shimbun-headers-cache-header-hash): Ditto.
6932 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6933 (elmo-shimbun-headers-cache-last-check): Ditto.
6934 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6935 (elmo-shimbun-headers-check-p): Rewrite.
6936 (elmo-shimbun-msgdb-to-headers): New function.
6937 (elmo-shimbun-get-headers): Rewrite.
6938 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6939 (elmo-folder-open-internal): Get headers only if
6940 `elmo-shimbun-headers-check-p' is non-nil.
6941 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6943 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6944 (elmo-quit): Removed.
6946 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6948 (elmo-msgdb-overview-entity-set-extra): Ditto.
6949 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6951 * elmo-map.el (elmo-folder-status): Don't call
6952 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6955 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6957 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6958 of `elmo-msgdb-search-internal-primitive' when condition's car is
6961 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6963 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6965 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6967 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6968 call `elmo-pipe-drain'.
6970 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6972 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6973 typo. (elmo-cache-folder -> elmo-mark-folder)
6975 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6977 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6978 `elmo-message-fetch'.
6980 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6982 * elmo-net.el (elmo-message-encache): Fixed typo.
6983 (elmo-message-fetch-unplugged): Changed call
6984 `elmo-message-fetch-internal' without argument `outbuf'.
6986 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6988 * elmo.el (elmo-message-encache): Define as generic function.
6989 (elmo-message-fetch-field): New generic function.
6990 (elmo-message-fetch-with-cache-process): Cause an error when
6991 fetch strategy is 'entire but only 'section cache is available.
6992 (toplevel): Fixed nmz folder definition.
6994 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6995 (elmo-msgdb-resume-list-filename): Ditto.
6996 (elmo-queue-filename): Ditto.
6997 (elmo-enable-disconnected-operation): Changed default value to t.
6999 * elmo-util.el (elmo-cache-path-section-p): New function.
7000 (elmo-file-cache-get): Use it.
7001 (elmo-dop-queue-filename): Moved from elmo-dop.el.
7002 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
7003 (elmo-dop-queue-save): Ditto.
7005 * elmo-net.el (elmo-folder-status-unplugged): Call
7006 elmo-folder-status-dop.
7007 (elmo-folder-list-messages-unplugged): Implemented.
7008 (elmo-folder-delete-messages-unplugged): Define.
7009 (elmo-folder-msgdb-create): Define.
7010 (elmo-folder-msgdb-create-unplugged): Define.
7011 (elmo-folder-mark-as-read-unplugged): Ditto.
7012 (elmo-folder-unmark-read-unplugged): Ditto.
7013 (elmo-folder-mark-as-important-unplugged): Ditto.
7014 (elmo-folder-unmark-important-unplugged): Ditto.
7015 (elmo-message-encache): Ditto.
7017 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
7018 (elmo-dop-queue-save): Ditto.
7020 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
7021 `elmo-folder-msgdb-create'.
7022 (elmo-folder-append-buffer): Implemented unplugged operation.
7023 (elmo-folder-append-messages): Call parent method in unplugged status.
7024 (elmo-message-fetch-unplugged): Removed definition.
7025 (elmo-message-fetch-field): Implemented.
7027 * elmo-dop.el (toplevel): Require 'elmo-localdir.
7028 (elmo-dop-folder): Removed variable definition.
7029 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7030 (elmo-dop-queue-flush): Implemented.
7031 (elmo-dop-queue-merge): Removed definition (TODO).
7032 (elmo-dop-spool-folder): New function.
7033 (elmo-dop-spool-folder-append-buffer): Ditto.
7034 (elmo-dop-spool-folder-list-messages): Ditto.
7035 (elmo-dop-list-deleting-messages): Ditto.
7036 (elmo-folder-append-buffer-dop): Ditto.
7037 (elmo-folder-delete-messages-dop): Ditto.
7038 (elmo-message-encache-dop): New inline function.
7039 (elmo-create-folder-dop): Ditto.
7040 (elmo-folder-mark-as-read-dop): Ditto.
7041 (elmo-folder-unmark-read-dop): Ditto.
7042 (elmo-folder-mark-as-important-dop): Ditto.
7043 (elmo-folder-unmark-important-dop): Ditto.
7044 (elmo-folder-status-dop): Fixed.
7045 (elmo-folder-append-buffer-dop-delayed): New function.
7046 (elmo-folder-delete-messages-dop-delayed): Ditto.
7047 (elmo-dop-msgdb): Ditto.
7049 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7051 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7053 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7055 * elmo.el (elmo-folder-move-messages): Fixed problem when
7056 `dst-folder' is 'null.
7058 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7060 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7061 instead of current mark.
7063 * elmo-multi.el (elmo-folder-list-importants-internal): No
7064 operation if importants is not list.
7066 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7067 Return t if importants is not list.
7069 * elmo-map.el (elmo-map-folder-list-importants): Define.
7070 (elmo-folder-list-importants-internal): Check return value of
7071 `elmo-map-folder-list-importants-internal'.
7073 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7075 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7077 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7079 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7081 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
7083 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7084 (Patch is provided by <kita@coe.nttdata.co.jp>).
7086 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7088 * elmo.el (elmo-folder-synchronize): Don't check important mark in
7091 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7093 * elmo.el (elmo-message-fetch): Define.
7094 (elmo-message-fetch-with-cache-process): New generic method.
7095 (elmo-message-fetch-internal): New generic method.
7096 (elmo-folder-synchronize):
7098 * elmo-archive.el (elmo-message-fetch-internal): Define.
7099 (elmo-message-fetch): Eliminated.
7101 * elmo-localdir.el (elmo-message-fetch-internal): Define.
7102 (elmo-message-fetch): Eliminated.
7104 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7106 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7108 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7109 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7111 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7112 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7114 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7116 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7118 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7120 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7121 (elmo-message-fetch-unplugged): New generic method.
7122 (elmo-message-fetch-internal): Remove cache process (Renamed from
7123 `elmo-message-fetch').
7125 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7126 (elmo-message-fetch): Eliminated.
7127 (elmo-message-fetch-unplugged): Ditto.
7129 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7131 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7133 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7134 of `to-be-deleted' from number-alist to number-list.
7136 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7138 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7139 (elmo-folder-mark-as-important): Ditto.
7141 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
7143 * elmo.el (elmo-folder): Added process-duplicates slot.
7145 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7146 (elmo-folder-unmark-read): Ditto.
7147 (elmo-folder-unmark-important): Ditto.
7148 (elmo-folder-mark-as-important): Ditto.
7150 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7151 duplicated message processing.
7153 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7155 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7157 * elmo-util.el (elmo-list-subdirectories-1): New function.
7158 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7159 (elmo-mapcar-list-of-list): New function.
7161 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7162 `elmo-mapcar-list-of-list' instead of `mapcar'.
7164 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7166 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7167 `elmo-have-link-count'. Return the fully qualified folder name.
7169 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
7171 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7172 (elmo-shimbun-headers-cache): New internal variable.
7173 (elmo-shimbun-headers-cache-header-list): New inline function.
7174 (elmo-shimbun-headers-cache-set-header-list): Ditto.
7175 (elmo-shimbun-headers-cache-header-hash): Ditto.
7176 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7177 (elmo-shimbun-headers-cache-last-check): Ditto.
7178 (elmo-shimbun-headers-cache-set-last-check): Ditto.
7179 (elmo-shimbun-lapse-seconds): Ditto.
7180 (elmo-shimbun-headers-cache-check-p): Ditto.
7181 (elmo-shimbun-get-headers): New function.
7182 (elmo-folder-open-internal): Call it.
7183 (elmo-quit): Define (Clear headers-cache).
7185 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
7187 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7189 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7190 (elmo-msgdb-flist-save): Ditto.
7192 * elmo-shimbun.el (elmo-folder-list-subfolders):
7193 Use `shimbun-groups' instead of `shimbun-groups-internal'.
7194 (elmo-folder-exists-p): Ditto.
7196 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7197 argument for `shimbun-header-insert'.
7199 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
7201 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7204 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7205 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7207 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
7209 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7210 (elmo-folder-plugged-p): Define.
7211 (elmo-folder-set-plugged): Ditto.
7212 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7213 (elmo-folder-list-messages-internal): Return t if unplugged.
7214 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7216 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7217 when elmo-folder-list-messages-internal method of children returns t.
7219 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7221 (elmo-folder-open-internal): Don't update if unplugged status.
7223 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
7225 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7228 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
7230 * elmo-util.el (elmo-file-cache-save): Ignore errors.
7232 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7235 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
7237 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7239 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7240 (elmo-folder-open-internal): Set up headers slot.
7241 (elmo-folder-check): Call elmo-folder-close-internal and
7242 elmo-folder-open-internal.
7243 (elmo-folder-close-internal): Clean up headers slot.
7245 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7247 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7248 exactly folder list.
7249 (elmo-folder-append-messages): Fixed append archive with prefix.
7251 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7252 make temp files with start-number.
7254 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7256 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7258 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7259 argument `visible-only'.
7260 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7263 * elmo-pop3.el (elmo-folder-open-internal): Check
7264 `elmo-inhibit-number-mapping' is non-nil.
7266 * elmo-pipe.el (elmo-folder-status): Fixed.
7268 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
7270 * elmo.el (elmo-dop-queue-flush): Added autload setting.
7272 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7273 (elmo-folder-open-internal): Setup `header-hash' slot.
7274 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7276 (elmo-map-message-fetch): Ditto.
7278 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
7280 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7281 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7282 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7283 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7285 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7287 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
7289 * sb-airs.el: Added footer.
7291 * shimbun.el (shimbun-article): Define as luna-method.
7293 * sb-tcup.el: New file.
7295 * sb-airs.el (toplevel): Require 'sb-mhonarc.
7296 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7298 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
7300 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7301 (shimbun-get-headers): Ditto.
7303 * elmo.el: Moved obsolete variable definitions from
7304 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7306 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7309 * shimbun.el: New file.
7311 * elmo-shimbun.el: New file.
7313 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7314 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7315 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7316 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7318 2001-03-27 Kenichi OKADA <okada@opaopa.org>
7320 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7323 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
7325 * elmo.el (elmo-folder-msgdb): Define as macro.
7326 (elmo-folder-open): Added argument `load-msgdb'.
7327 (elmo-generic-folder-open): Ditto.
7328 (elmo-folder-encache): New function.
7330 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7332 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7334 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7335 Eliminated argument FOLDER and added argument MSGDB.
7336 (elmo-dop-queue-load): Moved from elmo-dop.el.
7337 (elmo-dop-queue-save): Ditto.
7339 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7341 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7343 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7344 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7345 (elmo-filter-folder-list-importants-internal): Ditto.
7347 * elmo-map.el (elmo-folder-pack-number): Ditto.
7349 * elmo-mime.el (elmo-mime-message-display): Ditto.
7351 * elmo.el (elmo-generic-folder-commit): Ditto.
7352 (elmo-folder-list-unreads): Ditto.
7353 (elmo-folder-list-importants): Ditto.
7354 (elmo-generic-folder-commit): Ditto.
7355 (elmo-message-set-mark): Ditto.
7356 (elmo-generic-folder-append-msgdb): Ditto.
7357 (elmo-folder-synchronize): Ditto.
7358 (elmo-folder-messages): Ditto.
7359 (elmo-init): Call elmo-dop-queue-load.
7360 (elmo-folder-list-messages): Ditto.
7362 * elmo-nntp.el (elmo-folder-update-number): Ditto.
7363 (elmo-nntp-folder-process-crosspost): Ditto.
7364 (elmo-folder-list-unreads-internal): Ditto.
7366 * elmo-dop.el: Removed old functions.
7368 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
7370 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7371 `folder' to `msgdb'.
7373 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
7375 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7376 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7378 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7381 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
7383 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7386 * mmimap.el (toplevel): Require 'mime-parse and 'static.
7387 (mmimap-parse-parameters-from-list): Define as alias for
7388 `mime-decode-parameter-plist' if it is defined as function.
7389 (mmimap-make-mime-entity): Added argument `number'.
7390 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7392 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7394 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7396 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7398 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7400 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
7402 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7404 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7405 when elmo-imap4-default-authenticate-type is nil.
7406 (elmo-folder-list-subfolders): Ditto
7407 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7408 (elmo-imap4-fetch-callback-1-subr): Renamed from
7409 `elmo-imap4-fetch-callback-1' and define as inline function.
7410 (elmo-imap4-fetch-callback-1):
7411 Renamed from `elmo-imap4-fetch-callback'.
7412 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7414 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7415 msgdb path (To keep compatibility with main trunk).
7417 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7419 * elmo-util.el (elmo-make-file-cache): Moved position of
7422 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7423 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7424 instead of `elmo-pop3-inhibit-uidl'.
7425 (elmo-folder-exists-p): Ditto.
7426 (elmo-pop3-folder-list-messages): Ditto.
7428 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7429 instead of `elmo-pop3-inhibit-uidl'.
7430 (elmo-folder-status): Ditto.
7432 * elmo-dop.el (elmo-dop-folder): New variable.
7433 (elmo-dop-lock-message): Eliminated.
7434 (elmo-dop-unlock-message): Ditto.
7435 (elmo-dop-lock-list-load): Ditto.
7436 (elmo-dop-lock-list-save): Ditto.
7437 (elmo-dop-delete-folder): Ditto.
7438 (elmo-dop-rename-folder): Ditto.
7440 * elmo.el: Removed incomplete commentary.
7442 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
7444 * elmo.el (toplevel): Require 'elmo-version first;
7445 for little `recursive-load-depth' settings.
7446 Fix "ends here" comment.
7448 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
7450 * elmo-util.el (toplevel): Require 'poem;
7451 Some functions are moved from elmo-cache.el.
7453 * elmo-net.el (toplevel): Require 'elmo-cache.
7455 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7457 * elmo.el (toplevel): Ditto.
7459 * elmo-cache.el: Rewrite with luna;
7460 Some functions are moved to elmo-util.el.
7462 * elmo-internal.el (elmo-internal-folder-list): New variable.
7463 (elmo-internal-folder-initialize): Rewrite.
7464 (elmo-folder-list-subfolders): Ditto.
7466 * elmo-cache.el (elmo-cache-search-all): Eliminated.
7467 (elmo-cache-collect-sub-directories): Ditto.
7469 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
7471 * elmo-version.el (elmo-version): Up to 2.5.8.
7473 * elmo.el (elmo-folder-list-messages-mark-match): New function.
7475 * elmo-util.el (elmo-list-insert): New function.
7477 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
7479 * elmo.el (elmo-init): New function.
7480 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7482 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7483 (Renamed from `elmo-localdir-header-chop-length').
7485 * elmo-pop3.el (elmo-pop3-use-cache,
7486 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7488 * elmo-nntp.el (elmo-message-fetch): Define.
7489 (elmo-message-fetch-unplugged): Ditto.
7490 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7491 (elmo-nntp-use-cache): Ditto.
7492 (elmo-nntp-max-number-precedes-list-active): Ditto.
7494 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7496 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7497 `elmo-msgdb-insert-file-header'.
7498 Use `elmo-msgdb-file-header-chop-length'.
7500 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7503 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7504 (elmo-cache-msgdb-create-overview-entity-from-file): Use
7505 `elmo-msgdb-insert-file-header'.
7507 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7509 Define obsolete variables with `elmo-define-obsolete-variable',
7511 * elmo-util.el (elmo-warning-buffer-name): New constant.
7512 (elmo-warning): New function.
7513 (elmo-obsolete-variable-alist): New variable.
7514 (elmo-obsolete-variable-show-warnings): New variable.
7515 (elmo-define-obsolete-variable): New function.
7516 (elmo-resque-obsolete-variable): Ditto.
7517 (elmo-resque-obsolete-variables): Ditto.
7519 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7521 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7524 * elmo-pop3.el, elmo-nntp.el: Use custom.
7526 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7528 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7529 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7531 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7533 * Luna-fy Kenichi OKADA's following changes.
7534 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7536 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7538 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
7540 * elmo-util.el (elmo-display-progress): Prefer
7541 `progress-feedback-with-label' to `lprogress-display'.
7543 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7545 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7547 2000-02-19 Kenichi OKADA <okada@opaopa.org>
7549 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7550 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7551 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7552 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7553 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7554 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7555 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7556 * elmo-filter.el (elmo-filter-list-folder): Ditto.
7557 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7558 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7559 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7560 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7561 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7563 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7565 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7566 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7568 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7570 * elmo.el (elmo-folder-process-crosspost): New generic method.
7571 (elmo-folder-writable-p): Ditto.
7572 (elmo-folder-message-appendable-p): Eliminated.
7573 (elmo-generic-folder-append-msgdb): Rewrite.
7574 (elmo-newsgroups-hashtb): New internal variable.
7575 (elmo-crosspost-message-set): Eliminated.
7576 (elmo-crosspost-message-delete): Ditto.
7577 (elmo-setup-subscribed-newsgroups): New function.
7578 (elmo-crosspost-message-alist-modified): New internal variable.
7579 (elmo-crosspost-message-alist-load): New function (Renamed from
7580 `wl-crosspost-alist-load').
7581 (elmo-crosspost-message-alist-save): Ditto (Renamed from
7582 `wl-crosspost-alist-save').
7584 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7586 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7588 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7589 elmo-newsgroups-hashtb).
7590 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7591 `elmo-nntp-folder-update-crosspost-message-alist'.
7592 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7593 `elmo-nntp-groups-hashtb'.
7594 (elmo-nntp-make-groups-hashtb): Eliminated.
7595 (elmo-nntp-parse-newsgroups): New function (Renamed from
7596 `wl-parse-newsgroups').
7597 (elmo-folder-creatable-p, elmo-folder-writable-p,
7598 elmo-folder-close-internal, elmo-folder-mark-as-read,
7599 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7601 (elmo-nntp-folder-update-crosspost-message-alist): New function.
7603 * elmo-net.el (elmo-message-fetch): Check buffer size.
7605 * elmo-multi.el (elmo-multi-split-number-alist): New function.
7607 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7609 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7610 before `close' command.
7612 * elmo.el (elmo-folder-list-unreads-internal): Added argument
7613 `mark-alist' (All other related portions are changed).
7615 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
7617 * elmo-util.el (elmo-create-hash-size): Eliminated.
7618 (elmo-make-hash) Make a hash with `one less than a power of two'
7621 * elmo-vars.el (elmo-hash-minimum-size): New variable.
7622 (elmo-hash-maximum-size): Changed value.
7624 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
7626 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7627 (elmo-mime-message-display-as-is): Ditto.
7629 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
7631 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7632 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7634 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
7636 * elmo-mark.el: New file.
7638 * elmo-internal.el: Rewrite (Almost empty).
7640 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
7642 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7643 (mime-imap-entity-header-string): Ditto.
7644 (mmimap-entity-section): Rewrite.
7646 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7648 * elmo-nmz.el: New file.
7650 * elmo-pipe.el: Rewrite with luna.
7652 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
7654 * elmo-archive.el: Rewrite with luna.
7656 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7657 (elmo-folder-list-importants-internal): Ditto.
7659 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7661 * elmo-archive.el (elmo-archive-version): Abolish.
7662 (toplevel) Removed `boso' comment.
7664 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7666 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7667 elmo-msgdb-add-msgs-to-seen-list-subr;
7668 Changed argument seen-marks to unread-marks.
7670 * elmo-nntp.el: Rewrite with luna.
7672 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7674 * elmo-filter.el: Rewrite with luna.
7676 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7678 * elmo-pop3.el: Rewrite with luna.
7680 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7682 * elmo-multi.el: Rewrite with luna.
7684 * elmo-vars.el (elmo-use-killed-list): Abolish.
7685 All other related portions are changed.
7686 (elmo-filename-replace-string-alist): Renamed from
7687 elmo-msgid-replace-string-alist.
7689 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7691 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7693 * elmo-map.el: New file.
7694 * elmo-maildir.el: Rewrite with luna.
7696 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7698 * elmo.el: Changed meaning of `elmo-folder-commit'.
7699 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7701 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7703 * elmo.el (elmo-folder-append-buffer): New function.
7704 (Renamed from `elmo-append-msg')
7706 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7708 * elmo-mime.el: New file.
7710 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7712 * elmo-cache.el: Rewrite.
7714 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7716 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7718 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7720 * elmo-vars.el (elmo): New group.
7721 (elmo-strict-diff-folder-regexp): New variable.
7723 * elmo-util.el (elmo-call-func): Abolish.
7724 (elmo-folder-get-type): Ditto.
7725 (elmo-*-get-spec): Ditto.
7726 (elmo-*-spec-*): Ditto.
7727 (elmo-imap4-identical-name-space-p): Ditto.
7728 (elmo-folder-identical-system-p): Ditto.
7729 (elmo-folder-direct-copy-alist): Ditto.
7730 (elmo-folder-direct-copy-p): Ditto.
7732 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7733 (elmo-folder-initialize): Define.
7734 (elmo-folder-get-primitive-list): Ditto.
7736 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7737 (elmo-folder-initialize): Define.
7738 Renamed `elmo-network-session-host-internal' to
7739 `elmo-network-session-server-internal'.
7741 * elmo-multi.el (elmo-multi-folder): New luna class.
7742 (elmo-folder-initialize): Define.
7743 (elmo-folder-get-primitive-list): Ditto.
7744 (elmo-folder-contains-type): Ditto.
7745 (elmo-message-use-cache-p): Ditto.
7747 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7748 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7750 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7751 (elmo-folder-initialize): Define.
7753 * elmo-filter.el (elmo-filter-folder): New luna class.
7754 (elmo-folder-initialize): Define.
7755 (elmo-folder-get-primitive-list): Ditto.
7756 (elmo-folder-contains-type): Ditto.
7758 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7760 * elmo-imap4.el: Rewrite with luna.
7762 * mmimap.el: New file.
7764 * mmelmo.el, mmelmo-imap4.el: Removed.
7766 * elmo-net.el: Ditto.
7768 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7769 (elmo-folder-initialize): Define.
7771 * elmo-archive.el (elmo-archive-folder): New luna class.
7772 (elmo-folder-initialize): Define.
7774 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7775 `elmo-folder-msgdb-path'.
7776 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7779 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7781 * elmo.el: New file.
7783 * elmo2.el: Renamed to elmo.el.
7786 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7788 * elmo-cache.el (elmo-cache-expire-by-size): Count
7789 a disk usage for a cache file entry in KB even when
7790 its kind is a directory.
7792 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7794 * elmo-version.el (elmo-version): Up to 2.5.7.
7796 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7798 * elmo-version.el (elmo-version): Up to 2.5.6.
7800 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7802 * elmo-version.el (elmo-version): Up to 2.5.5.
7804 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7806 * elmo-imap4.el (elmo-network-authenticate-session):
7807 Fixed a logic for response checking.
7809 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7811 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7812 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7813 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7816 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7817 for `starttls-open-stream' and `starttls-negotiate'.
7819 * elmo-nntp.el: Remove autoload settings for
7820 `starttls-open-stream' and `starttls-negotiate'.
7822 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7823 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7824 `luna-define-class' with `eval-and-compile'.
7826 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7828 * elmo-util.el (elmo-read-search-condition-internal):
7829 Require an element of table for searching field.
7831 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7833 * elmo-version.el (elmo-version): Up to 2.5.4.
7835 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7837 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7839 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7841 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7843 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7845 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7848 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7850 * elmo-imap4.el (elmo-imap4-delete-folder):
7851 Send "close" before "delete" (Use commented out line).
7852 (elmo-imap4-rename-folder): Ditto.
7854 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7855 folder string itself.
7856 (elmo-dop-list-deleted): New function.
7857 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7860 * elmo-util.el (elmo-string-rassoc-all): New function.
7862 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7864 * elmo-version.el (elmo-version): Up to 2.5.3.
7866 * elmo-net.el (elmo-network-get-session): Changed logic for
7867 checking process status.
7869 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7871 Changed logic for checking process status.
7873 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7875 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7877 (elmo-network-setup-session): Set UIDL hash size according to
7878 the length of list response.
7879 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7880 according to the length of list response;
7881 Return the length of list response.
7882 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7884 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7886 * elmo-imap4.el (toplevel): Require 'ssl.
7887 Add autoload 'starttls.
7888 * elmo-pop3.el (toplevel): Ditto.
7889 * elmo-nntp.el (toplevel): Ditto.
7891 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7893 * elmo-imap4.el (toplevel): defun at compile time.
7894 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7895 sasl-next-step, sasl-step-data, sasl-step-set-data.
7896 * elmo-pop3.el (toplevel): Ditto.
7898 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7900 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7902 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7904 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7906 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7907 and `elmo-pop-auth-apop'.
7909 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7911 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7913 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7915 * elmo-pop3.el (elmo-network-authenticate-session): Split
7916 encoded response value.
7918 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7920 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7921 `elmo-pop3-force-login'.
7922 Redefine `sasl-mechanisms'.
7923 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7925 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7927 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7928 Delete `elmo-imap4-authenticator-alist'.
7929 (elmo-imap4-auth-cram-md5): Delete.
7930 (elmo-imap4-auth-digest-md5): Delete.
7932 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7934 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7935 (elmo-pop3-auth-scram-md5): Ditto.
7936 (elmo-pop3-auth-cram-md5): Ditto.
7938 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7940 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7941 Delete `elmo-pop3-authenticator-alist'.
7943 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7945 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7947 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7949 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7951 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7953 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7955 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7956 Fixed problem when `elmo-pop3-use-uidl' is nil.
7957 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7959 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7961 * elmo-version.el (elmo-version): Up to 2.5.2.
7963 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7965 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7967 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7968 (elmo-pop3-msgdb-create-as-numlist): Use it.
7970 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7971 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7973 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7974 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7976 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7978 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7979 when elmo-mark-as-read is called with second argument nil.
7981 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7983 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7984 Moved to elmo-util.el.
7986 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7987 Moved from elmo-pipe.el
7989 * elmo-archive.el (elmo-archive-call-process): Enclose with
7992 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7993 "RFC822" (because RFC822.PEEK is obsolete).
7994 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7996 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7998 * elmo-archive.el (elmo-archive-call-process): Don't check for
7999 the exit status when Nemacs is running.
8001 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
8003 * elmo-net.el (elmo-network-session-password-key): Don't set default to
8006 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
8007 (elmo-pop3-get-spec): Set default of auth to 'user.
8009 * elmo-imap4.el (elmo-imap4-session-check):
8010 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8011 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
8012 (elmo-imap4-auth-login): New function; Revival.
8013 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
8014 `elmo-imap4-auth-login'.
8016 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
8018 * elmo2.el (toplevel): Move `product-provide' declare.
8019 * mmelmo.el (toplevel): Ditto.
8021 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
8023 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8025 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
8027 * elmo-util.el (elmo-folder-get-store-type): New function.
8028 (elmo-folder-direct-copy-p): Use it.
8030 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
8032 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8033 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8034 and result of `elmo-imap4-use-flag-p'.
8035 (elmo-imap4-fetch-callback-1): Set mark according to
8036 the result of `elmo-imap4-use-flag-p'.
8038 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
8040 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8041 (elmo-generic-list-folder-unread): Ditto.
8042 (elmo-folder-get-info): Ditto.
8043 (elmo-folder-set-info-max-by-numdb): Ditto.
8044 (elmo-folder-get-info-max): Ditto.
8045 (elmo-folder-get-info-length): Ditto.
8046 (elmo-folder-get-info-unread): Ditto.
8047 (elmo-folder-info-make-hashtb): Ditto.
8049 * elmo2.el: Removed above functions.
8051 2000-11-21 Kenichi OKADA <okada@opaopa.org>
8053 * elmo-imap4.el (toplevel): Require 'ssl.
8054 Add autoload 'starttls.
8055 * elmo-pop3.el (toplevel): Ditto.
8056 * elmo-nntp.el (toplevel): Ditto.
8058 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8060 * elmo-imap4.el (toplevel): defun at compile time.
8061 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8062 sasl-next-step, sasl-step-data, sasl-step-set-data.
8063 * elmo-pop3.el (toplevel): Ditto.
8065 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8067 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8069 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8071 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8073 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8074 and `elmo-pop-auth-apop'.
8076 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8078 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8080 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8082 * elmo-pop3.el (elmo-network-authenticate-session): Split
8083 encoded response value.
8085 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8087 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8088 `elmo-pop3-force-login'.
8089 Redefine `sasl-mechanisms'.
8090 * elmo-vars.el (elmo-pop3-force-login): Ditto.
8092 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8094 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8095 Delete `elmo-imap4-authenticator-alist'.
8096 (elmo-imap4-auth-cram-md5): Delete.
8097 (elmo-imap4-auth-digest-md5): Delete.
8099 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8101 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8102 (elmo-pop3-auth-scram-md5): Ditto.
8103 (elmo-pop3-auth-cram-md5): Ditto.
8105 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8107 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8108 Delete `elmo-pop3-authenticator-alist'.
8110 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8112 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8114 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8117 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
8119 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8121 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
8123 * elmo-nntp.el (elmo-nntp-get-folders-info):
8124 Fixed problem when '\' character is contained in user-id.
8125 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8128 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
8130 * elmo-imap4.el (elmo-imap4-delete-folder):
8131 Send "close" before "delete" (Use commented out line).
8132 (elmo-imap4-rename-folder): Ditto.
8134 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8135 folder string itself.
8136 (elmo-dop-list-deleted): New function.
8137 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8140 * elmo-util.el (elmo-string-rassoc-all): New function.
8142 * elmo-version.el (elmo-version): Up to 2.5.1.
8144 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
8146 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8148 * elmo-internal.el (elmo-internal-search): Fix last change.
8150 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
8152 * elmo-internal.el (elmo-internal-search): Rewrite.
8153 (Fixed problem which is pointed out by Akihiro MOTOKI
8154 <motoki@da.jp.nec.com>)
8156 * elmo-version.el (elmo-version): Up to 2.5.0.
8158 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8160 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8162 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8164 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8165 non-nil, make hierarchy.
8167 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
8169 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8170 `elmo-pop3-use-uidl' must be bound to nil.
8171 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8173 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
8175 * elmo-util.el (elmo-copy-file): Don't cause an error after
8176 `add-name-to-file' failed.
8178 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8179 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8181 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
8183 * elmo-version.el (elmo-version): Up to 2.3.93.
8185 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
8187 * elmo-util.el (elmo-flatten): New function.
8189 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
8191 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8193 * elmo-cache.el (toplevel): Ditto.
8194 * elmo-database.el (toplevel): Ditto.
8195 * elmo-date.el (toplevel): Ditto.
8196 * elmo-dop.el (toplevel): Ditto.
8197 * elmo-filter.el (toplevel): Ditto.
8198 * elmo-imap4.el (toplevel): Ditto.
8199 * elmo-internal.el (toplevel): Ditto.
8200 * elmo-localdir.el (toplevel): Ditto.
8201 * elmo-localnews.el (toplevel): Ditto.
8202 * elmo-maildir.el (toplevel): Ditto.
8203 * elmo-msgdb.el (toplevel): Ditto.
8204 * elmo-multi.el (toplevel): Ditto.
8205 * elmo-net.el (toplevel): Ditto.
8206 * elmo-nntp.el (toplevel): Ditto.
8207 * elmo-pipe.el (toplevel): Ditto.
8208 * elmo-pop3.el (toplevel): Ditto.
8209 * elmo-util.el (toplevel): Ditto.
8210 * elmo-vars.el (toplevel): Ditto.
8211 * elmo2.el (toplevel): Ditto.
8212 * mmelmo-imap4.el (toplevel): Ditto.
8213 * mmelmo.el (toplevel): Ditto.
8215 * elmo-version.el (elmo-version): Move to top.
8217 * elmo-cache.el (toplevel): Fixed multiple Author header format.
8218 * elmo-imap4.el (toplevel): Ditto.
8219 * elmo-localdir.el (toplevel): Ditto.
8220 * elmo-msgdb.el (toplevel): Ditto.
8221 * elmo-nntp.el (toplevel): Ditto.
8222 * elmo-pop3.el (toplevel): Ditto.
8223 * elmo-version.el (toplevel): Ditto.
8225 * elmo-localnews.el (toplevel): Added Keyword header.
8227 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
8229 * elmo-version.el (product-version-as-string): Defined using
8233 * elmo-localdir.el (toplevel): Updated copyright notice.
8234 * elmo-version.el (toplevel): Ditto.
8235 * elmo-msgdb.el (toplevel): Ditto.
8236 * elmo-imap4.el (toplevel): Ditto.
8237 * elmo-nntp.el (toplevel): Ditto.
8238 * elmo-pop3.el (toplevel): Ditto.
8240 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
8242 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8245 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8246 parameter value (It sometimes contains raw kanji).
8248 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8250 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8251 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8253 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8255 * elmo-imap4.el (elmo-network-initialize-session): Fix.
8257 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8259 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8260 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8262 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
8264 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8265 value if selecting folder succceeded.
8266 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8268 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
8270 * elmo-util.el (elmo-make-directory): Fixed permission lateral
8273 * elmo-util.el (elmo-string-matched-member): New function.
8275 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
8277 * elmo-util.el (elmo-unintern): New macro.
8278 (elmo-number-set-member): Fixed docstring.
8280 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8283 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
8285 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8286 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8288 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
8290 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8293 Return non-nil if selecting folder succeeded.
8294 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8296 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
8298 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8299 `file-name-completion' returns t.
8300 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8301 (elmo-maildir-set-mark): Put `info' part to the files in the cur
8302 directory if it does not exist.
8303 (elmo-maildir-update-current): Use `while' instead of `mapcar'
8306 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
8308 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8309 enclosure (It's harmful in unplugged status).
8311 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8313 * mmelmo-1.el: Removed.
8315 * mmelmo-2.el: Ditto.
8317 * mmelmo-imap4-1.el: Ditto.
8319 * mmelmo-imap4-2.el: Ditto.
8321 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8323 * mmelmo.el: Merged mmelmo-2.el.
8325 * elmo-version.el (elmo-version): Up to 2.3.92.
8327 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
8329 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8330 elmo-update-number): Remove last period in "...done." message.
8331 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8333 * elmo-cache.el (elmo-cache-expire-by-size,
8334 elmo-cache-get-sorted-cache-file-list,
8335 elmo-cache-msgdb-create-as-numlist): Ditto.
8336 * elmo-dop.el (elmo-dop-save-pending-messages,
8337 (elmo-dop-flush-pending-append-operations): Ditto.
8338 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8339 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8340 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8341 (elmo-localdir-pack-number): Ditto.
8342 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8343 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8344 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8345 mime-write-entity-content): Ditto.
8346 * pldap.el (ldap-search-basic): Ditto.
8348 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
8350 * elmo-version.el (elmo-version): Up to 2.3.91.
8352 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8353 Only when filter is 'last'.
8355 * elmo-util.el (elmo-condition-atom-regexp): New constant.
8356 (elmo-condition-parse-search-value): Use it.
8357 (elmo-read-search-condition-internal): Quote value only when
8360 2000-10-18 Kenichi OKADA <okada@opaopa.org>
8362 * elmo2.el (elmo-generic-folder-diff): Fix.
8364 2000-10-17 Kenichi OKADA <okada@opaopa.org>
8366 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8367 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8368 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8369 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8370 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8371 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8373 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
8375 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8378 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
8380 * elmo-version.el (elmo-version): Up to 2.3.90.
8382 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8383 (elmo-imap4-list-folder-important): Ditto.
8385 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8387 * elmo-nntp.el (elmo-network-initialize-session): Fix.
8389 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8391 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8393 2000-10-15 Kenichi OKADA <okada@opaopa.org>
8395 * elmo-nntp.el (elmo-network-initialize-session):
8396 Add starttls negotiation.
8398 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8400 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8402 (elmo-network-setup-session): Define.
8403 Call `elmo-nntp-send-mode-reader' when session opened.
8405 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8407 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8409 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
8411 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8412 an invalid SPACE character ahead of `SEARCH' command. Move
8413 a valid SPACE character following `SEARCH' from conditional
8414 `format' arguments to control-strings.
8416 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8418 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8421 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8423 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
8425 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8426 `w32-get-true-file-link-count' as t.
8428 * elmo-imap4.el (elmo-imap4-read): Abolished.
8429 (Renamed to `elmo-read' and moved to elmo-util.el)
8430 All other related portions are changed.
8432 * elmo-util.el (elmo-read): New function.
8433 (elmo-condition-parse-search-value): Use it.
8435 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
8437 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8439 * elmo-nntp.el (elmo-nntp-session): Define.
8440 (elmo-nntp-setting): Abolished.
8441 All other related portions are changed.
8442 (elmo-nntp-get-server-command): Changed argument.
8443 (elmo-nntp-set-server-command): Ditto.
8444 (elmo-nntp-xover-p): Ditto.
8445 (elmo-nntp-set-xover): Ditto.
8446 (elmo-nntp-listgroup-p): Ditto.
8447 (elmo-nntp-set-listgroup): Ditto.
8448 (elmo-nntp-list-active-p): Ditto.
8449 (elmo-nntp-set-list-active): Ditto.
8450 (elmo-nntp-xhdr-p): Ditto.
8451 (elmo-nntp-set-xhdr): Ditto.
8452 (elmo-nntp-flush-connection): Abolished.
8453 (elmo-nntp-get-connection): Abolished.
8454 (elmo-nntp-get-session): New function.
8455 (elmo-network-initialize-session): Defined.
8456 (elmo-network-authenticate-session): Ditto.
8457 (elmo-nntp-send-mode-reader): Changed argument.
8458 (elmo-nntp-send-command): Changed argument.
8459 All other related portions are changed.
8460 (elmo-nntp-read-response): Ditto.
8461 (elmo-nntp-read-raw-response): Ditto.
8462 (elmo-nntp-read-contents): Ditto.
8463 (elmo-nntp-read-body): Ditto.
8464 (elmo-nntp-goto-folder): Abolished.
8465 (elmo-nntp-select-group): New function.
8466 All other related portions are changed.
8467 (This function substitutes `elmo-nntp-goto-folder')
8468 (elmo-nntp-msgdb-create-by-header): Rewrite.
8469 (elmo-nntp-get-overview): Eliminated.
8470 (elmo-nntp-get-message): Ditto.
8471 (elmo-nntp-open-connection) Abolished.
8472 (elmo-nntp-read-msg): Rewrite.
8473 (elmo-nntp-post): Ditto.
8474 (elmo-nntp-send-data): Abolished.
8475 (elmo-nntp-send-buffer): New function.
8476 (elmo-nntp-send-data-line): Define as inline function.
8477 (elmo-nntp-get-folders-info-prepare): Use session as key.
8478 (elmo-nntp-groups-read-response): Changed argument.
8479 (elmo-nntp-retrieve-headers): Ditto.
8480 (elmo-nntp-msgdb-create-message): Ditto.
8482 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8483 when searching by 'since' or 'before'.
8485 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
8487 * elmo-version.el (toplevel): Use product-version-as-string for set
8488 verstion-string, if defined.
8490 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
8492 * elmo-util.el: Doc fixes.
8494 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8496 * elmo-archive.el (toplevel): Use product-provide.
8497 * elmo-cache.el (toplevel): Ditto.
8498 * elmo-database.el (toplevel): Ditto.
8499 * elmo-date.el (toplevel): Ditto.
8500 * elmo-dop.el (toplevel): Ditto.
8501 * elmo-filter.el (toplevel): Ditto.
8502 * elmo-imap4.el (toplevel): Ditto.
8503 * elmo-internal.el (toplevel): Ditto.
8504 * elmo-localdir.el (toplevel): Ditto.
8505 * elmo-localnews.el (toplevel): Ditto.
8506 * elmo-maildir.el (toplevel): Ditto.
8507 * elmo-msgdb.el (toplevel): Ditto.
8508 * elmo-multi.el (toplevel): Ditto.
8509 * elmo-net.el (toplevel): Ditto.
8510 * elmo-nntp.el (toplevel): Ditto.
8511 * elmo-pipe.el (toplevel): Ditto.
8512 * elmo-pop3.el (toplevel): Ditto.
8513 * elmo-util.el (toplevel): Ditto.
8514 * elmo-vars.el (toplevel): Ditto.
8515 * elmo2.el (toplevel): Ditto.
8516 * mmelmo-1.el (toplevel): Ditto.
8517 * mmelmo-2.el (toplevel): Ditto.
8518 * mmelmo-imap4-1.el (toplevel): Ditto.
8519 * mmelmo-imap4-2.el (toplevel): Ditto.
8520 * mmelmo-imap4.el (toplevel): Ditto.
8521 * mmelmo.el (toplevel): Ditto.
8523 2000-10-10 Kenichi OKADA <okada@opaopa.org>
8525 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8526 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8528 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
8530 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8532 (elmo-multi-split-number-alist): Ditto.
8534 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8536 * elmo-version.el: New file. Use product.el.
8537 * elmo2.el: Add (require 'elmo-version).
8538 * elmo-vars.el (elmo-appname, elmo-version): Move to
8541 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
8543 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8544 `elmo-msgdb-expand-path'.
8545 (elmo-msgdb-load): Ditto.
8546 Abolished 2nd argument. If 1st argument is not string, treat as spec.
8547 (elmo-generic-list-folder-unread): Rewrite.
8548 (elmo-generic-list-folder-important): Changed argument.
8549 (elmo-list-folder-unread): Ditto.
8550 (elmo-list-folder-important): Ditto.
8551 (elmo-folder-diff): Rewrite.
8552 (elmo-generic-folder-diff): New function.
8553 (elmo-multi-get-number-alist-list): Abolished
8554 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8555 (elmo-multi-folder-diff): Moved to elmo-multi.el
8556 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8558 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8559 `elmo-msgdb-expand-path'.
8560 (elmo-pop3-msgdb-create-as-numlist): Ditto.
8561 (elmo-pop3-read-msg): Ditto.
8562 (elmo-pop3-delete-msgs): Ditto.
8563 (elmo-pop3-folder-diff): New alias.
8565 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8566 `elmo-msgdb-expand-path'.
8567 (elmo-pipe-list-folder-unread): Changed arguments.
8568 (elmo-pipe-list-folder-important): Ditto.
8569 (elmo-pipe-folder-diff): New alias.
8571 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8572 `elmo-msgdb-expand-path'.
8573 (elmo-nntp-max-of-folder): Ditto.
8574 (elmo-nntp-msgdb-create): Ditto.
8575 (elmo-nntp-delete-msgs): Ditto.
8576 (elmo-nntp-folder-diff): New alias.
8578 * elmo-multi.el (elmo-multi-folder-diff): New function.
8579 (elmo-multi-split-mark-alist): Ditto.
8580 (elmo-multi-split-number-alist): Ditto.
8581 (elmo-multi-mark-alist-list): Abolished (Renamed to
8582 elmo-multi-split-mark-alist).
8583 (elmo-multi-list-folder-unread): Rewrite.
8584 (elmo-multi-list-folder-important): Ditto.
8585 (elmo-multi-list-folder): Set `spec' as 1st argument for
8586 `elmo-msgdb-expand-path'.
8587 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8588 instead of `elmo-multi-get-number-alist-list'.
8590 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8591 If 1st argument is not string, treat as spec.
8592 (elmo-list-folder-by-location): Set `spec' as 1st argument for
8593 `elmo-msgdb-expand-path'.
8594 (elmo-msgdb-flist-load): Ditto.
8595 (elmo-msgdb-flist-save): Ditto.
8596 (elmo-msgdb-delete-path): Ditto.
8597 (elmo-msgdb-rename-path): Ditto.
8599 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8600 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8601 (elmo-maildir-delete-mark-msgs): Ditto.
8602 (elmo-maildir-msgdb-create): Ditto.
8603 (elmo-maildir-read-msg): Ditto.
8604 (elmo-maildir-delete-msgs): Ditto.
8605 (elmo-maildir-list-folder-subr): Ditto.
8606 (elmo-maildir-search): Ditto.
8607 (elmo-maildir-get-msg-filename): Ditto.
8608 (elmo-maildir-pack-number): Ditto.
8609 (elmo-maildir-folder-diff): New alias.
8611 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8613 * elmo-localdir.el (elmo-localdir-list-folder-subr):
8614 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8615 (elmo-localdir-folder-diff): New alias.
8617 * elmo-internal.el (elmo-internal-list-folder-subr):
8618 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8619 (elmo-internal-list-folder-by-location): Ditto.
8620 (elmo-internal-msgdb-create): Ditto.
8621 (elmo-internal-delete-msgs): Ditto.
8622 (elmo-internal-read-msg): Ditto.
8623 (elmo-internal-folder-diff): New alias.
8625 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8626 (elmo-imap4-list-folder): Set `spec' as 1st argument for
8627 `elmo-msgdb-expand-path'.
8628 (elmo-imap4-list-folder-unread): Changed arguments.
8629 (elmo-imap4-list-folder-important): Ditto.
8631 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8632 (elmo-filter-list-folder-important): Ditto.
8633 (elmo-filter-folder-diff): New function.
8635 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8637 * elmo-cache.el (elmo-cache-list-folder):
8638 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8639 (elmo-cache-copy-msgs): Ditto.
8640 (elmo-cache-folder-diff): New alias.
8642 * elmo-archive.el (elmo-archive-list-folder-subr):
8643 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8644 (elmo-archive-get-archive-name): Ditto.
8645 (elmo-archive-create-file): Ditto.
8646 (elmo-archive-append-msg): Ditto.
8647 (elmo-archive-copy-msgs): Ditto.
8648 (elmo-archive-copy-msgs-froms): Ditto.
8649 (elmo-archive-get-msg-filename): Ditto.
8650 (elmo-archive-folder-diff): New alias.
8652 2000-10-06 Daiki Ueno <ueno@unixuser.org>
8654 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8655 (elmo-pop3-stream-type-alist): New variable.
8656 (elmo-nntp-stream-type-alist): New variable.
8658 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8659 (elmo-kill-buffer): Ditto.
8660 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8661 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8662 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8663 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8664 (elmo-imap4-get-spec): Take into account
8665 `elmo-imap4-stream-type-alist'.
8667 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8669 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8670 (elmo-nntp-list-folders-get-cache): Ditto.
8672 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8674 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8675 character before 'uid'.
8677 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8679 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8681 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8683 * elmo-util.el (elmo-number-set-member): New function.
8684 (elmo-number-set-append-list): Ditto.
8685 (elmo-number-set-append): Ditto.
8687 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8688 Use `elmo-number-set-member'.
8689 (elmo-living-messages): Ditto.
8690 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8691 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8693 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8694 (elmo-imap4-add-to-cont-list): Abolished.
8695 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8696 instead of elmo-imap4-add-to-cont-list.
8698 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8699 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8701 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8703 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8705 * elmo-util.el (elmo-condition-parse-search-value):
8708 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8710 * elmo-util.el (elmo-condition-find-key-internal): New function.
8711 (elmo-condition-find-key): Ditto.
8713 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8714 (elmo-msgdb-search-internal): Ditto.
8715 (elmo-msgdb-search): Ditto.
8717 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8719 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8720 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8722 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8723 (elmo-nntp-search-primitive): Fixed problem when condition is
8726 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8728 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8729 (elmo-nntp-xhdr-p): New macro.
8730 (elmo-nntp-set-xhdr): Ditto.
8731 (elmo-nntp-parse-xhdr-response): New function.
8732 (elmo-nntp-retrieve-field): Ditto.
8733 (elmo-nntp-search-primitive): Ditto.
8734 (elmo-nntp-search): Implemented.
8736 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8738 * elmo-archive.el (elmo-archive-search): Set all number list to
8739 `elmo-archive-field-condition-match'
8741 * elmo-localdir.el (elmo-localdir-search): Likewise.
8743 * elmo-maildir.el (elmo-maildir-search): Likewise.
8745 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8747 * elmo-msgdb.el (elmo-living-messages): New function.
8748 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8749 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8750 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8751 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8752 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8753 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8754 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8755 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8756 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8757 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8758 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8760 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8762 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8764 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8766 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8768 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8769 arguments for `SEARCH' command.
8770 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8771 All other related portions are changed.
8773 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8775 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8776 (elmo-list-folder-unread): Rewrite.
8777 (elmo-list-folder-important): Ditto.
8779 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8780 (elmo-condition-parse-error): New inline function.
8781 (elmo-read-search-condition): New function.
8782 (elmo-read-search-condition-internal): Ditto.
8783 (elmo-parse-search-condition): Rewrite.
8784 (elmo-condition-parse): New function.
8785 (elmo-condition-parse-or-expr): Ditto.
8786 (elmo-condition-parse-and-expr): Ditto.
8787 (elmo-condition-parse-primitive): Ditto.
8788 (elmo-condition-parse-search-value): Ditto.
8789 (elmo-buffer-field-primitive-condition-match): Ditto.
8790 (elmo-buffer-field-condition-match): Rewrite.
8791 (elmo-file-field-condition-match): Ditto.
8793 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8794 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8796 * elmo-internal.el (elmo-internal-search): Set `number' and
8797 `number-list' argument of `elmo-file-field-condition-match'.
8799 * elmo-maildir.el (elmo-maildir-search): Ditto.
8801 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8802 `msgdb' as argument instead of `mark-alist'.
8803 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8806 * elmo-multi.el: Likewise.
8808 * elmo-pipe.el: Likewise.
8810 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8811 (elmo-imap4-search-internal): Rewrite.
8812 (elmo-imap4-search): Ditto.
8814 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8815 (elmo-filter-list-folder-unread): Ditto.
8816 (elmo-filter-list-folder-important): Ditto.
8817 (elmo-filter-search): Rewrite.
8819 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8820 `number-list' argument of `elmo-file-field-condition-match'.
8821 (elmo-cache-search): Ditto.
8823 * elmo-localdir.el: Likewise.
8825 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8826 number-list and pass it to `elmo-buffer-field-condition-match'.
8827 (elmo-archive-field-condition-match): Pass `number-list' to
8828 `elmo-archive-field-condition-match'
8830 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8832 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8835 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8836 (elmo-folder-diff-async-callback-data): Ditto.
8837 (elmo-folder-diff-async): New function.
8839 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8840 (elmo-network-session-cache-key): Use it as a prefix of the session
8842 (elmo-network-open-session): Ditto.
8844 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8845 (elmo-imap4-status-callback-data): Ditto.
8846 (elmo-imap4-server-diff-async-callback): New variable.
8847 (elmo-imap4-server-diff-async-callback-data): Ditto.
8848 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8849 `elmo-imap4-status-callback-data'.
8850 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8851 `elmo-imap4-status-callback-data' as nil.
8852 (elmo-imap4-server-diff): Ditto.
8853 (elmo-imap4-server-diff-async-callback-1): New function.
8854 (elmo-imap4-server-diff-async): Ditto.
8855 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8857 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8859 * elmo-util.el (elmo-list-delete): Doc fix.
8860 (elmo-delete-lists): Abolish.
8861 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8862 instead of `elmo-delete-lists'.
8864 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8866 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8869 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8871 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8872 `elmo-imap4-literal-subr'.
8873 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8874 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8876 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8878 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8879 (elmo-archive-list-folder): Fix.
8880 (elmo-archive-max-of-folder): Fix.
8882 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8884 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8885 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8886 (elmo-localdir-append-msg): Ditto.
8887 (elmo-localdir-list-folder): Fix for `nonsort'.
8888 (elmo-localdir-list-folder-subr): Fix for `killed'.
8889 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8890 (elmo-maildir-list-folder-subr): Ditto.
8891 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8892 (elmo-archive-list-folder-subr): Ditto.
8893 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8894 (elmo-internal-list-folder-subr): Ditto.
8896 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8898 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8900 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8902 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8904 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8906 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8907 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8909 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8911 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8912 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8914 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8916 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8918 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8919 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8920 before STORE command.
8922 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8924 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8926 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8927 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8929 (elmo-imap4-list-folders): Removed unused local variable.
8930 (elmo-network-initialize-session): Ditto.
8931 (elmo-imap4-delete-msg-by-id): Ditto.
8932 (elmo-imap4-parse-fetch): Ditto.
8933 (elmo-imap4-copy-msgs): Ditto.
8934 Use `dst-spec' instead of `dst-folder'.
8935 (elmo-network-authenticate-session): Check authenticate type `plain'.
8937 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8939 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8941 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8942 `elmo-imap4-response-value'.
8943 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8945 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8947 * elmo-imap4.el (elmo-imap4-send-command):
8948 Cause elmo-imap4-bye-error when current response is BYE.
8949 (elmo-imap4-arrival-filter): Changed greeting response value.
8951 * elmo2.el (elmo-imap4-bye-error): Define.
8953 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8954 (elmo-imap4-server-diff): Ditto.
8955 (elmo-imap4-response-bye-p): New macro.
8956 (elmo-imap4-response-error-text): Get text from BYE response.
8957 (elmo-imap4-read-response): Return if BYE response.
8958 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8959 (elmo-imap4-folder-exists-p): Ditto.
8960 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8961 (elmo-imap4-parse-bye): New function.
8962 (elmo-imap4-parse-response): Remove needless let.
8963 Call `elmo-imap4-parse-bye'.
8965 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8967 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8968 the mailbox does not exist.
8969 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8971 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8973 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8975 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8977 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8979 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8980 (elmo-network-initialize-session-buffer): Defined.
8982 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8984 (mmelmo-imap4-get-mime-entity): Rewrite.
8986 * elmo2.el (elmo-error): Capitalize error message.
8988 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8989 (elmo-network-session-buffer): New macro.
8990 (elmo-network-open-session): Use it.
8992 * elmo-imap4.el: Rewrite.
8994 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8996 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8998 2000-08-27 Daiki Ueno <ueno@unixuser.org>
9000 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
9001 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
9002 (elmo-imap4-create-msgdb-from-overview-string): Use
9003 `elmo-msgdb-create-overview-from-buffer'.
9005 2000-08-26 Daiki Ueno <ueno@unixuser.org>
9007 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
9008 (elmo-imap4-default-hierarchy-delimiter): New variable.
9009 (elmo-imap4-list-folders): Use it.
9011 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
9013 * elmo-net.el (elmo-network-open-session): Add user and
9014 stream-type for process-buffer name.
9016 * elmo-pop3.el (elmo-network-initialize-session): Call
9017 buffer-disable-undo.
9019 * elmo-imap4.el (elmo-network-initialize-session):
9020 Set current-buffer as an argument for `buffer-disable-undo'.
9022 * elmo-pop3.el (elmo-network-close-session): Don't use
9025 * elmo-vars.el (elmo-default-pop3-authenticate-type):
9026 Set default as 'user.
9028 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9030 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9031 and `elmo-imap4-flush-connection'.
9033 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9034 (elmo-pop3-get-spec): Assume auth as symbol.
9035 (elmo-open-network-stream): Moved to `elmo-net'.
9037 * elmo-pop3.el (toplevel): Require 'elmo-net.
9038 Define `sasl-cram-md5' to silence byte compilier.
9039 (elmo-pop3-connection-cache) Abolished.
9040 (elmo-pop3-authenticator-alist) New variable.
9041 (elmo-pop3-session): Define.
9042 (elmo-pop3-connection-get-process): Abolished.
9043 (elmo-pop3-connection-get-buffer): Ditto.
9044 (elmo-pop3-close-connection): Ditto.
9045 (elmo-pop3-flush-connection): Ditto.
9046 (elmo-pop3-get-connection): Ditto.
9047 (elmo-pop3-get-session): New function.
9048 (Replacement for `elmo-pop3-get-connection').
9049 All other related modules are changed.
9050 (elmo-network-close-session): Define.
9051 (elmo-pop3-send-command): Abolished argument `buffer'.
9052 All other related modules are changed.
9053 (elmo-pop3-read-response): Likewise.
9054 (elmo-pop3-open-connection): Abolished.
9055 (elmo-pop3-auth-user): New function.
9056 (elmo-pop3-auth-apop): Ditto.
9057 (elmo-pop3-auth-cram-md5): Ditto.
9058 (elmo-pop3-auth-scram-md5): Ditto.
9059 (elmo-pop3-auth-digest-md5): Ditto.
9060 (elmo-network-initialize-session): Define.
9061 (elmo-network-authenticate-session): Ditto.
9062 (elmo-network-setup-session): Ditto.
9064 * elmo-imap4.el (toplevel): Require 'elmo-net.
9065 (elmo-imap4-session): Define.
9066 (elmo-imap4-connection-cache): Abolished.
9067 (elmo-imap4-password-key): Ditto.
9068 (elmo-imap4-flush-connection): Ditto.
9069 (elmo-imap4-get-connection): Ditto.
9070 All other related modules are changed.
9071 (elmo-imap4-get-session): New function
9072 (Replacement for `elmo-imap4-get-connection').
9073 (elmo-imap4-read-response): Abolished argument `buffer'.
9074 All other related modules are changed.
9075 (elmo-imap4-send-command): Likewise.
9076 (elmo-imap4-select-folder): Abolished.
9077 All other related modules are changed.
9078 (elmo-imap4-select-mailbox): New function.
9079 (Replacement for `elmo-imap4-select-folder').
9080 (elmo-imap4-auth-login): Simplify.
9081 (Assume current buffer as process buffer)
9082 (elmo-imap4-auth-cram-md5): Ditto.
9083 (elmo-imap4-auth-digest-md5): Ditto.
9084 (elmo-imap4-login): Ditto.
9085 (elmo-imap4-open-connection): Abolished.
9086 (elmo-imap4-open-connection-1): Abolished.
9087 (elmo-network-initialize-sessoin): Define.
9088 (elmo-network-authenticate-session): Ditto.
9089 (elmo-network-setup-session): Ditto.
9091 * elmo-net.el: New module.
9093 2000-08-22 Daiki Ueno <ueno@unixuser.org>
9095 * elmo-util.el (elmo-define-error): New function.
9097 * elmo2.el (elmo-error): Define.
9098 (elmo-open-error): Define.
9099 (elmo-authenticate-error): Define.
9101 * elmo-imap4.el (elmo-imap4-error): Abolish.
9102 (elmo-imap4-error-type): Abolish.
9103 (elmo-imap4-error-process): Abolish.
9104 (elmo-imap4-error-message): Abolish
9105 (elmo-imap4-list-folders): Don't quote lambda.
9106 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9107 (elmo-imap4-parse-namespace): Ditto.
9108 (elmo-imap4-open-connection): Rewrite.
9109 (elmo-imap4-open-connection-1): Simplified (authenticate only).
9110 (elmo-imap4-get-connection): Abolish local variable `result'.
9112 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
9114 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9115 wrong-type-argument error when auth is nil.
9117 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
9119 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9120 (elmo-default-nntp-stream-type): Ditto.
9121 (elmo-default-pop3-stream-type): Ditto.
9122 (elmo-network-stream-type-alist): Ditto.
9123 (elmo-default-imap4-ssl): Abolished.
9124 (elmo-default-nntp-ssl): Ditto.
9125 (elmo-default-pop3-ssl): Ditto.
9127 * elmo-util.el: (toplevel): Removed needless requires.
9128 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9129 (elmo-open-network-stream): Open network stream according to
9130 the value of `elmo-network-stream-type-alist'.
9131 (elmo-get-network-stream-type): New function.
9132 (elmo-network-stream-type-spec-string): New macro.
9133 (elmo-network-stream-type-symbol): Ditto.
9134 (elmo-network-stream-type-function): Ditto.
9136 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9137 network-stream-type. All other related portions are changed.
9138 (elmo-pop3-open-connection): Ditto.
9140 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9141 network-stream-type. All other related portions are changed.
9143 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9144 network-stream-type.All other related portions are changed.
9145 (elmo-imap4-error): New macro.
9146 (elmo-imap4-error-type): Ditto.
9147 (elmo-imap4-error-process): Ditto.
9148 (elmo-imap4-error-message): Ditto.
9149 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9150 (elmo-imap4-auth-cram-md5): Ditto.
9151 (elmo-imap4-auth-digest-md5): Ditto.
9152 (elmo-imap4-login): Ditto.
9153 (elmo-imap4-open-connection): Remove password entry if authentication
9155 (elmo-imap4-user-at-host): Abolished.
9156 (elmo-imap4-password-key): New buffer local variable.
9157 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9158 using protocol, port, auth and stream-type.
9160 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9162 2000-08-13 Daiki Ueno <ueno@unixuser.org>
9164 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9166 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9168 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9169 (elmo-imap4-authenticator-alist): New variable.
9170 (elmo-imap4-open-connection-1): Rename from
9171 elmo-imap4-open-connection.
9172 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9173 only wraps elmo-imap4-open-connection-1.
9174 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9176 (elmo-imap4-auth-login): New function.
9177 (elmo-imap4-auth-cram-md5): New function.
9178 (elmo-imap4-auth-digest-md5): New function.
9179 (elmo-imap4-login): New function.
9181 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9183 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9186 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9188 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9190 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
9192 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9194 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
9196 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9197 for server responses, quote `*' regardless of where it appears.
9199 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9201 * elmo-maildir.el (elmo-maildir-commit): New alias.
9203 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9205 * elmo-util.el (elmo-display-progress):
9206 Use `progress-feedback-with-label'.
9208 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
9210 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9211 (elmo-imap4-non-atom-char-regex): Ditto.
9212 (elmo-imap4-non-text-char-regex): Ditto.
9213 (elmo-imap4-literal-threshold): Ditto.
9214 (elmo-imap4-atom-p): New function.
9215 (elmo-imap4-quotable-p): Ditto.
9216 (elmo-imap4-nil): Ditto.
9217 (elmo-imap4-atom): Ditto.
9218 (elmo-imap4-quoted): Ditto.
9219 (elmo-imap4-literal-subr): Ditto.
9220 (elmo-imap4-literal): Ditto.
9221 (elmo-imap4-buffer-literal): Ditto.
9222 (elmo-imap4-string-subr): Ditto.
9223 (elmo-imap4-string): Ditto.
9224 (elmo-imap4-buffer-string): Ditto.
9225 (elmo-imap4-astring-subr): Ditto.
9226 (elmo-imap4-astring): Ditto.
9227 (elmo-imap4-buffer-astring): Ditto.
9228 (elmo-imap4-nstring): Ditto.
9229 (elmo-imap4-buffer-nstring): Ditto.
9230 (elmo-imap4-mailbox): New alias.
9231 (elmo-imap4-field-body): Ditto.
9232 (elmo-imap4-userid): Ditto.
9233 (elmo-imap4-password): Ditto.
9234 (elmo-imap4-format-quoted): New function.
9235 (elmo-imap4-send-command): Rewritten. Accept a list of command
9236 arguments and handle "atom", "quoted" and "literal" string here.
9237 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9238 `elmo-imap4-send-command'.
9239 (elmo-imap4-folder-exists-p): Likewise.
9240 (elmo-imap4-create-folder): Likewise.
9241 (elmo-imap4-delete-folder): Likewise.
9242 (elmo-imap4-rename-folder): Likewise.
9243 (elmo-imap4-max-of-folder): Likewise.
9244 (elmo-imap4-check-validity): Likewise.
9245 (elmo-imap4-sync-validity): Likewise.
9246 (elmo-imap4-server-diff): Likewise.
9247 (elmo-imap4-select-folder): Likewise.
9248 (elmo-imap4-copy-msgs): Likewise.
9249 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9250 (elmo-imap4-mark-set-on-msgs): Likewise.
9251 (elmo-imap4-read-part): Likewise.
9252 (elmo-imap4-read-msg): Likewise.
9253 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9254 `elmo-imap4-password' for `elmo-imap4-send-command'.
9255 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9256 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9257 `elmo-imap4-buffer-literal'.
9258 (elmo-imap4-append-msg): Likewise.
9260 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9261 `delete' for removing dead connection from the connection cache.
9262 Move deletion of the process buffer after that.
9263 (elmo-imap4-list): Change `defsubst' to `defun'.
9264 (elmo-imap4-commit): Make error message verbose.
9265 (elmo-imap4-search): Ditto.
9266 (elmo-imap4-list): Ditto.
9267 (elmo-imap4-select-folder): Ditto.
9268 (elmo-imap4-copy-msgs): Ditto.
9269 (elmo-imap4-delete-msg-by-id): Ditto.
9270 (elmo-imap4-append-msg-by-id): Ditto.
9271 (elmo-imap4-append-msg): Ditto.
9273 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9275 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9276 when dired is used on XEmacs.
9278 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
9280 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9281 instead of `append'.
9282 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9283 `elmo-plugged-p' directly.
9284 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9285 of `elmo-plugged-p' directly.
9287 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9288 Eliminate unused variable. Use `memq' for checking a process status.
9289 Use `cons' instead of `append' for updating the connection cache.
9290 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9291 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9293 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
9295 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9296 `elmo-imap4-read-point' exactly.
9298 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9299 the local variable `folder' to `mailbox'.
9300 Rename the argument `fld' to `folder'.
9302 2000-07-20 Kenichi OKADA <okada@opaopa.org>
9304 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9305 * elmo-imap4.el (elmo-imap4-commit): Ditto.
9307 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
9309 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9310 (elmo-pop3-number-uidl-hash): New buffer-local variable.
9311 (elmo-pop3-uidl-number-hash): Ditto.
9312 (elmo-pop3-size-hash): Ditto.
9313 (elmo-pop3-uidl-done): Ditto.
9314 (elmo-pop3-list-done): Ditto.
9315 (elmo-pop3-connection-get-process): New defmacro.
9316 (elmo-pop3-connection-get-buffer): Ditto.
9317 (elmo-pop3-close-connection): Delete buffer and process.
9318 (elmo-pop3-flush-connection): Don't delete buffer and process.
9319 (elmo-pop3-get-connection): Added optional argument `if-exists'.
9320 Setup UIDL and size hash.
9321 (elmo-pop3-send-command-no-erase): Deleted
9322 (elmo-pop3-send-command): Added optional argument `no-erase'.
9323 (elmo-pop3-parse-uidl-response): New function.
9324 (elmo-pop3-parse-list-response): Set size hash.
9325 (elmo-pop3-list-location): New function.
9326 (elmo-pop3-list-by-uidl-subr): Ditto.
9327 (elmo-pop3-list-by-list): Ditto.
9328 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9329 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9330 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9331 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9332 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9334 (elmo-pop3-uidl-to-number): New function.
9335 (elmo-pop3-number-to-uidl): Ditto.
9336 (elmo-pop3-number-to-size): Ditto.
9337 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9338 Set number by use of uidl.
9339 (elmo-pop3-msgdb-create-message): Likewise.
9340 Set size, loc-alist in msgdb.
9341 (elmo-pop3-read-msg): Set number by use of uidl.
9342 Added optional argument `msgdb'.
9343 (elmo-pop3-delete-msg): Ditto.
9344 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9345 (elmo-pop3-commit): Close connection.
9347 * elmo-pipe.el (elmo-pipe-max-of-folder):
9348 Bind `elmo-pop3-use-uidl' as nil.
9349 (elmo-pipe-drain): Ditto.
9352 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9353 (elmo-msgdb-overview-entity-set-size): New defsubst.
9355 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
9357 * elmo-vars.el (elmo-use-killed-list): New variable
9358 (Renamed from `elmo-nntp-use-killed-list').
9359 (elmo-nntp-use-killed-list): Eliminated.
9361 * elmo-msgdb.el (elmo-msgdb-expand-path):
9362 Changed expanding msgdb path for elmo-multi.
9364 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9365 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9366 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9367 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9368 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9369 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9370 (toplevel): Deleted time-stamp line.
9372 * elmo2.el (elmo-clear-killed ): Defined as function
9373 (Abolished defining as a backend function).
9374 All other related modules are changed.
9376 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9378 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9380 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
9382 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9384 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
9386 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9388 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
9390 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9391 asynchronous folder check.
9393 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9395 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9396 `elmo-nntp-use-killed-list'.
9397 (elmo-nntp-list-folder): Use killed list.
9398 (elmo-nntp-max-of-folder): Ditto.
9399 (elmo-nntp-msgdb-create): Set killed list.
9401 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9403 * elmo2.el (elmo-clear-killed): New backend function.
9404 All other related modules are changed.
9406 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
9408 * elmo-util.el (elmo-imap4-spec-folder): Use
9409 `elmo-imap4-spec-mailbox'; Mark as obsolete.
9410 All callers changed.
9412 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
9414 * mmelmo-2.el (initialize-instance):
9415 Use `mime-buffer-entity-buffer-internal' instead of
9416 `mime-entity-buffer'.
9418 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9419 (mime-entity-body): Implemented.
9420 (mime-goto-header-start-point): Deleted.
9421 (mime-goto-body-end-point): Ditto.
9422 (mime-entity-point-min): Ditto.
9423 (mime-entity-point-max): Ditto.
9424 (mime-entity-children): Ditto.
9425 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9426 instead of `mime-entity-buffer'.
9427 (mime-entity-header-buffer): Ditto.
9428 (mime-entity-body-buffer): Ditto.
9429 (mime-write-entity-content): Ditto.
9431 * pldap.el (ldap-static-if): New macro.
9432 (toplevel): Use it instead of `static-if'.
9434 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
9436 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9437 included in `attrs' argument.
9439 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
9441 * elmo-util.el (elmo-get-passwd): Use old backquote style.
9443 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9444 (ldap-ldif-safe-init-char-regexp): Ditto.
9445 (ldap-ldif-safe-string-regexp): Ditto.
9446 (ldap/ldif-safe-string-p): New macro.
9447 (ldap/ldif-insert-field): Ditto.
9448 (ldap-modify): Use it.
9450 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9451 (ldap-decode-attribute): Decode only when `attr' is consp.
9452 (ldap-delete): Bind `ret'.
9453 (toplevel): Require 'cl at compile time.
9454 Removed (require 'poe) and (require 'std11).
9455 (pldap-version): Eliminated.
9456 (ldap-search-basic): Removed auth and dn binding.
9457 (ldap-ldif-field-name-regexp): New constant.
9458 (ldap-ldif-field-head-regexp): Ditto.
9459 (ldap-ldif-next-field-head-regexp): Ditto.
9460 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9461 (ldap/field-end): New function.
9462 (ldap/field-body): Use it.
9463 (ldap/collect-field): Ditto.
9464 (ldap-search-basic): Use `ldap/field-body'.
9466 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
9468 * pldap.el (ldap-default-attribute-encoder): New user option.
9469 (ldap/field-body): Decode base64 string.
9470 (ldap/collect-field): Ditto.
9471 (ldap-encode-attribute): New function.
9472 (ldap-add-entries): Use it.
9473 (ldap-modify-entries): Ditto.
9474 (ldap-search-entries): Enclosed decoding function with
9475 `with-temp-buffer' and set as unibyte.
9476 (ldap-search-basic): Set process buffer as unibyte.
9478 * elmo-util.el (elmo-folder-identical-system-p):
9479 Eliminated name space checking.
9481 * pldap.el: New module.
9482 toplevel: Changed condition to detect built-in ldap feature.
9483 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9484 (ldap-add): Added error handling.
9485 (ldap-modify): Ditto.
9486 (ldap-delete): Ditto.
9488 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
9490 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9491 Initialize local variables with `let'. Inline a temporary
9492 variable for the progress percentage. Sort `setq' to reduce
9493 function call in the while-loop.
9495 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9496 into the conditional branch.
9498 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
9500 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9501 Move a conditional out of the while-loop.
9503 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9505 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9506 elmo-msgdb-overview-get-entity-by-number.
9507 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9510 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
9512 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9513 the local variable for a packed number self descriptively.
9515 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9517 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9518 * elmo-localdir.el (elmo-localdir-pack-number): Use
9519 `elmo-msgdb-overview-get-entity' instead of
9520 `elmo-msgdb-overview-get-entity-by-number'.
9521 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9522 (elmo-msgdb-search-overview-entity): Removed.
9523 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9524 by message-id or number.
9525 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9526 instead of `elmo-msgdb-overview-get-entity-by-number'.
9528 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9530 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9531 non-nil, use hash table for overview.
9532 (elmo-hash-maximum-size): New variable.
9533 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9534 (elmo-msgdb-make-overview-hashtb): New function.
9535 (elmo-msgdb-clear-overview-hashtb): New function.
9536 (elmo-clear-hash-val): New macro.
9537 All other related modules are changed.
9539 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
9541 * elmo2.el (elmo-move-msgs): If there's other message with
9542 same message-id, don't use cache.
9544 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
9546 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9547 number is already packed.
9549 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
9551 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9553 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9555 * elmo-vars.el (elmo-display-progress-threshold): New variable.
9556 All other related modules are changed.
9558 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
9560 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9561 of refiling failure on Maildir.
9563 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9565 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9566 decoded mime-charset with cache.
9567 (elmo-msgdb-overview-entity-get-from): Ditto.
9568 (elmo-msgdb-overview-entity-get-subject): Ditto.
9569 * elmo-vars.el (elmo-use-decoded-cache): New variable.
9571 2000-05-10 Kenichi OKADA <okada@opaopa.org>
9573 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9574 (elmo-remove-passwd): Fill password with 0 before erase.
9575 * elmo-vars.el (elmo-passwd-life-time): New variable.
9578 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
9580 * elmo-cache.el (elmo-buffer-cache-add):
9581 Set message cache buffer as unibyte.
9583 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9585 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9588 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
9590 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9591 when display is finished.
9592 (elmo-nntp-msgdb-create): Ditto.
9593 (elmo-nntp-groups-read-response): Ditto.
9594 (elmo-nntp-retrieve-headers): Ditto.
9595 (elmo-nntp-msgdb-create-message): Ditto.
9596 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9597 (elmo-pop3-msgdb-create-message): Ditto.
9599 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9601 * elmo-maildir.el (elmo-maildir-msgdb-create):
9602 Use `elmo-msgdb-sort-by-date'.
9604 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
9606 * elmo2.el (elmo-read-msg-no-cache):
9607 Eliminated arguments after `outbuf'.
9608 Don't use cache even if it exists.
9609 (elmo-read-msg): Don't pass arguments after `outbuf' to
9610 `elmo-read-msg-no-cache'.
9612 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9614 * elmo-archive.el (elmo-archive-list-folders):
9615 Use `file-name-directory' if base folder does not exist.
9617 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
9619 * elmo-archive.el (elmo-archive-list-folders): Don't use
9620 `file-name-directory'.
9622 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
9624 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9625 If `force' is non-nil, try flushing all operation queues.
9627 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
9629 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9632 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9634 * elmo-util.el (elmo-display-progress): Fixed.
9636 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9638 * elmo-util.el (elmo-display-progress): New function.
9639 All other related modules are changed.