1 2008-02-20 TAKAHASHI Kaoru <kaoru@kaisei.org>
3 * elmo-util.el: Add (eval-when-compile (require 'static)).
5 2008-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
7 * mmimap.el: Remove (require 'static).
10 * elmo-flag.el: Move ';;; Code:' comment.
11 * elmo-imap4.el: Ditto.
14 * elmo-version.el (product-provide): Fix comment.
16 2008-02-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
18 * slp.el: Add (eval-when-compile (require 'cl)).
19 * elmo-date.el: Ditto.
20 * elmo-pop3.el: Ditto.
21 * elmo-mime.el: Add (eval-when-compile (require 'elmo)).
23 2008-02-17 TAKAHASHI Kaoru <kaoru@kaisei.org>
25 * modb.el (elmo-msgdb-match-condition-primitive): Use
26 `string-to-number' instead of `string-to-int'.
28 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer)
29 (elmo-msgdb-message-match-condition)
30 (elmo-msgdb-create-message-entity-from-buffer): Use
31 `string-to-number' instead of `string-to-int'.
33 * elmo.el (elmo-folder-confirm-appends): Use `string-to-number'
34 instead of `string-to-int'.
36 * elmo-util.el (elmo-cache-expire-by-age): Use `string-to-number'
37 instead of `string-to-int'.
39 * elmo-pop3.el (elmo-pop3-list-by-list, elmo-folder-status): Use
40 `string-to-number' instead of `string-to-int'.
42 * elmo-nntp.el (elmo-nntp-make-msglist)
43 (elmo-folder-list-messages-plugged, elmo-nntp-folder-status)
44 (elmo-nntp-create-msgdb-from-overview-string)
45 (elmo-nntp-parse-xhdr-response, elmo-nntp-msgdb-create-message)
46 (elmo-nntp-search-primitive): Use `string-to-number' instead of
49 * elmo-net.el (elmo-net-folder-set-parameters): Use
50 `string-to-number' instead of `string-to-int'.
52 * elmo-localdir.el (elmo-localdir-list-subr): Use
53 `string-to-number' instead of `string-to-int'.
55 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Use
56 `string-to-number' instead of `string-to-int'.
58 * elmo-date.el (elmo-date-get-datevec): Use `string-to-number'
59 instead of `string-to-int'.
61 * elmo-archive.el (elmo-archive-list-folder-subr): Use
62 `string-to-number' instead of `string-to-int'.
64 2008-02-16 TAKAHASHI Kaoru <kaoru@kaisei.org>
66 * elmo-util.el (elmo-get-passwd): Fix typo.
68 * elmo-nntp.el (elmo-nntp-get-server-command)
69 (elmo-nntp-set-server-command, elmo-nntp-xover-p)
70 (elmo-nntp-listgroup-p, elmo-nntp-set-listgroup)
71 (elmo-nntp-list-active-p, elmo-nntp-set-list-active)
72 (elmo-nntp-xhdr-p, elmo-nntp-set-xhdr): New backquote style.
74 * elmo-imap4.el (elmo-imap4-debug)
75 (elmo-imap4-response-continue-req-p, elmo-imap4-response-ok-p)
76 (elmo-imap4-response-bye-p, elmo-imap4-response-garbage-p)
77 (elmo-imap4-response-value, elmo-imap4-response-error-text)
78 (elmo-imap4-response-bodydetail-text, elmo-imap4-value)
79 (elmo-imap4-nth, elmo-imap4-detect-search-charset)
80 (elmo-imap4-identical-system-p): New backquote style.
82 2008-02-15 TAKAHASHI Kaoru <kaoru@kaisei.org>
84 * elmo-dop.el (elmo-make-dop-queue): New backquote style.
85 (elmo-dop-queue-fname, elmo-dop-queue-method): Ditto.
86 (elmo-dop-queue-arguments): Ditto.
88 * elmo-date.el (elmo-match-substring): New backquote style.
89 (elmo-match-string, elmo-match-buffer): Ditto.
90 (elmo-date-make-sortable-string): Ditto.
92 * elmo-archive.el (elmo-archive-get-method):New backquote style.
93 (elmo-archive-get-suffix, elmo-archive-get-regexp): Ditto.
95 * elmo-multi.el (elmo-multi-real-folder-number): New backquote
98 * elmo-net.el (elmo-network-stream-type-spec-string): New
100 (elmo-network-stream-type-symbol): Ditto.
101 (elmo-network-stream-type-feature): Ditto.
102 (elmo-network-stream-type-function): Ditto.
103 (elmo-network-session-buffer): Ditto.
105 * elmo-util.el (elmo-file-cache-expand-path): New backquote style.
106 (elmo-file-cache-status, elmo-file-cache-path): Ditto.
107 (elmo-make-file-cache, elmo-string, elmo-get-passwd): Ditto.
108 (elmo-bind-directory, elmo-set-work-buf): Ditto.
110 * elmo.el (elmo-folder-send): New backquote style.
112 2008-02-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
114 * pldap.el (ldap-static-if): New backquote style.
115 (ldap/ldif-safe-string-p): Ditto.
116 (ldap/ldif-insert-field): Ditto.
118 * elmo-version.el (elmo-version): Up to 2.15.6.
120 2008-01-31 Yoichi NAKAYAMA <yoichi@geiin.org>
122 * elmo-imap4.el (elmo-folder-list-messages-plugged): Don't include
123 messages with \Deleted flag.
124 (elmo-folder-delete-messages-plugged): Ask before sending expunge
125 command if there are messages with \Deleted flag.
127 2007-04-24 Yoichi NAKAYAMA <yoichi@geiin.org>
129 * elmo-pop3.el (elmo-pop3-auth-apop): Use more strict regexp.
130 http://seclists.org/bugtraq/2007/Apr/0018.html
131 (Suggested by Tatsuya Kinoshita)
133 2007-04-16 Yoichi NAKAYAMA <yoichi@geiin.org>
135 * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
136 with \Noselect attribute.
138 2007-04-15 Yoichi NAKAYAMA <yoichi@geiin.org>
140 * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
141 hierarchical folder structure with UW-imapd.
143 2007-02-12 Yoichi NAKAYAMA <yoichi@geiin.org>
145 * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
146 when the LOGINDISABLED capability is advertised.
148 2007-01-27 Yoichi NAKAYAMA <yoichi@geiin.org>
150 * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
152 2007-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
154 * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
156 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
157 if the message entity is exists.
159 2007-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
161 * elmo-util.el (elmo-msgdb-insert-file-header): Call
162 `elmo-delete-cr-buffer'.
164 * elmo-localdir.el (elmo-message-fetch-internal): Use
165 `insert-file-contents-as-raw-text' instead of
166 `insert-file-contents-as-binary'.
168 * elmo-maildir.el (elmo-map-message-fetch): Ditto.
170 2006-12-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
172 * elmo-imap4.el (elmo-network-initialize-session): Check to
173 retrieve a whole greeting message.
175 2006-11-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
177 * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
179 2006-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
181 * elmo-util.el (elmo-safe-plist-get): New alias or macro.
182 (elmo-progress-notify): Use it instead of `plist-get'.
184 2006-11-19 Yoichi NAKAYAMA <yoichi@geiin.org>
186 * elmo.el (elmo-generic-folder-append-messages): Remove unused
189 2006-11-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
191 * elmo-pipe.el (elmo-folder-set-plugged): Define.
193 2006-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
195 * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
196 (elmo-spam-list-spam-messages): Check it option.
198 2006-11-08 Tetsurou Okazaki <okazaki@be.to>
200 * elmo-util.el (elmo-with-progress-display): Return the value
201 of the last form in `body'.
203 2006-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
205 * elmo-util.el (elmo-progress-start): Accept nil for `total'. Set
206 `elmo-progress-counter' as t when a query callback returns nil.
207 (elmo-progress-clear): New function.
208 (elmo-progress-done): Split into `elmo-progress-clear'.
209 (elmo-progress-notify): Update a total slot when it is nil.
210 (elmo-with-progress-display): Call `elmo-progress-clear' in
211 unwind-protect and move calling `elmo-progress-done' to outside.
213 * elmo-imap4.el (elmo-imap4-find-next-line): Call
214 `elmo-progress-notify' with :total parameter instead of
215 `elmo-progress-counter-set-total'.
217 2006-11-07 Tetsurou Okazaki <okazaki@be.to>
219 * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
221 (elmo-progress-start): Avoid updating `elmo-progress-counter'
222 when a query callback returns nil. Return a progress counter
223 instead of t whenever a start callback was called.
225 2006-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
227 * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
228 (elmo-imap4-send-command): Use it.
229 (elmo-network-initialize-session): Ditto.
230 (elmo-network-setup-session): Ditto.
231 (elmo-folder-msgdb-create-plugged): Ditto.
233 2006-11-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
235 * elmo-util.el (elmo-progress-done): Fix a miss refer to
236 `elmo-progress-counter'.
238 2006-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
240 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
241 (elsp-bsfilter-list-spam-filter): New function.
242 (elsp-bsfilter-start-list-spam): Ditto.
243 (elsp-bsfilter-read-list-spam): Ditto.
244 (elmo-spam-list-spam-messages): Use async process to display
245 progress message by each message.
247 2006-11-03 Yoichi NAKAYAMA <yoichi@geiin.org>
249 * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
250 of flushing previously inserted message contents.
252 * elmo-imap4.el (elmo-folder-search): Fix return value.
254 2006-11-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
256 * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
257 of reporter is enable or not.
259 2006-10-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
261 * elmo-util.el (elmo-list-bigger-diff): Abolish.
262 (elmo-display-progress): Ditto.
263 (elmo-progress-counter-alist): Ditto.
264 (elmo-progress-set): Ditto.
265 (elmo-progress-clear): Ditto.
266 (elmo-progress-counter-all-value): Rename to
267 `elmo-progress-counter-total'.
268 (elmo-progress-counter-format): Rename to
269 `elmo-progress-counter-action'.
270 (elmo-progress-counter): New internal variable.
271 (elmo-progress-callback-function): Ditto.
272 (elmo-progress-counter-label): New function.
273 (elmo-progress-counter-set-total): Ditto.
274 (elmo-progress-counter-set-action): Ditto.
275 (elmo-progress-call-callback): Ditto.
276 (elmo-progress-start): Ditto.
277 (elmo-progress-done): Ditto.
278 (elmo-progress-notify): Rewrite.
279 (elmo-with-progress-display): Remove first argument
280 `condition'. Add optional argument `var' in `spec'.
282 * elmo-vars.el (elmo-display-progress-threshold): Abolish.
283 (elmo-display-retrieval-progress-threshold): Ditto.
284 (elmo-inhibit-display-retrieval-progress): Ditto.
286 * Replace all pair of `elmo-progress-set' and
287 `elmo-progress-clear' into `elmo-with-progress-display'.
289 * Replace to call `elmo-display-progress' into pair of
290 `elmo-progress-notify' and `elmo-with-progress-display'.
292 * elmo-version.el (elmo-version): Up to 2.15.5.
294 2006-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
296 * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
299 2006-10-15 Yoichi NAKAYAMA <yoichi@geiin.org>
301 * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
302 cleanup-forms [wl:14027].
304 2006-10-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
306 * elmo-flag.el (elmo-global-flag-set-internal): Use
307 `elmo-copy-file' by priority when the message is a file.
309 2006-10-01 Yoichi NAKAYAMA <yoichi@geiin.org>
311 * elmo.el: Fix typo: disptch -> dispatch.
313 2006-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
315 * elmo.el (elmo-file-tag): New class.
316 (elmo-append-messages-disptch-table): New constant.
317 (elmo-folder-type-p): New function.
318 (elmo-folder-append-messages): Redefine as function.
320 * elmo-null.el (elmo-folder-append-messages): Renamed from
321 `elmo-folder-append-messages'.
323 * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
324 (elmo-folder-append-messages-*-maildir): Renamed from
325 `elmo-folder-append-messages'.
327 * elmo-localdir.el (elmo-localdir-folder): Inherit
329 (elmo-folder-append-messages-*-localdir): Renamed from
330 `elmo-folder-append-messages'.
332 * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
333 from `elmo-folder-append-messages'.
335 * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
336 `elmo-folder-append-messages'.
338 * elmo-filter.el (elmo-folder-append-messages-filter-*): New
340 (elmo-folder-append-messages-*-filter): Ditto.
342 * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
344 * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
345 (elmo-folder-append-messages-*-pipe): Renamed from
346 `elmo-folder-append-messages'.
348 * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
350 * elmo-file.el (elmo-file-folder): Ditto.
352 * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
354 * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
355 from `elmo-folder-append-messages'
357 2006-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
359 * elmo-map.el (elmo-location-map-setup): Change an argument
360 `locations' to optional.
361 (elmo-location-map-clear): Abolish.
362 (elmo-folder-clear): Follow the API change.
364 * elmo-pop3.el (elmo-folder-clear): Ditto.
366 * elmo-pop3.el (toplevel): Require elmo-map.
367 (elmo-pop3-folder): Inherit elmo-location-map and abolish
368 location-alist slot (All other related portions are changed).
369 (elmo-pop3-folder-use-uidl): New function.
370 (elmo-folder-msgdb-create): Don't sort message entities.
371 (elmo-pop3-sort-msgdb-by-original-number): Abolish.
372 (elmo-pop3-number-to-size): Convert return value to number.
373 (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
376 * elmo-map.el: Use `location-map' as a variable name for instance
378 (elmo-location-map-setup): Return location alist.
379 (elmo-location-map-update): Ditto.
381 2006-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
383 * elmo-map.el (elmo-location-map): New class; split location and
384 number mapping from elmo-map-folder (All other related portions
387 * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
390 * elmo-version.el (elmo-version): Up to 2.15.4.
392 2006-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
394 * elmo-vars.el (elmo-use-hardlink): New user option.
396 * elmo-util.el (elmo-add-name-to-file): Switch implementations by
399 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
401 (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
402 instead of `*-internal'. Use `elmo-with-progress-display'.
404 2006-09-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
406 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
407 `elmo-spam-process-messages-as-mbox'.
409 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
411 2006-08-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
413 * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
414 argument BUFFER of `call-process'.
416 2006-08-27 Yoichi NAKAYAMA <yoichi@geiin.org>
418 * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
420 (elsp-bsfilter-list-spam-files): Ditto.
422 2006-08-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
424 * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
425 (elmo-spam-bsfilter-max-messages-per-process): New use option.
426 (elmo-spam-bsfilter-debug): Fix a group.
427 (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
429 (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
430 (elsp-bsfilter-list-spam-files): New function.
431 (elmo-spam-list-spam-messages): Define.
432 (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
433 (elmo-spam-bsfilter-register-messages): New function.
434 (elmo-spam-register-spam-messages): Define.
435 (elmo-spam-register-good-messages): Ditto.
437 * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
439 * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
442 2006-08-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
444 * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
445 hash table to test whether a location is exists.
447 2006-08-20 Yoichi NAKAYAMA <yoichi@geiin.org>
449 * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
450 even if some error occurred.
452 * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
453 meaningless unwind-protect.
455 * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
456 start-number correctly.
457 * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
458 * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
460 2006-08-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
462 * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
463 (elmo-folder-initialize): Use it.
464 (elmo-global-flag-replace-referrer): New function.
466 * elmo.el (toplevel): Added autoload setting for
467 `elmo-global-flag-replace-referrer'.
468 (elmo-folder-rename): Rewrite the last change use
469 `elmo-global-flag-replace-referrer'.
471 * elmo-pipe.el (elmo-folder-rename): Call
472 `elmo-global-flag-replace-referrer'.
474 2006-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
476 * elmo.el (elmo-folder-rename): Set meta data for global flags
479 2006-07-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
481 * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
483 (elmo-folder-close): Ditto.
484 (elmo-filter-folder-number-list-loaded-p): New function.
485 (elmo-filter-folder-number-list): Check whether loaded or not.
486 (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
487 of `elmo-filter-folder-number-list-internal'.
488 (elmo-folder-delete-messages): Ditto.
489 (elmo-folder-length): Check whether number-list is loaded or not.
491 2006-06-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
493 * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
494 field `real field' into each element of list.
495 (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
496 (elmo-msgdb-message-entity-field): Ditto.
497 (modb-entity-ml-info-real-fields): New function.
499 * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
501 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
502 `elmo-msgdb-extra-fields'.
504 2006-05-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
506 * elmo-util.el (elmo-passwd-alist-load): Move point to min
507 position before read.
509 2006-05-15 Yoichi NAKAYAMA <yoichi@geiin.org>
511 * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
512 (elmo-global-flags-initialize): Ditto.
514 2006-05-14 Yoichi NAKAYAMA <yoichi@geiin.org>
516 * elmo-archive.el (toplevel): Don't require emu, std11
519 * elmo-localdir.el (elmo-message-file-name): Remove duplicate
522 2006-05-07 Yoichi NAKAYAMA <yoichi@geiin.org>
524 * elmo.el (elmo-folder-confirm-appends): Display folder name.
526 2006-04-29 Yoichi NAKAYAMA <yoichi@geiin.org>
528 * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
531 2006-04-21 Yoichi NAKAYAMA <yoichi@geiin.org>
533 * elmo-maildir.el (elmo-maildir-list-location): Reduce
534 `elmo-get-last-modification-time' call.
536 2006-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
538 * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
540 (elmo-maildir-set-mark): Ditto.
541 (elmo-maildir-delete-mark): Ditto.
543 2006-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
545 * elmo-util.el (elmo-collect-separators-internal): Add 2nd
546 optional argument `separators'.
548 2006-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
550 * elmo.el (cache-changed): Abolish.
551 (status-changed): New signal.
552 (elmo-message-killed-p): New generic function and define for
554 (elmo-folder-recover-messages): Ditto.
555 (elmo-message-set-cached): Emit signal `status-changed' instead of
557 (elmo-message-status): New macro.
558 (elmo-message-status-folder): Ditto.
559 (elmo-message-status-number): Ditto.
560 (elmo-message-status-set-flags): Ditto.
561 (elmo-message-status-set-killed): Ditto.
562 (elmo-message-status-flags): New function.
563 (elmo-message-status-cached-p): Ditto.
564 (elmo-message-status-killed-p): Ditto.
566 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
567 `status-changed' instead of `cache-changed'.
568 (elmo-folder-recover-messages): Define.
569 (elmo-message-killed-p): Ditto.
571 * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
572 `status-changed' instead of `cache-changed'.
574 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
575 (elmo-message-killed-p): Define.
576 (elmo-folder-recover-messages): Ditto.
578 * elmo-version.el (elmo-version): Up to 2.15.3.
580 2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
582 * elmo-signal.el (elmo-signal-bindings): Use cons to append
584 (elmo-define-signal-handler): Add docstring.
585 (elmo-define-signal-filter): Ditto.
587 * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
589 2006-02-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
591 * elmo-util.el (elmo-flatten): Don't use recursive call.
593 * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
595 (elmo-folder-message-make-temp-files): Use `number-to-string'
596 instead of `int-to-string'.
598 2006-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
600 * elmo-search.el (elmo-folder-delete-messages): Define.
602 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
604 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
606 (elmo-mailing-list-count-spec-list): Ditto.
608 * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
611 2006-01-22 Yoichi NAKAYAMA <yoichi@geiin.org>
613 * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
616 2006-01-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
618 * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
619 (elmo-mailing-list-count-spec-list): Ditto.
621 * elmo-util.el (elmo-map-until-success): New function.
622 (elmo-string-match-substring): Ditto.
623 (elmo-find-list-match-value): Ditto.
625 * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
627 (modb-entity-extract-ml-info-from-subject): Ditto.
628 (modb-entity-extract-ml-info-from-return-path): Ditto.
629 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
630 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
631 (modb-entity-extract-ml-info-from-mailman): Ditto.
632 (modb-entity-extract-mailing-list-info-functions): Ditto.
633 (modb-entity-extract-mailing-list-info): Rewrite with
634 `elmo-find-list-match-value'.
636 2006-01-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
638 * elmo-net.el (elmo-network-session-retry-count): New user option.
639 (elmo-network-session-buffer-name): New internal function.
640 (elmo-network-session-buffer-create): Ditto.
641 (elmo-network-open-session): Retry open network session
642 `elmo-network-session-retry-count' times.
644 2005-12-16 Tetsurou Okazaki <okazaki@be.to>
646 * elmo-util.el (elmo-list-filter): Rewritten.
648 2005-12-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
650 * elmo-util.el (elmo-string-member): Allow symbol element in list.
652 2005-11-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
654 * elmo-search.el (elmo-make-search-engine): Use prefix
655 `elmo-search-' for require symbol instead of `else-'.
656 (elmo-search-engine-extprog): New class.
657 (elmo-search-engine-do-search): Remove nil from argument
658 list. Added argument pattern to evaluate element as function.
659 (elmo-search-engine-local-file): Derived from
660 `elmo-search-engine-extprog'.
661 (elmo-search-engine-create-message-entity): Check existance of file.
662 (elmo-search-engine-fetch-message): Ditto.
663 (elmo-search-namazu-index): Follow the API change.
664 (elmo-search-grep-target): Ditto.
666 2005-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
668 * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
669 characters of working buffer.
671 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
672 Does not bind `default-mime-charset'.
673 (elmo-msgdb-create-message-entity-from-buffer): Removed
674 unnecessary local bind.
676 * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
678 (modb-entity-extract-mailing-list-info-functions): Added it.
680 2005-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
682 * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
683 when number and message-id are non-nil.
685 * modb-standard.el (elmo-msgdb-append-entity): Ditto.
687 * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
688 conditional steatment.
689 (elmo-pop3-auth-apop): Likewise.
690 (elmo-network-authenticate-session): Likewise.
692 2005-11-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
694 * elmo-mime.el (elmo-mime-header-max-column): Set default value as
695 symbol `fill-column'.
696 (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
699 * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
700 (elmo-decoded-field-body): Ditto.
702 2005-11-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
704 * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
705 `tokens' to `params'.
707 2005-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
709 * elmo-split.el (elmo-split-subr): Disable multibyte characters of
712 2005-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
714 * elmo-search.el (elmo-search-namazu-index): Fixed the order to
717 2005-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
719 * elmo-search.el (elmo-search-engine-alist): Define with defvar;
720 Set default value as nil.
721 (toplevel): Register search engines by
722 `elmo-search-register-engine' if there are not defined.
724 * elmo.el (autoload): Added autoload setting for
725 `elmo-search-register-engine'.
727 2005-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
729 * elmo.el (toplevel): `[' is redefined as the prefix of the search
730 folder instead of nmz folder.
731 (elmo-nmz-default-index-path): Added obsolete variable setting.
732 (elmo-nmz-index-alias-alist): Ditto.
733 (elmo-nmz-use-drive-letter): Ditto.
735 * elmo-search.el (elmo-search-register-engine): New function.
737 * elmo-nmz.el: Removed.
739 * elmo-version.el (elmo-version): Up to 2.15.2.
741 2005-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
743 * elmo-search.el: New file.
745 2005-09-02 Yoichi NAKAYAMA <yoichi@geiin.org>
747 * modb-entity.el (elmo-msgdb-message-match-condition): Add new
748 condition `larger' and `smaller'.
750 2005-07-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
752 * elmo-util.el (elmo-safe-filename): Rewrite to replace
753 `"' (double quote) into "_Q_".
755 2005-07-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
757 * elmo-net.el (elmo-net-quote-chars): Abolish.
758 (elmo-net-format-quoted): Ditto.
760 2005-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
762 * elmo.el (elmo-get-folder-function): New variable.
763 (elmo-get-folder): New function.
764 (elmo-folder-rename): Call `elmo-make-folder' with specified
767 * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
769 (elmo-split-subr): Ditto.
771 * elmo-multi.el (elmo-folder-initialize): Ditto.
773 * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
775 * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
776 (elmo-flag-get-folder): Ditto.
778 * elmo-filter.el (elmo-folder-initialize): Ditto.
780 * elmo-access.el (elmo-folder-initialize): Ditto.
781 (elmo-access-folder-update-children): Ditto.
783 * elmo-dop.el (elmo-dop-queue-flush): Ditto.
784 (elmo-dop-queue-flush): Ditto.
785 (elmo-folder-append-buffer-dop-delayed): Ditto.
786 (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
789 * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
790 instead of `elmo-make-folder'.
791 (elmo-folder-rename): Ditto. Use `elmo-folder-rename' to
792 destination folder instead of send `elmo-folder-rename-internal'.
794 * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
795 slot of subfolder instead of create it.
797 2005-06-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
799 * elmo-util.el (elmo-collect-separators): New function.
800 (elmo-collect-separators-internal): Ditto.
801 (elmo-collect-trail-separators): Ditto.
802 (elmo-parse-separated-tokens): Ditto.
803 (elmo-parse-separated-tokens-internal): Ditto.
804 (elmo-quote-syntactical-element): Ditto.
806 * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
807 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
809 * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
810 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
811 (elmo-nntp-folder-list-subfolders): Quote a user name.
813 * elmo-net.el (elmo-net-folder-name-syntax): New constant.
814 (elmo-net-parse-network): Abolish.
815 (elmo-net-folder-set-parameters): New function.
816 (elmo-folder-initialize): Follow the above change.
818 * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
819 (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
820 (elmo-folder-list-subfolders): Use
821 `elmo-quote-syntactical-element' instead of
822 `elmo-net-format-quoted' to quote mailbox and user name.
824 2005-06-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
826 * elmo-util.el (elmo-token-valid-p): New function.
827 (elmo-parse-token): Add optional argument `requirement'.
828 (elmo-parse-prefixed-element): Likewise.
830 * elmo-net.el (elmo-net-quote-chars): Renamed from
831 `elmo-net-quote-chars-regexp'.
832 (elmo-net-format-quoted): Add optional argument `extra-chars'.
834 * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
835 by info document. Check token `uidl' is started an alphabet.
837 * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
838 by info document. Check token `user' is started an alphabet.
840 * elmo-imap4.el (elmo-folder-initialize): Ditto.
841 (elmo-folder-list-subfolders): Quote user.
843 2005-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
845 * elmo-util.el (elmo-quoted-specials-list): New constant.
846 (elmo-quoted-token): New function.
848 * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
849 (elmo-net-format-quoted): New function.
850 (elmo-net-parse-network): Ditto.
851 (elmo-folder-initialize): Use it.
853 * elmo-nntp.el (elmo-folder-initialize): Use
854 `elmo-net-parse-network' to parse network specification instead of
855 `elmo-folder-initialize#elmo-net'.
857 * elmo-pop3.el (elmo-folder-initialize): Ditto.
859 * elmo-imap4.el (elmo-folder-initialize): Ditto.
860 (elmo-folder-list-subfolders): Quote folder name by
861 `elmo-net-format-quoted'.
863 2005-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
865 * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
866 (elmo-folder-search): Use it.
868 2005-04-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
870 * modb-standard.el (modb-standard-loaded-message-id): Use
871 `elmo-msgdb-message-entity-field'.
873 2005-04-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
875 * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
878 2005-04-11 Katsumi Yamaoka <yamaoka@jpl.org>
880 * elmo-util.el (elmo-set-auto-coding): New function.
881 (elmo-object-load): Use it.
883 2005-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
885 * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
886 (elmo-time<): Define as alias of `elmo-time-less-p'.
887 (elmo-time-to-datevec): New function.
889 * elmo-date.el (elmo-time-to-days): New function.
891 2005-04-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
893 * elmo-util.el (elmo-map-recursive): Call `function' if `object'
896 2005-04-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
898 * modb-entity.el (modb-entity-encode-string-recursive): Fixed
901 * elmo-util.el (elmo-map-recursive): New function.
903 * modb-entity.el (modb-entity-decode-string-recursive): Use it.
904 (modb-entity-encode-string-recursive): Ditto.
906 2005-04-05 Yuuichi Teranishi <teranisi@gohome.org>
908 * elmo-maildir.el (elmo-maildir-sequence-number): New function.
909 (elmo-maildir-make-unique-string): Throw Emacs 18 away.
910 (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
911 compare sequence number when last modified time is nil.
913 2005-04-03 Yuuichi Teranishi <teranisi@gohome.org>
915 * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
917 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
919 2005-04-01 Yuuichi Teranishi <teranisi@gohome.org>
921 * elmo-maildir.el (elmo-maildir-list-location): Sort by last
922 modification time of the file.
924 2005-03-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
926 * elmo-util.el (elmo-condition-optimize): Discriminated against
927 preserved fields, extra fields and the other weight.
929 2005-03-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
931 * modb-entity.el (initialize-instance): Define.
932 (modb-entity-handler-mime-charset): New internal function.
933 (modb-standard-entity-set-field): Use it.
934 (elmo-msgdb-message-entity-field): Ditto.
935 (elmo-msgdb-message-entity-field): Ditto.
937 * modb.el (elmo-msgdb-match-condition): Rewrite with
938 `elmo-condition-match'.
939 (elmo-msgdb-match-condition-primitive): New function.
941 * modb-entity.el (elmo-msgdb-message-match-condition): Removed
942 arguments `flags' and `numbers'.
943 (elmo-msgdb-match-condition-primitive): Abolished (merged to
944 `elmo-msgdb-message-match-condition').
945 (modb-buffer-entity-handler): New class.
947 * elmo.el (elmo-folder-search): Optimize condition to use
948 `elmo-condition-optimize'.
949 (elmo-message-buffer-match-condition): New function.
950 (elmo-message-match-condition): Use
951 `elmo-message-buffer-match-condition' instead of
952 `elmo-buffer-field-condition-match'.
954 * elmo-util.el (elmo-condition-match): New function.
955 (elmo-condition-optimize): Ditto.
956 (elmo-buffer-field-primitive-condition-match): Abolish.
957 (elmo-buffer-field-condition-match): Ditto.
959 * elmo-archive.el (elmo-archive-field-condition-match): Use
960 `elmo-message-buffer-match-condition' instead of
961 `elmo-buffer-field-condition-match'.
963 2005-03-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
965 * elmo-flag.el (elmo-global-flags-initialize): Check the
966 existence of the flag directory.
968 2005-03-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
970 * elmo-access.el (elmo-folder-initialize): Call
971 `elmo-multi-connect-signals'.
973 * elmo-pipe.el (elmo-folder-close): Define.
975 * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
978 * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
981 * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
984 * elmo-multi.el (elmo-message-entity): Don't use return value of
985 `elmo-message-entity-set-number'.
987 2005-03-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
989 * modb.el (modb-generic): Added slot `mime-charset'.
991 * modb-standard.el (modb-standard): Added slot `overview-handler'.
992 (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
993 and `modb-entity-handler-dump-parameters'.
994 (modb-standard-default-entity-handler): Abolish.
995 (elmo-msgdb-message-entity-handler): Save created handler by
998 * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
999 (modb-entity-handler-list-parameters): New method.
1000 (modb-entity-handler-equal-p): New function.
1001 (modb-entity-handler-dump-parameters): Ditto.
1002 (modb-entity-parse-address-string): Encode return value.
1003 (modb-entity-make-address-string): Decode argument value.
1004 (modb-entity-decode-string-recursive): New function.
1005 (modb-entity-encode-string-recursive): Ditto.
1006 (modb-standard-entity-normalizer): Set to encode field value.
1007 (modb-standard-entity-specializer): Follow the above change.
1008 (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
1009 mime-charset of handler.
1010 (elmo-msgdb-message-entity-field): Ditto.
1011 (elmo-msgdb-copy-message-entity): Fixed reference to internal
1013 (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
1015 * elmo.el (elmo-folder): Added slot `mime-charset'.
1016 (elmo-make-folder): Added argument `mime-charset'.
1017 (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
1020 * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
1021 (elmo-make-msgdb): Likewise.
1023 * elmo-internal.el (elmo-internal-folder-initialize): Call
1024 `luna-make-entity' with :mime-charset parameter.
1026 2005-03-21 Yuuichi Teranishi <teranisi@gohome.org>
1028 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
1029 encoded words in `from' and `subject' field.
1031 2005-03-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1033 * modb.el (elmo-msgdb-message-field): Add argument `type'.
1034 (elmo-msgdb-match-condition): Get handler from entity instead of
1037 * modb-standard.el (modb-standard-economize-entity-size): Abolish.
1038 (modb-standard-load-entity): Treat new file format.
1039 (modb-standard-save-entity-1): Save as new file format.
1040 (modb-standard-save-entity): Split messages into section here.
1041 (elmo-msgdb-message-field): Follow the API change.
1042 (modb-standard-default-entity-handler): New internal variable.
1043 (elmo-msgdb-message-entity-handler): Define.
1045 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1047 (modb-entity-field-extractor-alist): New user option.
1048 (elmo-msgdb-message-entity-field): Removed argument `decode' and
1049 added argument `type'.
1050 (elmo-msgdb-copy-message-entity): Add optional argument
1052 (modb-set-field-converter): New function.
1053 (modb-convert-field-value): Ditto.
1054 (modb-entity-string-decoder): Ditto.
1055 (modb-entity-string-encoder): Ditto.
1056 (modb-entity-parse-date-string): Ditto.
1057 (modb-entity-make-date-string): Ditto.
1058 (modb-entity-mime-decoder): Ditto.
1059 (modb-entity-mime-encoder): Ditto.
1060 (modb-entity-address-list-decoder): Ditto.
1061 (modb-entity-address-list-encoder): Ditto.
1062 (modb-entity-parse-address-string): Ditto.
1063 (modb-entity-make-address-string): Ditto.
1064 (modb-entity-create-field-indices): Ditto.
1065 (modb-legacy-entity-field-slots): New constant.
1066 (modb-legacy-entity-field-indices): Ditto.
1067 (modb-legacy-entity-normalizer): New variable.
1068 (modb-legacy-entity-specializer): Ditto.
1069 (modb-legacy-entity-field-index): New macro.
1070 (modb-legacy-entity-set-field): New function.
1071 (modb-legacy-make-message-entity): Rewrite.
1072 (elmo-msgdb-create-message-entity-from-buffer): Use
1073 `elmo-msgdb-get-references-from-buffer'. Use
1074 `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
1075 Use `modb-legacy-entity-set-field' instead of
1076 `elmo-msgdb-message-entity-set-field'.
1077 (elmo-msgdb-message-entity-field): Rewrite.
1078 (elmo-msgdb-message-entity-set-field): Ditto.
1079 (elmo-msgdb-copy-message-entity): Make new entity by
1080 `make-handler' if it specified.
1081 (elmo-msgdb-message-match-condition): Define a method of
1082 `modb-entity-handler' and follow the API change.
1083 (modb-standard-entity-handler): New class.
1084 (modb-entity-extract-ml-info-from-x-sequence): New function.
1085 (modb-entity-extract-ml-info-from-subject): Ditto.
1086 (modb-entity-extract-ml-info-from-return-path): Ditto.
1087 (modb-entity-extract-ml-info-from-delivered-to): Ditto.
1088 (modb-entity-extract-ml-info-from-mailing-list): Ditto.
1089 (modb-entity-extract-mailing-list-info): Ditto.
1090 (modb-entity-extract-mailing-list-info-functions): New variable.
1092 * elmo.el (elmo-message-field): Add optional argument `type'.
1094 * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
1095 from `modb-entity.el'.
1097 * elmo-util.el (elmo-object-load): Decode by coding-system from
1098 `set-auto-coding-function'.
1099 (elmo-object-save): Use `detect-mime-charset-region' and add
1100 coding cookie if encode.
1101 (elmo-msgdb-get-references-from-buffer): New function.
1102 (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
1104 * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
1106 * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
1107 (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
1108 instead of `shimbun-make-header' and follow the API change.
1109 (elmo-shimbun-update-overview): Follow the API change.
1110 (elmo-map-folder-list-message-locations): Ditto.
1112 * elmo-pipe.el (elmo-message-field): Ditto.
1114 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1117 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
1119 * elmo-multi.el (elmo-message-field): Ditto.
1121 * elmo-msgdb.el (elmo-message-entity-field): Ditto.
1122 (elmo-msgdb-sort-by-date): Ditto.
1123 (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
1124 `elmo-message-entity-field'.
1125 (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
1127 (elmo-msgdb-overview-entity-get-from): Ditto.
1128 (elmo-msgdb-overview-entity-get-subject): Ditto.
1129 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
1130 (elmo-msgdb-overview-entity-get-date): Ditto.
1131 (elmo-msgdb-overview-entity-get-to): Ditto.
1132 (elmo-msgdb-overview-entity-get-cc): Ditto.
1134 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1135 (elmo-mime-collect-message/partial-pieces): Ditto.
1137 * elmo-filter.el (elmo-message-field): Ditto.
1139 * elmo-date.el (elmo-datevec-to-time): New function.
1140 (elmo-time-parse-date-string): Ditto.
1141 (elmo-time-make-date-string): Ditto.
1142 (elmo-time<): Ditto.
1144 * elmo-version.el (elmo-version): Up to 2.15.1.
1146 2005-03-14 Yoichi NAKAYAMA <yoichi@geiin.org>
1148 * elmo-flag.el (elmo-global-flags-initialize): Don't include
1149 member of elmo-local-flags.
1151 2005-03-13 Yuuichi Teranishi <teranisi@gohome.org>
1153 * elmo-version.el (elmo-version): Up to 2.15.0.
1155 2005-03-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1157 * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1158 `ignore-msgdb' is non-nil.
1160 2005-03-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1162 * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1163 (elmo-condition-in-msgdb-p): Ditto.
1164 (elmo-file-field-primitive-condition-match): Ditto.
1165 (elmo-file-field-condition-match): Ditto.
1167 * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1169 2005-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1171 * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1172 subdirectories here.
1173 (elmo-global-flags-initialize): New function.
1175 * elmo.el (toplevel): Added autoload setting for
1176 `elmo-global-flags-initialize'.
1178 2005-03-07 Yoichi NAKAYAMA <yoichi@geiin.org>
1180 * elmo.el (message-number-changed): Define new signal.
1181 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1182 message-number-changed signal.
1183 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1184 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1185 Respect `elmo-pack-number-check-strict'.
1187 2005-03-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1189 * elmo-signal.el (elmo-connect-signal): Document.
1190 (elmo-emit-signal): Ditto.
1191 (elmo-emit-signal): It should pass source argument to filter and
1192 handler, not slot-source.
1194 2005-03-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1196 * modb.el (elmo-msgdb-update-entity): New API and define generic
1199 * modb-standard.el (elmo-msgdb-update-entity): Define.
1201 * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1202 API and define generic implement.
1204 * elmo.el (update-overview): New singnal.
1206 * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1207 `elmo-msgdb-update-entity' and emit signal `update-overview'.
1208 (elmo-message-entity-parent): Define.
1210 * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1213 * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1215 * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1217 2005-02-27 Yuuichi Teranishi <teranisi@gohome.org>
1219 * elmo.el (elmo-folder-synchronize): Sort the return value of
1222 * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1225 2005-02-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1227 * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1228 `default-enable-multibyte-characters'.
1229 (elmo-object-load): Use `with-temp-buffer' instead of
1230 `elmo-set-work-buf'.
1231 (elmo-object-save): Ditto.
1232 (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1233 `elmo-set-work-buf'.
1234 (elmo-decoded-field-body): Ditto.
1236 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1238 * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1239 Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1241 * elmo-version.el (elmo-version): Up to 2.13.3.
1243 2005-02-27 Tetsurou Okazaki <okazaki@be.to>
1245 * elmo-util.el (elmo-list-diff): Fix the last change.
1246 Reverse order of result lists.
1248 2005-02-26 Yuuichi Teranishi <teranisi@gohome.org>
1250 * modb-standard.el (elmo-msgdb-set-flag): Use
1251 `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1252 (elmo-msgdb-unset-flag): Ditto.
1254 * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1257 * elmo-util.el (elmo-list-diff): Rewrite.
1258 (elmo-list-diff-nonsortable): New function.
1260 2005-02-26 Tetsurou Okazaki <okazaki@be.to>
1262 * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1263 `elmo-multibypte-buffer-name'. All referers are updated.
1265 2005-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1267 * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1268 (elmo-mime-entity-fragment-p): New function.
1269 (mime-elmo-buffer-entity): Added slot `reassembled'.
1270 (elmo-message-mime-entity): Added 4th argument `reassemble'.
1271 (elmo-message-mime-entity-internal): New function (renamed from
1272 `elmo-message-mime-entity').
1273 (elmo-mime-inherit-field-list-from-enclosed): New constant.
1274 (elmo-mime-make-reassembled-mime-entity): New function.
1275 (elmo-message-reassembled-mime-entity): Ditto.
1276 (elmo-mime-collect-message/partial-pieces): Ditto.
1278 2005-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1280 * elmo.el (elmo-message-fetch-string): Disable multibyte.
1282 * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1283 (elmo-with-enable-multibyte): New macro.
1285 * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1287 2005-02-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1289 * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1291 (elmo-filter-connect-signals): Follow the above change.
1293 2005-02-19 Yuuichi Teranishi <teranisi@gohome.org>
1295 * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1297 * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1298 that only the first flag is used.
1300 2005-02-17 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1302 * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p'
1305 2005-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1307 * elmo-signal.el: New file.
1309 * elmo.el (toplevel): Require elmo-signal.
1310 (flag-changing, flag-changed, cache-changed): New signal.
1311 (elmo-folder): Remove slog `handlers'.
1312 (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1313 `elmo-folder-notify-event'.
1314 (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1315 (elmo-folder-unset-flag): Ditto.
1316 (elmo-event-handler): Abolish.
1317 (elmo-event-handler-flag-changed): Ditto.
1318 (elmo-event-handler-cache-changed): Ditto.
1319 (elmo-folder-add-handler): Ditto.
1320 (elmo-folder-remove-handler): Ditto.
1321 (elmo-folder-notify-event): Ditto.
1323 * elmo-pipe.el (toplevel): Require elmo-signal.
1324 (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1325 (elmo-pipe-connect-signals): New function.
1326 (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1327 (elmo-folder-set-flag): Ditto.
1328 (elmo-folder-unset-flag): Ditto.
1329 (elmo-message-set-cached): Ditto.
1331 * elmo-multi.el (toplevel): Require elmo-signal.
1332 (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1333 (elmo-multi-connect-signals): New function.
1334 (elmo-multi-map-numbers): Ditto.
1335 (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1336 (elmo-message-fetch): Ditto.
1337 (elmo-folder-set-flag): Ditto.
1338 (elmo-folder-unset-flag): Ditto.
1340 * elmo-filter.el (toplevel): Require elmo-signal.
1341 (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1342 (elmo-filter-connect-signals): New function.
1343 (elmo-filter-add-flag-count): Ditto.
1344 (elmo-message-fetch): Does not call
1345 `elmo-filter-folder-countup-message-flags' and
1346 `elmo-folder-notify-event'.
1347 (elmo-message-set-cached): Ditto.
1348 (elmo-folder-set-flag): Ditto.
1349 (elmo-folder-unset-flag): Ditto.
1351 * elmo-version.el (elmo-version): Up to 2.13.2.
1353 2005-02-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1355 * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1358 2005-02-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1360 * elmo-filter.el (elmo-message-set-cached): Call
1361 `elmo-folder-notify-event' with event `cache-changed'.
1363 * elmo-multi.el (elmo-message-set-cached): Ditto.
1365 * elmo-pipe.el (elmo-message-set-cached): Ditto.
1367 2005-02-16 Yoichi NAKAYAMA <yoichi@geiin.org>
1369 * elmo.el (elmo-folder-encache): Abolish.
1371 2005-02-16 Yuuichi Teranishi <teranisi@gohome.org>
1373 * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1374 (elmo-folder-next-message-number-dop): Return appropriate negative
1377 2005-02-15 Yoichi NAKAYAMA <yoichi@geiin.org>
1379 * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1380 clearing pending operations.
1381 (elmo-folder-next-message-number-dop): Return appropriate negative
1384 2005-02-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1386 * elmo.el (toplevel): Added autoload setting for `md5'.
1387 (elmo-msgdb-path-encode-threshold): New user option.
1388 (elmo-folder-msgdb-path): Encode msgdb path if its length is
1389 longer than `elmo-msgdb-path-encode-threshold'.
1391 * elmo-flag.el (elmo-global-mark-migrate): Use
1392 `elmo-folder-expand-msgdb-path' instead of
1393 `elmo-folder-msgdb-path'.
1395 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1397 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1398 element of the difference is nil.
1400 2005-02-11 Yuuichi Teranishi <teranisi@gohome.org>
1402 * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1403 to the check logic of file systems which are weak in colon character.
1405 2005-02-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1407 * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1409 2005-02-10 Yuuichi Teranishi <teranisi@gohome.org>
1411 * elmo-maildir.el (elmo-maildir-move-file): New function.
1412 (elmo-folder-append-buffer): Use it.
1413 (elmo-folder-append-messages): Ditto.
1414 (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1416 * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1417 (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1419 * elmo-maildir.el (elmo-maildir-separator): New user option.
1420 (elmo-maildir-adjust-separator): New macro.
1421 (elmo-maildir-list-location): Use it.
1422 (elmo-maildir-update-current): Ditto.
1423 (elmo-maildir-set-mark): Ditto.
1424 (elmo-maildir-delete-mark): Ditto.
1425 (These changes are based on Hiroya Murata's patch [wl: 13437])
1427 2005-02-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1429 * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1431 2005-02-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1433 * elmo-flag.el (elmo-flag-valid-p): Simplify.
1434 (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1435 (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1437 2005-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1439 * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1440 Use `with-temp-buffer'.
1442 2005-01-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1444 * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1446 * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1447 `wl-read-search-condition').
1448 (elmo-read-search-condition-internal): Likewise.
1450 * elmo-flag.el (elmo-flag-char-regexp): New constant.
1451 (elmo-flag-valid-p): New function.
1452 (elmo-folder-initialize): Check flag name is valid.
1454 2005-01-26 Yuuichi Teranishi <teranisi@gohome.org>
1456 * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1457 delimiter to obtain root mailbox itself.
1459 2005-01-25 Tetsurou Okazaki <okazaki@be.to>
1461 * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1464 2005-01-24 Yuuichi Teranishi <teranisi@gohome.org>
1466 * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1469 2005-01-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1471 * elmo-shimbun.el (toplevel): Require cl at compile.
1473 * elmo-nntp.el (toplevel): Ditto.
1475 * elmo-nmz.el (toplevel): Ditto.
1477 * elmo-multi.el (toplevel): Ditto.
1479 * elmo-file.el (toplevel): Ditto.
1481 * elmo-dop.el (toplevel): Ditto.
1483 * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1485 2005-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1487 * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1490 * elmo.el (elmo-message-fetch): Return t even when the output buffer
1491 size of elmo-message-fetch-internal is 0 byte.
1493 2005-01-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1495 * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1497 2005-01-13 Yoichi NAKAYAMA <yoichi@geiin.org>
1499 * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1502 2005-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1504 * elmo-maildir.el (elmo-map-message-fetch): Call
1505 `elmo-map-folder-set-flag'.
1507 * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1508 (elmo-message-fetch): Merge from
1509 `elmo-message-fetch-with-cache-process'.
1511 * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1512 (elmo-message-fetch): Define.
1514 * elmo-nntp.el (elmo-message-fetch): Renamed from
1515 `elmo-message-fetch-with-cache-process'.
1517 * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1518 (elmo-message-fetch): Define.
1520 * elmo-util.el (elmo-condition-parse-primitive): Downcase
1523 * elmo-shimbun.el (shimbun-mua-search-id): Use
1524 `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1525 (elmo-shimbun-folder-shimbun-header): Ditto.
1526 (elmo-shimbun-get-headers): Ditto.
1527 (elmo-shimbun-update-overview): Ditto.
1529 * elmo-pipe.el (elmo-folder-detach-messages): Define.
1531 * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1532 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1534 2005-01-13 Yuuichi Teranishi <teranisi@gohome.org>
1536 * elmo.el (elmo-message-fetch): Unset unread flag on server when
1538 (elmo-message-fetch-string): Fixed argument.
1540 2005-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1542 * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1543 exchange order of arguments `section' and `unread'.
1544 (elmo-message-encache): Follow the API change.
1545 (elmo-message-match-condition): Ditto.
1546 (elmo-generic-folder-append-messages): Ditto.
1547 (elmo-message-fetch-string): New function.
1549 * elmo-split.el (elmo-split-subr): Ditto.
1551 * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1553 * elmo-pipe.el (elmo-message-fetch): Ditto.
1555 * elmo-multi.el (elmo-message-fetch): Ditto.
1557 * elmo-mime.el (elmo-message-mime-entity): Ditto.
1559 * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1561 * elmo-filter.el (elmo-message-fetch): Ditto.
1563 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1565 * elmo-imap4.el (mime-imap-location-section-body): Use
1566 `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1567 follow the API change.
1569 2005-01-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1571 * elmo-access.el: New file.
1573 * elmo-null.el: Ditto.
1575 * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1577 2005-01-08 Yuuichi Teranishi <teranisi@gohome.org>
1579 * elmo-net.el (elmo-network-session-idle-timeout): New option.
1580 (elmo-network-session): New attribute `last-accessed'.
1581 (elmo-network-get-session): Discard network cache if elapsed time
1582 since last-accessed is larger than elmo-network-session-idle-timeout.
1584 2005-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1586 * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1587 and added `number', `require-entireness'.
1588 (elmo-find-fetch-strategy): Rewrite.
1589 (elmo-message-fetch): Unset `unread' flag when argument unread is
1592 * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1594 * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1595 (elmo-message-fetch): Notify event `flag-changed'.
1597 * elmo-pipe.el: Likewise.
1599 * elmo-mime.el (elmo-mime-entity): New class.
1600 (elmo-mime-entity-display-p): New generic function.
1601 (elmo-mime-entity-display): Ditto.
1602 (elmo-mime-entity-display-as-is): Ditto.
1603 (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1605 (elmo-make-mime-message-location): Removed.
1606 (elmo-mime-message-display): Ditto.
1607 (elmo-mime-display-as-is): Ditto.
1608 (elmo-message-mime-entity): New function.
1610 * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1612 * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1614 (elmo-message-fetch): Re-count flagged message number and notify
1615 event `flag-changed'.
1617 * elmo-version.el (elmo-version): Up to 2.13.1.
1619 2005-01-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1621 * elmo-filter.el (elmo-message-field): Define.
1622 (elmo-message-set-field): Ditto.
1624 2004-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1626 * elmo.el (elmo-message-set-cached): Call
1627 `elmo-folder-notify-event' with cache-changed.
1628 (elmo-event-handler-cache-changed): New generic function.
1630 2004-12-22 Yuuichi Teranishi <teranisi@gohome.org>
1632 * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1633 instead of elmo-add-name-to-file.
1634 (elmo-folder-append-messages): Ditto.
1636 2004-12-21 Yoichi NAKAYAMA <yoichi@geiin.org>
1638 * elmo.el (elmo-folder-update-threshold): Add nil to range.
1640 2004-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1642 * elmo-version.el (elmo-version): Up to 2.13.0.
1644 * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1647 * modb-standard.el (modb-standard-economize-entity-size): Changed
1648 default value to `t'.
1650 * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1653 * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1654 after parsing greeting string.
1656 2004-11-23 Daishi Kato <daishi@axlight.com>
1658 * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1660 (elmo-spam-spamoracle-call): Use it.
1662 2004-11-23 Yoichi NAKAYAMA <yoichi@geiin.org>
1664 * elmo.el (elmo-message-accessible-p): Message in dop spool
1667 2004-11-23 Daishi Kato <daishi@axlight.com>
1669 * elsp-spamoracle.el: New file.
1671 2004-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1673 * elmo.el (elmo-message-flags-for-append): New function.
1674 (elmo-generic-folder-append-messages): Use it.
1676 * elmo-split.el (elmo-split-subr): Ditto.
1678 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1679 `flags' and use elmo-folder-append-buffer instead of
1680 write-region-as-binary.
1681 (elmo-dop-filter-pending-messages): New function.
1682 (elmo-folder-append-buffer-dop): Call
1683 elmo-dop-spool-folder-append-buffer with `flag'.
1684 (elmo-folder-set-flag-dop): Filter messages by
1685 elmo-dop-filter-pending-messages.
1686 (elmo-folder-unset-flag-dop): Ditto.
1687 (elmo-folder-append-buffer-dop-delayed): Use
1688 elmo-message-flags-for-append to get flags of the message and
1691 2004-11-07 Yuuichi Teranishi <teranisi@gohome.org>
1693 * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1695 2004-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1697 * elmo.el (elmo-folder): Added handlers slot.
1698 (elmo-event-handler): New class.
1699 (elmo-event-handler-flag-changed): New API.
1700 (elmo-folder-add-handler): New function.
1701 (elmo-folder-remove-handler): Ditto.
1702 (elmo-folder-notify-event): Ditto.
1703 (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1705 (elmo-folder-unset-flag): Ditto.
1707 * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1708 (elmo-folder-unset-flag): Ditto.
1710 * elmo-multi.el (elmo-folder-set-flag): Ditto.
1711 (elmo-folder-unset-flag): Ditto.
1713 * elmo-filter.el (elmo-folder-set-flag): Ditto.
1714 (elmo-folder-unset-flag): Ditto.
1716 * elmo-version.el (elmo-version): Up to 2.11.33.
1718 2004-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1720 * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1722 2004-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1724 * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1726 * elmo-flag.el (elmo-folder-unset-flag): Define.
1727 (elmo-global-flag-detach): Do process when the flag is not target
1730 2004-10-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1732 * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1734 (elmo-msgdb-create-message-entity-from-buffer): Use it.
1736 2004-10-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1738 * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1740 (elmo-folder-delete-messages): Detach messages before delete
1741 messages from target folder.
1742 (elmo-folder-detach-messages): Set updated number-list to slot.
1744 2004-10-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1746 * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1748 2004-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1750 * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1752 2004-10-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1754 * elmo.el (elmo-folder-delete-messages-internal): New API (for
1756 (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1758 (elmo-folder-delete-messages): Define.
1759 (elmo-folder-move-messages): Don't call
1760 `elmo-folder-detach-messages'.
1761 (elmo-folder-synchronize): Rewrite.
1762 (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1764 * elmo-util.el (elmo-last): New function.
1765 (elmo-set-list): Ditto.
1766 (elmo-number-set-delete-list): Ditto.
1767 (elmo-number-set-delete): Ditto.
1769 * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1771 * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1772 `elmo-folder-delete-messages' and don't delete location map.
1773 (elmo-folder-detach-messages): Define.
1775 * elmo-imap4.el (elmo-folder-delete): Use
1776 `elmo-folder-delete-messages-internal' instead of
1777 `elmo-folder-delete-messages'.
1779 * elmo-filter.el (elmo-folder-delete-messages): Call
1780 `elmo-folder-detach-messages'.
1781 (elmo-folder-detach-messages): Don't call
1782 `elmo-folder-detach-messages' for target folder.
1784 * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1785 message deletion is succeeded.
1787 * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1789 * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1790 from `elmo-folder-delete-messages'.
1792 * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1794 * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1796 * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1798 * elmo-version.el (elmo-version): Up to 2.11.32.
1800 2004-10-10 Yuuichi Teranishi <teranisi@gohome.org>
1802 * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1803 (elmo-global-flag-list): Added obsolete variable setting.
1805 * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1807 * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1808 (elmo-mime-insert-header-from-buffer): Don't decode header content when
1809 `elmo-mime-display-header-analysis' is nil.
1811 * elmo-flag.el (elmo-global-flags): Renamed from
1812 `elmo-global-flag-list' (All other related portions are changed).
1813 (elmo-local-flags): New variable.
1814 (elmo-local-flag-p): New function.
1815 (elmo-global-flag-set-internal): Cause an error when flag is not
1818 2004-10-04 Yuuichi Teranishi <teranisi@gohome.org>
1820 * elmo-util.el (elmo-concat-path): Treat empty path.
1822 2004-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1824 * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1826 (elmo-split-address-match): Ditto.
1827 (elmo-split-equal): Ditto.
1828 (elmo-split-match): Ditto.
1830 2004-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1832 * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1833 (elmo-generic-folder-append-messages): If src message exists but
1834 has no flag, pass (read) for the FLAG argument of
1835 `elmo-folder-append-buffer'. Otherwise, pass nil.
1837 * elmo-split.el (elmo-split-subr): Likewise.
1839 * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1841 * elmo-multi.el (elmo-message-flags): Ditto.
1843 * elmo-filter.el (elmo-message-flags): Ditto.
1845 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1846 (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1847 pass (read) for the FLAG argument of elmo-folder-append-buffer.
1849 2004-10-02 Yoichi NAKAYAMA <yoichi@geiin.org>
1851 * elmo-split.el (elmo-split-rule): Update comment.
1852 (elmo-split-address-equal): Allow 2nd argument to be a list.
1853 (elmo-split-address-match): Ditto.
1854 (elmo-split-equal): Ditto.
1855 (elmo-split-match): Ditto.
1857 2004-09-29 Yuuichi Teranishi <teranisi@gohome.org>
1859 * elmo.el (elmo-folder-append-buffer): Fix docstring.
1860 (elmo-folder-append-msgdb): Don't treat `read'.
1861 (elmo-message-flags): Don't return `read'.
1863 * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1864 (elmo-folder-unset-read-delayed): Ditto.
1866 * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1868 2004-09-26 Yoichi NAKAYAMA <yoichi@geiin.org>
1870 * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1873 2004-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1875 * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1878 2004-09-23 Yuuichi Teranishi <teranisi@gohome.org>
1880 * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1882 (elmo-msgdb-save): Bind inhibit-quit.
1883 (modb-standard-message-entity): Ditto.
1885 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1887 * elmo-database.el: No need to require elmo-msgdb.
1889 2004-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1891 * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1892 instead of `elmo-list-subdirectories'.
1894 2004-09-20 Yoichi NAKAYAMA <yoichi@geiin.org>
1896 * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1898 (elmo-folder-exists-p): "[" is empty.
1899 (elmo-folder-list-subfolders): Define.
1900 (elmo-folder-have-subfolder-p): Ditto.
1902 2004-09-19 Yoichi NAKAYAMA <yoichi@geiin.org>
1904 * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1906 2004-09-14 Tetsurou Okazaki <okazaki@be.to>
1908 * elmo-filter.el (elmo-folder-local-p): Define.
1910 2004-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1912 * modb-standard.el (modb-standard-loaded-message-id): Return nil
1913 when entity is garbaged.
1914 (modb-standard-save-entity-1): Don't modify the original entity.
1916 2004-09-13 Tetsurou Okazaki <okazaki@be.to>
1918 * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1920 2004-09-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1922 * elmo.el (elmo-strict-folder-diff): Use
1923 `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1925 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1927 * modb.el (elmo-msgdb-flag-available-p): New generic function.
1928 (elmo-msgdb-message-number): Ditto.
1929 (elmo-msgdb-message-field): Ditto.
1931 * modb-standard.el (modb-standard-economize-entity-size): New user
1933 (modb-standard-loaded-message-id): New inline function.
1934 (modb-standard-load-entity): Use it.
1935 (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1936 throw message-id string away.
1937 (elmo-msgdb-flag-available-p): Define.
1938 (elmo-msgdb-message-number): Ditto.
1939 (elmo-msgdb-message-field): Ditto.
1941 * modb-legacy.el (modb-legacy-flag-list): Fix typo
1942 (suppoted -> supported).
1943 (modb-legacy-supported-flag-p): Ditto.
1944 (elmo-msgdb-set-flag): Ditto.
1945 (elmo-msgdb-unset-flag): Ditto.
1946 (elmo-msgdb-flag-available-p): Define.
1948 * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1949 is `t', treat it as legacy entity.
1951 * elmo.el (elmo-message-flag-available-p): New generic function.
1952 (elmo-message-number): Ditto.
1953 (elmo-message-field): Use `elmo-msgdb-message-field'.
1955 * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1957 * elmo-pipe.el (elmo-message-flag-available-p): Define.
1958 (elmo-message-number): Ditto.
1960 * elmo-multi.el (elmo-message-number): Define.
1961 (elmo-message-flag-available-p): Ditto.
1963 * elmo-filter.el (elmo-message-flag-available-p): Define.
1964 (elmo-message-number): Ditto.
1966 * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1967 (elmo-folder-initialize): Load `max-number'.
1968 (elmo-folder-commit): Save it.
1969 (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1970 (elmo-global-flag-set-internal): Set up max-number slot.
1972 2004-09-12 Yuuichi Teranishi <teranisi@gohome.org>
1974 * elmo-version.el (elmo-version): Up to 2.11.31.
1976 2004-09-09 Yuuichi Teranishi <teranisi@gohome.org>
1978 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1979 unibyte string of the current buffer for the argument of `md5'
1980 (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1982 2004-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1984 * modb-legacy.el (modb-legacy-flag-list): New constant.
1985 (modb-legacy-suppoted-flag-p): New internal function.
1986 (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1987 (elmo-msgdb-unset-flag): Ditto.
1989 2004-09-05 Yuuichi Teranishi <teranisi@gohome.org>
1991 * elmo.el (elmo-make-folder): Remove text properties for prefix.
1993 * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1996 2004-08-31 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1998 * elmo-multi.el (elmo-folder-count-flags): Changed return value
1999 (follow the API change).
2001 * elmo-filter.el (elmo-folder-count-flags): Ditto.
2003 2004-08-31 Yuuichi Teranishi <teranisi@gohome.org>
2005 * modb-standard.el (modb-standard-digest-flags): Abolish.
2006 (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
2008 * elmo-vars.el (elmo-digest-flags): New variable.
2009 (elmo-preserved-flags): Moved from elmo-flag.el.
2011 * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
2012 (elmo-imap4-flag-to-imap-criteria): Ditto.
2013 (elmo-imap4-folder-list-flagged): Use it.
2015 * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
2017 * elmo.el (elmo-folder-count-flags): Changed return value.
2019 * elmo-flag.el (elmo-preserved-flags): New variable.
2020 (elmo-get-global-flags): Use it.
2022 * modb-standard.el (modb-standard-digest-flags): New variable.
2023 (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
2024 Changed behavior of `any'.
2026 * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
2027 which are defined the Internet draft
2028 (draft-melnikov-imap-keywords-03.txt).
2029 (elmo-imap4-flags-to-imap): New function.
2030 (elmo-folder-append-buffer): Use it.
2032 * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
2035 * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
2036 avoid the bug of Emacs 21.3.
2038 2004-08-31 Yoichi NAKAYAMA <yoichi@geiin.org>
2040 * utf7.el (utf7-utf-16-coding-system): Avoid error when the
2041 function find-coding-system does not exist.
2043 2004-08-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2045 * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
2048 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2050 * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
2053 2004-08-09 Yuuichi Teranishi <teranisi@gohome.org>
2055 * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
2056 (elmo-network-close-session): Follow the changes in
2057 `elmo-pop3-read-response'.
2058 (elmo-pop3-auth-user): Ditto.
2059 (elmo-pop3-auth-apop): Ditto.
2060 (elmo-network-initialize-session): Ditto.
2061 (elmo-network-authenticate-session): Ditto.
2062 (elmo-network-setup-session): Ditto.
2063 (elmo-folder-status): Ditto.
2064 (elmo-message-fetch-plugged): Ditto.
2065 (elmo-pop3-delete-msg): Ditto.
2067 2004-07-15 Yoichi NAKAYAMA <yoichi@geiin.org>
2069 * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
2072 2004-07-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2074 * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
2076 (elmo-bind-directory): Ditto.
2078 2004-07-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2080 * elmo.el (elmo-folder-append-messages): Note on return value.
2081 * elmo-archive.el (elmo-folder-append-messages): Don't return
2082 message numbers which could not be appended.
2084 2004-07-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2086 * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
2088 2004-06-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2090 * elmo-version.el (elmo-version): Up to 2.11.30.
2092 2004-06-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2094 * elmo.el (elmo-folder-synchronize): Add 5th optional argument
2097 * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
2099 * elmo-multi.el (elmo-folder-synchronize): Likewise.
2100 (elmo-multi-split-numbers): Add elmo-folder object into each
2101 element of return value at first.
2102 (elmo-folder-delete-messages): Follow the above change.
2103 (elmo-folder-detach-messages): Ditto.
2105 * elmo-filter.el (elmo-folder-synchronize): Minimize message
2106 number which is synchronized in target folder.
2108 2004-05-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2110 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
2111 Change default value to symbol `all'.
2112 (elmo-map-message-fetch): Change condition to update overview
2115 2004-05-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2117 * elmo-shimbun.el (elmo-map-message-fetch): Change default
2118 behavior to update overview.
2119 (elmo-shimbun-update-overview-folder-list): Note it.
2121 2004-05-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2123 * modb-standard.el (modb-standard-message-entity): Avoid infinite
2126 2004-05-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2128 * elmo-spam.el (elmo-spam-register-good-messages): Don't call
2129 buffer-disable-undo, it is unnecessary.
2130 (elmo-spam-register-good-messages): Ditto.
2132 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2135 * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2137 2004-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2139 * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2140 (elmo-set-work-buf): Use set-buffer-multibyte instead of
2141 elmo-set-buffer-multibyte.
2142 (elmo-object-load): Ditto.
2143 (elmo-save-buffer): Ditto.
2144 (elmo-delete-char): Ditto.
2145 (elmo-file-field-primitive-condition-match): Ditto.
2146 (elmo-mime-string): Ditto.
2148 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2149 (elmo-archive-field-condition-match): Ditto.
2151 * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2153 * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2155 * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2156 (elmo-nntp-msgdb-create-message): Ditto.
2158 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2160 * elmo.el (elmo-message-match-condition): Ditto.
2161 (elmo-message-match-condition): Ditto.
2163 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2166 * elmo-version.el (elmo-version): Up to 2.11.29.
2168 * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2169 (elsp-header): New backend.
2171 * elmo-util.el (elmo-decoded-field-body): New function.
2173 2004-05-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2175 * elmo-version.el (elmo-version): Up to 2.11.28.
2177 2004-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2179 * elmo-filter.el: Rewrite.
2181 * elmo-version.el (elmo-version): Up to 2.11.27.
2183 2004-05-05 Yuuichi Teranishi <teranisi@gohome.org>
2185 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2186 msgdb path for the localdir folder with absolute path.
2188 * utf7.el: Synch up with latest gnus/utf7.el;
2189 Modified for latest Emacs.
2191 2004-05-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2193 * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2194 shimbun backend couldn't open.
2196 2004-04-25 Tetsurou Okazaki <okazaki@be.to>
2198 * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2199 (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2200 when a destination folder is a filter folder.
2202 2004-04-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2204 * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2205 (elmo-generic-folder-append-messages): Call elmo-message-flags
2206 with argument `msgid'.
2208 * elmo-split.el (elmo-split-subr): Ditto.
2210 * elmo-pipe.el (elmo-message-flags): Follow the API change.
2212 * elmo-multi.el (elmo-message-flags): Ditto.
2214 2004-04-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2216 * elmo.el (elmo-folder): Add new slot `flag-table'.
2217 (elmo-folder-flag-table): New API.
2218 (elmo-folder-close-flag-table): Ditto.
2219 (elmo-folder-preserve-flags): New function.
2220 (elmo-generic-folder-append-messages): Use
2221 `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2222 Flag of a non-registered message, it sets to nil.
2223 Does not set flag to flag-table.
2225 * elmo-maildir.el (elmo-folder-append-buffer): Use
2226 `elmo-folder-preserve-flags'.
2227 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2228 `elmo-folder-close-flag-table'.
2230 * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2231 (elmo-archive-folder-append-buffer): Use
2232 `elmo-folder-preserve-flags'.
2234 * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2236 * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2238 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2239 (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2240 `elmo-folder-close-flag-table'.
2242 * elmo-version.el (elmo-version): Up to 2.11.26.
2244 2004-04-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2246 * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2248 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2249 md5's 4th and 5th argument (non-existent in flim one).
2251 2004-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2253 * elmo-split.el (elmo-split-subr): Flag of a non-registered
2254 message, It sets to nil.
2256 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2258 * elmo.el (elmo-folder-list-messages): Merge lists only if both
2261 2004-04-16 YAMASHITA Junji <ysjj@unixuser.org>
2263 * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2265 * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2267 * elmo-util.el (elmo-uniq-sorted-list): New function.
2268 (elmo-make-number-list): Ditto.
2269 (elmo-number-set-to-number-list): Use elmo-make-number-list
2270 and don't use nreverse.
2272 2004-04-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2274 * elmo-version.el (elmo-version): Up to 2.11.25.
2276 2004-04-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
2278 * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2279 field not exists in message, Use md5 message digest of header.
2281 2004-04-11 Yoichi NAKAYAMA <yoichi@geiin.org>
2283 * elmo.el (elmo-folder-append-buffer): Add note on return value.
2284 * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2285 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2286 * elmo-split.el (elmo-split-subr): Check return value of
2287 elmo-folder-append-buffer.
2289 * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2290 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2292 * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2295 2004-04-10 Yoichi NAKAYAMA <yoichi@geiin.org>
2297 * elmo-split.el (elmo-split-subr): Append message with flag.
2299 * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2300 * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2301 * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2303 2004-04-03 Tetsurou Okazaki <okazaki@be.to>
2305 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2306 * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2307 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2309 2004-03-29 Tetsurou Okazaki <okazaki@be.to>
2311 * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2312 with a function call of `process-buffer'. All callers are updated.
2313 (elmo-pop3-retrieve-headers): Likewise. Move `process' to the 1st argument.
2314 Remove redundant `set-buffer' in a while loop.
2316 2004-03-28 Tetsurou Okazaki <okazaki@be.to>
2318 * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2321 2004-03-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2323 * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2324 elsp-spamfilter-register-buffer-internal with current buffer.
2325 (elmo-spam-register-spam-buffer): Ditto.
2326 (elmo-spam-register-good-buffer): Ditto.
2328 2004-03-15 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2330 * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2331 if it is not contained in the response(A workaround for courier-imap).
2333 2004-03-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2335 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2338 2004-03-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2340 * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2343 2004-03-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2345 * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2348 * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2350 (elmo-msgdb-message-match-condition): Follow the change above.
2352 2004-02-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2354 * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2357 2004-02-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2359 * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2361 2004-02-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2363 * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2365 2004-02-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2367 * elmo-file.el (elmo-file-find): Fixed the problem when file is
2370 2004-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2372 * elmo-file.el (elmo-file-find): Use expand-file-name for return
2374 (elmo-file-command-argument): Undo last change for cygwin.
2375 (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2377 (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2379 2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2381 * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2382 value returned from elmo-file-find is nil.
2384 2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2386 * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2389 * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2390 instead of insert-file-contents-as-binary.
2391 (elmo-message-set-field): New generic function.
2393 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2394 behavior change on `split-string'.
2396 * elmo-file.el (elmo-file-find): New function.
2397 (elmo-file-command): New user option.
2398 (elmo-file-command-argument): Ditto.
2399 (elmo-file-fetch-max-size): Ditto.
2400 (elmo-file-detect-format): New function.
2401 (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2402 Use elmo-file-detect-format.
2403 (elmo-map-folder-list-message-locations): Don't treat directories.
2405 2004-02-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2407 * elmo-util.el (elmo-string-partial-p): Removed unused function.
2408 (elmo-passwd-alist-clear): Shred password before clear.
2409 (elmo-remove-passwd): Remove all mached pair.
2411 2004-02-18 Yoichi NAKAYAMA <yoichi@geiin.org>
2413 * elmo.el (elmo-folder-synchronize): Fix description of the return
2416 2004-02-16 Yuuichi Teranishi <teranisi@gohome.org>
2418 * elmo.el (elmo-message-fetch-bodystructure): New method.
2419 (elmo-message-fetch-bodystructure): Define default.
2421 * elmo-imap4.el (mime-imap-location-bodystructure): Call
2422 elmo-message-fetch-bodystructure.
2423 (elmo-message-fetch-bodystructure): Define.
2425 * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2427 2004-02-15 Tetsurou Okazaki <okazaki@be.to>
2429 * elmo-filter.el (elmo-message-folder): Define.
2431 2004-02-13 Yuuichi Teranishi <teranisi@gohome.org>
2433 * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2434 elmo-delete-cr-buffer.
2436 * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2438 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2440 * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2442 * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2443 type seems to be a text.
2445 2004-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2447 * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2448 (elmo-spam-register-good-buffer): Ditto.
2449 (elmo-spam-spamassassin-register-messages): Ditto.
2451 * elmo-util.el (elmo-string-member-ignore-case): Define with
2454 2004-02-09 Yuuichi Teranishi <teranisi@gohome.org>
2456 * elmo.el (elmo-folder-type): Undo last change.
2458 * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2460 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2463 * elmo-file.el: New file.
2465 * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2467 * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2469 (elmo-spam-spamassassin-register-messages): New inline function.
2470 (elmo-spam-register-spam-messages): Define.
2471 (elmo-spam-register-good-messages): Ditto.
2473 * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2476 * elmo.el (toplevel): Added autoload setting for
2477 `elmo-get-global-flags'.
2478 (elmo-message-has-global-flag-p): New function.
2479 (elmo-message-set-global-flags): Ditto.
2480 (elmo-folder-type): Improvement for name: format.
2482 * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2483 availability of keyword flags.
2484 (elmo-imap4-folder-list-flagged): Treat keyword flags.
2485 (elmo-folder-list-flagged-plugged): Renamed from
2486 elmo-folder-list-flagged-unplugged.
2487 (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2488 accept any flag as keyword flag.
2489 (elmo-folder-set-flag-plugged): Accept keyword flags.
2490 (toplevel): Added autoload setting for `elmo-get-global-flags'.
2492 * elmo-flag.el (elmo-get-global-flags): New function.
2494 * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2497 * elmo-version.el (elmo-version): Up to 2.11.24.
2499 2004-02-08 Yoichi NAKAYAMA <yoichi@geiin.org>
2501 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2502 elmo-multiple-field-body instead of std11-field-body to check all
2505 2004-02-07 TAKAHASHI Kaoru <kaoru@kaisei.org>
2507 * elmo-util.el (elmo-cache-expire): Completion require match "age"
2510 2004-01-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2512 * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2513 unintern is unbound.
2515 2004-01-25 Yoichi NAKAYAMA <yoichi@geiin.org>
2517 * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2518 Protect from infinite loop.
2520 2004-01-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2522 * elsp-bogofilter.el
2523 (elmo-spam-bogofilter-max-messages-per-process): New user option.
2524 (elmo-spam-bogofilter-register-messages): New internal function.
2525 (elmo-spam-register-spam-messages): Define.
2526 (elmo-spam-register-good-messages): Ditto.
2528 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2530 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2531 Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2532 (elmo-spam-bogofilter-call): Fixed the last change.
2533 (elmo-spam-bogofilter-arguments): Ditto.
2535 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2536 Follow the options change of latest bogofilter.
2538 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2539 (elmo-spam-bogofilter-good-switch): Ditto.
2540 (elmo-spam-bogofilter-arguments-alist): New user option.
2541 (elmo-spam-bogofilter-debug): Ditto.
2542 (elmo-spam-bogofilter-call): Renamed from
2543 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2544 is non-nil, insert output in buffer for debug.
2545 (elmo-spam-bogofilter-arguments): New macro.
2546 (elmo-spam-buffer-spam-p): Use it.
2547 (elsp-bogofilter-register-buffer): Ditto.
2549 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
2551 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2554 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2556 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2558 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2559 (elmo-spam-bsfilter-program): Set default value as full path for
2561 (elmo-spam-bsfilter-debug): New user option.
2562 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2563 non-nil, insert output in buffer for debug. Fix treating of
2566 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2568 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2569 `elmo-maildir-flag-specs' element instead of one.
2570 (elmo-map-folder-unset-flag): Ditto.
2571 (Reported by Ken Makimura <macky@astem.or.jp>)
2573 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2574 (elmo-folder-unset-flag-plugged): Ditto.
2576 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2578 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2579 to `reads' slot only if `in-msgdb' is nil.
2581 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2583 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2584 and complement argument list.
2586 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
2588 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2589 instead of elmo-folder-list-flagged.
2591 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2593 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2595 * elsp-bsfilter.el: New file.
2597 * elmo-pipe.el (elmo-folder-list-unreads,
2598 elmo-folder-list-answereds,
2599 elmo-folder-list-importants,
2600 elmo-folder-flag-as-important,
2601 elmo-folder-unflag-important,
2602 elmo-folder-flag-as-read,
2603 elmo-folder-unflag-read,
2604 elmo-folder-flag-as-answered,
2605 elmo-folder-unflag-answered): Remove.
2606 (elmo-folder-set-flag): Define.
2607 (elmo-folder-unset-flag): Ditto.
2609 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2610 (elmo-folder-set-flag): Define.
2611 (elmo-folder-unset-flag): Ditto.
2612 (elmo-folder-list-unreads): Remove.
2613 (elmo-folder-list-flagged): Define.
2615 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2616 (elmo-folder-list-unreads,
2617 elmo-folder-list-importants,
2618 elmo-folder-list-answereds,
2619 elmo-folder-list-unreads-plugged,
2620 elmo-folder-list-importants-plugged,
2621 elmo-folder-list-answereds-plugged): Remove.
2622 (elmo-folder-list-flagged-plugged): New method.
2623 (elmo-folder-unflag-important,
2624 elmo-folder-flag-as-important,
2625 elmo-folder-unflag-read,
2626 elmo-folder-flag-as-read,
2627 elmo-folder-unflag-answered,
2628 elmo-folder-flag-as-answered,
2629 elmo-folder-flag-as-read-unplugged,
2630 elmo-folder-unflag-read-unplugged,
2631 elmo-folder-flag-as-important-unplugged,
2632 elmo-folder-unflag-important-unplugged,
2633 elmo-folder-flag-as-answered-unplugged,
2634 elmo-folder-unflag-answered-unplugged): Remove.
2635 (elmo-folder-set-flag): Define.
2636 (elmo-folder-unset-flag): Ditto.
2637 (elmo-folder-set-flag-unplugged): Ditto.
2638 (elmo-folder-unset-flag-unplugged): Ditto.
2640 * elmo-multi.el (elmo-folder-list-unreads,
2641 elmo-folder-list-answereds,
2642 elmo-folder-list-importants,
2643 elmo-folder-flag-as-important,
2644 elmo-folder-unflag-important,
2645 elmo-folder-flag-as-read,
2646 elmo-folder-unflag-read,
2647 elmo-folder-flag-as-answered,
2648 elmo-folder-unflag-answered): Remove.
2649 (elmo-folder-set-flag): Define.
2650 (elmo-folder-unset-flag): Ditto.
2652 * elmo-map.el (elmo-map-folder-unflag-important,
2653 elmo-map-folder-flag-as-important,
2654 elmo-map-folder-unflag-read,
2655 elmo-map-folder-flag-as-read,
2656 elmo-map-folder-unflag-answered,
2657 elmo-map-folder-flag-as-answered): Remove.
2658 (elmo-map-folder-set-flag): New method.
2659 (elmo-map-folder-unset-flag): Ditto.
2660 (elmo-map-folder-list-unreads,
2661 elmo-map-folder-list-importants,
2662 elmo-map-folder-list-answereds): Remove.
2663 (elmo-folder-list-flagged-internal): Define.
2664 (elmo-map-folder-list-flagged): New method.
2666 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2667 (elmo-map-folder-list-unreads,
2668 elmo-map-folder-list-importants,
2669 elmo-map-folder-list-flagged): Remove.
2670 (elmo-map-folder-list-flagged): Define.
2671 (elmo-map-folder-flag-as-important,
2672 elmo-map-folder-unflag-important,
2673 elmo-map-folder-flag-as-read,
2674 elmo-map-folder-unflag-read,
2675 elmo-map-folder-flag-as-answered,
2676 elmo-map-folder-unflag-answered): Remove.
2677 (elmo-maildir-set-mark-messages): New internal function.
2678 (elmo-map-folder-set-flag): Define.
2679 (elmo-map-folder-unset-flag): Ditto.
2681 * elmo.el (toplevel): Added autoload setting for
2682 `elmo-folder-list-global-flag-messages'.
2683 (elmo-folder-list-unreads,
2684 elmo-folder-list-importants,
2685 elmo-folder-list-answereds): Remove.
2686 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2687 Return a list whitch merged with messages have global flag.
2688 (elmo-folder-list-flagged-internal): New method.
2689 (elmo-folder-unflag-important,
2690 elmo-folder-flag-as-important,
2691 elmo-folder-unflag-read,
2692 elmo-folder-flag-as-read,
2693 elmo-folder-unflag-answered,
2694 elmo-folder-flag-as-answered): Remove.
2695 (elmo-folder-set-flag): New method.
2696 (elmo-folder-unset-flag): Ditto.
2697 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2698 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2700 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2701 (elmo-folder-list-unreads-plugged,
2702 elmo-folder-list-importants-plugged,
2703 elmo-folder-list-answereds-plugged,
2704 elmo-folder-list-flagged-unplugged,
2705 elmo-folder-unflag-important-plugged,
2706 elmo-folder-flag-as-important-plugged,
2707 elmo-folder-unflag-read-plugged,
2708 elmo-folder-flag-as-read-plugged,
2709 elmo-folder-unflag-answered-plugged,
2710 elmo-folder-flag-as-answered-plugged): Remove.
2711 (elmo-folder-set-flag-plugged,
2712 elmo-folder-unset-flag-plugged): Define.
2714 * elmo-flag.el (elmo-folder-initialize): Register to
2715 `elmo-global-flag-list' if flag is not global.
2716 (elmo-folder-append-messages): Set flag to source messages.
2718 * elmo-filter.el (elmo-filter-folder-list-unreads,
2719 elmo-folder-list-unreads,
2720 elmo-filter-folder-list-importants,
2721 elmo-folder-list-importants,
2722 elmo-folder-flag-as-read,
2723 elmo-folder-unflag-read,
2724 elmo-folder-flag-as-important,
2725 elmo-folder-unflag-important,
2726 elmo-folder-flag-as-answered,
2727 elmo-folder-unflag-answered): Remove.
2728 (elmo-folder-set-flag): Define.
2729 (elmo-folder-unset-flag): Ditto.
2731 * elmo-dop.el (elmo-folder-flag-as-read-dop,
2732 elmo-folder-unflag-read-dop,
2733 elmo-folder-flag-as-important-dop,
2734 elmo-folder-unflag-important-dop,
2735 elmo-folder-flag-as-answered-dop,
2736 elmo-folder-unflag-answered-dop): Remove.
2737 (elmo-folder-set-flag-dop,
2738 elmo-folder-unset-flag-dop,
2739 elmo-folder-set-important-delayed,
2740 elmo-folder-unset-important-delayed,
2741 elmo-folder-set-read-delayed,
2742 elmo-folder-unset-read-delayed,
2743 elmo-folder-set-answered-delayed,
2744 elmo-folder-unset-answered-delayed): New function.
2745 (elmo-dop-queue-merge-method-list): Follow the above chagned.
2746 (elmo-dop-queue-method-name-alist): Ditto.
2748 * elmo-version.el (elmo-version): Up to 2.11.23.
2750 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
2752 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2754 * elsp-sa.el: New file.
2756 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2758 * modb-standard.el (modb-standard-message-entity): New function.
2759 (elmo-msgdb-message-entity): Use it.
2761 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2763 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2764 behavior when one-level is nil.
2766 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2768 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2770 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2772 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2774 (elmo-generic-folder-diff): Ditto.
2776 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2777 (elmo-folder-update-number): Ditto.
2779 * elmo-dop.el (elmo-folder-status-dop): Ditto.
2780 (elmo-folder-next-message-number-dop): Ditto.
2782 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2784 * elmo-filter.el (elmo-folder-msgdb-create): Use
2785 `elmo-message-entity' and `elmo-message-flags' instead of
2786 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2788 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2790 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2793 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2795 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2797 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2799 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2801 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2803 * elmo-version.el (elmo-version): Up to 2.11.22.
2805 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2807 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2809 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2811 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2812 if the message dose not exist.
2814 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
2816 * elmo-version.el (elmo-version): Up to 2.11.21.
2818 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2820 * modb-standard.el (toplevel): Don't require mime.
2822 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2824 * elsp-bogofilter.el (toplevel): Don't require path-util.
2825 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2826 (elmo-spam-bogofilter-header): Abolish.
2827 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2828 (elmo-spam-bogofilter-args): New user option.
2829 (elsp-bogofilter-call-bogofilter): New internal function.
2830 (elmo-spam-buffer-spam-p): Use it.
2831 (elsp-bogofilter-register-buffer): Renamed from
2832 `elmo-spam-bogofilter-register-buffer';
2833 Use `elsp-bogofilter-call-bogofilter'.
2834 (elmo-spam-register-spam-buffer): Follow the change above.
2835 (elmo-spam-register-good-buffer): Ditto.
2837 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2839 * modb-standard.el (elmo-msgdb-append-entity): If entity or
2840 message-id is nil do nothing.
2842 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
2844 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2846 (elmo-imap4-session): Removed use-flag slot.
2847 (elmo-imap4-session-select-mailbox): Undo last change.
2848 (elmo-folder-use-flag-p): Use
2849 elmo-imap4-disuse-server-flag-mailbox-regexp.
2851 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2853 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2854 (elmo-imap4-session-select-mailbox): Set it up.
2855 (elmo-folder-use-flag-p): Return value of use-flag slot.
2857 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2859 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2861 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2863 * modb-entity.el (elmo-message-entity-handler): Likewise.
2865 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
2867 * elmo.el (toplevel): Remove setting of autoloding for
2868 elmo-global-flag-initialize.
2869 (elmo-init): Don't call elmo-global-flag-initialize.
2870 (toplevel): Added autoload setting for elmo-global-mark-migrate.
2872 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2873 (elmo-global-mark-migrate): Don't call it.
2874 (elmo-global-mark-upgrade): Ditto.
2876 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
2878 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2879 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2881 * elmo-vars.el (elmo-init-hook): New user option.
2883 * elmo.el (elmo-init): Run the elmo-init-hook.
2885 * elmo-flag.el (elmo-global-mark-migrate): New function.
2887 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2889 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2890 Undo last change (move to elmo-msgdb-unset-flag).
2891 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2894 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2896 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2898 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2899 (elmo-msgdb-unset-flag): Ditto.
2901 2003-11-05 Andreas Fuchs <asf@boinkor.net>
2903 * elmo-split.el (elmo-split): Return split message count.
2905 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2907 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2910 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2912 * elmo.el (elmo-folder-unflag-important): Call
2913 `elmo-global-flag-detach' with 4th argument delete-if-none that is
2916 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2918 (elmo-global-flag-detach): Delete the message from flag folder, if
2919 `delete-if-none' is a symbol `always'.
2921 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2923 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2924 `elmo-spam-spamfilter-decode-buffer'.
2925 (elsp-spamfilter-register-buffer-internal): New internal function.
2926 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2927 (elmo-spam-register-spam-buffer): Ditto.
2928 (elmo-spam-register-good-buffer): Ditto.
2930 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2932 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2933 (elmo-spam-register-spam-buffer): Follow the API change.
2934 (elmo-spam-register-good-buffer): Ditto.
2936 * elmo-split.el (toplevel): Require elmo-spam when copmile.
2937 (elmo-split-spam-p): Added argument plist; Call
2938 `elmo-spam-buffer-spam-p' with new argument register.
2940 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2942 (elmo-spam-message-spam-p): Ditto.
2943 (elmo-spam-register-spam-buffer): Added optional argument
2945 (elmo-spam-register-good-buffer): Ditto.
2946 (elmo-spam-register-spam-messages): Ditto.
2947 (elmo-spam-register-good-messages): Ditto.
2949 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2951 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2952 register into good corpus.
2953 (elmo-spam-register-good-buffer): Fixed to register into bad
2956 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2958 * elmo-version.el (elmo-version): Up to 2.11.20.
2960 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2963 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2964 flag without depending on \Recent flag.
2966 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2968 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2969 (elmo-spam-modified-p): Defined.
2970 (elmo-spam-save-status): Set `modified' slot to nil.
2971 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2972 (elmo-spam-register-good-buffer): Ditto.
2974 * elmo-spam.el (elmo-spam-modified-p): New API.
2976 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2978 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2979 duplicate definition.
2981 * elmo-util.el (elmo-unfold-field-body): New function.
2982 (elmo-msgdb-get-message-id-from-buffer): Use it.
2984 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2985 Fixed the last change; Use elmo-unfold-field-body.
2987 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2989 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2992 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2994 * elmo-spam.el (elmo-spam-save-status): New API.
2996 * elsp-spamfilter.el: New file.
2998 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
3000 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
3002 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3004 * elmo-split.el (elmo-split-spam-p): New function.
3006 * elmo-spam.el: New file.
3008 * elsp-bogofilter.el: Ditto.
3010 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
3012 * elmo.el (elmo-folder-next-message-number): New API.
3013 (elmo-folder-next-message-number): Define.
3014 (elmo-message-field): Don't check folder length.
3016 * elmo-net.el (elmo-folder-next-message-number): Define.
3017 (elmo-folder-next-message-number-unplugged): Define.
3019 * elmo-map.el (elmo-folder-next-message-number): Define.
3020 (elmo-folder-delete-messages): Clear hash value.
3022 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
3024 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
3025 (elmo-folder-delete-messages-dop-delayed): Always return t.
3027 * elmo-version.el (elmo-version): Up to 2.11.19.
3029 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3031 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
3034 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
3035 identical cons cell into the mark-alist and the hash table.
3037 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
3039 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
3040 elmo-folder-list-messages with argument `visible-only' as t.
3042 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
3043 (elmo-folder-msgdb-create): Check the target folder.
3045 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
3047 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
3048 `permanentflag' instead of `flags'.
3049 (elmo-folder-open): Ditto.
3050 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
3051 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
3052 (elmo-folder-use-flag-p): Always return t.
3053 (elmo-imap4-session-select-mailbox): Use value of `flags' if
3054 `permanentflags' does not exist.
3055 (elmo-folder-open): Ditto.
3057 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
3059 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
3061 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
3063 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
3064 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
3066 (elmo-folder-open): Ditto.
3067 (elmo-imap4-set-flag): Send store flag command only when the `flags'
3068 slot of the session includes the flag.
3069 (elmo-imap4-session-flag-available-p): New function.
3070 (elmo-imap4-folder-list-flagged): Ditto.
3071 (elmo-folder-list-unreads-plugged): Use it.
3072 (elmo-folder-list-importants-plugged): Ditto.
3073 (elmo-folder-list-answereds-plugged): Ditto.
3074 (elmo-imap4-search-internal-primitive): Ditto.
3075 (elmo-imap4-folder-list-any-plugged,
3076 elmo-imap4-folder-list-digest-plugged): Abolish.
3078 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
3081 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
3083 * elmo-util.el (toplevel): Require emu for char-list-to-string.
3085 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
3087 * elmo-util.el (elmo-get-hash-val): Simplify.
3088 (elmo-set-hash-val): Rewrite.
3090 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3092 * elmo.el (elmo-folder-list-messages): Append killed messages into
3093 result if `visible-only' is nil and `in-msgdb' is non-nil.
3095 * elmo-util.el (elmo-uniq-list): Added optional argument
3098 * modb.el (elmo-msgdb-flag-count): New API.
3100 * modb-standard.el (modb-standard): Added slot flag-count.
3101 (modb-standard-countup-flags): New function.
3102 (modb-standard-load-flag): Call it.
3103 (elmo-msgdb-append): Ditto.
3104 (elmo-msgdb-clear): Clear slot flag-count.
3105 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
3106 (elmo-msgdb-unset-flag): Treat `all' flag and call
3107 modb-standard-countup-flags.
3108 (elmo-msgdb-flag-count): Define.
3109 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
3110 (elmo-msgdb-delete-messages): Ditto.
3112 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
3113 (elmo-msgdb-flag-count): Define.
3115 * elmo.el (elmo-folder-list-messages): Undo last change.
3116 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
3117 (elmo-folder-kill-messages): Unset all flags to numbers.
3119 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
3120 elmo-folder-kill-messages.
3122 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
3123 (elmo-nntp-folder-delete-messages): Abolish.
3125 * elmo-version.el (elmo-version): Up to 2.11.18.
3127 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3129 * elmo.el (elmo-folder-kill-messages-before): Abolish.
3130 (elmo-folder-kill-messages-range): New function.
3131 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3132 instead of elmo-folder-kill-messages-before.
3134 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
3136 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3137 elmo-imap4-current-msgdb to decide entity handler.
3139 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
3141 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3143 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3145 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3146 (elmo-msgdb-overview-entity-set-number,
3147 elmo-msgdb-overview-entity-get-references,
3148 elmo-msgdb-overview-entity-set-references,
3149 elmo-msgdb-overview-entity-get-from-no-decode,
3150 elmo-msgdb-overview-entity-get-from,
3151 elmo-msgdb-overview-entity-set-from,
3152 elmo-msgdb-overview-entity-get-subject,
3153 elmo-msgdb-overview-entity-get-subject-no-decode,
3154 elmo-msgdb-overview-entity-set-subject,
3155 elmo-msgdb-overview-entity-get-date,
3156 elmo-msgdb-overview-entity-set-date,
3157 elmo-msgdb-overview-entity-get-to,
3158 elmo-msgdb-overview-entity-get-cc,
3159 elmo-msgdb-overview-entity-get-size,
3160 elmo-msgdb-overview-entity-set-size,
3161 elmo-msgdb-overview-entity-get-extra,
3162 elmo-msgdb-overview-entity-set-extra,
3163 elmo-msgdb-overview-entity-get-extra-field,
3164 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3165 (elmo-msgdb-make-index): Use
3166 `elmo-msgdb-overview-entity-get-number-internal'.
3167 (elmo-msgdb-clear-index): Ditto.
3168 (elmo-msgdb-append-entity): Ditto;
3169 Use `elmo-msgdb-overview-entity-get-id-internal'.
3171 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3172 elmo-msgdb-overview-entity-set-number,
3173 elmo-msgdb-overview-entity-get-references,
3174 elmo-msgdb-overview-entity-set-references,
3175 elmo-msgdb-overview-entity-get-from-no-decode,
3176 elmo-msgdb-overview-entity-get-from,
3177 elmo-msgdb-overview-entity-set-from,
3178 elmo-msgdb-overview-entity-get-subject,
3179 elmo-msgdb-overview-entity-get-subject-no-decode,
3180 elmo-msgdb-overview-entity-set-subject,
3181 elmo-msgdb-overview-entity-get-date,
3182 elmo-msgdb-overview-entity-set-date,
3183 elmo-msgdb-overview-entity-get-to,
3184 elmo-msgdb-overview-entity-get-cc,
3185 elmo-msgdb-overview-entity-get-size,
3186 elmo-msgdb-overview-entity-set-size,
3187 elmo-msgdb-overview-entity-get-extra,
3188 elmo-msgdb-overview-entity-set-extra,
3189 elmo-msgdb-overview-entity-get-extra-field,
3190 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3191 and rewrote for backward compatibility.
3193 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3195 * elmo.el (elmo-message-entity-number,
3196 elmo-message-entity-set-number,
3197 elmo-message-entity-field,
3198 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3200 * elmo-msgdb.el (elmo-message-entity-number,
3201 elmo-message-entity-set-number,
3202 elmo-message-entity-field,
3203 elmo-message-entity-set-field): Moved from elmo.el.
3205 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
3207 * elmo.el (toplevel): Changed definition orders.
3209 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3211 * modb.el (elmo-msgdb-search): New API .
3212 (elmo-msgdb-match-condition): Ditto.
3214 * modb-standard.el (elmo-msgdb-search): Define.
3216 * modb-legacy.el (elmo-msgdb-search): Ditto.
3218 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3219 from elmo-msgdb-match-condition-internal.
3221 * elmo.el (elmo-folder-search-fast): Abolish.
3222 (elmo-folder-search): Use elmo-msgdb-search and
3223 elmo-with-progress-display.
3225 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3228 * elmo.el (elmo-folder): Remove slot message-modified and
3230 (elmo-folder-set-message-modified): Abolish.
3231 (elmo-generic-folder-commit): Follow the change above.
3232 (elmo-folder-synchronize): Ditto.
3234 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3236 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3238 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3240 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3242 * modb-standard.el (modb-standard-make-message-entity,
3243 elmo-msgdb-make-message-entity,
3244 elmo-msgdb-create-message-entity-from-buffer,
3245 elmo-msgdb-message-entity-number,
3246 elmo-msgdb-message-entity-set-number,
3247 elmo-msgdb-message-entity-field,
3248 elmo-msgdb-message-entity-set-field,
3249 elmo-msgdb-copy-message-entity,
3250 elmo-msgdb-match-condition-internal): Remove.
3252 * modb-entity.el: New file (again).
3254 * modb.el (toplevel): Require modb-entity.
3255 (elmo-msgdb-message-entity-handler): New method.
3257 * modb-standard.el (modb-standard-entity-id): Use
3258 elmo-message-entity-handler.
3259 (modb-standard-load-entity): Ditto.
3260 (elmo-msgdb-append-entity): Ditto.
3261 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3263 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3264 elmo-msgdb-decoded-cache-hashtb,
3265 (modb-legacy-make-message-entity,
3266 elmo-msgdb-make-message-entity,
3267 elmo-msgdb-create-message-entity-from-buffer,
3268 elmo-msgdb-message-entity-number,
3269 elmo-msgdb-message-entity-set-number,
3270 elmo-msgdb-message-entity-field,
3271 elmo-msgdb-message-entity-set-field,
3272 elmo-msgdb-copy-message-entity,
3273 elmo-msgdb-match-condition-internal,
3274 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3276 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3277 (elmo-message-entity-set-number): Ditto.
3278 (elmo-message-entity-field): Ditto.
3279 (elmo-message-entity-set-field): Ditto.
3281 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3283 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3285 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3287 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3288 (elmo-nntp-msgdb-create-message): Ditto.
3290 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3291 (elmo-folder-msgdb-create): Add unread flag.
3293 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3295 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3297 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3299 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3301 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3302 elmo-msgdb-messge-entity-handler.
3303 * elmo-version.el (elmo-version): Up to 2.11.17.
3305 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3307 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3310 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
3312 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3314 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3315 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3316 (elmo-msgdb-flag-table): Ditto.
3317 (elmo-msgdb-sort-by-date): Ditto.
3319 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3321 * modb-standard.el (toplevel): Require mime.
3322 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3323 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3324 elmo-msgdb-message-entity-number.
3325 (elmo-msgdb-append-entity): Ditto.
3326 (elmo-msgdb-create-message-entity-from-file): Remove.
3327 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
3328 corresponds to the entity.
3329 (elmo-msgdb-message-entity-number): Do nothing currently.
3330 (elmo-msgdb-message-entity-field): Ditto.
3331 (elmo-msgdb-message-entity-set-field): Ditto.
3332 (elmo-msgdb-copy-message-entity): Ditto.
3333 (elmo-msgdb-match-condition-internal): Ditto.
3335 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3337 (elmo-msgdb-create-message-entity-from-file): Remove.
3339 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3341 (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3343 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3345 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3347 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3348 (elmo-msgdb-message-entity-field): Ditto.
3349 (elmo-msgdb-message-entity-number): Ditto.
3351 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3353 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
3354 Fixed how to set extra field into entity.
3355 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3358 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3359 Fixed how to set extra field into entity.
3360 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3363 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3365 * modb.el (elmo-message-entity-db): New function.
3366 (elmo-msgdb-make-message-entity): New API.
3367 (elmo-msgdb-message-entity-number): Ditto.
3368 (elmo-msgdb-message-entity-set-number): Ditto.
3369 (elmo-msgdb-message-entity-field): Ditto.
3370 (elmo-msgdb-message-entity-set-field): Ditto.
3371 (elmo-msgdb-copy-message-entity): Ditto.
3372 (elmo-msgdb-create-message-entity-from-file): Ditto.
3373 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3374 (elmo-msgdb-match-condition-internal): Ditto.
3376 * modb-standard.el (modb-legacy): Require modb-legacy.
3377 (modb-standard-make-message-entity): New inline function.
3378 (elmo-msgdb-make-message-entity): Define.
3379 (elmo-msgdb-create-message-entity-from-file): Ditto.
3380 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3381 (elmo-msgdb-message-entity-field): Ditto.
3382 (elmo-msgdb-message-entity-set-field): Ditto.
3383 (elmo-msgdb-copy-message-entity): Ditto.
3384 (elmo-msgdb-match-condition-internal): Ditto.
3386 * modb-legacy.el: Don't require modb-entity.
3387 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3388 (elmo-msgdb-match-condition-primitive): Ditto.
3389 (elmo-msgdb-get-decoded-cache): Ditto.
3390 (elmo-msgdb-overview-entity-get-id): Ditto.
3391 (elmo-msgdb-overview-entity-get-number): Ditto.
3392 (elmo-msgdb-overview-entity-set-number): Ditto.
3393 (elmo-msgdb-overview-entity-get-references): Ditto.
3394 (elmo-msgdb-overview-entity-set-references): Ditto.
3395 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3396 (elmo-msgdb-overview-entity-get-from): Ditto.
3397 (elmo-msgdb-overview-entity-set-from): Ditto.
3398 (elmo-msgdb-overview-entity-get-subject): Ditto.
3399 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3400 (elmo-msgdb-overview-entity-set-subject): Ditto.
3401 (elmo-msgdb-overview-entity-get-date): Ditto.
3402 (elmo-msgdb-overview-entity-set-date): Ditto.
3403 (elmo-msgdb-overview-entity-get-to): Ditto.
3404 (elmo-msgdb-overview-entity-get-cc): Ditto.
3405 (elmo-msgdb-overview-entity-get-size): Ditto.
3406 (elmo-msgdb-overview-entity-set-size): Ditto.
3407 (elmo-msgdb-overview-entity-get-extra): Ditto.
3408 (elmo-msgdb-overview-entity-set-extra): Ditto.
3409 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3410 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3411 (elmo-msgdb-number-load): Ditto.
3412 (elmo-msgdb-overview-load): Ditto.
3413 (elmo-msgdb-mark-load): Ditto.
3414 (elmo-msgdb-number-save): Ditto.
3415 (elmo-msgdb-mark-save): Ditto.
3416 (elmo-msgdb-overview-save): Ditto.
3417 (modb-legacy-make-message-entity): New inline function.
3418 (elmo-msgdb-insert-file-header): Ditto.
3419 (elmo-msgdb-make-message-entity): Define.
3420 (elmo-msgdb-create-message-entity-from-file): Ditto.
3421 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3422 (elmo-msgdb-message-entity-number): Ditto.
3423 (elmo-msgdb-message-entity-set-number): Ditto.
3424 (elmo-msgdb-message-entity-field): Ditto.
3425 (elmo-msgdb-message-entity-set-field): Ditto.
3426 (elmo-msgdb-copy-message-entity): Ditto.
3427 (elmo-msgdb-match-condition-internal): Ditto.
3429 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3430 (elmo-message-copy-entity): Rewrite.
3431 (elmo-message-entity-number): Ditto.
3432 (elmo-message-entity-set-number): Ditto.
3433 (elmo-message-entity-field): Use elmo-message-entity-db.
3434 (elmo-message-entity-set-field): Ditto.
3435 (elmo-message-field): Rewrite.
3437 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3439 (elmo-msgdb-get-message-id-from-buffer): Ditto.
3441 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3442 elmo-message-entity-field.
3443 (elmo-shimbun-folder-shimbun-header): Ditto.
3444 (elmo-shimbun-entity-to-header): Ditto.
3445 (elmo-folder-msgdb-create): Ditto.
3446 (elmo-shimbun-msgdb-create-entity): Ditto;
3447 Use elmo-msgdb-create-message-entity-from-buffer.
3448 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3449 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3451 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3452 elmo-msgdb-create-message-entity-from-file and
3453 elmo-message-entity-field.
3455 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3456 elmo-message-entity-number.
3457 (elmo-pop3-msgdb-create-message): Use
3458 elmo-msgdb-create-message-entity-from-buffer,
3459 elmo-message-entity-set-field, elmo-message-entity-number and
3460 elmo-message-entity-set-number.
3462 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3463 the API change in elmo-msgdb-make-message-entity.
3464 (elmo-nntp-msgdb-create-message): Use
3465 elmo-msgdb-create-message-entity-from-buffer.
3467 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3468 elmo-message-entity-field and
3469 elmo-msgdb-create-message-entity-from-file.
3471 * elmo-msgdb.el (toplevel): Don't require modb-entity.
3472 (elmo-msgdb-get-field): Abolish.
3473 (elmo-msgdb-get-number): Rewrite.
3474 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3475 (elmo-msgdb-flag-table): Ditto.
3476 (elmo-msgdb-get-last-message-id,
3477 elmo-msgdb-number-load, elmo-msgdb-overview-load,
3478 elmo-msgdb-mark-load, elmo-msgdb-number-save,
3479 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3480 (elmo-msgdb-create-overview-from-buffer,
3481 elmo-msgdb-overview-get-parent-entity): Abolish.
3483 * elmo-mime.el (elmo-mime-display-as-is): Use
3484 elmo-message-entity-field.
3486 * elmo-map.el (elmo-folder-pack-numbers): Use
3487 elmo-message-entity-set-number.
3489 * elmo-maildir.el (elmo-folder-msgdb-create):
3490 elmo-msgdb-create-message-entity-from-file instead of
3491 elmo-msgdb-create-overview-entity-from-file.
3493 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3495 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3496 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3498 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3499 elmo-messge-entity-field and elmo-message-entity-number.
3500 (elmo-imap4-fetch-callback-1): Call
3501 elmo-msgdb-create-message-entity-from-buffer instead of
3502 elmo-msgdb-create-overview-from-buffer.
3503 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3504 (elmo-find-fetch-strategy): Likewise.
3506 * elmo-flag.el (elmo-folder-msgdb-create): Call
3507 elmo-localdir-msgdb-create-entity with argument msgdb.
3509 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3510 and elmo-message-entity-set-number.
3512 * elmo-cache.el (elmo-folder-msgdb-create): Use
3513 elmo-message-entity-field.
3514 (elmo-folder-msgdb-create): Call
3515 elmo-msgdb-create-message-entity-from-file instead of
3516 elmo-msgdb-create-overview-entity-from-file.
3518 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3519 argument msgdb; Call elmo-msgdb-create-message-from-buffer
3520 instead of elmo-msgdb-create-overview-from-buffer.
3521 (elmo-archive-msgdb-create-entity): Ditto.
3522 (elmo-archive-msgdb-create-as-numlist-subr1): Use
3523 elmo-message-entity-field.
3524 (elmo-archive-parse-mmdf): Ditto.
3526 * modb-entity.el: Removed.
3528 * elmo-version.el (elmo-version): Up to 2.11.16.
3530 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3532 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3534 (elmo-folder-flag-as-answered): Ditto.
3536 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3538 * modb-standard.el: New file.
3540 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3541 elmo-msgdb-convert-type is `sync'.
3543 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3544 (elmo-msgdb-convert-type): New user option.
3546 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3547 (elmo-load-msgdb): Auto detect saved type.
3549 * elmo-version.el (elmo-version): Up to 2.11.15.
3551 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
3553 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3555 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3556 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3557 with argument `delete-if-none' when dst-folder is 'null.
3559 * elmo-flag.el (elmo-folder-append-messages): Defined.
3560 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3562 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3564 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3566 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3568 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3569 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3570 (elmo-folder-commit): Ditto.
3572 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
3574 * elmo-flag.el: New file.
3576 * elmo-mark.el: Removed.
3578 * modb-legacy.el (modb-legacy-new-mark,
3579 modb-legacy-unread-uncached-mark,
3580 modb-legacy-unread-cached-mark,
3581 modb-legacy-read-uncached-mark,
3582 modb-legacy-answered-cached-mark,
3583 modb-legacy-answered-uncached-mark,
3584 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3585 All other related portions are changed.
3587 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3588 (elmo-folder-list-messages-with-global-mark): Abolish.
3589 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3590 (elmo-folder-flag-as-important): Ditto.
3591 (elmo-folder-unflag-read): Ditto.
3592 (elmo-folder-flag-as-read): Ditto.
3593 (elmo-folder-unflag-answered): Ditto.
3594 (elmo-folder-flag-as-answered): Ditto.
3595 (elmo-message-encache): Return the cache path.
3596 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3597 (elmo-message-set-flag): Transitional implementation.
3598 (elmo-message-unset-flag): Ditto.
3599 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3600 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3601 (elmo-init): Call elmo-global-flag-initialize.
3602 (toplevel): Added autoload settings for elmo-flag.
3604 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3606 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3607 (elmo-file-cache-delete): Don't treat global-mark.
3609 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3611 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3613 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3614 `elmo-global-flags-set'.
3616 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3618 (elmo-folder-unflag-read): Ditto.
3619 (elmo-folder-unflag-important): Ditto.
3620 (elmo-folder-flag-as-important): Ditto.
3621 (elmo-folder-unflag-answered): Ditto.
3622 (elmo-folder-flag-as-answered): Ditto.
3624 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3625 `elmo-global-flags-set'.
3626 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3628 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3630 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3632 (elmo-folder-flag-as-important): Ditto.
3633 (elmo-folder-unflag-important): Ditto.
3634 (elmo-folder-flag-as-important): Ditto.
3635 (elmo-folder-unflag-read): Ditto.
3636 (elmo-folder-flag-as-read): Ditto.
3637 (elmo-folder-unflag-answered): Ditto.
3638 (elmo-folder-flag-as-answered): Ditto.
3640 * elmo-multi.el (elmo-folder-list-importants): Don't call
3641 elmo-folder-list-messages-with-global-mark.
3642 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3643 (elmo-folder-unflag-important): Ditto.
3644 (elmo-folder-flag-as-read): Ditto.
3645 (elmo-folder-unflag-read): Ditto.
3646 (elmo-folder-flag-as-answered): Ditto.
3647 (elmo-folder-unflag-answered): Ditto.
3649 * elmo-msgdb.el (elmo-msgdb-new-mark,
3650 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3651 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3652 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3653 (Moved to modb-legacy.el).
3654 (elmo-flag-table-get): Treat important flag too.
3656 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3658 (elmo-map-folder-flag-as-important): Ditto.
3659 (elmo-map-folder-unflag-read): Ditto.
3660 (elmo-map-folder-flag-as-read): Ditto.
3661 (elmo-map-folder-unflag-answered): Ditto.
3662 (elmo-map-folder-flag-as-answered): Ditto.
3663 (elmo-folder-unflag-important): Ditto.
3664 (elmo-folder-flag-as-important): Ditto.
3665 (elmo-folder-unflag-read): Ditto.
3666 (elmo-folder-flag-as-read): Ditto.
3667 (elmo-folder-unflag-answered): Ditto.
3668 (elmo-folder-flag-as-answered): Ditto.
3670 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3671 (elmo-map-folder-flag-as-important): Renamed from `mark' to
3673 (elmo-map-folder-unflag-important): Ditto.
3674 (elmo-map-folder-flag-as-read): Ditto.
3675 (elmo-map-folder-unflag-read): Ditto.
3676 (elmo-map-folder-flag-as-answered): Ditto.
3677 (elmo-map-folder-unflag-answered): Ditto.
3679 * elmo-localdir.el (elmo-folder-msgdb-create): Call
3680 `elmo-global-flags-set'.
3681 (elmo-global-flags-set): Added autoload setting.
3683 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3686 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3687 `elmo-msgdb-global-mark-set'.
3688 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3689 Call `elmo-global-flags-set'.
3690 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3692 (elmo-folder-flag-as-important-plugged): Ditto.
3693 (elmo-folder-unflag-read-plugged): Ditto.
3694 (elmo-folder-flag-as-read-plugged): Ditto.
3695 (elmo-folder-unflag-answered-plugged): Ditto.
3696 (elmo-folder-flag-as-answered-plugged): Ditto.
3697 (elmo-global-flags-set): Added autoload setting.
3699 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3701 (elmo-folder-unflag-read): Ditto.
3702 (elmo-folder-flag-as-important): Ditto.
3703 (elmo-folder-unflag-important): Ditto.
3704 (elmo-folder-flag-as-answered): Ditto.
3705 (elmo-folder-unflag-answered): Ditto.
3707 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3708 change of `mark'->`flag'.
3709 (elmo-dop-queue-method-name-alist): Ditto.
3710 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3711 (elmo-folder-unflag-read-dop): Ditto.
3712 (elmo-folder-flag-as-important-dop): Ditto.
3713 (elmo-folder-unflag-important-dop): Ditto.
3714 (elmo-folder-flag-as-answered-dop): Ditto.
3715 (elmo-folder-unflag-answered-dop): Ditto.
3717 * elmo-cache.el (elmo-folder-msgdb-create): Call
3718 `elmo-global-flags-set'.
3720 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3721 Call `elmo-global-flags-set'.
3722 (elmo-archive-msgdb-create-as-numlist-subr2): Call
3723 elmo-archive-parse-mmdf with argument `folder'.
3724 (elmo-archive-parse-mmdf): Added argument `folder';
3725 Call `elmo-global-flags-set'.
3727 * elmo-version.el (elmo-version): Up to 2.11.14.
3729 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3731 * modb.el (elmo-msgdb-length): Define.
3733 * elmo.el (elmo-make-folder): Fixed.
3734 (elmo-generic-folder-append-messages): Follow the API change.
3736 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3739 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3741 * modb.el: New file.
3743 * modb-entity.el: Ditto.
3745 * modb-legacy.el: Ditto.
3747 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3748 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3749 of `elmo-msgdb-overview-get-entity'.
3750 (elmo-msgdb-get-field): Ditto.
3751 (elmo-msgdb-merge): Moved to `elmo.el'.
3752 (elmo-msgdb-length): Removed; redefine as modb method.
3753 (elmo-msgdb-change-mark): Abolish.
3754 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3755 (elmo-msgdb-match-condition): Don't use mark.
3756 (elmo-msgdb-overview-get-entity): Abolish.
3757 Split modb part into `modb*.el'.
3759 * elmo-vars.el (elmo-msgdb-default-type): New user option.
3761 * elmo-shimbun.el (shimbun-mua-search-id): Use
3762 `elmo-msgdb-message-entity' instead of
3763 `elmo-msgdb-overview-get-entity'.
3764 (elmo-shimbun-folder-shimbun-header): Ditto.
3765 (elmo-shimbun-get-headers): Ditto.
3766 (elmo-shimbun-update-overview): Ditto.
3768 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3770 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3772 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3773 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3775 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3776 `elmo-msgdb-mark-to-flags'.
3778 * elmo-map.el (elmo-folder-pack-numbers): Don't use
3779 `elmo-msgdb-set-path'.
3781 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3783 * elmo-version.el (elmo-version): Up to 2.11.13.
3785 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3787 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3790 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
3792 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3795 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3797 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3798 instead of `elmo-msgdb-get-cached'.
3799 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3801 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3802 (elmo-msgdb-set-cached): Ditto.
3803 (elmo-msgdb-set-flag): Rewrite.
3804 (elmo-msgdb-unset-flag): Ditto.
3806 * elmo-msgdb.el: Rewrite with luna.
3808 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3809 (elmo-folder-msgdb): Follow the change above.
3810 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3811 (elmo-folder-unmark-important): Follow the API change.
3812 (elmo-folder-mark-as-important): Ditto.
3813 (elmo-folder-unmark-read): Ditto.
3814 (elmo-folder-mark-as-read): Ditto.
3815 (elmo-folder-unmark-answered): Ditto.
3816 (elmo-folder-mark-as-answered): Ditto.
3817 (elmo-folder-clear): Likewise.
3819 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3820 instead of `elmo-msgdb-load' (renamed).
3822 * elmo-version.el (elmo-version): Up to 2.11.12.
3824 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3826 * elmo.el (elmo-generic-folder-append-messages): Follow the API
3828 (elmo-message-mark): Abolish.
3829 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3830 instead of `elmo-msgdb-change-mark'.
3832 * elmo-pipe.el (elmo-message-mark): Abolish.
3834 * elmo-multi.el (elmo-message-mark): Ditto.
3836 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3837 (elmo-msgdb-unread-uncached-mark): Ditto.
3838 (elmo-msgdb-unread-cached-mark): Ditto.
3839 (elmo-msgdb-read-uncached-mark): Ditto.
3840 (elmo-msgdb-answered-cached-mark): Ditto.
3841 (elmo-msgdb-answered-uncached-mark): Ditto.
3842 (elmo-msgdb-important-mark): Ditto.
3843 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3845 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3847 (elmo-flag-table-load): Changed flag to list of flag.
3848 (elmo-flag-table-set): If flags is nil, set read flag.
3849 (elmo-flag-table-get): Return derived flags from global mark,
3850 cache status and saved flags.
3851 (elmo-msgdb-flag-table): Follow the change above.
3852 (elmo-msgdb-out-of-date-messages): New function.
3854 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3856 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3858 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3860 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3861 (elmo-nntp-msgdb-create-message): Ditto.
3863 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3865 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3867 (elmo-folder-msgdb-create): Follow the API change.
3869 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3870 (elmo-folder-append-messages): Ditto.
3872 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3873 (elmo-folder-append-buffer): Ditto.
3875 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3877 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3879 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3880 (elmo-archive-parse-mmdf): Ditto.
3882 * elmo-version.el (elmo-version): Up to 2.11.11.
3884 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3886 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3889 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3891 * elmo-pipe.el (elmo-message-flags): Defined.
3893 * elmo-multi.el (elmo-message-flags): Ditto.
3895 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3897 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3898 `elmo-msgdb-delete-msgs'.
3900 * elmo.el (elmo-folder-count-flags): Don't use
3901 `elmo-msgdb-get-mark-alist'.
3902 (elmo-folder-detach-messages): Follow the API change.
3904 * elmo.el (elmo-folder-list-messages): Append killed messages into
3905 result if `visible-only' is nil.
3907 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3909 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3910 (elmo-folder-update-number): Likewise.
3912 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3913 (elmo-pop3-sort-msgdb-by-original-number): Use
3914 `elmo-msgdb-sort-entities'.
3916 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3917 (elmo-msgdb-sort-by-date): Use it.
3918 (elmo-msgdb-overview-sort-by-date): Abolish.
3920 * elmo-dop.el (elmo-folder-status-dop): Fixed.
3922 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3923 (elmo-msgdb-flags): New function.
3924 (elmo-msgdb-merge): Use elmo-msgdb-append.
3926 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3929 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3931 * elmo-dop.el (elmo-folder-status-dop): Use
3932 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3934 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3936 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3938 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3940 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3942 * elmo-util.el (elmo-with-progress-display): New macro.
3944 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3946 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3948 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3949 `elmo-folder-list-message-entities' instead of
3950 `elmo-msgdb-get-overview'.
3951 (elmo-map-folder-list-message-locations): Ditto.
3953 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3954 methods instead of treat directly).
3955 (elmo-msgdb-clear): Ditto.
3956 (elmo-msgdb-delete-msgs): Ditto.
3957 (elmo-msgdb-sort-by-date): Ditto.
3959 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3961 (elmo-nntp-folder-msgdb-create): Follow the API change.
3963 * elmo-version.el (elmo-version): Up to 2.11.10.
3965 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3967 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3968 (elmo-msgdb-flags-to-mark): Ditto.
3969 (elmo-msgdb-append-entity): Ditto.
3971 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3972 Use `elmo-msgdb-append-entity' instead of construct msgdb.
3973 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3974 (elmo-archive-parse-mmdf): Ditto.
3976 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3978 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3980 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3982 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3984 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3986 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3988 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3990 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3992 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3993 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3996 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3997 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3998 instead of directly construction.
3999 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
4000 instead of construct msgdb.
4002 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
4003 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
4004 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
4005 instead of construct msgdb.
4007 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4009 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
4010 when field is from or subject.
4012 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
4014 * elmo-multi.el (elmo-message-entity-parent): Define.
4015 (elmo-folder-search): Rewrite.
4017 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4019 * elmo-multi.el (elmo-message-cached-p): Define.
4021 * elmo.el (elmo-message-cached-p): New method.
4022 (elmo-message-accessible-p): Use it instead of msgdb API directly.
4023 (elmo-message-flags): New method.
4024 (elmo-message-flagged-p): New function.
4026 * elmo-version.el (elmo-version): Up to 2.11.9.
4028 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4030 * elmo-version.el (elmo-version): Up to 2.11.8.
4032 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
4034 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
4036 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
4038 * elmo.el (elmo-folder-detach-messages): Undo last change.
4040 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
4042 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
4044 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
4045 only when src folder type is pop3.
4047 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
4049 * elmo-msgdb.el (elmo-msgdb-make-index): Use
4050 elmo-msgdb-overview-entity-get-number instead of
4051 elmo-message-entity-number.
4053 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4055 * elmo-version.el (elmo-version): Up to 2.11.7.
4057 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
4059 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
4062 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
4063 (elmo-msgdb-merge): New function.
4064 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
4065 (elmo-msgdb-make-index): Rewrite.
4067 * elmo-version.el (elmo-version): Up to 2.11.6.
4069 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
4070 use it as a the path for loading message entities.
4072 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
4074 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
4076 * elmo-filter.el (elmo-folder-set-message-modified): Set
4077 message-modified slot of itself if it does not require target msgdb.
4079 * elmo-mime.el (elmo-mime-message-display): Display message entirely
4080 if folder length is zero.
4081 (elmo-mime-display-as-is): Ditto.
4083 * elmo-filter.el (elmo-folder-set-message-modified): Define.
4085 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
4087 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4089 * elmo.el (elmo-folder-set-message-modified): New method.
4090 (elmo-generic-folder-commit): Use it.
4091 (elmo-folder-synchronize): Ditto.
4093 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
4094 (elmo-folder-commit): Remove duplicate definition.
4096 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4098 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
4100 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4102 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
4103 (elmo-strict-folder-diff): Ditto.
4104 (elmo-folder-set-info-max-by-numdb): Simplify.
4106 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
4107 elmo-msgdb-list-messages.
4109 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
4110 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
4112 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
4114 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
4115 visible-only is non-nil.
4116 (elmo-folder-confirm-appends): Changed message.
4117 (elmo-folder-synchronize): Added argument disable-killed.
4119 * elmo-multi.el (elmo-folder-synchronize): Added argument
4122 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
4124 * elmo-version.el (elmo-version): Up to 2.11.5.
4126 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
4129 * elmo-util.el (elmo-list-filter): Simplify.
4131 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4132 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4133 (elmo-generic-folder-diff): Abolish argument.
4134 (elmo-msgdb-load): Don't use number-alist.
4136 * elmo-filter.el (elmo-folder-diff): Abolish argument.
4138 * elmo-pipe.el (elmo-folder-diff): Ditto.
4140 * elmo-nmz.el (elmo-folder-diff): Ditto.
4142 * elmo-net.el (elmo-folder-diff): Ditto.
4144 * elmo-maildir.el (elmo-folder-diff): Ditto.
4146 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4148 * elmo-multi.el (elmo-folder-diff): Ditto
4149 (elmo-multi-folder-diff): Rewrite.
4151 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4153 * elmo-pipe.el (elmo-folder-msgdb): Define.
4155 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
4157 * elmo.el (elmo-message-set-cached): Define as a method.
4159 * elmo-pipe.el (elmo-message-set-cached): Define.
4160 (elmo-find-fetch-strategy): Ditto.
4162 * elmo-multi.el (elmo-message-set-cached): Define.
4163 (elmo-find-fetch-strategy): Rewrite.
4165 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4167 * elmo-pipe.el (elmo-message-folder): Fixed definition.
4169 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
4171 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4172 instead of number-alist.
4174 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4175 mark nor message-id when msgdb of source folder is not loaded.
4177 * elmo.el (elmo-generic-folder-append-messages): Ditto.
4179 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4181 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
4183 * elmo.el (elmo-folder-length): Don't require msgdb.
4185 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
4187 * elmo.el (elmo-message-mark): Cause an error when empty folder.
4188 (elmo-message-field): Ditto.
4190 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4191 (elmo-map-folder-list-message-locations): Setup `answered-locations'
4193 (elmo-map-folder-list-answereds): Define.
4194 (elmo-maildir-list-location): Treat 'R' info.
4195 (elmo-folder-msgdb-create): Treat flag-table.
4196 (elmo-folder-append-messages): Save flag-table.
4198 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
4200 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
4201 Use SELECT when elmo-imap4-use-select-to-update-status is t.
4203 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4205 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4207 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4208 'read when mark is null.
4210 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
4212 * elmo-version.el (elmo-version): Up to 2.11.4.
4214 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4216 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4217 (elmo-folder-mark-as-answered): Ditto.
4219 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
4221 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4222 (elmo-pop3-get-session): Make msgdb directory after session.
4223 (elmo-folder-exists-p): Check exactly at the first time even when the
4224 elmo-pop3-exists-exactly is nil.
4226 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4227 (elmo-folder-list-messages): Define instead of
4228 elmo-folder-list-messages-internal.
4229 (elmo-folder-check): Check destination folder.
4230 (elmo-folder-synchronize): Drain the pipe.
4232 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4233 when msgdb is not loaded.
4235 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4237 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4238 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4241 * elmo.el (elmo-folder-kill-messages-before): New function.
4242 (elmo-folder-kill-messages): Ditto.
4243 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4245 * elmo-imap4.el (elmo-folder-list-messages-plugged):
4246 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4247 killed not by synchronize (e.g. scoring).
4249 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4251 * elmo.el (elmo-folder-search-fast): Return t if condition is not
4253 (elmo-folder-search): Follow the change above.
4255 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4256 into the candidates of search field.
4258 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
4260 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4261 (elmo-msgdb-unset-flag): Ditto.
4263 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4265 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
4267 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4268 (elmo-folder-commit): Define.
4269 (elmo-folder-synchronize): Ditto.
4270 (elmo-folder-list-flagged): Ditto.
4271 (elmo-folder-commit): Ditto.
4272 (elmo-folder-length): Ditto.
4273 (elmo-folder-count-flags): Ditto.
4274 (elmo-message-mark): Ditto.
4275 (elmo-message-field): Ditto.
4276 (elmo-message-entity): Ditto.
4277 (elmo-message-folder): Ditto.
4279 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
4281 * elmo.el (elmo-message-field): Define as a method.
4283 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4284 (elmo-message-field): Define.
4286 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4287 (elmo-folder-list-importants): Ditto.
4288 (elmo-folder-list-answereds): Ditto.
4290 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4292 (elmo-folder-mark-as-read): Ditto.
4293 (elmo-folder-unmark-read): Ditto.
4294 (elmo-folder-mark-as-answered): Ditto.
4295 (elmo-folder-unmark-answered): Ditto.
4296 (elmo-folder-list-flagged): Define.
4297 (elmo-folder-commit): Ditto.
4298 (elmo-folder-length): Ditto.
4299 (elmo-folder-count-flags): Ditto.
4301 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4303 * elmo.el (elmo-folder-detach-messages): New method.
4304 (elmo-folder-move-messages): Use it.
4305 (elmo-folder-synchronize): Ditto.
4307 * elmo-multi.el (elmo-folder-detach-messages): Define.
4309 * elmo.el (elmo-message-copy-entity): New function.
4310 (elmo-message-entity-set-number): Ditto.
4311 (elmo-message-mark): Define as method.
4313 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4314 (elmo-folder-synchronize): Return 0 (Should be reconsider).
4315 (elmo-message-entity): Fixed last change.
4316 (elmo-message-mark): Define.
4317 (elmo-folder-msgdb-create): Abolish.
4318 (elmo-multi-folder-append-msgdb): Ditto.
4319 (elmo-multi-folder-diff): Fixed.
4320 (elmo-multi-split-number-alist): Removed.
4321 (elmo-multi-split-mark-alist): Removed.
4322 (elmo-folder-list-messages): Define.
4323 (elmo-folder-list-messages-internal): Removed.
4325 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4326 local file messages.
4327 (elmo-folder-msgdb-create): Fixed read mark.
4329 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4331 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4334 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4336 * elmo.el (elmo-folder-list-message-entities): Define as inline
4338 (elmo-folder-messages): Abolish.
4340 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4342 (elmo-folder-synchronize): Define.
4343 (elmo-message-entity): Define.
4345 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
4347 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4348 elmo-imap4-session-select-mailbox.
4350 * elmo.el (elmo-folder-move-messages): Don't display any message.
4352 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4354 (elmo-imap4-session-check): Don't wait CHECK response.
4355 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4357 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4359 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4361 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
4363 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4365 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4368 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4369 (elmo-folder-list-message-entities): Added argument in-msgdb and
4371 (elmo-folder-synchronize): Define as a method.
4373 * elmo-nntp.el (elmo-folder-initialize): Don't use
4374 elmo-nntp-default-user if zero-length username is specified
4377 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
4379 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4380 server name in case with username.
4381 (XXX: this is ad-hoc fix against username includes "@", it
4382 should be solved fundamentally)
4384 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
4386 * elmo-nntp.el (elmo-nntp-debug): New function.
4387 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4388 (elmo-network-authenticate-session): Hide auth-info from the log.
4390 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4391 user name if it is equal to elmo-nntp-default-user.
4393 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4395 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4396 instead of shimbun-server-internal;
4397 Use shimbun-current-group instead of shimbun-current-group-internal.
4398 (elmo-folder-plugged-p): Use shimbun-server instead of
4399 shimbun-server-internal.
4400 (elmo-folder-set-plugged): Ditto.
4401 (elmo-net-port-info): Ditto.
4402 (elmo-folder-check): Ditto.
4403 (elmo-folder-expand-msgdb-path): Ditto.
4404 (elmo-folder-list-subfolders): Ditto.
4406 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
4408 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4409 Convert field-name to lower case.
4410 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4412 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
4414 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4415 `message' and `error' take format string.
4417 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4419 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4421 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4423 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4424 recursive call (can't byte compile on emacs 20.7).
4426 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4428 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4429 (elmo-folder-list-message-entities): New API.
4430 (elmo-message-entity): Ditto.
4431 (elmo-message-entity-parent): Ditto.
4432 (elmo-folder-do-each-message-entity): Ditto.
4433 (elmo-message-entity-number): Ditto.
4434 (elmo-message-entity-field): Ditto.
4435 (elmo-message-entity-set-field): Ditto.
4436 (elmo-folder-count-flags): Ditto.
4437 (elmo-folder-length): Ditto.
4439 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4442 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4443 (elmo-msgdb-count-marks): Abolish.
4444 (elmo-msgdb-make-entity): Ditto.
4445 (elmo-msgdb-do-each-entity): Ditto.
4446 (elmo-msgdb-message-entity): New inline function.
4447 (elmo-msgdb-message-entity-field): Ditto.
4448 (elmo-msgdb-message-entity-set-field): Ditto.
4449 (elmo-msgdb-make-message-entity): New function.
4451 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
4453 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
4454 to flag. (All other related portions are changed.)
4455 (elmo-folder-msgdb-create): Likewise.
4456 (elmo-generic-folder-append-messages): Use flag-table instead of
4458 (elmo-folder-move-messages): Removed redundant process.
4459 (elmo-folder-synchronize): Likewise.
4461 * elmo-msgdb.el (elmo-flag-table-get): New function.
4462 (elmo-flag-table-save): Fixed.
4463 (elmo-msgdb-length): New inline function.
4464 (elmo-msgdb-flag-table): New function.
4465 (elmo-msgdb-mark): Add optional argument new.
4466 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4467 (elmo-msgdb-seen-list): Ditto.
4468 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4471 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
4473 * elmo.el (elmo-message-set-mark): Abolish.
4474 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4475 (All related portions are changed.)
4477 * elmo-msgdb.el (toplevel): Added comment.
4478 (elmo-load-msgdb): Added 4th element `path'.
4479 (elmo-msgdb-append): Follow the change above.
4480 (elmo-msgdb-clear): Ditto.
4481 (elmo-msgdb-delete-msgs): Ditto.
4482 (elmo-msgdb-get-path): New inline function.
4483 (elmo-msgdb-set-path): Ditto.
4484 (elmo-flag-table-filename): New variable.
4485 (elmo-flag-table-load): New function.
4486 (elmo-flag-table-set): Ditto.
4487 (elmo-flag-table-save): Ditto.
4488 (elmo-msgdb-get-field-value): Abolish.
4489 (elmo-msgdb-overview-get-entity-by-number): Ditto.
4491 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
4493 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4494 the folder has been deleted successfully.
4495 * elmo-imap4.el (elmo-folder-delete): Ditto.
4496 * elmo-archive.el (elmo-folder-delete): Ditto.
4497 * elmo-localdir.el (elmo-folder-delete): Ditto.
4498 * elmo-maildir.el (elmo-folder-delete): Ditto.
4500 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
4502 * elmo-util.el (elmo-string-member-ignore-case): New function.
4503 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4504 (elmo-imap4-fetch-callback-1-subr): Likewise.
4506 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
4508 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4509 the case of the name attribute "\Noselect".
4511 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4513 * elmo.el (elmo-folder-rename-internal): New method to cause error.
4515 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4516 flist, is not always a member of onum-alist.
4518 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4520 * elmo-version.el (elmo-version): Up to 2.11.3.
4522 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4524 * elmo-maildir.el (elmo-folder-rename-internal): New method,
4525 copied from localdir's one.
4527 * elmo-pipe.el (elmo-folder-rename): New method, rename
4528 destination folder with leaving source folder as it is.
4530 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
4532 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4535 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4537 * elmo-version.el (elmo-version): Up to 2.11.2.
4539 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4541 * elmo-shimbun.el (elmo-folder-initialize): Do not call
4542 shimbun-open in case of "@".
4543 (elmo-folder-open-internal): Cope with shimbun = nil case.
4544 (elmo-folder-plugged-p): Ditto.
4545 (elmo-folder-list-subfolders): Make list for "@/" group.
4547 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4549 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4550 mailbox (e.g. for %~/something).
4552 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4554 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4555 Replace nested conditional with guard clauses.
4557 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4559 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4562 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4565 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
4567 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4568 Replace nested conditional with guard clauses.
4570 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4572 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4573 (elmo-passwd-alist-save): Ditto.
4574 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4576 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4578 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4579 dir-name only if it is absolute path.
4580 (TODO: distinguish +/something and +something)
4582 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4584 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4585 path for "+~/something".
4587 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4589 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4590 as non-directory, cause error before rename-file.
4591 * elmo-archive.el (elmo-folder-rename-internal): Create directory
4592 apropriately, mimic localdir's one.
4593 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4595 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
4597 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4599 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
4601 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4603 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4605 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4606 is included in the global-mark or not.
4608 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4610 * utf7.el (toplevel): Avoid error when the function
4611 find-coding-system does not exist.
4613 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4615 * elmo-nntp.el (elmo-folder-search): Body search is to search from
4616 cache even if the folder is plugged.
4617 (elmo-nntp-search-primitive): Do nothing when body search is
4618 invoked (although it is not used by the change above).
4619 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4621 2002-12-20 Kenichi OKADA <okada@opaopa.org>
4623 * elmo-version.el (elmo-version): Up to 2.11.1.
4625 2002-12-10 Kenichi OKADA <okada@opaopa.org>
4627 * elmo-archive.el: Specify charset.
4629 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
4631 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4632 process buffer lives or not.
4634 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4635 while flushing queues (It causes infinite loop).
4637 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
4639 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4641 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
4643 * utf7.el (toplevel): Check the ucs features dynamically.
4644 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4646 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4647 folder is creatabe or not if it already exists.
4649 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
4651 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4653 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4655 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4656 (elmo-imap4-read-response): Take care of garbage response.
4658 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4660 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4661 just return nil instead of error.
4663 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4665 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4666 search-key is "body".
4668 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
4670 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4671 of elmo-string-matched-assoc to use match-data.
4672 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4674 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4676 * elmo-split.el (elmo-split->): New function.
4677 (elmo-split-<): Ditto.
4679 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
4681 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4682 workaround for invalid message-id.
4684 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4686 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4687 return normal pop3 session or pop3 biff session.
4689 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4691 * elmo-maildir.el (elmo-maildir-update-current): Don't append
4692 info part to the cur files when the new files already have it.
4693 (Adviced by Jared Rhine <jared@wordzoo.com>)
4695 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4697 * elmo-split.el (elmo-split-default-action): New variable.
4698 (elmo-split-subr): Use it if all other conditions are passed.
4699 Extend `fname' and rename it as `action'. (implemented
4700 Teranishi-san's idea in [wl:10800])
4702 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4704 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4705 * elmo-util.el: Ditto.
4707 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
4709 * elmo.el (elmo-message-accessible-p): Renamed from
4710 elmo-message-cached-p and rewritten.
4712 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4714 * elmo.el (elmo-folder-list-flagged): New generic function.
4715 (elmo-folder-list-importants): New implementation.
4716 (elmo-folder-list-answereds): Ditto.
4717 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
4719 (elmo-message-cached-p): New function.
4720 (elmo-message-set-flag): Ditto (no content).
4721 (elmo-message-unset-flag): Ditto.
4722 (elmo-folder-list-messages-mark-match): Abolish.
4724 * elmo-util.el (elmo-regexp-opt): New function.
4726 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4727 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4729 (elmo-msgdb-list-flagged): New function.
4731 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4732 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4735 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4737 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4739 * elmo-version.el (elmo-version): Up to 2.11.0.
4741 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4743 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4744 `elmo-file-cache-exists-p'; use proper mark that depends on
4746 (elmo-msgdb-unset-flag): Ditto.
4747 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4749 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4750 with 4th argument `use-cache'.
4752 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4754 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4755 (elmo-folder-mark-as-important): Ditto.
4756 (elmo-folder-unmark-read): Ditto.
4757 (elmo-folder-mark-as-read): Ditto.
4758 (elmo-folder-unmark-answered): Ditto.
4759 (elmo-folder-mark-as-answered): Ditto.
4761 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4763 (elmo-msgdb-mark): Likewise.
4764 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4765 (elmo-msgdb-unset-flag): Likewise.
4767 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4769 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4771 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4774 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4776 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4777 set spool-length to 0.
4779 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4781 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4782 (elmo-dop-queue-flush): Fixed last change.
4784 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4786 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4787 if require-msgdb slot is nil.
4788 (elmo-folder-list-importants): Likewise.
4790 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4792 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4795 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4796 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4799 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4801 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4803 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
4805 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4807 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4809 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4811 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4812 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4814 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4816 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4817 the problem reported by Sean Rima [wl-en:180].
4819 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4821 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4823 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4825 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4827 * elmo-map.el (elmo-folder-unmark-read): Ditto.
4829 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4831 * elmo-net.el (elmo-folder-unmark-read): Ditto.
4833 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4835 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
4837 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4840 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4842 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4843 (elmo-folder-mark-as-read): Follow the API change.
4844 (elmo-message-set-cached): New function.
4846 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4848 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4850 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4851 (elmo-folder-mark-as-important): Ditto.
4852 (elmo-folder-unmark-read): Ditto.
4853 (elmo-folder-mark-as-read): Ditto.
4854 (elmo-folder-unmark-answered): Ditto.
4855 (elmo-folder-mark-as-answered): Ditto.
4857 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4858 (elmo-folder-unmark-important): Ditto.
4859 (elmo-folder-mark-as-read): Ditto.
4860 (elmo-folder-unmark-read): Ditto.
4861 (elmo-folder-mark-as-answered): Ditto.
4862 (elmo-folder-unmark-answered): Ditto.
4864 * elmo-mark.el (toplevel): Removed some mark method definitions.
4866 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4867 (elmo-map-folder-mark-as-answered): Ditto.
4868 (elmo-folder-unmark-important): Add :before qualifier.
4869 (elmo-folder-mark-as-important): Ditto.
4870 (elmo-folder-unmark-read): Ditto.
4871 (elmo-folder-mark-as-read): Ditto.
4872 (elmo-folder-unmark-answered): Define.
4873 (elmo-folder-mark-as-answered): Ditto.
4875 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4876 (elmo-map-folder-unmark-answered): Ditto.
4878 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4880 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4881 (elmo-folder-mark-as-important): Ditto.
4882 (elmo-folder-unmark-read): Ditto.
4883 (elmo-folder-mark-as-read): Ditto.
4884 (elmo-folder-unmark-answered): Ditto.
4885 (elmo-folder-mark-as-answered): Ditto.
4887 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4888 `mark'; evaluate mark condition.
4889 (elmo-msgdb-match-condition-internal): New function.
4890 (elmo-msgdb-match-condition): Call it; changed argument.
4892 * elmo.el (elmo-folder-search): Follow the API change on
4893 `elmo-msgdb-match-condition'.
4895 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4897 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4898 original mark is non-nil.
4900 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
4902 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4903 (elmo-map-folder-list-answereds): New method.
4904 (elmo-folder-list-unreads): Add :around qualifier.
4905 (elmo-folder-list-importants): Ditto.
4906 (elmo-folder-list-answereds): Ditto.
4908 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
4910 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4912 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4913 method if msgdb is not required.
4914 (elmo-filter-folder-list-importants): Don't treat global-mark.
4916 * elmo.el (elmo-folder-list-importants): Ditto.
4918 * elmo-net.el (elmo-folder-list-importants): Ditto.
4920 * elmo-map.el (elmo-folder-list-importants): Ditto.
4922 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4924 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4925 (elmo-imap4-folder-list-any-plugged): New function.
4926 (elmo-imap4-search-internal-primitive): Use it.
4928 * elmo-filter.el (elmo-folder-check): Synchronize original folder
4929 only when require-msgdb slot is non-nil.
4930 (elmo-folder-close): Clear target folder's msgdb.
4932 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4934 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4935 (elmo-pop3-msgdb-create-by-header): Ditto.
4936 (elmo-pop3-msgdb-create-message): Ditto.
4938 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4940 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4942 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4944 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4945 (elmo-folder-msgdb-create): Ditto.
4946 (elmo-nntp-folder-msgdb-create): Ditto.
4947 (elmo-nntp-msgdb-create-by-header): Ditto.
4948 (elmo-nntp-msgdb-create-message): Ditto.
4949 (elmo-folder-list-unreads): Define.
4951 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4952 (elmo-folder-append-messages): Ditto.
4953 (elmo-folder-list-unreads): Define.
4954 (elmo-folder-list-importants): Ditto.
4955 (elmo-folder-list-answereds): Ditto.
4957 * elmo-net.el (elmo-folder-list-unreads): Define.
4958 (elmo-folder-list-importants): Ditto.
4959 (elmo-folder-list-answereds): Ditto.
4960 (elmo-folder-list-answereds-plugged): Ditto.
4961 (elmo-folder-msgdb-create): Follow the API change.
4962 (elmo-folder-msgdb-create-unplugged): Ditto.
4963 (elmo-folder-unmark-answered): Define.
4964 (elmo-folder-mark-as-answered-unplugged): Ditto.
4965 (elmo-folder-unmark-answered-unplugged): Ditto.
4967 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4968 (elmo-msgdb-unread-uncached-mark): Ditto.
4969 (elmo-msgdb-unread-cached-mark): Ditto.
4970 (elmo-msgdb-read-uncached-mark): Ditto.
4971 (elmo-msgdb-answered-cached-mark): Ditto.
4972 (elmo-msgdb-answered-uncached-mark): Ditto.
4973 (elmo-msgdb-important-mark): Ditto.
4974 (elmo-msgdb-set-mark): Rewrite.
4975 (elmo-msgdb-count-marks): Rewrite.
4976 (elmo-msgdb-mark-alist-set): Abolish.
4977 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4978 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4980 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4981 (elmo-folder-close): Define.
4982 (elmo-folder-msgdb-create): Follow the API change.
4983 (elmo-folder-list-unreads): Rewrite.
4984 (elmo-folder-mark-as-important): Ditto.
4985 (elmo-folder-unmark-important): Ditto.
4986 (elmo-folder-mark-as-read): Ditto.
4987 (elmo-folder-unmark-read): Ditto.
4988 (elmo-folder-mark-as-answered): Define.
4989 (elmo-folder-unmark-answered): Ditto.
4991 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4992 (elmo-folder-append-messages): Ditto.
4994 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4996 * elmo-map.el (elmo-folder-list-unreads): Ditto.
4997 (elmo-folder-list-importants): Ditto.
4999 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
5000 (elmo-folder-append-messages): Ditto.
5002 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
5004 (elmo-folder-msgdb-create-plugged): Ditto.
5005 (elmo-folder-append-messages): Ditto.
5006 (elmo-folder-list-answereds-plugged): Define.
5007 (elmo-imap4-search-internal-primitive): Add `mark' processing.
5008 (elmo-folder-unmark-answered-plugged): Define.
5009 (elmo-folder-mark-as-answered-plugged): Ditto.
5010 (elmo-folder-search-requires-msgdb-p): Ditto.
5012 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
5013 (elmo-folder-initialize): Set it.
5014 (elmo-folder-msgdb): Define.
5015 (elmo-folder-check): Call elmo-folder-synchronize.
5016 (elmo-folder-close): Define.
5017 (elmo-folder-commit): Ditto.
5018 (elmo-folder-msgdb-create): Rewrite.
5019 (elmo-folder-list-unreads): Ditto.
5020 (elmo-folder-list-importants): Ditto.
5021 (elmo-folder-mark-as-read): Ditto.
5022 (elmo-folder-unmark-read): Ditto.
5023 (elmo-folder-mark-as-important): Ditto.
5024 (elmo-folder-unmark-important): Ditto.
5025 (elmo-folder-mark-as-answered): Define.
5026 (elmo-folder-unmark-answered): Ditto.
5028 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
5029 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
5030 (elmo-dop-queue-method-name-alist): Likewise.
5031 (elmo-folder-mark-as-answered-dop): New inline function.
5032 (elmo-folder-unmark-answered-dop): Ditto.
5033 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
5035 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
5036 (elmo-folder-msgdb-create): Ditto.
5037 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
5038 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
5039 (elmo-archive-parse-mmdf): Ditto.
5041 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
5042 (elmo-folder-list-unreads-internal): Ditto.
5044 * elmo.el (elmo-folder-msgdb): Define as generic function.
5045 (elmo-folder-list-messages): Added argument `in-msgdb'.
5046 (elmo-folder-list-unreads): Define as generic function.
5047 (elmo-folder-list-importants): Ditto.
5048 (elmo-folder-list-answereds): Ditto.
5049 (elmo-folder-list-messages-with-global-mark): New function.
5050 (elmo-folder-msgdb-create): Removed mark arguments.
5051 (elmo-folder-unmark-answered): New generic function.
5052 (elmo-folder-mark-as-answered): Ditto.
5053 (elmo-folder-append-messages): Removed argunment `unread-marks'
5054 (elmo-folder-list-unreads-internal): Abolish.
5055 (elmo-folder-list-importants-internal): Ditto.
5056 (elmo-folder-search-requires-msgdb-p): New generic function.
5057 (elmo-folder-search-requires-msgdb-p-internal): New function.
5058 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
5060 (elmo-folder-search-fast): Added key 'mark'.
5061 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
5062 instead of unread-marks argument.
5063 (elmo-folder-move-messages): Removed argunment `unread-marks'
5064 (elmo-folder-unmark-important): Define.
5065 (elmo-folder-mark-as-important): Ditto.
5066 (elmo-folder-unmark-read): Ditto.
5067 (elmo-folder-mark-as-read): Ditto.
5068 (elmo-folder-unmark-answered): Ditto.
5069 (elmo-folder-mark-as-answered): Ditto.
5070 (elmo-folder-replace-marks): Abolish.
5071 (elmo-generic-folder-append-msgdb): Append msgdb before checking
5073 (elmo-folder-synchronize): Removed mark arguments;
5074 return crosspost only number.
5076 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5078 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
5079 Remove redundunt connectivity check.
5081 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5083 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
5084 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
5086 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
5088 * pldap.el (ldap-decode-string): Return string as-is if
5089 `ldap-coding-system' is nil.
5090 (ldap-encode-string): Ditto.
5091 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
5092 (ldap-default-host): Fixed docstring.
5094 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
5096 * elmo-util.el (elmo-warning): Define as a macro which uses
5097 `display-warning' if it is defined as a function.
5099 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
5100 (elmo-split-equal): Use it.
5101 (elmo-split-match): Ditto.
5102 (elmo-split-message-entity): New buffer-local variable.
5103 (elmo-split-subr): Set it.
5105 * elmo-version.el (elmo-version): Up to 2.9.15.
5107 2002-08-18 Kenichi OKADA <okada@opaopa.org>
5109 * elmo-imap4.el (elmo-network-initialize-session):
5110 Check capability after starttls.
5112 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
5114 * elmo-util.el (elmo-list-delete): Added optional argument
5117 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
5119 * elmo-util.el (elmo-warning): Ignore errors while recenter.
5121 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
5123 * elmo-imap4.el (elmo-folder-initialize): Don't use
5124 elmo-imap4-default-mailbox.
5126 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
5128 * elmo-split.el (toplevel): Use `product-provide'.
5129 (elmo-split): Checkdoc.
5131 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
5133 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5134 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5135 the function `elmo-imap4-debug-1'.
5137 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5139 * elmo-split.el (elmo-split): Moved to run hooks and to show
5140 message from elmo-split-subr.
5141 (elmo-split-subr): Follow the change above.
5143 * elmo-split.el (elmo-split-subr): New function (renamed from
5145 (elmo-split): Changed to call elmo-split-subr by element of
5147 (elmo-split-folder): Changed customization type to choice.
5149 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5151 * elmo-split.el (elmo-split-and): Fixed condition.
5153 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
5155 * elmo-split.el: New file.
5156 (elmo-split): Fixed logic.
5157 Display "Test:" instead of "Folder:" when reharsal.
5159 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5162 * elmo-version.el (elmo-version): Up to 2.9.14.
5164 * elmo-util.el (elmo-expand-newtext): New function (renamed from
5167 2002-06-10 Kenichi Sato <ksato@sonycom.com>
5169 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5170 message with no message-id field.
5172 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
5174 * elmo-version.el (elmo-version): Up to 2.9.13.
5176 * elmo-dop.el (elmo-folder-status-dop): Fix.
5178 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
5180 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5182 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5183 changing default value of default-mime-charset.
5184 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5186 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5188 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5189 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5190 instead of elmo-dop-queue-method-name-alist to check merging queue.
5191 (elmo-folder-delete-messages-dop): Delete from queue if negative
5193 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5194 file is already removed.
5196 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
5198 * elmo-vars.el: Bind colon keywords for old Emacsen.
5200 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5202 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5203 against non-exsisting charset.
5205 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
5207 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5208 Use eword-decode-and-unfold-unstructured-field-body.
5210 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5211 (elmo-msgdb-create-overview-from-buffer): Use document charset if
5212 exists to decode raw subject string.
5213 (toplevel): Require 'mime.
5215 * elmo-version.el (elmo-version): Up to 2.9.12.
5217 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
5219 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5220 (elmo-msgdb-set-mark): Ditto.
5222 * elmo-version.el (elmo-version): Up to 2.9.11.
5224 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
5226 * elmo-util.el (elmo-delete-match-files): New function.
5228 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5229 instead of elmo-delete-directory.
5231 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5232 elmo-hash-minimun-size as 63.
5234 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5235 elmo-diff-unread is nil.
5237 * elmo-imap4.el (elmo-folder-open): Fix.
5239 * elmo.el (elmo-message-mark): Rewrite.
5240 (elmo-message-field): Ditto.
5241 (elmo-message-set-mark): Ditto.
5242 (elmo-folder-replace-marks): New function.
5243 (elmo-generic-folder-append-msgdb): Removed third argument for
5245 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5246 (elmo-msgdb-load): New implementation.
5248 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5250 * elmo-util.el (elmo-list-insert): New implementation.
5252 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5253 argument for elmo-msgdb-append.
5256 * elmo-msgdb.el (elmo-load-msgdb): New function.
5257 (elmo-make-msgdb): Ditto.
5258 (elmo-msgdb-get-index): New inline function.
5259 (elmo-msgdb-set-index): Ditto.
5260 (elmo-msgdb-get-entity-hashtb): Ditto.
5261 (elmo-msgdb-get-mark-hashtb): Ditto.
5262 (elmo-msgdb-get-mark): Ditto.
5263 (elmo-msgdb-set-mark): Ditto.
5264 (elmo-msgdb-count-marks): Ditto.
5265 (elmo-msgdb-get-number): Ditto.
5266 (elmo-msgdb-get-field): Ditto.
5267 (elmo-msgdb-seen-list): Ditto.
5268 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5269 (elmo-msgdb-delete-msgs): Follow the changes above.
5270 (elmo-msgdb-overview-get-entity): Ditto.
5271 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5272 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5274 (elmo-msgdb-make-index): Likewise.
5275 (elmo-msgdb-append): Removed third argument.
5276 (elmo-msgdb-clear): Clear index as nil.
5277 (elmo-folder-set-info-hashtb): Removed.
5278 (elmo-folder-set-info-max-by-numdb): Ditto.
5279 (elmo-folder-info-make-hashtb): Ditto.
5281 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5283 * elmo-map.el (elmo-folder-pack-number): Ditto.
5285 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
5287 * elmo-version.el (elmo-version): Up to 2.9.10.
5289 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5291 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5293 2002-04-26 Kenichi OKADA <okada@opaopa.org>
5295 * elmo-utils.el (elmo-make-directory): Add option.
5296 Default file mode is 700.
5298 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5300 * elmo-shimbun.el (elmo-folder-local-p): Defined.
5302 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
5304 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5307 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5310 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5312 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5313 (elmo-shimbun-folder-entity-hash): New function.
5314 (elmo-shimbun-folder-shimbun-header): Ditto.
5315 (elmo-shimbun-entity-to-header): Ditto.
5316 (elmo-shimbun-msgdb-to-headers): Removed.
5317 (elmo-shimbun-folder-setup): Ditto.
5318 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5320 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5321 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5322 Removed useless local bind.
5323 (elmo-folder-open-internal): Don't call
5324 `elmo-shimbun-folder-setup'.
5325 (elmo-folder-close-internal): Clear entity-hash slot.
5326 (elmo-folder-clear): Ditto.
5327 (elmo-shimbun-msgdb-create-entity): Use
5328 `elmo-shimbun-folder-shimbun-header'.
5329 (elmo-map-message-fetch): Ditto.
5330 (elmo-shimbun-update-overview): Use overview entity instead of
5331 shimbun header to lookup id by references.
5332 (elmo-map-folder-list-message-locations): Use not only headers but
5333 also overviews to list locations.
5335 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5337 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5340 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5342 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5344 * elmo-util.el (elmo-read-search-condition-internal): Give default
5347 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
5349 * elmo-util.el (elmo-condition-parse-search-value): Accept
5350 YYYY-MM-DD format to search.
5351 * elmo-date.el (elmo-date-get-datevec): Likewise.
5353 2002-04-04 Kenichi OKADA <okada@opaopa.org>
5355 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5358 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5360 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5363 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5365 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5366 case from `elmo-folder-exists-p'.
5367 (elmo-folder-exists-p): Removed.
5368 (elmo-folder-creatable-p) Ditto.
5370 * elmo-net.el (elmo-folder-create): Defined.
5371 (elmo-folder-create-unplugged): New function.
5372 (elmo-folder-exists-p): Changed default value to nil from t.
5374 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5375 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5377 * elmo-dop.el (elmo-folder-create-dop): Renamed from
5378 `elmo-create-folder-dop' and append queue
5379 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5380 (elmo-folder-create-dop-delayed): New function.
5382 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5384 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5386 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5387 (elmo-folder-writable-p) : Ditto.
5389 * elmo-version.el (elmo-version): Up to 2.9.9.
5391 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5393 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5394 `elmo-message-use-cache-p' returns nil.
5395 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5396 (ignore cache file and refer the substance in local folders)
5398 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5400 * elmo-version.el (elmo-version): Up to 2.9.8.
5402 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
5404 * elmo-version.el (elmo-version): Up to 2.9.7.
5406 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5408 2002-02-18 Daiki Ueno <ueno@unixuser.org>
5410 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5412 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
5414 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5416 (elmo-map-folder-list-message-locations): Reverse location list.
5418 2002-02-01 Kenichi OKADA <okada@opaopa.org>
5420 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5422 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
5424 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5426 (elmo-nntp-folder-list-subfolders): Follow the change above.
5428 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
5430 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5431 name if authentication type is specified.
5433 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
5435 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5437 (elmo-default-nntp-stream-type): Ditto.
5438 (elmo-default-pop3-stream-type): Ditto.
5440 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
5442 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5444 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5446 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5448 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5450 * elmo-vars.el (elmo-localnews-folder-path): Removed.
5451 (elmo-maildir-folder-path): Ditto.
5452 (elmo-maildir-list): Ditto (abolished).
5454 2002-01-23 Kenichi OKADA <okada@opaopa.org>
5456 * elmo-version.el (elmo-version): Up to 2.9.6.
5458 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5460 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5461 (elmo-maildir-folder-path): Ditto.
5462 (elmo-msgdb-directory): Ditto.
5463 (elmo-passwd-life-time): Ditto.
5464 (elmo-msgdb-extra-fields): Ditto.
5465 (elmo-enable-disconnected-operation): Ditto.
5467 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5469 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5471 (elmo-pop3-default-authenticate-type): Ditto.
5473 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5475 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5477 (elmo-pop3-default-authenticate-type): Ditto.
5479 2002-01-22 Kenichi OKADA <okada@opaopa.org>
5481 * elmo-imap4.el (elmo-folder-rename-internal): Change current
5482 mailbox to new-folder.
5484 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
5486 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5487 less than new, set new as unread.
5489 * elmo-util.el (elmo-string): Don't put text-property if nil.
5491 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5493 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5494 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5496 2002-01-21 Kenichi OKADA <okada@opaopa.org>
5498 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5499 is nil on `completing-read'.
5501 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
5503 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5505 (elmo-imap4-parse-namespace-subr): Ditto.
5506 (elmo-folder-list-subfolders): Append a delimiter when the specified
5507 folder path is a root with namespace and does not end with delimiter.
5509 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5511 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5514 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5516 * elmo-util.el (elmo-save-buffer): The first argument of message
5517 is a format control string.
5519 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5521 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5522 `elmo-folder-diff').
5523 (elmo-diff-unread): Likewise.
5525 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5527 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5528 is t on `completing-read'.
5530 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5532 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5533 method of target folder with self mark-alist if MARK-ALIST is nil.
5535 2002-01-19 Kenichi OKADA <okada@opaopa.org>
5537 * elmo-version.el (elmo-version): Up to 2.9.5.
5539 2002-01-17 Kenichi OKADA <okada@opaopa.org>
5541 * elmo-dop.el (elmo-dop-queue-merge): Implement.
5542 (elmo-dop-merge-funcs): Remove.
5544 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5546 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5547 Return t if PATH is directory, too.
5548 Use `dolist' instead of while loop.
5550 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5552 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5555 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5557 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5559 (elmo-folder-list-messages-unplugged): Return t if
5560 elmo-enable-disconnected-operation is nil.
5562 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5563 `elmo-folder-list-messages-internal'.
5565 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5567 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5568 Change to looking-at `[23][0-9]+'.
5569 (elmo-network-initialize-session): Use 'error-msg'
5570 * elmo-net.el (elmo-network-open-session): Set unplugged
5571 if elmo-network-initialize-session returns 'elmo-open-err.
5573 2002-01-07 Kenichi OKADA <okada@opaopa.org>
5575 * elmo-version.el (elmo-version): Up to 2.9.4.
5577 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
5579 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5580 `elmo-folder-list-messages-internal'.
5582 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5584 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5585 (elmo-message-match-condition): New method.
5586 (elmo-folder-search-fast): New inline function.
5587 (elmo-msgdb-search): Removed.
5589 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5590 target folder if it is unplugged.
5591 (elmo-folder-list-messages-internal): Return t if target folder is
5592 unplugged and itself is persistent; In this case, use list be
5595 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5596 (elmo-msgdb-search-internal-primitive): Ditto.
5597 (elmo-msgdb-match-condition): New function.
5598 (elmo-msgdb-match-condition-primitive): Ditto.
5600 * elmo-util.el (elmo-filter-condition-p): New macro.
5602 * elmo-cache.el (elmo-folder-search): Removed.
5604 * elmo-localdir.el (elmo-folder-search): Ditto.
5606 * elmo-maildir.el (elmo-folder-search): Ditto.
5608 * elmo-mark.el (elmo-folder-search): Ditto.
5610 * elmo-nmz.el (elmo-folder-search): Ditto.
5612 * elmo-sendlog.el (elmo-folder-search): Ditto.
5614 * elmo-shimbun.el (elmo-folder-search): Ditto.
5616 * elmo-imap4.el (elmo-folder-search): Call method of parent class
5617 if folder is unplugged.
5619 * elmo-nntp.el (elmo-folder-search): Likewise.
5620 (elmo-nntp-search-internal): New function.
5622 * elmo-version.el (elmo-version): Up to 2.9.3.
5624 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5626 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5628 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
5630 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5632 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
5634 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5636 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
5638 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5639 (elmo-map-folder-list-message-locations): Do drive letter conversion
5640 on Windows environment.
5641 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5642 (elmo-map-message-fetch): Ditto.
5644 2001-12-27 Kenichi OKADA <okada@opaopa.org>
5646 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5647 (elmo-network-initialize-session): Ditto.
5649 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5651 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5653 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5655 * elmo-util.el (elmo-progress-clear): Ditto.
5657 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5658 `DD-Mon-YYYY' type date.
5660 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5662 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5663 `elmo-date-make-sortable-string' instead of
5664 `timezone-make-date-sortable'.
5666 * elmo-date.el (elmo-date-make-sortable-string): Use
5667 `timezone-make-time-string'.
5669 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5671 * elmo.el (elmo-folder-synchronize): Delete important messages too.
5673 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5674 `since'; Fix timezone.
5676 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5678 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5680 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5682 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5684 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5686 * elmo.el (elmo-generic-folder-append-messages): Make
5687 fetch-strategy with `use-cache' as 'maybe. Check return value of
5688 `elmo-message-fetch'.
5689 (elmo-message-fetch): Return return value of
5690 `elmo-message-fetch-with-cache-process'.
5691 (elmo-message-fetch-with-cache-process): Return non-nil if
5692 fetching was succeed. Load cache when fetching was failed and
5693 fetch-strategy-use-cache is 'maybe.
5695 * elmo-util.el (elmo-file-cache-load): New function.
5697 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5700 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5701 non-nil if fetching was succeed.
5703 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5705 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5707 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5708 (elmo-message-fetch-with-cache-process): Likwise.
5710 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5712 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5714 * elmo-version.el (elmo-version): Up to 2.9.2.
5716 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
5718 * elmo.el (elmo-folder-delete): Delete msgdb path.
5720 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5722 * elmo-maildir.el (elmo-folder-delete): Ditto.
5724 * elmo-localdir.el (elmo-folder-delete): Ditto.
5726 * elmo-imap4.el (elmo-folder-delete): Ditto.
5728 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
5730 * elmo.el (luna-define-class): Added `biff' slot.
5732 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5733 (elmo-pop3-debug-inhibit-logging): Abolished.
5734 (elmo-network-close-session): Eliminated needless let.
5735 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5736 (elmo-pop3-send-command): Added `no-log' argument.
5737 (elmo-pop3-process-filter): Use `with-current-buffer'.
5738 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5740 (elmo-pop3-auth-apop): Likewise.
5741 (elmo-network-authenticate-session): Likewise.
5743 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5746 * elmo-net.el (elmo-network-session-password-key): Use class symbol
5747 string to determine protocol.
5748 (elmo-network-session-name-prefix): Abolished.
5749 (elmo-network-session-cache-key): Follow the change above.
5750 (elmo-network-open-session): Ditto.
5752 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5753 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5755 * elmo-version.el (elmo-version): Up to 2.9.1.
5757 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5758 unmatch condition checking.
5760 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5763 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5765 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5767 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
5769 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5770 test for while loop to execute at least one SEARCH command.
5772 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
5774 * elmo-version.el (elmo-version): Up to 2.9.0.
5776 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
5778 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5779 (elmo-archive-folder-path): Define.
5780 (elmo-folder-initialize): Setup `dir-name' slot.
5781 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5782 Use `dir-name' as prefix of each subfolders.
5783 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5785 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5787 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5788 (elmo-pipe-folder-list-target-messages): New internal function.
5789 (elmo-pipe-drain): Use new argument `ignore-list' instead of
5791 (elmo-pipe-folder-copied-list-load): New function.
5792 (elmo-pipe-folder-copied-list-save): Ditto.
5793 (elmo-folder-open-internal): Follow the change above.
5794 (elmo-folder-status): Fixed for copy.
5796 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
5798 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5800 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
5802 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5803 elmo-copy-file instead of elmo-add-name-to-file.
5805 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5807 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5810 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5811 of accept-process-output as 1.
5812 (elmo-pop3-read-contents): Ditto.
5813 (elmo-pop3-read-body): Ditto.
5815 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
5817 * elmo-version.el (product-version-as-string): Remove define.
5819 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5821 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5822 (elmo-imap4-copy-messages): Chop number set using
5823 `elmo-imap4-number-set-chop-length'.
5824 (elmo-imap4-set-flag): Ditto.
5825 (elmo-imap4-search-internal-primitive): Ditto.
5827 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5829 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5830 `elmo-folder-make-temp-dir'
5832 * elmo-vars.el (elmo-cache-directory): New variable.
5833 (elmo-cache-dir): Abolished.
5834 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5836 * elmo-version.el (elmo-version): Up to 2.7.7.
5838 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
5840 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5841 defcustom; Set default value as t.
5843 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
5845 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5846 (ldap-search-program-arguments): Changed default value.
5847 (ldap-search-basic): Accept exit status 4.
5848 (ldap/field-body): Parse options.
5849 (ldap/collect-field): Ditto.
5850 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5852 * elmo-imap4.el (elmo-imap4-process-bye): New function.
5853 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5854 (elmo-imap4-accept-ok): Ditto.
5855 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5856 'notify-bye, only BYE error is reported.
5857 (elmo-folder-exists-p-plugged): Set no-error argument of
5858 `elmo-imap4-session-select-mailbox' as 'notify-bye.
5860 * elmo.el (elmo-imap4-bye-error): Changed message.
5862 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5863 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5864 queues (It causes infinite loop).
5866 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5868 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5869 (RECENT UNSEEN MESSAGES) extension.
5871 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
5873 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5874 Check number of overview fields.
5876 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
5878 * elmo.el (elmo-folder-confirm-appends): Changed message.
5879 (elmo-folder-confirm-appends): Ditto.
5881 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5883 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5885 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5887 * elmo.el (elmo-folder-confirm-appends): Check whether the value
5888 of elmo-folder-update-threshold is nil, which can be set by
5889 wl-summary-update-confirm-threshold.
5891 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
5893 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5894 (elmo-nmz-index-alias-alist): Ditto.
5895 (elmo-map-folder-list-message-locations): Follow the change above.
5897 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5899 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5901 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5903 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5905 * elmo-util.el (elmo-read): Ditto.
5906 (elmo-display-error): Ditto.
5908 * elmo-vars.el (elmo-date-match): Ditto.
5910 * pldap.el (ldap-coding-system): Ditto.
5912 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5913 `elmo-inhibit-number-mapping' as nil.
5915 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
5917 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5918 space delimiter for list response.
5920 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5922 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5924 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5926 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5927 (elmo-map-message-fetch): Fix.
5928 * elmo-map.el (elmo-folder-status): Fix for killed.
5930 2001-12-02 Kenichi OKADA <okada@opaopa.org>
5932 * elmo-sendlog.el: New file.
5933 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5935 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5937 * acap.el (acap-logging-out): New buffer local variable.
5938 (acap-close): Set it.
5939 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5942 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5944 * acap.el (acap-response-bye-p): New function.
5945 (acap-response-bye-message): Ditto.
5946 (acap-wait-for-response): If bye response is received, cause an error.
5947 (acap-parse-response): Make bye response when 'Bye' is received.
5949 2001-11-23 Kenichi OKADA <okada@opaopa.org>
5951 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5953 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5955 * elmo-util.el (elmo-copy-file): Added argument
5956 `ok-if-already-exists'.
5957 (elmo-copy-file): Fixed typo.
5959 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5961 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5963 2001-11-21 Kenichi OKADA <okada@opaopa.org>
5965 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5967 2001-11-20 Kenichi OKADA <okada@opaopa.org>
5969 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5972 2001-11-19 Kenichi OKADA <okada@opaopa.org>
5974 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5975 (elmo-folder-initialize): Fix for `copy'.
5976 (elmo-pipe-drain): Ditto.
5977 (elmo-folder-open-internal): Ditto.
5978 (elmo-folder-newsgroups): Fix.
5980 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
5982 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5985 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5986 recent value is returned from imap folder.
5988 * elmo.el (elmo-folder-newsgroups): New generic function.
5990 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5991 (elmo-folder-initialize): Set it.
5992 (elmo-folder-expand-msgdb-path): Use it.
5993 (elmo-folder-newsgroups): Define.
5995 * elmo-filter.el (elmo-folder-newsgroups): Define.
5997 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5999 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
6001 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
6003 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6005 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
6007 (elmo-shimbun-header-extra-field): New inline function.
6008 (elmo-shimbun-header-set-extra-field): Ditto.
6009 (elmo-shimbun-folder-header-hash-setup): Ditto.
6010 (elmo-shimbun-update-overview): Ditto.
6011 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
6012 (elmo-shimbun-folder-setup): Use
6013 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
6014 (elmo-shimbun-get-headers): Ditto.
6015 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
6016 Insert `X-Shimbun-Id:' header if extra field is set.
6017 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
6018 field's value instead of `shimbun-header-id'.
6020 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
6022 (elmo-msgdb-overview-entity-set-date): Ditto.
6023 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
6025 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
6027 * mmimap.el (mmimap-entity-section): Changed body node number from
6030 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6032 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
6033 `elmo-folder-delete-messages'.
6035 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
6036 (elmo-folder-initialize): Changed to expand alias into index path.
6038 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
6039 `elmo-mime-insert-header-from-buffer' with 6th arg
6042 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
6044 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
6046 * elmo.el (elmo-diff-new): New inline function.
6047 (elmo-diff-unread): Ditto.
6048 (elmo-diff-all): Ditto.
6050 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
6051 value from responseb.
6052 (elmo-imap4-folder-diff-plugged): Ditto.
6053 (elmo-imap4-server-diff-async): Added recent argument.
6054 (elmo-server-diff-async): Ditto.
6055 (elmo-imap4-folder-diff-plugged): Ditto.
6057 * elmo-version.el (elmo-version): Up to 2.7.6.
6059 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6061 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
6064 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
6066 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
6068 * elmo-imap4.el (elmo-folder-initialize): Ditto.
6070 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6072 * elmo-multi.el (elmo-folder-initialize): Ditto.
6074 * elmo-util.el (elmo-parse-token): New function.
6075 (elmo-parse-prefixed-element): Ditto.
6077 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
6079 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
6081 (elmo-imap4-accept-ok): Ditto.
6083 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6085 * mmimap.el (mime-imap-entity-header-string): Don't check first
6086 element of node-id is `0' (Follow last change).
6088 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6090 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
6091 assigned irregular node-id to nested multipart section.
6092 (initialize-instance): Followed above change.
6094 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6096 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
6097 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
6098 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
6099 `elmo-shimbun-get-headers');
6100 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
6101 visible article on summary exists in headers).
6102 (elmo-map-message-fetch): Cause an error when folder is unplugged.
6104 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6106 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
6109 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
6111 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
6113 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6115 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
6116 header separator into loop condition.
6118 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6120 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
6121 Return duplicate folder if it has subfolder.
6123 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
6125 * elmo.el (elmo-make-folder): Add folder name error check.
6127 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
6128 (elmo-nntp-encode-group-string): New inline function.
6129 (elmo-nntp-decode-group-string): Ditto.
6130 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
6131 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6132 Use `not' instead of `null';
6133 Use elmo-nntp-decode-group-string.
6135 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6137 * elmo-version.el (elmo-version): Up to 2.7.5.
6139 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6141 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6142 Hide progress gauge if `elmo-folder-move-messages' exits
6145 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
6147 * elmo-imap4.el (elmo-folder-initialize): Use
6148 `elmo-imap4-encode-folder-string' for folder name.
6150 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6152 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6155 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6157 * elmo-util.el (elmo-progress-counter-alist): New internal
6159 (elmo-progress-counter-value): New macro.
6160 (elmo-progress-counter-all-value): Ditto.
6161 (elmo-progress-counter-format): Ditto.
6162 (elmo-progress-counter-set-value): Ditto.
6163 (elmo-progress-set): New function.
6164 (elmo-progress-clear): Ditto.
6165 (elmo-progress-notify): Ditto.
6167 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6170 * elmo.el (elmo-generic-folder-append-messages): Call
6171 `elmo-progress-notify'.
6172 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6174 * elmo-archive.el (elmo-folder-append-messages): Call
6175 `elmo-progress-notify'.
6177 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6179 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6181 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6183 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
6185 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6187 (elmo-message-encache-dop): Added argument `read'.
6189 * elmo-shimbun.el (elmo-message-encache): Ditto.
6191 * elmo-net.el (elmo-message-encache): Ditto.
6193 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6194 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6195 elmo-imap4-seen-messages.
6196 (elmo-folder-msgdb-create-plugged): Initialize
6197 elmo-imap4-seen-messages;
6198 Set seen mark on elmo-imap4-seen-messages.
6200 * elmo-pipe.el (elmo-folder-message-file-p): Define.
6202 * elmo.el (elmo-generic-folder-append-messages): Check return value of
6203 elmo-folder-append-buffer.
6204 (elmo-folder-encache): Added optional argument `read'.
6205 (elmo-message-encache): Ditto.
6207 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6209 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6211 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6212 if append buffer content succeds.
6214 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
6216 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6217 elmo-display-progress.
6219 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6220 Set 4th argument of mime-display-message.
6221 (elmo-mime-display-as-is): Ditto.
6223 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
6225 * elmo-nmz.el (toplevel): Require 'mime-edit.
6226 (elmo-nmz-content-type-alist): Abolished.
6227 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6228 content is not a message.
6229 (elmo-map-message-fetch): Changed behavior exept for message content;
6230 Detect mime-charset automatically, Use `mime-find-file-type' to detect
6231 content-type, Add From: and Subject: field.
6233 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6235 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6236 (elmo-map-message-fetch): Add `Content-Type' field if contents is
6239 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6241 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6242 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6244 * elmo-archive.el (elmo-folder-writable-p): Defined.
6246 * elmo-cache.el (elmo-folder-writable-p): Ditto.
6248 * elmo-filter.el (elmo-folder-writable-p): Ditto.
6250 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6252 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6254 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6256 * elmo-mark.el (elmo-folder-writable-p): Ditto.
6258 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6260 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6262 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
6264 * elmo-util.el (elmo-address-quote-specials): New function;
6265 Renamed from `wl-address-quote-specials'.
6267 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
6269 * elmo-version.el (elmo-version): Up to 2.7.4.
6271 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
6273 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6275 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
6277 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6278 both compile-time and run-time to avoid byte-compile warning.
6280 2001-09-13 Kenichi OKADA <okada@opaopa.org>
6282 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6284 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
6286 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6288 (elmo-mime-display-as-is-internal): Use it.
6290 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6291 if `read-passwd' is not defined.
6293 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
6295 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6297 (elmo-folder-status): Call `elmo-folder-open-internal';
6298 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6299 (elmo-folder-close-internal): Set location-alist as nil.
6300 (elmo-folder-clear): Define.
6301 (elmo-folder-check): Don't set location-alist as nil.
6303 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6305 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
6307 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6308 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6310 * mmimap.el (mime-imap-entity::requested): New slot.
6311 (mime-imap-location-fetch-entity-p): New generic function.
6312 (mime-decode-parameters): Define using `defun-maybe'.
6313 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6314 content-type structure.
6315 (mime-entity-body): Return empty body if
6316 `mime-imap-location-fetch-entity-p' returns nil in the first request.
6318 * elmo.el (elmo-message-displaying): New variable.
6320 * elmo-mime.el (elmo-mime-message-display): Bind
6321 elmo-message-displaying as t.
6323 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6325 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6327 * acap.el (acap-open): erase buffer before starting network process.
6328 (acap-store): Rewrite.
6330 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6332 * elmo-imap4.el (elmo-imap4-default-mailbox,
6333 elmo-imap4-default-server
6334 elmo-imap4-default-authenticate-type,
6335 elmo-imap4-default-user,
6336 elmo-imap4-default-port,
6337 elmo-imap4-default-stream-type,
6338 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6340 * elmo-pop3.el (elmo-pop3-default-user,
6341 elmo-pop3-default-server,
6342 elmo-pop3-default-authenticate-type,
6343 elmo-pop3-default-port,
6344 elmo-pop3-default-stream-type,
6345 elmo-pop3-stream-type-alist): Ditto.
6347 * elmo-nntp.el (elmo-nntp-default-server,
6348 elmo-nntp-default-user,
6349 elmo-nntp-default-port,
6350 elmo-nntp-default-stream-type,
6351 elmo-nntp-stream-type-alist): Ditto.
6353 * elmo-vars.el: Follow changes above.
6354 (elmo-setting): New custom group; added 'elmo-setting group to
6357 * elmo-version.el (elmo-version): Up to 2.7.3.
6359 * acap.el (acap-parse-response): Don't delete process when BYE
6360 response (It causes hang-up on slow network environment).
6361 (toplevel): Added comment.
6363 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
6365 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6367 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6369 (acap-parse-return-metadata): Ditto.
6372 (toplevel): Fixed typo.
6374 * acap.el: New file.
6375 (acap-network-stream-open): Show "Connecting..." message.
6376 (acap-parse-response): Fixed problem for BYE untagged response.
6377 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6378 (toplevel): Added tiny comments.
6380 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
6382 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6383 space delimiter for uidl response.
6385 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
6387 * elmo-vars.el (elmo-use-semi): Eliminated.
6389 * elmo-util.el (elmo-string-assoc-all): New function.
6391 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6393 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6394 property 'mime-preview-situation for `mime-preview-quit'.
6396 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6398 * elmo.el (elmo-message-fetch-with-cache-process): Call
6399 elmo-message-fetch-internal instead of causing an error when fetch
6400 strategy is 'entire but only 'section cache is available.
6402 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
6404 * elmo-version.el (elmo-version): Up to 2.7.2.
6406 * elmo.el (elmo-generic-folder-append-messages): Make
6407 fetch-strategy with `use-cache'.
6409 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6410 (elmo-dop-queue-method-name): New macro.
6412 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6414 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6415 unbalanced parenthesis.
6417 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
6419 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6421 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
6423 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6424 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6426 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
6428 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6431 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
6433 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6434 (elmo-message-use-cache-p): Define.
6435 (elmo-folder-msgdb-create): Treat cache.
6437 2001-07-28 Kenichi OKADA <okada@opaopa.org>
6439 * elmo-nntp.el (elmo-network-initialize-session): Call
6440 `elmo-nntp-send-mode-reader'.
6441 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6443 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
6445 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6447 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6450 * elmo-net.el (elmo-network-get-session): Set stream-type argument
6451 for `elmo-plugged-p'.
6452 (elmo-open-network-stream): Fixed stream-type argument.
6454 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
6456 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6457 unknown archive type is specified.
6459 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
6461 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6463 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6464 while loading msgdb.
6466 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6467 (elmo-folder-open-internal): Rewrite.
6469 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6471 * elmo-mime.el (elmo-mime-display-as-is-internal):
6472 Adjust buffer-multibyte status.
6474 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6476 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6477 of elmo-condition-find-key.
6479 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6480 (elmo-condition-in-msgdb-p): Ditto.
6481 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6484 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
6486 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6488 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
6490 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6491 label for elmo-display-progress.
6493 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
6495 * elmo.el (elmo-folder-clear): New method.
6496 (elmo-folder-clear): Define.
6497 (elmo-folder-synchronize): Call `elmo-folder-clear'.
6499 * elmo-shimbun.el (elmo-folder-check): Rewrite.
6500 (elmo-folder-clear): Define.
6502 * elmo-map.el (elmo-folder-clear): Define.
6504 * elmo-version.el (elmo-version): Up to 2.7.1.
6506 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
6508 * elmo.el (elmo-folder-synchronize): Return list of nil when no
6511 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
6513 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6514 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6516 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
6518 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6520 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6523 * elmo-imap4.el (elmo-folder-initialize): Use
6524 elmo-get-network-stream-type.
6526 * elmo-nntp.el (elmo-folder-initialize): Ditto.
6528 * elmo-pop3.el (elmo-folder-initialize): Ditto.
6530 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6532 * elmo.el (elmo-message-encache): Set unread argument for
6535 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6537 * elmo.el (elmo-net-port-info): New method.
6539 * elmo-shimbun.el (elmo-net-port-info): Define.
6540 (elmo-message-encache): Ditto.
6542 * elmo-net.el (elmo-net-port-info): Define as method.
6544 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6545 unplugged status when elmo-enable-disconnected-operation is t.
6547 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6548 of spool folder before checking new number.
6550 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
6552 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6553 (elmo-network-setup-session): Ditto.
6554 (elmo-message-fetch-plugged): Ditto.
6555 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6556 (elmo-network-initialize-session): Ditto.
6557 (elmo-pop3-read-response): Abolish 3rd argument.
6558 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6559 (elmo-pop3-read-contents): Ditto.
6560 (elmo-pop3-read-body): Ditto.
6561 (elmo-folder-status): Call elmo-folder-close.
6562 (elmo-pop3-lock): Abolish.
6563 (elmo-pop3-unlock): Ditto.
6564 (elmo-pop3-locked-p): Ditto.
6565 (elmo-folder-check): Don't call elmo-pop3-locked-p.
6567 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6569 * elmo-version.el (elmo-version): Up to 2.7.0.
6571 * elmo-pop3.el (elmo-pop3-debug): New variable.
6572 (elmo-pop3-debug-inhibit-logging): Ditto.
6573 (elmo-pop3-debug): New function.
6574 (elmo-pop3-send-command): Call elmo-pop3-debug.
6575 (elmo-pop3-read-response): Added keep-lock optional argument;
6576 Don't unlock if keep-lock is non-nil.
6577 (elmo-pop3-process-filter): Call elmo-pop3-debug.
6578 (elmo-network-authenticate-session): Bind
6579 elmo-pop3-debug-inhibit-logging as t.
6580 (elmo-network-setup-session): Call elmo-pop3-read-response with
6582 (elmo-pop3-read-msg): Ditto.
6583 (elmo-pop3-locked-p): Call elmo-pop3-debug.
6584 (elmo-pop3-read-body): Call elmo-pop3-unlock.
6585 (elmo-network-initialize-session): Call elmo-pop3-lock.
6586 (elmo-folder-close-internal): Don't clear location-alist slot.
6587 (elmo-folder-check): Clear location-alist slot.
6589 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
6591 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6592 (elmo-pop3-send-command): Call elmo-pop3-lock.
6593 (elmo-pop3-read-response): Call elmo-pop3-unlock.
6594 (elmo-pop3-read-contents): Ditto.
6595 (elmo-pop3-lock): New function.
6596 (elmo-pop3-unlock): Ditto.
6597 (elmo-pop3-locked-p): Ditto.
6598 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6601 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
6603 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6605 * elmo-util.el (elmo-file-field-primitive-condition-match):
6606 New inline function (Don't fetch file content if "first" or "last").
6607 (elmo-file-field-condition-match): Use
6608 elmo-file-field-primitive-condition-match.
6610 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6613 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6614 (elmo-message-fetch-plugged): Fixed.
6616 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6618 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
6620 * elmo.el (elmo-folder-move-messages): Bind
6621 elmo-inhibit-display-retrieval-progress as t while moving messages.
6623 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6625 (elmo-inhibit-display-retrieval-progress): Ditto.
6627 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6628 for retrieval progress;
6629 Don't display progress when total buffer size is smaller than
6630 elmo-display-retrieval-progress-threshold.
6631 (elmo-message-fetch-plugged): Don't display progress when
6632 elmo-inhibit-display-retrieval-progress is non-nil.
6634 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6635 for retrieval progress;
6636 Don't display progress when literal size is smaller than
6637 elmo-display-retrieval-progress-threshold.
6638 (elmo-imap4-message-fetch): Don't display progress when
6639 elmo-inhibit-display-retrieval-progress is non-nil.
6641 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
6643 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6644 (elmo-imap4-find-next-line): Display progress whille literal fetching.
6645 (elmo-imap4-message-fetch): Likewise.
6647 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6648 (elmo-shimbun-index-range-alist): Ditto.
6649 (elmo-shimbun-use-entire-index): Abolish.
6650 (shimbun-mua-use-entire-index): Ditto.
6651 (elmo-shimbun-folder): Added new slot `range'.
6652 (elmo-folder-initialize): Setup slot `range'.
6654 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
6656 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6657 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6658 (elmo-shimbun-get-headers): Use return value of
6659 `shimbun-article-expiration-days'.
6660 (elmo-folder-close-internal): Clean up last-check slot.
6662 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6663 (elmo-pop3-total-size): New variable.
6664 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6666 * elmo.el (elmo-folder-reserve-status-p): New method.
6668 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6669 (elmo-shimbun-use-entire-index): New user option.
6670 (shimbun-elmo-mua): New class.
6671 (shimbun-mua-search-id): Define.
6672 (shimbun-mua-use-entire-index): Ditto.
6673 (elmo-shimbun-folder:last-check): New slot.
6674 (elmo-shimbun-headers-cache-header-list): Abolish.
6675 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6676 (elmo-shimbun-headers-cache-header-hash): Ditto.
6677 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6678 (elmo-shimbun-headers-cache-last-check): Ditto.
6679 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6680 (elmo-shimbun-headers-check-p): Rewrite.
6681 (elmo-shimbun-msgdb-to-headers): New function.
6682 (elmo-shimbun-get-headers): Rewrite.
6683 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6684 (elmo-folder-open-internal): Get headers only if
6685 `elmo-shimbun-headers-check-p' is non-nil.
6686 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6688 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6689 (elmo-quit): Removed.
6691 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6693 (elmo-msgdb-overview-entity-set-extra): Ditto.
6694 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6696 * elmo-map.el (elmo-folder-status): Don't call
6697 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6700 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6702 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6703 of `elmo-msgdb-search-internal-primitive' when condition's car is
6706 2001-05-23 Kenichi OKADA <okada@opaopa.org>
6708 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6710 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6712 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6713 call `elmo-pipe-drain'.
6715 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6717 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6718 typo. (elmo-cache-folder -> elmo-mark-folder)
6720 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6722 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6723 `elmo-message-fetch'.
6725 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6727 * elmo-net.el (elmo-message-encache): Fixed typo.
6728 (elmo-message-fetch-unplugged): Changed call
6729 `elmo-message-fetch-internal' without argument `outbuf'.
6731 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6733 * elmo.el (elmo-message-encache): Define as generic function.
6734 (elmo-message-fetch-field): New generic function.
6735 (elmo-message-fetch-with-cache-process): Cause an error when
6736 fetch strategy is 'entire but only 'section cache is available.
6737 (toplevel): Fixed nmz folder definition.
6739 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6740 (elmo-msgdb-resume-list-filename): Ditto.
6741 (elmo-queue-filename): Ditto.
6742 (elmo-enable-disconnected-operation): Changed default value to t.
6744 * elmo-util.el (elmo-cache-path-section-p): New function.
6745 (elmo-file-cache-get): Use it.
6746 (elmo-dop-queue-filename): Moved from elmo-dop.el.
6747 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6748 (elmo-dop-queue-save): Ditto.
6750 * elmo-net.el (elmo-folder-status-unplugged): Call
6751 elmo-folder-status-dop.
6752 (elmo-folder-list-messages-unplugged): Implemented.
6753 (elmo-folder-delete-messages-unplugged): Define.
6754 (elmo-folder-msgdb-create): Define.
6755 (elmo-folder-msgdb-create-unplugged): Define.
6756 (elmo-folder-mark-as-read-unplugged): Ditto.
6757 (elmo-folder-unmark-read-unplugged): Ditto.
6758 (elmo-folder-mark-as-important-unplugged): Ditto.
6759 (elmo-folder-unmark-important-unplugged): Ditto.
6760 (elmo-message-encache): Ditto.
6762 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6763 (elmo-dop-queue-save): Ditto.
6765 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6766 `elmo-folder-msgdb-create'.
6767 (elmo-folder-append-buffer): Implemented unplugged operation.
6768 (elmo-folder-append-messages): Call parent method in unplugged status.
6769 (elmo-message-fetch-unplugged): Removed definition.
6770 (elmo-message-fetch-field): Implemented.
6772 * elmo-dop.el (toplevel): Require 'elmo-localdir.
6773 (elmo-dop-folder): Removed variable definition.
6774 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6775 (elmo-dop-queue-flush): Implemented.
6776 (elmo-dop-queue-merge): Removed definition (TODO).
6777 (elmo-dop-spool-folder): New function.
6778 (elmo-dop-spool-folder-append-buffer): Ditto.
6779 (elmo-dop-spool-folder-list-messages): Ditto.
6780 (elmo-dop-list-deleting-messages): Ditto.
6781 (elmo-folder-append-buffer-dop): Ditto.
6782 (elmo-folder-delete-messages-dop): Ditto.
6783 (elmo-message-encache-dop): New inline function.
6784 (elmo-create-folder-dop): Ditto.
6785 (elmo-folder-mark-as-read-dop): Ditto.
6786 (elmo-folder-unmark-read-dop): Ditto.
6787 (elmo-folder-mark-as-important-dop): Ditto.
6788 (elmo-folder-unmark-important-dop): Ditto.
6789 (elmo-folder-status-dop): Fixed.
6790 (elmo-folder-append-buffer-dop-delayed): New function.
6791 (elmo-folder-delete-messages-dop-delayed): Ditto.
6792 (elmo-dop-msgdb): Ditto.
6794 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6796 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6798 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6800 * elmo.el (elmo-folder-move-messages): Fixed problem when
6801 `dst-folder' is 'null.
6803 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6805 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6806 instead of current mark.
6808 * elmo-multi.el (elmo-folder-list-importants-internal): No
6809 operation if importants is not list.
6811 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6812 Return t if importants is not list.
6814 * elmo-map.el (elmo-map-folder-list-importants): Define.
6815 (elmo-folder-list-importants-internal): Check return value of
6816 `elmo-map-folder-list-importants-internal'.
6818 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6820 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6822 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6824 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6826 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
6828 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6829 (Patch is provided by <kita@coe.nttdata.co.jp>).
6831 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6833 * elmo.el (elmo-folder-synchronize): Don't check important mark in
6836 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6838 * elmo.el (elmo-message-fetch): Define.
6839 (elmo-message-fetch-with-cache-process): New generic method.
6840 (elmo-message-fetch-internal): New generic method.
6841 (elmo-folder-synchronize):
6843 * elmo-archive.el (elmo-message-fetch-internal): Define.
6844 (elmo-message-fetch): Eliminated.
6846 * elmo-localdir.el (elmo-message-fetch-internal): Define.
6847 (elmo-message-fetch): Eliminated.
6849 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6851 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6853 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6854 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6856 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6857 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6859 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6861 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6863 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6865 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6866 (elmo-message-fetch-unplugged): New generic method.
6867 (elmo-message-fetch-internal): Remove cache process (Renamed from
6868 `elmo-message-fetch').
6870 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6871 (elmo-message-fetch): Eliminated.
6872 (elmo-message-fetch-unplugged): Ditto.
6874 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6876 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6878 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6879 of `to-be-deleted' from number-alist to number-list.
6881 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6883 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6884 (elmo-folder-mark-as-important): Ditto.
6886 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
6888 * elmo.el (elmo-folder): Added process-duplicates slot.
6890 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6891 (elmo-folder-unmark-read): Ditto.
6892 (elmo-folder-unmark-important): Ditto.
6893 (elmo-folder-mark-as-important): Ditto.
6895 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6896 duplicated message processing.
6898 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6900 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6902 * elmo-util.el (elmo-list-subdirectories-1): New function.
6903 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6904 (elmo-mapcar-list-of-list): New function.
6906 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6907 `elmo-mapcar-list-of-list' instead of `mapcar'.
6909 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6911 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6912 `elmo-have-link-count'. Return the fully qualified folder name.
6914 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
6916 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6917 (elmo-shimbun-headers-cache): New internal variable.
6918 (elmo-shimbun-headers-cache-header-list): New inline function.
6919 (elmo-shimbun-headers-cache-set-header-list): Ditto.
6920 (elmo-shimbun-headers-cache-header-hash): Ditto.
6921 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6922 (elmo-shimbun-headers-cache-last-check): Ditto.
6923 (elmo-shimbun-headers-cache-set-last-check): Ditto.
6924 (elmo-shimbun-lapse-seconds): Ditto.
6925 (elmo-shimbun-headers-cache-check-p): Ditto.
6926 (elmo-shimbun-get-headers): New function.
6927 (elmo-folder-open-internal): Call it.
6928 (elmo-quit): Define (Clear headers-cache).
6930 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
6932 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6934 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6935 (elmo-msgdb-flist-save): Ditto.
6937 * elmo-shimbun.el (elmo-folder-list-subfolders):
6938 Use `shimbun-groups' instead of `shimbun-groups-internal'.
6939 (elmo-folder-exists-p): Ditto.
6941 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6942 argument for `shimbun-header-insert'.
6944 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
6946 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6949 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6950 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6952 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
6954 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6955 (elmo-folder-plugged-p): Define.
6956 (elmo-folder-set-plugged): Ditto.
6957 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6958 (elmo-folder-list-messages-internal): Return t if unplugged.
6959 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6961 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6962 when elmo-folder-list-messages-internal method of children returns t.
6964 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6966 (elmo-folder-open-internal): Don't update if unplugged status.
6968 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
6970 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6973 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
6975 * elmo-util.el (elmo-file-cache-save): Ignore errors.
6977 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6980 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
6982 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6984 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6985 (elmo-folder-open-internal): Set up headers slot.
6986 (elmo-folder-check): Call elmo-folder-close-internal and
6987 elmo-folder-open-internal.
6988 (elmo-folder-close-internal): Clean up headers slot.
6990 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6992 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6993 exactly folder list.
6994 (elmo-folder-append-messages): Fixed append archive with prefix.
6996 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6997 make temp files with start-number.
6999 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
7001 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7003 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
7004 argument `visible-only'.
7005 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
7008 * elmo-pop3.el (elmo-folder-open-internal): Check
7009 `elmo-inhibit-number-mapping' is non-nil.
7011 * elmo-pipe.el (elmo-folder-status): Fixed.
7013 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
7015 * elmo.el (elmo-dop-queue-flush): Added autload setting.
7017 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
7018 (elmo-folder-open-internal): Setup `header-hash' slot.
7019 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
7021 (elmo-map-message-fetch): Ditto.
7023 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
7025 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7026 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7027 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7028 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
7030 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
7032 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
7034 * sb-airs.el: Added footer.
7036 * shimbun.el (shimbun-article): Define as luna-method.
7038 * sb-tcup.el: New file.
7040 * sb-airs.el (toplevel): Require 'sb-mhonarc.
7041 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
7043 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
7045 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
7046 (shimbun-get-headers): Ditto.
7048 * elmo.el: Moved obsolete variable definitions from
7049 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
7051 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
7054 * shimbun.el: New file.
7056 * elmo-shimbun.el: New file.
7058 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
7059 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
7060 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
7061 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
7063 2001-03-27 Kenichi OKADA <okada@opaopa.org>
7065 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
7068 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
7070 * elmo.el (elmo-folder-msgdb): Define as macro.
7071 (elmo-folder-open): Added argument `load-msgdb'.
7072 (elmo-generic-folder-open): Ditto.
7073 (elmo-folder-encache): New function.
7075 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
7077 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
7079 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
7080 Eliminated argument FOLDER and added argument MSGDB.
7081 (elmo-dop-queue-load): Moved from elmo-dop.el.
7082 (elmo-dop-queue-save): Ditto.
7084 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
7086 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
7088 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
7089 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
7090 (elmo-filter-folder-list-importants-internal): Ditto.
7092 * elmo-map.el (elmo-folder-pack-number): Ditto.
7094 * elmo-mime.el (elmo-mime-message-display): Ditto.
7096 * elmo.el (elmo-generic-folder-commit): Ditto.
7097 (elmo-folder-list-unreads): Ditto.
7098 (elmo-folder-list-importants): Ditto.
7099 (elmo-generic-folder-commit): Ditto.
7100 (elmo-message-set-mark): Ditto.
7101 (elmo-generic-folder-append-msgdb): Ditto.
7102 (elmo-folder-synchronize): Ditto.
7103 (elmo-folder-messages): Ditto.
7104 (elmo-init): Call elmo-dop-queue-load.
7105 (elmo-folder-list-messages): Ditto.
7107 * elmo-nntp.el (elmo-folder-update-number): Ditto.
7108 (elmo-nntp-folder-process-crosspost): Ditto.
7109 (elmo-folder-list-unreads-internal): Ditto.
7111 * elmo-dop.el: Removed old functions.
7113 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
7115 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
7116 `folder' to `msgdb'.
7118 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
7120 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
7121 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
7123 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
7126 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
7128 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
7131 * mmimap.el (toplevel): Require 'mime-parse and 'static.
7132 (mmimap-parse-parameters-from-list): Define as alias for
7133 `mime-decode-parameter-plist' if it is defined as function.
7134 (mmimap-make-mime-entity): Added argument `number'.
7135 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7137 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7139 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7141 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7143 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7145 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
7147 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7149 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7150 when elmo-imap4-default-authenticate-type is nil.
7151 (elmo-folder-list-subfolders): Ditto
7152 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7153 (elmo-imap4-fetch-callback-1-subr): Renamed from
7154 `elmo-imap4-fetch-callback-1' and define as inline function.
7155 (elmo-imap4-fetch-callback-1):
7156 Renamed from `elmo-imap4-fetch-callback'.
7157 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7159 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7160 msgdb path (To keep compatibility with main trunk).
7162 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7164 * elmo-util.el (elmo-make-file-cache): Moved position of
7167 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7168 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7169 instead of `elmo-pop3-inhibit-uidl'.
7170 (elmo-folder-exists-p): Ditto.
7171 (elmo-pop3-folder-list-messages): Ditto.
7173 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7174 instead of `elmo-pop3-inhibit-uidl'.
7175 (elmo-folder-status): Ditto.
7177 * elmo-dop.el (elmo-dop-folder): New variable.
7178 (elmo-dop-lock-message): Eliminated.
7179 (elmo-dop-unlock-message): Ditto.
7180 (elmo-dop-lock-list-load): Ditto.
7181 (elmo-dop-lock-list-save): Ditto.
7182 (elmo-dop-delete-folder): Ditto.
7183 (elmo-dop-rename-folder): Ditto.
7185 * elmo.el: Removed incomplete commentary.
7187 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
7189 * elmo.el (toplevel): Require 'elmo-version first;
7190 for little `recursive-load-depth' settings.
7191 Fix "ends here" comment.
7193 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
7195 * elmo-util.el (toplevel): Require 'poem;
7196 Some functions are moved from elmo-cache.el.
7198 * elmo-net.el (toplevel): Require 'elmo-cache.
7200 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7202 * elmo.el (toplevel): Ditto.
7204 * elmo-cache.el: Rewrite with luna;
7205 Some functions are moved to elmo-util.el.
7207 * elmo-internal.el (elmo-internal-folder-list): New variable.
7208 (elmo-internal-folder-initialize): Rewrite.
7209 (elmo-folder-list-subfolders): Ditto.
7211 * elmo-cache.el (elmo-cache-search-all): Eliminated.
7212 (elmo-cache-collect-sub-directories): Ditto.
7214 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
7216 * elmo-version.el (elmo-version): Up to 2.5.8.
7218 * elmo.el (elmo-folder-list-messages-mark-match): New function.
7220 * elmo-util.el (elmo-list-insert): New function.
7222 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
7224 * elmo.el (elmo-init): New function.
7225 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7227 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7228 (Renamed from `elmo-localdir-header-chop-length').
7230 * elmo-pop3.el (elmo-pop3-use-cache,
7231 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7233 * elmo-nntp.el (elmo-message-fetch): Define.
7234 (elmo-message-fetch-unplugged): Ditto.
7235 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7236 (elmo-nntp-use-cache): Ditto.
7237 (elmo-nntp-max-number-precedes-list-active): Ditto.
7239 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7241 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7242 `elmo-msgdb-insert-file-header'.
7243 Use `elmo-msgdb-file-header-chop-length'.
7245 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7248 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7249 (elmo-cache-msgdb-create-overview-entity-from-file): Use
7250 `elmo-msgdb-insert-file-header'.
7252 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7254 Define obsolete variables with `elmo-define-obsolete-variable',
7256 * elmo-util.el (elmo-warning-buffer-name): New constant.
7257 (elmo-warning): New function.
7258 (elmo-obsolete-variable-alist): New variable.
7259 (elmo-obsolete-variable-show-warnings): New variable.
7260 (elmo-define-obsolete-variable): New function.
7261 (elmo-resque-obsolete-variable): Ditto.
7262 (elmo-resque-obsolete-variables): Ditto.
7264 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7266 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7269 * elmo-pop3.el, elmo-nntp.el: Use custom.
7271 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7273 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7274 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7276 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7278 * Luna-fy Kenichi OKADA's following changes.
7279 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7281 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7283 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
7285 * elmo-util.el (elmo-display-progress): Prefer
7286 `progress-feedback-with-label' to `lprogress-display'.
7288 2000-02-20 Kenichi OKADA <okada@opaopa.org>
7290 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7292 2000-02-19 Kenichi OKADA <okada@opaopa.org>
7294 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7295 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7296 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7297 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7298 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7299 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7300 * elmo-archive.el (elmo-archive-list-folder): Ditto.
7301 * elmo-filter.el (elmo-filter-list-folder): Ditto.
7302 * elmo-internal.el (elmo-internal-list-folder): Ditto.
7303 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7304 * elmo-multi.el (elmo-multi-list-folder): Ditto.
7305 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7306 * elmo-dop.el (elmo-dop-list-folder): Ditto.
7308 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7310 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7311 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7313 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
7315 * elmo.el (elmo-folder-process-crosspost): New generic method.
7316 (elmo-folder-writable-p): Ditto.
7317 (elmo-folder-message-appendable-p): Eliminated.
7318 (elmo-generic-folder-append-msgdb): Rewrite.
7319 (elmo-newsgroups-hashtb): New internal variable.
7320 (elmo-crosspost-message-set): Eliminated.
7321 (elmo-crosspost-message-delete): Ditto.
7322 (elmo-setup-subscribed-newsgroups): New function.
7323 (elmo-crosspost-message-alist-modified): New internal variable.
7324 (elmo-crosspost-message-alist-load): New function (Renamed from
7325 `wl-crosspost-alist-load').
7326 (elmo-crosspost-message-alist-save): Ditto (Renamed from
7327 `wl-crosspost-alist-save').
7329 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7331 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7333 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7334 elmo-newsgroups-hashtb).
7335 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7336 `elmo-nntp-folder-update-crosspost-message-alist'.
7337 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7338 `elmo-nntp-groups-hashtb'.
7339 (elmo-nntp-make-groups-hashtb): Eliminated.
7340 (elmo-nntp-parse-newsgroups): New function (Renamed from
7341 `wl-parse-newsgroups').
7342 (elmo-folder-creatable-p, elmo-folder-writable-p,
7343 elmo-folder-close-internal, elmo-folder-mark-as-read,
7344 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7346 (elmo-nntp-folder-update-crosspost-message-alist): New function.
7348 * elmo-net.el (elmo-message-fetch): Check buffer size.
7350 * elmo-multi.el (elmo-multi-split-number-alist): New function.
7352 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7354 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7355 before `close' command.
7357 * elmo.el (elmo-folder-list-unreads-internal): Added argument
7358 `mark-alist' (All other related portions are changed).
7360 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
7362 * elmo-util.el (elmo-create-hash-size): Eliminated.
7363 (elmo-make-hash) Make a hash with `one less than a power of two'
7366 * elmo-vars.el (elmo-hash-minimum-size): New variable.
7367 (elmo-hash-maximum-size): Changed value.
7369 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
7371 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7372 (elmo-mime-message-display-as-is): Ditto.
7374 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
7376 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7377 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7379 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
7381 * elmo-mark.el: New file.
7383 * elmo-internal.el: Rewrite (Almost empty).
7385 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
7387 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7388 (mime-imap-entity-header-string): Ditto.
7389 (mmimap-entity-section): Rewrite.
7391 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7393 * elmo-nmz.el: New file.
7395 * elmo-pipe.el: Rewrite with luna.
7397 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
7399 * elmo-archive.el: Rewrite with luna.
7401 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7402 (elmo-folder-list-importants-internal): Ditto.
7404 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
7406 * elmo-archive.el (elmo-archive-version): Abolish.
7407 (toplevel) Removed `boso' comment.
7409 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
7411 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7412 elmo-msgdb-add-msgs-to-seen-list-subr;
7413 Changed argument seen-marks to unread-marks.
7415 * elmo-nntp.el: Rewrite with luna.
7417 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
7419 * elmo-filter.el: Rewrite with luna.
7421 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7423 * elmo-pop3.el: Rewrite with luna.
7425 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
7427 * elmo-multi.el: Rewrite with luna.
7429 * elmo-vars.el (elmo-use-killed-list): Abolish.
7430 All other related portions are changed.
7431 (elmo-filename-replace-string-alist): Renamed from
7432 elmo-msgid-replace-string-alist.
7434 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7436 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7438 * elmo-map.el: New file.
7439 * elmo-maildir.el: Rewrite with luna.
7441 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
7443 * elmo.el: Changed meaning of `elmo-folder-commit'.
7444 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7446 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
7448 * elmo.el (elmo-folder-append-buffer): New function.
7449 (Renamed from `elmo-append-msg')
7451 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7453 * elmo-mime.el: New file.
7455 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
7457 * elmo-cache.el: Rewrite.
7459 2000-02-17 Kenichi OKADA <okada@opaopa.org>
7461 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7463 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
7465 * elmo-vars.el (elmo): New group.
7466 (elmo-strict-diff-folder-regexp): New variable.
7468 * elmo-util.el (elmo-call-func): Abolish.
7469 (elmo-folder-get-type): Ditto.
7470 (elmo-*-get-spec): Ditto.
7471 (elmo-*-spec-*): Ditto.
7472 (elmo-imap4-identical-name-space-p): Ditto.
7473 (elmo-folder-identical-system-p): Ditto.
7474 (elmo-folder-direct-copy-alist): Ditto.
7475 (elmo-folder-direct-copy-p): Ditto.
7477 * elmo-pipe.el (elmo-pipe-folder): New luna class.
7478 (elmo-folder-initialize): Define.
7479 (elmo-folder-get-primitive-list): Ditto.
7481 * elmo-nntp.el (elmo-nntp-folder): New luna class.
7482 (elmo-folder-initialize): Define.
7483 Renamed `elmo-network-session-host-internal' to
7484 `elmo-network-session-server-internal'.
7486 * elmo-multi.el (elmo-multi-folder): New luna class.
7487 (elmo-folder-initialize): Define.
7488 (elmo-folder-get-primitive-list): Ditto.
7489 (elmo-folder-contains-type): Ditto.
7490 (elmo-message-use-cache-p): Ditto.
7492 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7493 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7495 * elmo-maildir.el (elmo-maildir-folder): New luna class.
7496 (elmo-folder-initialize): Define.
7498 * elmo-filter.el (elmo-filter-folder): New luna class.
7499 (elmo-folder-initialize): Define.
7500 (elmo-folder-get-primitive-list): Ditto.
7501 (elmo-folder-contains-type): Ditto.
7503 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7505 * elmo-imap4.el: Rewrite with luna.
7507 * mmimap.el: New file.
7509 * mmelmo.el, mmelmo-imap4.el: Removed.
7511 * elmo-net.el: Ditto.
7513 * elmo-pop3.el (elmo-pop3-folder): New luna class.
7514 (elmo-folder-initialize): Define.
7516 * elmo-archive.el (elmo-archive-folder): New luna class.
7517 (elmo-folder-initialize): Define.
7519 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7520 `elmo-folder-msgdb-path'.
7521 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7524 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
7526 * elmo.el: New file.
7528 * elmo2.el: Renamed to elmo.el.
7531 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
7533 * elmo-cache.el (elmo-cache-expire-by-size): Count
7534 a disk usage for a cache file entry in KB even when
7535 its kind is a directory.
7537 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
7539 * elmo-version.el (elmo-version): Up to 2.5.7.
7541 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
7543 * elmo-version.el (elmo-version): Up to 2.5.6.
7545 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
7547 * elmo-version.el (elmo-version): Up to 2.5.5.
7549 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7551 * elmo-imap4.el (elmo-network-authenticate-session):
7552 Fixed a logic for response checking.
7554 2000-12-15 Daiki Ueno <ueno@unixuser.org>
7556 * elmo-net.el: Add autoload settings for `starttls-negotiate',
7557 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7558 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7561 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7562 for `starttls-open-stream' and `starttls-negotiate'.
7564 * elmo-nntp.el: Remove autoload settings for
7565 `starttls-open-stream' and `starttls-negotiate'.
7567 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7568 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7569 `luna-define-class' with `eval-and-compile'.
7571 2000-12-01 Kenichi OKADA <okada@opaopa.org>
7573 * elmo-util.el (elmo-read-search-condition-internal):
7574 Require an element of table for searching field.
7576 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
7578 * elmo-version.el (elmo-version): Up to 2.5.4.
7580 2000-11-26 Kenichi OKADA <okada@opaopa.org>
7582 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7584 2000-11-24 Kenichi OKADA <okada@opaopa.org>
7586 * elmo-nntp.el (elmo-network-initialize-session): omitted.
7588 2000-11-22 Kenichi OKADA <okada@opaopa.org>
7590 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7593 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7595 * elmo-imap4.el (elmo-imap4-delete-folder):
7596 Send "close" before "delete" (Use commented out line).
7597 (elmo-imap4-rename-folder): Ditto.
7599 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7600 folder string itself.
7601 (elmo-dop-list-deleted): New function.
7602 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7605 * elmo-util.el (elmo-string-rassoc-all): New function.
7607 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
7609 * elmo-version.el (elmo-version): Up to 2.5.3.
7611 * elmo-net.el (elmo-network-get-session): Changed logic for
7612 checking process status.
7614 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7616 Changed logic for checking process status.
7618 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
7620 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7622 (elmo-network-setup-session): Set UIDL hash size according to
7623 the length of list response.
7624 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7625 according to the length of list response;
7626 Return the length of list response.
7627 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7629 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7631 * elmo-imap4.el (toplevel): Require 'ssl.
7632 Add autoload 'starttls.
7633 * elmo-pop3.el (toplevel): Ditto.
7634 * elmo-nntp.el (toplevel): Ditto.
7636 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7638 * elmo-imap4.el (toplevel): defun at compile time.
7639 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7640 sasl-next-step, sasl-step-data, sasl-step-set-data.
7641 * elmo-pop3.el (toplevel): Ditto.
7643 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7645 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7647 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7649 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7651 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7652 and `elmo-pop-auth-apop'.
7654 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7656 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7658 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7660 * elmo-pop3.el (elmo-network-authenticate-session): Split
7661 encoded response value.
7663 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7665 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7666 `elmo-pop3-force-login'.
7667 Redefine `sasl-mechanisms'.
7668 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7670 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7672 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7673 Delete `elmo-imap4-authenticator-alist'.
7674 (elmo-imap4-auth-cram-md5): Delete.
7675 (elmo-imap4-auth-digest-md5): Delete.
7677 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7679 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7680 (elmo-pop3-auth-scram-md5): Ditto.
7681 (elmo-pop3-auth-cram-md5): Ditto.
7683 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7685 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7686 Delete `elmo-pop3-authenticator-alist'.
7688 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7690 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7692 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7694 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
7696 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7698 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
7700 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7701 Fixed problem when `elmo-pop3-use-uidl' is nil.
7702 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7704 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7706 * elmo-version.el (elmo-version): Up to 2.5.2.
7708 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
7710 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7712 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7713 (elmo-pop3-msgdb-create-as-numlist): Use it.
7715 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7716 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7718 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7719 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7721 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7723 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7724 when elmo-mark-as-read is called with second argument nil.
7726 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
7728 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7729 Moved to elmo-util.el.
7731 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7732 Moved from elmo-pipe.el
7734 * elmo-archive.el (elmo-archive-call-process): Enclose with
7737 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7738 "RFC822" (because RFC822.PEEK is obsolete).
7739 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7741 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
7743 * elmo-archive.el (elmo-archive-call-process): Don't check for
7744 the exit status when Nemacs is running.
7746 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
7748 * elmo-net.el (elmo-network-session-password-key): Don't set default to
7751 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7752 (elmo-pop3-get-spec): Set default of auth to 'user.
7754 * elmo-imap4.el (elmo-imap4-session-check):
7755 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7756 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7757 (elmo-imap4-auth-login): New function; Revival.
7758 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7759 `elmo-imap4-auth-login'.
7761 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
7763 * elmo2.el (toplevel): Move `product-provide' declare.
7764 * mmelmo.el (toplevel): Ditto.
7766 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7768 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7770 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
7772 * elmo-util.el (elmo-folder-get-store-type): New function.
7773 (elmo-folder-direct-copy-p): Use it.
7775 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
7777 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7778 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7779 and result of `elmo-imap4-use-flag-p'.
7780 (elmo-imap4-fetch-callback-1): Set mark according to
7781 the result of `elmo-imap4-use-flag-p'.
7783 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
7785 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7786 (elmo-generic-list-folder-unread): Ditto.
7787 (elmo-folder-get-info): Ditto.
7788 (elmo-folder-set-info-max-by-numdb): Ditto.
7789 (elmo-folder-get-info-max): Ditto.
7790 (elmo-folder-get-info-length): Ditto.
7791 (elmo-folder-get-info-unread): Ditto.
7792 (elmo-folder-info-make-hashtb): Ditto.
7794 * elmo2.el: Removed above functions.
7796 2000-11-21 Kenichi OKADA <okada@opaopa.org>
7798 * elmo-imap4.el (toplevel): Require 'ssl.
7799 Add autoload 'starttls.
7800 * elmo-pop3.el (toplevel): Ditto.
7801 * elmo-nntp.el (toplevel): Ditto.
7803 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7805 * elmo-imap4.el (toplevel): defun at compile time.
7806 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7807 sasl-next-step, sasl-step-data, sasl-step-set-data.
7808 * elmo-pop3.el (toplevel): Ditto.
7810 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7812 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7814 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7816 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7818 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7819 and `elmo-pop-auth-apop'.
7821 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7823 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7825 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7827 * elmo-pop3.el (elmo-network-authenticate-session): Split
7828 encoded response value.
7830 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7832 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7833 `elmo-pop3-force-login'.
7834 Redefine `sasl-mechanisms'.
7835 * elmo-vars.el (elmo-pop3-force-login): Ditto.
7837 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7839 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7840 Delete `elmo-imap4-authenticator-alist'.
7841 (elmo-imap4-auth-cram-md5): Delete.
7842 (elmo-imap4-auth-digest-md5): Delete.
7844 2000-11-20 Kenichi OKADA <okada@opaopa.org>
7846 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7847 (elmo-pop3-auth-scram-md5): Ditto.
7848 (elmo-pop3-auth-cram-md5): Ditto.
7850 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7852 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7853 Delete `elmo-pop3-authenticator-alist'.
7855 2000-11-19 Kenichi OKADA <okada@opaopa.org>
7857 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7859 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7862 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
7864 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7866 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
7868 * elmo-nntp.el (elmo-nntp-get-folders-info):
7869 Fixed problem when '\' character is contained in user-id.
7870 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7873 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
7875 * elmo-imap4.el (elmo-imap4-delete-folder):
7876 Send "close" before "delete" (Use commented out line).
7877 (elmo-imap4-rename-folder): Ditto.
7879 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7880 folder string itself.
7881 (elmo-dop-list-deleted): New function.
7882 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7885 * elmo-util.el (elmo-string-rassoc-all): New function.
7887 * elmo-version.el (elmo-version): Up to 2.5.1.
7889 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
7891 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7893 * elmo-internal.el (elmo-internal-search): Fix last change.
7895 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
7897 * elmo-internal.el (elmo-internal-search): Rewrite.
7898 (Fixed problem which is pointed out by Akihiro MOTOKI
7899 <motoki@da.jp.nec.com>)
7901 * elmo-version.el (elmo-version): Up to 2.5.0.
7903 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7905 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7907 2000-11-06 Kenichi OKADA <okada@opaopa.org>
7909 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7910 non-nil, make hierarchy.
7912 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
7914 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7915 `elmo-pop3-use-uidl' must be bound to nil.
7916 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7918 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
7920 * elmo-util.el (elmo-copy-file): Don't cause an error after
7921 `add-name-to-file' failed.
7923 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7924 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7926 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
7928 * elmo-version.el (elmo-version): Up to 2.3.93.
7930 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
7932 * elmo-util.el (elmo-flatten): New function.
7934 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
7936 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7938 * elmo-cache.el (toplevel): Ditto.
7939 * elmo-database.el (toplevel): Ditto.
7940 * elmo-date.el (toplevel): Ditto.
7941 * elmo-dop.el (toplevel): Ditto.
7942 * elmo-filter.el (toplevel): Ditto.
7943 * elmo-imap4.el (toplevel): Ditto.
7944 * elmo-internal.el (toplevel): Ditto.
7945 * elmo-localdir.el (toplevel): Ditto.
7946 * elmo-localnews.el (toplevel): Ditto.
7947 * elmo-maildir.el (toplevel): Ditto.
7948 * elmo-msgdb.el (toplevel): Ditto.
7949 * elmo-multi.el (toplevel): Ditto.
7950 * elmo-net.el (toplevel): Ditto.
7951 * elmo-nntp.el (toplevel): Ditto.
7952 * elmo-pipe.el (toplevel): Ditto.
7953 * elmo-pop3.el (toplevel): Ditto.
7954 * elmo-util.el (toplevel): Ditto.
7955 * elmo-vars.el (toplevel): Ditto.
7956 * elmo2.el (toplevel): Ditto.
7957 * mmelmo-imap4.el (toplevel): Ditto.
7958 * mmelmo.el (toplevel): Ditto.
7960 * elmo-version.el (elmo-version): Move to top.
7962 * elmo-cache.el (toplevel): Fixed multiple Author header format.
7963 * elmo-imap4.el (toplevel): Ditto.
7964 * elmo-localdir.el (toplevel): Ditto.
7965 * elmo-msgdb.el (toplevel): Ditto.
7966 * elmo-nntp.el (toplevel): Ditto.
7967 * elmo-pop3.el (toplevel): Ditto.
7968 * elmo-version.el (toplevel): Ditto.
7970 * elmo-localnews.el (toplevel): Added Keyword header.
7972 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
7974 * elmo-version.el (product-version-as-string): Defined using
7978 * elmo-localdir.el (toplevel): Updated copyright notice.
7979 * elmo-version.el (toplevel): Ditto.
7980 * elmo-msgdb.el (toplevel): Ditto.
7981 * elmo-imap4.el (toplevel): Ditto.
7982 * elmo-nntp.el (toplevel): Ditto.
7983 * elmo-pop3.el (toplevel): Ditto.
7985 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
7987 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7990 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7991 parameter value (It sometimes contains raw kanji).
7993 2000-10-28 Kenichi OKADA <okada@opaopa.org>
7995 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7996 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7998 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8000 * elmo-imap4.el (elmo-network-initialize-session): Fix.
8002 2000-10-28 Kenichi OKADA <okada@opaopa.org>
8004 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
8005 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
8007 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
8009 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
8010 value if selecting folder succceeded.
8011 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
8013 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
8015 * elmo-util.el (elmo-make-directory): Fixed permission lateral
8018 * elmo-util.el (elmo-string-matched-member): New function.
8020 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
8022 * elmo-util.el (elmo-unintern): New macro.
8023 (elmo-number-set-member): Fixed docstring.
8025 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
8028 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
8030 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
8031 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
8033 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
8035 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
8038 Return non-nil if selecting folder succeeded.
8039 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
8041 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
8043 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
8044 `file-name-completion' returns t.
8045 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
8046 (elmo-maildir-set-mark): Put `info' part to the files in the cur
8047 directory if it does not exist.
8048 (elmo-maildir-update-current): Use `while' instead of `mapcar'
8051 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
8053 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
8054 enclosure (It's harmful in unplugged status).
8056 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
8058 * mmelmo-1.el: Removed.
8060 * mmelmo-2.el: Ditto.
8062 * mmelmo-imap4-1.el: Ditto.
8064 * mmelmo-imap4-2.el: Ditto.
8066 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
8068 * mmelmo.el: Merged mmelmo-2.el.
8070 * elmo-version.el (elmo-version): Up to 2.3.92.
8072 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
8074 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
8075 elmo-update-number): Remove last period in "...done." message.
8076 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
8078 * elmo-cache.el (elmo-cache-expire-by-size,
8079 elmo-cache-get-sorted-cache-file-list,
8080 elmo-cache-msgdb-create-as-numlist): Ditto.
8081 * elmo-dop.el (elmo-dop-save-pending-messages,
8082 (elmo-dop-flush-pending-append-operations): Ditto.
8083 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
8084 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
8085 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
8086 (elmo-localdir-pack-number): Ditto.
8087 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
8088 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
8089 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
8090 mime-write-entity-content): Ditto.
8091 * pldap.el (ldap-search-basic): Ditto.
8093 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
8095 * elmo-version.el (elmo-version): Up to 2.3.91.
8097 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
8098 Only when filter is 'last'.
8100 * elmo-util.el (elmo-condition-atom-regexp): New constant.
8101 (elmo-condition-parse-search-value): Use it.
8102 (elmo-read-search-condition-internal): Quote value only when
8105 2000-10-18 Kenichi OKADA <okada@opaopa.org>
8107 * elmo2.el (elmo-generic-folder-diff): Fix.
8109 2000-10-17 Kenichi OKADA <okada@opaopa.org>
8111 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
8112 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
8113 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
8114 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8115 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8116 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
8118 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
8120 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
8123 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
8125 * elmo-version.el (elmo-version): Up to 2.3.90.
8127 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
8128 (elmo-imap4-list-folder-important): Ditto.
8130 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8132 * elmo-nntp.el (elmo-network-initialize-session): Fix.
8134 2000-10-16 Kenichi OKADA <okada@opaopa.org>
8136 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8138 2000-10-15 Kenichi OKADA <okada@opaopa.org>
8140 * elmo-nntp.el (elmo-network-initialize-session):
8141 Add starttls negotiation.
8143 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
8145 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8147 (elmo-network-setup-session): Define.
8148 Call `elmo-nntp-send-mode-reader' when session opened.
8150 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8152 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8154 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
8156 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8157 an invalid SPACE character ahead of `SEARCH' command. Move
8158 a valid SPACE character following `SEARCH' from conditional
8159 `format' arguments to control-strings.
8161 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
8163 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8166 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8168 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
8170 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8171 `w32-get-true-file-link-count' as t.
8173 * elmo-imap4.el (elmo-imap4-read): Abolished.
8174 (Renamed to `elmo-read' and moved to elmo-util.el)
8175 All other related portions are changed.
8177 * elmo-util.el (elmo-read): New function.
8178 (elmo-condition-parse-search-value): Use it.
8180 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
8182 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8184 * elmo-nntp.el (elmo-nntp-session): Define.
8185 (elmo-nntp-setting): Abolished.
8186 All other related portions are changed.
8187 (elmo-nntp-get-server-command): Changed argument.
8188 (elmo-nntp-set-server-command): Ditto.
8189 (elmo-nntp-xover-p): Ditto.
8190 (elmo-nntp-set-xover): Ditto.
8191 (elmo-nntp-listgroup-p): Ditto.
8192 (elmo-nntp-set-listgroup): Ditto.
8193 (elmo-nntp-list-active-p): Ditto.
8194 (elmo-nntp-set-list-active): Ditto.
8195 (elmo-nntp-xhdr-p): Ditto.
8196 (elmo-nntp-set-xhdr): Ditto.
8197 (elmo-nntp-flush-connection): Abolished.
8198 (elmo-nntp-get-connection): Abolished.
8199 (elmo-nntp-get-session): New function.
8200 (elmo-network-initialize-session): Defined.
8201 (elmo-network-authenticate-session): Ditto.
8202 (elmo-nntp-send-mode-reader): Changed argument.
8203 (elmo-nntp-send-command): Changed argument.
8204 All other related portions are changed.
8205 (elmo-nntp-read-response): Ditto.
8206 (elmo-nntp-read-raw-response): Ditto.
8207 (elmo-nntp-read-contents): Ditto.
8208 (elmo-nntp-read-body): Ditto.
8209 (elmo-nntp-goto-folder): Abolished.
8210 (elmo-nntp-select-group): New function.
8211 All other related portions are changed.
8212 (This function substitutes `elmo-nntp-goto-folder')
8213 (elmo-nntp-msgdb-create-by-header): Rewrite.
8214 (elmo-nntp-get-overview): Eliminated.
8215 (elmo-nntp-get-message): Ditto.
8216 (elmo-nntp-open-connection) Abolished.
8217 (elmo-nntp-read-msg): Rewrite.
8218 (elmo-nntp-post): Ditto.
8219 (elmo-nntp-send-data): Abolished.
8220 (elmo-nntp-send-buffer): New function.
8221 (elmo-nntp-send-data-line): Define as inline function.
8222 (elmo-nntp-get-folders-info-prepare): Use session as key.
8223 (elmo-nntp-groups-read-response): Changed argument.
8224 (elmo-nntp-retrieve-headers): Ditto.
8225 (elmo-nntp-msgdb-create-message): Ditto.
8227 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8228 when searching by 'since' or 'before'.
8230 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
8232 * elmo-version.el (toplevel): Use product-version-as-string for set
8233 verstion-string, if defined.
8235 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
8237 * elmo-util.el: Doc fixes.
8239 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8241 * elmo-archive.el (toplevel): Use product-provide.
8242 * elmo-cache.el (toplevel): Ditto.
8243 * elmo-database.el (toplevel): Ditto.
8244 * elmo-date.el (toplevel): Ditto.
8245 * elmo-dop.el (toplevel): Ditto.
8246 * elmo-filter.el (toplevel): Ditto.
8247 * elmo-imap4.el (toplevel): Ditto.
8248 * elmo-internal.el (toplevel): Ditto.
8249 * elmo-localdir.el (toplevel): Ditto.
8250 * elmo-localnews.el (toplevel): Ditto.
8251 * elmo-maildir.el (toplevel): Ditto.
8252 * elmo-msgdb.el (toplevel): Ditto.
8253 * elmo-multi.el (toplevel): Ditto.
8254 * elmo-net.el (toplevel): Ditto.
8255 * elmo-nntp.el (toplevel): Ditto.
8256 * elmo-pipe.el (toplevel): Ditto.
8257 * elmo-pop3.el (toplevel): Ditto.
8258 * elmo-util.el (toplevel): Ditto.
8259 * elmo-vars.el (toplevel): Ditto.
8260 * elmo2.el (toplevel): Ditto.
8261 * mmelmo-1.el (toplevel): Ditto.
8262 * mmelmo-2.el (toplevel): Ditto.
8263 * mmelmo-imap4-1.el (toplevel): Ditto.
8264 * mmelmo-imap4-2.el (toplevel): Ditto.
8265 * mmelmo-imap4.el (toplevel): Ditto.
8266 * mmelmo.el (toplevel): Ditto.
8268 2000-10-10 Kenichi OKADA <okada@opaopa.org>
8270 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8271 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8273 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
8275 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8277 (elmo-multi-split-number-alist): Ditto.
8279 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
8281 * elmo-version.el: New file. Use product.el.
8282 * elmo2.el: Add (require 'elmo-version).
8283 * elmo-vars.el (elmo-appname, elmo-version): Move to
8286 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
8288 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8289 `elmo-msgdb-expand-path'.
8290 (elmo-msgdb-load): Ditto.
8291 Abolished 2nd argument. If 1st argument is not string, treat as spec.
8292 (elmo-generic-list-folder-unread): Rewrite.
8293 (elmo-generic-list-folder-important): Changed argument.
8294 (elmo-list-folder-unread): Ditto.
8295 (elmo-list-folder-important): Ditto.
8296 (elmo-folder-diff): Rewrite.
8297 (elmo-generic-folder-diff): New function.
8298 (elmo-multi-get-number-alist-list): Abolished
8299 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8300 (elmo-multi-folder-diff): Moved to elmo-multi.el
8301 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8303 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8304 `elmo-msgdb-expand-path'.
8305 (elmo-pop3-msgdb-create-as-numlist): Ditto.
8306 (elmo-pop3-read-msg): Ditto.
8307 (elmo-pop3-delete-msgs): Ditto.
8308 (elmo-pop3-folder-diff): New alias.
8310 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8311 `elmo-msgdb-expand-path'.
8312 (elmo-pipe-list-folder-unread): Changed arguments.
8313 (elmo-pipe-list-folder-important): Ditto.
8314 (elmo-pipe-folder-diff): New alias.
8316 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8317 `elmo-msgdb-expand-path'.
8318 (elmo-nntp-max-of-folder): Ditto.
8319 (elmo-nntp-msgdb-create): Ditto.
8320 (elmo-nntp-delete-msgs): Ditto.
8321 (elmo-nntp-folder-diff): New alias.
8323 * elmo-multi.el (elmo-multi-folder-diff): New function.
8324 (elmo-multi-split-mark-alist): Ditto.
8325 (elmo-multi-split-number-alist): Ditto.
8326 (elmo-multi-mark-alist-list): Abolished (Renamed to
8327 elmo-multi-split-mark-alist).
8328 (elmo-multi-list-folder-unread): Rewrite.
8329 (elmo-multi-list-folder-important): Ditto.
8330 (elmo-multi-list-folder): Set `spec' as 1st argument for
8331 `elmo-msgdb-expand-path'.
8332 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8333 instead of `elmo-multi-get-number-alist-list'.
8335 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8336 If 1st argument is not string, treat as spec.
8337 (elmo-list-folder-by-location): Set `spec' as 1st argument for
8338 `elmo-msgdb-expand-path'.
8339 (elmo-msgdb-flist-load): Ditto.
8340 (elmo-msgdb-flist-save): Ditto.
8341 (elmo-msgdb-delete-path): Ditto.
8342 (elmo-msgdb-rename-path): Ditto.
8344 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8345 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8346 (elmo-maildir-delete-mark-msgs): Ditto.
8347 (elmo-maildir-msgdb-create): Ditto.
8348 (elmo-maildir-read-msg): Ditto.
8349 (elmo-maildir-delete-msgs): Ditto.
8350 (elmo-maildir-list-folder-subr): Ditto.
8351 (elmo-maildir-search): Ditto.
8352 (elmo-maildir-get-msg-filename): Ditto.
8353 (elmo-maildir-pack-number): Ditto.
8354 (elmo-maildir-folder-diff): New alias.
8356 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8358 * elmo-localdir.el (elmo-localdir-list-folder-subr):
8359 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8360 (elmo-localdir-folder-diff): New alias.
8362 * elmo-internal.el (elmo-internal-list-folder-subr):
8363 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8364 (elmo-internal-list-folder-by-location): Ditto.
8365 (elmo-internal-msgdb-create): Ditto.
8366 (elmo-internal-delete-msgs): Ditto.
8367 (elmo-internal-read-msg): Ditto.
8368 (elmo-internal-folder-diff): New alias.
8370 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8371 (elmo-imap4-list-folder): Set `spec' as 1st argument for
8372 `elmo-msgdb-expand-path'.
8373 (elmo-imap4-list-folder-unread): Changed arguments.
8374 (elmo-imap4-list-folder-important): Ditto.
8376 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8377 (elmo-filter-list-folder-important): Ditto.
8378 (elmo-filter-folder-diff): New function.
8380 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8382 * elmo-cache.el (elmo-cache-list-folder):
8383 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8384 (elmo-cache-copy-msgs): Ditto.
8385 (elmo-cache-folder-diff): New alias.
8387 * elmo-archive.el (elmo-archive-list-folder-subr):
8388 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8389 (elmo-archive-get-archive-name): Ditto.
8390 (elmo-archive-create-file): Ditto.
8391 (elmo-archive-append-msg): Ditto.
8392 (elmo-archive-copy-msgs): Ditto.
8393 (elmo-archive-copy-msgs-froms): Ditto.
8394 (elmo-archive-get-msg-filename): Ditto.
8395 (elmo-archive-folder-diff): New alias.
8397 2000-10-06 Daiki Ueno <ueno@unixuser.org>
8399 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8400 (elmo-pop3-stream-type-alist): New variable.
8401 (elmo-nntp-stream-type-alist): New variable.
8403 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8404 (elmo-kill-buffer): Ditto.
8405 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8406 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8407 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8408 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8409 (elmo-imap4-get-spec): Take into account
8410 `elmo-imap4-stream-type-alist'.
8412 2000-10-06 Kenichi OKADA <okada@opaopa.org>
8414 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8415 (elmo-nntp-list-folders-get-cache): Ditto.
8417 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
8419 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8420 character before 'uid'.
8422 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
8424 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8426 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8428 * elmo-util.el (elmo-number-set-member): New function.
8429 (elmo-number-set-append-list): Ditto.
8430 (elmo-number-set-append): Ditto.
8432 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8433 Use `elmo-number-set-member'.
8434 (elmo-living-messages): Ditto.
8435 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8436 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8438 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8439 (elmo-imap4-add-to-cont-list): Abolished.
8440 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8441 instead of elmo-imap4-add-to-cont-list.
8443 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8444 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8446 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8448 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
8450 * elmo-util.el (elmo-condition-parse-search-value):
8453 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
8455 * elmo-util.el (elmo-condition-find-key-internal): New function.
8456 (elmo-condition-find-key): Ditto.
8458 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8459 (elmo-msgdb-search-internal): Ditto.
8460 (elmo-msgdb-search): Ditto.
8462 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
8464 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8465 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8467 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8468 (elmo-nntp-search-primitive): Fixed problem when condition is
8471 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8473 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8474 (elmo-nntp-xhdr-p): New macro.
8475 (elmo-nntp-set-xhdr): Ditto.
8476 (elmo-nntp-parse-xhdr-response): New function.
8477 (elmo-nntp-retrieve-field): Ditto.
8478 (elmo-nntp-search-primitive): Ditto.
8479 (elmo-nntp-search): Implemented.
8481 * elmo-date.el (elmo-date-make-sortable-string): New macro.
8483 * elmo-archive.el (elmo-archive-search): Set all number list to
8484 `elmo-archive-field-condition-match'
8486 * elmo-localdir.el (elmo-localdir-search): Likewise.
8488 * elmo-maildir.el (elmo-maildir-search): Likewise.
8490 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
8492 * elmo-msgdb.el (elmo-living-messages): New function.
8493 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8494 * elmo-cache.el (elmo-cache-list-folder): Ditto.
8495 * elmo-dop.el (elmo-dop-list-folder): Ditto.
8496 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8497 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8498 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8499 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8500 * elmo-multi.el (elmo-multi-list-folder): Ditto.
8501 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8502 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8503 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8505 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
8507 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8509 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8511 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8513 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8514 arguments for `SEARCH' command.
8515 (elmo-imap4-parse-string): Set `POS' argument for char-after.
8516 All other related portions are changed.
8518 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8520 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8521 (elmo-list-folder-unread): Rewrite.
8522 (elmo-list-folder-important): Ditto.
8524 * elmo-util.el (elmo-filter-get-spec): Rewrite.
8525 (elmo-condition-parse-error): New inline function.
8526 (elmo-read-search-condition): New function.
8527 (elmo-read-search-condition-internal): Ditto.
8528 (elmo-parse-search-condition): Rewrite.
8529 (elmo-condition-parse): New function.
8530 (elmo-condition-parse-or-expr): Ditto.
8531 (elmo-condition-parse-and-expr): Ditto.
8532 (elmo-condition-parse-primitive): Ditto.
8533 (elmo-condition-parse-search-value): Ditto.
8534 (elmo-buffer-field-primitive-condition-match): Ditto.
8535 (elmo-buffer-field-condition-match): Rewrite.
8536 (elmo-file-field-condition-match): Ditto.
8538 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8539 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8541 * elmo-internal.el (elmo-internal-search): Set `number' and
8542 `number-list' argument of `elmo-file-field-condition-match'.
8544 * elmo-maildir.el (elmo-maildir-search): Ditto.
8546 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8547 `msgdb' as argument instead of `mark-alist'.
8548 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8551 * elmo-multi.el: Likewise.
8553 * elmo-pipe.el: Likewise.
8555 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8556 (elmo-imap4-search-internal): Rewrite.
8557 (elmo-imap4-search): Ditto.
8559 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8560 (elmo-filter-list-folder-unread): Ditto.
8561 (elmo-filter-list-folder-important): Ditto.
8562 (elmo-filter-search): Rewrite.
8564 * elmo-cache.el (elmo-cache-search-all): Set `number' and
8565 `number-list' argument of `elmo-file-field-condition-match'.
8566 (elmo-cache-search): Ditto.
8568 * elmo-localdir.el: Likewise.
8570 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8571 number-list and pass it to `elmo-buffer-field-condition-match'.
8572 (elmo-archive-field-condition-match): Pass `number-list' to
8573 `elmo-archive-field-condition-match'
8575 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
8577 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8580 * elmo2.el (elmo-folder-diff-async-callback): New variable.
8581 (elmo-folder-diff-async-callback-data): Ditto.
8582 (elmo-folder-diff-async): New function.
8584 * elmo-net.el (elmo-network-session-name-prefix): New variable.
8585 (elmo-network-session-cache-key): Use it as a prefix of the session
8587 (elmo-network-open-session): Ditto.
8589 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8590 (elmo-imap4-status-callback-data): Ditto.
8591 (elmo-imap4-server-diff-async-callback): New variable.
8592 (elmo-imap4-server-diff-async-callback-data): Ditto.
8593 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8594 `elmo-imap4-status-callback-data'.
8595 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8596 `elmo-imap4-status-callback-data' as nil.
8597 (elmo-imap4-server-diff): Ditto.
8598 (elmo-imap4-server-diff-async-callback-1): New function.
8599 (elmo-imap4-server-diff-async): Ditto.
8600 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8602 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
8604 * elmo-util.el (elmo-list-delete): Doc fix.
8605 (elmo-delete-lists): Abolish.
8606 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8607 instead of `elmo-delete-lists'.
8609 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
8611 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8614 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
8616 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8617 `elmo-imap4-literal-subr'.
8618 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8619 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8621 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8623 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8624 (elmo-archive-list-folder): Fix.
8625 (elmo-archive-max-of-folder): Fix.
8627 2000-09-15 Kenichi OKADA <okada@opaopa.org>
8629 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8630 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8631 (elmo-localdir-append-msg): Ditto.
8632 (elmo-localdir-list-folder): Fix for `nonsort'.
8633 (elmo-localdir-list-folder-subr): Fix for `killed'.
8634 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8635 (elmo-maildir-list-folder-subr): Ditto.
8636 * elmo-archive.el (elmo-archive-list-folder): Ditto.
8637 (elmo-archive-list-folder-subr): Ditto.
8638 * elmo-internal.el (elmo-internal-list-folder): Ditto.
8639 (elmo-internal-list-folder-subr): Ditto.
8641 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
8643 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8645 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
8647 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8649 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
8651 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8652 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8654 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8656 (elmo-imap4-read-part): Use "body.peek" to fetch part.
8657 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8659 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
8661 * mmelmo-imap4-2.el (mime-entity-children): Defined.
8663 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8664 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8665 before STORE command.
8667 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
8669 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8671 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8672 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8674 (elmo-imap4-list-folders): Removed unused local variable.
8675 (elmo-network-initialize-session): Ditto.
8676 (elmo-imap4-delete-msg-by-id): Ditto.
8677 (elmo-imap4-parse-fetch): Ditto.
8678 (elmo-imap4-copy-msgs): Ditto.
8679 Use `dst-spec' instead of `dst-folder'.
8680 (elmo-network-authenticate-session): Check authenticate type `plain'.
8682 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
8684 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8686 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8687 `elmo-imap4-response-value'.
8688 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8690 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
8692 * elmo-imap4.el (elmo-imap4-send-command):
8693 Cause elmo-imap4-bye-error when current response is BYE.
8694 (elmo-imap4-arrival-filter): Changed greeting response value.
8696 * elmo2.el (elmo-imap4-bye-error): Define.
8698 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8699 (elmo-imap4-server-diff): Ditto.
8700 (elmo-imap4-response-bye-p): New macro.
8701 (elmo-imap4-response-error-text): Get text from BYE response.
8702 (elmo-imap4-read-response): Return if BYE response.
8703 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8704 (elmo-imap4-folder-exists-p): Ditto.
8705 (elmo-imap4-commit): Do nothing when different mailbox is selected.
8706 (elmo-imap4-parse-bye): New function.
8707 (elmo-imap4-parse-response): Remove needless let.
8708 Call `elmo-imap4-parse-bye'.
8710 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
8712 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8713 the mailbox does not exist.
8714 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8716 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
8718 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8720 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
8722 * elmo-vars.el (elmo-search-mime-charset): Abolished.
8724 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8725 (elmo-network-initialize-session-buffer): Defined.
8727 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8729 (mmelmo-imap4-get-mime-entity): Rewrite.
8731 * elmo2.el (elmo-error): Capitalize error message.
8733 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8734 (elmo-network-session-buffer): New macro.
8735 (elmo-network-open-session): Use it.
8737 * elmo-imap4.el: Rewrite.
8739 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8741 * elmo-nntp.el (Toplevel): Require 'elmo-net.
8743 2000-08-27 Daiki Ueno <ueno@unixuser.org>
8745 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8746 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8747 (elmo-imap4-create-msgdb-from-overview-string): Use
8748 `elmo-msgdb-create-overview-from-buffer'.
8750 2000-08-26 Daiki Ueno <ueno@unixuser.org>
8752 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8753 (elmo-imap4-default-hierarchy-delimiter): New variable.
8754 (elmo-imap4-list-folders): Use it.
8756 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
8758 * elmo-net.el (elmo-network-open-session): Add user and
8759 stream-type for process-buffer name.
8761 * elmo-pop3.el (elmo-network-initialize-session): Call
8762 buffer-disable-undo.
8764 * elmo-imap4.el (elmo-network-initialize-session):
8765 Set current-buffer as an argument for `buffer-disable-undo'.
8767 * elmo-pop3.el (elmo-network-close-session): Don't use
8770 * elmo-vars.el (elmo-default-pop3-authenticate-type):
8771 Set default as 'user.
8773 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8775 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8776 and `elmo-imap4-flush-connection'.
8778 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8779 (elmo-pop3-get-spec): Assume auth as symbol.
8780 (elmo-open-network-stream): Moved to `elmo-net'.
8782 * elmo-pop3.el (toplevel): Require 'elmo-net.
8783 Define `sasl-cram-md5' to silence byte compilier.
8784 (elmo-pop3-connection-cache) Abolished.
8785 (elmo-pop3-authenticator-alist) New variable.
8786 (elmo-pop3-session): Define.
8787 (elmo-pop3-connection-get-process): Abolished.
8788 (elmo-pop3-connection-get-buffer): Ditto.
8789 (elmo-pop3-close-connection): Ditto.
8790 (elmo-pop3-flush-connection): Ditto.
8791 (elmo-pop3-get-connection): Ditto.
8792 (elmo-pop3-get-session): New function.
8793 (Replacement for `elmo-pop3-get-connection').
8794 All other related modules are changed.
8795 (elmo-network-close-session): Define.
8796 (elmo-pop3-send-command): Abolished argument `buffer'.
8797 All other related modules are changed.
8798 (elmo-pop3-read-response): Likewise.
8799 (elmo-pop3-open-connection): Abolished.
8800 (elmo-pop3-auth-user): New function.
8801 (elmo-pop3-auth-apop): Ditto.
8802 (elmo-pop3-auth-cram-md5): Ditto.
8803 (elmo-pop3-auth-scram-md5): Ditto.
8804 (elmo-pop3-auth-digest-md5): Ditto.
8805 (elmo-network-initialize-session): Define.
8806 (elmo-network-authenticate-session): Ditto.
8807 (elmo-network-setup-session): Ditto.
8809 * elmo-imap4.el (toplevel): Require 'elmo-net.
8810 (elmo-imap4-session): Define.
8811 (elmo-imap4-connection-cache): Abolished.
8812 (elmo-imap4-password-key): Ditto.
8813 (elmo-imap4-flush-connection): Ditto.
8814 (elmo-imap4-get-connection): Ditto.
8815 All other related modules are changed.
8816 (elmo-imap4-get-session): New function
8817 (Replacement for `elmo-imap4-get-connection').
8818 (elmo-imap4-read-response): Abolished argument `buffer'.
8819 All other related modules are changed.
8820 (elmo-imap4-send-command): Likewise.
8821 (elmo-imap4-select-folder): Abolished.
8822 All other related modules are changed.
8823 (elmo-imap4-select-mailbox): New function.
8824 (Replacement for `elmo-imap4-select-folder').
8825 (elmo-imap4-auth-login): Simplify.
8826 (Assume current buffer as process buffer)
8827 (elmo-imap4-auth-cram-md5): Ditto.
8828 (elmo-imap4-auth-digest-md5): Ditto.
8829 (elmo-imap4-login): Ditto.
8830 (elmo-imap4-open-connection): Abolished.
8831 (elmo-imap4-open-connection-1): Abolished.
8832 (elmo-network-initialize-sessoin): Define.
8833 (elmo-network-authenticate-session): Ditto.
8834 (elmo-network-setup-session): Ditto.
8836 * elmo-net.el: New module.
8838 2000-08-22 Daiki Ueno <ueno@unixuser.org>
8840 * elmo-util.el (elmo-define-error): New function.
8842 * elmo2.el (elmo-error): Define.
8843 (elmo-open-error): Define.
8844 (elmo-authenticate-error): Define.
8846 * elmo-imap4.el (elmo-imap4-error): Abolish.
8847 (elmo-imap4-error-type): Abolish.
8848 (elmo-imap4-error-process): Abolish.
8849 (elmo-imap4-error-message): Abolish
8850 (elmo-imap4-list-folders): Don't quote lambda.
8851 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8852 (elmo-imap4-parse-namespace): Ditto.
8853 (elmo-imap4-open-connection): Rewrite.
8854 (elmo-imap4-open-connection-1): Simplified (authenticate only).
8855 (elmo-imap4-get-connection): Abolish local variable `result'.
8857 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
8859 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8860 wrong-type-argument error when auth is nil.
8862 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
8864 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8865 (elmo-default-nntp-stream-type): Ditto.
8866 (elmo-default-pop3-stream-type): Ditto.
8867 (elmo-network-stream-type-alist): Ditto.
8868 (elmo-default-imap4-ssl): Abolished.
8869 (elmo-default-nntp-ssl): Ditto.
8870 (elmo-default-pop3-ssl): Ditto.
8872 * elmo-util.el: (toplevel): Removed needless requires.
8873 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8874 (elmo-open-network-stream): Open network stream according to
8875 the value of `elmo-network-stream-type-alist'.
8876 (elmo-get-network-stream-type): New function.
8877 (elmo-network-stream-type-spec-string): New macro.
8878 (elmo-network-stream-type-symbol): Ditto.
8879 (elmo-network-stream-type-function): Ditto.
8881 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8882 network-stream-type. All other related portions are changed.
8883 (elmo-pop3-open-connection): Ditto.
8885 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8886 network-stream-type. All other related portions are changed.
8888 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8889 network-stream-type.All other related portions are changed.
8890 (elmo-imap4-error): New macro.
8891 (elmo-imap4-error-type): Ditto.
8892 (elmo-imap4-error-process): Ditto.
8893 (elmo-imap4-error-message): Ditto.
8894 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8895 (elmo-imap4-auth-cram-md5): Ditto.
8896 (elmo-imap4-auth-digest-md5): Ditto.
8897 (elmo-imap4-login): Ditto.
8898 (elmo-imap4-open-connection): Remove password entry if authentication
8900 (elmo-imap4-user-at-host): Abolished.
8901 (elmo-imap4-password-key): New buffer local variable.
8902 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8903 using protocol, port, auth and stream-type.
8905 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8907 2000-08-13 Daiki Ueno <ueno@unixuser.org>
8909 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8911 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8913 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8914 (elmo-imap4-authenticator-alist): New variable.
8915 (elmo-imap4-open-connection-1): Rename from
8916 elmo-imap4-open-connection.
8917 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8918 only wraps elmo-imap4-open-connection-1.
8919 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8921 (elmo-imap4-auth-login): New function.
8922 (elmo-imap4-auth-cram-md5): New function.
8923 (elmo-imap4-auth-digest-md5): New function.
8924 (elmo-imap4-login): New function.
8926 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8928 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8931 2000-08-12 Kenichi OKADA <okada@opaopa.org>
8933 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8935 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
8937 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8939 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
8941 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8942 for server responses, quote `*' regardless of where it appears.
8944 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8946 * elmo-maildir.el (elmo-maildir-commit): New alias.
8948 2000-08-03 Kenichi OKADA <okada@opaopa.org>
8950 * elmo-util.el (elmo-display-progress):
8951 Use `progress-feedback-with-label'.
8953 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
8955 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8956 (elmo-imap4-non-atom-char-regex): Ditto.
8957 (elmo-imap4-non-text-char-regex): Ditto.
8958 (elmo-imap4-literal-threshold): Ditto.
8959 (elmo-imap4-atom-p): New function.
8960 (elmo-imap4-quotable-p): Ditto.
8961 (elmo-imap4-nil): Ditto.
8962 (elmo-imap4-atom): Ditto.
8963 (elmo-imap4-quoted): Ditto.
8964 (elmo-imap4-literal-subr): Ditto.
8965 (elmo-imap4-literal): Ditto.
8966 (elmo-imap4-buffer-literal): Ditto.
8967 (elmo-imap4-string-subr): Ditto.
8968 (elmo-imap4-string): Ditto.
8969 (elmo-imap4-buffer-string): Ditto.
8970 (elmo-imap4-astring-subr): Ditto.
8971 (elmo-imap4-astring): Ditto.
8972 (elmo-imap4-buffer-astring): Ditto.
8973 (elmo-imap4-nstring): Ditto.
8974 (elmo-imap4-buffer-nstring): Ditto.
8975 (elmo-imap4-mailbox): New alias.
8976 (elmo-imap4-field-body): Ditto.
8977 (elmo-imap4-userid): Ditto.
8978 (elmo-imap4-password): Ditto.
8979 (elmo-imap4-format-quoted): New function.
8980 (elmo-imap4-send-command): Rewritten. Accept a list of command
8981 arguments and handle "atom", "quoted" and "literal" string here.
8982 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8983 `elmo-imap4-send-command'.
8984 (elmo-imap4-folder-exists-p): Likewise.
8985 (elmo-imap4-create-folder): Likewise.
8986 (elmo-imap4-delete-folder): Likewise.
8987 (elmo-imap4-rename-folder): Likewise.
8988 (elmo-imap4-max-of-folder): Likewise.
8989 (elmo-imap4-check-validity): Likewise.
8990 (elmo-imap4-sync-validity): Likewise.
8991 (elmo-imap4-server-diff): Likewise.
8992 (elmo-imap4-select-folder): Likewise.
8993 (elmo-imap4-copy-msgs): Likewise.
8994 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8995 (elmo-imap4-mark-set-on-msgs): Likewise.
8996 (elmo-imap4-read-part): Likewise.
8997 (elmo-imap4-read-msg): Likewise.
8998 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8999 `elmo-imap4-password' for `elmo-imap4-send-command'.
9000 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
9001 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
9002 `elmo-imap4-buffer-literal'.
9003 (elmo-imap4-append-msg): Likewise.
9005 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
9006 `delete' for removing dead connection from the connection cache.
9007 Move deletion of the process buffer after that.
9008 (elmo-imap4-list): Change `defsubst' to `defun'.
9009 (elmo-imap4-commit): Make error message verbose.
9010 (elmo-imap4-search): Ditto.
9011 (elmo-imap4-list): Ditto.
9012 (elmo-imap4-select-folder): Ditto.
9013 (elmo-imap4-copy-msgs): Ditto.
9014 (elmo-imap4-delete-msg-by-id): Ditto.
9015 (elmo-imap4-append-msg-by-id): Ditto.
9016 (elmo-imap4-append-msg): Ditto.
9018 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
9020 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
9021 when dired is used on XEmacs.
9023 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
9025 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
9026 instead of `append'.
9027 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
9028 `elmo-plugged-p' directly.
9029 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
9030 of `elmo-plugged-p' directly.
9032 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
9033 Eliminate unused variable. Use `memq' for checking a process status.
9034 Use `cons' instead of `append' for updating the connection cache.
9035 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
9036 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
9038 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
9040 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
9041 `elmo-imap4-read-point' exactly.
9043 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
9044 the local variable `folder' to `mailbox'.
9045 Rename the argument `fld' to `folder'.
9047 2000-07-20 Kenichi OKADA <okada@opaopa.org>
9049 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
9050 * elmo-imap4.el (elmo-imap4-commit): Ditto.
9052 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
9054 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
9055 (elmo-pop3-number-uidl-hash): New buffer-local variable.
9056 (elmo-pop3-uidl-number-hash): Ditto.
9057 (elmo-pop3-size-hash): Ditto.
9058 (elmo-pop3-uidl-done): Ditto.
9059 (elmo-pop3-list-done): Ditto.
9060 (elmo-pop3-connection-get-process): New defmacro.
9061 (elmo-pop3-connection-get-buffer): Ditto.
9062 (elmo-pop3-close-connection): Delete buffer and process.
9063 (elmo-pop3-flush-connection): Don't delete buffer and process.
9064 (elmo-pop3-get-connection): Added optional argument `if-exists'.
9065 Setup UIDL and size hash.
9066 (elmo-pop3-send-command-no-erase): Deleted
9067 (elmo-pop3-send-command): Added optional argument `no-erase'.
9068 (elmo-pop3-parse-uidl-response): New function.
9069 (elmo-pop3-parse-list-response): Set size hash.
9070 (elmo-pop3-list-location): New function.
9071 (elmo-pop3-list-by-uidl-subr): Ditto.
9072 (elmo-pop3-list-by-list): Ditto.
9073 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
9074 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
9075 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
9076 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
9077 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
9079 (elmo-pop3-uidl-to-number): New function.
9080 (elmo-pop3-number-to-uidl): Ditto.
9081 (elmo-pop3-number-to-size): Ditto.
9082 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
9083 Set number by use of uidl.
9084 (elmo-pop3-msgdb-create-message): Likewise.
9085 Set size, loc-alist in msgdb.
9086 (elmo-pop3-read-msg): Set number by use of uidl.
9087 Added optional argument `msgdb'.
9088 (elmo-pop3-delete-msg): Ditto.
9089 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
9090 (elmo-pop3-commit): Close connection.
9092 * elmo-pipe.el (elmo-pipe-max-of-folder):
9093 Bind `elmo-pop3-use-uidl' as nil.
9094 (elmo-pipe-drain): Ditto.
9097 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
9098 (elmo-msgdb-overview-entity-set-size): New defsubst.
9100 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
9102 * elmo-vars.el (elmo-use-killed-list): New variable
9103 (Renamed from `elmo-nntp-use-killed-list').
9104 (elmo-nntp-use-killed-list): Eliminated.
9106 * elmo-msgdb.el (elmo-msgdb-expand-path):
9107 Changed expanding msgdb path for elmo-multi.
9109 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
9110 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
9111 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
9112 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
9113 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
9114 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
9115 (toplevel): Deleted time-stamp line.
9117 * elmo2.el (elmo-clear-killed ): Defined as function
9118 (Abolished defining as a backend function).
9119 All other related modules are changed.
9121 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
9123 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
9125 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
9127 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
9129 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
9131 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9133 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
9135 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9136 asynchronous folder check.
9138 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9140 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9141 `elmo-nntp-use-killed-list'.
9142 (elmo-nntp-list-folder): Use killed list.
9143 (elmo-nntp-max-of-folder): Ditto.
9144 (elmo-nntp-msgdb-create): Set killed list.
9146 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9148 * elmo2.el (elmo-clear-killed): New backend function.
9149 All other related modules are changed.
9151 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
9153 * elmo-util.el (elmo-imap4-spec-folder): Use
9154 `elmo-imap4-spec-mailbox'; Mark as obsolete.
9155 All callers changed.
9157 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
9159 * mmelmo-2.el (initialize-instance):
9160 Use `mime-buffer-entity-buffer-internal' instead of
9161 `mime-entity-buffer'.
9163 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9164 (mime-entity-body): Implemented.
9165 (mime-goto-header-start-point): Deleted.
9166 (mime-goto-body-end-point): Ditto.
9167 (mime-entity-point-min): Ditto.
9168 (mime-entity-point-max): Ditto.
9169 (mime-entity-children): Ditto.
9170 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9171 instead of `mime-entity-buffer'.
9172 (mime-entity-header-buffer): Ditto.
9173 (mime-entity-body-buffer): Ditto.
9174 (mime-write-entity-content): Ditto.
9176 * pldap.el (ldap-static-if): New macro.
9177 (toplevel): Use it instead of `static-if'.
9179 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
9181 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9182 included in `attrs' argument.
9184 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
9186 * elmo-util.el (elmo-get-passwd): Use old backquote style.
9188 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9189 (ldap-ldif-safe-init-char-regexp): Ditto.
9190 (ldap-ldif-safe-string-regexp): Ditto.
9191 (ldap/ldif-safe-string-p): New macro.
9192 (ldap/ldif-insert-field): Ditto.
9193 (ldap-modify): Use it.
9195 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9196 (ldap-decode-attribute): Decode only when `attr' is consp.
9197 (ldap-delete): Bind `ret'.
9198 (toplevel): Require 'cl at compile time.
9199 Removed (require 'poe) and (require 'std11).
9200 (pldap-version): Eliminated.
9201 (ldap-search-basic): Removed auth and dn binding.
9202 (ldap-ldif-field-name-regexp): New constant.
9203 (ldap-ldif-field-head-regexp): Ditto.
9204 (ldap-ldif-next-field-head-regexp): Ditto.
9205 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9206 (ldap/field-end): New function.
9207 (ldap/field-body): Use it.
9208 (ldap/collect-field): Ditto.
9209 (ldap-search-basic): Use `ldap/field-body'.
9211 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
9213 * pldap.el (ldap-default-attribute-encoder): New user option.
9214 (ldap/field-body): Decode base64 string.
9215 (ldap/collect-field): Ditto.
9216 (ldap-encode-attribute): New function.
9217 (ldap-add-entries): Use it.
9218 (ldap-modify-entries): Ditto.
9219 (ldap-search-entries): Enclosed decoding function with
9220 `with-temp-buffer' and set as unibyte.
9221 (ldap-search-basic): Set process buffer as unibyte.
9223 * elmo-util.el (elmo-folder-identical-system-p):
9224 Eliminated name space checking.
9226 * pldap.el: New module.
9227 toplevel: Changed condition to detect built-in ldap feature.
9228 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9229 (ldap-add): Added error handling.
9230 (ldap-modify): Ditto.
9231 (ldap-delete): Ditto.
9233 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
9235 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9236 Initialize local variables with `let'. Inline a temporary
9237 variable for the progress percentage. Sort `setq' to reduce
9238 function call in the while-loop.
9240 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9241 into the conditional branch.
9243 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
9245 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9246 Move a conditional out of the while-loop.
9248 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9250 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9251 elmo-msgdb-overview-get-entity-by-number.
9252 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9255 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
9257 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9258 the local variable for a packed number self descriptively.
9260 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9262 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9263 * elmo-localdir.el (elmo-localdir-pack-number): Use
9264 `elmo-msgdb-overview-get-entity' instead of
9265 `elmo-msgdb-overview-get-entity-by-number'.
9266 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9267 (elmo-msgdb-search-overview-entity): Removed.
9268 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9269 by message-id or number.
9270 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9271 instead of `elmo-msgdb-overview-get-entity-by-number'.
9273 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9275 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9276 non-nil, use hash table for overview.
9277 (elmo-hash-maximum-size): New variable.
9278 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9279 (elmo-msgdb-make-overview-hashtb): New function.
9280 (elmo-msgdb-clear-overview-hashtb): New function.
9281 (elmo-clear-hash-val): New macro.
9282 All other related modules are changed.
9284 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
9286 * elmo2.el (elmo-move-msgs): If there's other message with
9287 same message-id, don't use cache.
9289 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
9291 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9292 number is already packed.
9294 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
9296 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9298 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9300 * elmo-vars.el (elmo-display-progress-threshold): New variable.
9301 All other related modules are changed.
9303 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
9305 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9306 of refiling failure on Maildir.
9308 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9310 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9311 decoded mime-charset with cache.
9312 (elmo-msgdb-overview-entity-get-from): Ditto.
9313 (elmo-msgdb-overview-entity-get-subject): Ditto.
9314 * elmo-vars.el (elmo-use-decoded-cache): New variable.
9316 2000-05-10 Kenichi OKADA <okada@opaopa.org>
9318 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9319 (elmo-remove-passwd): Fill password with 0 before erase.
9320 * elmo-vars.el (elmo-passwd-life-time): New variable.
9323 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
9325 * elmo-cache.el (elmo-buffer-cache-add):
9326 Set message cache buffer as unibyte.
9328 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
9330 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9333 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
9335 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9336 when display is finished.
9337 (elmo-nntp-msgdb-create): Ditto.
9338 (elmo-nntp-groups-read-response): Ditto.
9339 (elmo-nntp-retrieve-headers): Ditto.
9340 (elmo-nntp-msgdb-create-message): Ditto.
9341 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9342 (elmo-pop3-msgdb-create-message): Ditto.
9344 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9346 * elmo-maildir.el (elmo-maildir-msgdb-create):
9347 Use `elmo-msgdb-sort-by-date'.
9349 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
9351 * elmo2.el (elmo-read-msg-no-cache):
9352 Eliminated arguments after `outbuf'.
9353 Don't use cache even if it exists.
9354 (elmo-read-msg): Don't pass arguments after `outbuf' to
9355 `elmo-read-msg-no-cache'.
9357 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
9359 * elmo-archive.el (elmo-archive-list-folders):
9360 Use `file-name-directory' if base folder does not exist.
9362 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
9364 * elmo-archive.el (elmo-archive-list-folders): Don't use
9365 `file-name-directory'.
9367 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
9369 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9370 If `force' is non-nil, try flushing all operation queues.
9372 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
9374 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9377 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9379 * elmo-util.el (elmo-display-progress): Fixed.
9381 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9383 * elmo-util.el (elmo-display-progress): New function.
9384 All other related modules are changed.