1 2010-04-15 David Maus <dmaus@ictsoc.de>
3 * elmo-imap4.el (elmo-imap4-folder-name-syntax): Allow numbers in
6 2010-04-14 David Maus <dmaus@ictsoc.de>
8 * elmo-imap4.el (elmo-imap4-disabled-extension): New
9 variable. List of server extensions that are disabled on the
11 (elmo-imap4-session-capable-p): Honour list of disabled
14 2010-03-17 David Maus <dmaus@ictsoc.de>
16 * elmo-imap4.el (elmo-imap4-folder-list-flagged)
17 (elmo-imap4-search-internal-primitive): Pass filter type to imap
18 search when performing search for flagged messages.
20 2010-01-22 Vitaly Mayatskih <v.mayatskih@gmail.com>
22 * modb-standard.el (modb-standard-save-entity): Use
23 `modb-standard-cleanup-stale-entities' to clean up stale entity
25 * elmo-imap4.el (elmo-network-authenticate-session): Ask for
26 capabilities after login.
28 2010-01-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
30 * elmo-imap4.el (elmo-folder-list-messages-plugged): Use TAB for
31 indent (only cosmetic fix).
33 2010-01-15 Vitaly Mayatskih <v.mayatskih@gmail.com>
35 * elmo-version.el (elmo-version): Up to 2.15.9.
37 * elmo-imap4.el (elmo-imap4-elist): New function
38 * elmo-imap4.el (elmo-imap4-parse-response): Added support for
39 ESEARCH feature (RFC4731).
40 * elmo-imap4.el (toplevel): Require time-stamp
41 * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
42 elmo-imap4-read-response elmo-imap4-read-untagged
43 elmo-imap4-arrival-filter elmo-imap4-parse-response): Change
45 * elmo-imap4.el (elmo-folder-list-messages-plugged,
46 elmo-imap4-folder-list-range, elmo-folder-open): Don't ask server
47 for full uid range on folder entering, retrieve updates only for
48 newly appeared messages.
49 * elmo-imap4.el (elmo-imap4-send-command, elmo-imap4-send-string,
50 elmo-imap4-read-response, elmo-imap4-read-untagged,
51 elmo-imap4-parse-response): Change deprecated time-stamp-hh:mm:ss
52 to format-time-string.
53 * elmo-vars.el (toplevel): New custom
54 `elmo-imap4-set-seen-flag-explicitly' to override setting of Seen
55 flag for some buggy servers.
56 * elmo-imap4.el (elmo-message-fetch-plugged): Ditto
58 2010-01-05 TAKAHASHI Kaoru <kaoru@kaisei.org>
60 * acap.el (acap-parse-response): Fix comment-out style. Use three
61 semicolons, that should start at the left margin.
62 See. also (Info-goto-node "(elisp)Comment Tips").
63 * elmo.el (toplevel, elmo-message-match-condition)
64 (elmo-folder-set-info-max-by-numdb, elmo-folder-move-messages):
66 * elmo-archive.el (elmo-archive-suffix-alist)
67 (elmo-archive-tar-method-alist, elmo-archive-tgz-method-alist)
68 (elmo-archive-method-list)
69 (elmo-archive-msgdb-create-as-numlist-subr2, elmo-folder-search):
71 * elmo-imap4.el (toplevel)
72 (elmo-imap4-send-command, elmo-imap4-check-validity)
73 (elmo-imap4-fetch-callback-1-subr)
74 (elmo-network-initialize-session, elmo-server-diff-async)
75 (elmo-imap4-folder-diff-plugged): Ditto
76 * elmo-maildir.el (elmo-maildir-temporal-filename): Ditto.
77 * elmo-msgdb.el (elmo-msgdb-append-element): Ditto.
78 * elmo-net.el (elmo-network-close-session): Ditto.
79 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string)
80 (elmo-nntp-parse-overview-string, elmo-nntp-post): Ditto.
81 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
82 * elmo-util.el (elmo-set-auto-coding, elmo-passwd-alist-save)
83 (elmo-number-set-delete)
84 (elmo-cache-get-oldest-cache-file-entity): Ditto.
86 2010-01-04 TAKAHASHI Kaoru <kaoru@kaisei.org>
88 * elmo-version.el (elmo-version): Up to 2.15.8.
90 * elmo-mime.el (elmo-mime-insert-header-from-buffer): Use
91 `with-current-buffer' instead of `save-excursion' (for suppress
94 * elmo.el (elmo-folder-confirm-appends): Use `number-to-string'
95 instead of `int-to-string'.
96 * elmo-archive.el (elmo-archive-message-fetch-internal)
97 (elmo-archive-folder-message-make-temp-files)
98 (elmo-archive-folder-append-buffer)
99 (elmo-folder-delete-messages-internal)
100 (elmo-archive-msgdb-create-entity)
101 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
102 * elmo-util.el (elmo-cache-expire-by-age): Ditto.
103 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
104 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
105 * elmo-imap4.el (elmo-imap4-make-number-set-list)
106 (elmo-folder-list-subfolders): Ditto.
107 * elmo-localdir.el (elmo-message-file-name)
108 (elmo-folder-message-make-temp-files)
109 (elmo-localdir-msgdb-create-entity)
110 (elmo-folder-append-messages-*-localdir)
111 (elmo-folder-pack-numbers): Ditto.
112 * elmo-maildir.el (elmo-folder-message-make-temp-files): Ditto.
113 * elmo-map.el (elmo-location-map-key): Ditto.
114 * elmo-nntp.el (elmo-nntp-folder-postfix)
115 (elmo-nntp-folder-list-subfolders)
116 (elmo-nntp-folder-msgdb-create): Ditto.
118 * elmo.el (elmo-crosspost-message-alist-save): Don't use
119 `function' for `lambda'.
120 * elmo-archive.el (elmo-archive-folder-list-subfolders)
121 (elmo-folder-append-messages-*-archive)
122 (elmo-folder-delete-messages-internal): Ditto.
123 * elmo-date.el (elmo-replace-in-string): Ditto.
124 * elmo-multi.el (elmo-folder-list-messages, elmo-folder-search)
125 (elmo-folder-list-flagged): Ditto.
126 * elmo-maildir.el (elmo-maildir-cleanup-temporal): Ditto.
127 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
128 * modb-standard.el (modb-standard-cleanup-stale-entities): Ditto.
130 2010-01-02 TAKAHASHI Kaoru <kaoru@kaisei.org>
132 * elmo-dop.el (elmo-dop-spool-folder): Suppress warning "defsubst
133 `elmo-dop-spool-folder' was used before it was defined"; Use
136 * pldap.el (ldap/ldif-safe-string-p): macro to function.
137 * elmo-imap4.el (elmo-imap4-detect-search-charset): Ditto.
139 * elmo.el (elmo-folder-info-make-hashtb): Use `mapc' instead of
140 `mapcar'; Suppress compile warning.
141 * elmo-imap4.el (elmo-network-initialize-session-buffer)
142 (elmo-imap4-search-internal-primitive): Ditto.
143 * elmo-nntp.el (elmo-nntp-search-primitive): Ditto.
144 * elmo-archive.el (elmo-archive-exec-msgs-subr2): Ditto.
146 * elmo-imap4.el (elmo-imap4-parse-address-list)
147 (elmo-imap4-parse-fetch-body-section, elmo-imap4-parse-body)
148 (elmo-imap4-parse-acl, elmo-imap4-parse-body-extension)
149 (elmo-imap4-parse-body-ext, elmo-imap4-parse-body): Use
150 `(string-to-char " ")' instead of `? ', `?\ '.
152 2010-01-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
154 * pldap.el (ldap-search-entries): Don't use `function' for lambda.
155 (ldap-add-entries, ldap-modify-entries): Use `mapc' instead of `mapcar'.
156 (ldap-delete-entries): Use `mapc' instead of `mapcar'. Don't use
157 `function' for lambda.
159 * modb-standard.el (modb-standard-cleanup-stale-entities): Use
160 `string-to-number' instead of `string-to-int'.
162 * elmo-util.el (elmo-set-work-buf): Use `with-current-buffer'
163 instead of `save-excursion' (for suppress compile warnings).
164 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
165 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Ditto.
166 (elmo-nntp-post): Ditto.
168 2009-08-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
170 * utf7.el (utf7-get-u16char-converter): Revert BOM workaround for
171 Mule-UCS (to-utf-16).
172 (utf7-utf-16-coding-system): Change preference when Mule-UCS on
175 2009-07-11 Taiki SUGAWARA <buzz.taiki@gmail.com>
177 * utf7.el (utf7-find-coding-system-without-bom): New Function.
178 (utf7-utf-16-coding-system): use no-BOM coding system.
179 (utf7-get-u16char-converter): remove workaround for BOM.
181 2009-05-26 Vitaly Mayatskikh <v.mayatskih@gmail.com>
183 * elmo-util.el (elmo-union): New function, make a union of two lists.
185 * elmo-mime.el (elmo-mime-entity-display): Fix Emacs crash in
186 mime-view when displaying malformed base64 attach.
188 * elmo-imap4.el (elmo-imap4-folder-list-flagged): Use elmo-imap4-list
189 (removed duplicated code)
191 * modb-standard.el (modb-standard-cleanup-stale-entities): New
192 function, Remove stale entities from elmo's cache.
194 2009-05-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
196 * elmo-version.el (elmo-version): Up to 2.15.7.
198 2009-03-22 Tetsurou Okazaki <okazaki@be.to>
200 * elsp-bsfilter.el (elmo-spam-bsfilter-update-switch): Change
201 default value to `--auto-update'.
203 2008-07-06 TAKAHASHI Kaoru <kaoru@kaisei.org>
205 * elmo-pop3.el (elmo-pop3-read-contents): Fix double `goto-char'.
206 Add `elmo-pop3-read-point' barrier.
208 2008-07-06 YAMASHITA Junji <ysiijj@gmail.com>
210 * elmo-pop3.el (elmo-pop3-read-contents): improving performance:
211 goto the previous end-point insead of the head-point, and use
212 `search-forward' instead of `re-search-forward'.
214 2008-06-30 Tetsurou Okazaki <okazaki@be.to>
216 * elmo-imap4.el (elmo-imap4-parse-status): Use `case' instead of `cond'.
218 2008-06-30 Don Bashford <Don.Bashford@stjude.org>
220 * elmo-imap4.el (elmo-imap4-parse-status): Accept IMAP4 tokens in a
221 case-insensitive fashion.
223 2008-03-30 Tetsurou Okazaki <okazaki@be.to>
225 * elmo-imap4.el (elmo-imap4-send-command): Combine `process-send-string' calls.
227 2008-02-20 TAKAHASHI Kaoru <kaoru@kaisei.org>
229 * elmo-util.el (elmo-add-name-to-file, elmo-field-body): Use
230 `eval-and-compile' for suppress compile warnings.
232 * elmo-vars.el (dynamic-link, dynamic-call): Use `defalias-maybe'
233 instead of `defun-maybe'
235 * elmo-util.el: Add (eval-when-compile (require 'static)).
237 2008-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
239 * mmimap.el: Remove (require 'static).
242 * elmo-flag.el: Move ';;; Code:' comment.
243 * elmo-imap4.el: Ditto.
244 * elmo-net.el: Ditto.
246 * elmo-version.el (product-provide): Fix comment.
248 2008-02-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
250 * slp.el: Add (eval-when-compile (require 'cl)).
251 * elmo-date.el: Ditto.
252 * elmo-pop3.el: Ditto.
253 * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
255 2008-02-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
257 * modb.el (elmo-msgdb-match-condition-primitive): Use
258 `string-to-number' instead of `string-to-int'.
260 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
261 (elmo-msgdb-message-match-condition)
262 (elmo-msgdb-create-message-entity-from-buffer): Use
263 `string-to-number' instead of `string-to-int'.
265 * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
266 instead of `string-to-int'.
268 * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
269 instead of `string-to-int'.
271 * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
272 `string-to-number' instead of `string-to-int'.
274 * elmo-nntp.el (elmo-nntp-make-msglist)
275 (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
276 (elmo-nntp-create-msgdb-from-overview-string)
277 (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
278 (elmo-nntp-search-primitive): Use `string-to-number' instead of
281 * elmo-net.el (elmo-net-folder-set-parameters): Use
282 `string-to-number' instead of `string-to-int'.
284 * elmo-localdir.el (elmo-localdir-list-subr): Use
285 `string-to-number' instead of `string-to-int'.
287 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
288 `string-to-number' instead of `string-to-int'.
290 * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
291 instead of `string-to-int'.
293 * elmo-archive.el (elmo-archive-list-folder-subr): Use
294 `string-to-number' instead of `string-to-int'.
296 2008-02-16 TAKAHASHI Kaoru <kaoru@kaisei.org>
298 * elmo-util.el (elmo-get-passwd): Fix typo.
300 * elmo-nntp.el (elmo-nntp-get-server-command)
301 (elmo-nntp-set-server-command, elmo-nntp-xover-p)
302 (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
303 (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
304 (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
306 * elmo-imap4.el (elmo-imap4-debug)
307 (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
308 (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
309 (elmo-imap4-response-value, elmo-imap4-response-error-text)
310 (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
311 (elmo-imap4-nth, elmo-imap4-detect-search-charset)
312 (elmo-imap4-identical-system-p): New backquote style.
314 2008-02-15 TAKAHASHI Kaoru <kaoru@kaisei.org>
316 * elmo-dop.el (elmo-make-dop-queue): New backquote style.
317 (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
318 (elmo-dop-queue-arguments): Ditto.
320 * elmo-date.el (elmo-match-substring): New backquote style.
321 (elmo-match-string, elmo-match-buffer): Ditto.
322 (elmo-date-make-sortable-string): Ditto.
324 * elmo-archive.el (elmo-archive-get-method):New backquote style.
325 (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
327 * elmo-multi.el (elmo-multi-real-folder-number): New backquote
330 * elmo-net.el (elmo-network-stream-type-spec-string): New
332 (elmo-network-stream-type-symbol): Ditto.
333 (elmo-network-stream-type-feature): Ditto.
334 (elmo-network-stream-type-function): Ditto.
335 (elmo-network-session-buffer): Ditto.
337 * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
338 (elmo-file-cache-status, elmo-file-cache-path): Ditto.
339 (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
340 (elmo-bind-directory, elmo-set-work-buf): Ditto.
342 * elmo.el (elmo-folder-send): New backquote style.
344 2008-02-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
346 * pldap.el (ldap-static-if): New backquote style.
347 (ldap/ldif-safe-string-p): Ditto.
348 (ldap/ldif-insert-field): Ditto.
350 * elmo-version.el (elmo-version): Up to 2.15.6.
352 2008-01-31 Yoichi NAKAYAMA <yoichi@geiin.org>
354 * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
355 messages with \Deleted flag.
356 (elmo-folder-delete-messages-plugged): Ask before sending expunge
357 command if there are messages with \Deleted flag.
359 2007-04-24 Yoichi NAKAYAMA <yoichi@geiin.org>
361 * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
362 http://seclists.org/bugtraq/2007/Apr/0018.html
363 (Suggested by Tatsuya Kinoshita)
365 2007-04-16 Yoichi NAKAYAMA <yoichi@geiin.org>
367 * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
368 with \Noselect attribute.
370 2007-04-15 Yoichi NAKAYAMA <yoichi@geiin.org>
372 * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
373 hierarchical folder structure with UW-imapd.
375 2007-02-12 Yoichi NAKAYAMA <yoichi@geiin.org>
377 * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
378 when the LOGINDISABLED capability is advertised.
380 2007-01-27 Yoichi NAKAYAMA <yoichi@geiin.org>
382 * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
384 2007-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
386 * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
388 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
389 if the message entity is exists.
391 2007-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
393 * elmo-util.el (elmo-msgdb-insert-file-header): Call
394 `elmo-delete-cr-buffer'.
396 * elmo-localdir.el (elmo-message-fetch-internal): Use
397 `insert-file-contents-as-raw-text' instead of
398 `insert-file-contents-as-binary'.
400 * elmo-maildir.el (elmo-map-message-fetch): Ditto.
402 2006-12-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
404 * elmo-imap4.el (elmo-network-initialize-session): Check to
405 retrieve a whole greeting message.
407 2006-11-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
409 * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
411 2006-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
413 * elmo-util.el (elmo-safe-plist-get): New alias or macro.
414 (elmo-progress-notify): Use it instead of `plist-get'.
416 2006-11-19 Yoichi NAKAYAMA <yoichi@geiin.org>
418 * elmo.el (elmo-generic-folder-append-messages): Remove unused
421 2006-11-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
423 * elmo-pipe.el (elmo-folder-set-plugged): Define.
425 2006-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
427 * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
428 (elmo-spam-list-spam-messages): Check it option.
430 2006-11-08 Tetsurou Okazaki <okazaki@be.to>
432 * elmo-util.el (elmo-with-progress-display): Return the value
433 of the last form in `body'.
435 2006-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
437 * elmo-util.el (elmo-progress-start): Accept nil for `total'. Set
438 `elmo-progress-counter' as t when a query callback returns nil.
439 (elmo-progress-clear): New function.
440 (elmo-progress-done): Split into `elmo-progress-clear'.
441 (elmo-progress-notify): Update a total slot when it is nil.
442 (elmo-with-progress-display): Call `elmo-progress-clear' in
443 unwind-protect and move calling `elmo-progress-done' to outside.
445 * elmo-imap4.el (elmo-imap4-find-next-line): Call
446 `elmo-progress-notify' with :total parameter instead of
447 `elmo-progress-counter-set-total'.
449 2006-11-07 Tetsurou Okazaki <okazaki@be.to>
451 * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
453 (elmo-progress-start): Avoid updating `elmo-progress-counter'
454 when a query callback returns nil. Return a progress counter
455 instead of t whenever a start callback was called.
457 2006-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
459 * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
460 (elmo-imap4-send-command): Use it.
461 (elmo-network-initialize-session): Ditto.
462 (elmo-network-setup-session): Ditto.
463 (elmo-folder-msgdb-create-plugged): Ditto.
465 2006-11-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
467 * elmo-util.el (elmo-progress-done): Fix a miss refer to
468 `elmo-progress-counter'.
470 2006-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
472 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
473 (elsp-bsfilter-list-spam-filter): New function.
474 (elsp-bsfilter-start-list-spam): Ditto.
475 (elsp-bsfilter-read-list-spam): Ditto.
476 (elmo-spam-list-spam-messages): Use async process to display
477 progress message by each message.
479 2006-11-03 Yoichi NAKAYAMA <yoichi@geiin.org>
481 * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
482 of flushing previously inserted message contents.
484 * elmo-imap4.el (elmo-folder-search): Fix return value.
486 2006-11-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
488 * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
489 of reporter is enable or not.
491 2006-10-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
493 * elmo-util.el (elmo-list-bigger-diff): Abolish.
494 (elmo-display-progress): Ditto.
495 (elmo-progress-counter-alist): Ditto.
496 (elmo-progress-set): Ditto.
497 (elmo-progress-clear): Ditto.
498 (elmo-progress-counter-all-value): Rename to
499 `elmo-progress-counter-total'.
500 (elmo-progress-counter-format): Rename to
501 `elmo-progress-counter-action'.
502 (elmo-progress-counter): New internal variable.
503 (elmo-progress-callback-function): Ditto.
504 (elmo-progress-counter-label): New function.
505 (elmo-progress-counter-set-total): Ditto.
506 (elmo-progress-counter-set-action): Ditto.
507 (elmo-progress-call-callback): Ditto.
508 (elmo-progress-start): Ditto.
509 (elmo-progress-done): Ditto.
510 (elmo-progress-notify): Rewrite.
511 (elmo-with-progress-display): Remove first argument
512 `condition'. Add optional argument `var' in `spec'.
514 * elmo-vars.el (elmo-display-progress-threshold): Abolish.
515 (elmo-display-retrieval-progress-threshold): Ditto.
516 (elmo-inhibit-display-retrieval-progress): Ditto.
518 * Replace all pair of `elmo-progress-set' and
519 `elmo-progress-clear' into `elmo-with-progress-display'.
521 * Replace to call `elmo-display-progress' into pair of
522 `elmo-progress-notify' and `elmo-with-progress-display'.
524 * elmo-version.el (elmo-version): Up to 2.15.5.
526 2006-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
528 * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
531 2006-10-15 Yoichi NAKAYAMA <yoichi@geiin.org>
533 * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
534 cleanup-forms [wl:14027].
536 2006-10-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
538 * elmo-flag.el (elmo-global-flag-set-internal): Use
539 `elmo-copy-file' by priority when the message is a file.
541 2006-10-01 Yoichi NAKAYAMA <yoichi@geiin.org>
543 * elmo.el: Fix typo: disptch -> dispatch.
545 2006-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
547 * elmo.el (elmo-file-tag): New class.
548 (elmo-append-messages-disptch-table): New constant.
549 (elmo-folder-type-p): New function.
550 (elmo-folder-append-messages): Redefine as function.
552 * elmo-null.el (elmo-folder-append-messages): Renamed from
553 `elmo-folder-append-messages'.
555 * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
556 (elmo-folder-append-messages-*-maildir): Renamed from
557 `elmo-folder-append-messages'.
559 * elmo-localdir.el (elmo-localdir-folder): Inherit
561 (elmo-folder-append-messages-*-localdir): Renamed from
562 `elmo-folder-append-messages'.
564 * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
565 from `elmo-folder-append-messages'.
567 * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
568 `elmo-folder-append-messages'.
570 * elmo-filter.el (elmo-folder-append-messages-filter-*): New
572 (elmo-folder-append-messages-*-filter): Ditto.
574 * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
576 * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
577 (elmo-folder-append-messages-*-pipe): Renamed from
578 `elmo-folder-append-messages'.
580 * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
582 * elmo-file.el (elmo-file-folder): Ditto.
584 * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
586 * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
587 from `elmo-folder-append-messages'
589 2006-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
591 * elmo-map.el (elmo-location-map-setup): Change an argument
592 `locations' to optional.
593 (elmo-location-map-clear): Abolish.
594 (elmo-folder-clear): Follow the API change.
596 * elmo-pop3.el (elmo-folder-clear): Ditto.
598 * elmo-pop3.el (toplevel): Require elmo-map.
599 (elmo-pop3-folder): Inherit elmo-location-map and abolish
600 location-alist slot (All other related portions are changed).
601 (elmo-pop3-folder-use-uidl): New function.
602 (elmo-folder-msgdb-create): Don't sort message entities.
603 (elmo-pop3-sort-msgdb-by-original-number): Abolish.
604 (elmo-pop3-number-to-size): Convert return value to number.
605 (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
608 * elmo-map.el: Use `location-map' as a variable name for instance
610 (elmo-location-map-setup): Return location alist.
611 (elmo-location-map-update): Ditto.
613 2006-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
615 * elmo-map.el (elmo-location-map): New class; split location and
616 number mapping from elmo-map-folder (All other related portions
619 * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
622 * elmo-version.el (elmo-version): Up to 2.15.4.
624 2006-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
626 * elmo-vars.el (elmo-use-hardlink): New user option.
628 * elmo-util.el (elmo-add-name-to-file): Switch implementations by
631 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
633 (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
634 instead of `*-internal'. Use `elmo-with-progress-display'.
636 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
638 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
639 `elmo-spam-process-messages-as-mbox'.
641 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
643 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
645 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
646 argument BUFFER of `call-process'.
648 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
650 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
652 (elsp-bsfilter-list-spam-files): Ditto.
654 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
656 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
657 (elmo-spam-bsfilter-max-messages-per-process): New use option.
658 (elmo-spam-bsfilter-debug): Fix a group.
659 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
661 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
662 (elsp-bsfilter-list-spam-files): New function.
663 (elmo-spam-list-spam-messages): Define.
664 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
665 (elmo-spam-bsfilter-register-messages): New function.
666 (elmo-spam-register-spam-messages): Define.
667 (elmo-spam-register-good-messages): Ditto.
669 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
671 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
674 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
676 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
677 hash table to test whether a location is exists.
679 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
681 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
682 even if some error occurred.
684 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
685 meaningless unwind-protect.
687 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
688 start-number correctly.
689 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
690 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
692 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
694 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
695 (elmo-folder-initialize): Use it.
696 (elmo-global-flag-replace-referrer): New function.
698 * elmo.el (toplevel): Added autoload setting for
699 `elmo-global-flag-replace-referrer'.
700 (elmo-folder-rename): Rewrite the last change use
701 `elmo-global-flag-replace-referrer'.
703 * elmo-pipe.el (elmo-folder-rename): Call
704 `elmo-global-flag-replace-referrer'.
706 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
708 * elmo.el (elmo-folder-rename): Set meta data for global flags
711 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
713 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
715 (elmo-folder-close): Ditto.
716 (elmo-filter-folder-number-list-loaded-p): New function.
717 (elmo-filter-folder-number-list): Check whether loaded or not.
718 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
719 of `elmo-filter-folder-number-list-internal'.
720 (elmo-folder-delete-messages): Ditto.
721 (elmo-folder-length): Check whether number-list is loaded or not.
723 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
725 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
726 field `real field' into each element of list.
727 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
728 (elmo-msgdb-message-entity-field): Ditto.
729 (modb-entity-ml-info-real-fields): New function.
731 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
733 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
734 `elmo-msgdb-extra-fields'.
736 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
738 * elmo-util.el (elmo-passwd-alist-load): Move point to min
739 position before read.
741 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
743 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
744 (elmo-global-flags-initialize): Ditto.
746 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
748 * elmo-archive.el (toplevel): Don't require emu, std11
751 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
754 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
756 * elmo.el (elmo-folder-confirm-appends): Display folder name.
758 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
760 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
763 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
765 * elmo-maildir.el (elmo-maildir-list-location): Reduce
766 `elmo-get-last-modification-time' call.
768 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
770 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
772 (elmo-maildir-set-mark): Ditto.
773 (elmo-maildir-delete-mark): Ditto.
775 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
777 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
778 optional argument `separators'.
780 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
782 * elmo.el (cache-changed): Abolish.
783 (status-changed): New signal.
784 (elmo-message-killed-p): New generic function and define for
786 (elmo-folder-recover-messages): Ditto.
787 (elmo-message-set-cached): Emit signal `status-changed' instead of
789 (elmo-message-status): New macro.
790 (elmo-message-status-folder): Ditto.
791 (elmo-message-status-number): Ditto.
792 (elmo-message-status-set-flags): Ditto.
793 (elmo-message-status-set-killed): Ditto.
794 (elmo-message-status-flags): New function.
795 (elmo-message-status-cached-p): Ditto.
796 (elmo-message-status-killed-p): Ditto.
798 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
799 `status-changed' instead of `cache-changed'.
800 (elmo-folder-recover-messages): Define.
801 (elmo-message-killed-p): Ditto.
803 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
804 `status-changed' instead of `cache-changed'.
806 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
807 (elmo-message-killed-p): Define.
808 (elmo-folder-recover-messages): Ditto.
810 * elmo-version.el (elmo-version): Up to 2.15.3.
812 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
814 * elmo-signal.el (elmo-signal-bindings): Use cons to append
816 (elmo-define-signal-handler): Add docstring.
817 (elmo-define-signal-filter): Ditto.
819 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
821 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
823 * elmo-util.el (elmo-flatten): Don't use recursive call.
825 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
827 (elmo-folder-message-make-temp-files): Use `number-to-string'
828 instead of `int-to-string'.
830 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
832 * elmo-search.el (elmo-folder-delete-messages): Define.
834 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
836 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
838 (elmo-mailing-list-count-spec-list): Ditto.
840 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
843 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
845 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
848 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
850 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
851 (elmo-mailing-list-count-spec-list): Ditto.
853 * elmo-util.el (elmo-map-until-success): New function.
854 (elmo-string-match-substring): Ditto.
855 (elmo-find-list-match-value): Ditto.
857 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
859 (modb-entity-extract-ml-info-from-subject): Ditto.
860 (modb-entity-extract-ml-info-from-return-path): Ditto.
861 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
862 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
863 (modb-entity-extract-ml-info-from-mailman): Ditto.
864 (modb-entity-extract-mailing-list-info-functions): Ditto.
865 (modb-entity-extract-mailing-list-info): Rewrite with
866 `elmo-find-list-match-value'.
868 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
870 * elmo-net.el (elmo-network-session-retry-count): New user option.
871 (elmo-network-session-buffer-name): New internal function.
872 (elmo-network-session-buffer-create): Ditto.
873 (elmo-network-open-session): Retry open network session
874 `elmo-network-session-retry-count' times.
876 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
878 * elmo-util.el (elmo-list-filter): Rewritten.
880 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
882 * elmo-util.el (elmo-string-member): Allow symbol element in list.
884 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
886 * elmo-search.el (elmo-make-search-engine): Use prefix
887 `elmo-search-' for require symbol instead of `else-'.
888 (elmo-search-engine-extprog): New class.
889 (elmo-search-engine-do-search): Remove nil from argument
890 list. Added argument pattern to evaluate element as function.
891 (elmo-search-engine-local-file): Derived from
892 `elmo-search-engine-extprog'.
893 (elmo-search-engine-create-message-entity): Check existance of file.
894 (elmo-search-engine-fetch-message): Ditto.
895 (elmo-search-namazu-index): Follow the API change.
896 (elmo-search-grep-target): Ditto.
898 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
900 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
901 characters of working buffer.
903 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
904 Does not bind `default-mime-charset'.
905 (elmo-msgdb-create-message-entity-from-buffer): Removed
906 unnecessary local bind.
908 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
910 (modb-entity-extract-mailing-list-info-functions): Added it.
912 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
914 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
915 when number and message-id are non-nil.
917 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
919 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
920 conditional steatment.
921 (elmo-pop3-auth-apop): Likewise.
922 (elmo-network-authenticate-session): Likewise.
924 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
926 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
927 symbol `fill-column'.
928 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
931 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
932 (elmo-decoded-field-body): Ditto.
934 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
936 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
937 `tokens' to `params'.
939 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
941 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
944 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
946 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
949 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
951 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
952 Set default value as nil.
953 (toplevel): Register search engines by
954 `elmo-search-register-engine' if there are not defined.
956 * elmo.el (autoload): Added autoload setting for
957 `elmo-search-register-engine'.
959 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
961 * elmo.el (toplevel): `[' is redefined as the prefix of the search
962 folder instead of nmz folder.
963 (elmo-nmz-default-index-path): Added obsolete variable setting.
964 (elmo-nmz-index-alias-alist): Ditto.
965 (elmo-nmz-use-drive-letter): Ditto.
967 * elmo-search.el (elmo-search-register-engine): New function.
969 * elmo-nmz.el: Removed.
971 * elmo-version.el (elmo-version): Up to 2.15.2.
973 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
975 * elmo-search.el: New file.
977 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
979 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
980 condition `larger' and `smaller'.
982 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
984 * elmo-util.el (elmo-safe-filename): Rewrite to replace
985 `"' (double quote) into "_Q_".
987 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
989 * elmo-net.el (elmo-net-quote-chars): Abolish.
990 (elmo-net-format-quoted): Ditto.
992 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
994 * elmo.el (elmo-get-folder-function): New variable.
995 (elmo-get-folder): New function.
996 (elmo-folder-rename): Call `elmo-make-folder' with specified
999 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
1001 (elmo-split-subr): Ditto.
1003 * elmo-multi.el (elmo-folder-initialize): Ditto.
1005 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
1007 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
1008 (elmo-flag-get-folder): Ditto.
1010 * elmo-filter.el (elmo-folder-initialize): Ditto.
1012 * elmo-access.el (elmo-folder-initialize): Ditto.
1013 (elmo-access-folder-update-children): Ditto.
1015 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
1016 (elmo-dop-queue-flush): Ditto.
1017 (elmo-folder-append-buffer-dop-delayed): Ditto.
1018 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
1021 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
1022 instead of `elmo-make-folder'.
1023 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
1024 destination folder instead of send `elmo-folder-rename-internal'.
1026 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
1027 slot of subfolder instead of create it.
1029 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1031 * elmo-util.el (elmo-collect-separators): New function.
1032 (elmo-collect-separators-internal): Ditto.
1033 (elmo-collect-trail-separators): Ditto.
1034 (elmo-parse-separated-tokens): Ditto.
1035 (elmo-parse-separated-tokens-internal): Ditto.
1036 (elmo-quote-syntactical-element): Ditto.
1038 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
1039 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1041 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
1042 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1043 (elmo-nntp-folder-list-subfolders): Quote a user name.
1045 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
1046 (elmo-net-parse-network): Abolish.
1047 (elmo-net-folder-set-parameters): New function.
1048 (elmo-folder-initialize): Follow the above change.
1050 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
1051 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
1052 (elmo-folder-list-subfolders): Use
1053 `elmo-quote-syntactical-element' instead of
1054 `elmo-net-format-quoted' to quote mailbox and user name.
1056 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1058 * elmo-util.el (elmo-token-valid-p): New function.
1059 (elmo-parse-token): Add optional argument `requirement'.
1060 (elmo-parse-prefixed-element): Likewise.
1062 * elmo-net.el (elmo-net-quote-chars): Renamed from
1063 `elmo-net-quote-chars-regexp'.
1064 (elmo-net-format-quoted): Add optional argument `extra-chars'.
1066 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
1067 by info document. Check token `uidl' is started an alphabet.
1069 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
1070 by info document. Check token `user' is started an alphabet.
1072 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1073 (elmo-folder-list-subfolders): Quote user.
1075 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1077 * elmo-util.el (elmo-quoted-specials-list): New constant.
1078 (elmo-quoted-token): New function.
1080 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
1081 (elmo-net-format-quoted): New function.
1082 (elmo-net-parse-network): Ditto.
1083 (elmo-folder-initialize): Use it.
1085 * elmo-nntp.el (elmo-folder-initialize): Use
1086 `elmo-net-parse-network' to parse network specification instead of
1087 `elmo-folder-initialize#elmo-net'.
1089 * elmo-pop3.el (elmo-folder-initialize): Ditto.
1091 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1092 (elmo-folder-list-subfolders): Quote folder name by
1093 `elmo-net-format-quoted'.
1095 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1097 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
1098 (elmo-folder-search): Use it.
1100 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1102 * modb-standard.el (modb-standard-loaded-message-id): Use
1103 `elmo-msgdb-message-entity-field'.
1105 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1107 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
1110 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
1112 * elmo-util.el (elmo-set-auto-coding): New function.
1113 (elmo-object-load): Use it.
1115 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1117 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
1118 (elmo-time<): Define as alias of `elmo-time-less-p'.
1119 (elmo-time-to-datevec): New function.
1121 * elmo-date.el (elmo-time-to-days): New function.
1123 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1125 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
1128 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1130 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
1133 * elmo-util.el (elmo-map-recursive): New function.
1135 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
1136 (modb-entity-encode-string-recursive): Ditto.
1138 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
1140 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
1141 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
1142 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
1143 compare sequence number when last modified time is nil.
1145 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1147 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
1149 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1151 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
1153 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
1154 modification time of the file.
1156 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1158 * elmo-util.el (elmo-condition-optimize): Discriminated against
1159 preserved fields, extra fields and the other weight.
1161 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1163 * modb-entity.el (initialize-instance): Define.
1164 (modb-entity-handler-mime-charset): New internal function.
1165 (modb-standard-entity-set-field): Use it.
1166 (elmo-msgdb-message-entity-field): Ditto.
1167 (elmo-msgdb-message-entity-field): Ditto.
1169 * modb.el (elmo-msgdb-match-condition): Rewrite with
1170 `elmo-condition-match'.
1171 (elmo-msgdb-match-condition-primitive): New function.
1173 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
1174 arguments `flags' and `numbers'.
1175 (elmo-msgdb-match-condition-primitive): Abolished (merged to
1176 `elmo-msgdb-message-match-condition').
1177 (modb-buffer-entity-handler): New class.
1179 * elmo.el (elmo-folder-search): Optimize condition to use
1180 `elmo-condition-optimize'.
1181 (elmo-message-buffer-match-condition): New function.
1182 (elmo-message-match-condition): Use
1183 `elmo-message-buffer-match-condition' instead of
1184 `elmo-buffer-field-condition-match'.
1186 * elmo-util.el (elmo-condition-match): New function.
1187 (elmo-condition-optimize): Ditto.
1188 (elmo-buffer-field-primitive-condition-match): Abolish.
1189 (elmo-buffer-field-condition-match): Ditto.
1191 * elmo-archive.el (elmo-archive-field-condition-match): Use
1192 `elmo-message-buffer-match-condition' instead of
1193 `elmo-buffer-field-condition-match'.
1195 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1197 * elmo-flag.el (elmo-global-flags-initialize): Check the
1198 existence of the flag directory.
1200 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1202 * elmo-access.el (elmo-folder-initialize): Call
1203 `elmo-multi-connect-signals'.
1205 * elmo-pipe.el (elmo-folder-close): Define.
1207 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
1210 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
1213 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
1216 * elmo-multi.el (elmo-message-entity): Don't use return value of
1217 `elmo-message-entity-set-number'.
1219 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1221 * modb.el (modb-generic): Added slot `mime-charset'.
1223 * modb-standard.el (modb-standard): Added slot `overview-handler'.
1224 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
1225 and `modb-entity-handler-dump-parameters'.
1226 (modb-standard-default-entity-handler): Abolish.
1227 (elmo-msgdb-message-entity-handler): Save created handler by
1230 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
1231 (modb-entity-handler-list-parameters): New method.
1232 (modb-entity-handler-equal-p): New function.
1233 (modb-entity-handler-dump-parameters): Ditto.
1234 (modb-entity-parse-address-string): Encode return value.
1235 (modb-entity-make-address-string): Decode argument value.
1236 (modb-entity-decode-string-recursive): New function.
1237 (modb-entity-encode-string-recursive): Ditto.
1238 (modb-standard-entity-normalizer): Set to encode field value.
1239 (modb-standard-entity-specializer): Follow the above change.
1240 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1241 mime-charset of handler.
1242 (elmo-msgdb-message-entity-field): Ditto.
1243 (elmo-msgdb-copy-message-entity): Fixed reference to internal
1245 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1247 * elmo.el (elmo-folder): Added slot `mime-charset'.
1248 (elmo-make-folder): Added argument `mime-charset'.
1249 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1252 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1253 (elmo-make-msgdb): Likewise.
1255 * elmo-internal.el (elmo-internal-folder-initialize): Call
1256 `luna-make-entity' with :mime-charset parameter.
1258 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
1260 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1261 encoded words in `from' and `subject' field.
1263 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1265 * modb.el (elmo-msgdb-message-field): Add argument `type'.
1266 (elmo-msgdb-match-condition): Get handler from entity instead of
1269 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1270 (modb-standard-load-entity): Treat new file format.
1271 (modb-standard-save-entity-1): Save as new file format.
1272 (modb-standard-save-entity): Split messages into section here.
1273 (elmo-msgdb-message-field): Follow the API change.
1274 (modb-standard-default-entity-handler): New internal variable.
1275 (elmo-msgdb-message-entity-handler): Define.
1277 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1279 (modb-entity-field-extractor-alist): New user option.
1280 (elmo-msgdb-message-entity-field): Removed argument `decode' and
1281 added argument `type'.
1282 (elmo-msgdb-copy-message-entity): Add optional argument
1284 (modb-set-field-converter): New function.
1285 (modb-convert-field-value): Ditto.
1286 (modb-entity-string-decoder): Ditto.
1287 (modb-entity-string-encoder): Ditto.
1288 (modb-entity-parse-date-string): Ditto.
1289 (modb-entity-make-date-string): Ditto.
1290 (modb-entity-mime-decoder): Ditto.
1291 (modb-entity-mime-encoder): Ditto.
1292 (modb-entity-address-list-decoder): Ditto.
1293 (modb-entity-address-list-encoder): Ditto.
1294 (modb-entity-parse-address-string): Ditto.
1295 (modb-entity-make-address-string): Ditto.
1296 (modb-entity-create-field-indices): Ditto.
1297 (modb-legacy-entity-field-slots): New constant.
1298 (modb-legacy-entity-field-indices): Ditto.
1299 (modb-legacy-entity-normalizer): New variable.
1300 (modb-legacy-entity-specializer): Ditto.
1301 (modb-legacy-entity-field-index): New macro.
1302 (modb-legacy-entity-set-field): New function.
1303 (modb-legacy-make-message-entity): Rewrite.
1304 (elmo-msgdb-create-message-entity-from-buffer): Use
1305 `elmo-msgdb-get-references-from-buffer'. Use
1306 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1307 Use `modb-legacy-entity-set-field' instead of
1308 `elmo-msgdb-message-entity-set-field'.
1309 (elmo-msgdb-message-entity-field): Rewrite.
1310 (elmo-msgdb-message-entity-set-field): Ditto.
1311 (elmo-msgdb-copy-message-entity): Make new entity by
1312 `make-handler' if it specified.
1313 (elmo-msgdb-message-match-condition): Define a method of
1314 `modb-entity-handler' and follow the API change.
1315 (modb-standard-entity-handler): New class.
1316 (modb-entity-extract-ml-info-from-x-sequence): New function.
1317 (modb-entity-extract-ml-info-from-subject): Ditto.
1318 (modb-entity-extract-ml-info-from-return-path): Ditto.
1319 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1320 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1321 (modb-entity-extract-mailing-list-info): Ditto.
1322 (modb-entity-extract-mailing-list-info-functions): New variable.
1324 * elmo.el (elmo-message-field): Add optional argument `type'.
1326 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1327 from `modb-entity.el'.
1329 * elmo-util.el (elmo-object-load): Decode by coding-system from
1330 `set-auto-coding-function'.
1331 (elmo-object-save): Use `detect-mime-charset-region' and add
1332 coding cookie if encode.
1333 (elmo-msgdb-get-references-from-buffer): New function.
1334 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1336 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1338 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1339 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1340 instead of `shimbun-make-header' and follow the API change.
1341 (elmo-shimbun-update-overview): Follow the API change.
1342 (elmo-map-folder-list-message-locations): Ditto.
1344 * elmo-pipe.el (elmo-message-field): Ditto.
1346 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1349 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1351 * elmo-multi.el (elmo-message-field): Ditto.
1353 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1354 (elmo-msgdb-sort-by-date): Ditto.
1355 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1356 `elmo-message-entity-field'.
1357 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1359 (elmo-msgdb-overview-entity-get-from): Ditto.
1360 (elmo-msgdb-overview-entity-get-subject): Ditto.
1361 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1362 (elmo-msgdb-overview-entity-get-date): Ditto.
1363 (elmo-msgdb-overview-entity-get-to): Ditto.
1364 (elmo-msgdb-overview-entity-get-cc): Ditto.
1366 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1367 (elmo-mime-collect-message/partial-pieces): Ditto.
1369 * elmo-filter.el (elmo-message-field): Ditto.
1371 * elmo-date.el (elmo-datevec-to-time): New function.
1372 (elmo-time-parse-date-string): Ditto.
1373 (elmo-time-make-date-string): Ditto.
1374 (elmo-time<): Ditto.
1376 * elmo-version.el (elmo-version): Up to 2.15.1.
1378 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
1380 * elmo-flag.el (elmo-global-flags-initialize): Don't include
1381 member of elmo-local-flags.
1383 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
1385 * elmo-version.el (elmo-version): Up to 2.15.0.
1387 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1389 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1390 `ignore-msgdb' is non-nil.
1392 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1394 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1395 (elmo-condition-in-msgdb-p): Ditto.
1396 (elmo-file-field-primitive-condition-match): Ditto.
1397 (elmo-file-field-condition-match): Ditto.
1399 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1401 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1403 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1404 subdirectories here.
1405 (elmo-global-flags-initialize): New function.
1407 * elmo.el (toplevel): Added autoload setting for
1408 `elmo-global-flags-initialize'.
1410 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
1412 * elmo.el (message-number-changed): Define new signal.
1413 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1414 message-number-changed signal.
1415 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1416 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1417 Respect `elmo-pack-number-check-strict'.
1419 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1421 * elmo-signal.el (elmo-connect-signal): Document.
1422 (elmo-emit-signal): Ditto.
1423 (elmo-emit-signal): It should pass source argument to filter and
1424 handler, not slot-source.
1426 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1428 * modb.el (elmo-msgdb-update-entity): New API and define generic
1431 * modb-standard.el (elmo-msgdb-update-entity): Define.
1433 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1434 API and define generic implement.
1436 * elmo.el (update-overview): New singnal.
1438 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1439 `elmo-msgdb-update-entity' and emit signal `update-overview'.
1440 (elmo-message-entity-parent): Define.
1442 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1445 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1447 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1449 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
1451 * elmo.el (elmo-folder-synchronize): Sort the return value of
1454 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1457 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1459 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1460 `default-enable-multibyte-characters'.
1461 (elmo-object-load): Use `with-temp-buffer' instead of
1462 `elmo-set-work-buf'.
1463 (elmo-object-save): Ditto.
1464 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1465 `elmo-set-work-buf'.
1466 (elmo-decoded-field-body): Ditto.
1468 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1470 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1471 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1473 * elmo-version.el (elmo-version): Up to 2.13.3.
1475 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
1477 * elmo-util.el (elmo-list-diff): Fix the last change.
1478 Reverse order of result lists.
1480 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
1482 * modb-standard.el (elmo-msgdb-set-flag): Use
1483 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1484 (elmo-msgdb-unset-flag): Ditto.
1486 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1489 * elmo-util.el (elmo-list-diff): Rewrite.
1490 (elmo-list-diff-nonsortable): New function.
1492 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
1494 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1495 `elmo-multibypte-buffer-name'. All referers are updated.
1497 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1499 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1500 (elmo-mime-entity-fragment-p): New function.
1501 (mime-elmo-buffer-entity): Added slot `reassembled'.
1502 (elmo-message-mime-entity): Added 4th argument `reassemble'.
1503 (elmo-message-mime-entity-internal): New function (renamed from
1504 `elmo-message-mime-entity').
1505 (elmo-mime-inherit-field-list-from-enclosed): New constant.
1506 (elmo-mime-make-reassembled-mime-entity): New function.
1507 (elmo-message-reassembled-mime-entity): Ditto.
1508 (elmo-mime-collect-message/partial-pieces): Ditto.
1510 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1512 * elmo.el (elmo-message-fetch-string): Disable multibyte.
1514 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1515 (elmo-with-enable-multibyte): New macro.
1517 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1519 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1521 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1523 (elmo-filter-connect-signals): Follow the above change.
1525 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
1527 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1529 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1530 that only the first flag is used.
1532 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1534 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1537 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1539 * elmo-signal.el: New file.
1541 * elmo.el (toplevel): Require elmo-signal.
1542 (flag-changing, flag-changed, cache-changed): New signal.
1543 (elmo-folder): Remove slog `handlers'.
1544 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1545 `elmo-folder-notify-event'.
1546 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1547 (elmo-folder-unset-flag): Ditto.
1548 (elmo-event-handler): Abolish.
1549 (elmo-event-handler-flag-changed): Ditto.
1550 (elmo-event-handler-cache-changed): Ditto.
1551 (elmo-folder-add-handler): Ditto.
1552 (elmo-folder-remove-handler): Ditto.
1553 (elmo-folder-notify-event): Ditto.
1555 * elmo-pipe.el (toplevel): Require elmo-signal.
1556 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1557 (elmo-pipe-connect-signals): New function.
1558 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1559 (elmo-folder-set-flag): Ditto.
1560 (elmo-folder-unset-flag): Ditto.
1561 (elmo-message-set-cached): Ditto.
1563 * elmo-multi.el (toplevel): Require elmo-signal.
1564 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1565 (elmo-multi-connect-signals): New function.
1566 (elmo-multi-map-numbers): Ditto.
1567 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1568 (elmo-message-fetch): Ditto.
1569 (elmo-folder-set-flag): Ditto.
1570 (elmo-folder-unset-flag): Ditto.
1572 * elmo-filter.el (toplevel): Require elmo-signal.
1573 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1574 (elmo-filter-connect-signals): New function.
1575 (elmo-filter-add-flag-count): Ditto.
1576 (elmo-message-fetch): Does not call
1577 `elmo-filter-folder-countup-message-flags' and
1578 `elmo-folder-notify-event'.
1579 (elmo-message-set-cached): Ditto.
1580 (elmo-folder-set-flag): Ditto.
1581 (elmo-folder-unset-flag): Ditto.
1583 * elmo-version.el (elmo-version): Up to 2.13.2.
1585 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1587 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1590 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1592 * elmo-filter.el (elmo-message-set-cached): Call
1593 `elmo-folder-notify-event' with event `cache-changed'.
1595 * elmo-multi.el (elmo-message-set-cached): Ditto.
1597 * elmo-pipe.el (elmo-message-set-cached): Ditto.
1599 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
1601 * elmo.el (elmo-folder-encache): Abolish.
1603 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1605 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1606 (elmo-folder-next-message-number-dop): Return appropriate negative
1609 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1611 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1612 clearing pending operations.
1613 (elmo-folder-next-message-number-dop): Return appropriate negative
1616 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1618 * elmo.el (toplevel): Added autoload setting for `md5'.
1619 (elmo-msgdb-path-encode-threshold): New user option.
1620 (elmo-folder-msgdb-path): Encode msgdb path if its length is
1621 longer than `elmo-msgdb-path-encode-threshold'.
1623 * elmo-flag.el (elmo-global-mark-migrate): Use
1624 `elmo-folder-expand-msgdb-path' instead of
1625 `elmo-folder-msgdb-path'.
1627 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1629 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1630 element of the difference is nil.
1632 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
1634 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1635 to the check logic of file systems which are weak in colon character.
1637 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1639 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1641 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1643 * elmo-maildir.el (elmo-maildir-move-file): New function.
1644 (elmo-folder-append-buffer): Use it.
1645 (elmo-folder-append-messages): Ditto.
1646 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1648 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1649 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1651 * elmo-maildir.el (elmo-maildir-separator): New user option.
1652 (elmo-maildir-adjust-separator): New macro.
1653 (elmo-maildir-list-location): Use it.
1654 (elmo-maildir-update-current): Ditto.
1655 (elmo-maildir-set-mark): Ditto.
1656 (elmo-maildir-delete-mark): Ditto.
1657 (These changes are based on Hiroya Murata's patch [wl: 13437])
1659 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1661 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1663 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1665 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1666 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1667 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1669 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1671 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1672 Use `with-temp-buffer'.
1674 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1676 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1678 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1679 `wl-read-search-condition').
1680 (elmo-read-search-condition-internal): Likewise.
1682 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1683 (elmo-flag-valid-p): New function.
1684 (elmo-folder-initialize): Check flag name is valid.
1686 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1688 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1689 delimiter to obtain root mailbox itself.
1691 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1693 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1696 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1698 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1701 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1703 * elmo-shimbun.el (toplevel): Require cl at compile.
1705 * elmo-nntp.el (toplevel): Ditto.
1707 * elmo-nmz.el (toplevel): Ditto.
1709 * elmo-multi.el (toplevel): Ditto.
1711 * elmo-file.el (toplevel): Ditto.
1713 * elmo-dop.el (toplevel): Ditto.
1715 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1717 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1719 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1722 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1723 size of elmo-message-fetch-internal is 0 byte.
1725 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1727 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1729 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1731 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1734 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1736 * elmo-maildir.el (elmo-map-message-fetch): Call
1737 `elmo-map-folder-set-flag'.
1739 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1740 (elmo-message-fetch): Merge from
1741 `elmo-message-fetch-with-cache-process'.
1743 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1744 (elmo-message-fetch): Define.
1746 * elmo-nntp.el (elmo-message-fetch): Renamed from
1747 `elmo-message-fetch-with-cache-process'.
1749 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1750 (elmo-message-fetch): Define.
1752 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1755 * elmo-shimbun.el (shimbun-mua-search-id): Use
1756 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1757 (elmo-shimbun-folder-shimbun-header): Ditto.
1758 (elmo-shimbun-get-headers): Ditto.
1759 (elmo-shimbun-update-overview): Ditto.
1761 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1763 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1764 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1766 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1768 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1770 (elmo-message-fetch-string): Fixed argument.
1772 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1774 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1775 exchange order of arguments `section' and `unread'.
1776 (elmo-message-encache): Follow the API change.
1777 (elmo-message-match-condition): Ditto.
1778 (elmo-generic-folder-append-messages): Ditto.
1779 (elmo-message-fetch-string): New function.
1781 * elmo-split.el (elmo-split-subr): Ditto.
1783 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1785 * elmo-pipe.el (elmo-message-fetch): Ditto.
1787 * elmo-multi.el (elmo-message-fetch): Ditto.
1789 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1791 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1793 * elmo-filter.el (elmo-message-fetch): Ditto.
1795 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1797 * elmo-imap4.el (mime-imap-location-section-body): Use
1798 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1799 follow the API change.
1801 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1803 * elmo-access.el: New file.
1805 * elmo-null.el: Ditto.
1807 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1809 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1811 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1812 (elmo-network-session): New attribute `last-accessed'.
1813 (elmo-network-get-session): Discard network cache if elapsed time
1814 since last-accessed is larger than elmo-network-session-idle-timeout.
1816 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1818 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1819 and added `number', `require-entireness'.
1820 (elmo-find-fetch-strategy): Rewrite.
1821 (elmo-message-fetch): Unset `unread' flag when argument unread is
1824 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1826 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1827 (elmo-message-fetch): Notify event `flag-changed'.
1829 * elmo-pipe.el: Likewise.
1831 * elmo-mime.el (elmo-mime-entity): New class.
1832 (elmo-mime-entity-display-p): New generic function.
1833 (elmo-mime-entity-display): Ditto.
1834 (elmo-mime-entity-display-as-is): Ditto.
1835 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1837 (elmo-make-mime-message-location): Removed.
1838 (elmo-mime-message-display): Ditto.
1839 (elmo-mime-display-as-is): Ditto.
1840 (elmo-message-mime-entity): New function.
1842 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1844 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1846 (elmo-message-fetch): Re-count flagged message number and notify
1847 event `flag-changed'.
1849 * elmo-version.el (elmo-version): Up to 2.13.1.
1851 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1853 * elmo-filter.el (elmo-message-field): Define.
1854 (elmo-message-set-field): Ditto.
1856 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1858 * elmo.el (elmo-message-set-cached): Call
1859 `elmo-folder-notify-event' with cache-changed.
1860 (elmo-event-handler-cache-changed): New generic function.
1862 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1864 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1865 instead of elmo-add-name-to-file.
1866 (elmo-folder-append-messages): Ditto.
1868 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1870 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1872 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1874 * elmo-version.el (elmo-version): Up to 2.13.0.
1876 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1879 * modb-standard.el (modb-standard-economize-entity-size): Changed
1880 default value to `t'.
1882 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1885 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1886 after parsing greeting string.
1888 2004-11-23 Daishi Kato <daishi@axlight.com>
1890 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1892 (elmo-spam-spamoracle-call): Use it.
1894 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1896 * elmo.el (elmo-message-accessible-p): Message in dop spool
1899 2004-11-23 Daishi Kato <daishi@axlight.com>
1901 * elsp-spamoracle.el: New file.
1903 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1905 * elmo.el (elmo-message-flags-for-append): New function.
1906 (elmo-generic-folder-append-messages): Use it.
1908 * elmo-split.el (elmo-split-subr): Ditto.
1910 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1911 `flags' and use elmo-folder-append-buffer instead of
1912 write-region-as-binary.
1913 (elmo-dop-filter-pending-messages): New function.
1914 (elmo-folder-append-buffer-dop): Call
1915 elmo-dop-spool-folder-append-buffer with `flag'.
1916 (elmo-folder-set-flag-dop): Filter messages by
1917 elmo-dop-filter-pending-messages.
1918 (elmo-folder-unset-flag-dop): Ditto.
1919 (elmo-folder-append-buffer-dop-delayed): Use
1920 elmo-message-flags-for-append to get flags of the message and
1923 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1925 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1927 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1929 * elmo.el (elmo-folder): Added handlers slot.
1930 (elmo-event-handler): New class.
1931 (elmo-event-handler-flag-changed): New API.
1932 (elmo-folder-add-handler): New function.
1933 (elmo-folder-remove-handler): Ditto.
1934 (elmo-folder-notify-event): Ditto.
1935 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1937 (elmo-folder-unset-flag): Ditto.
1939 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1940 (elmo-folder-unset-flag): Ditto.
1942 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1943 (elmo-folder-unset-flag): Ditto.
1945 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1946 (elmo-folder-unset-flag): Ditto.
1948 * elmo-version.el (elmo-version): Up to 2.11.33.
1950 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1952 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1954 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1956 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1958 * elmo-flag.el (elmo-folder-unset-flag): Define.
1959 (elmo-global-flag-detach): Do process when the flag is not target
1962 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1964 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1966 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1968 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1970 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1972 (elmo-folder-delete-messages): Detach messages before delete
1973 messages from target folder.
1974 (elmo-folder-detach-messages): Set updated number-list to slot.
1976 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1978 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1980 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1982 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1984 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1986 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1988 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1990 (elmo-folder-delete-messages): Define.
1991 (elmo-folder-move-messages): Don't call
1992 `elmo-folder-detach-messages'.
1993 (elmo-folder-synchronize): Rewrite.
1994 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1996 * elmo-util.el (elmo-last): New function.
1997 (elmo-set-list): Ditto.
1998 (elmo-number-set-delete-list): Ditto.
1999 (elmo-number-set-delete): Ditto.
2001 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
2003 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
2004 `elmo-folder-delete-messages' and don't delete location map.
2005 (elmo-folder-detach-messages): Define.
2007 * elmo-imap4.el (elmo-folder-delete): Use
2008 `elmo-folder-delete-messages-internal' instead of
2009 `elmo-folder-delete-messages'.
2011 * elmo-filter.el (elmo-folder-delete-messages): Call
2012 `elmo-folder-detach-messages'.
2013 (elmo-folder-detach-messages): Don't call
2014 `elmo-folder-detach-messages' for target folder.
2016 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
2017 message deletion is succeeded.
2019 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
2021 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
2022 from `elmo-folder-delete-messages'.
2024 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
2026 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
2028 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
2030 * elmo-version.el (elmo-version): Up to 2.11.32.
2032 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
2034 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
2035 (elmo-global-flag-list): Added obsolete variable setting.
2037 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
2039 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
2040 (elmo-mime-insert-header-from-buffer): Don't decode header content when
2041 `elmo-mime-display-header-analysis' is nil.
2043 * elmo-flag.el (elmo-global-flags): Renamed from
2044 `elmo-global-flag-list' (All other related portions are changed).
2045 (elmo-local-flags): New variable.
2046 (elmo-local-flag-p): New function.
2047 (elmo-global-flag-set-internal): Cause an error when flag is not
2050 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
2052 * elmo-util.el (elmo-concat-path): Treat empty path.
2054 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2056 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
2058 (elmo-split-address-match): Ditto.
2059 (elmo-split-equal): Ditto.
2060 (elmo-split-match): Ditto.
2062 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
2064 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
2065 (elmo-generic-folder-append-messages): If src message exists but
2066 has no flag, pass (read) for the FLAG argument of
2067 `elmo-folder-append-buffer'. Otherwise, pass nil.
2069 * elmo-split.el (elmo-split-subr): Likewise.
2071 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
2073 * elmo-multi.el (elmo-message-flags): Ditto.
2075 * elmo-filter.el (elmo-message-flags): Ditto.
2077 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2078 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
2079 pass (read) for the FLAG argument of elmo-folder-append-buffer.
2081 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
2083 * elmo-split.el (elmo-split-rule): Update comment.
2084 (elmo-split-address-equal): Allow 2nd argument to be a list.
2085 (elmo-split-address-match): Ditto.
2086 (elmo-split-equal): Ditto.
2087 (elmo-split-match): Ditto.
2089 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
2091 * elmo.el (elmo-folder-append-buffer): Fix docstring.
2092 (elmo-folder-append-msgdb): Don't treat `read'.
2093 (elmo-message-flags): Don't return `read'.
2095 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
2096 (elmo-folder-unset-read-delayed): Ditto.
2098 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
2100 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
2102 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
2105 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2107 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
2110 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
2112 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
2114 (elmo-msgdb-save): Bind inhibit-quit.
2115 (modb-standard-message-entity): Ditto.
2117 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2119 * elmo-database.el: No need to require elmo-msgdb.
2121 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2123 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
2124 instead of `elmo-list-subdirectories'.
2126 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
2128 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
2130 (elmo-folder-exists-p): "[" is empty.
2131 (elmo-folder-list-subfolders): Define.
2132 (elmo-folder-have-subfolder-p): Ditto.
2134 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
2136 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
2138 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
2140 * elmo-filter.el (elmo-folder-local-p): Define.
2142 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2144 * modb-standard.el (modb-standard-loaded-message-id): Return nil
2145 when entity is garbaged.
2146 (modb-standard-save-entity-1): Don't modify the original entity.
2148 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
2150 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
2152 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2154 * elmo.el (elmo-strict-folder-diff): Use
2155 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
2157 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2159 * modb.el (elmo-msgdb-flag-available-p): New generic function.
2160 (elmo-msgdb-message-number): Ditto.
2161 (elmo-msgdb-message-field): Ditto.
2163 * modb-standard.el (modb-standard-economize-entity-size): New user
2165 (modb-standard-loaded-message-id): New inline function.
2166 (modb-standard-load-entity): Use it.
2167 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
2168 throw message-id string away.
2169 (elmo-msgdb-flag-available-p): Define.
2170 (elmo-msgdb-message-number): Ditto.
2171 (elmo-msgdb-message-field): Ditto.
2173 * modb-legacy.el (modb-legacy-flag-list): Fix typo
2174 (suppoted -> supported).
2175 (modb-legacy-supported-flag-p): Ditto.
2176 (elmo-msgdb-set-flag): Ditto.
2177 (elmo-msgdb-unset-flag): Ditto.
2178 (elmo-msgdb-flag-available-p): Define.
2180 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
2181 is `t', treat it as legacy entity.
2183 * elmo.el (elmo-message-flag-available-p): New generic function.
2184 (elmo-message-number): Ditto.
2185 (elmo-message-field): Use `elmo-msgdb-message-field'.
2187 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
2189 * elmo-pipe.el (elmo-message-flag-available-p): Define.
2190 (elmo-message-number): Ditto.
2192 * elmo-multi.el (elmo-message-number): Define.
2193 (elmo-message-flag-available-p): Ditto.
2195 * elmo-filter.el (elmo-message-flag-available-p): Define.
2196 (elmo-message-number): Ditto.
2198 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
2199 (elmo-folder-initialize): Load `max-number'.
2200 (elmo-folder-commit): Save it.
2201 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
2202 (elmo-global-flag-set-internal): Set up max-number slot.
2204 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
2206 * elmo-version.el (elmo-version): Up to 2.11.31.
2208 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
2210 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
2211 unibyte string of the current buffer for the argument of `md5'
2212 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
2214 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2216 * modb-legacy.el (modb-legacy-flag-list): New constant.
2217 (modb-legacy-suppoted-flag-p): New internal function.
2218 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
2219 (elmo-msgdb-unset-flag): Ditto.
2221 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
2223 * elmo.el (elmo-make-folder): Remove text properties for prefix.
2225 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
2228 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2230 * elmo-multi.el (elmo-folder-count-flags): Changed return value
2231 (follow the API change).
2233 * elmo-filter.el (elmo-folder-count-flags): Ditto.
2235 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
2237 * modb-standard.el (modb-standard-digest-flags): Abolish.
2238 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2240 * elmo-vars.el (elmo-digest-flags): New variable.
2241 (elmo-preserved-flags): Moved from elmo-flag.el.
2243 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2244 (elmo-imap4-flag-to-imap-criteria): Ditto.
2245 (elmo-imap4-folder-list-flagged): Use it.
2247 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2249 * elmo.el (elmo-folder-count-flags): Changed return value.
2251 * elmo-flag.el (elmo-preserved-flags): New variable.
2252 (elmo-get-global-flags): Use it.
2254 * modb-standard.el (modb-standard-digest-flags): New variable.
2255 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2256 Changed behavior of `any'.
2258 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2259 which are defined the Internet draft
2260 (draft-melnikov-imap-keywords-03.txt).
2261 (elmo-imap4-flags-to-imap): New function.
2262 (elmo-folder-append-buffer): Use it.
2264 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2267 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2268 avoid the bug of Emacs 21.3.
2270 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
2272 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2273 function find-coding-system does not exist.
2275 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2277 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2280 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2282 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2285 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2287 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2288 (elmo-network-close-session): Follow the changes in
2289 `elmo-pop3-read-response'.
2290 (elmo-pop3-auth-user): Ditto.
2291 (elmo-pop3-auth-apop): Ditto.
2292 (elmo-network-initialize-session): Ditto.
2293 (elmo-network-authenticate-session): Ditto.
2294 (elmo-network-setup-session): Ditto.
2295 (elmo-folder-status): Ditto.
2296 (elmo-message-fetch-plugged): Ditto.
2297 (elmo-pop3-delete-msg): Ditto.
2299 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
2301 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2304 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2306 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2308 (elmo-bind-directory): Ditto.
2310 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2312 * elmo.el (elmo-folder-append-messages): Note on return value.
2313 * elmo-archive.el (elmo-folder-append-messages): Don't return
2314 message numbers which could not be appended.
2316 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2318 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2320 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2322 * elmo-version.el (elmo-version): Up to 2.11.30.
2324 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2326 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2329 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2331 * elmo-multi.el (elmo-folder-synchronize): Likewise.
2332 (elmo-multi-split-numbers): Add elmo-folder object into each
2333 element of return value at first.
2334 (elmo-folder-delete-messages): Follow the above change.
2335 (elmo-folder-detach-messages): Ditto.
2337 * elmo-filter.el (elmo-folder-synchronize): Minimize message
2338 number which is synchronized in target folder.
2340 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2342 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2343 Change default value to symbol `all'.
2344 (elmo-map-message-fetch): Change condition to update overview
2347 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2349 * elmo-shimbun.el (elmo-map-message-fetch): Change default
2350 behavior to update overview.
2351 (elmo-shimbun-update-overview-folder-list): Note it.
2353 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2355 * modb-standard.el (modb-standard-message-entity): Avoid infinite
2358 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2360 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2361 buffer-disable-undo, it is unnecessary.
2362 (elmo-spam-register-good-messages): Ditto.
2364 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2367 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2369 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2371 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2372 (elmo-set-work-buf): Use set-buffer-multibyte instead of
2373 elmo-set-buffer-multibyte.
2374 (elmo-object-load): Ditto.
2375 (elmo-save-buffer): Ditto.
2376 (elmo-delete-char): Ditto.
2377 (elmo-file-field-primitive-condition-match): Ditto.
2378 (elmo-mime-string): Ditto.
2380 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2381 (elmo-archive-field-condition-match): Ditto.
2383 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2385 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2387 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2388 (elmo-nntp-msgdb-create-message): Ditto.
2390 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2392 * elmo.el (elmo-message-match-condition): Ditto.
2393 (elmo-message-match-condition): Ditto.
2395 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2398 * elmo-version.el (elmo-version): Up to 2.11.29.
2400 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2401 (elsp-header): New backend.
2403 * elmo-util.el (elmo-decoded-field-body): New function.
2405 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2407 * elmo-version.el (elmo-version): Up to 2.11.28.
2409 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2411 * elmo-filter.el: Rewrite.
2413 * elmo-version.el (elmo-version): Up to 2.11.27.
2415 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
2417 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2418 msgdb path for the localdir folder with absolute path.
2420 * utf7.el: Synch up with latest gnus/utf7.el;
2421 Modified for latest Emacs.
2423 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2425 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2426 shimbun backend couldn't open.
2428 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
2430 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2431 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2432 when a destination folder is a filter folder.
2434 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2436 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2437 (elmo-generic-folder-append-messages): Call elmo-message-flags
2438 with argument `msgid'.
2440 * elmo-split.el (elmo-split-subr): Ditto.
2442 * elmo-pipe.el (elmo-message-flags): Follow the API change.
2444 * elmo-multi.el (elmo-message-flags): Ditto.
2446 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2448 * elmo.el (elmo-folder): Add new slot `flag-table'.
2449 (elmo-folder-flag-table): New API.
2450 (elmo-folder-close-flag-table): Ditto.
2451 (elmo-folder-preserve-flags): New function.
2452 (elmo-generic-folder-append-messages): Use
2453 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2454 Flag of a non-registered message, it sets to nil.
2455 Does not set flag to flag-table.
2457 * elmo-maildir.el (elmo-folder-append-buffer): Use
2458 `elmo-folder-preserve-flags'.
2459 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2460 `elmo-folder-close-flag-table'.
2462 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2463 (elmo-archive-folder-append-buffer): Use
2464 `elmo-folder-preserve-flags'.
2466 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2468 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2470 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2471 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2472 `elmo-folder-close-flag-table'.
2474 * elmo-version.el (elmo-version): Up to 2.11.26.
2476 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2478 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2480 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2481 md5's 4th and 5th argument (non-existent in flim one).
2483 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2485 * elmo-split.el (elmo-split-subr): Flag of a non-registered
2486 message, It sets to nil.
2488 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2490 * elmo.el (elmo-folder-list-messages): Merge lists only if both
2493 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
2495 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2497 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2499 * elmo-util.el (elmo-uniq-sorted-list): New function.
2500 (elmo-make-number-list): Ditto.
2501 (elmo-number-set-to-number-list): Use elmo-make-number-list
2502 and don't use nreverse.
2504 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2506 * elmo-version.el (elmo-version): Up to 2.11.25.
2508 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2510 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2511 field not exists in message, Use md5 message digest of header.
2513 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2515 * elmo.el (elmo-folder-append-buffer): Add note on return value.
2516 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2517 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2518 * elmo-split.el (elmo-split-subr): Check return value of
2519 elmo-folder-append-buffer.
2521 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2522 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2524 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2527 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
2529 * elmo-split.el (elmo-split-subr): Append message with flag.
2531 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2532 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2533 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2535 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
2537 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2538 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2539 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2541 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
2543 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2544 with a function call of `process-buffer'. All callers are updated.
2545 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
2546 Remove redundant `set-buffer' in a while loop.
2548 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
2550 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2553 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2555 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2556 elsp-spamfilter-register-buffer-internal with current buffer.
2557 (elmo-spam-register-spam-buffer): Ditto.
2558 (elmo-spam-register-good-buffer): Ditto.
2560 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2562 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2563 if it is not contained in the response(A workaround for courier-imap).
2565 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2567 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2570 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2572 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2575 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2577 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2580 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2582 (elmo-msgdb-message-match-condition): Follow the change above.
2584 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2586 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2589 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2591 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2593 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2595 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2597 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2599 * elmo-file.el (elmo-file-find): Fixed the problem when file is
2602 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2604 * elmo-file.el (elmo-file-find): Use expand-file-name for return
2606 (elmo-file-command-argument): Undo last change for cygwin.
2607 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2609 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2611 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2613 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2614 value returned from elmo-file-find is nil.
2616 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2618 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2621 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2622 instead of insert-file-contents-as-binary.
2623 (elmo-message-set-field): New generic function.
2625 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2626 behavior change on `split-string'.
2628 * elmo-file.el (elmo-file-find): New function.
2629 (elmo-file-command): New user option.
2630 (elmo-file-command-argument): Ditto.
2631 (elmo-file-fetch-max-size): Ditto.
2632 (elmo-file-detect-format): New function.
2633 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2634 Use elmo-file-detect-format.
2635 (elmo-map-folder-list-message-locations): Don't treat directories.
2637 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2639 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2640 (elmo-passwd-alist-clear): Shred password before clear.
2641 (elmo-remove-passwd): Remove all mached pair.
2643 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2645 * elmo.el (elmo-folder-synchronize): Fix description of the return
2648 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2650 * elmo.el (elmo-message-fetch-bodystructure): New method.
2651 (elmo-message-fetch-bodystructure): Define default.
2653 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2654 elmo-message-fetch-bodystructure.
2655 (elmo-message-fetch-bodystructure): Define.
2657 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2659 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2661 * elmo-filter.el (elmo-message-folder): Define.
2663 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2665 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2666 elmo-delete-cr-buffer.
2668 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2670 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2672 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2674 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2675 type seems to be a text.
2677 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2679 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2680 (elmo-spam-register-good-buffer): Ditto.
2681 (elmo-spam-spamassassin-register-messages): Ditto.
2683 * elmo-util.el (elmo-string-member-ignore-case): Define with
2686 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2688 * elmo.el (elmo-folder-type): Undo last change.
2690 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2692 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2695 * elmo-file.el: New file.
2697 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2699 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2701 (elmo-spam-spamassassin-register-messages): New inline function.
2702 (elmo-spam-register-spam-messages): Define.
2703 (elmo-spam-register-good-messages): Ditto.
2705 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2708 * elmo.el (toplevel): Added autoload setting for
2709 `elmo-get-global-flags'.
2710 (elmo-message-has-global-flag-p): New function.
2711 (elmo-message-set-global-flags): Ditto.
2712 (elmo-folder-type): Improvement for name: format.
2714 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2715 availability of keyword flags.
2716 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2717 (elmo-folder-list-flagged-plugged): Renamed from
2718 elmo-folder-list-flagged-unplugged.
2719 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2720 accept any flag as keyword flag.
2721 (elmo-folder-set-flag-plugged): Accept keyword flags.
2722 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2724 * elmo-flag.el (elmo-get-global-flags): New function.
2726 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2729 * elmo-version.el (elmo-version): Up to 2.11.24.
2731 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2733 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2734 elmo-multiple-field-body instead of std11-field-body to check all
2737 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2739 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2742 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2744 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2745 unintern is unbound.
2747 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2749 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2750 Protect from infinite loop.
2752 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2754 * elsp-bogofilter.el
2755 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2756 (elmo-spam-bogofilter-register-messages): New internal function.
2757 (elmo-spam-register-spam-messages): Define.
2758 (elmo-spam-register-good-messages): Ditto.
2760 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2762 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2763 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2764 (elmo-spam-bogofilter-call): Fixed the last change.
2765 (elmo-spam-bogofilter-arguments): Ditto.
2767 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2768 Follow the options change of latest bogofilter.
2770 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2771 (elmo-spam-bogofilter-good-switch): Ditto.
2772 (elmo-spam-bogofilter-arguments-alist): New user option.
2773 (elmo-spam-bogofilter-debug): Ditto.
2774 (elmo-spam-bogofilter-call): Renamed from
2775 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2776 is non-nil, insert output in buffer for debug.
2777 (elmo-spam-bogofilter-arguments): New macro.
2778 (elmo-spam-buffer-spam-p): Use it.
2779 (elsp-bogofilter-register-buffer): Ditto.
2781 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2783 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2786 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2788 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2790 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2791 (elmo-spam-bsfilter-program): Set default value as full path for
2793 (elmo-spam-bsfilter-debug): New user option.
2794 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2795 non-nil, insert output in buffer for debug. Fix treating of
2798 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2800 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2801 `elmo-maildir-flag-specs' element instead of one.
2802 (elmo-map-folder-unset-flag): Ditto.
2803 (Reported by Ken Makimura <macky@astem.or.jp>)
2805 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2806 (elmo-folder-unset-flag-plugged): Ditto.
2808 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2810 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2811 to `reads' slot only if `in-msgdb' is nil.
2813 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2815 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2816 and complement argument list.
2818 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2820 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2821 instead of elmo-folder-list-flagged.
2823 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2825 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2827 * elsp-bsfilter.el: New file.
2829 * elmo-pipe.el (elmo-folder-list-unreads,
2830 elmo-folder-list-answereds,
2831 elmo-folder-list-importants,
2832 elmo-folder-flag-as-important,
2833 elmo-folder-unflag-important,
2834 elmo-folder-flag-as-read,
2835 elmo-folder-unflag-read,
2836 elmo-folder-flag-as-answered,
2837 elmo-folder-unflag-answered): Remove.
2838 (elmo-folder-set-flag): Define.
2839 (elmo-folder-unset-flag): Ditto.
2841 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2842 (elmo-folder-set-flag): Define.
2843 (elmo-folder-unset-flag): Ditto.
2844 (elmo-folder-list-unreads): Remove.
2845 (elmo-folder-list-flagged): Define.
2847 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2848 (elmo-folder-list-unreads,
2849 elmo-folder-list-importants,
2850 elmo-folder-list-answereds,
2851 elmo-folder-list-unreads-plugged,
2852 elmo-folder-list-importants-plugged,
2853 elmo-folder-list-answereds-plugged): Remove.
2854 (elmo-folder-list-flagged-plugged): New method.
2855 (elmo-folder-unflag-important,
2856 elmo-folder-flag-as-important,
2857 elmo-folder-unflag-read,
2858 elmo-folder-flag-as-read,
2859 elmo-folder-unflag-answered,
2860 elmo-folder-flag-as-answered,
2861 elmo-folder-flag-as-read-unplugged,
2862 elmo-folder-unflag-read-unplugged,
2863 elmo-folder-flag-as-important-unplugged,
2864 elmo-folder-unflag-important-unplugged,
2865 elmo-folder-flag-as-answered-unplugged,
2866 elmo-folder-unflag-answered-unplugged): Remove.
2867 (elmo-folder-set-flag): Define.
2868 (elmo-folder-unset-flag): Ditto.
2869 (elmo-folder-set-flag-unplugged): Ditto.
2870 (elmo-folder-unset-flag-unplugged): Ditto.
2872 * elmo-multi.el (elmo-folder-list-unreads,
2873 elmo-folder-list-answereds,
2874 elmo-folder-list-importants,
2875 elmo-folder-flag-as-important,
2876 elmo-folder-unflag-important,
2877 elmo-folder-flag-as-read,
2878 elmo-folder-unflag-read,
2879 elmo-folder-flag-as-answered,
2880 elmo-folder-unflag-answered): Remove.
2881 (elmo-folder-set-flag): Define.
2882 (elmo-folder-unset-flag): Ditto.
2884 * elmo-map.el (elmo-map-folder-unflag-important,
2885 elmo-map-folder-flag-as-important,
2886 elmo-map-folder-unflag-read,
2887 elmo-map-folder-flag-as-read,
2888 elmo-map-folder-unflag-answered,
2889 elmo-map-folder-flag-as-answered): Remove.
2890 (elmo-map-folder-set-flag): New method.
2891 (elmo-map-folder-unset-flag): Ditto.
2892 (elmo-map-folder-list-unreads,
2893 elmo-map-folder-list-importants,
2894 elmo-map-folder-list-answereds): Remove.
2895 (elmo-folder-list-flagged-internal): Define.
2896 (elmo-map-folder-list-flagged): New method.
2898 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2899 (elmo-map-folder-list-unreads,
2900 elmo-map-folder-list-importants,
2901 elmo-map-folder-list-flagged): Remove.
2902 (elmo-map-folder-list-flagged): Define.
2903 (elmo-map-folder-flag-as-important,
2904 elmo-map-folder-unflag-important,
2905 elmo-map-folder-flag-as-read,
2906 elmo-map-folder-unflag-read,
2907 elmo-map-folder-flag-as-answered,
2908 elmo-map-folder-unflag-answered): Remove.
2909 (elmo-maildir-set-mark-messages): New internal function.
2910 (elmo-map-folder-set-flag): Define.
2911 (elmo-map-folder-unset-flag): Ditto.
2913 * elmo.el (toplevel): Added autoload setting for
2914 `elmo-folder-list-global-flag-messages'.
2915 (elmo-folder-list-unreads,
2916 elmo-folder-list-importants,
2917 elmo-folder-list-answereds): Remove.
2918 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2919 Return a list whitch merged with messages have global flag.
2920 (elmo-folder-list-flagged-internal): New method.
2921 (elmo-folder-unflag-important,
2922 elmo-folder-flag-as-important,
2923 elmo-folder-unflag-read,
2924 elmo-folder-flag-as-read,
2925 elmo-folder-unflag-answered,
2926 elmo-folder-flag-as-answered): Remove.
2927 (elmo-folder-set-flag): New method.
2928 (elmo-folder-unset-flag): Ditto.
2929 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2930 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2932 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2933 (elmo-folder-list-unreads-plugged,
2934 elmo-folder-list-importants-plugged,
2935 elmo-folder-list-answereds-plugged,
2936 elmo-folder-list-flagged-unplugged,
2937 elmo-folder-unflag-important-plugged,
2938 elmo-folder-flag-as-important-plugged,
2939 elmo-folder-unflag-read-plugged,
2940 elmo-folder-flag-as-read-plugged,
2941 elmo-folder-unflag-answered-plugged,
2942 elmo-folder-flag-as-answered-plugged): Remove.
2943 (elmo-folder-set-flag-plugged,
2944 elmo-folder-unset-flag-plugged): Define.
2946 * elmo-flag.el (elmo-folder-initialize): Register to
2947 `elmo-global-flag-list' if flag is not global.
2948 (elmo-folder-append-messages): Set flag to source messages.
2950 * elmo-filter.el (elmo-filter-folder-list-unreads,
2951 elmo-folder-list-unreads,
2952 elmo-filter-folder-list-importants,
2953 elmo-folder-list-importants,
2954 elmo-folder-flag-as-read,
2955 elmo-folder-unflag-read,
2956 elmo-folder-flag-as-important,
2957 elmo-folder-unflag-important,
2958 elmo-folder-flag-as-answered,
2959 elmo-folder-unflag-answered): Remove.
2960 (elmo-folder-set-flag): Define.
2961 (elmo-folder-unset-flag): Ditto.
2963 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2964 elmo-folder-unflag-read-dop,
2965 elmo-folder-flag-as-important-dop,
2966 elmo-folder-unflag-important-dop,
2967 elmo-folder-flag-as-answered-dop,
2968 elmo-folder-unflag-answered-dop): Remove.
2969 (elmo-folder-set-flag-dop,
2970 elmo-folder-unset-flag-dop,
2971 elmo-folder-set-important-delayed,
2972 elmo-folder-unset-important-delayed,
2973 elmo-folder-set-read-delayed,
2974 elmo-folder-unset-read-delayed,
2975 elmo-folder-set-answered-delayed,
2976 elmo-folder-unset-answered-delayed): New function.
2977 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2978 (elmo-dop-queue-method-name-alist): Ditto.
2980 * elmo-version.el (elmo-version): Up to 2.11.23.
2982 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2984 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2986 * elsp-sa.el: New file.
2988 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2990 * modb-standard.el (modb-standard-message-entity): New function.
2991 (elmo-msgdb-message-entity): Use it.
2993 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2995 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2996 behavior when one-level is nil.
2998 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
3000 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
3002 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3004 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
3006 (elmo-generic-folder-diff): Ditto.
3008 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
3009 (elmo-folder-update-number): Ditto.
3011 * elmo-dop.el (elmo-folder-status-dop): Ditto.
3012 (elmo-folder-next-message-number-dop): Ditto.
3014 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3016 * elmo-filter.el (elmo-folder-msgdb-create): Use
3017 `elmo-message-entity' and `elmo-message-flags' instead of
3018 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
3020 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3022 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
3025 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3027 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
3029 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
3031 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
3033 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3035 * elmo-version.el (elmo-version): Up to 2.11.22.
3037 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3039 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
3041 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3043 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
3044 if the message dose not exist.
3046 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
3048 * elmo-version.el (elmo-version): Up to 2.11.21.
3050 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3052 * modb-standard.el (toplevel): Don't require mime.
3054 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3056 * elsp-bogofilter.el (toplevel): Don't require path-util.
3057 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
3058 (elmo-spam-bogofilter-header): Abolish.
3059 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
3060 (elmo-spam-bogofilter-args): New user option.
3061 (elsp-bogofilter-call-bogofilter): New internal function.
3062 (elmo-spam-buffer-spam-p): Use it.
3063 (elsp-bogofilter-register-buffer): Renamed from
3064 `elmo-spam-bogofilter-register-buffer';
3065 Use `elsp-bogofilter-call-bogofilter'.
3066 (elmo-spam-register-spam-buffer): Follow the change above.
3067 (elmo-spam-register-good-buffer): Ditto.
3069 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3071 * modb-standard.el (elmo-msgdb-append-entity): If entity or
3072 message-id is nil do nothing.
3074 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
3076 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
3078 (elmo-imap4-session): Removed use-flag slot.
3079 (elmo-imap4-session-select-mailbox): Undo last change.
3080 (elmo-folder-use-flag-p): Use
3081 elmo-imap4-disuse-server-flag-mailbox-regexp.
3083 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
3085 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
3086 (elmo-imap4-session-select-mailbox): Set it up.
3087 (elmo-folder-use-flag-p): Return value of use-flag slot.
3089 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3091 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
3093 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
3095 * modb-entity.el (elmo-message-entity-handler): Likewise.
3097 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
3099 * elmo.el (toplevel): Remove setting of autoloding for
3100 elmo-global-flag-initialize.
3101 (elmo-init): Don't call elmo-global-flag-initialize.
3102 (toplevel): Added autoload setting for elmo-global-mark-migrate.
3104 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
3105 (elmo-global-mark-migrate): Don't call it.
3106 (elmo-global-mark-upgrade): Ditto.
3108 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
3110 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
3111 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
3113 * elmo-vars.el (elmo-init-hook): New user option.
3115 * elmo.el (elmo-init): Run the elmo-init-hook.
3117 * elmo-flag.el (elmo-global-mark-migrate): New function.
3119 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3121 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
3122 Undo last change (move to elmo-msgdb-unset-flag).
3123 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
3126 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
3128 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
3130 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
3131 (elmo-msgdb-unset-flag): Ditto.
3133 2003-11-05 Andreas Fuchs <asf@boinkor.net>
3135 * elmo-split.el (elmo-split): Return split message count.
3137 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3139 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
3142 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3144 * elmo.el (elmo-folder-unflag-important): Call
3145 `elmo-global-flag-detach' with 4th argument delete-if-none that is
3148 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
3150 (elmo-global-flag-detach): Delete the message from flag folder, if
3151 `delete-if-none' is a symbol `always'.
3153 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3155 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
3156 `elmo-spam-spamfilter-decode-buffer'.
3157 (elsp-spamfilter-register-buffer-internal): New internal function.
3158 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
3159 (elmo-spam-register-spam-buffer): Ditto.
3160 (elmo-spam-register-good-buffer): Ditto.
3162 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
3164 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
3165 (elmo-spam-register-spam-buffer): Follow the API change.
3166 (elmo-spam-register-good-buffer): Ditto.
3168 * elmo-split.el (toplevel): Require elmo-spam when copmile.
3169 (elmo-split-spam-p): Added argument plist; Call
3170 `elmo-spam-buffer-spam-p' with new argument register.
3172 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
3174 (elmo-spam-message-spam-p): Ditto.
3175 (elmo-spam-register-spam-buffer): Added optional argument
3177 (elmo-spam-register-good-buffer): Ditto.
3178 (elmo-spam-register-spam-messages): Ditto.
3179 (elmo-spam-register-good-messages): Ditto.
3181 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3183 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
3184 register into good corpus.
3185 (elmo-spam-register-good-buffer): Fixed to register into bad
3188 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3190 * elmo-version.el (elmo-version): Up to 2.11.20.
3192 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
3195 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
3196 flag without depending on \Recent flag.
3198 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3200 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
3201 (elmo-spam-modified-p): Defined.
3202 (elmo-spam-save-status): Set `modified' slot to nil.
3203 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
3204 (elmo-spam-register-good-buffer): Ditto.
3206 * elmo-spam.el (elmo-spam-modified-p): New API.
3208 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3210 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
3211 duplicate definition.
3213 * elmo-util.el (elmo-unfold-field-body): New function.
3214 (elmo-msgdb-get-message-id-from-buffer): Use it.
3216 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3217 Fixed the last change; Use elmo-unfold-field-body.
3219 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3221 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
3224 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3226 * elmo-spam.el (elmo-spam-save-status): New API.
3228 * elsp-spamfilter.el: New file.
3230 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
3232 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3234 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3236 * elmo-split.el (elmo-split-spam-p): New function.
3238 * elmo-spam.el: New file.
3240 * elsp-bogofilter.el: Ditto.
3242 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
3244 * elmo.el (elmo-folder-next-message-number): New API.
3245 (elmo-folder-next-message-number): Define.
3246 (elmo-message-field): Don't check folder length.
3248 * elmo-net.el (elmo-folder-next-message-number): Define.
3249 (elmo-folder-next-message-number-unplugged): Define.
3251 * elmo-map.el (elmo-folder-next-message-number): Define.
3252 (elmo-folder-delete-messages): Clear hash value.
3254 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3256 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3257 (elmo-folder-delete-messages-dop-delayed): Always return t.
3259 * elmo-version.el (elmo-version): Up to 2.11.19.
3261 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3263 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3266 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3267 identical cons cell into the mark-alist and the hash table.
3269 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
3271 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3272 elmo-folder-list-messages with argument `visible-only' as t.
3274 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3275 (elmo-folder-msgdb-create): Check the target folder.
3277 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
3279 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3280 `permanentflag' instead of `flags'.
3281 (elmo-folder-open): Ditto.
3282 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3283 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3284 (elmo-folder-use-flag-p): Always return t.
3285 (elmo-imap4-session-select-mailbox): Use value of `flags' if
3286 `permanentflags' does not exist.
3287 (elmo-folder-open): Ditto.
3289 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
3291 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3293 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3295 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3296 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3298 (elmo-folder-open): Ditto.
3299 (elmo-imap4-set-flag): Send store flag command only when the `flags'
3300 slot of the session includes the flag.
3301 (elmo-imap4-session-flag-available-p): New function.
3302 (elmo-imap4-folder-list-flagged): Ditto.
3303 (elmo-folder-list-unreads-plugged): Use it.
3304 (elmo-folder-list-importants-plugged): Ditto.
3305 (elmo-folder-list-answereds-plugged): Ditto.
3306 (elmo-imap4-search-internal-primitive): Ditto.
3307 (elmo-imap4-folder-list-any-plugged,
3308 elmo-imap4-folder-list-digest-plugged): Abolish.
3310 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3313 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3315 * elmo-util.el (toplevel): Require emu for char-list-to-string.
3317 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
3319 * elmo-util.el (elmo-get-hash-val): Simplify.
3320 (elmo-set-hash-val): Rewrite.
3322 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3324 * elmo.el (elmo-folder-list-messages): Append killed messages into
3325 result if `visible-only' is nil and `in-msgdb' is non-nil.
3327 * elmo-util.el (elmo-uniq-list): Added optional argument
3330 * modb.el (elmo-msgdb-flag-count): New API.
3332 * modb-standard.el (modb-standard): Added slot flag-count.
3333 (modb-standard-countup-flags): New function.
3334 (modb-standard-load-flag): Call it.
3335 (elmo-msgdb-append): Ditto.
3336 (elmo-msgdb-clear): Clear slot flag-count.
3337 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3338 (elmo-msgdb-unset-flag): Treat `all' flag and call
3339 modb-standard-countup-flags.
3340 (elmo-msgdb-flag-count): Define.
3341 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3342 (elmo-msgdb-delete-messages): Ditto.
3344 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3345 (elmo-msgdb-flag-count): Define.
3347 * elmo.el (elmo-folder-list-messages): Undo last change.
3348 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3349 (elmo-folder-kill-messages): Unset all flags to numbers.
3351 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3352 elmo-folder-kill-messages.
3354 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3355 (elmo-nntp-folder-delete-messages): Abolish.
3357 * elmo-version.el (elmo-version): Up to 2.11.18.
3359 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3361 * elmo.el (elmo-folder-kill-messages-before): Abolish.
3362 (elmo-folder-kill-messages-range): New function.
3363 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3364 instead of elmo-folder-kill-messages-before.
3366 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
3368 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3369 elmo-imap4-current-msgdb to decide entity handler.
3371 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3373 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3375 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3377 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3378 (elmo-msgdb-overview-entity-set-number,
3379 elmo-msgdb-overview-entity-get-references,
3380 elmo-msgdb-overview-entity-set-references,
3381 elmo-msgdb-overview-entity-get-from-no-decode,
3382 elmo-msgdb-overview-entity-get-from,
3383 elmo-msgdb-overview-entity-set-from,
3384 elmo-msgdb-overview-entity-get-subject,
3385 elmo-msgdb-overview-entity-get-subject-no-decode,
3386 elmo-msgdb-overview-entity-set-subject,
3387 elmo-msgdb-overview-entity-get-date,
3388 elmo-msgdb-overview-entity-set-date,
3389 elmo-msgdb-overview-entity-get-to,
3390 elmo-msgdb-overview-entity-get-cc,
3391 elmo-msgdb-overview-entity-get-size,
3392 elmo-msgdb-overview-entity-set-size,
3393 elmo-msgdb-overview-entity-get-extra,
3394 elmo-msgdb-overview-entity-set-extra,
3395 elmo-msgdb-overview-entity-get-extra-field,
3396 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3397 (elmo-msgdb-make-index): Use
3398 `elmo-msgdb-overview-entity-get-number-internal'.
3399 (elmo-msgdb-clear-index): Ditto.
3400 (elmo-msgdb-append-entity): Ditto;
3401 Use `elmo-msgdb-overview-entity-get-id-internal'.
3403 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3404 elmo-msgdb-overview-entity-set-number,
3405 elmo-msgdb-overview-entity-get-references,
3406 elmo-msgdb-overview-entity-set-references,
3407 elmo-msgdb-overview-entity-get-from-no-decode,
3408 elmo-msgdb-overview-entity-get-from,
3409 elmo-msgdb-overview-entity-set-from,
3410 elmo-msgdb-overview-entity-get-subject,
3411 elmo-msgdb-overview-entity-get-subject-no-decode,
3412 elmo-msgdb-overview-entity-set-subject,
3413 elmo-msgdb-overview-entity-get-date,
3414 elmo-msgdb-overview-entity-set-date,
3415 elmo-msgdb-overview-entity-get-to,
3416 elmo-msgdb-overview-entity-get-cc,
3417 elmo-msgdb-overview-entity-get-size,
3418 elmo-msgdb-overview-entity-set-size,
3419 elmo-msgdb-overview-entity-get-extra,
3420 elmo-msgdb-overview-entity-set-extra,
3421 elmo-msgdb-overview-entity-get-extra-field,
3422 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3423 and rewrote for backward compatibility.
3425 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3427 * elmo.el (elmo-message-entity-number,
3428 elmo-message-entity-set-number,
3429 elmo-message-entity-field,
3430 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3432 * elmo-msgdb.el (elmo-message-entity-number,
3433 elmo-message-entity-set-number,
3434 elmo-message-entity-field,
3435 elmo-message-entity-set-field): Moved from elmo.el.
3437 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3439 * elmo.el (toplevel): Changed definition orders.
3441 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3443 * modb.el (elmo-msgdb-search): New API .
3444 (elmo-msgdb-match-condition): Ditto.
3446 * modb-standard.el (elmo-msgdb-search): Define.
3448 * modb-legacy.el (elmo-msgdb-search): Ditto.
3450 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3451 from elmo-msgdb-match-condition-internal.
3453 * elmo.el (elmo-folder-search-fast): Abolish.
3454 (elmo-folder-search): Use elmo-msgdb-search and
3455 elmo-with-progress-display.
3457 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3460 * elmo.el (elmo-folder): Remove slot message-modified and
3462 (elmo-folder-set-message-modified): Abolish.
3463 (elmo-generic-folder-commit): Follow the change above.
3464 (elmo-folder-synchronize): Ditto.
3466 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3468 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3470 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3472 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3474 * modb-standard.el (modb-standard-make-message-entity,
3475 elmo-msgdb-make-message-entity,
3476 elmo-msgdb-create-message-entity-from-buffer,
3477 elmo-msgdb-message-entity-number,
3478 elmo-msgdb-message-entity-set-number,
3479 elmo-msgdb-message-entity-field,
3480 elmo-msgdb-message-entity-set-field,
3481 elmo-msgdb-copy-message-entity,
3482 elmo-msgdb-match-condition-internal): Remove.
3484 * modb-entity.el: New file (again).
3486 * modb.el (toplevel): Require modb-entity.
3487 (elmo-msgdb-message-entity-handler): New method.
3489 * modb-standard.el (modb-standard-entity-id): Use
3490 elmo-message-entity-handler.
3491 (modb-standard-load-entity): Ditto.
3492 (elmo-msgdb-append-entity): Ditto.
3493 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3495 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3496 elmo-msgdb-decoded-cache-hashtb,
3497 (modb-legacy-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,
3506 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3508 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3509 (elmo-message-entity-set-number): Ditto.
3510 (elmo-message-entity-field): Ditto.
3511 (elmo-message-entity-set-field): Ditto.
3513 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3515 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3517 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3519 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3520 (elmo-nntp-msgdb-create-message): Ditto.
3522 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3523 (elmo-folder-msgdb-create): Add unread flag.
3525 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3527 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3529 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3531 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3533 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3534 elmo-msgdb-messge-entity-handler.
3535 * elmo-version.el (elmo-version): Up to 2.11.17.
3537 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3539 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3542 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3544 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3546 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3547 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3548 (elmo-msgdb-flag-table): Ditto.
3549 (elmo-msgdb-sort-by-date): Ditto.
3551 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3553 * modb-standard.el (toplevel): Require mime.
3554 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3555 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3556 elmo-msgdb-message-entity-number.
3557 (elmo-msgdb-append-entity): Ditto.
3558 (elmo-msgdb-create-message-entity-from-file): Remove.
3559 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3560 corresponds to the entity.
3561 (elmo-msgdb-message-entity-number): Do nothing currently.
3562 (elmo-msgdb-message-entity-field): Ditto.
3563 (elmo-msgdb-message-entity-set-field): Ditto.
3564 (elmo-msgdb-copy-message-entity): Ditto.
3565 (elmo-msgdb-match-condition-internal): Ditto.
3567 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3569 (elmo-msgdb-create-message-entity-from-file): Remove.
3571 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3573 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3575 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3577 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3579 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3580 (elmo-msgdb-message-entity-field): Ditto.
3581 (elmo-msgdb-message-entity-number): Ditto.
3583 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3585 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3586 Fixed how to set extra field into entity.
3587 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3590 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3591 Fixed how to set extra field into entity.
3592 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3595 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3597 * modb.el (elmo-message-entity-db): New function.
3598 (elmo-msgdb-make-message-entity): New API.
3599 (elmo-msgdb-message-entity-number): Ditto.
3600 (elmo-msgdb-message-entity-set-number): Ditto.
3601 (elmo-msgdb-message-entity-field): Ditto.
3602 (elmo-msgdb-message-entity-set-field): Ditto.
3603 (elmo-msgdb-copy-message-entity): Ditto.
3604 (elmo-msgdb-create-message-entity-from-file): Ditto.
3605 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3606 (elmo-msgdb-match-condition-internal): Ditto.
3608 * modb-standard.el (modb-legacy): Require modb-legacy.
3609 (modb-standard-make-message-entity): New inline function.
3610 (elmo-msgdb-make-message-entity): Define.
3611 (elmo-msgdb-create-message-entity-from-file): Ditto.
3612 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3613 (elmo-msgdb-message-entity-field): Ditto.
3614 (elmo-msgdb-message-entity-set-field): Ditto.
3615 (elmo-msgdb-copy-message-entity): Ditto.
3616 (elmo-msgdb-match-condition-internal): Ditto.
3618 * modb-legacy.el: Don't require modb-entity.
3619 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3620 (elmo-msgdb-match-condition-primitive): Ditto.
3621 (elmo-msgdb-get-decoded-cache): Ditto.
3622 (elmo-msgdb-overview-entity-get-id): Ditto.
3623 (elmo-msgdb-overview-entity-get-number): Ditto.
3624 (elmo-msgdb-overview-entity-set-number): Ditto.
3625 (elmo-msgdb-overview-entity-get-references): Ditto.
3626 (elmo-msgdb-overview-entity-set-references): Ditto.
3627 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3628 (elmo-msgdb-overview-entity-get-from): Ditto.
3629 (elmo-msgdb-overview-entity-set-from): Ditto.
3630 (elmo-msgdb-overview-entity-get-subject): Ditto.
3631 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3632 (elmo-msgdb-overview-entity-set-subject): Ditto.
3633 (elmo-msgdb-overview-entity-get-date): Ditto.
3634 (elmo-msgdb-overview-entity-set-date): Ditto.
3635 (elmo-msgdb-overview-entity-get-to): Ditto.
3636 (elmo-msgdb-overview-entity-get-cc): Ditto.
3637 (elmo-msgdb-overview-entity-get-size): Ditto.
3638 (elmo-msgdb-overview-entity-set-size): Ditto.
3639 (elmo-msgdb-overview-entity-get-extra): Ditto.
3640 (elmo-msgdb-overview-entity-set-extra): Ditto.
3641 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3642 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3643 (elmo-msgdb-number-load): Ditto.
3644 (elmo-msgdb-overview-load): Ditto.
3645 (elmo-msgdb-mark-load): Ditto.
3646 (elmo-msgdb-number-save): Ditto.
3647 (elmo-msgdb-mark-save): Ditto.
3648 (elmo-msgdb-overview-save): Ditto.
3649 (modb-legacy-make-message-entity): New inline function.
3650 (elmo-msgdb-insert-file-header): Ditto.
3651 (elmo-msgdb-make-message-entity): Define.
3652 (elmo-msgdb-create-message-entity-from-file): Ditto.
3653 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3654 (elmo-msgdb-message-entity-number): Ditto.
3655 (elmo-msgdb-message-entity-set-number): Ditto.
3656 (elmo-msgdb-message-entity-field): Ditto.
3657 (elmo-msgdb-message-entity-set-field): Ditto.
3658 (elmo-msgdb-copy-message-entity): Ditto.
3659 (elmo-msgdb-match-condition-internal): Ditto.
3661 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3662 (elmo-message-copy-entity): Rewrite.
3663 (elmo-message-entity-number): Ditto.
3664 (elmo-message-entity-set-number): Ditto.
3665 (elmo-message-entity-field): Use elmo-message-entity-db.
3666 (elmo-message-entity-set-field): Ditto.
3667 (elmo-message-field): Rewrite.
3669 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3671 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3673 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3674 elmo-message-entity-field.
3675 (elmo-shimbun-folder-shimbun-header): Ditto.
3676 (elmo-shimbun-entity-to-header): Ditto.
3677 (elmo-folder-msgdb-create): Ditto.
3678 (elmo-shimbun-msgdb-create-entity): Ditto;
3679 Use elmo-msgdb-create-message-entity-from-buffer.
3680 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3681 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3683 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3684 elmo-msgdb-create-message-entity-from-file and
3685 elmo-message-entity-field.
3687 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3688 elmo-message-entity-number.
3689 (elmo-pop3-msgdb-create-message): Use
3690 elmo-msgdb-create-message-entity-from-buffer,
3691 elmo-message-entity-set-field, elmo-message-entity-number and
3692 elmo-message-entity-set-number.
3694 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3695 the API change in elmo-msgdb-make-message-entity.
3696 (elmo-nntp-msgdb-create-message): Use
3697 elmo-msgdb-create-message-entity-from-buffer.
3699 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3700 elmo-message-entity-field and
3701 elmo-msgdb-create-message-entity-from-file.
3703 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3704 (elmo-msgdb-get-field): Abolish.
3705 (elmo-msgdb-get-number): Rewrite.
3706 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3707 (elmo-msgdb-flag-table): Ditto.
3708 (elmo-msgdb-get-last-message-id,
3709 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3710 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3711 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3712 (elmo-msgdb-create-overview-from-buffer,
3713 elmo-msgdb-overview-get-parent-entity): Abolish.
3715 * elmo-mime.el (elmo-mime-display-as-is): Use
3716 elmo-message-entity-field.
3718 * elmo-map.el (elmo-folder-pack-numbers): Use
3719 elmo-message-entity-set-number.
3721 * elmo-maildir.el (elmo-folder-msgdb-create):
3722 elmo-msgdb-create-message-entity-from-file instead of
3723 elmo-msgdb-create-overview-entity-from-file.
3725 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3727 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3728 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3730 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3731 elmo-messge-entity-field and elmo-message-entity-number.
3732 (elmo-imap4-fetch-callback-1): Call
3733 elmo-msgdb-create-message-entity-from-buffer instead of
3734 elmo-msgdb-create-overview-from-buffer.
3735 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3736 (elmo-find-fetch-strategy): Likewise.
3738 * elmo-flag.el (elmo-folder-msgdb-create): Call
3739 elmo-localdir-msgdb-create-entity with argument msgdb.
3741 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3742 and elmo-message-entity-set-number.
3744 * elmo-cache.el (elmo-folder-msgdb-create): Use
3745 elmo-message-entity-field.
3746 (elmo-folder-msgdb-create): Call
3747 elmo-msgdb-create-message-entity-from-file instead of
3748 elmo-msgdb-create-overview-entity-from-file.
3750 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3751 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3752 instead of elmo-msgdb-create-overview-from-buffer.
3753 (elmo-archive-msgdb-create-entity): Ditto.
3754 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3755 elmo-message-entity-field.
3756 (elmo-archive-parse-mmdf): Ditto.
3758 * modb-entity.el: Removed.
3760 * elmo-version.el (elmo-version): Up to 2.11.16.
3762 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3764 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3766 (elmo-folder-flag-as-answered): Ditto.
3768 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3770 * modb-standard.el: New file.
3772 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3773 elmo-msgdb-convert-type is `sync'.
3775 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3776 (elmo-msgdb-convert-type): New user option.
3778 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3779 (elmo-load-msgdb): Auto detect saved type.
3781 * elmo-version.el (elmo-version): Up to 2.11.15.
3783 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3785 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3787 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3788 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3789 with argument `delete-if-none' when dst-folder is 'null.
3791 * elmo-flag.el (elmo-folder-append-messages): Defined.
3792 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3794 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3796 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3798 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3800 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3801 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3802 (elmo-folder-commit): Ditto.
3804 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3806 * elmo-flag.el: New file.
3808 * elmo-mark.el: Removed.
3810 * modb-legacy.el (modb-legacy-new-mark,
3811 modb-legacy-unread-uncached-mark,
3812 modb-legacy-unread-cached-mark,
3813 modb-legacy-read-uncached-mark,
3814 modb-legacy-answered-cached-mark,
3815 modb-legacy-answered-uncached-mark,
3816 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3817 All other related portions are changed.
3819 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3820 (elmo-folder-list-messages-with-global-mark): Abolish.
3821 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3822 (elmo-folder-flag-as-important): Ditto.
3823 (elmo-folder-unflag-read): Ditto.
3824 (elmo-folder-flag-as-read): Ditto.
3825 (elmo-folder-unflag-answered): Ditto.
3826 (elmo-folder-flag-as-answered): Ditto.
3827 (elmo-message-encache): Return the cache path.
3828 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3829 (elmo-message-set-flag): Transitional implementation.
3830 (elmo-message-unset-flag): Ditto.
3831 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3832 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3833 (elmo-init): Call elmo-global-flag-initialize.
3834 (toplevel): Added autoload settings for elmo-flag.
3836 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3838 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3839 (elmo-file-cache-delete): Don't treat global-mark.
3841 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3843 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3845 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3846 `elmo-global-flags-set'.
3848 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3850 (elmo-folder-unflag-read): Ditto.
3851 (elmo-folder-unflag-important): Ditto.
3852 (elmo-folder-flag-as-important): Ditto.
3853 (elmo-folder-unflag-answered): Ditto.
3854 (elmo-folder-flag-as-answered): Ditto.
3856 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3857 `elmo-global-flags-set'.
3858 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3860 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3862 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3864 (elmo-folder-flag-as-important): Ditto.
3865 (elmo-folder-unflag-important): Ditto.
3866 (elmo-folder-flag-as-important): Ditto.
3867 (elmo-folder-unflag-read): Ditto.
3868 (elmo-folder-flag-as-read): Ditto.
3869 (elmo-folder-unflag-answered): Ditto.
3870 (elmo-folder-flag-as-answered): Ditto.
3872 * elmo-multi.el (elmo-folder-list-importants): Don't call
3873 elmo-folder-list-messages-with-global-mark.
3874 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3875 (elmo-folder-unflag-important): Ditto.
3876 (elmo-folder-flag-as-read): Ditto.
3877 (elmo-folder-unflag-read): Ditto.
3878 (elmo-folder-flag-as-answered): Ditto.
3879 (elmo-folder-unflag-answered): Ditto.
3881 * elmo-msgdb.el (elmo-msgdb-new-mark,
3882 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3883 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3884 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3885 (Moved to modb-legacy.el).
3886 (elmo-flag-table-get): Treat important flag too.
3888 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3890 (elmo-map-folder-flag-as-important): Ditto.
3891 (elmo-map-folder-unflag-read): Ditto.
3892 (elmo-map-folder-flag-as-read): Ditto.
3893 (elmo-map-folder-unflag-answered): Ditto.
3894 (elmo-map-folder-flag-as-answered): Ditto.
3895 (elmo-folder-unflag-important): Ditto.
3896 (elmo-folder-flag-as-important): Ditto.
3897 (elmo-folder-unflag-read): Ditto.
3898 (elmo-folder-flag-as-read): Ditto.
3899 (elmo-folder-unflag-answered): Ditto.
3900 (elmo-folder-flag-as-answered): Ditto.
3902 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3903 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3905 (elmo-map-folder-unflag-important): Ditto.
3906 (elmo-map-folder-flag-as-read): Ditto.
3907 (elmo-map-folder-unflag-read): Ditto.
3908 (elmo-map-folder-flag-as-answered): Ditto.
3909 (elmo-map-folder-unflag-answered): Ditto.
3911 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3912 `elmo-global-flags-set'.
3913 (elmo-global-flags-set): Added autoload setting.
3915 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3918 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3919 `elmo-msgdb-global-mark-set'.
3920 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3921 Call `elmo-global-flags-set'.
3922 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3924 (elmo-folder-flag-as-important-plugged): Ditto.
3925 (elmo-folder-unflag-read-plugged): Ditto.
3926 (elmo-folder-flag-as-read-plugged): Ditto.
3927 (elmo-folder-unflag-answered-plugged): Ditto.
3928 (elmo-folder-flag-as-answered-plugged): Ditto.
3929 (elmo-global-flags-set): Added autoload setting.
3931 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3933 (elmo-folder-unflag-read): Ditto.
3934 (elmo-folder-flag-as-important): Ditto.
3935 (elmo-folder-unflag-important): Ditto.
3936 (elmo-folder-flag-as-answered): Ditto.
3937 (elmo-folder-unflag-answered): Ditto.
3939 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3940 change of `mark'->`flag'.
3941 (elmo-dop-queue-method-name-alist): Ditto.
3942 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3943 (elmo-folder-unflag-read-dop): Ditto.
3944 (elmo-folder-flag-as-important-dop): Ditto.
3945 (elmo-folder-unflag-important-dop): Ditto.
3946 (elmo-folder-flag-as-answered-dop): Ditto.
3947 (elmo-folder-unflag-answered-dop): Ditto.
3949 * elmo-cache.el (elmo-folder-msgdb-create): Call
3950 `elmo-global-flags-set'.
3952 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3953 Call `elmo-global-flags-set'.
3954 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3955 elmo-archive-parse-mmdf with argument `folder'.
3956 (elmo-archive-parse-mmdf): Added argument `folder';
3957 Call `elmo-global-flags-set'.
3959 * elmo-version.el (elmo-version): Up to 2.11.14.
3961 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3963 * modb.el (elmo-msgdb-length): Define.
3965 * elmo.el (elmo-make-folder): Fixed.
3966 (elmo-generic-folder-append-messages): Follow the API change.
3968 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3971 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3973 * modb.el: New file.
3975 * modb-entity.el: Ditto.
3977 * modb-legacy.el: Ditto.
3979 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3980 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3981 of `elmo-msgdb-overview-get-entity'.
3982 (elmo-msgdb-get-field): Ditto.
3983 (elmo-msgdb-merge): Moved to `elmo.el'.
3984 (elmo-msgdb-length): Removed; redefine as modb method.
3985 (elmo-msgdb-change-mark): Abolish.
3986 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3987 (elmo-msgdb-match-condition): Don't use mark.
3988 (elmo-msgdb-overview-get-entity): Abolish.
3989 Split modb part into `modb*.el'.
3991 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3993 * elmo-shimbun.el (shimbun-mua-search-id): Use
3994 `elmo-msgdb-message-entity' instead of
3995 `elmo-msgdb-overview-get-entity'.
3996 (elmo-shimbun-folder-shimbun-header): Ditto.
3997 (elmo-shimbun-get-headers): Ditto.
3998 (elmo-shimbun-update-overview): Ditto.
4000 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
4002 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4004 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
4005 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
4007 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
4008 `elmo-msgdb-mark-to-flags'.
4010 * elmo-map.el (elmo-folder-pack-numbers): Don't use
4011 `elmo-msgdb-set-path'.
4013 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
4015 * elmo-version.el (elmo-version): Up to 2.11.13.
4017 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
4019 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
4022 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
4024 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
4027 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4029 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
4030 instead of `elmo-msgdb-get-cached'.
4031 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
4033 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
4034 (elmo-msgdb-set-cached): Ditto.
4035 (elmo-msgdb-set-flag): Rewrite.
4036 (elmo-msgdb-unset-flag): Ditto.
4038 * elmo-msgdb.el: Rewrite with luna.
4040 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
4041 (elmo-folder-msgdb): Follow the change above.
4042 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
4043 (elmo-folder-unmark-important): Follow the API change.
4044 (elmo-folder-mark-as-important): Ditto.
4045 (elmo-folder-unmark-read): Ditto.
4046 (elmo-folder-mark-as-read): Ditto.
4047 (elmo-folder-unmark-answered): Ditto.
4048 (elmo-folder-mark-as-answered): Ditto.
4049 (elmo-folder-clear): Likewise.
4051 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
4052 instead of `elmo-msgdb-load' (renamed).
4054 * elmo-version.el (elmo-version): Up to 2.11.12.
4056 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4058 * elmo.el (elmo-generic-folder-append-messages): Follow the API
4060 (elmo-message-mark): Abolish.
4061 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
4062 instead of `elmo-msgdb-change-mark'.
4064 * elmo-pipe.el (elmo-message-mark): Abolish.
4066 * elmo-multi.el (elmo-message-mark): Ditto.
4068 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
4069 (elmo-msgdb-unread-uncached-mark): Ditto.
4070 (elmo-msgdb-unread-cached-mark): Ditto.
4071 (elmo-msgdb-read-uncached-mark): Ditto.
4072 (elmo-msgdb-answered-cached-mark): Ditto.
4073 (elmo-msgdb-answered-uncached-mark): Ditto.
4074 (elmo-msgdb-important-mark): Ditto.
4075 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
4077 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
4079 (elmo-flag-table-load): Changed flag to list of flag.
4080 (elmo-flag-table-set): If flags is nil, set read flag.
4081 (elmo-flag-table-get): Return derived flags from global mark,
4082 cache status and saved flags.
4083 (elmo-msgdb-flag-table): Follow the change above.
4084 (elmo-msgdb-out-of-date-messages): New function.
4086 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
4088 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4090 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
4092 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4093 (elmo-nntp-msgdb-create-message): Ditto.
4095 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4097 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
4099 (elmo-folder-msgdb-create): Follow the API change.
4101 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4102 (elmo-folder-append-messages): Ditto.
4104 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4105 (elmo-folder-append-buffer): Ditto.
4107 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4109 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4111 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4112 (elmo-archive-parse-mmdf): Ditto.
4114 * elmo-version.el (elmo-version): Up to 2.11.11.
4116 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4118 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
4121 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
4123 * elmo-pipe.el (elmo-message-flags): Defined.
4125 * elmo-multi.el (elmo-message-flags): Ditto.
4127 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4129 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
4130 `elmo-msgdb-delete-msgs'.
4132 * elmo.el (elmo-folder-count-flags): Don't use
4133 `elmo-msgdb-get-mark-alist'.
4134 (elmo-folder-detach-messages): Follow the API change.
4136 * elmo.el (elmo-folder-list-messages): Append killed messages into
4137 result if `visible-only' is nil.
4139 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
4141 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
4142 (elmo-folder-update-number): Likewise.
4144 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
4145 (elmo-pop3-sort-msgdb-by-original-number): Use
4146 `elmo-msgdb-sort-entities'.
4148 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
4149 (elmo-msgdb-sort-by-date): Use it.
4150 (elmo-msgdb-overview-sort-by-date): Abolish.
4152 * elmo-dop.el (elmo-folder-status-dop): Fixed.
4154 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
4155 (elmo-msgdb-flags): New function.
4156 (elmo-msgdb-merge): Use elmo-msgdb-append.
4158 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
4161 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
4163 * elmo-dop.el (elmo-folder-status-dop): Use
4164 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
4166 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4168 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
4170 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
4172 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
4174 * elmo-util.el (elmo-with-progress-display): New macro.
4176 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
4178 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4180 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
4181 `elmo-folder-list-message-entities' instead of
4182 `elmo-msgdb-get-overview'.
4183 (elmo-map-folder-list-message-locations): Ditto.
4185 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
4186 methods instead of treat directly).
4187 (elmo-msgdb-clear): Ditto.
4188 (elmo-msgdb-delete-msgs): Ditto.
4189 (elmo-msgdb-sort-by-date): Ditto.
4191 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
4193 (elmo-nntp-folder-msgdb-create): Follow the API change.
4195 * elmo-version.el (elmo-version): Up to 2.11.10.
4197 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4199 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
4200 (elmo-msgdb-flags-to-mark): Ditto.
4201 (elmo-msgdb-append-entity): Ditto.
4203 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4204 Use `elmo-msgdb-append-entity' instead of construct msgdb.
4205 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4206 (elmo-archive-parse-mmdf): Ditto.
4208 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4210 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
4212 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
4214 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4216 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
4218 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4220 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4222 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4224 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
4225 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
4228 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
4229 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
4230 instead of directly construction.
4231 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4232 instead of construct msgdb.
4234 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4235 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4236 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4237 instead of construct msgdb.
4239 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4241 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4242 when field is from or subject.
4244 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
4246 * elmo-multi.el (elmo-message-entity-parent): Define.
4247 (elmo-folder-search): Rewrite.
4249 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4251 * elmo-multi.el (elmo-message-cached-p): Define.
4253 * elmo.el (elmo-message-cached-p): New method.
4254 (elmo-message-accessible-p): Use it instead of msgdb API directly.
4255 (elmo-message-flags): New method.
4256 (elmo-message-flagged-p): New function.
4258 * elmo-version.el (elmo-version): Up to 2.11.9.
4260 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4262 * elmo-version.el (elmo-version): Up to 2.11.8.
4264 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4266 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4268 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
4270 * elmo.el (elmo-folder-detach-messages): Undo last change.
4272 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
4274 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4276 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4277 only when src folder type is pop3.
4279 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
4281 * elmo-msgdb.el (elmo-msgdb-make-index): Use
4282 elmo-msgdb-overview-entity-get-number instead of
4283 elmo-message-entity-number.
4285 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4287 * elmo-version.el (elmo-version): Up to 2.11.7.
4289 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
4291 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4294 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4295 (elmo-msgdb-merge): New function.
4296 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4297 (elmo-msgdb-make-index): Rewrite.
4299 * elmo-version.el (elmo-version): Up to 2.11.6.
4301 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4302 use it as a the path for loading message entities.
4304 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4306 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
4308 * elmo-filter.el (elmo-folder-set-message-modified): Set
4309 message-modified slot of itself if it does not require target msgdb.
4311 * elmo-mime.el (elmo-mime-message-display): Display message entirely
4312 if folder length is zero.
4313 (elmo-mime-display-as-is): Ditto.
4315 * elmo-filter.el (elmo-folder-set-message-modified): Define.
4317 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4319 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4321 * elmo.el (elmo-folder-set-message-modified): New method.
4322 (elmo-generic-folder-commit): Use it.
4323 (elmo-folder-synchronize): Ditto.
4325 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4326 (elmo-folder-commit): Remove duplicate definition.
4328 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4330 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4332 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4334 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4335 (elmo-strict-folder-diff): Ditto.
4336 (elmo-folder-set-info-max-by-numdb): Simplify.
4338 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4339 elmo-msgdb-list-messages.
4341 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4342 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4344 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4346 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4347 visible-only is non-nil.
4348 (elmo-folder-confirm-appends): Changed message.
4349 (elmo-folder-synchronize): Added argument disable-killed.
4351 * elmo-multi.el (elmo-folder-synchronize): Added argument
4354 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4356 * elmo-version.el (elmo-version): Up to 2.11.5.
4358 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4361 * elmo-util.el (elmo-list-filter): Simplify.
4363 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4364 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4365 (elmo-generic-folder-diff): Abolish argument.
4366 (elmo-msgdb-load): Don't use number-alist.
4368 * elmo-filter.el (elmo-folder-diff): Abolish argument.
4370 * elmo-pipe.el (elmo-folder-diff): Ditto.
4372 * elmo-nmz.el (elmo-folder-diff): Ditto.
4374 * elmo-net.el (elmo-folder-diff): Ditto.
4376 * elmo-maildir.el (elmo-folder-diff): Ditto.
4378 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4380 * elmo-multi.el (elmo-folder-diff): Ditto
4381 (elmo-multi-folder-diff): Rewrite.
4383 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4385 * elmo-pipe.el (elmo-folder-msgdb): Define.
4387 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
4389 * elmo.el (elmo-message-set-cached): Define as a method.
4391 * elmo-pipe.el (elmo-message-set-cached): Define.
4392 (elmo-find-fetch-strategy): Ditto.
4394 * elmo-multi.el (elmo-message-set-cached): Define.
4395 (elmo-find-fetch-strategy): Rewrite.
4397 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4399 * elmo-pipe.el (elmo-message-folder): Fixed definition.
4401 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
4403 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4404 instead of number-alist.
4406 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4407 mark nor message-id when msgdb of source folder is not loaded.
4409 * elmo.el (elmo-generic-folder-append-messages): Ditto.
4411 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4413 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
4415 * elmo.el (elmo-folder-length): Don't require msgdb.
4417 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
4419 * elmo.el (elmo-message-mark): Cause an error when empty folder.
4420 (elmo-message-field): Ditto.
4422 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4423 (elmo-map-folder-list-message-locations): Setup `answered-locations'
4425 (elmo-map-folder-list-answereds): Define.
4426 (elmo-maildir-list-location): Treat 'R' info.
4427 (elmo-folder-msgdb-create): Treat flag-table.
4428 (elmo-folder-append-messages): Save flag-table.
4430 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
4432 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
4433 Use SELECT when elmo-imap4-use-select-to-update-status is t.
4435 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4437 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4439 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4440 'read when mark is null.
4442 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
4444 * elmo-version.el (elmo-version): Up to 2.11.4.
4446 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4448 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4449 (elmo-folder-mark-as-answered): Ditto.
4451 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
4453 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4454 (elmo-pop3-get-session): Make msgdb directory after session.
4455 (elmo-folder-exists-p): Check exactly at the first time even when the
4456 elmo-pop3-exists-exactly is nil.
4458 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4459 (elmo-folder-list-messages): Define instead of
4460 elmo-folder-list-messages-internal.
4461 (elmo-folder-check): Check destination folder.
4462 (elmo-folder-synchronize): Drain the pipe.
4464 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4465 when msgdb is not loaded.
4467 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4469 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4470 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4473 * elmo.el (elmo-folder-kill-messages-before): New function.
4474 (elmo-folder-kill-messages): Ditto.
4475 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4477 * elmo-imap4.el (elmo-folder-list-messages-plugged):
4478 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4479 killed not by synchronize (e.g. scoring).
4481 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4483 * elmo.el (elmo-folder-search-fast): Return t if condition is not
4485 (elmo-folder-search): Follow the change above.
4487 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4488 into the candidates of search field.
4490 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
4492 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4493 (elmo-msgdb-unset-flag): Ditto.
4495 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4497 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
4499 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4500 (elmo-folder-commit): Define.
4501 (elmo-folder-synchronize): Ditto.
4502 (elmo-folder-list-flagged): Ditto.
4503 (elmo-folder-commit): Ditto.
4504 (elmo-folder-length): Ditto.
4505 (elmo-folder-count-flags): Ditto.
4506 (elmo-message-mark): Ditto.
4507 (elmo-message-field): Ditto.
4508 (elmo-message-entity): Ditto.
4509 (elmo-message-folder): Ditto.
4511 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
4513 * elmo.el (elmo-message-field): Define as a method.
4515 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4516 (elmo-message-field): Define.
4518 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4519 (elmo-folder-list-importants): Ditto.
4520 (elmo-folder-list-answereds): Ditto.
4522 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4524 (elmo-folder-mark-as-read): Ditto.
4525 (elmo-folder-unmark-read): Ditto.
4526 (elmo-folder-mark-as-answered): Ditto.
4527 (elmo-folder-unmark-answered): Ditto.
4528 (elmo-folder-list-flagged): Define.
4529 (elmo-folder-commit): Ditto.
4530 (elmo-folder-length): Ditto.
4531 (elmo-folder-count-flags): Ditto.
4533 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4535 * elmo.el (elmo-folder-detach-messages): New method.
4536 (elmo-folder-move-messages): Use it.
4537 (elmo-folder-synchronize): Ditto.
4539 * elmo-multi.el (elmo-folder-detach-messages): Define.
4541 * elmo.el (elmo-message-copy-entity): New function.
4542 (elmo-message-entity-set-number): Ditto.
4543 (elmo-message-mark): Define as method.
4545 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4546 (elmo-folder-synchronize): Return 0 (Should be reconsider).
4547 (elmo-message-entity): Fixed last change.
4548 (elmo-message-mark): Define.
4549 (elmo-folder-msgdb-create): Abolish.
4550 (elmo-multi-folder-append-msgdb): Ditto.
4551 (elmo-multi-folder-diff): Fixed.
4552 (elmo-multi-split-number-alist): Removed.
4553 (elmo-multi-split-mark-alist): Removed.
4554 (elmo-folder-list-messages): Define.
4555 (elmo-folder-list-messages-internal): Removed.
4557 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4558 local file messages.
4559 (elmo-folder-msgdb-create): Fixed read mark.
4561 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4563 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4566 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4568 * elmo.el (elmo-folder-list-message-entities): Define as inline
4570 (elmo-folder-messages): Abolish.
4572 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4574 (elmo-folder-synchronize): Define.
4575 (elmo-message-entity): Define.
4577 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
4579 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4580 elmo-imap4-session-select-mailbox.
4582 * elmo.el (elmo-folder-move-messages): Don't display any message.
4584 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4586 (elmo-imap4-session-check): Don't wait CHECK response.
4587 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4589 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4591 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4593 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4595 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4597 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4600 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4601 (elmo-folder-list-message-entities): Added argument in-msgdb and
4603 (elmo-folder-synchronize): Define as a method.
4605 * elmo-nntp.el (elmo-folder-initialize): Don't use
4606 elmo-nntp-default-user if zero-length username is specified
4609 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
4611 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4612 server name in case with username.
4613 (XXX: this is ad-hoc fix against username includes "@", it
4614 should be solved fundamentally)
4616 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
4618 * elmo-nntp.el (elmo-nntp-debug): New function.
4619 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4620 (elmo-network-authenticate-session): Hide auth-info from the log.
4622 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4623 user name if it is equal to elmo-nntp-default-user.
4625 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4627 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4628 instead of shimbun-server-internal;
4629 Use shimbun-current-group instead of shimbun-current-group-internal.
4630 (elmo-folder-plugged-p): Use shimbun-server instead of
4631 shimbun-server-internal.
4632 (elmo-folder-set-plugged): Ditto.
4633 (elmo-net-port-info): Ditto.
4634 (elmo-folder-check): Ditto.
4635 (elmo-folder-expand-msgdb-path): Ditto.
4636 (elmo-folder-list-subfolders): Ditto.
4638 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4640 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4641 Convert field-name to lower case.
4642 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4644 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4646 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4647 `message' and `error' take format string.
4649 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4651 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4653 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4655 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4656 recursive call (can't byte compile on emacs 20.7).
4658 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4660 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4661 (elmo-folder-list-message-entities): New API.
4662 (elmo-message-entity): Ditto.
4663 (elmo-message-entity-parent): Ditto.
4664 (elmo-folder-do-each-message-entity): Ditto.
4665 (elmo-message-entity-number): Ditto.
4666 (elmo-message-entity-field): Ditto.
4667 (elmo-message-entity-set-field): Ditto.
4668 (elmo-folder-count-flags): Ditto.
4669 (elmo-folder-length): Ditto.
4671 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4674 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4675 (elmo-msgdb-count-marks): Abolish.
4676 (elmo-msgdb-make-entity): Ditto.
4677 (elmo-msgdb-do-each-entity): Ditto.
4678 (elmo-msgdb-message-entity): New inline function.
4679 (elmo-msgdb-message-entity-field): Ditto.
4680 (elmo-msgdb-message-entity-set-field): Ditto.
4681 (elmo-msgdb-make-message-entity): New function.
4683 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4685 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4686 to flag. (All other related portions are changed.)
4687 (elmo-folder-msgdb-create): Likewise.
4688 (elmo-generic-folder-append-messages): Use flag-table instead of
4690 (elmo-folder-move-messages): Removed redundant process.
4691 (elmo-folder-synchronize): Likewise.
4693 * elmo-msgdb.el (elmo-flag-table-get): New function.
4694 (elmo-flag-table-save): Fixed.
4695 (elmo-msgdb-length): New inline function.
4696 (elmo-msgdb-flag-table): New function.
4697 (elmo-msgdb-mark): Add optional argument new.
4698 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4699 (elmo-msgdb-seen-list): Ditto.
4700 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4703 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4705 * elmo.el (elmo-message-set-mark): Abolish.
4706 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4707 (All related portions are changed.)
4709 * elmo-msgdb.el (toplevel): Added comment.
4710 (elmo-load-msgdb): Added 4th element `path'.
4711 (elmo-msgdb-append): Follow the change above.
4712 (elmo-msgdb-clear): Ditto.
4713 (elmo-msgdb-delete-msgs): Ditto.
4714 (elmo-msgdb-get-path): New inline function.
4715 (elmo-msgdb-set-path): Ditto.
4716 (elmo-flag-table-filename): New variable.
4717 (elmo-flag-table-load): New function.
4718 (elmo-flag-table-set): Ditto.
4719 (elmo-flag-table-save): Ditto.
4720 (elmo-msgdb-get-field-value): Abolish.
4721 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4723 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4725 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4726 the folder has been deleted successfully.
4727 * elmo-imap4.el (elmo-folder-delete): Ditto.
4728 * elmo-archive.el (elmo-folder-delete): Ditto.
4729 * elmo-localdir.el (elmo-folder-delete): Ditto.
4730 * elmo-maildir.el (elmo-folder-delete): Ditto.
4732 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4734 * elmo-util.el (elmo-string-member-ignore-case): New function.
4735 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4736 (elmo-imap4-fetch-callback-1-subr): Likewise.
4738 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4740 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4741 the case of the name attribute "\Noselect".
4743 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4745 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4747 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4748 flist, is not always a member of onum-alist.
4750 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4752 * elmo-version.el (elmo-version): Up to 2.11.3.
4754 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4756 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4757 copied from localdir's one.
4759 * elmo-pipe.el (elmo-folder-rename): New method, rename
4760 destination folder with leaving source folder as it is.
4762 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4764 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4767 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4769 * elmo-version.el (elmo-version): Up to 2.11.2.
4771 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4773 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4774 shimbun-open in case of "@".
4775 (elmo-folder-open-internal): Cope with shimbun = nil case.
4776 (elmo-folder-plugged-p): Ditto.
4777 (elmo-folder-list-subfolders): Make list for "@/" group.
4779 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4781 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4782 mailbox (e.g. for %~/something).
4784 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4786 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4787 Replace nested conditional with guard clauses.
4789 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4791 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4794 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4797 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4799 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4800 Replace nested conditional with guard clauses.
4802 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4804 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4805 (elmo-passwd-alist-save): Ditto.
4806 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4808 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4810 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4811 dir-name only if it is absolute path.
4812 (TODO: distinguish +/something and +something)
4814 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4816 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4817 path for "+~/something".
4819 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4821 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4822 as non-directory, cause error before rename-file.
4823 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4824 apropriately, mimic localdir's one.
4825 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4827 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4829 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4831 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4833 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4835 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4837 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4838 is included in the global-mark or not.
4840 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4842 * utf7.el (toplevel): Avoid error when the function
4843 find-coding-system does not exist.
4845 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4847 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4848 cache even if the folder is plugged.
4849 (elmo-nntp-search-primitive): Do nothing when body search is
4850 invoked (although it is not used by the change above).
4851 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4853 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4855 * elmo-version.el (elmo-version): Up to 2.11.1.
4857 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4859 * elmo-archive.el: Specify charset.
4861 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4863 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4864 process buffer lives or not.
4866 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4867 while flushing queues (It causes infinite loop).
4869 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4871 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4873 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4875 * utf7.el (toplevel): Check the ucs features dynamically.
4876 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4878 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4879 folder is creatabe or not if it already exists.
4881 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4883 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4885 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4887 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4888 (elmo-imap4-read-response): Take care of garbage response.
4890 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4892 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4893 just return nil instead of error.
4895 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4897 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4898 search-key is "body".
4900 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4902 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4903 of elmo-string-matched-assoc to use match-data.
4904 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4906 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4908 * elmo-split.el (elmo-split->): New function.
4909 (elmo-split-<): Ditto.
4911 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4913 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4914 workaround for invalid message-id.
4916 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4918 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4919 return normal pop3 session or pop3 biff session.
4921 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4923 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4924 info part to the cur files when the new files already have it.
4925 (Adviced by Jared Rhine <jared@wordzoo.com>)
4927 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4929 * elmo-split.el (elmo-split-default-action): New variable.
4930 (elmo-split-subr): Use it if all other conditions are passed.
4931 Extend `fname' and rename it as `action'. (implemented
4932 Teranishi-san's idea in [wl:10800])
4934 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4936 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4937 * elmo-util.el: Ditto.
4939 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4941 * elmo.el (elmo-message-accessible-p): Renamed from
4942 elmo-message-cached-p and rewritten.
4944 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4946 * elmo.el (elmo-folder-list-flagged): New generic function.
4947 (elmo-folder-list-importants): New implementation.
4948 (elmo-folder-list-answereds): Ditto.
4949 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4951 (elmo-message-cached-p): New function.
4952 (elmo-message-set-flag): Ditto (no content).
4953 (elmo-message-unset-flag): Ditto.
4954 (elmo-folder-list-messages-mark-match): Abolish.
4956 * elmo-util.el (elmo-regexp-opt): New function.
4958 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4959 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4961 (elmo-msgdb-list-flagged): New function.
4963 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4964 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4967 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4969 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4971 * elmo-version.el (elmo-version): Up to 2.11.0.
4973 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4975 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4976 `elmo-file-cache-exists-p'; use proper mark that depends on
4978 (elmo-msgdb-unset-flag): Ditto.
4979 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4981 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4982 with 4th argument `use-cache'.
4984 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4986 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4987 (elmo-folder-mark-as-important): Ditto.
4988 (elmo-folder-unmark-read): Ditto.
4989 (elmo-folder-mark-as-read): Ditto.
4990 (elmo-folder-unmark-answered): Ditto.
4991 (elmo-folder-mark-as-answered): Ditto.
4993 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4995 (elmo-msgdb-mark): Likewise.
4996 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4997 (elmo-msgdb-unset-flag): Likewise.
4999 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
5001 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5003 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
5006 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5008 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
5009 set spool-length to 0.
5011 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5013 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
5014 (elmo-dop-queue-flush): Fixed last change.
5016 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5018 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
5019 if require-msgdb slot is nil.
5020 (elmo-folder-list-importants): Likewise.
5022 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5024 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
5027 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
5028 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
5031 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
5033 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
5035 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
5037 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
5039 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
5041 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5043 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
5044 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
5046 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5048 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
5049 the problem reported by Sean Rima [wl-en:180].
5051 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
5053 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
5055 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
5057 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
5059 * elmo-map.el (elmo-folder-unmark-read): Ditto.
5061 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
5063 * elmo-net.el (elmo-folder-unmark-read): Ditto.
5065 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
5067 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
5069 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
5072 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5074 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
5075 (elmo-folder-mark-as-read): Follow the API change.
5076 (elmo-message-set-cached): New function.
5078 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
5080 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
5082 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
5083 (elmo-folder-mark-as-important): Ditto.
5084 (elmo-folder-unmark-read): Ditto.
5085 (elmo-folder-mark-as-read): Ditto.
5086 (elmo-folder-unmark-answered): Ditto.
5087 (elmo-folder-mark-as-answered): Ditto.
5089 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
5090 (elmo-folder-unmark-important): Ditto.
5091 (elmo-folder-mark-as-read): Ditto.
5092 (elmo-folder-unmark-read): Ditto.
5093 (elmo-folder-mark-as-answered): Ditto.
5094 (elmo-folder-unmark-answered): Ditto.
5096 * elmo-mark.el (toplevel): Removed some mark method definitions.
5098 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
5099 (elmo-map-folder-mark-as-answered): Ditto.
5100 (elmo-folder-unmark-important): Add :before qualifier.
5101 (elmo-folder-mark-as-important): Ditto.
5102 (elmo-folder-unmark-read): Ditto.
5103 (elmo-folder-mark-as-read): Ditto.
5104 (elmo-folder-unmark-answered): Define.
5105 (elmo-folder-mark-as-answered): Ditto.
5107 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
5108 (elmo-map-folder-unmark-answered): Ditto.
5110 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
5112 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
5113 (elmo-folder-mark-as-important): Ditto.
5114 (elmo-folder-unmark-read): Ditto.
5115 (elmo-folder-mark-as-read): Ditto.
5116 (elmo-folder-unmark-answered): Ditto.
5117 (elmo-folder-mark-as-answered): Ditto.
5119 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
5120 `mark'; evaluate mark condition.
5121 (elmo-msgdb-match-condition-internal): New function.
5122 (elmo-msgdb-match-condition): Call it; changed argument.
5124 * elmo.el (elmo-folder-search): Follow the API change on
5125 `elmo-msgdb-match-condition'.
5127 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5129 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
5130 original mark is non-nil.
5132 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
5134 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
5135 (elmo-map-folder-list-answereds): New method.
5136 (elmo-folder-list-unreads): Add :around qualifier.
5137 (elmo-folder-list-importants): Ditto.
5138 (elmo-folder-list-answereds): Ditto.
5140 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
5142 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
5144 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
5145 method if msgdb is not required.
5146 (elmo-filter-folder-list-importants): Don't treat global-mark.
5148 * elmo.el (elmo-folder-list-importants): Ditto.
5150 * elmo-net.el (elmo-folder-list-importants): Ditto.
5152 * elmo-map.el (elmo-folder-list-importants): Ditto.
5154 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
5156 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
5157 (elmo-imap4-folder-list-any-plugged): New function.
5158 (elmo-imap4-search-internal-primitive): Use it.
5160 * elmo-filter.el (elmo-folder-check): Synchronize original folder
5161 only when require-msgdb slot is non-nil.
5162 (elmo-folder-close): Clear target folder's msgdb.
5164 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5166 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
5167 (elmo-pop3-msgdb-create-by-header): Ditto.
5168 (elmo-pop3-msgdb-create-message): Ditto.
5170 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
5172 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
5174 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
5176 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
5177 (elmo-folder-msgdb-create): Ditto.
5178 (elmo-nntp-folder-msgdb-create): Ditto.
5179 (elmo-nntp-msgdb-create-by-header): Ditto.
5180 (elmo-nntp-msgdb-create-message): Ditto.
5181 (elmo-folder-list-unreads): Define.
5183 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
5184 (elmo-folder-append-messages): Ditto.
5185 (elmo-folder-list-unreads): Define.
5186 (elmo-folder-list-importants): Ditto.
5187 (elmo-folder-list-answereds): Ditto.
5189 * elmo-net.el (elmo-folder-list-unreads): Define.
5190 (elmo-folder-list-importants): Ditto.
5191 (elmo-folder-list-answereds): Ditto.
5192 (elmo-folder-list-answereds-plugged): Ditto.
5193 (elmo-folder-msgdb-create): Follow the API change.
5194 (elmo-folder-msgdb-create-unplugged): Ditto.
5195 (elmo-folder-unmark-answered): Define.
5196 (elmo-folder-mark-as-answered-unplugged): Ditto.
5197 (elmo-folder-unmark-answered-unplugged): Ditto.
5199 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
5200 (elmo-msgdb-unread-uncached-mark): Ditto.
5201 (elmo-msgdb-unread-cached-mark): Ditto.
5202 (elmo-msgdb-read-uncached-mark): Ditto.
5203 (elmo-msgdb-answered-cached-mark): Ditto.
5204 (elmo-msgdb-answered-uncached-mark): Ditto.
5205 (elmo-msgdb-important-mark): Ditto.
5206 (elmo-msgdb-set-mark): Rewrite.
5207 (elmo-msgdb-count-marks): Rewrite.
5208 (elmo-msgdb-mark-alist-set): Abolish.
5209 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
5210 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
5212 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
5213 (elmo-folder-close): Define.
5214 (elmo-folder-msgdb-create): Follow the API change.
5215 (elmo-folder-list-unreads): Rewrite.
5216 (elmo-folder-mark-as-important): Ditto.
5217 (elmo-folder-unmark-important): Ditto.
5218 (elmo-folder-mark-as-read): Ditto.
5219 (elmo-folder-unmark-read): Ditto.
5220 (elmo-folder-mark-as-answered): Define.
5221 (elmo-folder-unmark-answered): Ditto.
5223 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
5224 (elmo-folder-append-messages): Ditto.
5226 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
5228 * elmo-map.el (elmo-folder-list-unreads): Ditto.
5229 (elmo-folder-list-importants): Ditto.
5231 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5232 (elmo-folder-append-messages): Ditto.
5234 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5236 (elmo-folder-msgdb-create-plugged): Ditto.
5237 (elmo-folder-append-messages): Ditto.
5238 (elmo-folder-list-answereds-plugged): Define.
5239 (elmo-imap4-search-internal-primitive): Add `mark' processing.
5240 (elmo-folder-unmark-answered-plugged): Define.
5241 (elmo-folder-mark-as-answered-plugged): Ditto.
5242 (elmo-folder-search-requires-msgdb-p): Ditto.
5244 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5245 (elmo-folder-initialize): Set it.
5246 (elmo-folder-msgdb): Define.
5247 (elmo-folder-check): Call elmo-folder-synchronize.
5248 (elmo-folder-close): Define.
5249 (elmo-folder-commit): Ditto.
5250 (elmo-folder-msgdb-create): Rewrite.
5251 (elmo-folder-list-unreads): Ditto.
5252 (elmo-folder-list-importants): Ditto.
5253 (elmo-folder-mark-as-read): Ditto.
5254 (elmo-folder-unmark-read): Ditto.
5255 (elmo-folder-mark-as-important): Ditto.
5256 (elmo-folder-unmark-important): Ditto.
5257 (elmo-folder-mark-as-answered): Define.
5258 (elmo-folder-unmark-answered): Ditto.
5260 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5261 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5262 (elmo-dop-queue-method-name-alist): Likewise.
5263 (elmo-folder-mark-as-answered-dop): New inline function.
5264 (elmo-folder-unmark-answered-dop): Ditto.
5265 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5267 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5268 (elmo-folder-msgdb-create): Ditto.
5269 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5270 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5271 (elmo-archive-parse-mmdf): Ditto.
5273 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5274 (elmo-folder-list-unreads-internal): Ditto.
5276 * elmo.el (elmo-folder-msgdb): Define as generic function.
5277 (elmo-folder-list-messages): Added argument `in-msgdb'.
5278 (elmo-folder-list-unreads): Define as generic function.
5279 (elmo-folder-list-importants): Ditto.
5280 (elmo-folder-list-answereds): Ditto.
5281 (elmo-folder-list-messages-with-global-mark): New function.
5282 (elmo-folder-msgdb-create): Removed mark arguments.
5283 (elmo-folder-unmark-answered): New generic function.
5284 (elmo-folder-mark-as-answered): Ditto.
5285 (elmo-folder-append-messages): Removed argunment `unread-marks'
5286 (elmo-folder-list-unreads-internal): Abolish.
5287 (elmo-folder-list-importants-internal): Ditto.
5288 (elmo-folder-search-requires-msgdb-p): New generic function.
5289 (elmo-folder-search-requires-msgdb-p-internal): New function.
5290 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5292 (elmo-folder-search-fast): Added key 'mark'.
5293 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5294 instead of unread-marks argument.
5295 (elmo-folder-move-messages): Removed argunment `unread-marks'
5296 (elmo-folder-unmark-important): Define.
5297 (elmo-folder-mark-as-important): Ditto.
5298 (elmo-folder-unmark-read): Ditto.
5299 (elmo-folder-mark-as-read): Ditto.
5300 (elmo-folder-unmark-answered): Ditto.
5301 (elmo-folder-mark-as-answered): Ditto.
5302 (elmo-folder-replace-marks): Abolish.
5303 (elmo-generic-folder-append-msgdb): Append msgdb before checking
5305 (elmo-folder-synchronize): Removed mark arguments;
5306 return crosspost only number.
5308 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5310 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5311 Remove redundunt connectivity check.
5313 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5315 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5316 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5318 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
5320 * pldap.el (ldap-decode-string): Return string as-is if
5321 `ldap-coding-system' is nil.
5322 (ldap-encode-string): Ditto.
5323 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5324 (ldap-default-host): Fixed docstring.
5326 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
5328 * elmo-util.el (elmo-warning): Define as a macro which uses
5329 `display-warning' if it is defined as a function.
5331 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5332 (elmo-split-equal): Use it.
5333 (elmo-split-match): Ditto.
5334 (elmo-split-message-entity): New buffer-local variable.
5335 (elmo-split-subr): Set it.
5337 * elmo-version.el (elmo-version): Up to 2.9.15.
5339 2002-08-18 Kenichi OKADA <okada@opaopa.org>
5341 * elmo-imap4.el (elmo-network-initialize-session):
5342 Check capability after starttls.
5344 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
5346 * elmo-util.el (elmo-list-delete): Added optional argument
5349 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5351 * elmo-util.el (elmo-warning): Ignore errors while recenter.
5353 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5355 * elmo-imap4.el (elmo-folder-initialize): Don't use
5356 elmo-imap4-default-mailbox.
5358 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
5360 * elmo-split.el (toplevel): Use `product-provide'.
5361 (elmo-split): Checkdoc.
5363 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
5365 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5366 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5367 the function `elmo-imap4-debug-1'.
5369 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5371 * elmo-split.el (elmo-split): Moved to run hooks and to show
5372 message from elmo-split-subr.
5373 (elmo-split-subr): Follow the change above.
5375 * elmo-split.el (elmo-split-subr): New function (renamed from
5377 (elmo-split): Changed to call elmo-split-subr by element of
5379 (elmo-split-folder): Changed customization type to choice.
5381 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5383 * elmo-split.el (elmo-split-and): Fixed condition.
5385 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5387 * elmo-split.el: New file.
5388 (elmo-split): Fixed logic.
5389 Display "Test:" instead of "Folder:" when reharsal.
5391 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5394 * elmo-version.el (elmo-version): Up to 2.9.14.
5396 * elmo-util.el (elmo-expand-newtext): New function (renamed from
5399 2002-06-10 Kenichi Sato <ksato@sonycom.com>
5401 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5402 message with no message-id field.
5404 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
5406 * elmo-version.el (elmo-version): Up to 2.9.13.
5408 * elmo-dop.el (elmo-folder-status-dop): Fix.
5410 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
5412 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5414 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5415 changing default value of default-mime-charset.
5416 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5418 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5420 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5421 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5422 instead of elmo-dop-queue-method-name-alist to check merging queue.
5423 (elmo-folder-delete-messages-dop): Delete from queue if negative
5425 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5426 file is already removed.
5428 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5430 * elmo-vars.el: Bind colon keywords for old Emacsen.
5432 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5434 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5435 against non-exsisting charset.
5437 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
5439 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5440 Use eword-decode-and-unfold-unstructured-field-body.
5442 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5443 (elmo-msgdb-create-overview-from-buffer): Use document charset if
5444 exists to decode raw subject string.
5445 (toplevel): Require 'mime.
5447 * elmo-version.el (elmo-version): Up to 2.9.12.
5449 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
5451 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5452 (elmo-msgdb-set-mark): Ditto.
5454 * elmo-version.el (elmo-version): Up to 2.9.11.
5456 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
5458 * elmo-util.el (elmo-delete-match-files): New function.
5460 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5461 instead of elmo-delete-directory.
5463 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5464 elmo-hash-minimun-size as 63.
5466 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5467 elmo-diff-unread is nil.
5469 * elmo-imap4.el (elmo-folder-open): Fix.
5471 * elmo.el (elmo-message-mark): Rewrite.
5472 (elmo-message-field): Ditto.
5473 (elmo-message-set-mark): Ditto.
5474 (elmo-folder-replace-marks): New function.
5475 (elmo-generic-folder-append-msgdb): Removed third argument for
5477 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5478 (elmo-msgdb-load): New implementation.
5480 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5482 * elmo-util.el (elmo-list-insert): New implementation.
5484 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5485 argument for elmo-msgdb-append.
5488 * elmo-msgdb.el (elmo-load-msgdb): New function.
5489 (elmo-make-msgdb): Ditto.
5490 (elmo-msgdb-get-index): New inline function.
5491 (elmo-msgdb-set-index): Ditto.
5492 (elmo-msgdb-get-entity-hashtb): Ditto.
5493 (elmo-msgdb-get-mark-hashtb): Ditto.
5494 (elmo-msgdb-get-mark): Ditto.
5495 (elmo-msgdb-set-mark): Ditto.
5496 (elmo-msgdb-count-marks): Ditto.
5497 (elmo-msgdb-get-number): Ditto.
5498 (elmo-msgdb-get-field): Ditto.
5499 (elmo-msgdb-seen-list): Ditto.
5500 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5501 (elmo-msgdb-delete-msgs): Follow the changes above.
5502 (elmo-msgdb-overview-get-entity): Ditto.
5503 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5504 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5506 (elmo-msgdb-make-index): Likewise.
5507 (elmo-msgdb-append): Removed third argument.
5508 (elmo-msgdb-clear): Clear index as nil.
5509 (elmo-folder-set-info-hashtb): Removed.
5510 (elmo-folder-set-info-max-by-numdb): Ditto.
5511 (elmo-folder-info-make-hashtb): Ditto.
5513 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5515 * elmo-map.el (elmo-folder-pack-number): Ditto.
5517 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
5519 * elmo-version.el (elmo-version): Up to 2.9.10.
5521 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5523 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5525 2002-04-26 Kenichi OKADA <okada@opaopa.org>
5527 * elmo-utils.el (elmo-make-directory): Add option.
5528 Default file mode is 700.
5530 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5532 * elmo-shimbun.el (elmo-folder-local-p): Defined.
5534 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
5536 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5539 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5542 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5544 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5545 (elmo-shimbun-folder-entity-hash): New function.
5546 (elmo-shimbun-folder-shimbun-header): Ditto.
5547 (elmo-shimbun-entity-to-header): Ditto.
5548 (elmo-shimbun-msgdb-to-headers): Removed.
5549 (elmo-shimbun-folder-setup): Ditto.
5550 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5552 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5553 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5554 Removed useless local bind.
5555 (elmo-folder-open-internal): Don't call
5556 `elmo-shimbun-folder-setup'.
5557 (elmo-folder-close-internal): Clear entity-hash slot.
5558 (elmo-folder-clear): Ditto.
5559 (elmo-shimbun-msgdb-create-entity): Use
5560 `elmo-shimbun-folder-shimbun-header'.
5561 (elmo-map-message-fetch): Ditto.
5562 (elmo-shimbun-update-overview): Use overview entity instead of
5563 shimbun header to lookup id by references.
5564 (elmo-map-folder-list-message-locations): Use not only headers but
5565 also overviews to list locations.
5567 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5569 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5572 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5574 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5576 * elmo-util.el (elmo-read-search-condition-internal): Give default
5579 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
5581 * elmo-util.el (elmo-condition-parse-search-value): Accept
5582 YYYY-MM-DD format to search.
5583 * elmo-date.el (elmo-date-get-datevec): Likewise.
5585 2002-04-04 Kenichi OKADA <okada@opaopa.org>
5587 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5590 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5592 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5595 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5597 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5598 case from `elmo-folder-exists-p'.
5599 (elmo-folder-exists-p): Removed.
5600 (elmo-folder-creatable-p) Ditto.
5602 * elmo-net.el (elmo-folder-create): Defined.
5603 (elmo-folder-create-unplugged): New function.
5604 (elmo-folder-exists-p): Changed default value to nil from t.
5606 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5607 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5609 * elmo-dop.el (elmo-folder-create-dop): Renamed from
5610 `elmo-create-folder-dop' and append queue
5611 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5612 (elmo-folder-create-dop-delayed): New function.
5614 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5616 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5618 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5619 (elmo-folder-writable-p) : Ditto.
5621 * elmo-version.el (elmo-version): Up to 2.9.9.
5623 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5625 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5626 `elmo-message-use-cache-p' returns nil.
5627 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5628 (ignore cache file and refer the substance in local folders)
5630 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5632 * elmo-version.el (elmo-version): Up to 2.9.8.
5634 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5636 * elmo-version.el (elmo-version): Up to 2.9.7.
5638 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5640 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5642 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5644 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5646 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5648 (elmo-map-folder-list-message-locations): Reverse location list.
5650 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5652 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5654 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5656 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5658 (elmo-nntp-folder-list-subfolders): Follow the change above.
5660 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5662 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5663 name if authentication type is specified.
5665 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5667 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5669 (elmo-default-nntp-stream-type): Ditto.
5670 (elmo-default-pop3-stream-type): Ditto.
5672 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5674 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5676 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5678 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5680 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5682 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5683 (elmo-maildir-folder-path): Ditto.
5684 (elmo-maildir-list): Ditto (abolished).
5686 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5688 * elmo-version.el (elmo-version): Up to 2.9.6.
5690 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5692 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5693 (elmo-maildir-folder-path): Ditto.
5694 (elmo-msgdb-directory): Ditto.
5695 (elmo-passwd-life-time): Ditto.
5696 (elmo-msgdb-extra-fields): Ditto.
5697 (elmo-enable-disconnected-operation): Ditto.
5699 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5701 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5703 (elmo-pop3-default-authenticate-type): Ditto.
5705 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5707 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5709 (elmo-pop3-default-authenticate-type): Ditto.
5711 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5713 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5714 mailbox to new-folder.
5716 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5718 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5719 less than new, set new as unread.
5721 * elmo-util.el (elmo-string): Don't put text-property if nil.
5723 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5725 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5726 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5728 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5730 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5731 is nil on `completing-read'.
5733 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5735 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5737 (elmo-imap4-parse-namespace-subr): Ditto.
5738 (elmo-folder-list-subfolders): Append a delimiter when the specified
5739 folder path is a root with namespace and does not end with delimiter.
5741 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5743 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5746 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5748 * elmo-util.el (elmo-save-buffer): The first argument of message
5749 is a format control string.
5751 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5753 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5754 `elmo-folder-diff').
5755 (elmo-diff-unread): Likewise.
5757 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5759 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5760 is t on `completing-read'.
5762 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5764 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5765 method of target folder with self mark-alist if MARK-ALIST is nil.
5767 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5769 * elmo-version.el (elmo-version): Up to 2.9.5.
5771 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5773 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5774 (elmo-dop-merge-funcs): Remove.
5776 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5778 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5779 Return t if PATH is directory, too.
5780 Use `dolist' instead of while loop.
5782 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5784 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5787 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5789 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5791 (elmo-folder-list-messages-unplugged): Return t if
5792 elmo-enable-disconnected-operation is nil.
5794 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5795 `elmo-folder-list-messages-internal'.
5797 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5799 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5800 Change to looking-at `[23][0-9]+'.
5801 (elmo-network-initialize-session): Use 'error-msg'
5802 * elmo-net.el (elmo-network-open-session): Set unplugged
5803 if elmo-network-initialize-session returns 'elmo-open-err.
5805 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5807 * elmo-version.el (elmo-version): Up to 2.9.4.
5809 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5811 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5812 `elmo-folder-list-messages-internal'.
5814 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5816 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5817 (elmo-message-match-condition): New method.
5818 (elmo-folder-search-fast): New inline function.
5819 (elmo-msgdb-search): Removed.
5821 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5822 target folder if it is unplugged.
5823 (elmo-folder-list-messages-internal): Return t if target folder is
5824 unplugged and itself is persistent; In this case, use list be
5827 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5828 (elmo-msgdb-search-internal-primitive): Ditto.
5829 (elmo-msgdb-match-condition): New function.
5830 (elmo-msgdb-match-condition-primitive): Ditto.
5832 * elmo-util.el (elmo-filter-condition-p): New macro.
5834 * elmo-cache.el (elmo-folder-search): Removed.
5836 * elmo-localdir.el (elmo-folder-search): Ditto.
5838 * elmo-maildir.el (elmo-folder-search): Ditto.
5840 * elmo-mark.el (elmo-folder-search): Ditto.
5842 * elmo-nmz.el (elmo-folder-search): Ditto.
5844 * elmo-sendlog.el (elmo-folder-search): Ditto.
5846 * elmo-shimbun.el (elmo-folder-search): Ditto.
5848 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5849 if folder is unplugged.
5851 * elmo-nntp.el (elmo-folder-search): Likewise.
5852 (elmo-nntp-search-internal): New function.
5854 * elmo-version.el (elmo-version): Up to 2.9.3.
5856 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5858 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5860 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5862 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5864 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5866 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5868 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5870 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5871 (elmo-map-folder-list-message-locations): Do drive letter conversion
5872 on Windows environment.
5873 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5874 (elmo-map-message-fetch): Ditto.
5876 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5878 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5879 (elmo-network-initialize-session): Ditto.
5881 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5883 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5885 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5887 * elmo-util.el (elmo-progress-clear): Ditto.
5889 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5890 `DD-Mon-YYYY' type date.
5892 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5894 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5895 `elmo-date-make-sortable-string' instead of
5896 `timezone-make-date-sortable'.
5898 * elmo-date.el (elmo-date-make-sortable-string): Use
5899 `timezone-make-time-string'.
5901 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5903 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5905 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5906 `since'; Fix timezone.
5908 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5910 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5912 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5914 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5916 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5918 * elmo.el (elmo-generic-folder-append-messages): Make
5919 fetch-strategy with `use-cache' as 'maybe. Check return value of
5920 `elmo-message-fetch'.
5921 (elmo-message-fetch): Return return value of
5922 `elmo-message-fetch-with-cache-process'.
5923 (elmo-message-fetch-with-cache-process): Return non-nil if
5924 fetching was succeed. Load cache when fetching was failed and
5925 fetch-strategy-use-cache is 'maybe.
5927 * elmo-util.el (elmo-file-cache-load): New function.
5929 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5932 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5933 non-nil if fetching was succeed.
5935 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5937 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5939 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5940 (elmo-message-fetch-with-cache-process): Likwise.
5942 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5944 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5946 * elmo-version.el (elmo-version): Up to 2.9.2.
5948 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5950 * elmo.el (elmo-folder-delete): Delete msgdb path.
5952 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5954 * elmo-maildir.el (elmo-folder-delete): Ditto.
5956 * elmo-localdir.el (elmo-folder-delete): Ditto.
5958 * elmo-imap4.el (elmo-folder-delete): Ditto.
5960 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5962 * elmo.el (luna-define-class): Added `biff' slot.
5964 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5965 (elmo-pop3-debug-inhibit-logging): Abolished.
5966 (elmo-network-close-session): Eliminated needless let.
5967 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5968 (elmo-pop3-send-command): Added `no-log' argument.
5969 (elmo-pop3-process-filter): Use `with-current-buffer'.
5970 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5972 (elmo-pop3-auth-apop): Likewise.
5973 (elmo-network-authenticate-session): Likewise.
5975 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5978 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5979 string to determine protocol.
5980 (elmo-network-session-name-prefix): Abolished.
5981 (elmo-network-session-cache-key): Follow the change above.
5982 (elmo-network-open-session): Ditto.
5984 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5985 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5987 * elmo-version.el (elmo-version): Up to 2.9.1.
5989 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5990 unmatch condition checking.
5992 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5995 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5997 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5999 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
6001 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
6002 test for while loop to execute at least one SEARCH command.
6004 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
6006 * elmo-version.el (elmo-version): Up to 2.9.0.
6008 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
6010 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
6011 (elmo-archive-folder-path): Define.
6012 (elmo-folder-initialize): Setup `dir-name' slot.
6013 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
6014 Use `dir-name' as prefix of each subfolders.
6015 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
6017 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6019 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
6020 (elmo-pipe-folder-list-target-messages): New internal function.
6021 (elmo-pipe-drain): Use new argument `ignore-list' instead of
6023 (elmo-pipe-folder-copied-list-load): New function.
6024 (elmo-pipe-folder-copied-list-save): Ditto.
6025 (elmo-folder-open-internal): Follow the change above.
6026 (elmo-folder-status): Fixed for copy.
6028 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
6030 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
6032 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
6034 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
6035 elmo-copy-file instead of elmo-add-name-to-file.
6037 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
6039 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
6042 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
6043 of accept-process-output as 1.
6044 (elmo-pop3-read-contents): Ditto.
6045 (elmo-pop3-read-body): Ditto.
6047 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
6049 * elmo-version.el (product-version-as-string): Remove define.
6051 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6053 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
6054 (elmo-imap4-copy-messages): Chop number set using
6055 `elmo-imap4-number-set-chop-length'.
6056 (elmo-imap4-set-flag): Ditto.
6057 (elmo-imap4-search-internal-primitive): Ditto.
6059 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
6061 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
6062 `elmo-folder-make-temp-dir'
6064 * elmo-vars.el (elmo-cache-directory): New variable.
6065 (elmo-cache-dir): Abolished.
6066 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
6068 * elmo-version.el (elmo-version): Up to 2.7.7.
6070 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
6072 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
6073 defcustom; Set default value as t.
6075 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
6077 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
6078 (ldap-search-program-arguments): Changed default value.
6079 (ldap-search-basic): Accept exit status 4.
6080 (ldap/field-body): Parse options.
6081 (ldap/collect-field): Ditto.
6082 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
6084 * elmo-imap4.el (elmo-imap4-process-bye): New function.
6085 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
6086 (elmo-imap4-accept-ok): Ditto.
6087 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
6088 'notify-bye, only BYE error is reported.
6089 (elmo-folder-exists-p-plugged): Set no-error argument of
6090 `elmo-imap4-session-select-mailbox' as 'notify-bye.
6092 * elmo.el (elmo-imap4-bye-error): Changed message.
6094 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
6095 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
6096 queues (It causes infinite loop).
6098 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
6100 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
6101 (RECENT UNSEEN MESSAGES) extension.
6103 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
6105 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
6106 Check number of overview fields.
6108 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
6110 * elmo.el (elmo-folder-confirm-appends): Changed message.
6111 (elmo-folder-confirm-appends): Ditto.
6113 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
6115 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
6117 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
6119 * elmo.el (elmo-folder-confirm-appends): Check whether the value
6120 of elmo-folder-update-threshold is nil, which can be set by
6121 wl-summary-update-confirm-threshold.
6123 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
6125 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
6126 (elmo-nmz-index-alias-alist): Ditto.
6127 (elmo-map-folder-list-message-locations): Follow the change above.
6129 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6131 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
6133 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
6135 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
6137 * elmo-util.el (elmo-read): Ditto.
6138 (elmo-display-error): Ditto.
6140 * elmo-vars.el (elmo-date-match): Ditto.
6142 * pldap.el (ldap-coding-system): Ditto.
6144 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
6145 `elmo-inhibit-number-mapping' as nil.
6147 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
6149 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
6150 space delimiter for list response.
6152 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6154 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
6156 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6158 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
6159 (elmo-map-message-fetch): Fix.
6160 * elmo-map.el (elmo-folder-status): Fix for killed.
6162 2001-12-02 Kenichi OKADA <okada@opaopa.org>
6164 * elmo-sendlog.el: New file.
6165 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
6167 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
6169 * acap.el (acap-logging-out): New buffer local variable.
6170 (acap-close): Set it.
6171 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
6174 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
6176 * acap.el (acap-response-bye-p): New function.
6177 (acap-response-bye-message): Ditto.
6178 (acap-wait-for-response): If bye response is received, cause an error.
6179 (acap-parse-response): Make bye response when 'Bye' is received.
6181 2001-11-23 Kenichi OKADA <okada@opaopa.org>
6183 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6185 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6187 * elmo-util.el (elmo-copy-file): Added argument
6188 `ok-if-already-exists'.
6189 (elmo-copy-file): Fixed typo.
6191 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6193 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
6195 2001-11-21 Kenichi OKADA <okada@opaopa.org>
6197 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
6199 2001-11-20 Kenichi OKADA <okada@opaopa.org>
6201 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
6204 2001-11-19 Kenichi OKADA <okada@opaopa.org>
6206 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
6207 (elmo-folder-initialize): Fix for `copy'.
6208 (elmo-pipe-drain): Ditto.
6209 (elmo-folder-open-internal): Ditto.
6210 (elmo-folder-newsgroups): Fix.
6212 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
6214 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
6217 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
6218 recent value is returned from imap folder.
6220 * elmo.el (elmo-folder-newsgroups): New generic function.
6222 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
6223 (elmo-folder-initialize): Set it.
6224 (elmo-folder-expand-msgdb-path): Use it.
6225 (elmo-folder-newsgroups): Define.
6227 * elmo-filter.el (elmo-folder-newsgroups): Define.
6229 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
6231 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6233 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6235 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6237 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6239 (elmo-shimbun-header-extra-field): New inline function.
6240 (elmo-shimbun-header-set-extra-field): Ditto.
6241 (elmo-shimbun-folder-header-hash-setup): Ditto.
6242 (elmo-shimbun-update-overview): Ditto.
6243 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6244 (elmo-shimbun-folder-setup): Use
6245 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6246 (elmo-shimbun-get-headers): Ditto.
6247 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6248 Insert `X-Shimbun-Id:' header if extra field is set.
6249 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6250 field's value instead of `shimbun-header-id'.
6252 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6254 (elmo-msgdb-overview-entity-set-date): Ditto.
6255 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6257 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
6259 * mmimap.el (mmimap-entity-section): Changed body node number from
6262 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6264 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6265 `elmo-folder-delete-messages'.
6267 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6268 (elmo-folder-initialize): Changed to expand alias into index path.
6270 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6271 `elmo-mime-insert-header-from-buffer' with 6th arg
6274 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6276 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6278 * elmo.el (elmo-diff-new): New inline function.
6279 (elmo-diff-unread): Ditto.
6280 (elmo-diff-all): Ditto.
6282 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6283 value from responseb.
6284 (elmo-imap4-folder-diff-plugged): Ditto.
6285 (elmo-imap4-server-diff-async): Added recent argument.
6286 (elmo-server-diff-async): Ditto.
6287 (elmo-imap4-folder-diff-plugged): Ditto.
6289 * elmo-version.el (elmo-version): Up to 2.7.6.
6291 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6293 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6296 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
6298 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6300 * elmo-imap4.el (elmo-folder-initialize): Ditto.
6302 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6304 * elmo-multi.el (elmo-folder-initialize): Ditto.
6306 * elmo-util.el (elmo-parse-token): New function.
6307 (elmo-parse-prefixed-element): Ditto.
6309 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6311 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6313 (elmo-imap4-accept-ok): Ditto.
6315 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6317 * mmimap.el (mime-imap-entity-header-string): Don't check first
6318 element of node-id is `0' (Follow last change).
6320 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6322 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6323 assigned irregular node-id to nested multipart section.
6324 (initialize-instance): Followed above change.
6326 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6328 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6329 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6330 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6331 `elmo-shimbun-get-headers');
6332 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6333 visible article on summary exists in headers).
6334 (elmo-map-message-fetch): Cause an error when folder is unplugged.
6336 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6338 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6341 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
6343 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6345 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6347 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6348 header separator into loop condition.
6350 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6352 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6353 Return duplicate folder if it has subfolder.
6355 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
6357 * elmo.el (elmo-make-folder): Add folder name error check.
6359 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6360 (elmo-nntp-encode-group-string): New inline function.
6361 (elmo-nntp-decode-group-string): Ditto.
6362 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6363 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6364 Use `not' instead of `null';
6365 Use elmo-nntp-decode-group-string.
6367 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6369 * elmo-version.el (elmo-version): Up to 2.7.5.
6371 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6373 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6374 Hide progress gauge if `elmo-folder-move-messages' exits
6377 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
6379 * elmo-imap4.el (elmo-folder-initialize): Use
6380 `elmo-imap4-encode-folder-string' for folder name.
6382 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6384 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6387 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6389 * elmo-util.el (elmo-progress-counter-alist): New internal
6391 (elmo-progress-counter-value): New macro.
6392 (elmo-progress-counter-all-value): Ditto.
6393 (elmo-progress-counter-format): Ditto.
6394 (elmo-progress-counter-set-value): Ditto.
6395 (elmo-progress-set): New function.
6396 (elmo-progress-clear): Ditto.
6397 (elmo-progress-notify): Ditto.
6399 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6402 * elmo.el (elmo-generic-folder-append-messages): Call
6403 `elmo-progress-notify'.
6404 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6406 * elmo-archive.el (elmo-folder-append-messages): Call
6407 `elmo-progress-notify'.
6409 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6411 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6413 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6415 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
6417 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6419 (elmo-message-encache-dop): Added argument `read'.
6421 * elmo-shimbun.el (elmo-message-encache): Ditto.
6423 * elmo-net.el (elmo-message-encache): Ditto.
6425 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6426 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6427 elmo-imap4-seen-messages.
6428 (elmo-folder-msgdb-create-plugged): Initialize
6429 elmo-imap4-seen-messages;
6430 Set seen mark on elmo-imap4-seen-messages.
6432 * elmo-pipe.el (elmo-folder-message-file-p): Define.
6434 * elmo.el (elmo-generic-folder-append-messages): Check return value of
6435 elmo-folder-append-buffer.
6436 (elmo-folder-encache): Added optional argument `read'.
6437 (elmo-message-encache): Ditto.
6439 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6441 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6443 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6444 if append buffer content succeds.
6446 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
6448 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6449 elmo-display-progress.
6451 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6452 Set 4th argument of mime-display-message.
6453 (elmo-mime-display-as-is): Ditto.
6455 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
6457 * elmo-nmz.el (toplevel): Require 'mime-edit.
6458 (elmo-nmz-content-type-alist): Abolished.
6459 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6460 content is not a message.
6461 (elmo-map-message-fetch): Changed behavior exept for message content;
6462 Detect mime-charset automatically, Use `mime-find-file-type' to detect
6463 content-type, Add From: and Subject: field.
6465 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6467 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6468 (elmo-map-message-fetch): Add `Content-Type' field if contents is
6471 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6473 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6474 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6476 * elmo-archive.el (elmo-folder-writable-p): Defined.
6478 * elmo-cache.el (elmo-folder-writable-p): Ditto.
6480 * elmo-filter.el (elmo-folder-writable-p): Ditto.
6482 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6484 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6486 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6488 * elmo-mark.el (elmo-folder-writable-p): Ditto.
6490 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6492 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6494 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
6496 * elmo-util.el (elmo-address-quote-specials): New function;
6497 Renamed from `wl-address-quote-specials'.
6499 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
6501 * elmo-version.el (elmo-version): Up to 2.7.4.
6503 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
6505 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6507 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6509 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6510 both compile-time and run-time to avoid byte-compile warning.
6512 2001-09-13 Kenichi OKADA <okada@opaopa.org>
6514 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6516 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
6518 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6520 (elmo-mime-display-as-is-internal): Use it.
6522 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6523 if `read-passwd' is not defined.
6525 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
6527 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6529 (elmo-folder-status): Call `elmo-folder-open-internal';
6530 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6531 (elmo-folder-close-internal): Set location-alist as nil.
6532 (elmo-folder-clear): Define.
6533 (elmo-folder-check): Don't set location-alist as nil.
6535 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6537 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
6539 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6540 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6542 * mmimap.el (mime-imap-entity::requested): New slot.
6543 (mime-imap-location-fetch-entity-p): New generic function.
6544 (mime-decode-parameters): Define using `defun-maybe'.
6545 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6546 content-type structure.
6547 (mime-entity-body): Return empty body if
6548 `mime-imap-location-fetch-entity-p' returns nil in the first request.
6550 * elmo.el (elmo-message-displaying): New variable.
6552 * elmo-mime.el (elmo-mime-message-display): Bind
6553 elmo-message-displaying as t.
6555 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6557 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6559 * acap.el (acap-open): erase buffer before starting network process.
6560 (acap-store): Rewrite.
6562 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6564 * elmo-imap4.el (elmo-imap4-default-mailbox,
6565 elmo-imap4-default-server
6566 elmo-imap4-default-authenticate-type,
6567 elmo-imap4-default-user,
6568 elmo-imap4-default-port,
6569 elmo-imap4-default-stream-type,
6570 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6572 * elmo-pop3.el (elmo-pop3-default-user,
6573 elmo-pop3-default-server,
6574 elmo-pop3-default-authenticate-type,
6575 elmo-pop3-default-port,
6576 elmo-pop3-default-stream-type,
6577 elmo-pop3-stream-type-alist): Ditto.
6579 * elmo-nntp.el (elmo-nntp-default-server,
6580 elmo-nntp-default-user,
6581 elmo-nntp-default-port,
6582 elmo-nntp-default-stream-type,
6583 elmo-nntp-stream-type-alist): Ditto.
6585 * elmo-vars.el: Follow changes above.
6586 (elmo-setting): New custom group; added 'elmo-setting group to
6589 * elmo-version.el (elmo-version): Up to 2.7.3.
6591 * acap.el (acap-parse-response): Don't delete process when BYE
6592 response (It causes hang-up on slow network environment).
6593 (toplevel): Added comment.
6595 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
6597 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6599 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6601 (acap-parse-return-metadata): Ditto.
6604 (toplevel): Fixed typo.
6606 * acap.el: New file.
6607 (acap-network-stream-open): Show "Connecting..." message.
6608 (acap-parse-response): Fixed problem for BYE untagged response.
6609 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6610 (toplevel): Added tiny comments.
6612 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
6614 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6615 space delimiter for uidl response.
6617 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
6619 * elmo-vars.el (elmo-use-semi): Eliminated.
6621 * elmo-util.el (elmo-string-assoc-all): New function.
6623 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6625 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6626 property 'mime-preview-situation for `mime-preview-quit'.
6628 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6630 * elmo.el (elmo-message-fetch-with-cache-process): Call
6631 elmo-message-fetch-internal instead of causing an error when fetch
6632 strategy is 'entire but only 'section cache is available.
6634 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6636 * elmo-version.el (elmo-version): Up to 2.7.2.
6638 * elmo.el (elmo-generic-folder-append-messages): Make
6639 fetch-strategy with `use-cache'.
6641 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6642 (elmo-dop-queue-method-name): New macro.
6644 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6646 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6647 unbalanced parenthesis.
6649 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6651 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6653 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6655 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6656 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6658 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6660 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6663 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6665 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6666 (elmo-message-use-cache-p): Define.
6667 (elmo-folder-msgdb-create): Treat cache.
6669 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6671 * elmo-nntp.el (elmo-network-initialize-session): Call
6672 `elmo-nntp-send-mode-reader'.
6673 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6675 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6677 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6679 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6682 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6683 for `elmo-plugged-p'.
6684 (elmo-open-network-stream): Fixed stream-type argument.
6686 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6688 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6689 unknown archive type is specified.
6691 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6693 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6695 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6696 while loading msgdb.
6698 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6699 (elmo-folder-open-internal): Rewrite.
6701 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6703 * elmo-mime.el (elmo-mime-display-as-is-internal):
6704 Adjust buffer-multibyte status.
6706 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6708 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6709 of elmo-condition-find-key.
6711 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6712 (elmo-condition-in-msgdb-p): Ditto.
6713 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6716 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6718 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6720 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6722 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6723 label for elmo-display-progress.
6725 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6727 * elmo.el (elmo-folder-clear): New method.
6728 (elmo-folder-clear): Define.
6729 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6731 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6732 (elmo-folder-clear): Define.
6734 * elmo-map.el (elmo-folder-clear): Define.
6736 * elmo-version.el (elmo-version): Up to 2.7.1.
6738 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6740 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6743 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6745 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6746 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6748 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6750 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6752 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6755 * elmo-imap4.el (elmo-folder-initialize): Use
6756 elmo-get-network-stream-type.
6758 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6760 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6762 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6764 * elmo.el (elmo-message-encache): Set unread argument for
6767 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6769 * elmo.el (elmo-net-port-info): New method.
6771 * elmo-shimbun.el (elmo-net-port-info): Define.
6772 (elmo-message-encache): Ditto.
6774 * elmo-net.el (elmo-net-port-info): Define as method.
6776 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6777 unplugged status when elmo-enable-disconnected-operation is t.
6779 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6780 of spool folder before checking new number.
6782 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6784 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6785 (elmo-network-setup-session): Ditto.
6786 (elmo-message-fetch-plugged): Ditto.
6787 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6788 (elmo-network-initialize-session): Ditto.
6789 (elmo-pop3-read-response): Abolish 3rd argument.
6790 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6791 (elmo-pop3-read-contents): Ditto.
6792 (elmo-pop3-read-body): Ditto.
6793 (elmo-folder-status): Call elmo-folder-close.
6794 (elmo-pop3-lock): Abolish.
6795 (elmo-pop3-unlock): Ditto.
6796 (elmo-pop3-locked-p): Ditto.
6797 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6799 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6801 * elmo-version.el (elmo-version): Up to 2.7.0.
6803 * elmo-pop3.el (elmo-pop3-debug): New variable.
6804 (elmo-pop3-debug-inhibit-logging): Ditto.
6805 (elmo-pop3-debug): New function.
6806 (elmo-pop3-send-command): Call elmo-pop3-debug.
6807 (elmo-pop3-read-response): Added keep-lock optional argument;
6808 Don't unlock if keep-lock is non-nil.
6809 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6810 (elmo-network-authenticate-session): Bind
6811 elmo-pop3-debug-inhibit-logging as t.
6812 (elmo-network-setup-session): Call elmo-pop3-read-response with
6814 (elmo-pop3-read-msg): Ditto.
6815 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6816 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6817 (elmo-network-initialize-session): Call elmo-pop3-lock.
6818 (elmo-folder-close-internal): Don't clear location-alist slot.
6819 (elmo-folder-check): Clear location-alist slot.
6821 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6823 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6824 (elmo-pop3-send-command): Call elmo-pop3-lock.
6825 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6826 (elmo-pop3-read-contents): Ditto.
6827 (elmo-pop3-lock): New function.
6828 (elmo-pop3-unlock): Ditto.
6829 (elmo-pop3-locked-p): Ditto.
6830 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6833 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6835 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6837 * elmo-util.el (elmo-file-field-primitive-condition-match):
6838 New inline function (Don't fetch file content if "first" or "last").
6839 (elmo-file-field-condition-match): Use
6840 elmo-file-field-primitive-condition-match.
6842 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6845 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6846 (elmo-message-fetch-plugged): Fixed.
6848 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6850 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6852 * elmo.el (elmo-folder-move-messages): Bind
6853 elmo-inhibit-display-retrieval-progress as t while moving messages.
6855 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6857 (elmo-inhibit-display-retrieval-progress): Ditto.
6859 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6860 for retrieval progress;
6861 Don't display progress when total buffer size is smaller than
6862 elmo-display-retrieval-progress-threshold.
6863 (elmo-message-fetch-plugged): Don't display progress when
6864 elmo-inhibit-display-retrieval-progress is non-nil.
6866 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6867 for retrieval progress;
6868 Don't display progress when literal size is smaller than
6869 elmo-display-retrieval-progress-threshold.
6870 (elmo-imap4-message-fetch): Don't display progress when
6871 elmo-inhibit-display-retrieval-progress is non-nil.
6873 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6875 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6876 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6877 (elmo-imap4-message-fetch): Likewise.
6879 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6880 (elmo-shimbun-index-range-alist): Ditto.
6881 (elmo-shimbun-use-entire-index): Abolish.
6882 (shimbun-mua-use-entire-index): Ditto.
6883 (elmo-shimbun-folder): Added new slot `range'.
6884 (elmo-folder-initialize): Setup slot `range'.
6886 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6888 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6889 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6890 (elmo-shimbun-get-headers): Use return value of
6891 `shimbun-article-expiration-days'.
6892 (elmo-folder-close-internal): Clean up last-check slot.
6894 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6895 (elmo-pop3-total-size): New variable.
6896 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6898 * elmo.el (elmo-folder-reserve-status-p): New method.
6900 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6901 (elmo-shimbun-use-entire-index): New user option.
6902 (shimbun-elmo-mua): New class.
6903 (shimbun-mua-search-id): Define.
6904 (shimbun-mua-use-entire-index): Ditto.
6905 (elmo-shimbun-folder:last-check): New slot.
6906 (elmo-shimbun-headers-cache-header-list): Abolish.
6907 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6908 (elmo-shimbun-headers-cache-header-hash): Ditto.
6909 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6910 (elmo-shimbun-headers-cache-last-check): Ditto.
6911 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6912 (elmo-shimbun-headers-check-p): Rewrite.
6913 (elmo-shimbun-msgdb-to-headers): New function.
6914 (elmo-shimbun-get-headers): Rewrite.
6915 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6916 (elmo-folder-open-internal): Get headers only if
6917 `elmo-shimbun-headers-check-p' is non-nil.
6918 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6920 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6921 (elmo-quit): Removed.
6923 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6925 (elmo-msgdb-overview-entity-set-extra): Ditto.
6926 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6928 * elmo-map.el (elmo-folder-status): Don't call
6929 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6932 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6934 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6935 of `elmo-msgdb-search-internal-primitive' when condition's car is
6938 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6940 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6942 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6944 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6945 call `elmo-pipe-drain'.
6947 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6949 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6950 typo. (elmo-cache-folder -> elmo-mark-folder)
6952 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6954 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6955 `elmo-message-fetch'.
6957 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6959 * elmo-net.el (elmo-message-encache): Fixed typo.
6960 (elmo-message-fetch-unplugged): Changed call
6961 `elmo-message-fetch-internal' without argument `outbuf'.
6963 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6965 * elmo.el (elmo-message-encache): Define as generic function.
6966 (elmo-message-fetch-field): New generic function.
6967 (elmo-message-fetch-with-cache-process): Cause an error when
6968 fetch strategy is 'entire but only 'section cache is available.
6969 (toplevel): Fixed nmz folder definition.
6971 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6972 (elmo-msgdb-resume-list-filename): Ditto.
6973 (elmo-queue-filename): Ditto.
6974 (elmo-enable-disconnected-operation): Changed default value to t.
6976 * elmo-util.el (elmo-cache-path-section-p): New function.
6977 (elmo-file-cache-get): Use it.
6978 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6979 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6980 (elmo-dop-queue-save): Ditto.
6982 * elmo-net.el (elmo-folder-status-unplugged): Call
6983 elmo-folder-status-dop.
6984 (elmo-folder-list-messages-unplugged): Implemented.
6985 (elmo-folder-delete-messages-unplugged): Define.
6986 (elmo-folder-msgdb-create): Define.
6987 (elmo-folder-msgdb-create-unplugged): Define.
6988 (elmo-folder-mark-as-read-unplugged): Ditto.
6989 (elmo-folder-unmark-read-unplugged): Ditto.
6990 (elmo-folder-mark-as-important-unplugged): Ditto.
6991 (elmo-folder-unmark-important-unplugged): Ditto.
6992 (elmo-message-encache): Ditto.
6994 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6995 (elmo-dop-queue-save): Ditto.
6997 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6998 `elmo-folder-msgdb-create'.
6999 (elmo-folder-append-buffer): Implemented unplugged operation.
7000 (elmo-folder-append-messages): Call parent method in unplugged status.
7001 (elmo-message-fetch-unplugged): Removed definition.
7002 (elmo-message-fetch-field): Implemented.
7004 * elmo-dop.el (toplevel): Require 'elmo-localdir.
7005 (elmo-dop-folder): Removed variable definition.
7006 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
7007 (elmo-dop-queue-flush): Implemented.
7008 (elmo-dop-queue-merge): Removed definition (TODO).
7009 (elmo-dop-spool-folder): New function.
7010 (elmo-dop-spool-folder-append-buffer): Ditto.
7011 (elmo-dop-spool-folder-list-messages): Ditto.
7012 (elmo-dop-list-deleting-messages): Ditto.
7013 (elmo-folder-append-buffer-dop): Ditto.
7014 (elmo-folder-delete-messages-dop): Ditto.
7015 (elmo-message-encache-dop): New inline function.
7016 (elmo-create-folder-dop): Ditto.
7017 (elmo-folder-mark-as-read-dop): Ditto.
7018 (elmo-folder-unmark-read-dop): Ditto.
7019 (elmo-folder-mark-as-important-dop): Ditto.
7020 (elmo-folder-unmark-important-dop): Ditto.
7021 (elmo-folder-status-dop): Fixed.
7022 (elmo-folder-append-buffer-dop-delayed): New function.
7023 (elmo-folder-delete-messages-dop-delayed): Ditto.
7024 (elmo-dop-msgdb): Ditto.
7026 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7028 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
7030 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7032 * elmo.el (elmo-folder-move-messages): Fixed problem when
7033 `dst-folder' is 'null.
7035 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7037 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
7038 instead of current mark.
7040 * elmo-multi.el (elmo-folder-list-importants-internal): No
7041 operation if importants is not list.
7043 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
7044 Return t if importants is not list.
7046 * elmo-map.el (elmo-map-folder-list-importants): Define.
7047 (elmo-folder-list-importants-internal): Check return value of
7048 `elmo-map-folder-list-importants-internal'.
7050 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
7052 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
7054 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
7056 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
7058 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
7060 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
7061 (Patch is provided by <kita@coe.nttdata.co.jp>).
7063 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7065 * elmo.el (elmo-folder-synchronize): Don't check important mark in
7068 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7070 * elmo.el (elmo-message-fetch): Define.
7071 (elmo-message-fetch-with-cache-process): New generic method.
7072 (elmo-message-fetch-internal): New generic method.
7073 (elmo-folder-synchronize):
7075 * elmo-archive.el (elmo-message-fetch-internal): Define.
7076 (elmo-message-fetch): Eliminated.
7078 * elmo-localdir.el (elmo-message-fetch-internal): Define.
7079 (elmo-message-fetch): Eliminated.
7081 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
7083 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
7085 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
7086 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
7088 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
7089 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
7091 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
7093 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
7095 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
7097 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
7098 (elmo-message-fetch-unplugged): New generic method.
7099 (elmo-message-fetch-internal): Remove cache process (Renamed from
7100 `elmo-message-fetch').
7102 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
7103 (elmo-message-fetch): Eliminated.
7104 (elmo-message-fetch-unplugged): Ditto.
7106 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
7108 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7110 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
7111 of `to-be-deleted' from number-alist to number-list.
7113 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7115 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
7116 (elmo-folder-mark-as-important): Ditto.
7118 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
7120 * elmo.el (elmo-folder): Added process-duplicates slot.
7122 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
7123 (elmo-folder-unmark-read): Ditto.
7124 (elmo-folder-unmark-important): Ditto.
7125 (elmo-folder-mark-as-important): Ditto.
7127 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
7128 duplicated message processing.
7130 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
7132 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7134 * elmo-util.el (elmo-list-subdirectories-1): New function.
7135 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
7136 (elmo-mapcar-list-of-list): New function.
7138 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
7139 `elmo-mapcar-list-of-list' instead of `mapcar'.
7141 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
7143 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
7144 `elmo-have-link-count'. Return the fully qualified folder name.
7146 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
7148 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
7149 (elmo-shimbun-headers-cache): New internal variable.
7150 (elmo-shimbun-headers-cache-header-list): New inline function.
7151 (elmo-shimbun-headers-cache-set-header-list): Ditto.
7152 (elmo-shimbun-headers-cache-header-hash): Ditto.
7153 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
7154 (elmo-shimbun-headers-cache-last-check): Ditto.
7155 (elmo-shimbun-headers-cache-set-last-check): Ditto.
7156 (elmo-shimbun-lapse-seconds): Ditto.
7157 (elmo-shimbun-headers-cache-check-p): Ditto.
7158 (elmo-shimbun-get-headers): New function.
7159 (elmo-folder-open-internal): Call it.
7160 (elmo-quit): Define (Clear headers-cache).
7162 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
7164 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
7166 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
7167 (elmo-msgdb-flist-save): Ditto.
7169 * elmo-shimbun.el (elmo-folder-list-subfolders):
7170 Use `shimbun-groups' instead of `shimbun-groups-internal'.
7171 (elmo-folder-exists-p): Ditto.
7173 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
7174 argument for `shimbun-header-insert'.
7176 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
7178 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
7181 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
7182 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
7184 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
7186 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
7187 (elmo-folder-plugged-p): Define.
7188 (elmo-folder-set-plugged): Ditto.
7189 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
7190 (elmo-folder-list-messages-internal): Return t if unplugged.
7191 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
7193 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
7194 when elmo-folder-list-messages-internal method of children returns t.
7196 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
7198 (elmo-folder-open-internal): Don't update if unplugged status.
7200 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
7202 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
7205 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
7207 * elmo-util.el (elmo-file-cache-save): Ignore errors.
7209 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
7212 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
7214 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
7216 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
7217 (elmo-folder-open-internal): Set up headers slot.
7218 (elmo-folder-check): Call elmo-folder-close-internal and
7219 elmo-folder-open-internal.
7220 (elmo-folder-close-internal): Clean up headers slot.
7222 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
7224 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
7225 exactly folder list.
7226 (elmo-folder-append-messages): Fixed append archive with prefix.
7228 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
7229 make temp files with start-number.
7231 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7233 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7235 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7236 argument `visible-only'.
7237 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7240 * elmo-pop3.el (elmo-folder-open-internal): Check
7241 `elmo-inhibit-number-mapping' is non-nil.
7243 * elmo-pipe.el (elmo-folder-status): Fixed.
7245 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
7247 * elmo.el (elmo-dop-queue-flush): Added autload setting.
7249 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7250 (elmo-folder-open-internal): Setup `header-hash' slot.
7251 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7253 (elmo-map-message-fetch): Ditto.
7255 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
7257 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7258 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7259 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7260 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7262 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7264 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
7266 * sb-airs.el: Added footer.
7268 * shimbun.el (shimbun-article): Define as luna-method.
7270 * sb-tcup.el: New file.
7272 * sb-airs.el (toplevel): Require 'sb-mhonarc.
7273 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7275 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
7277 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7278 (shimbun-get-headers): Ditto.
7280 * elmo.el: Moved obsolete variable definitions from
7281 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7283 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7286 * shimbun.el: New file.
7288 * elmo-shimbun.el: New file.
7290 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7291 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7292 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7293 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7295 2001-03-27 Kenichi OKADA <okada@opaopa.org>
7297 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7300 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
7302 * elmo.el (elmo-folder-msgdb): Define as macro.
7303 (elmo-folder-open): Added argument `load-msgdb'.
7304 (elmo-generic-folder-open): Ditto.
7305 (elmo-folder-encache): New function.
7307 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7309 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7311 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7312 Eliminated argument FOLDER and added argument MSGDB.
7313 (elmo-dop-queue-load): Moved from elmo-dop.el.
7314 (elmo-dop-queue-save): Ditto.
7316 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7318 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7320 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7321 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7322 (elmo-filter-folder-list-importants-internal): Ditto.
7324 * elmo-map.el (elmo-folder-pack-number): Ditto.
7326 * elmo-mime.el (elmo-mime-message-display): Ditto.
7328 * elmo.el (elmo-generic-folder-commit): Ditto.
7329 (elmo-folder-list-unreads): Ditto.
7330 (elmo-folder-list-importants): Ditto.
7331 (elmo-generic-folder-commit): Ditto.
7332 (elmo-message-set-mark): Ditto.
7333 (elmo-generic-folder-append-msgdb): Ditto.
7334 (elmo-folder-synchronize): Ditto.
7335 (elmo-folder-messages): Ditto.
7336 (elmo-init): Call elmo-dop-queue-load.
7337 (elmo-folder-list-messages): Ditto.
7339 * elmo-nntp.el (elmo-folder-update-number): Ditto.
7340 (elmo-nntp-folder-process-crosspost): Ditto.
7341 (elmo-folder-list-unreads-internal): Ditto.
7343 * elmo-dop.el: Removed old functions.
7345 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
7347 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7348 `folder' to `msgdb'.
7350 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
7352 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7353 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7355 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7358 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
7360 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7363 * mmimap.el (toplevel): Require 'mime-parse and 'static.
7364 (mmimap-parse-parameters-from-list): Define as alias for
7365 `mime-decode-parameter-plist' if it is defined as function.
7366 (mmimap-make-mime-entity): Added argument `number'.
7367 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7369 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7371 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7373 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7375 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7377 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
7379 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7381 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7382 when elmo-imap4-default-authenticate-type is nil.
7383 (elmo-folder-list-subfolders): Ditto
7384 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7385 (elmo-imap4-fetch-callback-1-subr): Renamed from
7386 `elmo-imap4-fetch-callback-1' and define as inline function.
7387 (elmo-imap4-fetch-callback-1):
7388 Renamed from `elmo-imap4-fetch-callback'.
7389 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7391 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7392 msgdb path (To keep compatibility with main trunk).
7394 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7396 * elmo-util.el (elmo-make-file-cache): Moved position of
7399 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7400 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7401 instead of `elmo-pop3-inhibit-uidl'.
7402 (elmo-folder-exists-p): Ditto.
7403 (elmo-pop3-folder-list-messages): Ditto.
7405 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7406 instead of `elmo-pop3-inhibit-uidl'.
7407 (elmo-folder-status): Ditto.
7409 * elmo-dop.el (elmo-dop-folder): New variable.
7410 (elmo-dop-lock-message): Eliminated.
7411 (elmo-dop-unlock-message): Ditto.
7412 (elmo-dop-lock-list-load): Ditto.
7413 (elmo-dop-lock-list-save): Ditto.
7414 (elmo-dop-delete-folder): Ditto.
7415 (elmo-dop-rename-folder): Ditto.
7417 * elmo.el: Removed incomplete commentary.
7419 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
7421 * elmo.el (toplevel): Require 'elmo-version first;
7422 for little `recursive-load-depth' settings.
7423 Fix "ends here" comment.
7425 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
7427 * elmo-util.el (toplevel): Require 'poem;
7428 Some functions are moved from elmo-cache.el.
7430 * elmo-net.el (toplevel): Require 'elmo-cache.
7432 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7434 * elmo.el (toplevel): Ditto.
7436 * elmo-cache.el: Rewrite with luna;
7437 Some functions are moved to elmo-util.el.
7439 * elmo-internal.el (elmo-internal-folder-list): New variable.
7440 (elmo-internal-folder-initialize): Rewrite.
7441 (elmo-folder-list-subfolders): Ditto.
7443 * elmo-cache.el (elmo-cache-search-all): Eliminated.
7444 (elmo-cache-collect-sub-directories): Ditto.
7446 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
7448 * elmo-version.el (elmo-version): Up to 2.5.8.
7450 * elmo.el (elmo-folder-list-messages-mark-match): New function.
7452 * elmo-util.el (elmo-list-insert): New function.
7454 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
7456 * elmo.el (elmo-init): New function.
7457 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7459 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7460 (Renamed from `elmo-localdir-header-chop-length').
7462 * elmo-pop3.el (elmo-pop3-use-cache,
7463 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7465 * elmo-nntp.el (elmo-message-fetch): Define.
7466 (elmo-message-fetch-unplugged): Ditto.
7467 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7468 (elmo-nntp-use-cache): Ditto.
7469 (elmo-nntp-max-number-precedes-list-active): Ditto.
7471 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7473 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7474 `elmo-msgdb-insert-file-header'.
7475 Use `elmo-msgdb-file-header-chop-length'.
7477 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7480 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7481 (elmo-cache-msgdb-create-overview-entity-from-file): Use
7482 `elmo-msgdb-insert-file-header'.
7484 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7486 Define obsolete variables with `elmo-define-obsolete-variable',
7488 * elmo-util.el (elmo-warning-buffer-name): New constant.
7489 (elmo-warning): New function.
7490 (elmo-obsolete-variable-alist): New variable.
7491 (elmo-obsolete-variable-show-warnings): New variable.
7492 (elmo-define-obsolete-variable): New function.
7493 (elmo-resque-obsolete-variable): Ditto.
7494 (elmo-resque-obsolete-variables): Ditto.
7496 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7498 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7501 * elmo-pop3.el, elmo-nntp.el: Use custom.
7503 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7505 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7506 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7508 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7510 * Luna-fy Kenichi OKADA's following changes.
7511 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7513 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7515 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
7517 * elmo-util.el (elmo-display-progress): Prefer
7518 `progress-feedback-with-label' to `lprogress-display'.
7520 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7522 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7524 2000-02-19 Kenichi OKADA <okada@opaopa.org>
7526 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7527 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7528 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7529 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7530 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7531 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7532 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7533 * elmo-filter.el (elmo-filter-list-folder): Ditto.
7534 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7535 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7536 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7537 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7538 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7540 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7542 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7543 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7545 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7547 * elmo.el (elmo-folder-process-crosspost): New generic method.
7548 (elmo-folder-writable-p): Ditto.
7549 (elmo-folder-message-appendable-p): Eliminated.
7550 (elmo-generic-folder-append-msgdb): Rewrite.
7551 (elmo-newsgroups-hashtb): New internal variable.
7552 (elmo-crosspost-message-set): Eliminated.
7553 (elmo-crosspost-message-delete): Ditto.
7554 (elmo-setup-subscribed-newsgroups): New function.
7555 (elmo-crosspost-message-alist-modified): New internal variable.
7556 (elmo-crosspost-message-alist-load): New function (Renamed from
7557 `wl-crosspost-alist-load').
7558 (elmo-crosspost-message-alist-save): Ditto (Renamed from
7559 `wl-crosspost-alist-save').
7561 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7563 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7565 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7566 elmo-newsgroups-hashtb).
7567 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7568 `elmo-nntp-folder-update-crosspost-message-alist'.
7569 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7570 `elmo-nntp-groups-hashtb'.
7571 (elmo-nntp-make-groups-hashtb): Eliminated.
7572 (elmo-nntp-parse-newsgroups): New function (Renamed from
7573 `wl-parse-newsgroups').
7574 (elmo-folder-creatable-p, elmo-folder-writable-p,
7575 elmo-folder-close-internal, elmo-folder-mark-as-read,
7576 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7578 (elmo-nntp-folder-update-crosspost-message-alist): New function.
7580 * elmo-net.el (elmo-message-fetch): Check buffer size.
7582 * elmo-multi.el (elmo-multi-split-number-alist): New function.
7584 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7586 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7587 before `close' command.
7589 * elmo.el (elmo-folder-list-unreads-internal): Added argument
7590 `mark-alist' (All other related portions are changed).
7592 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
7594 * elmo-util.el (elmo-create-hash-size): Eliminated.
7595 (elmo-make-hash) Make a hash with `one less than a power of two'
7598 * elmo-vars.el (elmo-hash-minimum-size): New variable.
7599 (elmo-hash-maximum-size): Changed value.
7601 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
7603 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7604 (elmo-mime-message-display-as-is): Ditto.
7606 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
7608 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7609 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7611 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
7613 * elmo-mark.el: New file.
7615 * elmo-internal.el: Rewrite (Almost empty).
7617 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
7619 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7620 (mime-imap-entity-header-string): Ditto.
7621 (mmimap-entity-section): Rewrite.
7623 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7625 * elmo-nmz.el: New file.
7627 * elmo-pipe.el: Rewrite with luna.
7629 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
7631 * elmo-archive.el: Rewrite with luna.
7633 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7634 (elmo-folder-list-importants-internal): Ditto.
7636 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7638 * elmo-archive.el (elmo-archive-version): Abolish.
7639 (toplevel) Removed `boso' comment.
7641 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7643 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7644 elmo-msgdb-add-msgs-to-seen-list-subr;
7645 Changed argument seen-marks to unread-marks.
7647 * elmo-nntp.el: Rewrite with luna.
7649 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7651 * elmo-filter.el: Rewrite with luna.
7653 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7655 * elmo-pop3.el: Rewrite with luna.
7657 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7659 * elmo-multi.el: Rewrite with luna.
7661 * elmo-vars.el (elmo-use-killed-list): Abolish.
7662 All other related portions are changed.
7663 (elmo-filename-replace-string-alist): Renamed from
7664 elmo-msgid-replace-string-alist.
7666 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7668 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7670 * elmo-map.el: New file.
7671 * elmo-maildir.el: Rewrite with luna.
7673 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7675 * elmo.el: Changed meaning of `elmo-folder-commit'.
7676 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7678 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7680 * elmo.el (elmo-folder-append-buffer): New function.
7681 (Renamed from `elmo-append-msg')
7683 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7685 * elmo-mime.el: New file.
7687 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7689 * elmo-cache.el: Rewrite.
7691 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7693 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7695 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7697 * elmo-vars.el (elmo): New group.
7698 (elmo-strict-diff-folder-regexp): New variable.
7700 * elmo-util.el (elmo-call-func): Abolish.
7701 (elmo-folder-get-type): Ditto.
7702 (elmo-*-get-spec): Ditto.
7703 (elmo-*-spec-*): Ditto.
7704 (elmo-imap4-identical-name-space-p): Ditto.
7705 (elmo-folder-identical-system-p): Ditto.
7706 (elmo-folder-direct-copy-alist): Ditto.
7707 (elmo-folder-direct-copy-p): Ditto.
7709 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7710 (elmo-folder-initialize): Define.
7711 (elmo-folder-get-primitive-list): Ditto.
7713 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7714 (elmo-folder-initialize): Define.
7715 Renamed `elmo-network-session-host-internal' to
7716 `elmo-network-session-server-internal'.
7718 * elmo-multi.el (elmo-multi-folder): New luna class.
7719 (elmo-folder-initialize): Define.
7720 (elmo-folder-get-primitive-list): Ditto.
7721 (elmo-folder-contains-type): Ditto.
7722 (elmo-message-use-cache-p): Ditto.
7724 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7725 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7727 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7728 (elmo-folder-initialize): Define.
7730 * elmo-filter.el (elmo-filter-folder): New luna class.
7731 (elmo-folder-initialize): Define.
7732 (elmo-folder-get-primitive-list): Ditto.
7733 (elmo-folder-contains-type): Ditto.
7735 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7737 * elmo-imap4.el: Rewrite with luna.
7739 * mmimap.el: New file.
7741 * mmelmo.el, mmelmo-imap4.el: Removed.
7743 * elmo-net.el: Ditto.
7745 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7746 (elmo-folder-initialize): Define.
7748 * elmo-archive.el (elmo-archive-folder): New luna class.
7749 (elmo-folder-initialize): Define.
7751 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7752 `elmo-folder-msgdb-path'.
7753 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7756 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7758 * elmo.el: New file.
7760 * elmo2.el: Renamed to elmo.el.
7763 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7765 * elmo-cache.el (elmo-cache-expire-by-size): Count
7766 a disk usage for a cache file entry in KB even when
7767 its kind is a directory.
7769 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7771 * elmo-version.el (elmo-version): Up to 2.5.7.
7773 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7775 * elmo-version.el (elmo-version): Up to 2.5.6.
7777 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7779 * elmo-version.el (elmo-version): Up to 2.5.5.
7781 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7783 * elmo-imap4.el (elmo-network-authenticate-session):
7784 Fixed a logic for response checking.
7786 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7788 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7789 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7790 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7793 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7794 for `starttls-open-stream' and `starttls-negotiate'.
7796 * elmo-nntp.el: Remove autoload settings for
7797 `starttls-open-stream' and `starttls-negotiate'.
7799 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7800 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7801 `luna-define-class' with `eval-and-compile'.
7803 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7805 * elmo-util.el (elmo-read-search-condition-internal):
7806 Require an element of table for searching field.
7808 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7810 * elmo-version.el (elmo-version): Up to 2.5.4.
7812 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7814 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7816 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7818 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7820 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7822 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7825 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7827 * elmo-imap4.el (elmo-imap4-delete-folder):
7828 Send "close" before "delete" (Use commented out line).
7829 (elmo-imap4-rename-folder): Ditto.
7831 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7832 folder string itself.
7833 (elmo-dop-list-deleted): New function.
7834 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7837 * elmo-util.el (elmo-string-rassoc-all): New function.
7839 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7841 * elmo-version.el (elmo-version): Up to 2.5.3.
7843 * elmo-net.el (elmo-network-get-session): Changed logic for
7844 checking process status.
7846 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7848 Changed logic for checking process status.
7850 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7852 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7854 (elmo-network-setup-session): Set UIDL hash size according to
7855 the length of list response.
7856 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7857 according to the length of list response;
7858 Return the length of list response.
7859 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7861 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7863 * elmo-imap4.el (toplevel): Require 'ssl.
7864 Add autoload 'starttls.
7865 * elmo-pop3.el (toplevel): Ditto.
7866 * elmo-nntp.el (toplevel): Ditto.
7868 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7870 * elmo-imap4.el (toplevel): defun at compile time.
7871 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7872 sasl-next-step, sasl-step-data, sasl-step-set-data.
7873 * elmo-pop3.el (toplevel): Ditto.
7875 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7877 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7879 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7881 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7883 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7884 and `elmo-pop-auth-apop'.
7886 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7888 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7890 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7892 * elmo-pop3.el (elmo-network-authenticate-session): Split
7893 encoded response value.
7895 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7897 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7898 `elmo-pop3-force-login'.
7899 Redefine `sasl-mechanisms'.
7900 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7902 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7904 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7905 Delete `elmo-imap4-authenticator-alist'.
7906 (elmo-imap4-auth-cram-md5): Delete.
7907 (elmo-imap4-auth-digest-md5): Delete.
7909 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7911 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7912 (elmo-pop3-auth-scram-md5): Ditto.
7913 (elmo-pop3-auth-cram-md5): Ditto.
7915 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7917 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7918 Delete `elmo-pop3-authenticator-alist'.
7920 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7922 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7924 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7926 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7928 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7930 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7932 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7933 Fixed problem when `elmo-pop3-use-uidl' is nil.
7934 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7936 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7938 * elmo-version.el (elmo-version): Up to 2.5.2.
7940 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7942 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7944 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7945 (elmo-pop3-msgdb-create-as-numlist): Use it.
7947 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7948 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7950 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7951 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7953 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7955 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7956 when elmo-mark-as-read is called with second argument nil.
7958 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7960 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7961 Moved to elmo-util.el.
7963 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7964 Moved from elmo-pipe.el
7966 * elmo-archive.el (elmo-archive-call-process): Enclose with
7969 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7970 "RFC822" (because RFC822.PEEK is obsolete).
7971 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7973 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7975 * elmo-archive.el (elmo-archive-call-process): Don't check for
7976 the exit status when Nemacs is running.
7978 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7980 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7983 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7984 (elmo-pop3-get-spec): Set default of auth to 'user.
7986 * elmo-imap4.el (elmo-imap4-session-check):
7987 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7988 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7989 (elmo-imap4-auth-login): New function; Revival.
7990 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7991 `elmo-imap4-auth-login'.
7993 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7995 * elmo2.el (toplevel): Move `product-provide' declare.
7996 * mmelmo.el (toplevel): Ditto.
7998 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
8000 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
8002 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
8004 * elmo-util.el (elmo-folder-get-store-type): New function.
8005 (elmo-folder-direct-copy-p): Use it.
8007 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
8009 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
8010 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
8011 and result of `elmo-imap4-use-flag-p'.
8012 (elmo-imap4-fetch-callback-1): Set mark according to
8013 the result of `elmo-imap4-use-flag-p'.
8015 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
8017 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
8018 (elmo-generic-list-folder-unread): Ditto.
8019 (elmo-folder-get-info): Ditto.
8020 (elmo-folder-set-info-max-by-numdb): Ditto.
8021 (elmo-folder-get-info-max): Ditto.
8022 (elmo-folder-get-info-length): Ditto.
8023 (elmo-folder-get-info-unread): Ditto.
8024 (elmo-folder-info-make-hashtb): Ditto.
8026 * elmo2.el: Removed above functions.
8028 2000-11-21 Kenichi OKADA <okada@opaopa.org>
8030 * elmo-imap4.el (toplevel): Require 'ssl.
8031 Add autoload 'starttls.
8032 * elmo-pop3.el (toplevel): Ditto.
8033 * elmo-nntp.el (toplevel): Ditto.
8035 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8037 * elmo-imap4.el (toplevel): defun at compile time.
8038 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
8039 sasl-next-step, sasl-step-data, sasl-step-set-data.
8040 * elmo-pop3.el (toplevel): Ditto.
8042 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8044 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
8046 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8048 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
8050 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
8051 and `elmo-pop-auth-apop'.
8053 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8055 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
8057 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8059 * elmo-pop3.el (elmo-network-authenticate-session): Split
8060 encoded response value.
8062 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8064 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
8065 `elmo-pop3-force-login'.
8066 Redefine `sasl-mechanisms'.
8067 * elmo-vars.el (elmo-pop3-force-login): Ditto.
8069 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8071 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
8072 Delete `elmo-imap4-authenticator-alist'.
8073 (elmo-imap4-auth-cram-md5): Delete.
8074 (elmo-imap4-auth-digest-md5): Delete.
8076 2000-11-20 Kenichi OKADA <okada@opaopa.org>
8078 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
8079 (elmo-pop3-auth-scram-md5): Ditto.
8080 (elmo-pop3-auth-cram-md5): Ditto.
8082 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8084 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
8085 Delete `elmo-pop3-authenticator-alist'.
8087 2000-11-19 Kenichi OKADA <okada@opaopa.org>
8089 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
8091 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
8094 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
8096 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
8098 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
8100 * elmo-nntp.el (elmo-nntp-get-folders-info):
8101 Fixed problem when '\' character is contained in user-id.
8102 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
8105 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
8107 * elmo-imap4.el (elmo-imap4-delete-folder):
8108 Send "close" before "delete" (Use commented out line).
8109 (elmo-imap4-rename-folder): Ditto.
8111 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
8112 folder string itself.
8113 (elmo-dop-list-deleted): New function.
8114 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
8117 * elmo-util.el (elmo-string-rassoc-all): New function.
8119 * elmo-version.el (elmo-version): Up to 2.5.1.
8121 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
8123 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
8125 * elmo-internal.el (elmo-internal-search): Fix last change.
8127 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
8129 * elmo-internal.el (elmo-internal-search): Rewrite.
8130 (Fixed problem which is pointed out by Akihiro MOTOKI
8131 <motoki@da.jp.nec.com>)
8133 * elmo-version.el (elmo-version): Up to 2.5.0.
8135 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8137 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
8139 2000-11-06 Kenichi OKADA <okada@opaopa.org>
8141 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
8142 non-nil, make hierarchy.
8144 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
8146 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
8147 `elmo-pop3-use-uidl' must be bound to nil.
8148 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
8150 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
8152 * elmo-util.el (elmo-copy-file): Don't cause an error after
8153 `add-name-to-file' failed.
8155 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
8156 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
8158 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
8160 * elmo-version.el (elmo-version): Up to 2.3.93.
8162 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
8164 * elmo-util.el (elmo-flatten): New function.
8166 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
8168 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
8170 * elmo-cache.el (toplevel): Ditto.
8171 * elmo-database.el (toplevel): Ditto.
8172 * elmo-date.el (toplevel): Ditto.
8173 * elmo-dop.el (toplevel): Ditto.
8174 * elmo-filter.el (toplevel): Ditto.
8175 * elmo-imap4.el (toplevel): Ditto.
8176 * elmo-internal.el (toplevel): Ditto.
8177 * elmo-localdir.el (toplevel): Ditto.
8178 * elmo-localnews.el (toplevel): Ditto.
8179 * elmo-maildir.el (toplevel): Ditto.
8180 * elmo-msgdb.el (toplevel): Ditto.
8181 * elmo-multi.el (toplevel): Ditto.
8182 * elmo-net.el (toplevel): Ditto.
8183 * elmo-nntp.el (toplevel): Ditto.
8184 * elmo-pipe.el (toplevel): Ditto.
8185 * elmo-pop3.el (toplevel): Ditto.
8186 * elmo-util.el (toplevel): Ditto.
8187 * elmo-vars.el (toplevel): Ditto.
8188 * elmo2.el (toplevel): Ditto.
8189 * mmelmo-imap4.el (toplevel): Ditto.
8190 * mmelmo.el (toplevel): Ditto.
8192 * elmo-version.el (elmo-version): Move to top.
8194 * elmo-cache.el (toplevel): Fixed multiple Author header format.
8195 * elmo-imap4.el (toplevel): Ditto.
8196 * elmo-localdir.el (toplevel): Ditto.
8197 * elmo-msgdb.el (toplevel): Ditto.
8198 * elmo-nntp.el (toplevel): Ditto.
8199 * elmo-pop3.el (toplevel): Ditto.
8200 * elmo-version.el (toplevel): Ditto.
8202 * elmo-localnews.el (toplevel): Added Keyword header.
8204 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
8206 * elmo-version.el (product-version-as-string): Defined using
8210 * elmo-localdir.el (toplevel): Updated copyright notice.
8211 * elmo-version.el (toplevel): Ditto.
8212 * elmo-msgdb.el (toplevel): Ditto.
8213 * elmo-imap4.el (toplevel): Ditto.
8214 * elmo-nntp.el (toplevel): Ditto.
8215 * elmo-pop3.el (toplevel): Ditto.
8217 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
8219 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
8222 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
8223 parameter value (It sometimes contains raw kanji).
8225 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8227 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
8228 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
8230 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8232 * elmo-imap4.el (elmo-network-initialize-session): Fix.
8234 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8236 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8237 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8239 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
8241 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8242 value if selecting folder succceeded.
8243 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8245 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
8247 * elmo-util.el (elmo-make-directory): Fixed permission lateral
8250 * elmo-util.el (elmo-string-matched-member): New function.
8252 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
8254 * elmo-util.el (elmo-unintern): New macro.
8255 (elmo-number-set-member): Fixed docstring.
8257 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8260 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
8262 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8263 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8265 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
8267 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8270 Return non-nil if selecting folder succeeded.
8271 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8273 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
8275 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8276 `file-name-completion' returns t.
8277 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8278 (elmo-maildir-set-mark): Put `info' part to the files in the cur
8279 directory if it does not exist.
8280 (elmo-maildir-update-current): Use `while' instead of `mapcar'
8283 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
8285 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8286 enclosure (It's harmful in unplugged status).
8288 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8290 * mmelmo-1.el: Removed.
8292 * mmelmo-2.el: Ditto.
8294 * mmelmo-imap4-1.el: Ditto.
8296 * mmelmo-imap4-2.el: Ditto.
8298 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8300 * mmelmo.el: Merged mmelmo-2.el.
8302 * elmo-version.el (elmo-version): Up to 2.3.92.
8304 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
8306 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8307 elmo-update-number): Remove last period in "...done." message.
8308 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8310 * elmo-cache.el (elmo-cache-expire-by-size,
8311 elmo-cache-get-sorted-cache-file-list,
8312 elmo-cache-msgdb-create-as-numlist): Ditto.
8313 * elmo-dop.el (elmo-dop-save-pending-messages,
8314 (elmo-dop-flush-pending-append-operations): Ditto.
8315 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8316 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8317 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8318 (elmo-localdir-pack-number): Ditto.
8319 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8320 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8321 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8322 mime-write-entity-content): Ditto.
8323 * pldap.el (ldap-search-basic): Ditto.
8325 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
8327 * elmo-version.el (elmo-version): Up to 2.3.91.
8329 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8330 Only when filter is 'last'.
8332 * elmo-util.el (elmo-condition-atom-regexp): New constant.
8333 (elmo-condition-parse-search-value): Use it.
8334 (elmo-read-search-condition-internal): Quote value only when
8337 2000-10-18 Kenichi OKADA <okada@opaopa.org>
8339 * elmo2.el (elmo-generic-folder-diff): Fix.
8341 2000-10-17 Kenichi OKADA <okada@opaopa.org>
8343 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8344 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8345 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8346 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8347 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8348 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8350 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
8352 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8355 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
8357 * elmo-version.el (elmo-version): Up to 2.3.90.
8359 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8360 (elmo-imap4-list-folder-important): Ditto.
8362 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8364 * elmo-nntp.el (elmo-network-initialize-session): Fix.
8366 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8368 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8370 2000-10-15 Kenichi OKADA <okada@opaopa.org>
8372 * elmo-nntp.el (elmo-network-initialize-session):
8373 Add starttls negotiation.
8375 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8377 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8379 (elmo-network-setup-session): Define.
8380 Call `elmo-nntp-send-mode-reader' when session opened.
8382 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8384 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8386 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
8388 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8389 an invalid SPACE character ahead of `SEARCH' command. Move
8390 a valid SPACE character following `SEARCH' from conditional
8391 `format' arguments to control-strings.
8393 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8395 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8398 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8400 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
8402 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8403 `w32-get-true-file-link-count' as t.
8405 * elmo-imap4.el (elmo-imap4-read): Abolished.
8406 (Renamed to `elmo-read' and moved to elmo-util.el)
8407 All other related portions are changed.
8409 * elmo-util.el (elmo-read): New function.
8410 (elmo-condition-parse-search-value): Use it.
8412 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
8414 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8416 * elmo-nntp.el (elmo-nntp-session): Define.
8417 (elmo-nntp-setting): Abolished.
8418 All other related portions are changed.
8419 (elmo-nntp-get-server-command): Changed argument.
8420 (elmo-nntp-set-server-command): Ditto.
8421 (elmo-nntp-xover-p): Ditto.
8422 (elmo-nntp-set-xover): Ditto.
8423 (elmo-nntp-listgroup-p): Ditto.
8424 (elmo-nntp-set-listgroup): Ditto.
8425 (elmo-nntp-list-active-p): Ditto.
8426 (elmo-nntp-set-list-active): Ditto.
8427 (elmo-nntp-xhdr-p): Ditto.
8428 (elmo-nntp-set-xhdr): Ditto.
8429 (elmo-nntp-flush-connection): Abolished.
8430 (elmo-nntp-get-connection): Abolished.
8431 (elmo-nntp-get-session): New function.
8432 (elmo-network-initialize-session): Defined.
8433 (elmo-network-authenticate-session): Ditto.
8434 (elmo-nntp-send-mode-reader): Changed argument.
8435 (elmo-nntp-send-command): Changed argument.
8436 All other related portions are changed.
8437 (elmo-nntp-read-response): Ditto.
8438 (elmo-nntp-read-raw-response): Ditto.
8439 (elmo-nntp-read-contents): Ditto.
8440 (elmo-nntp-read-body): Ditto.
8441 (elmo-nntp-goto-folder): Abolished.
8442 (elmo-nntp-select-group): New function.
8443 All other related portions are changed.
8444 (This function substitutes `elmo-nntp-goto-folder')
8445 (elmo-nntp-msgdb-create-by-header): Rewrite.
8446 (elmo-nntp-get-overview): Eliminated.
8447 (elmo-nntp-get-message): Ditto.
8448 (elmo-nntp-open-connection) Abolished.
8449 (elmo-nntp-read-msg): Rewrite.
8450 (elmo-nntp-post): Ditto.
8451 (elmo-nntp-send-data): Abolished.
8452 (elmo-nntp-send-buffer): New function.
8453 (elmo-nntp-send-data-line): Define as inline function.
8454 (elmo-nntp-get-folders-info-prepare): Use session as key.
8455 (elmo-nntp-groups-read-response): Changed argument.
8456 (elmo-nntp-retrieve-headers): Ditto.
8457 (elmo-nntp-msgdb-create-message): Ditto.
8459 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8460 when searching by 'since' or 'before'.
8462 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
8464 * elmo-version.el (toplevel): Use product-version-as-string for set
8465 verstion-string, if defined.
8467 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
8469 * elmo-util.el: Doc fixes.
8471 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8473 * elmo-archive.el (toplevel): Use product-provide.
8474 * elmo-cache.el (toplevel): Ditto.
8475 * elmo-database.el (toplevel): Ditto.
8476 * elmo-date.el (toplevel): Ditto.
8477 * elmo-dop.el (toplevel): Ditto.
8478 * elmo-filter.el (toplevel): Ditto.
8479 * elmo-imap4.el (toplevel): Ditto.
8480 * elmo-internal.el (toplevel): Ditto.
8481 * elmo-localdir.el (toplevel): Ditto.
8482 * elmo-localnews.el (toplevel): Ditto.
8483 * elmo-maildir.el (toplevel): Ditto.
8484 * elmo-msgdb.el (toplevel): Ditto.
8485 * elmo-multi.el (toplevel): Ditto.
8486 * elmo-net.el (toplevel): Ditto.
8487 * elmo-nntp.el (toplevel): Ditto.
8488 * elmo-pipe.el (toplevel): Ditto.
8489 * elmo-pop3.el (toplevel): Ditto.
8490 * elmo-util.el (toplevel): Ditto.
8491 * elmo-vars.el (toplevel): Ditto.
8492 * elmo2.el (toplevel): Ditto.
8493 * mmelmo-1.el (toplevel): Ditto.
8494 * mmelmo-2.el (toplevel): Ditto.
8495 * mmelmo-imap4-1.el (toplevel): Ditto.
8496 * mmelmo-imap4-2.el (toplevel): Ditto.
8497 * mmelmo-imap4.el (toplevel): Ditto.
8498 * mmelmo.el (toplevel): Ditto.
8500 2000-10-10 Kenichi OKADA <okada@opaopa.org>
8502 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8503 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8505 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
8507 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8509 (elmo-multi-split-number-alist): Ditto.
8511 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8513 * elmo-version.el: New file. Use product.el.
8514 * elmo2.el: Add (require 'elmo-version).
8515 * elmo-vars.el (elmo-appname, elmo-version): Move to
8518 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
8520 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8521 `elmo-msgdb-expand-path'.
8522 (elmo-msgdb-load): Ditto.
8523 Abolished 2nd argument. If 1st argument is not string, treat as spec.
8524 (elmo-generic-list-folder-unread): Rewrite.
8525 (elmo-generic-list-folder-important): Changed argument.
8526 (elmo-list-folder-unread): Ditto.
8527 (elmo-list-folder-important): Ditto.
8528 (elmo-folder-diff): Rewrite.
8529 (elmo-generic-folder-diff): New function.
8530 (elmo-multi-get-number-alist-list): Abolished
8531 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8532 (elmo-multi-folder-diff): Moved to elmo-multi.el
8533 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8535 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8536 `elmo-msgdb-expand-path'.
8537 (elmo-pop3-msgdb-create-as-numlist): Ditto.
8538 (elmo-pop3-read-msg): Ditto.
8539 (elmo-pop3-delete-msgs): Ditto.
8540 (elmo-pop3-folder-diff): New alias.
8542 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8543 `elmo-msgdb-expand-path'.
8544 (elmo-pipe-list-folder-unread): Changed arguments.
8545 (elmo-pipe-list-folder-important): Ditto.
8546 (elmo-pipe-folder-diff): New alias.
8548 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8549 `elmo-msgdb-expand-path'.
8550 (elmo-nntp-max-of-folder): Ditto.
8551 (elmo-nntp-msgdb-create): Ditto.
8552 (elmo-nntp-delete-msgs): Ditto.
8553 (elmo-nntp-folder-diff): New alias.
8555 * elmo-multi.el (elmo-multi-folder-diff): New function.
8556 (elmo-multi-split-mark-alist): Ditto.
8557 (elmo-multi-split-number-alist): Ditto.
8558 (elmo-multi-mark-alist-list): Abolished (Renamed to
8559 elmo-multi-split-mark-alist).
8560 (elmo-multi-list-folder-unread): Rewrite.
8561 (elmo-multi-list-folder-important): Ditto.
8562 (elmo-multi-list-folder): Set `spec' as 1st argument for
8563 `elmo-msgdb-expand-path'.
8564 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8565 instead of `elmo-multi-get-number-alist-list'.
8567 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8568 If 1st argument is not string, treat as spec.
8569 (elmo-list-folder-by-location): Set `spec' as 1st argument for
8570 `elmo-msgdb-expand-path'.
8571 (elmo-msgdb-flist-load): Ditto.
8572 (elmo-msgdb-flist-save): Ditto.
8573 (elmo-msgdb-delete-path): Ditto.
8574 (elmo-msgdb-rename-path): Ditto.
8576 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8577 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8578 (elmo-maildir-delete-mark-msgs): Ditto.
8579 (elmo-maildir-msgdb-create): Ditto.
8580 (elmo-maildir-read-msg): Ditto.
8581 (elmo-maildir-delete-msgs): Ditto.
8582 (elmo-maildir-list-folder-subr): Ditto.
8583 (elmo-maildir-search): Ditto.
8584 (elmo-maildir-get-msg-filename): Ditto.
8585 (elmo-maildir-pack-number): Ditto.
8586 (elmo-maildir-folder-diff): New alias.
8588 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8590 * elmo-localdir.el (elmo-localdir-list-folder-subr):
8591 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8592 (elmo-localdir-folder-diff): New alias.
8594 * elmo-internal.el (elmo-internal-list-folder-subr):
8595 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8596 (elmo-internal-list-folder-by-location): Ditto.
8597 (elmo-internal-msgdb-create): Ditto.
8598 (elmo-internal-delete-msgs): Ditto.
8599 (elmo-internal-read-msg): Ditto.
8600 (elmo-internal-folder-diff): New alias.
8602 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8603 (elmo-imap4-list-folder): Set `spec' as 1st argument for
8604 `elmo-msgdb-expand-path'.
8605 (elmo-imap4-list-folder-unread): Changed arguments.
8606 (elmo-imap4-list-folder-important): Ditto.
8608 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8609 (elmo-filter-list-folder-important): Ditto.
8610 (elmo-filter-folder-diff): New function.
8612 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8614 * elmo-cache.el (elmo-cache-list-folder):
8615 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8616 (elmo-cache-copy-msgs): Ditto.
8617 (elmo-cache-folder-diff): New alias.
8619 * elmo-archive.el (elmo-archive-list-folder-subr):
8620 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8621 (elmo-archive-get-archive-name): Ditto.
8622 (elmo-archive-create-file): Ditto.
8623 (elmo-archive-append-msg): Ditto.
8624 (elmo-archive-copy-msgs): Ditto.
8625 (elmo-archive-copy-msgs-froms): Ditto.
8626 (elmo-archive-get-msg-filename): Ditto.
8627 (elmo-archive-folder-diff): New alias.
8629 2000-10-06 Daiki Ueno <ueno@unixuser.org>
8631 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8632 (elmo-pop3-stream-type-alist): New variable.
8633 (elmo-nntp-stream-type-alist): New variable.
8635 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8636 (elmo-kill-buffer): Ditto.
8637 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8638 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8639 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8640 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8641 (elmo-imap4-get-spec): Take into account
8642 `elmo-imap4-stream-type-alist'.
8644 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8646 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8647 (elmo-nntp-list-folders-get-cache): Ditto.
8649 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8651 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8652 character before 'uid'.
8654 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8656 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8658 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8660 * elmo-util.el (elmo-number-set-member): New function.
8661 (elmo-number-set-append-list): Ditto.
8662 (elmo-number-set-append): Ditto.
8664 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8665 Use `elmo-number-set-member'.
8666 (elmo-living-messages): Ditto.
8667 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8668 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8670 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8671 (elmo-imap4-add-to-cont-list): Abolished.
8672 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8673 instead of elmo-imap4-add-to-cont-list.
8675 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8676 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8678 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8680 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8682 * elmo-util.el (elmo-condition-parse-search-value):
8685 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8687 * elmo-util.el (elmo-condition-find-key-internal): New function.
8688 (elmo-condition-find-key): Ditto.
8690 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8691 (elmo-msgdb-search-internal): Ditto.
8692 (elmo-msgdb-search): Ditto.
8694 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8696 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8697 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8699 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8700 (elmo-nntp-search-primitive): Fixed problem when condition is
8703 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8705 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8706 (elmo-nntp-xhdr-p): New macro.
8707 (elmo-nntp-set-xhdr): Ditto.
8708 (elmo-nntp-parse-xhdr-response): New function.
8709 (elmo-nntp-retrieve-field): Ditto.
8710 (elmo-nntp-search-primitive): Ditto.
8711 (elmo-nntp-search): Implemented.
8713 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8715 * elmo-archive.el (elmo-archive-search): Set all number list to
8716 `elmo-archive-field-condition-match'
8718 * elmo-localdir.el (elmo-localdir-search): Likewise.
8720 * elmo-maildir.el (elmo-maildir-search): Likewise.
8722 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8724 * elmo-msgdb.el (elmo-living-messages): New function.
8725 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8726 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8727 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8728 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8729 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8730 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8731 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8732 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8733 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8734 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8735 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8737 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8739 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8741 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8743 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8745 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8746 arguments for `SEARCH' command.
8747 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8748 All other related portions are changed.
8750 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8752 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8753 (elmo-list-folder-unread): Rewrite.
8754 (elmo-list-folder-important): Ditto.
8756 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8757 (elmo-condition-parse-error): New inline function.
8758 (elmo-read-search-condition): New function.
8759 (elmo-read-search-condition-internal): Ditto.
8760 (elmo-parse-search-condition): Rewrite.
8761 (elmo-condition-parse): New function.
8762 (elmo-condition-parse-or-expr): Ditto.
8763 (elmo-condition-parse-and-expr): Ditto.
8764 (elmo-condition-parse-primitive): Ditto.
8765 (elmo-condition-parse-search-value): Ditto.
8766 (elmo-buffer-field-primitive-condition-match): Ditto.
8767 (elmo-buffer-field-condition-match): Rewrite.
8768 (elmo-file-field-condition-match): Ditto.
8770 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8771 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8773 * elmo-internal.el (elmo-internal-search): Set `number' and
8774 `number-list' argument of `elmo-file-field-condition-match'.
8776 * elmo-maildir.el (elmo-maildir-search): Ditto.
8778 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8779 `msgdb' as argument instead of `mark-alist'.
8780 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8783 * elmo-multi.el: Likewise.
8785 * elmo-pipe.el: Likewise.
8787 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8788 (elmo-imap4-search-internal): Rewrite.
8789 (elmo-imap4-search): Ditto.
8791 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8792 (elmo-filter-list-folder-unread): Ditto.
8793 (elmo-filter-list-folder-important): Ditto.
8794 (elmo-filter-search): Rewrite.
8796 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8797 `number-list' argument of `elmo-file-field-condition-match'.
8798 (elmo-cache-search): Ditto.
8800 * elmo-localdir.el: Likewise.
8802 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8803 number-list and pass it to `elmo-buffer-field-condition-match'.
8804 (elmo-archive-field-condition-match): Pass `number-list' to
8805 `elmo-archive-field-condition-match'
8807 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8809 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8812 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8813 (elmo-folder-diff-async-callback-data): Ditto.
8814 (elmo-folder-diff-async): New function.
8816 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8817 (elmo-network-session-cache-key): Use it as a prefix of the session
8819 (elmo-network-open-session): Ditto.
8821 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8822 (elmo-imap4-status-callback-data): Ditto.
8823 (elmo-imap4-server-diff-async-callback): New variable.
8824 (elmo-imap4-server-diff-async-callback-data): Ditto.
8825 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8826 `elmo-imap4-status-callback-data'.
8827 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8828 `elmo-imap4-status-callback-data' as nil.
8829 (elmo-imap4-server-diff): Ditto.
8830 (elmo-imap4-server-diff-async-callback-1): New function.
8831 (elmo-imap4-server-diff-async): Ditto.
8832 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8834 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8836 * elmo-util.el (elmo-list-delete): Doc fix.
8837 (elmo-delete-lists): Abolish.
8838 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8839 instead of `elmo-delete-lists'.
8841 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8843 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8846 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8848 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8849 `elmo-imap4-literal-subr'.
8850 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8851 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8853 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8855 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8856 (elmo-archive-list-folder): Fix.
8857 (elmo-archive-max-of-folder): Fix.
8859 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8861 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8862 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8863 (elmo-localdir-append-msg): Ditto.
8864 (elmo-localdir-list-folder): Fix for `nonsort'.
8865 (elmo-localdir-list-folder-subr): Fix for `killed'.
8866 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8867 (elmo-maildir-list-folder-subr): Ditto.
8868 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8869 (elmo-archive-list-folder-subr): Ditto.
8870 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8871 (elmo-internal-list-folder-subr): Ditto.
8873 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8875 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8877 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8879 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8881 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8883 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8884 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8886 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8888 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8889 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8891 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8893 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8895 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8896 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8897 before STORE command.
8899 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8901 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8903 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8904 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8906 (elmo-imap4-list-folders): Removed unused local variable.
8907 (elmo-network-initialize-session): Ditto.
8908 (elmo-imap4-delete-msg-by-id): Ditto.
8909 (elmo-imap4-parse-fetch): Ditto.
8910 (elmo-imap4-copy-msgs): Ditto.
8911 Use `dst-spec' instead of `dst-folder'.
8912 (elmo-network-authenticate-session): Check authenticate type `plain'.
8914 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8916 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8918 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8919 `elmo-imap4-response-value'.
8920 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8922 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8924 * elmo-imap4.el (elmo-imap4-send-command):
8925 Cause elmo-imap4-bye-error when current response is BYE.
8926 (elmo-imap4-arrival-filter): Changed greeting response value.
8928 * elmo2.el (elmo-imap4-bye-error): Define.
8930 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8931 (elmo-imap4-server-diff): Ditto.
8932 (elmo-imap4-response-bye-p): New macro.
8933 (elmo-imap4-response-error-text): Get text from BYE response.
8934 (elmo-imap4-read-response): Return if BYE response.
8935 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8936 (elmo-imap4-folder-exists-p): Ditto.
8937 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8938 (elmo-imap4-parse-bye): New function.
8939 (elmo-imap4-parse-response): Remove needless let.
8940 Call `elmo-imap4-parse-bye'.
8942 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8944 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8945 the mailbox does not exist.
8946 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8948 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8950 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8952 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8954 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8956 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8957 (elmo-network-initialize-session-buffer): Defined.
8959 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8961 (mmelmo-imap4-get-mime-entity): Rewrite.
8963 * elmo2.el (elmo-error): Capitalize error message.
8965 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8966 (elmo-network-session-buffer): New macro.
8967 (elmo-network-open-session): Use it.
8969 * elmo-imap4.el: Rewrite.
8971 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8973 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8975 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8977 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8978 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8979 (elmo-imap4-create-msgdb-from-overview-string): Use
8980 `elmo-msgdb-create-overview-from-buffer'.
8982 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8984 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8985 (elmo-imap4-default-hierarchy-delimiter): New variable.
8986 (elmo-imap4-list-folders): Use it.
8988 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8990 * elmo-net.el (elmo-network-open-session): Add user and
8991 stream-type for process-buffer name.
8993 * elmo-pop3.el (elmo-network-initialize-session): Call
8994 buffer-disable-undo.
8996 * elmo-imap4.el (elmo-network-initialize-session):
8997 Set current-buffer as an argument for `buffer-disable-undo'.
8999 * elmo-pop3.el (elmo-network-close-session): Don't use
9002 * elmo-vars.el (elmo-default-pop3-authenticate-type):
9003 Set default as 'user.
9005 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
9007 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
9008 and `elmo-imap4-flush-connection'.
9010 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
9011 (elmo-pop3-get-spec): Assume auth as symbol.
9012 (elmo-open-network-stream): Moved to `elmo-net'.
9014 * elmo-pop3.el (toplevel): Require 'elmo-net.
9015 Define `sasl-cram-md5' to silence byte compilier.
9016 (elmo-pop3-connection-cache) Abolished.
9017 (elmo-pop3-authenticator-alist) New variable.
9018 (elmo-pop3-session): Define.
9019 (elmo-pop3-connection-get-process): Abolished.
9020 (elmo-pop3-connection-get-buffer): Ditto.
9021 (elmo-pop3-close-connection): Ditto.
9022 (elmo-pop3-flush-connection): Ditto.
9023 (elmo-pop3-get-connection): Ditto.
9024 (elmo-pop3-get-session): New function.
9025 (Replacement for `elmo-pop3-get-connection').
9026 All other related modules are changed.
9027 (elmo-network-close-session): Define.
9028 (elmo-pop3-send-command): Abolished argument `buffer'.
9029 All other related modules are changed.
9030 (elmo-pop3-read-response): Likewise.
9031 (elmo-pop3-open-connection): Abolished.
9032 (elmo-pop3-auth-user): New function.
9033 (elmo-pop3-auth-apop): Ditto.
9034 (elmo-pop3-auth-cram-md5): Ditto.
9035 (elmo-pop3-auth-scram-md5): Ditto.
9036 (elmo-pop3-auth-digest-md5): Ditto.
9037 (elmo-network-initialize-session): Define.
9038 (elmo-network-authenticate-session): Ditto.
9039 (elmo-network-setup-session): Ditto.
9041 * elmo-imap4.el (toplevel): Require 'elmo-net.
9042 (elmo-imap4-session): Define.
9043 (elmo-imap4-connection-cache): Abolished.
9044 (elmo-imap4-password-key): Ditto.
9045 (elmo-imap4-flush-connection): Ditto.
9046 (elmo-imap4-get-connection): Ditto.
9047 All other related modules are changed.
9048 (elmo-imap4-get-session): New function
9049 (Replacement for `elmo-imap4-get-connection').
9050 (elmo-imap4-read-response): Abolished argument `buffer'.
9051 All other related modules are changed.
9052 (elmo-imap4-send-command): Likewise.
9053 (elmo-imap4-select-folder): Abolished.
9054 All other related modules are changed.
9055 (elmo-imap4-select-mailbox): New function.
9056 (Replacement for `elmo-imap4-select-folder').
9057 (elmo-imap4-auth-login): Simplify.
9058 (Assume current buffer as process buffer)
9059 (elmo-imap4-auth-cram-md5): Ditto.
9060 (elmo-imap4-auth-digest-md5): Ditto.
9061 (elmo-imap4-login): Ditto.
9062 (elmo-imap4-open-connection): Abolished.
9063 (elmo-imap4-open-connection-1): Abolished.
9064 (elmo-network-initialize-sessoin): Define.
9065 (elmo-network-authenticate-session): Ditto.
9066 (elmo-network-setup-session): Ditto.
9068 * elmo-net.el: New module.
9070 2000-08-22 Daiki Ueno <ueno@unixuser.org>
9072 * elmo-util.el (elmo-define-error): New function.
9074 * elmo2.el (elmo-error): Define.
9075 (elmo-open-error): Define.
9076 (elmo-authenticate-error): Define.
9078 * elmo-imap4.el (elmo-imap4-error): Abolish.
9079 (elmo-imap4-error-type): Abolish.
9080 (elmo-imap4-error-process): Abolish.
9081 (elmo-imap4-error-message): Abolish
9082 (elmo-imap4-list-folders): Don't quote lambda.
9083 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
9084 (elmo-imap4-parse-namespace): Ditto.
9085 (elmo-imap4-open-connection): Rewrite.
9086 (elmo-imap4-open-connection-1): Simplified (authenticate only).
9087 (elmo-imap4-get-connection): Abolish local variable `result'.
9089 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
9091 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
9092 wrong-type-argument error when auth is nil.
9094 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
9096 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
9097 (elmo-default-nntp-stream-type): Ditto.
9098 (elmo-default-pop3-stream-type): Ditto.
9099 (elmo-network-stream-type-alist): Ditto.
9100 (elmo-default-imap4-ssl): Abolished.
9101 (elmo-default-nntp-ssl): Ditto.
9102 (elmo-default-pop3-ssl): Ditto.
9104 * elmo-util.el: (toplevel): Removed needless requires.
9105 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
9106 (elmo-open-network-stream): Open network stream according to
9107 the value of `elmo-network-stream-type-alist'.
9108 (elmo-get-network-stream-type): New function.
9109 (elmo-network-stream-type-spec-string): New macro.
9110 (elmo-network-stream-type-symbol): Ditto.
9111 (elmo-network-stream-type-function): Ditto.
9113 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
9114 network-stream-type. All other related portions are changed.
9115 (elmo-pop3-open-connection): Ditto.
9117 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
9118 network-stream-type. All other related portions are changed.
9120 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
9121 network-stream-type.All other related portions are changed.
9122 (elmo-imap4-error): New macro.
9123 (elmo-imap4-error-type): Ditto.
9124 (elmo-imap4-error-process): Ditto.
9125 (elmo-imap4-error-message): Ditto.
9126 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
9127 (elmo-imap4-auth-cram-md5): Ditto.
9128 (elmo-imap4-auth-digest-md5): Ditto.
9129 (elmo-imap4-login): Ditto.
9130 (elmo-imap4-open-connection): Remove password entry if authentication
9132 (elmo-imap4-user-at-host): Abolished.
9133 (elmo-imap4-password-key): New buffer local variable.
9134 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
9135 using protocol, port, auth and stream-type.
9137 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
9139 2000-08-13 Daiki Ueno <ueno@unixuser.org>
9141 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
9143 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
9145 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
9146 (elmo-imap4-authenticator-alist): New variable.
9147 (elmo-imap4-open-connection-1): Rename from
9148 elmo-imap4-open-connection.
9149 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
9150 only wraps elmo-imap4-open-connection-1.
9151 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
9153 (elmo-imap4-auth-login): New function.
9154 (elmo-imap4-auth-cram-md5): New function.
9155 (elmo-imap4-auth-digest-md5): New function.
9156 (elmo-imap4-login): New function.
9158 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9160 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
9163 2000-08-12 Kenichi OKADA <okada@opaopa.org>
9165 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
9167 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
9169 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
9171 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
9173 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
9174 for server responses, quote `*' regardless of where it appears.
9176 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9178 * elmo-maildir.el (elmo-maildir-commit): New alias.
9180 2000-08-03 Kenichi OKADA <okada@opaopa.org>
9182 * elmo-util.el (elmo-display-progress):
9183 Use `progress-feedback-with-label'.
9185 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
9187 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
9188 (elmo-imap4-non-atom-char-regex): Ditto.
9189 (elmo-imap4-non-text-char-regex): Ditto.
9190 (elmo-imap4-literal-threshold): Ditto.
9191 (elmo-imap4-atom-p): New function.
9192 (elmo-imap4-quotable-p): Ditto.
9193 (elmo-imap4-nil): Ditto.
9194 (elmo-imap4-atom): Ditto.
9195 (elmo-imap4-quoted): Ditto.
9196 (elmo-imap4-literal-subr): Ditto.
9197 (elmo-imap4-literal): Ditto.
9198 (elmo-imap4-buffer-literal): Ditto.
9199 (elmo-imap4-string-subr): Ditto.
9200 (elmo-imap4-string): Ditto.
9201 (elmo-imap4-buffer-string): Ditto.
9202 (elmo-imap4-astring-subr): Ditto.
9203 (elmo-imap4-astring): Ditto.
9204 (elmo-imap4-buffer-astring): Ditto.
9205 (elmo-imap4-nstring): Ditto.
9206 (elmo-imap4-buffer-nstring): Ditto.
9207 (elmo-imap4-mailbox): New alias.
9208 (elmo-imap4-field-body): Ditto.
9209 (elmo-imap4-userid): Ditto.
9210 (elmo-imap4-password): Ditto.
9211 (elmo-imap4-format-quoted): New function.
9212 (elmo-imap4-send-command): Rewritten. Accept a list of command
9213 arguments and handle "atom", "quoted" and "literal" string here.
9214 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
9215 `elmo-imap4-send-command'.
9216 (elmo-imap4-folder-exists-p): Likewise.
9217 (elmo-imap4-create-folder): Likewise.
9218 (elmo-imap4-delete-folder): Likewise.
9219 (elmo-imap4-rename-folder): Likewise.
9220 (elmo-imap4-max-of-folder): Likewise.
9221 (elmo-imap4-check-validity): Likewise.
9222 (elmo-imap4-sync-validity): Likewise.
9223 (elmo-imap4-server-diff): Likewise.
9224 (elmo-imap4-select-folder): Likewise.
9225 (elmo-imap4-copy-msgs): Likewise.
9226 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
9227 (elmo-imap4-mark-set-on-msgs): Likewise.
9228 (elmo-imap4-read-part): Likewise.
9229 (elmo-imap4-read-msg): Likewise.
9230 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
9231 `elmo-imap4-password' for `elmo-imap4-send-command'.
9232 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9233 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9234 `elmo-imap4-buffer-literal'.
9235 (elmo-imap4-append-msg): Likewise.
9237 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9238 `delete' for removing dead connection from the connection cache.
9239 Move deletion of the process buffer after that.
9240 (elmo-imap4-list): Change `defsubst' to `defun'.
9241 (elmo-imap4-commit): Make error message verbose.
9242 (elmo-imap4-search): Ditto.
9243 (elmo-imap4-list): Ditto.
9244 (elmo-imap4-select-folder): Ditto.
9245 (elmo-imap4-copy-msgs): Ditto.
9246 (elmo-imap4-delete-msg-by-id): Ditto.
9247 (elmo-imap4-append-msg-by-id): Ditto.
9248 (elmo-imap4-append-msg): Ditto.
9250 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9252 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9253 when dired is used on XEmacs.
9255 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
9257 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9258 instead of `append'.
9259 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9260 `elmo-plugged-p' directly.
9261 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9262 of `elmo-plugged-p' directly.
9264 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9265 Eliminate unused variable. Use `memq' for checking a process status.
9266 Use `cons' instead of `append' for updating the connection cache.
9267 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9268 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9270 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
9272 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9273 `elmo-imap4-read-point' exactly.
9275 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9276 the local variable `folder' to `mailbox'.
9277 Rename the argument `fld' to `folder'.
9279 2000-07-20 Kenichi OKADA <okada@opaopa.org>
9281 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9282 * elmo-imap4.el (elmo-imap4-commit): Ditto.
9284 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
9286 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9287 (elmo-pop3-number-uidl-hash): New buffer-local variable.
9288 (elmo-pop3-uidl-number-hash): Ditto.
9289 (elmo-pop3-size-hash): Ditto.
9290 (elmo-pop3-uidl-done): Ditto.
9291 (elmo-pop3-list-done): Ditto.
9292 (elmo-pop3-connection-get-process): New defmacro.
9293 (elmo-pop3-connection-get-buffer): Ditto.
9294 (elmo-pop3-close-connection): Delete buffer and process.
9295 (elmo-pop3-flush-connection): Don't delete buffer and process.
9296 (elmo-pop3-get-connection): Added optional argument `if-exists'.
9297 Setup UIDL and size hash.
9298 (elmo-pop3-send-command-no-erase): Deleted
9299 (elmo-pop3-send-command): Added optional argument `no-erase'.
9300 (elmo-pop3-parse-uidl-response): New function.
9301 (elmo-pop3-parse-list-response): Set size hash.
9302 (elmo-pop3-list-location): New function.
9303 (elmo-pop3-list-by-uidl-subr): Ditto.
9304 (elmo-pop3-list-by-list): Ditto.
9305 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9306 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9307 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9308 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9309 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9311 (elmo-pop3-uidl-to-number): New function.
9312 (elmo-pop3-number-to-uidl): Ditto.
9313 (elmo-pop3-number-to-size): Ditto.
9314 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9315 Set number by use of uidl.
9316 (elmo-pop3-msgdb-create-message): Likewise.
9317 Set size, loc-alist in msgdb.
9318 (elmo-pop3-read-msg): Set number by use of uidl.
9319 Added optional argument `msgdb'.
9320 (elmo-pop3-delete-msg): Ditto.
9321 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9322 (elmo-pop3-commit): Close connection.
9324 * elmo-pipe.el (elmo-pipe-max-of-folder):
9325 Bind `elmo-pop3-use-uidl' as nil.
9326 (elmo-pipe-drain): Ditto.
9329 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9330 (elmo-msgdb-overview-entity-set-size): New defsubst.
9332 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
9334 * elmo-vars.el (elmo-use-killed-list): New variable
9335 (Renamed from `elmo-nntp-use-killed-list').
9336 (elmo-nntp-use-killed-list): Eliminated.
9338 * elmo-msgdb.el (elmo-msgdb-expand-path):
9339 Changed expanding msgdb path for elmo-multi.
9341 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9342 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9343 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9344 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9345 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9346 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9347 (toplevel): Deleted time-stamp line.
9349 * elmo2.el (elmo-clear-killed ): Defined as function
9350 (Abolished defining as a backend function).
9351 All other related modules are changed.
9353 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9355 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9357 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
9359 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9361 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
9363 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9365 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
9367 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9368 asynchronous folder check.
9370 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9372 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9373 `elmo-nntp-use-killed-list'.
9374 (elmo-nntp-list-folder): Use killed list.
9375 (elmo-nntp-max-of-folder): Ditto.
9376 (elmo-nntp-msgdb-create): Set killed list.
9378 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9380 * elmo2.el (elmo-clear-killed): New backend function.
9381 All other related modules are changed.
9383 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
9385 * elmo-util.el (elmo-imap4-spec-folder): Use
9386 `elmo-imap4-spec-mailbox'; Mark as obsolete.
9387 All callers changed.
9389 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
9391 * mmelmo-2.el (initialize-instance):
9392 Use `mime-buffer-entity-buffer-internal' instead of
9393 `mime-entity-buffer'.
9395 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9396 (mime-entity-body): Implemented.
9397 (mime-goto-header-start-point): Deleted.
9398 (mime-goto-body-end-point): Ditto.
9399 (mime-entity-point-min): Ditto.
9400 (mime-entity-point-max): Ditto.
9401 (mime-entity-children): Ditto.
9402 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9403 instead of `mime-entity-buffer'.
9404 (mime-entity-header-buffer): Ditto.
9405 (mime-entity-body-buffer): Ditto.
9406 (mime-write-entity-content): Ditto.
9408 * pldap.el (ldap-static-if): New macro.
9409 (toplevel): Use it instead of `static-if'.
9411 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
9413 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9414 included in `attrs' argument.
9416 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
9418 * elmo-util.el (elmo-get-passwd): Use old backquote style.
9420 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9421 (ldap-ldif-safe-init-char-regexp): Ditto.
9422 (ldap-ldif-safe-string-regexp): Ditto.
9423 (ldap/ldif-safe-string-p): New macro.
9424 (ldap/ldif-insert-field): Ditto.
9425 (ldap-modify): Use it.
9427 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9428 (ldap-decode-attribute): Decode only when `attr' is consp.
9429 (ldap-delete): Bind `ret'.
9430 (toplevel): Require 'cl at compile time.
9431 Removed (require 'poe) and (require 'std11).
9432 (pldap-version): Eliminated.
9433 (ldap-search-basic): Removed auth and dn binding.
9434 (ldap-ldif-field-name-regexp): New constant.
9435 (ldap-ldif-field-head-regexp): Ditto.
9436 (ldap-ldif-next-field-head-regexp): Ditto.
9437 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9438 (ldap/field-end): New function.
9439 (ldap/field-body): Use it.
9440 (ldap/collect-field): Ditto.
9441 (ldap-search-basic): Use `ldap/field-body'.
9443 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
9445 * pldap.el (ldap-default-attribute-encoder): New user option.
9446 (ldap/field-body): Decode base64 string.
9447 (ldap/collect-field): Ditto.
9448 (ldap-encode-attribute): New function.
9449 (ldap-add-entries): Use it.
9450 (ldap-modify-entries): Ditto.
9451 (ldap-search-entries): Enclosed decoding function with
9452 `with-temp-buffer' and set as unibyte.
9453 (ldap-search-basic): Set process buffer as unibyte.
9455 * elmo-util.el (elmo-folder-identical-system-p):
9456 Eliminated name space checking.
9458 * pldap.el: New module.
9459 toplevel: Changed condition to detect built-in ldap feature.
9460 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9461 (ldap-add): Added error handling.
9462 (ldap-modify): Ditto.
9463 (ldap-delete): Ditto.
9465 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
9467 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9468 Initialize local variables with `let'. Inline a temporary
9469 variable for the progress percentage. Sort `setq' to reduce
9470 function call in the while-loop.
9472 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9473 into the conditional branch.
9475 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
9477 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9478 Move a conditional out of the while-loop.
9480 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9482 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9483 elmo-msgdb-overview-get-entity-by-number.
9484 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9487 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
9489 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9490 the local variable for a packed number self descriptively.
9492 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9494 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9495 * elmo-localdir.el (elmo-localdir-pack-number): Use
9496 `elmo-msgdb-overview-get-entity' instead of
9497 `elmo-msgdb-overview-get-entity-by-number'.
9498 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9499 (elmo-msgdb-search-overview-entity): Removed.
9500 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9501 by message-id or number.
9502 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9503 instead of `elmo-msgdb-overview-get-entity-by-number'.
9505 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9507 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9508 non-nil, use hash table for overview.
9509 (elmo-hash-maximum-size): New variable.
9510 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9511 (elmo-msgdb-make-overview-hashtb): New function.
9512 (elmo-msgdb-clear-overview-hashtb): New function.
9513 (elmo-clear-hash-val): New macro.
9514 All other related modules are changed.
9516 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
9518 * elmo2.el (elmo-move-msgs): If there's other message with
9519 same message-id, don't use cache.
9521 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
9523 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9524 number is already packed.
9526 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
9528 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9530 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9532 * elmo-vars.el (elmo-display-progress-threshold): New variable.
9533 All other related modules are changed.
9535 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
9537 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9538 of refiling failure on Maildir.
9540 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9542 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9543 decoded mime-charset with cache.
9544 (elmo-msgdb-overview-entity-get-from): Ditto.
9545 (elmo-msgdb-overview-entity-get-subject): Ditto.
9546 * elmo-vars.el (elmo-use-decoded-cache): New variable.
9548 2000-05-10 Kenichi OKADA <okada@opaopa.org>
9550 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9551 (elmo-remove-passwd): Fill password with 0 before erase.
9552 * elmo-vars.el (elmo-passwd-life-time): New variable.
9555 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
9557 * elmo-cache.el (elmo-buffer-cache-add):
9558 Set message cache buffer as unibyte.
9560 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9562 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9565 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
9567 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9568 when display is finished.
9569 (elmo-nntp-msgdb-create): Ditto.
9570 (elmo-nntp-groups-read-response): Ditto.
9571 (elmo-nntp-retrieve-headers): Ditto.
9572 (elmo-nntp-msgdb-create-message): Ditto.
9573 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9574 (elmo-pop3-msgdb-create-message): Ditto.
9576 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9578 * elmo-maildir.el (elmo-maildir-msgdb-create):
9579 Use `elmo-msgdb-sort-by-date'.
9581 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
9583 * elmo2.el (elmo-read-msg-no-cache):
9584 Eliminated arguments after `outbuf'.
9585 Don't use cache even if it exists.
9586 (elmo-read-msg): Don't pass arguments after `outbuf' to
9587 `elmo-read-msg-no-cache'.
9589 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9591 * elmo-archive.el (elmo-archive-list-folders):
9592 Use `file-name-directory' if base folder does not exist.
9594 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
9596 * elmo-archive.el (elmo-archive-list-folders): Don't use
9597 `file-name-directory'.
9599 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
9601 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9602 If `force' is non-nil, try flushing all operation queues.
9604 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
9606 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9609 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9611 * elmo-util.el (elmo-display-progress): Fixed.
9613 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9615 * elmo-util.el (elmo-display-progress): New function.
9616 All other related modules are changed.