1 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elmo-version.el (elmo-version): Up to 2.11.22.
5 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
7 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
9 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
11 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
12 if the message dose not exist.
14 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
16 * elmo-version.el (elmo-version): Up to 2.11.21.
18 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
20 * modb-standard.el (toplevel): Don't require mime.
22 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
24 * elsp-bogofilter.el (toplevel): Don't require path-util.
25 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
26 (elmo-spam-bogofilter-header): Abolish.
27 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
28 (elmo-spam-bogofilter-args): New user option.
29 (elsp-bogofilter-call-bogofilter): New internal function.
30 (elmo-spam-buffer-spam-p): Use it.
31 (elsp-bogofilter-register-buffer): Renamed from
32 `elmo-spam-bogofilter-register-buffer';
33 Use `elsp-bogofilter-call-bogofilter'.
34 (elmo-spam-register-spam-buffer): Follow the change above.
35 (elmo-spam-register-good-buffer): Ditto.
37 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
39 * modb-standard.el (elmo-msgdb-append-entity): If entity or
40 message-id is nil do nothing.
42 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
44 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
46 (elmo-imap4-session): Removed use-flag slot.
47 (elmo-imap4-session-select-mailbox): Undo last change.
48 (elmo-folder-use-flag-p): Use
49 elmo-imap4-disuse-server-flag-mailbox-regexp.
51 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
53 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
54 (elmo-imap4-session-select-mailbox): Set it up.
55 (elmo-folder-use-flag-p): Return value of use-flag slot.
57 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
59 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
61 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
63 * modb-entity.el (elmo-message-entity-handler): Likewise.
65 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
67 * elmo.el (toplevel): Remove setting of autoloding for
68 elmo-global-flag-initialize.
69 (elmo-init): Don't call elmo-global-flag-initialize.
70 (toplevel): Added autoload setting for elmo-global-mark-migrate.
72 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
73 (elmo-global-mark-migrate): Don't call it.
74 (elmo-global-mark-upgrade): Ditto.
76 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
78 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
79 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
81 * elmo-vars.el (elmo-init-hook): New user option.
83 * elmo.el (elmo-init): Run the elmo-init-hook.
85 * elmo-flag.el (elmo-global-mark-migrate): New function.
87 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
89 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
90 Undo last change (move to elmo-msgdb-unset-flag).
91 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
94 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
96 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
98 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
99 (elmo-msgdb-unset-flag): Ditto.
101 2003-11-05 Andreas Fuchs <asf@boinkor.net>
103 * elmo-split.el (elmo-split): Return split message count.
105 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
107 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
110 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
112 * elmo.el (elmo-folder-unflag-important): Call
113 `elmo-global-flag-detach' with 4th argument delete-if-none that is
116 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
118 (elmo-global-flag-detach): Delete the message from flag folder, if
119 `delete-if-none' is a symbol `always'.
121 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
123 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
124 `elmo-spam-spamfilter-decode-buffer'.
125 (elsp-spamfilter-register-buffer-internal): New internal function.
126 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
127 (elmo-spam-register-spam-buffer): Ditto.
128 (elmo-spam-register-good-buffer): Ditto.
130 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
132 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
133 (elmo-spam-register-spam-buffer): Follow the API change.
134 (elmo-spam-register-good-buffer): Ditto.
136 * elmo-split.el (toplevel): Require elmo-spam when copmile.
137 (elmo-split-spam-p): Added argument plist; Call
138 `elmo-spam-buffer-spam-p' with new argument register.
140 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
142 (elmo-spam-message-spam-p): Ditto.
143 (elmo-spam-register-spam-buffer): Added optional argument
145 (elmo-spam-register-good-buffer): Ditto.
146 (elmo-spam-register-spam-messages): Ditto.
147 (elmo-spam-register-good-messages): Ditto.
149 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
151 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
152 register into good corpus.
153 (elmo-spam-register-good-buffer): Fixed to register into bad
156 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
158 * elmo-version.el (elmo-version): Up to 2.11.20.
160 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
163 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
164 flag without depending on \Recent flag.
166 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
168 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
169 (elmo-spam-modified-p): Defined.
170 (elmo-spam-save-status): Set `modified' slot to nil.
171 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
172 (elmo-spam-register-good-buffer): Ditto.
174 * elmo-spam.el (elmo-spam-modified-p): New API.
176 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
178 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
179 duplicate definition.
181 * elmo-util.el (elmo-unfold-field-body): New function.
182 (elmo-msgdb-get-message-id-from-buffer): Use it.
184 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
185 Fixed the last change; Use elmo-unfold-field-body.
187 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
189 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
192 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
194 * elmo-spam.el (elmo-spam-save-status): New API.
196 * elsp-spamfilter.el: New file.
198 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
200 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
202 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
204 * elmo-split.el (elmo-split-spam-p): New function.
206 * elmo-spam.el: New file.
208 * elsp-bogofilter.el: Ditto.
210 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
212 * elmo.el (elmo-folder-next-message-number): New API.
213 (elmo-folder-next-message-number): Define.
214 (elmo-message-field): Don't check folder length.
216 * elmo-net.el (elmo-folder-next-message-number): Define.
217 (elmo-folder-next-message-number-unplugged): Define.
219 * elmo-map.el (elmo-folder-next-message-number): Define.
220 (elmo-folder-delete-messages): Clear hash value.
222 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
224 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
225 (elmo-folder-delete-messages-dop-delayed): Always return t.
227 * elmo-version.el (elmo-version): Up to 2.11.19.
229 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
231 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
234 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
235 identical cons cell into the mark-alist and the hash table.
237 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
239 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
240 elmo-folder-list-messages with argument `visible-only' as t.
242 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
243 (elmo-folder-msgdb-create): Check the target folder.
245 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
247 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
248 `permanentflag' instead of `flags'.
249 (elmo-folder-open): Ditto.
250 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
251 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
252 (elmo-folder-use-flag-p): Always return t.
253 (elmo-imap4-session-select-mailbox): Use value of `flags' if
254 `permanentflags' does not exist.
255 (elmo-folder-open): Ditto.
257 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
259 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
261 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
263 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
264 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
266 (elmo-folder-open): Ditto.
267 (elmo-imap4-set-flag): Send store flag command only when the `flags'
268 slot of the session includes the flag.
269 (elmo-imap4-session-flag-available-p): New function.
270 (elmo-imap4-folder-list-flagged): Ditto.
271 (elmo-folder-list-unreads-plugged): Use it.
272 (elmo-folder-list-importants-plugged): Ditto.
273 (elmo-folder-list-answereds-plugged): Ditto.
274 (elmo-imap4-search-internal-primitive): Ditto.
275 (elmo-imap4-folder-list-any-plugged,
276 elmo-imap4-folder-list-digest-plugged): Abolish.
278 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
281 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
283 * elmo-util.el (toplevel): Require emu for char-list-to-string.
285 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
287 * elmo-util.el (elmo-get-hash-val): Simplify.
288 (elmo-set-hash-val): Rewrite.
290 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
292 * elmo.el (elmo-folder-list-messages): Append killed messages into
293 result if `visible-only' is nil and `in-msgdb' is non-nil.
295 * elmo-util.el (elmo-uniq-list): Added optional argument
298 * modb.el (elmo-msgdb-flag-count): New API.
300 * modb-standard.el (modb-standard): Added slot flag-count.
301 (modb-standard-countup-flags): New function.
302 (modb-standard-load-flag): Call it.
303 (elmo-msgdb-append): Ditto.
304 (elmo-msgdb-clear): Clear slot flag-count.
305 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
306 (elmo-msgdb-unset-flag): Treat `all' flag and call
307 modb-standard-countup-flags.
308 (elmo-msgdb-flag-count): Define.
309 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
310 (elmo-msgdb-delete-messages): Ditto.
312 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
313 (elmo-msgdb-flag-count): Define.
315 * elmo.el (elmo-folder-list-messages): Undo last change.
316 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
317 (elmo-folder-kill-messages): Unset all flags to numbers.
319 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
320 elmo-folder-kill-messages.
322 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
323 (elmo-nntp-folder-delete-messages): Abolish.
325 * elmo-version.el (elmo-version): Up to 2.11.18.
327 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
329 * elmo.el (elmo-folder-kill-messages-before): Abolish.
330 (elmo-folder-kill-messages-range): New function.
331 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
332 instead of elmo-folder-kill-messages-before.
334 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
336 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
337 elmo-imap4-current-msgdb to decide entity handler.
339 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
341 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
343 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
345 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
346 (elmo-msgdb-overview-entity-set-number,
347 elmo-msgdb-overview-entity-get-references,
348 elmo-msgdb-overview-entity-set-references,
349 elmo-msgdb-overview-entity-get-from-no-decode,
350 elmo-msgdb-overview-entity-get-from,
351 elmo-msgdb-overview-entity-set-from,
352 elmo-msgdb-overview-entity-get-subject,
353 elmo-msgdb-overview-entity-get-subject-no-decode,
354 elmo-msgdb-overview-entity-set-subject,
355 elmo-msgdb-overview-entity-get-date,
356 elmo-msgdb-overview-entity-set-date,
357 elmo-msgdb-overview-entity-get-to,
358 elmo-msgdb-overview-entity-get-cc,
359 elmo-msgdb-overview-entity-get-size,
360 elmo-msgdb-overview-entity-set-size,
361 elmo-msgdb-overview-entity-get-extra,
362 elmo-msgdb-overview-entity-set-extra,
363 elmo-msgdb-overview-entity-get-extra-field,
364 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
365 (elmo-msgdb-make-index): Use
366 `elmo-msgdb-overview-entity-get-number-internal'.
367 (elmo-msgdb-clear-index): Ditto.
368 (elmo-msgdb-append-entity): Ditto;
369 Use `elmo-msgdb-overview-entity-get-id-internal'.
371 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
372 elmo-msgdb-overview-entity-set-number,
373 elmo-msgdb-overview-entity-get-references,
374 elmo-msgdb-overview-entity-set-references,
375 elmo-msgdb-overview-entity-get-from-no-decode,
376 elmo-msgdb-overview-entity-get-from,
377 elmo-msgdb-overview-entity-set-from,
378 elmo-msgdb-overview-entity-get-subject,
379 elmo-msgdb-overview-entity-get-subject-no-decode,
380 elmo-msgdb-overview-entity-set-subject,
381 elmo-msgdb-overview-entity-get-date,
382 elmo-msgdb-overview-entity-set-date,
383 elmo-msgdb-overview-entity-get-to,
384 elmo-msgdb-overview-entity-get-cc,
385 elmo-msgdb-overview-entity-get-size,
386 elmo-msgdb-overview-entity-set-size,
387 elmo-msgdb-overview-entity-get-extra,
388 elmo-msgdb-overview-entity-set-extra,
389 elmo-msgdb-overview-entity-get-extra-field,
390 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
391 and rewrote for backward compatibility.
393 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
395 * elmo.el (elmo-message-entity-number,
396 elmo-message-entity-set-number,
397 elmo-message-entity-field,
398 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
400 * elmo-msgdb.el (elmo-message-entity-number,
401 elmo-message-entity-set-number,
402 elmo-message-entity-field,
403 elmo-message-entity-set-field): Moved from elmo.el.
405 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
407 * elmo.el (toplevel): Changed definition orders.
409 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
411 * modb.el (elmo-msgdb-search): New API .
412 (elmo-msgdb-match-condition): Ditto.
414 * modb-standard.el (elmo-msgdb-search): Define.
416 * modb-legacy.el (elmo-msgdb-search): Ditto.
418 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
419 from elmo-msgdb-match-condition-internal.
421 * elmo.el (elmo-folder-search-fast): Abolish.
422 (elmo-folder-search): Use elmo-msgdb-search and
423 elmo-with-progress-display.
425 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
428 * elmo.el (elmo-folder): Remove slot message-modified and
430 (elmo-folder-set-message-modified): Abolish.
431 (elmo-generic-folder-commit): Follow the change above.
432 (elmo-folder-synchronize): Ditto.
434 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
436 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
438 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
440 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
442 * modb-standard.el (modb-standard-make-message-entity,
443 elmo-msgdb-make-message-entity,
444 elmo-msgdb-create-message-entity-from-buffer,
445 elmo-msgdb-message-entity-number,
446 elmo-msgdb-message-entity-set-number,
447 elmo-msgdb-message-entity-field,
448 elmo-msgdb-message-entity-set-field,
449 elmo-msgdb-copy-message-entity,
450 elmo-msgdb-match-condition-internal): Remove.
452 * modb-entity.el: New file (again).
454 * modb.el (toplevel): Require modb-entity.
455 (elmo-msgdb-message-entity-handler): New method.
457 * modb-standard.el (modb-standard-entity-id): Use
458 elmo-message-entity-handler.
459 (modb-standard-load-entity): Ditto.
460 (elmo-msgdb-append-entity): Ditto.
461 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
463 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
464 elmo-msgdb-decoded-cache-hashtb,
465 (modb-legacy-make-message-entity,
466 elmo-msgdb-make-message-entity,
467 elmo-msgdb-create-message-entity-from-buffer,
468 elmo-msgdb-message-entity-number,
469 elmo-msgdb-message-entity-set-number,
470 elmo-msgdb-message-entity-field,
471 elmo-msgdb-message-entity-set-field,
472 elmo-msgdb-copy-message-entity,
473 elmo-msgdb-match-condition-internal,
474 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
476 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
477 (elmo-message-entity-set-number): Ditto.
478 (elmo-message-entity-field): Ditto.
479 (elmo-message-entity-set-field): Ditto.
481 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
483 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
485 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
487 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
488 (elmo-nntp-msgdb-create-message): Ditto.
490 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
491 (elmo-folder-msgdb-create): Add unread flag.
493 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
495 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
497 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
499 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
501 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
502 elmo-msgdb-messge-entity-handler.
503 * elmo-version.el (elmo-version): Up to 2.11.17.
505 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
507 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
510 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
512 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
514 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
515 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
516 (elmo-msgdb-flag-table): Ditto.
517 (elmo-msgdb-sort-by-date): Ditto.
519 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
521 * modb-standard.el (toplevel): Require mime.
522 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
523 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
524 elmo-msgdb-message-entity-number.
525 (elmo-msgdb-append-entity): Ditto.
526 (elmo-msgdb-create-message-entity-from-file): Remove.
527 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
528 corresponds to the entity.
529 (elmo-msgdb-message-entity-number): Do nothing currently.
530 (elmo-msgdb-message-entity-field): Ditto.
531 (elmo-msgdb-message-entity-set-field): Ditto.
532 (elmo-msgdb-copy-message-entity): Ditto.
533 (elmo-msgdb-match-condition-internal): Ditto.
535 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
537 (elmo-msgdb-create-message-entity-from-file): Remove.
539 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
541 (elmo-multiple-field-body): Moved from elmo-util.el.
543 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
545 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
547 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
548 (elmo-msgdb-message-entity-field): Ditto.
549 (elmo-msgdb-message-entity-number): Ditto.
551 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
553 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
554 Fixed how to set extra field into entity.
555 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
558 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
559 Fixed how to set extra field into entity.
560 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
563 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
565 * modb.el (elmo-message-entity-db): New function.
566 (elmo-msgdb-make-message-entity): New API.
567 (elmo-msgdb-message-entity-number): Ditto.
568 (elmo-msgdb-message-entity-set-number): Ditto.
569 (elmo-msgdb-message-entity-field): Ditto.
570 (elmo-msgdb-message-entity-set-field): Ditto.
571 (elmo-msgdb-copy-message-entity): Ditto.
572 (elmo-msgdb-create-message-entity-from-file): Ditto.
573 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
574 (elmo-msgdb-match-condition-internal): Ditto.
576 * modb-standard.el (modb-legacy): Require modb-legacy.
577 (modb-standard-make-message-entity): New inline function.
578 (elmo-msgdb-make-message-entity): Define.
579 (elmo-msgdb-create-message-entity-from-file): Ditto.
580 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
581 (elmo-msgdb-message-entity-field): Ditto.
582 (elmo-msgdb-message-entity-set-field): Ditto.
583 (elmo-msgdb-copy-message-entity): Ditto.
584 (elmo-msgdb-match-condition-internal): Ditto.
586 * modb-legacy.el: Don't require modb-entity.
587 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
588 (elmo-msgdb-match-condition-primitive): Ditto.
589 (elmo-msgdb-get-decoded-cache): Ditto.
590 (elmo-msgdb-overview-entity-get-id): Ditto.
591 (elmo-msgdb-overview-entity-get-number): Ditto.
592 (elmo-msgdb-overview-entity-set-number): Ditto.
593 (elmo-msgdb-overview-entity-get-references): Ditto.
594 (elmo-msgdb-overview-entity-set-references): Ditto.
595 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
596 (elmo-msgdb-overview-entity-get-from): Ditto.
597 (elmo-msgdb-overview-entity-set-from): Ditto.
598 (elmo-msgdb-overview-entity-get-subject): Ditto.
599 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
600 (elmo-msgdb-overview-entity-set-subject): Ditto.
601 (elmo-msgdb-overview-entity-get-date): Ditto.
602 (elmo-msgdb-overview-entity-set-date): Ditto.
603 (elmo-msgdb-overview-entity-get-to): Ditto.
604 (elmo-msgdb-overview-entity-get-cc): Ditto.
605 (elmo-msgdb-overview-entity-get-size): Ditto.
606 (elmo-msgdb-overview-entity-set-size): Ditto.
607 (elmo-msgdb-overview-entity-get-extra): Ditto.
608 (elmo-msgdb-overview-entity-set-extra): Ditto.
609 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
610 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
611 (elmo-msgdb-number-load): Ditto.
612 (elmo-msgdb-overview-load): Ditto.
613 (elmo-msgdb-mark-load): Ditto.
614 (elmo-msgdb-number-save): Ditto.
615 (elmo-msgdb-mark-save): Ditto.
616 (elmo-msgdb-overview-save): Ditto.
617 (modb-legacy-make-message-entity): New inline function.
618 (elmo-msgdb-insert-file-header): Ditto.
619 (elmo-msgdb-make-message-entity): Define.
620 (elmo-msgdb-create-message-entity-from-file): Ditto.
621 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
622 (elmo-msgdb-message-entity-number): Ditto.
623 (elmo-msgdb-message-entity-set-number): Ditto.
624 (elmo-msgdb-message-entity-field): Ditto.
625 (elmo-msgdb-message-entity-set-field): Ditto.
626 (elmo-msgdb-copy-message-entity): Ditto.
627 (elmo-msgdb-match-condition-internal): Ditto.
629 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
630 (elmo-message-copy-entity): Rewrite.
631 (elmo-message-entity-number): Ditto.
632 (elmo-message-entity-set-number): Ditto.
633 (elmo-message-entity-field): Use elmo-message-entity-db.
634 (elmo-message-entity-set-field): Ditto.
635 (elmo-message-field): Rewrite.
637 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
639 (elmo-msgdb-get-message-id-from-buffer): Ditto.
641 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
642 elmo-message-entity-field.
643 (elmo-shimbun-folder-shimbun-header): Ditto.
644 (elmo-shimbun-entity-to-header): Ditto.
645 (elmo-folder-msgdb-create): Ditto.
646 (elmo-shimbun-msgdb-create-entity): Ditto;
647 Use elmo-msgdb-create-message-entity-from-buffer.
648 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
649 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
651 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
652 elmo-msgdb-create-message-entity-from-file and
653 elmo-message-entity-field.
655 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
656 elmo-message-entity-number.
657 (elmo-pop3-msgdb-create-message): Use
658 elmo-msgdb-create-message-entity-from-buffer,
659 elmo-message-entity-set-field, elmo-message-entity-number and
660 elmo-message-entity-set-number.
662 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
663 the API change in elmo-msgdb-make-message-entity.
664 (elmo-nntp-msgdb-create-message): Use
665 elmo-msgdb-create-message-entity-from-buffer.
667 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
668 elmo-message-entity-field and
669 elmo-msgdb-create-message-entity-from-file.
671 * elmo-msgdb.el (toplevel): Don't require modb-entity.
672 (elmo-msgdb-get-field): Abolish.
673 (elmo-msgdb-get-number): Rewrite.
674 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
675 (elmo-msgdb-flag-table): Ditto.
676 (elmo-msgdb-get-last-message-id,
677 elmo-msgdb-number-load, elmo-msgdb-overview-load,
678 elmo-msgdb-mark-load, elmo-msgdb-number-save,
679 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
680 (elmo-msgdb-create-overview-from-buffer,
681 elmo-msgdb-overview-get-parent-entity): Abolish.
683 * elmo-mime.el (elmo-mime-display-as-is): Use
684 elmo-message-entity-field.
686 * elmo-map.el (elmo-folder-pack-numbers): Use
687 elmo-message-entity-set-number.
689 * elmo-maildir.el (elmo-folder-msgdb-create):
690 elmo-msgdb-create-message-entity-from-file instead of
691 elmo-msgdb-create-overview-entity-from-file.
693 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
695 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
696 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
698 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
699 elmo-messge-entity-field and elmo-message-entity-number.
700 (elmo-imap4-fetch-callback-1): Call
701 elmo-msgdb-create-message-entity-from-buffer instead of
702 elmo-msgdb-create-overview-from-buffer.
703 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
704 (elmo-find-fetch-strategy): Likewise.
706 * elmo-flag.el (elmo-folder-msgdb-create): Call
707 elmo-localdir-msgdb-create-entity with argument msgdb.
709 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
710 and elmo-message-entity-set-number.
712 * elmo-cache.el (elmo-folder-msgdb-create): Use
713 elmo-message-entity-field.
714 (elmo-folder-msgdb-create): Call
715 elmo-msgdb-create-message-entity-from-file instead of
716 elmo-msgdb-create-overview-entity-from-file.
718 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
719 argument msgdb; Call elmo-msgdb-create-message-from-buffer
720 instead of elmo-msgdb-create-overview-from-buffer.
721 (elmo-archive-msgdb-create-entity): Ditto.
722 (elmo-archive-msgdb-create-as-numlist-subr1): Use
723 elmo-message-entity-field.
724 (elmo-archive-parse-mmdf): Ditto.
726 * modb-entity.el: Removed.
728 * elmo-version.el (elmo-version): Up to 2.11.16.
730 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
732 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
734 (elmo-folder-flag-as-answered): Ditto.
736 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
738 * modb-standard.el: New file.
740 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
741 elmo-msgdb-convert-type is `sync'.
743 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
744 (elmo-msgdb-convert-type): New user option.
746 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
747 (elmo-load-msgdb): Auto detect saved type.
749 * elmo-version.el (elmo-version): Up to 2.11.15.
751 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
753 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
755 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
756 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
757 with argument `delete-if-none' when dst-folder is 'null.
759 * elmo-flag.el (elmo-folder-append-messages): Defined.
760 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
762 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
764 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
766 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
768 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
769 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
770 (elmo-folder-commit): Ditto.
772 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
774 * elmo-flag.el: New file.
776 * elmo-mark.el: Removed.
778 * modb-legacy.el (modb-legacy-new-mark,
779 modb-legacy-unread-uncached-mark,
780 modb-legacy-unread-cached-mark,
781 modb-legacy-read-uncached-mark,
782 modb-legacy-answered-cached-mark,
783 modb-legacy-answered-uncached-mark,
784 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
785 All other related portions are changed.
787 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
788 (elmo-folder-list-messages-with-global-mark): Abolish.
789 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
790 (elmo-folder-flag-as-important): Ditto.
791 (elmo-folder-unflag-read): Ditto.
792 (elmo-folder-flag-as-read): Ditto.
793 (elmo-folder-unflag-answered): Ditto.
794 (elmo-folder-flag-as-answered): Ditto.
795 (elmo-message-encache): Return the cache path.
796 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
797 (elmo-message-set-flag): Transitional implementation.
798 (elmo-message-unset-flag): Ditto.
799 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
800 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
801 (elmo-init): Call elmo-global-flag-initialize.
802 (toplevel): Added autoload settings for elmo-flag.
804 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
806 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
807 (elmo-file-cache-delete): Don't treat global-mark.
809 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
811 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
813 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
814 `elmo-global-flags-set'.
816 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
818 (elmo-folder-unflag-read): Ditto.
819 (elmo-folder-unflag-important): Ditto.
820 (elmo-folder-flag-as-important): Ditto.
821 (elmo-folder-unflag-answered): Ditto.
822 (elmo-folder-flag-as-answered): Ditto.
824 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
825 `elmo-global-flags-set'.
826 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
828 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
830 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
832 (elmo-folder-flag-as-important): Ditto.
833 (elmo-folder-unflag-important): Ditto.
834 (elmo-folder-flag-as-important): Ditto.
835 (elmo-folder-unflag-read): Ditto.
836 (elmo-folder-flag-as-read): Ditto.
837 (elmo-folder-unflag-answered): Ditto.
838 (elmo-folder-flag-as-answered): Ditto.
840 * elmo-multi.el (elmo-folder-list-importants): Don't call
841 elmo-folder-list-messages-with-global-mark.
842 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
843 (elmo-folder-unflag-important): Ditto.
844 (elmo-folder-flag-as-read): Ditto.
845 (elmo-folder-unflag-read): Ditto.
846 (elmo-folder-flag-as-answered): Ditto.
847 (elmo-folder-unflag-answered): Ditto.
849 * elmo-msgdb.el (elmo-msgdb-new-mark,
850 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
851 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
852 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
853 (Moved to modb-legacy.el).
854 (elmo-flag-table-get): Treat important flag too.
856 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
858 (elmo-map-folder-flag-as-important): Ditto.
859 (elmo-map-folder-unflag-read): Ditto.
860 (elmo-map-folder-flag-as-read): Ditto.
861 (elmo-map-folder-unflag-answered): Ditto.
862 (elmo-map-folder-flag-as-answered): Ditto.
863 (elmo-folder-unflag-important): Ditto.
864 (elmo-folder-flag-as-important): Ditto.
865 (elmo-folder-unflag-read): Ditto.
866 (elmo-folder-flag-as-read): Ditto.
867 (elmo-folder-unflag-answered): Ditto.
868 (elmo-folder-flag-as-answered): Ditto.
870 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
871 (elmo-map-folder-flag-as-important): Renamed from `mark' to
873 (elmo-map-folder-unflag-important): Ditto.
874 (elmo-map-folder-flag-as-read): Ditto.
875 (elmo-map-folder-unflag-read): Ditto.
876 (elmo-map-folder-flag-as-answered): Ditto.
877 (elmo-map-folder-unflag-answered): Ditto.
879 * elmo-localdir.el (elmo-folder-msgdb-create): Call
880 `elmo-global-flags-set'.
881 (elmo-global-flags-set): Added autoload setting.
883 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
886 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
887 `elmo-msgdb-global-mark-set'.
888 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
889 Call `elmo-global-flags-set'.
890 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
892 (elmo-folder-flag-as-important-plugged): Ditto.
893 (elmo-folder-unflag-read-plugged): Ditto.
894 (elmo-folder-flag-as-read-plugged): Ditto.
895 (elmo-folder-unflag-answered-plugged): Ditto.
896 (elmo-folder-flag-as-answered-plugged): Ditto.
897 (elmo-global-flags-set): Added autoload setting.
899 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
901 (elmo-folder-unflag-read): Ditto.
902 (elmo-folder-flag-as-important): Ditto.
903 (elmo-folder-unflag-important): Ditto.
904 (elmo-folder-flag-as-answered): Ditto.
905 (elmo-folder-unflag-answered): Ditto.
907 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
908 change of `mark'->`flag'.
909 (elmo-dop-queue-method-name-alist): Ditto.
910 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
911 (elmo-folder-unflag-read-dop): Ditto.
912 (elmo-folder-flag-as-important-dop): Ditto.
913 (elmo-folder-unflag-important-dop): Ditto.
914 (elmo-folder-flag-as-answered-dop): Ditto.
915 (elmo-folder-unflag-answered-dop): Ditto.
917 * elmo-cache.el (elmo-folder-msgdb-create): Call
918 `elmo-global-flags-set'.
920 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
921 Call `elmo-global-flags-set'.
922 (elmo-archive-msgdb-create-as-numlist-subr2): Call
923 elmo-archive-parse-mmdf with argument `folder'.
924 (elmo-archive-parse-mmdf): Added argument `folder';
925 Call `elmo-global-flags-set'.
927 * elmo-version.el (elmo-version): Up to 2.11.14.
929 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
931 * modb.el (elmo-msgdb-length): Define.
933 * elmo.el (elmo-make-folder): Fixed.
934 (elmo-generic-folder-append-messages): Follow the API change.
936 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
939 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
943 * modb-entity.el: Ditto.
945 * modb-legacy.el: Ditto.
947 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
948 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
949 of `elmo-msgdb-overview-get-entity'.
950 (elmo-msgdb-get-field): Ditto.
951 (elmo-msgdb-merge): Moved to `elmo.el'.
952 (elmo-msgdb-length): Removed; redefine as modb method.
953 (elmo-msgdb-change-mark): Abolish.
954 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
955 (elmo-msgdb-match-condition): Don't use mark.
956 (elmo-msgdb-overview-get-entity): Abolish.
957 Split modb part into `modb*.el'.
959 * elmo-vars.el (elmo-msgdb-default-type): New user option.
961 * elmo-shimbun.el (shimbun-mua-search-id): Use
962 `elmo-msgdb-message-entity' instead of
963 `elmo-msgdb-overview-get-entity'.
964 (elmo-shimbun-folder-shimbun-header): Ditto.
965 (elmo-shimbun-get-headers): Ditto.
966 (elmo-shimbun-update-overview): Ditto.
968 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
970 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
972 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
973 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
975 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
976 `elmo-msgdb-mark-to-flags'.
978 * elmo-map.el (elmo-folder-pack-numbers): Don't use
979 `elmo-msgdb-set-path'.
981 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
983 * elmo-version.el (elmo-version): Up to 2.11.13.
985 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
987 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
990 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
992 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
995 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
997 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
998 instead of `elmo-msgdb-get-cached'.
999 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
1001 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
1002 (elmo-msgdb-set-cached): Ditto.
1003 (elmo-msgdb-set-flag): Rewrite.
1004 (elmo-msgdb-unset-flag): Ditto.
1006 * elmo-msgdb.el: Rewrite with luna.
1008 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
1009 (elmo-folder-msgdb): Follow the change above.
1010 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
1011 (elmo-folder-unmark-important): Follow the API change.
1012 (elmo-folder-mark-as-important): Ditto.
1013 (elmo-folder-unmark-read): Ditto.
1014 (elmo-folder-mark-as-read): Ditto.
1015 (elmo-folder-unmark-answered): Ditto.
1016 (elmo-folder-mark-as-answered): Ditto.
1017 (elmo-folder-clear): Likewise.
1019 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
1020 instead of `elmo-msgdb-load' (renamed).
1022 * elmo-version.el (elmo-version): Up to 2.11.12.
1024 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1026 * elmo.el (elmo-generic-folder-append-messages): Follow the API
1028 (elmo-message-mark): Abolish.
1029 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
1030 instead of `elmo-msgdb-change-mark'.
1032 * elmo-pipe.el (elmo-message-mark): Abolish.
1034 * elmo-multi.el (elmo-message-mark): Ditto.
1036 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
1037 (elmo-msgdb-unread-uncached-mark): Ditto.
1038 (elmo-msgdb-unread-cached-mark): Ditto.
1039 (elmo-msgdb-read-uncached-mark): Ditto.
1040 (elmo-msgdb-answered-cached-mark): Ditto.
1041 (elmo-msgdb-answered-uncached-mark): Ditto.
1042 (elmo-msgdb-important-mark): Ditto.
1043 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
1045 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
1047 (elmo-flag-table-load): Changed flag to list of flag.
1048 (elmo-flag-table-set): If flags is nil, set read flag.
1049 (elmo-flag-table-get): Return derived flags from global mark,
1050 cache status and saved flags.
1051 (elmo-msgdb-flag-table): Follow the change above.
1052 (elmo-msgdb-out-of-date-messages): New function.
1054 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
1056 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
1058 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1060 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
1061 (elmo-nntp-msgdb-create-message): Ditto.
1063 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1065 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
1067 (elmo-folder-msgdb-create): Follow the API change.
1069 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
1070 (elmo-folder-append-messages): Ditto.
1072 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
1073 (elmo-folder-append-buffer): Ditto.
1075 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
1077 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
1079 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
1080 (elmo-archive-parse-mmdf): Ditto.
1082 * elmo-version.el (elmo-version): Up to 2.11.11.
1084 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1086 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
1089 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
1091 * elmo-pipe.el (elmo-message-flags): Defined.
1093 * elmo-multi.el (elmo-message-flags): Ditto.
1095 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1097 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
1098 `elmo-msgdb-delete-msgs'.
1100 * elmo.el (elmo-folder-count-flags): Don't use
1101 `elmo-msgdb-get-mark-alist'.
1102 (elmo-folder-detach-messages): Follow the API change.
1104 * elmo.el (elmo-folder-list-messages): Append killed messages into
1105 result if `visible-only' is nil.
1107 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
1109 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
1110 (elmo-folder-update-number): Likewise.
1112 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
1113 (elmo-pop3-sort-msgdb-by-original-number): Use
1114 `elmo-msgdb-sort-entities'.
1116 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
1117 (elmo-msgdb-sort-by-date): Use it.
1118 (elmo-msgdb-overview-sort-by-date): Abolish.
1120 * elmo-dop.el (elmo-folder-status-dop): Fixed.
1122 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
1123 (elmo-msgdb-flags): New function.
1124 (elmo-msgdb-merge): Use elmo-msgdb-append.
1126 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
1129 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1131 * elmo-dop.el (elmo-folder-status-dop): Use
1132 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
1134 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1136 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
1138 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
1140 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
1142 * elmo-util.el (elmo-with-progress-display): New macro.
1144 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
1146 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1148 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
1149 `elmo-folder-list-message-entities' instead of
1150 `elmo-msgdb-get-overview'.
1151 (elmo-map-folder-list-message-locations): Ditto.
1153 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
1154 methods instead of treat directly).
1155 (elmo-msgdb-clear): Ditto.
1156 (elmo-msgdb-delete-msgs): Ditto.
1157 (elmo-msgdb-sort-by-date): Ditto.
1159 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
1161 (elmo-nntp-folder-msgdb-create): Follow the API change.
1163 * elmo-version.el (elmo-version): Up to 2.11.10.
1165 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1167 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
1168 (elmo-msgdb-flags-to-mark): Ditto.
1169 (elmo-msgdb-append-entity): Ditto.
1171 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
1172 Use `elmo-msgdb-append-entity' instead of construct msgdb.
1173 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
1174 (elmo-archive-parse-mmdf): Ditto.
1176 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
1178 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
1180 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
1182 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
1184 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
1186 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
1188 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
1190 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1192 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
1193 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
1196 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
1197 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
1198 instead of directly construction.
1199 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
1200 instead of construct msgdb.
1202 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
1203 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
1204 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
1205 instead of construct msgdb.
1207 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1209 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
1210 when field is from or subject.
1212 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
1214 * elmo-multi.el (elmo-message-entity-parent): Define.
1215 (elmo-folder-search): Rewrite.
1217 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1219 * elmo-multi.el (elmo-message-cached-p): Define.
1221 * elmo.el (elmo-message-cached-p): New method.
1222 (elmo-message-accessible-p): Use it instead of msgdb API directly.
1223 (elmo-message-flags): New method.
1224 (elmo-message-flagged-p): New function.
1226 * elmo-version.el (elmo-version): Up to 2.11.9.
1228 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1230 * elmo-version.el (elmo-version): Up to 2.11.8.
1232 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
1234 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
1236 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
1238 * elmo.el (elmo-folder-detach-messages): Undo last change.
1240 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
1242 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
1244 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
1245 only when src folder type is pop3.
1247 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
1249 * elmo-msgdb.el (elmo-msgdb-make-index): Use
1250 elmo-msgdb-overview-entity-get-number instead of
1251 elmo-message-entity-number.
1253 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1255 * elmo-version.el (elmo-version): Up to 2.11.7.
1257 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
1259 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
1262 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
1263 (elmo-msgdb-merge): New function.
1264 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
1265 (elmo-msgdb-make-index): Rewrite.
1267 * elmo-version.el (elmo-version): Up to 2.11.6.
1269 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
1270 use it as a the path for loading message entities.
1272 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
1274 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
1276 * elmo-filter.el (elmo-folder-set-message-modified): Set
1277 message-modified slot of itself if it does not require target msgdb.
1279 * elmo-mime.el (elmo-mime-message-display): Display message entirely
1280 if folder length is zero.
1281 (elmo-mime-display-as-is): Ditto.
1283 * elmo-filter.el (elmo-folder-set-message-modified): Define.
1285 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
1287 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1289 * elmo.el (elmo-folder-set-message-modified): New method.
1290 (elmo-generic-folder-commit): Use it.
1291 (elmo-folder-synchronize): Ditto.
1293 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
1294 (elmo-folder-commit): Remove duplicate definition.
1296 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
1298 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
1300 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1302 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
1303 (elmo-strict-folder-diff): Ditto.
1304 (elmo-folder-set-info-max-by-numdb): Simplify.
1306 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
1307 elmo-msgdb-list-messages.
1309 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
1310 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
1312 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
1314 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
1315 visible-only is non-nil.
1316 (elmo-folder-confirm-appends): Changed message.
1317 (elmo-folder-synchronize): Added argument disable-killed.
1319 * elmo-multi.el (elmo-folder-synchronize): Added argument
1322 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
1324 * elmo-version.el (elmo-version): Up to 2.11.5.
1326 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
1329 * elmo-util.el (elmo-list-filter): Simplify.
1331 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
1332 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
1333 (elmo-generic-folder-diff): Abolish argument.
1334 (elmo-msgdb-load): Don't use number-alist.
1336 * elmo-filter.el (elmo-folder-diff): Abolish argument.
1338 * elmo-pipe.el (elmo-folder-diff): Ditto.
1340 * elmo-nmz.el (elmo-folder-diff): Ditto.
1342 * elmo-net.el (elmo-folder-diff): Ditto.
1344 * elmo-maildir.el (elmo-folder-diff): Ditto.
1346 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
1348 * elmo-multi.el (elmo-folder-diff): Ditto
1349 (elmo-multi-folder-diff): Rewrite.
1351 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1353 * elmo-pipe.el (elmo-folder-msgdb): Define.
1355 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
1357 * elmo.el (elmo-message-set-cached): Define as a method.
1359 * elmo-pipe.el (elmo-message-set-cached): Define.
1360 (elmo-find-fetch-strategy): Ditto.
1362 * elmo-multi.el (elmo-message-set-cached): Define.
1363 (elmo-find-fetch-strategy): Rewrite.
1365 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
1367 * elmo-pipe.el (elmo-message-folder): Fixed definition.
1369 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
1371 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
1372 instead of number-alist.
1374 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
1375 mark nor message-id when msgdb of source folder is not loaded.
1377 * elmo.el (elmo-generic-folder-append-messages): Ditto.
1379 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
1381 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
1383 * elmo.el (elmo-folder-length): Don't require msgdb.
1385 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
1387 * elmo.el (elmo-message-mark): Cause an error when empty folder.
1388 (elmo-message-field): Ditto.
1390 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
1391 (elmo-map-folder-list-message-locations): Setup `answered-locations'
1393 (elmo-map-folder-list-answereds): Define.
1394 (elmo-maildir-list-location): Treat 'R' info.
1395 (elmo-folder-msgdb-create): Treat flag-table.
1396 (elmo-folder-append-messages): Save flag-table.
1398 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
1400 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
1401 Use SELECT when elmo-imap4-use-select-to-update-status is t.
1403 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1405 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
1407 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
1408 'read when mark is null.
1410 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
1412 * elmo-version.el (elmo-version): Up to 2.11.4.
1414 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1416 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
1417 (elmo-folder-mark-as-answered): Ditto.
1419 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
1421 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
1422 (elmo-pop3-get-session): Make msgdb directory after session.
1423 (elmo-folder-exists-p): Check exactly at the first time even when the
1424 elmo-pop3-exists-exactly is nil.
1426 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
1427 (elmo-folder-list-messages): Define instead of
1428 elmo-folder-list-messages-internal.
1429 (elmo-folder-check): Check destination folder.
1430 (elmo-folder-synchronize): Drain the pipe.
1432 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
1433 when msgdb is not loaded.
1435 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
1437 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
1438 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
1441 * elmo.el (elmo-folder-kill-messages-before): New function.
1442 (elmo-folder-kill-messages): Ditto.
1443 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
1445 * elmo-imap4.el (elmo-folder-list-messages-plugged):
1446 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
1447 killed not by synchronize (e.g. scoring).
1449 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1451 * elmo.el (elmo-folder-search-fast): Return t if condition is not
1453 (elmo-folder-search): Follow the change above.
1455 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
1456 into the candidates of search field.
1458 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
1460 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
1461 (elmo-msgdb-unset-flag): Ditto.
1463 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
1465 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
1467 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
1468 (elmo-folder-commit): Define.
1469 (elmo-folder-synchronize): Ditto.
1470 (elmo-folder-list-flagged): Ditto.
1471 (elmo-folder-commit): Ditto.
1472 (elmo-folder-length): Ditto.
1473 (elmo-folder-count-flags): Ditto.
1474 (elmo-message-mark): Ditto.
1475 (elmo-message-field): Ditto.
1476 (elmo-message-entity): Ditto.
1477 (elmo-message-folder): Ditto.
1479 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
1481 * elmo.el (elmo-message-field): Define as a method.
1483 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
1484 (elmo-message-field): Define.
1486 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
1487 (elmo-folder-list-importants): Ditto.
1488 (elmo-folder-list-answereds): Ditto.
1490 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
1492 (elmo-folder-mark-as-read): Ditto.
1493 (elmo-folder-unmark-read): Ditto.
1494 (elmo-folder-mark-as-answered): Ditto.
1495 (elmo-folder-unmark-answered): Ditto.
1496 (elmo-folder-list-flagged): Define.
1497 (elmo-folder-commit): Ditto.
1498 (elmo-folder-length): Ditto.
1499 (elmo-folder-count-flags): Ditto.
1501 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
1503 * elmo.el (elmo-folder-detach-messages): New method.
1504 (elmo-folder-move-messages): Use it.
1505 (elmo-folder-synchronize): Ditto.
1507 * elmo-multi.el (elmo-folder-detach-messages): Define.
1509 * elmo.el (elmo-message-copy-entity): New function.
1510 (elmo-message-entity-set-number): Ditto.
1511 (elmo-message-mark): Define as method.
1513 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
1514 (elmo-folder-synchronize): Return 0 (Should be reconsider).
1515 (elmo-message-entity): Fixed last change.
1516 (elmo-message-mark): Define.
1517 (elmo-folder-msgdb-create): Abolish.
1518 (elmo-multi-folder-append-msgdb): Ditto.
1519 (elmo-multi-folder-diff): Fixed.
1520 (elmo-multi-split-number-alist): Removed.
1521 (elmo-multi-split-mark-alist): Removed.
1522 (elmo-folder-list-messages): Define.
1523 (elmo-folder-list-messages-internal): Removed.
1525 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
1526 local file messages.
1527 (elmo-folder-msgdb-create): Fixed read mark.
1529 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1531 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
1534 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
1536 * elmo.el (elmo-folder-list-message-entities): Define as inline
1538 (elmo-folder-messages): Abolish.
1540 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
1542 (elmo-folder-synchronize): Define.
1543 (elmo-message-entity): Define.
1545 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
1547 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
1548 elmo-imap4-session-select-mailbox.
1550 * elmo.el (elmo-folder-move-messages): Don't display any message.
1552 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
1554 (elmo-imap4-session-check): Don't wait CHECK response.
1555 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
1557 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
1559 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
1561 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
1563 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
1565 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
1568 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
1569 (elmo-folder-list-message-entities): Added argument in-msgdb and
1571 (elmo-folder-synchronize): Define as a method.
1573 * elmo-nntp.el (elmo-folder-initialize): Don't use
1574 elmo-nntp-default-user if zero-length username is specified
1577 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1579 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
1580 server name in case with username.
1581 (XXX: this is ad-hoc fix against username includes "@", it
1582 should be solved fundamentally)
1584 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
1586 * elmo-nntp.el (elmo-nntp-debug): New function.
1587 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
1588 (elmo-network-authenticate-session): Hide auth-info from the log.
1590 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
1591 user name if it is equal to elmo-nntp-default-user.
1593 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
1595 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
1596 instead of shimbun-server-internal;
1597 Use shimbun-current-group instead of shimbun-current-group-internal.
1598 (elmo-folder-plugged-p): Use shimbun-server instead of
1599 shimbun-server-internal.
1600 (elmo-folder-set-plugged): Ditto.
1601 (elmo-net-port-info): Ditto.
1602 (elmo-folder-check): Ditto.
1603 (elmo-folder-expand-msgdb-path): Ditto.
1604 (elmo-folder-list-subfolders): Ditto.
1606 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1608 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
1609 Convert field-name to lower case.
1610 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
1612 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1614 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
1615 `message' and `error' take format string.
1617 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1619 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
1621 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1623 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
1624 recursive call (can't byte compile on emacs 20.7).
1626 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
1628 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
1629 (elmo-folder-list-message-entities): New API.
1630 (elmo-message-entity): Ditto.
1631 (elmo-message-entity-parent): Ditto.
1632 (elmo-folder-do-each-message-entity): Ditto.
1633 (elmo-message-entity-number): Ditto.
1634 (elmo-message-entity-field): Ditto.
1635 (elmo-message-entity-set-field): Ditto.
1636 (elmo-folder-count-flags): Ditto.
1637 (elmo-folder-length): Ditto.
1639 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
1642 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
1643 (elmo-msgdb-count-marks): Abolish.
1644 (elmo-msgdb-make-entity): Ditto.
1645 (elmo-msgdb-do-each-entity): Ditto.
1646 (elmo-msgdb-message-entity): New inline function.
1647 (elmo-msgdb-message-entity-field): Ditto.
1648 (elmo-msgdb-message-entity-set-field): Ditto.
1649 (elmo-msgdb-make-message-entity): New function.
1651 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
1653 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
1654 to flag. (All other related portions are changed.)
1655 (elmo-folder-msgdb-create): Likewise.
1656 (elmo-generic-folder-append-messages): Use flag-table instead of
1658 (elmo-folder-move-messages): Removed redundant process.
1659 (elmo-folder-synchronize): Likewise.
1661 * elmo-msgdb.el (elmo-flag-table-get): New function.
1662 (elmo-flag-table-save): Fixed.
1663 (elmo-msgdb-length): New inline function.
1664 (elmo-msgdb-flag-table): New function.
1665 (elmo-msgdb-mark): Add optional argument new.
1666 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
1667 (elmo-msgdb-seen-list): Ditto.
1668 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
1671 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
1673 * elmo.el (elmo-message-set-mark): Abolish.
1674 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
1675 (All related portions are changed.)
1677 * elmo-msgdb.el (toplevel): Added comment.
1678 (elmo-load-msgdb): Added 4th element `path'.
1679 (elmo-msgdb-append): Follow the change above.
1680 (elmo-msgdb-clear): Ditto.
1681 (elmo-msgdb-delete-msgs): Ditto.
1682 (elmo-msgdb-get-path): New inline function.
1683 (elmo-msgdb-set-path): Ditto.
1684 (elmo-flag-table-filename): New variable.
1685 (elmo-flag-table-load): New function.
1686 (elmo-flag-table-set): Ditto.
1687 (elmo-flag-table-save): Ditto.
1688 (elmo-msgdb-get-field-value): Abolish.
1689 (elmo-msgdb-overview-get-entity-by-number): Ditto.
1691 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
1693 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
1694 the folder has been deleted successfully.
1695 * elmo-imap4.el (elmo-folder-delete): Ditto.
1696 * elmo-archive.el (elmo-folder-delete): Ditto.
1697 * elmo-localdir.el (elmo-folder-delete): Ditto.
1698 * elmo-maildir.el (elmo-folder-delete): Ditto.
1700 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
1702 * elmo-util.el (elmo-string-member-ignore-case): New function.
1703 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
1704 (elmo-imap4-fetch-callback-1-subr): Likewise.
1706 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
1708 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
1709 the case of the name attribute "\Noselect".
1711 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1713 * elmo.el (elmo-folder-rename-internal): New method to cause error.
1715 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
1716 flist, is not always a member of onum-alist.
1718 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1720 * elmo-version.el (elmo-version): Up to 2.11.3.
1722 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1724 * elmo-maildir.el (elmo-folder-rename-internal): New method,
1725 copied from localdir's one.
1727 * elmo-pipe.el (elmo-folder-rename): New method, rename
1728 destination folder with leaving source folder as it is.
1730 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
1732 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
1735 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1737 * elmo-version.el (elmo-version): Up to 2.11.2.
1739 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1741 * elmo-shimbun.el (elmo-folder-initialize): Do not call
1742 shimbun-open in case of "@".
1743 (elmo-folder-open-internal): Cope with shimbun = nil case.
1744 (elmo-folder-plugged-p): Ditto.
1745 (elmo-folder-list-subfolders): Make list for "@/" group.
1747 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1749 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
1750 mailbox (e.g. for %~/something).
1752 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
1754 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
1755 Replace nested conditional with guard clauses.
1757 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
1759 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
1762 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
1765 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1767 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
1768 Replace nested conditional with guard clauses.
1770 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1772 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
1773 (elmo-passwd-alist-save): Ditto.
1774 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
1776 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1778 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
1779 dir-name only if it is absolute path.
1780 (TODO: distinguish +/something and +something)
1782 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1784 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
1785 path for "+~/something".
1787 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1789 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
1790 as non-directory, cause error before rename-file.
1791 * elmo-archive.el (elmo-folder-rename-internal): Create directory
1792 apropriately, mimic localdir's one.
1793 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
1795 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
1797 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
1799 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
1801 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
1803 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
1805 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
1806 is included in the global-mark or not.
1808 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1810 * utf7.el (toplevel): Avoid error when the function
1811 find-coding-system does not exist.
1813 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1815 * elmo-nntp.el (elmo-folder-search): Body search is to search from
1816 cache even if the folder is plugged.
1817 (elmo-nntp-search-primitive): Do nothing when body search is
1818 invoked (although it is not used by the change above).
1819 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
1821 2002-12-20 Kenichi OKADA <okada@opaopa.org>
1823 * elmo-version.el (elmo-version): Up to 2.11.1.
1825 2002-12-10 Kenichi OKADA <okada@opaopa.org>
1827 * elmo-archive.el: Specify charset.
1829 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
1831 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
1832 process buffer lives or not.
1834 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
1835 while flushing queues (It causes infinite loop).
1837 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
1839 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
1841 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
1843 * utf7.el (toplevel): Check the ucs features dynamically.
1844 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
1846 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
1847 folder is creatabe or not if it already exists.
1849 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
1851 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
1853 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
1855 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
1856 (elmo-imap4-read-response): Take care of garbage response.
1858 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1860 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
1861 just return nil instead of error.
1863 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1865 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
1866 search-key is "body".
1868 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
1870 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
1871 of elmo-string-matched-assoc to use match-data.
1872 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
1874 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1876 * elmo-split.el (elmo-split->): New function.
1877 (elmo-split-<): Ditto.
1879 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
1881 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
1882 workaround for invalid message-id.
1884 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
1886 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
1887 return normal pop3 session or pop3 biff session.
1889 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
1891 * elmo-maildir.el (elmo-maildir-update-current): Don't append
1892 info part to the cur files when the new files already have it.
1893 (Adviced by Jared Rhine <jared@wordzoo.com>)
1895 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1897 * elmo-split.el (elmo-split-default-action): New variable.
1898 (elmo-split-subr): Use it if all other conditions are passed.
1899 Extend `fname' and rename it as `action'. (implemented
1900 Teranishi-san's idea in [wl:10800])
1902 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1904 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
1905 * elmo-util.el: Ditto.
1907 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
1909 * elmo.el (elmo-message-accessible-p): Renamed from
1910 elmo-message-cached-p and rewritten.
1912 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
1914 * elmo.el (elmo-folder-list-flagged): New generic function.
1915 (elmo-folder-list-importants): New implementation.
1916 (elmo-folder-list-answereds): Ditto.
1917 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
1919 (elmo-message-cached-p): New function.
1920 (elmo-message-set-flag): Ditto (no content).
1921 (elmo-message-unset-flag): Ditto.
1922 (elmo-folder-list-messages-mark-match): Abolish.
1924 * elmo-util.el (elmo-regexp-opt): New function.
1926 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
1927 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
1929 (elmo-msgdb-list-flagged): New function.
1931 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
1932 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
1935 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
1937 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
1939 * elmo-version.el (elmo-version): Up to 2.11.0.
1941 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1943 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
1944 `elmo-file-cache-exists-p'; use proper mark that depends on
1946 (elmo-msgdb-unset-flag): Ditto.
1947 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
1949 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
1950 with 4th argument `use-cache'.
1952 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
1954 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
1955 (elmo-folder-mark-as-important): Ditto.
1956 (elmo-folder-unmark-read): Ditto.
1957 (elmo-folder-mark-as-read): Ditto.
1958 (elmo-folder-unmark-answered): Ditto.
1959 (elmo-folder-mark-as-answered): Ditto.
1961 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
1963 (elmo-msgdb-mark): Likewise.
1964 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
1965 (elmo-msgdb-unset-flag): Likewise.
1967 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
1969 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1971 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
1974 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1976 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
1977 set spool-length to 0.
1979 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1981 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
1982 (elmo-dop-queue-flush): Fixed last change.
1984 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1986 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
1987 if require-msgdb slot is nil.
1988 (elmo-folder-list-importants): Likewise.
1990 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1992 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
1995 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
1996 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
1999 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2001 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
2003 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2005 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
2007 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
2009 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2011 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
2012 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
2014 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2016 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
2017 the problem reported by Sean Rima [wl-en:180].
2019 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2021 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
2023 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
2025 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
2027 * elmo-map.el (elmo-folder-unmark-read): Ditto.
2029 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
2031 * elmo-net.el (elmo-folder-unmark-read): Ditto.
2033 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
2035 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2037 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
2040 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
2042 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
2043 (elmo-folder-mark-as-read): Follow the API change.
2044 (elmo-message-set-cached): New function.
2046 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
2048 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
2050 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
2051 (elmo-folder-mark-as-important): Ditto.
2052 (elmo-folder-unmark-read): Ditto.
2053 (elmo-folder-mark-as-read): Ditto.
2054 (elmo-folder-unmark-answered): Ditto.
2055 (elmo-folder-mark-as-answered): Ditto.
2057 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
2058 (elmo-folder-unmark-important): Ditto.
2059 (elmo-folder-mark-as-read): Ditto.
2060 (elmo-folder-unmark-read): Ditto.
2061 (elmo-folder-mark-as-answered): Ditto.
2062 (elmo-folder-unmark-answered): Ditto.
2064 * elmo-mark.el (toplevel): Removed some mark method definitions.
2066 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
2067 (elmo-map-folder-mark-as-answered): Ditto.
2068 (elmo-folder-unmark-important): Add :before qualifier.
2069 (elmo-folder-mark-as-important): Ditto.
2070 (elmo-folder-unmark-read): Ditto.
2071 (elmo-folder-mark-as-read): Ditto.
2072 (elmo-folder-unmark-answered): Define.
2073 (elmo-folder-mark-as-answered): Ditto.
2075 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
2076 (elmo-map-folder-unmark-answered): Ditto.
2078 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
2080 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
2081 (elmo-folder-mark-as-important): Ditto.
2082 (elmo-folder-unmark-read): Ditto.
2083 (elmo-folder-mark-as-read): Ditto.
2084 (elmo-folder-unmark-answered): Ditto.
2085 (elmo-folder-mark-as-answered): Ditto.
2087 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
2088 `mark'; evaluate mark condition.
2089 (elmo-msgdb-match-condition-internal): New function.
2090 (elmo-msgdb-match-condition): Call it; changed argument.
2092 * elmo.el (elmo-folder-search): Follow the API change on
2093 `elmo-msgdb-match-condition'.
2095 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2097 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
2098 original mark is non-nil.
2100 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
2102 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
2103 (elmo-map-folder-list-answereds): New method.
2104 (elmo-folder-list-unreads): Add :around qualifier.
2105 (elmo-folder-list-importants): Ditto.
2106 (elmo-folder-list-answereds): Ditto.
2108 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
2110 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
2112 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
2113 method if msgdb is not required.
2114 (elmo-filter-folder-list-importants): Don't treat global-mark.
2116 * elmo.el (elmo-folder-list-importants): Ditto.
2118 * elmo-net.el (elmo-folder-list-importants): Ditto.
2120 * elmo-map.el (elmo-folder-list-importants): Ditto.
2122 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
2124 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
2125 (elmo-imap4-folder-list-any-plugged): New function.
2126 (elmo-imap4-search-internal-primitive): Use it.
2128 * elmo-filter.el (elmo-folder-check): Synchronize original folder
2129 only when require-msgdb slot is non-nil.
2130 (elmo-folder-close): Clear target folder's msgdb.
2132 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
2134 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
2135 (elmo-pop3-msgdb-create-by-header): Ditto.
2136 (elmo-pop3-msgdb-create-message): Ditto.
2138 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2140 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2142 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
2144 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2145 (elmo-folder-msgdb-create): Ditto.
2146 (elmo-nntp-folder-msgdb-create): Ditto.
2147 (elmo-nntp-msgdb-create-by-header): Ditto.
2148 (elmo-nntp-msgdb-create-message): Ditto.
2149 (elmo-folder-list-unreads): Define.
2151 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
2152 (elmo-folder-append-messages): Ditto.
2153 (elmo-folder-list-unreads): Define.
2154 (elmo-folder-list-importants): Ditto.
2155 (elmo-folder-list-answereds): Ditto.
2157 * elmo-net.el (elmo-folder-list-unreads): Define.
2158 (elmo-folder-list-importants): Ditto.
2159 (elmo-folder-list-answereds): Ditto.
2160 (elmo-folder-list-answereds-plugged): Ditto.
2161 (elmo-folder-msgdb-create): Follow the API change.
2162 (elmo-folder-msgdb-create-unplugged): Ditto.
2163 (elmo-folder-unmark-answered): Define.
2164 (elmo-folder-mark-as-answered-unplugged): Ditto.
2165 (elmo-folder-unmark-answered-unplugged): Ditto.
2167 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
2168 (elmo-msgdb-unread-uncached-mark): Ditto.
2169 (elmo-msgdb-unread-cached-mark): Ditto.
2170 (elmo-msgdb-read-uncached-mark): Ditto.
2171 (elmo-msgdb-answered-cached-mark): Ditto.
2172 (elmo-msgdb-answered-uncached-mark): Ditto.
2173 (elmo-msgdb-important-mark): Ditto.
2174 (elmo-msgdb-set-mark): Rewrite.
2175 (elmo-msgdb-count-marks): Rewrite.
2176 (elmo-msgdb-mark-alist-set): Abolish.
2177 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
2178 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
2180 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
2181 (elmo-folder-close): Define.
2182 (elmo-folder-msgdb-create): Follow the API change.
2183 (elmo-folder-list-unreads): Rewrite.
2184 (elmo-folder-mark-as-important): Ditto.
2185 (elmo-folder-unmark-important): Ditto.
2186 (elmo-folder-mark-as-read): Ditto.
2187 (elmo-folder-unmark-read): Ditto.
2188 (elmo-folder-mark-as-answered): Define.
2189 (elmo-folder-unmark-answered): Ditto.
2191 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
2192 (elmo-folder-append-messages): Ditto.
2194 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
2196 * elmo-map.el (elmo-folder-list-unreads): Ditto.
2197 (elmo-folder-list-importants): Ditto.
2199 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2200 (elmo-folder-append-messages): Ditto.
2202 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
2204 (elmo-folder-msgdb-create-plugged): Ditto.
2205 (elmo-folder-append-messages): Ditto.
2206 (elmo-folder-list-answereds-plugged): Define.
2207 (elmo-imap4-search-internal-primitive): Add `mark' processing.
2208 (elmo-folder-unmark-answered-plugged): Define.
2209 (elmo-folder-mark-as-answered-plugged): Ditto.
2210 (elmo-folder-search-requires-msgdb-p): Ditto.
2212 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
2213 (elmo-folder-initialize): Set it.
2214 (elmo-folder-msgdb): Define.
2215 (elmo-folder-check): Call elmo-folder-synchronize.
2216 (elmo-folder-close): Define.
2217 (elmo-folder-commit): Ditto.
2218 (elmo-folder-msgdb-create): Rewrite.
2219 (elmo-folder-list-unreads): Ditto.
2220 (elmo-folder-list-importants): Ditto.
2221 (elmo-folder-mark-as-read): Ditto.
2222 (elmo-folder-unmark-read): Ditto.
2223 (elmo-folder-mark-as-important): Ditto.
2224 (elmo-folder-unmark-important): Ditto.
2225 (elmo-folder-mark-as-answered): Define.
2226 (elmo-folder-unmark-answered): Ditto.
2228 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
2229 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
2230 (elmo-dop-queue-method-name-alist): Likewise.
2231 (elmo-folder-mark-as-answered-dop): New inline function.
2232 (elmo-folder-unmark-answered-dop): Ditto.
2233 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
2235 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
2236 (elmo-folder-msgdb-create): Ditto.
2237 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
2238 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
2239 (elmo-archive-parse-mmdf): Ditto.
2241 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2242 (elmo-folder-list-unreads-internal): Ditto.
2244 * elmo.el (elmo-folder-msgdb): Define as generic function.
2245 (elmo-folder-list-messages): Added argument `in-msgdb'.
2246 (elmo-folder-list-unreads): Define as generic function.
2247 (elmo-folder-list-importants): Ditto.
2248 (elmo-folder-list-answereds): Ditto.
2249 (elmo-folder-list-messages-with-global-mark): New function.
2250 (elmo-folder-msgdb-create): Removed mark arguments.
2251 (elmo-folder-unmark-answered): New generic function.
2252 (elmo-folder-mark-as-answered): Ditto.
2253 (elmo-folder-append-messages): Removed argunment `unread-marks'
2254 (elmo-folder-list-unreads-internal): Abolish.
2255 (elmo-folder-list-importants-internal): Ditto.
2256 (elmo-folder-search-requires-msgdb-p): New generic function.
2257 (elmo-folder-search-requires-msgdb-p-internal): New function.
2258 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
2260 (elmo-folder-search-fast): Added key 'mark'.
2261 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
2262 instead of unread-marks argument.
2263 (elmo-folder-move-messages): Removed argunment `unread-marks'
2264 (elmo-folder-unmark-important): Define.
2265 (elmo-folder-mark-as-important): Ditto.
2266 (elmo-folder-unmark-read): Ditto.
2267 (elmo-folder-mark-as-read): Ditto.
2268 (elmo-folder-unmark-answered): Ditto.
2269 (elmo-folder-mark-as-answered): Ditto.
2270 (elmo-folder-replace-marks): Abolish.
2271 (elmo-generic-folder-append-msgdb): Append msgdb before checking
2273 (elmo-folder-synchronize): Removed mark arguments;
2274 return crosspost only number.
2276 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2278 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
2279 Remove redundunt connectivity check.
2281 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2283 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
2284 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
2286 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
2288 * pldap.el (ldap-decode-string): Return string as-is if
2289 `ldap-coding-system' is nil.
2290 (ldap-encode-string): Ditto.
2291 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
2292 (ldap-default-host): Fixed docstring.
2294 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
2296 * elmo-util.el (elmo-warning): Define as a macro which uses
2297 `display-warning' if it is defined as a function.
2299 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
2300 (elmo-split-equal): Use it.
2301 (elmo-split-match): Ditto.
2302 (elmo-split-message-entity): New buffer-local variable.
2303 (elmo-split-subr): Set it.
2305 * elmo-version.el (elmo-version): Up to 2.9.15.
2307 2002-08-18 Kenichi OKADA <okada@opaopa.org>
2309 * elmo-imap4.el (elmo-network-initialize-session):
2310 Check capability after starttls.
2312 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
2314 * elmo-util.el (elmo-list-delete): Added optional argument
2317 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
2319 * elmo-util.el (elmo-warning): Ignore errors while recenter.
2321 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
2323 * elmo-imap4.el (elmo-folder-initialize): Don't use
2324 elmo-imap4-default-mailbox.
2326 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
2328 * elmo-split.el (toplevel): Use `product-provide'.
2329 (elmo-split): Checkdoc.
2331 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
2333 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
2334 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
2335 the function `elmo-imap4-debug-1'.
2337 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2339 * elmo-split.el (elmo-split): Moved to run hooks and to show
2340 message from elmo-split-subr.
2341 (elmo-split-subr): Follow the change above.
2343 * elmo-split.el (elmo-split-subr): New function (renamed from
2345 (elmo-split): Changed to call elmo-split-subr by element of
2347 (elmo-split-folder): Changed customization type to choice.
2349 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2351 * elmo-split.el (elmo-split-and): Fixed condition.
2353 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
2355 * elmo-split.el: New file.
2356 (elmo-split): Fixed logic.
2357 Display "Test:" instead of "Folder:" when reharsal.
2359 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
2362 * elmo-version.el (elmo-version): Up to 2.9.14.
2364 * elmo-util.el (elmo-expand-newtext): New function (renamed from
2367 2002-06-10 Kenichi Sato <ksato@sonycom.com>
2369 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
2370 message with no message-id field.
2372 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
2374 * elmo-version.el (elmo-version): Up to 2.9.13.
2376 * elmo-dop.el (elmo-folder-status-dop): Fix.
2378 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
2380 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
2382 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
2383 changing default value of default-mime-charset.
2384 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
2386 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
2388 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
2389 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
2390 instead of elmo-dop-queue-method-name-alist to check merging queue.
2391 (elmo-folder-delete-messages-dop): Delete from queue if negative
2393 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
2394 file is already removed.
2396 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
2398 * elmo-vars.el: Bind colon keywords for old Emacsen.
2400 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2402 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
2403 against non-exsisting charset.
2405 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
2407 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
2408 Use eword-decode-and-unfold-unstructured-field-body.
2410 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
2411 (elmo-msgdb-create-overview-from-buffer): Use document charset if
2412 exists to decode raw subject string.
2413 (toplevel): Require 'mime.
2415 * elmo-version.el (elmo-version): Up to 2.9.12.
2417 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
2419 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
2420 (elmo-msgdb-set-mark): Ditto.
2422 * elmo-version.el (elmo-version): Up to 2.9.11.
2424 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
2426 * elmo-util.el (elmo-delete-match-files): New function.
2428 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
2429 instead of elmo-delete-directory.
2431 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
2432 elmo-hash-minimun-size as 63.
2434 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
2435 elmo-diff-unread is nil.
2437 * elmo-imap4.el (elmo-folder-open): Fix.
2439 * elmo.el (elmo-message-mark): Rewrite.
2440 (elmo-message-field): Ditto.
2441 (elmo-message-set-mark): Ditto.
2442 (elmo-folder-replace-marks): New function.
2443 (elmo-generic-folder-append-msgdb): Removed third argument for
2445 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
2446 (elmo-msgdb-load): New implementation.
2448 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
2450 * elmo-util.el (elmo-list-insert): New implementation.
2452 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
2453 argument for elmo-msgdb-append.
2456 * elmo-msgdb.el (elmo-load-msgdb): New function.
2457 (elmo-make-msgdb): Ditto.
2458 (elmo-msgdb-get-index): New inline function.
2459 (elmo-msgdb-set-index): Ditto.
2460 (elmo-msgdb-get-entity-hashtb): Ditto.
2461 (elmo-msgdb-get-mark-hashtb): Ditto.
2462 (elmo-msgdb-get-mark): Ditto.
2463 (elmo-msgdb-set-mark): Ditto.
2464 (elmo-msgdb-count-marks): Ditto.
2465 (elmo-msgdb-get-number): Ditto.
2466 (elmo-msgdb-get-field): Ditto.
2467 (elmo-msgdb-seen-list): Ditto.
2468 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
2469 (elmo-msgdb-delete-msgs): Follow the changes above.
2470 (elmo-msgdb-overview-get-entity): Ditto.
2471 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
2472 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
2474 (elmo-msgdb-make-index): Likewise.
2475 (elmo-msgdb-append): Removed third argument.
2476 (elmo-msgdb-clear): Clear index as nil.
2477 (elmo-folder-set-info-hashtb): Removed.
2478 (elmo-folder-set-info-max-by-numdb): Ditto.
2479 (elmo-folder-info-make-hashtb): Ditto.
2481 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
2483 * elmo-map.el (elmo-folder-pack-number): Ditto.
2485 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
2487 * elmo-version.el (elmo-version): Up to 2.9.10.
2489 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
2491 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
2493 2002-04-26 Kenichi OKADA <okada@opaopa.org>
2495 * elmo-utils.el (elmo-make-directory): Add option.
2496 Default file mode is 700.
2498 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2500 * elmo-shimbun.el (elmo-folder-local-p): Defined.
2502 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
2504 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
2507 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
2510 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2512 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
2513 (elmo-shimbun-folder-entity-hash): New function.
2514 (elmo-shimbun-folder-shimbun-header): Ditto.
2515 (elmo-shimbun-entity-to-header): Ditto.
2516 (elmo-shimbun-msgdb-to-headers): Removed.
2517 (elmo-shimbun-folder-setup): Ditto.
2518 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
2520 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
2521 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
2522 Removed useless local bind.
2523 (elmo-folder-open-internal): Don't call
2524 `elmo-shimbun-folder-setup'.
2525 (elmo-folder-close-internal): Clear entity-hash slot.
2526 (elmo-folder-clear): Ditto.
2527 (elmo-shimbun-msgdb-create-entity): Use
2528 `elmo-shimbun-folder-shimbun-header'.
2529 (elmo-map-message-fetch): Ditto.
2530 (elmo-shimbun-update-overview): Use overview entity instead of
2531 shimbun header to lookup id by references.
2532 (elmo-map-folder-list-message-locations): Use not only headers but
2533 also overviews to list locations.
2535 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2537 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
2540 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
2542 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2544 * elmo-util.el (elmo-read-search-condition-internal): Give default
2547 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
2549 * elmo-util.el (elmo-condition-parse-search-value): Accept
2550 YYYY-MM-DD format to search.
2551 * elmo-date.el (elmo-date-get-datevec): Likewise.
2553 2002-04-04 Kenichi OKADA <okada@opaopa.org>
2555 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
2558 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2560 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
2563 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
2565 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
2566 case from `elmo-folder-exists-p'.
2567 (elmo-folder-exists-p): Removed.
2568 (elmo-folder-creatable-p) Ditto.
2570 * elmo-net.el (elmo-folder-create): Defined.
2571 (elmo-folder-create-unplugged): New function.
2572 (elmo-folder-exists-p): Changed default value to nil from t.
2574 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
2575 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
2577 * elmo-dop.el (elmo-folder-create-dop): Renamed from
2578 `elmo-create-folder-dop' and append queue
2579 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
2580 (elmo-folder-create-dop-delayed): New function.
2582 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
2584 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
2586 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
2587 (elmo-folder-writable-p) : Ditto.
2589 * elmo-version.el (elmo-version): Up to 2.9.9.
2591 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2593 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
2594 `elmo-message-use-cache-p' returns nil.
2595 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2596 (ignore cache file and refer the substance in local folders)
2598 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2600 * elmo-version.el (elmo-version): Up to 2.9.8.
2602 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
2604 * elmo-version.el (elmo-version): Up to 2.9.7.
2606 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
2608 2002-02-18 Daiki Ueno <ueno@unixuser.org>
2610 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
2612 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2614 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
2616 (elmo-map-folder-list-message-locations): Reverse location list.
2618 2002-02-01 Kenichi OKADA <okada@opaopa.org>
2620 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
2622 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
2624 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
2626 (elmo-nntp-folder-list-subfolders): Follow the change above.
2628 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
2630 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
2631 name if authentication type is specified.
2633 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
2635 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
2637 (elmo-default-nntp-stream-type): Ditto.
2638 (elmo-default-pop3-stream-type): Ditto.
2640 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2642 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
2644 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2646 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
2648 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
2650 * elmo-vars.el (elmo-localnews-folder-path): Removed.
2651 (elmo-maildir-folder-path): Ditto.
2652 (elmo-maildir-list): Ditto (abolished).
2654 2002-01-23 Kenichi OKADA <okada@opaopa.org>
2656 * elmo-version.el (elmo-version): Up to 2.9.6.
2658 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2660 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
2661 (elmo-maildir-folder-path): Ditto.
2662 (elmo-msgdb-directory): Ditto.
2663 (elmo-passwd-life-time): Ditto.
2664 (elmo-msgdb-extra-fields): Ditto.
2665 (elmo-enable-disconnected-operation): Ditto.
2667 2002-01-22 Kenichi OKADA <okada@opaopa.org>
2669 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
2671 (elmo-pop3-default-authenticate-type): Ditto.
2673 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2675 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
2677 (elmo-pop3-default-authenticate-type): Ditto.
2679 2002-01-22 Kenichi OKADA <okada@opaopa.org>
2681 * elmo-imap4.el (elmo-folder-rename-internal): Change current
2682 mailbox to new-folder.
2684 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
2686 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
2687 less than new, set new as unread.
2689 * elmo-util.el (elmo-string): Don't put text-property if nil.
2691 2002-01-21 Kenichi OKADA <okada@opaopa.org>
2693 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
2694 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
2696 2002-01-21 Kenichi OKADA <okada@opaopa.org>
2698 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
2699 is nil on `completing-read'.
2701 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
2703 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
2705 (elmo-imap4-parse-namespace-subr): Ditto.
2706 (elmo-folder-list-subfolders): Append a delimiter when the specified
2707 folder path is a root with namespace and does not end with delimiter.
2709 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2711 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
2714 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2716 * elmo-util.el (elmo-save-buffer): The first argument of message
2717 is a format control string.
2719 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2721 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
2722 `elmo-folder-diff').
2723 (elmo-diff-unread): Likewise.
2725 2002-01-19 Kenichi OKADA <okada@opaopa.org>
2727 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
2728 is t on `completing-read'.
2730 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2732 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
2733 method of target folder with self mark-alist if MARK-ALIST is nil.
2735 2002-01-19 Kenichi OKADA <okada@opaopa.org>
2737 * elmo-version.el (elmo-version): Up to 2.9.5.
2739 2002-01-17 Kenichi OKADA <okada@opaopa.org>
2741 * elmo-dop.el (elmo-dop-queue-merge): Implement.
2742 (elmo-dop-merge-funcs): Remove.
2744 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2746 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
2747 Return t if PATH is directory, too.
2748 Use `dolist' instead of while loop.
2750 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2752 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
2755 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2757 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
2759 (elmo-folder-list-messages-unplugged): Return t if
2760 elmo-enable-disconnected-operation is nil.
2762 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
2763 `elmo-folder-list-messages-internal'.
2765 2002-01-07 Kenichi OKADA <okada@opaopa.org>
2767 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
2768 Change to looking-at `[23][0-9]+'.
2769 (elmo-network-initialize-session): Use 'error-msg'
2770 * elmo-net.el (elmo-network-open-session): Set unplugged
2771 if elmo-network-initialize-session returns 'elmo-open-err.
2773 2002-01-07 Kenichi OKADA <okada@opaopa.org>
2775 * elmo-version.el (elmo-version): Up to 2.9.4.
2777 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
2779 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
2780 `elmo-folder-list-messages-internal'.
2782 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2784 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
2785 (elmo-message-match-condition): New method.
2786 (elmo-folder-search-fast): New inline function.
2787 (elmo-msgdb-search): Removed.
2789 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
2790 target folder if it is unplugged.
2791 (elmo-folder-list-messages-internal): Return t if target folder is
2792 unplugged and itself is persistent; In this case, use list be
2795 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
2796 (elmo-msgdb-search-internal-primitive): Ditto.
2797 (elmo-msgdb-match-condition): New function.
2798 (elmo-msgdb-match-condition-primitive): Ditto.
2800 * elmo-util.el (elmo-filter-condition-p): New macro.
2802 * elmo-cache.el (elmo-folder-search): Removed.
2804 * elmo-localdir.el (elmo-folder-search): Ditto.
2806 * elmo-maildir.el (elmo-folder-search): Ditto.
2808 * elmo-mark.el (elmo-folder-search): Ditto.
2810 * elmo-nmz.el (elmo-folder-search): Ditto.
2812 * elmo-sendlog.el (elmo-folder-search): Ditto.
2814 * elmo-shimbun.el (elmo-folder-search): Ditto.
2816 * elmo-imap4.el (elmo-folder-search): Call method of parent class
2817 if folder is unplugged.
2819 * elmo-nntp.el (elmo-folder-search): Likewise.
2820 (elmo-nntp-search-internal): New function.
2822 * elmo-version.el (elmo-version): Up to 2.9.3.
2824 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2826 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
2828 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
2830 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
2832 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
2834 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
2836 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
2838 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
2839 (elmo-map-folder-list-message-locations): Do drive letter conversion
2840 on Windows environment.
2841 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
2842 (elmo-map-message-fetch): Ditto.
2844 2001-12-27 Kenichi OKADA <okada@opaopa.org>
2846 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
2847 (elmo-network-initialize-session): Ditto.
2849 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
2851 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
2853 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2855 * elmo-util.el (elmo-progress-clear): Ditto.
2857 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
2858 `DD-Mon-YYYY' type date.
2860 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2862 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2863 `elmo-date-make-sortable-string' instead of
2864 `timezone-make-date-sortable'.
2866 * elmo-date.el (elmo-date-make-sortable-string): Use
2867 `timezone-make-time-string'.
2869 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
2871 * elmo.el (elmo-folder-synchronize): Delete important messages too.
2873 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
2874 `since'; Fix timezone.
2876 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
2878 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
2880 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2882 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
2884 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2886 * elmo.el (elmo-generic-folder-append-messages): Make
2887 fetch-strategy with `use-cache' as 'maybe. Check return value of
2888 `elmo-message-fetch'.
2889 (elmo-message-fetch): Return return value of
2890 `elmo-message-fetch-with-cache-process'.
2891 (elmo-message-fetch-with-cache-process): Return non-nil if
2892 fetching was succeed. Load cache when fetching was failed and
2893 fetch-strategy-use-cache is 'maybe.
2895 * elmo-util.el (elmo-file-cache-load): New function.
2897 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
2900 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
2901 non-nil if fetching was succeed.
2903 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
2905 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
2907 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
2908 (elmo-message-fetch-with-cache-process): Likwise.
2910 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
2912 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
2914 * elmo-version.el (elmo-version): Up to 2.9.2.
2916 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
2918 * elmo.el (elmo-folder-delete): Delete msgdb path.
2920 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
2922 * elmo-maildir.el (elmo-folder-delete): Ditto.
2924 * elmo-localdir.el (elmo-folder-delete): Ditto.
2926 * elmo-imap4.el (elmo-folder-delete): Ditto.
2928 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
2930 * elmo.el (luna-define-class): Added `biff' slot.
2932 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
2933 (elmo-pop3-debug-inhibit-logging): Abolished.
2934 (elmo-network-close-session): Eliminated needless let.
2935 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
2936 (elmo-pop3-send-command): Added `no-log' argument.
2937 (elmo-pop3-process-filter): Use `with-current-buffer'.
2938 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
2940 (elmo-pop3-auth-apop): Likewise.
2941 (elmo-network-authenticate-session): Likewise.
2943 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
2946 * elmo-net.el (elmo-network-session-password-key): Use class symbol
2947 string to determine protocol.
2948 (elmo-network-session-name-prefix): Abolished.
2949 (elmo-network-session-cache-key): Follow the change above.
2950 (elmo-network-open-session): Ditto.
2952 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
2953 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
2955 * elmo-version.el (elmo-version): Up to 2.9.1.
2957 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
2958 unmatch condition checking.
2960 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
2963 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2965 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
2967 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
2969 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
2970 test for while loop to execute at least one SEARCH command.
2972 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
2974 * elmo-version.el (elmo-version): Up to 2.9.0.
2976 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
2978 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
2979 (elmo-archive-folder-path): Define.
2980 (elmo-folder-initialize): Setup `dir-name' slot.
2981 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
2982 Use `dir-name' as prefix of each subfolders.
2983 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
2985 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2987 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
2988 (elmo-pipe-folder-list-target-messages): New internal function.
2989 (elmo-pipe-drain): Use new argument `ignore-list' instead of
2991 (elmo-pipe-folder-copied-list-load): New function.
2992 (elmo-pipe-folder-copied-list-save): Ditto.
2993 (elmo-folder-open-internal): Follow the change above.
2994 (elmo-folder-status): Fixed for copy.
2996 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
2998 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
3000 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
3002 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
3003 elmo-copy-file instead of elmo-add-name-to-file.
3005 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
3007 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
3010 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
3011 of accept-process-output as 1.
3012 (elmo-pop3-read-contents): Ditto.
3013 (elmo-pop3-read-body): Ditto.
3015 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
3017 * elmo-version.el (product-version-as-string): Remove define.
3019 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
3021 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
3022 (elmo-imap4-copy-messages): Chop number set using
3023 `elmo-imap4-number-set-chop-length'.
3024 (elmo-imap4-set-flag): Ditto.
3025 (elmo-imap4-search-internal-primitive): Ditto.
3027 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
3029 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
3030 `elmo-folder-make-temp-dir'
3032 * elmo-vars.el (elmo-cache-directory): New variable.
3033 (elmo-cache-dir): Abolished.
3034 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
3036 * elmo-version.el (elmo-version): Up to 2.7.7.
3038 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
3040 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
3041 defcustom; Set default value as t.
3043 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
3045 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
3046 (ldap-search-program-arguments): Changed default value.
3047 (ldap-search-basic): Accept exit status 4.
3048 (ldap/field-body): Parse options.
3049 (ldap/collect-field): Ditto.
3050 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
3052 * elmo-imap4.el (elmo-imap4-process-bye): New function.
3053 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
3054 (elmo-imap4-accept-ok): Ditto.
3055 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
3056 'notify-bye, only BYE error is reported.
3057 (elmo-folder-exists-p-plugged): Set no-error argument of
3058 `elmo-imap4-session-select-mailbox' as 'notify-bye.
3060 * elmo.el (elmo-imap4-bye-error): Changed message.
3062 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
3063 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
3064 queues (It causes infinite loop).
3066 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
3068 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
3069 (RECENT UNSEEN MESSAGES) extension.
3071 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
3073 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
3074 Check number of overview fields.
3076 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
3078 * elmo.el (elmo-folder-confirm-appends): Changed message.
3079 (elmo-folder-confirm-appends): Ditto.
3081 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
3083 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
3085 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
3087 * elmo.el (elmo-folder-confirm-appends): Check whether the value
3088 of elmo-folder-update-threshold is nil, which can be set by
3089 wl-summary-update-confirm-threshold.
3091 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
3093 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
3094 (elmo-nmz-index-alias-alist): Ditto.
3095 (elmo-map-folder-list-message-locations): Follow the change above.
3097 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3099 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
3101 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
3103 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
3105 * elmo-util.el (elmo-read): Ditto.
3106 (elmo-display-error): Ditto.
3108 * elmo-vars.el (elmo-date-match): Ditto.
3110 * pldap.el (ldap-coding-system): Ditto.
3112 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
3113 `elmo-inhibit-number-mapping' as nil.
3115 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
3117 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
3118 space delimiter for list response.
3120 2001-12-02 Kenichi OKADA <okada@opaopa.org>
3122 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
3124 2001-12-02 Kenichi OKADA <okada@opaopa.org>
3126 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
3127 (elmo-map-message-fetch): Fix.
3128 * elmo-map.el (elmo-folder-status): Fix for killed.
3130 2001-12-02 Kenichi OKADA <okada@opaopa.org>
3132 * elmo-sendlog.el: New file.
3133 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
3135 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
3137 * acap.el (acap-logging-out): New buffer local variable.
3138 (acap-close): Set it.
3139 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
3142 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
3144 * acap.el (acap-response-bye-p): New function.
3145 (acap-response-bye-message): Ditto.
3146 (acap-wait-for-response): If bye response is received, cause an error.
3147 (acap-parse-response): Make bye response when 'Bye' is received.
3149 2001-11-23 Kenichi OKADA <okada@opaopa.org>
3151 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
3153 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3155 * elmo-util.el (elmo-copy-file): Added argument
3156 `ok-if-already-exists'.
3157 (elmo-copy-file): Fixed typo.
3159 2001-11-21 Kenichi OKADA <okada@opaopa.org>
3161 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
3163 2001-11-21 Kenichi OKADA <okada@opaopa.org>
3165 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
3167 2001-11-20 Kenichi OKADA <okada@opaopa.org>
3169 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
3172 2001-11-19 Kenichi OKADA <okada@opaopa.org>
3174 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
3175 (elmo-folder-initialize): Fix for `copy'.
3176 (elmo-pipe-drain): Ditto.
3177 (elmo-folder-open-internal): Ditto.
3178 (elmo-folder-newsgroups): Fix.
3180 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3182 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
3185 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
3186 recent value is returned from imap folder.
3188 * elmo.el (elmo-folder-newsgroups): New generic function.
3190 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
3191 (elmo-folder-initialize): Set it.
3192 (elmo-folder-expand-msgdb-path): Use it.
3193 (elmo-folder-newsgroups): Define.
3195 * elmo-filter.el (elmo-folder-newsgroups): Define.
3197 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
3199 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
3201 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
3203 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3205 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
3207 (elmo-shimbun-header-extra-field): New inline function.
3208 (elmo-shimbun-header-set-extra-field): Ditto.
3209 (elmo-shimbun-folder-header-hash-setup): Ditto.
3210 (elmo-shimbun-update-overview): Ditto.
3211 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
3212 (elmo-shimbun-folder-setup): Use
3213 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
3214 (elmo-shimbun-get-headers): Ditto.
3215 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
3216 Insert `X-Shimbun-Id:' header if extra field is set.
3217 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
3218 field's value instead of `shimbun-header-id'.
3220 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
3222 (elmo-msgdb-overview-entity-set-date): Ditto.
3223 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3225 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
3227 * mmimap.el (mmimap-entity-section): Changed body node number from
3230 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3232 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
3233 `elmo-folder-delete-messages'.
3235 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
3236 (elmo-folder-initialize): Changed to expand alias into index path.
3238 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
3239 `elmo-mime-insert-header-from-buffer' with 6th arg
3242 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3244 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
3246 * elmo.el (elmo-diff-new): New inline function.
3247 (elmo-diff-unread): Ditto.
3248 (elmo-diff-all): Ditto.
3250 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
3251 value from responseb.
3252 (elmo-imap4-folder-diff-plugged): Ditto.
3253 (elmo-imap4-server-diff-async): Added recent argument.
3254 (elmo-server-diff-async): Ditto.
3255 (elmo-imap4-folder-diff-plugged): Ditto.
3257 * elmo-version.el (elmo-version): Up to 2.7.6.
3259 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3261 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
3264 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
3266 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
3268 * elmo-imap4.el (elmo-folder-initialize): Ditto.
3270 * elmo-nntp.el (elmo-folder-initialize): Ditto.
3272 * elmo-multi.el (elmo-folder-initialize): Ditto.
3274 * elmo-util.el (elmo-parse-token): New function.
3275 (elmo-parse-prefixed-element): Ditto.
3277 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
3279 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
3281 (elmo-imap4-accept-ok): Ditto.
3283 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3285 * mmimap.el (mime-imap-entity-header-string): Don't check first
3286 element of node-id is `0' (Follow last change).
3288 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3290 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
3291 assigned irregular node-id to nested multipart section.
3292 (initialize-instance): Followed above change.
3294 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3296 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
3297 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
3298 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
3299 `elmo-shimbun-get-headers');
3300 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
3301 visible article on summary exists in headers).
3302 (elmo-map-message-fetch): Cause an error when folder is unplugged.
3304 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3306 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
3309 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
3311 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
3313 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3315 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
3316 header separator into loop condition.
3318 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3320 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
3321 Return duplicate folder if it has subfolder.
3323 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
3325 * elmo.el (elmo-make-folder): Add folder name error check.
3327 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
3328 (elmo-nntp-encode-group-string): New inline function.
3329 (elmo-nntp-decode-group-string): Ditto.
3330 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
3331 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
3332 Use `not' instead of `null';
3333 Use elmo-nntp-decode-group-string.
3335 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
3337 * elmo-version.el (elmo-version): Up to 2.7.5.
3339 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3341 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
3342 Hide progress gauge if `elmo-folder-move-messages' exits
3345 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
3347 * elmo-imap4.el (elmo-folder-initialize): Use
3348 `elmo-imap4-encode-folder-string' for folder name.
3350 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3352 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
3355 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3357 * elmo-util.el (elmo-progress-counter-alist): New internal
3359 (elmo-progress-counter-value): New macro.
3360 (elmo-progress-counter-all-value): Ditto.
3361 (elmo-progress-counter-format): Ditto.
3362 (elmo-progress-counter-set-value): Ditto.
3363 (elmo-progress-set): New function.
3364 (elmo-progress-clear): Ditto.
3365 (elmo-progress-notify): Ditto.
3367 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
3370 * elmo.el (elmo-generic-folder-append-messages): Call
3371 `elmo-progress-notify'.
3372 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
3374 * elmo-archive.el (elmo-folder-append-messages): Call
3375 `elmo-progress-notify'.
3377 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
3379 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
3381 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3383 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
3385 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
3387 (elmo-message-encache-dop): Added argument `read'.
3389 * elmo-shimbun.el (elmo-message-encache): Ditto.
3391 * elmo-net.el (elmo-message-encache): Ditto.
3393 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
3394 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
3395 elmo-imap4-seen-messages.
3396 (elmo-folder-msgdb-create-plugged): Initialize
3397 elmo-imap4-seen-messages;
3398 Set seen mark on elmo-imap4-seen-messages.
3400 * elmo-pipe.el (elmo-folder-message-file-p): Define.
3402 * elmo.el (elmo-generic-folder-append-messages): Check return value of
3403 elmo-folder-append-buffer.
3404 (elmo-folder-encache): Added optional argument `read'.
3405 (elmo-message-encache): Ditto.
3407 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
3409 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
3411 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
3412 if append buffer content succeds.
3414 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
3416 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
3417 elmo-display-progress.
3419 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
3420 Set 4th argument of mime-display-message.
3421 (elmo-mime-display-as-is): Ditto.
3423 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
3425 * elmo-nmz.el (toplevel): Require 'mime-edit.
3426 (elmo-nmz-content-type-alist): Abolished.
3427 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
3428 content is not a message.
3429 (elmo-map-message-fetch): Changed behavior exept for message content;
3430 Detect mime-charset automatically, Use `mime-find-file-type' to detect
3431 content-type, Add From: and Subject: field.
3433 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3435 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
3436 (elmo-map-message-fetch): Add `Content-Type' field if contents is
3439 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3441 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
3442 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
3444 * elmo-archive.el (elmo-folder-writable-p): Defined.
3446 * elmo-cache.el (elmo-folder-writable-p): Ditto.
3448 * elmo-filter.el (elmo-folder-writable-p): Ditto.
3450 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
3452 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
3454 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
3456 * elmo-mark.el (elmo-folder-writable-p): Ditto.
3458 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
3460 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
3462 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3464 * elmo-util.el (elmo-address-quote-specials): New function;
3465 Renamed from `wl-address-quote-specials'.
3467 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
3469 * elmo-version.el (elmo-version): Up to 2.7.4.
3471 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
3473 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
3475 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3477 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
3478 both compile-time and run-time to avoid byte-compile warning.
3480 2001-09-13 Kenichi OKADA <okada@opaopa.org>
3482 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
3484 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
3486 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
3488 (elmo-mime-display-as-is-internal): Use it.
3490 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
3491 if `read-passwd' is not defined.
3493 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
3495 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
3497 (elmo-folder-status): Call `elmo-folder-open-internal';
3498 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
3499 (elmo-folder-close-internal): Set location-alist as nil.
3500 (elmo-folder-clear): Define.
3501 (elmo-folder-check): Don't set location-alist as nil.
3503 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
3505 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
3507 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
3508 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
3510 * mmimap.el (mime-imap-entity::requested): New slot.
3511 (mime-imap-location-fetch-entity-p): New generic function.
3512 (mime-decode-parameters): Define using `defun-maybe'.
3513 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
3514 content-type structure.
3515 (mime-entity-body): Return empty body if
3516 `mime-imap-location-fetch-entity-p' returns nil in the first request.
3518 * elmo.el (elmo-message-displaying): New variable.
3520 * elmo-mime.el (elmo-mime-message-display): Bind
3521 elmo-message-displaying as t.
3523 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
3525 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
3527 * acap.el (acap-open): erase buffer before starting network process.
3528 (acap-store): Rewrite.
3530 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
3532 * elmo-imap4.el (elmo-imap4-default-mailbox,
3533 elmo-imap4-default-server
3534 elmo-imap4-default-authenticate-type,
3535 elmo-imap4-default-user,
3536 elmo-imap4-default-port,
3537 elmo-imap4-default-stream-type,
3538 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
3540 * elmo-pop3.el (elmo-pop3-default-user,
3541 elmo-pop3-default-server,
3542 elmo-pop3-default-authenticate-type,
3543 elmo-pop3-default-port,
3544 elmo-pop3-default-stream-type,
3545 elmo-pop3-stream-type-alist): Ditto.
3547 * elmo-nntp.el (elmo-nntp-default-server,
3548 elmo-nntp-default-user,
3549 elmo-nntp-default-port,
3550 elmo-nntp-default-stream-type,
3551 elmo-nntp-stream-type-alist): Ditto.
3553 * elmo-vars.el: Follow changes above.
3554 (elmo-setting): New custom group; added 'elmo-setting group to
3557 * elmo-version.el (elmo-version): Up to 2.7.3.
3559 * acap.el (acap-parse-response): Don't delete process when BYE
3560 response (It causes hang-up on slow network environment).
3561 (toplevel): Added comment.
3563 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
3565 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
3567 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
3569 (acap-parse-return-metadata): Ditto.
3572 (toplevel): Fixed typo.
3574 * acap.el: New file.
3575 (acap-network-stream-open): Show "Connecting..." message.
3576 (acap-parse-response): Fixed problem for BYE untagged response.
3577 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
3578 (toplevel): Added tiny comments.
3580 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
3582 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
3583 space delimiter for uidl response.
3585 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
3587 * elmo-vars.el (elmo-use-semi): Eliminated.
3589 * elmo-util.el (elmo-string-assoc-all): New function.
3591 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3593 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
3594 property 'mime-preview-situation for `mime-preview-quit'.
3596 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3598 * elmo.el (elmo-message-fetch-with-cache-process): Call
3599 elmo-message-fetch-internal instead of causing an error when fetch
3600 strategy is 'entire but only 'section cache is available.
3602 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
3604 * elmo-version.el (elmo-version): Up to 2.7.2.
3606 * elmo.el (elmo-generic-folder-append-messages): Make
3607 fetch-strategy with `use-cache'.
3609 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
3610 (elmo-dop-queue-method-name): New macro.
3612 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3614 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
3615 unbalanced parenthesis.
3617 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
3619 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
3621 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
3623 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
3624 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
3626 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3628 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
3631 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3633 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
3634 (elmo-message-use-cache-p): Define.
3635 (elmo-folder-msgdb-create): Treat cache.
3637 2001-07-28 Kenichi OKADA <okada@opaopa.org>
3639 * elmo-nntp.el (elmo-network-initialize-session): Call
3640 `elmo-nntp-send-mode-reader'.
3641 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
3643 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
3645 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
3647 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
3650 * elmo-net.el (elmo-network-get-session): Set stream-type argument
3651 for `elmo-plugged-p'.
3652 (elmo-open-network-stream): Fixed stream-type argument.
3654 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
3656 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
3657 unknown archive type is specified.
3659 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
3661 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
3663 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
3664 while loading msgdb.
3666 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
3667 (elmo-folder-open-internal): Rewrite.
3669 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3671 * elmo-mime.el (elmo-mime-display-as-is-internal):
3672 Adjust buffer-multibyte status.
3674 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3676 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
3677 of elmo-condition-find-key.
3679 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
3680 (elmo-condition-in-msgdb-p): Ditto.
3681 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
3684 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3686 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
3688 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
3690 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
3691 label for elmo-display-progress.
3693 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
3695 * elmo.el (elmo-folder-clear): New method.
3696 (elmo-folder-clear): Define.
3697 (elmo-folder-synchronize): Call `elmo-folder-clear'.
3699 * elmo-shimbun.el (elmo-folder-check): Rewrite.
3700 (elmo-folder-clear): Define.
3702 * elmo-map.el (elmo-folder-clear): Define.
3704 * elmo-version.el (elmo-version): Up to 2.7.1.
3706 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
3708 * elmo.el (elmo-folder-synchronize): Return list of nil when no
3711 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
3713 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
3714 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
3716 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
3718 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
3720 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
3723 * elmo-imap4.el (elmo-folder-initialize): Use
3724 elmo-get-network-stream-type.
3726 * elmo-nntp.el (elmo-folder-initialize): Ditto.
3728 * elmo-pop3.el (elmo-folder-initialize): Ditto.
3730 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
3732 * elmo.el (elmo-message-encache): Set unread argument for
3735 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
3737 * elmo.el (elmo-net-port-info): New method.
3739 * elmo-shimbun.el (elmo-net-port-info): Define.
3740 (elmo-message-encache): Ditto.
3742 * elmo-net.el (elmo-net-port-info): Define as method.
3744 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
3745 unplugged status when elmo-enable-disconnected-operation is t.
3747 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
3748 of spool folder before checking new number.
3750 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
3752 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
3753 (elmo-network-setup-session): Ditto.
3754 (elmo-message-fetch-plugged): Ditto.
3755 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
3756 (elmo-network-initialize-session): Ditto.
3757 (elmo-pop3-read-response): Abolish 3rd argument.
3758 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
3759 (elmo-pop3-read-contents): Ditto.
3760 (elmo-pop3-read-body): Ditto.
3761 (elmo-folder-status): Call elmo-folder-close.
3762 (elmo-pop3-lock): Abolish.
3763 (elmo-pop3-unlock): Ditto.
3764 (elmo-pop3-locked-p): Ditto.
3765 (elmo-folder-check): Don't call elmo-pop3-locked-p.
3767 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
3769 * elmo-version.el (elmo-version): Up to 2.7.0.
3771 * elmo-pop3.el (elmo-pop3-debug): New variable.
3772 (elmo-pop3-debug-inhibit-logging): Ditto.
3773 (elmo-pop3-debug): New function.
3774 (elmo-pop3-send-command): Call elmo-pop3-debug.
3775 (elmo-pop3-read-response): Added keep-lock optional argument;
3776 Don't unlock if keep-lock is non-nil.
3777 (elmo-pop3-process-filter): Call elmo-pop3-debug.
3778 (elmo-network-authenticate-session): Bind
3779 elmo-pop3-debug-inhibit-logging as t.
3780 (elmo-network-setup-session): Call elmo-pop3-read-response with
3782 (elmo-pop3-read-msg): Ditto.
3783 (elmo-pop3-locked-p): Call elmo-pop3-debug.
3784 (elmo-pop3-read-body): Call elmo-pop3-unlock.
3785 (elmo-network-initialize-session): Call elmo-pop3-lock.
3786 (elmo-folder-close-internal): Don't clear location-alist slot.
3787 (elmo-folder-check): Clear location-alist slot.
3789 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
3791 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
3792 (elmo-pop3-send-command): Call elmo-pop3-lock.
3793 (elmo-pop3-read-response): Call elmo-pop3-unlock.
3794 (elmo-pop3-read-contents): Ditto.
3795 (elmo-pop3-lock): New function.
3796 (elmo-pop3-unlock): Ditto.
3797 (elmo-pop3-locked-p): Ditto.
3798 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
3801 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
3803 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
3805 * elmo-util.el (elmo-file-field-primitive-condition-match):
3806 New inline function (Don't fetch file content if "first" or "last").
3807 (elmo-file-field-condition-match): Use
3808 elmo-file-field-primitive-condition-match.
3810 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
3813 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
3814 (elmo-message-fetch-plugged): Fixed.
3816 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
3818 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
3820 * elmo.el (elmo-folder-move-messages): Bind
3821 elmo-inhibit-display-retrieval-progress as t while moving messages.
3823 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
3825 (elmo-inhibit-display-retrieval-progress): Ditto.
3827 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
3828 for retrieval progress;
3829 Don't display progress when total buffer size is smaller than
3830 elmo-display-retrieval-progress-threshold.
3831 (elmo-message-fetch-plugged): Don't display progress when
3832 elmo-inhibit-display-retrieval-progress is non-nil.
3834 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
3835 for retrieval progress;
3836 Don't display progress when literal size is smaller than
3837 elmo-display-retrieval-progress-threshold.
3838 (elmo-imap4-message-fetch): Don't display progress when
3839 elmo-inhibit-display-retrieval-progress is non-nil.
3841 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3843 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
3844 (elmo-imap4-find-next-line): Display progress whille literal fetching.
3845 (elmo-imap4-message-fetch): Likewise.
3847 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
3848 (elmo-shimbun-index-range-alist): Ditto.
3849 (elmo-shimbun-use-entire-index): Abolish.
3850 (shimbun-mua-use-entire-index): Ditto.
3851 (elmo-shimbun-folder): Added new slot `range'.
3852 (elmo-folder-initialize): Setup slot `range'.
3854 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
3856 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
3857 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
3858 (elmo-shimbun-get-headers): Use return value of
3859 `shimbun-article-expiration-days'.
3860 (elmo-folder-close-internal): Clean up last-check slot.
3862 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
3863 (elmo-pop3-total-size): New variable.
3864 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
3866 * elmo.el (elmo-folder-reserve-status-p): New method.
3868 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
3869 (elmo-shimbun-use-entire-index): New user option.
3870 (shimbun-elmo-mua): New class.
3871 (shimbun-mua-search-id): Define.
3872 (shimbun-mua-use-entire-index): Ditto.
3873 (elmo-shimbun-folder:last-check): New slot.
3874 (elmo-shimbun-headers-cache-header-list): Abolish.
3875 (elmo-shimbun-headers-cache-set-header-list): Ditto.
3876 (elmo-shimbun-headers-cache-header-hash): Ditto.
3877 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
3878 (elmo-shimbun-headers-cache-last-check): Ditto.
3879 (elmo-shimbun-headers-cache-set-last-check): Ditto.
3880 (elmo-shimbun-headers-check-p): Rewrite.
3881 (elmo-shimbun-msgdb-to-headers): New function.
3882 (elmo-shimbun-get-headers): Rewrite.
3883 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
3884 (elmo-folder-open-internal): Get headers only if
3885 `elmo-shimbun-headers-check-p' is non-nil.
3886 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
3888 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
3889 (elmo-quit): Removed.
3891 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
3893 (elmo-msgdb-overview-entity-set-extra): Ditto.
3894 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
3896 * elmo-map.el (elmo-folder-status): Don't call
3897 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
3900 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3902 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
3903 of `elmo-msgdb-search-internal-primitive' when condition's car is
3906 2001-05-23 Kenichi OKADA <okada@opaopa.org>
3908 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
3910 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3912 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
3913 call `elmo-pipe-drain'.
3915 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
3917 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
3918 typo. (elmo-cache-folder -> elmo-mark-folder)
3920 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3922 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
3923 `elmo-message-fetch'.
3925 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3927 * elmo-net.el (elmo-message-encache): Fixed typo.
3928 (elmo-message-fetch-unplugged): Changed call
3929 `elmo-message-fetch-internal' without argument `outbuf'.
3931 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
3933 * elmo.el (elmo-message-encache): Define as generic function.
3934 (elmo-message-fetch-field): New generic function.
3935 (elmo-message-fetch-with-cache-process): Cause an error when
3936 fetch strategy is 'entire but only 'section cache is available.
3937 (toplevel): Fixed nmz folder definition.
3939 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
3940 (elmo-msgdb-resume-list-filename): Ditto.
3941 (elmo-queue-filename): Ditto.
3942 (elmo-enable-disconnected-operation): Changed default value to t.
3944 * elmo-util.el (elmo-cache-path-section-p): New function.
3945 (elmo-file-cache-get): Use it.
3946 (elmo-dop-queue-filename): Moved from elmo-dop.el.
3947 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
3948 (elmo-dop-queue-save): Ditto.
3950 * elmo-net.el (elmo-folder-status-unplugged): Call
3951 elmo-folder-status-dop.
3952 (elmo-folder-list-messages-unplugged): Implemented.
3953 (elmo-folder-delete-messages-unplugged): Define.
3954 (elmo-folder-msgdb-create): Define.
3955 (elmo-folder-msgdb-create-unplugged): Define.
3956 (elmo-folder-mark-as-read-unplugged): Ditto.
3957 (elmo-folder-unmark-read-unplugged): Ditto.
3958 (elmo-folder-mark-as-important-unplugged): Ditto.
3959 (elmo-folder-unmark-important-unplugged): Ditto.
3960 (elmo-message-encache): Ditto.
3962 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
3963 (elmo-dop-queue-save): Ditto.
3965 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
3966 `elmo-folder-msgdb-create'.
3967 (elmo-folder-append-buffer): Implemented unplugged operation.
3968 (elmo-folder-append-messages): Call parent method in unplugged status.
3969 (elmo-message-fetch-unplugged): Removed definition.
3970 (elmo-message-fetch-field): Implemented.
3972 * elmo-dop.el (toplevel): Require 'elmo-localdir.
3973 (elmo-dop-folder): Removed variable definition.
3974 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
3975 (elmo-dop-queue-flush): Implemented.
3976 (elmo-dop-queue-merge): Removed definition (TODO).
3977 (elmo-dop-spool-folder): New function.
3978 (elmo-dop-spool-folder-append-buffer): Ditto.
3979 (elmo-dop-spool-folder-list-messages): Ditto.
3980 (elmo-dop-list-deleting-messages): Ditto.
3981 (elmo-folder-append-buffer-dop): Ditto.
3982 (elmo-folder-delete-messages-dop): Ditto.
3983 (elmo-message-encache-dop): New inline function.
3984 (elmo-create-folder-dop): Ditto.
3985 (elmo-folder-mark-as-read-dop): Ditto.
3986 (elmo-folder-unmark-read-dop): Ditto.
3987 (elmo-folder-mark-as-important-dop): Ditto.
3988 (elmo-folder-unmark-important-dop): Ditto.
3989 (elmo-folder-status-dop): Fixed.
3990 (elmo-folder-append-buffer-dop-delayed): New function.
3991 (elmo-folder-delete-messages-dop-delayed): Ditto.
3992 (elmo-dop-msgdb): Ditto.
3994 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3996 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
3998 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4000 * elmo.el (elmo-folder-move-messages): Fixed problem when
4001 `dst-folder' is 'null.
4003 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4005 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
4006 instead of current mark.
4008 * elmo-multi.el (elmo-folder-list-importants-internal): No
4009 operation if importants is not list.
4011 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
4012 Return t if importants is not list.
4014 * elmo-map.el (elmo-map-folder-list-importants): Define.
4015 (elmo-folder-list-importants-internal): Check return value of
4016 `elmo-map-folder-list-importants-internal'.
4018 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
4020 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
4022 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
4024 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
4026 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
4028 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
4029 (Patch is provided by <kita@coe.nttdata.co.jp>).
4031 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4033 * elmo.el (elmo-folder-synchronize): Don't check important mark in
4036 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4038 * elmo.el (elmo-message-fetch): Define.
4039 (elmo-message-fetch-with-cache-process): New generic method.
4040 (elmo-message-fetch-internal): New generic method.
4041 (elmo-folder-synchronize):
4043 * elmo-archive.el (elmo-message-fetch-internal): Define.
4044 (elmo-message-fetch): Eliminated.
4046 * elmo-localdir.el (elmo-message-fetch-internal): Define.
4047 (elmo-message-fetch): Eliminated.
4049 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
4051 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
4053 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
4054 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
4056 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
4057 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
4059 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
4061 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
4063 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
4065 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
4066 (elmo-message-fetch-unplugged): New generic method.
4067 (elmo-message-fetch-internal): Remove cache process (Renamed from
4068 `elmo-message-fetch').
4070 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
4071 (elmo-message-fetch): Eliminated.
4072 (elmo-message-fetch-unplugged): Ditto.
4074 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
4076 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4078 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
4079 of `to-be-deleted' from number-alist to number-list.
4081 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4083 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
4084 (elmo-folder-mark-as-important): Ditto.
4086 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
4088 * elmo.el (elmo-folder): Added process-duplicates slot.
4090 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
4091 (elmo-folder-unmark-read): Ditto.
4092 (elmo-folder-unmark-important): Ditto.
4093 (elmo-folder-mark-as-important): Ditto.
4095 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
4096 duplicated message processing.
4098 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
4100 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4102 * elmo-util.el (elmo-list-subdirectories-1): New function.
4103 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
4104 (elmo-mapcar-list-of-list): New function.
4106 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
4107 `elmo-mapcar-list-of-list' instead of `mapcar'.
4109 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
4111 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
4112 `elmo-have-link-count'. Return the fully qualified folder name.
4114 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
4116 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
4117 (elmo-shimbun-headers-cache): New internal variable.
4118 (elmo-shimbun-headers-cache-header-list): New inline function.
4119 (elmo-shimbun-headers-cache-set-header-list): Ditto.
4120 (elmo-shimbun-headers-cache-header-hash): Ditto.
4121 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
4122 (elmo-shimbun-headers-cache-last-check): Ditto.
4123 (elmo-shimbun-headers-cache-set-last-check): Ditto.
4124 (elmo-shimbun-lapse-seconds): Ditto.
4125 (elmo-shimbun-headers-cache-check-p): Ditto.
4126 (elmo-shimbun-get-headers): New function.
4127 (elmo-folder-open-internal): Call it.
4128 (elmo-quit): Define (Clear headers-cache).
4130 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
4132 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
4134 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
4135 (elmo-msgdb-flist-save): Ditto.
4137 * elmo-shimbun.el (elmo-folder-list-subfolders):
4138 Use `shimbun-groups' instead of `shimbun-groups-internal'.
4139 (elmo-folder-exists-p): Ditto.
4141 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
4142 argument for `shimbun-header-insert'.
4144 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
4146 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
4149 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
4150 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
4152 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
4154 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
4155 (elmo-folder-plugged-p): Define.
4156 (elmo-folder-set-plugged): Ditto.
4157 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
4158 (elmo-folder-list-messages-internal): Return t if unplugged.
4159 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
4161 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
4162 when elmo-folder-list-messages-internal method of children returns t.
4164 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
4166 (elmo-folder-open-internal): Don't update if unplugged status.
4168 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
4170 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
4173 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
4175 * elmo-util.el (elmo-file-cache-save): Ignore errors.
4177 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
4180 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
4182 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
4184 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
4185 (elmo-folder-open-internal): Set up headers slot.
4186 (elmo-folder-check): Call elmo-folder-close-internal and
4187 elmo-folder-open-internal.
4188 (elmo-folder-close-internal): Clean up headers slot.
4190 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
4192 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
4193 exactly folder list.
4194 (elmo-folder-append-messages): Fixed append archive with prefix.
4196 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
4197 make temp files with start-number.
4199 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
4201 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4203 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
4204 argument `visible-only'.
4205 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
4208 * elmo-pop3.el (elmo-folder-open-internal): Check
4209 `elmo-inhibit-number-mapping' is non-nil.
4211 * elmo-pipe.el (elmo-folder-status): Fixed.
4213 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
4215 * elmo.el (elmo-dop-queue-flush): Added autload setting.
4217 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
4218 (elmo-folder-open-internal): Setup `header-hash' slot.
4219 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
4221 (elmo-map-message-fetch): Ditto.
4223 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
4225 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
4226 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
4227 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
4228 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
4230 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
4232 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
4234 * sb-airs.el: Added footer.
4236 * shimbun.el (shimbun-article): Define as luna-method.
4238 * sb-tcup.el: New file.
4240 * sb-airs.el (toplevel): Require 'sb-mhonarc.
4241 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
4243 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4245 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
4246 (shimbun-get-headers): Ditto.
4248 * elmo.el: Moved obsolete variable definitions from
4249 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
4251 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
4254 * shimbun.el: New file.
4256 * elmo-shimbun.el: New file.
4258 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
4259 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
4260 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
4261 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
4263 2001-03-27 Kenichi OKADA <okada@opaopa.org>
4265 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
4268 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
4270 * elmo.el (elmo-folder-msgdb): Define as macro.
4271 (elmo-folder-open): Added argument `load-msgdb'.
4272 (elmo-generic-folder-open): Ditto.
4273 (elmo-folder-encache): New function.
4275 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
4277 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
4279 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
4280 Eliminated argument FOLDER and added argument MSGDB.
4281 (elmo-dop-queue-load): Moved from elmo-dop.el.
4282 (elmo-dop-queue-save): Ditto.
4284 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
4286 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
4288 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
4289 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
4290 (elmo-filter-folder-list-importants-internal): Ditto.
4292 * elmo-map.el (elmo-folder-pack-number): Ditto.
4294 * elmo-mime.el (elmo-mime-message-display): Ditto.
4296 * elmo.el (elmo-generic-folder-commit): Ditto.
4297 (elmo-folder-list-unreads): Ditto.
4298 (elmo-folder-list-importants): Ditto.
4299 (elmo-generic-folder-commit): Ditto.
4300 (elmo-message-set-mark): Ditto.
4301 (elmo-generic-folder-append-msgdb): Ditto.
4302 (elmo-folder-synchronize): Ditto.
4303 (elmo-folder-messages): Ditto.
4304 (elmo-init): Call elmo-dop-queue-load.
4305 (elmo-folder-list-messages): Ditto.
4307 * elmo-nntp.el (elmo-folder-update-number): Ditto.
4308 (elmo-nntp-folder-process-crosspost): Ditto.
4309 (elmo-folder-list-unreads-internal): Ditto.
4311 * elmo-dop.el: Removed old functions.
4313 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
4315 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
4316 `folder' to `msgdb'.
4318 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
4320 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
4321 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
4323 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
4326 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
4328 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
4331 * mmimap.el (toplevel): Require 'mime-parse and 'static.
4332 (mmimap-parse-parameters-from-list): Define as alias for
4333 `mime-decode-parameter-plist' if it is defined as function.
4334 (mmimap-make-mime-entity): Added argument `number'.
4335 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
4337 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
4339 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
4341 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
4343 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
4345 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
4347 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
4349 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
4350 when elmo-imap4-default-authenticate-type is nil.
4351 (elmo-folder-list-subfolders): Ditto
4352 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
4353 (elmo-imap4-fetch-callback-1-subr): Renamed from
4354 `elmo-imap4-fetch-callback-1' and define as inline function.
4355 (elmo-imap4-fetch-callback-1):
4356 Renamed from `elmo-imap4-fetch-callback'.
4357 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
4359 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
4360 msgdb path (To keep compatibility with main trunk).
4362 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
4364 * elmo-util.el (elmo-make-file-cache): Moved position of
4367 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
4368 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
4369 instead of `elmo-pop3-inhibit-uidl'.
4370 (elmo-folder-exists-p): Ditto.
4371 (elmo-pop3-folder-list-messages): Ditto.
4373 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
4374 instead of `elmo-pop3-inhibit-uidl'.
4375 (elmo-folder-status): Ditto.
4377 * elmo-dop.el (elmo-dop-folder): New variable.
4378 (elmo-dop-lock-message): Eliminated.
4379 (elmo-dop-unlock-message): Ditto.
4380 (elmo-dop-lock-list-load): Ditto.
4381 (elmo-dop-lock-list-save): Ditto.
4382 (elmo-dop-delete-folder): Ditto.
4383 (elmo-dop-rename-folder): Ditto.
4385 * elmo.el: Removed incomplete commentary.
4387 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
4389 * elmo.el (toplevel): Require 'elmo-version first;
4390 for little `recursive-load-depth' settings.
4391 Fix "ends here" comment.
4393 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
4395 * elmo-util.el (toplevel): Require 'poem;
4396 Some functions are moved from elmo-cache.el.
4398 * elmo-net.el (toplevel): Require 'elmo-cache.
4400 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
4402 * elmo.el (toplevel): Ditto.
4404 * elmo-cache.el: Rewrite with luna;
4405 Some functions are moved to elmo-util.el.
4407 * elmo-internal.el (elmo-internal-folder-list): New variable.
4408 (elmo-internal-folder-initialize): Rewrite.
4409 (elmo-folder-list-subfolders): Ditto.
4411 * elmo-cache.el (elmo-cache-search-all): Eliminated.
4412 (elmo-cache-collect-sub-directories): Ditto.
4414 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
4416 * elmo-version.el (elmo-version): Up to 2.5.8.
4418 * elmo.el (elmo-folder-list-messages-mark-match): New function.
4420 * elmo-util.el (elmo-list-insert): New function.
4422 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
4424 * elmo.el (elmo-init): New function.
4425 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
4427 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
4428 (Renamed from `elmo-localdir-header-chop-length').
4430 * elmo-pop3.el (elmo-pop3-use-cache,
4431 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
4433 * elmo-nntp.el (elmo-message-fetch): Define.
4434 (elmo-message-fetch-unplugged): Ditto.
4435 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
4436 (elmo-nntp-use-cache): Ditto.
4437 (elmo-nntp-max-number-precedes-list-active): Ditto.
4439 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
4441 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
4442 `elmo-msgdb-insert-file-header'.
4443 Use `elmo-msgdb-file-header-chop-length'.
4445 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
4448 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
4449 (elmo-cache-msgdb-create-overview-entity-from-file): Use
4450 `elmo-msgdb-insert-file-header'.
4452 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
4454 Define obsolete variables with `elmo-define-obsolete-variable',
4456 * elmo-util.el (elmo-warning-buffer-name): New constant.
4457 (elmo-warning): New function.
4458 (elmo-obsolete-variable-alist): New variable.
4459 (elmo-obsolete-variable-show-warnings): New variable.
4460 (elmo-define-obsolete-variable): New function.
4461 (elmo-resque-obsolete-variable): Ditto.
4462 (elmo-resque-obsolete-variables): Ditto.
4464 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
4466 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
4469 * elmo-pop3.el, elmo-nntp.el: Use custom.
4471 2000-02-20 Kenichi OKADA <okada@opaopa.org>
4473 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
4474 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
4476 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
4478 * Luna-fy Kenichi OKADA's following changes.
4479 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
4481 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
4483 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
4485 * elmo-util.el (elmo-display-progress): Prefer
4486 `progress-feedback-with-label' to `lprogress-display'.
4488 2000-02-20 Kenichi OKADA <okada@opaopa.org>
4490 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
4492 2000-02-19 Kenichi OKADA <okada@opaopa.org>
4494 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
4495 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
4496 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
4497 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
4498 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
4499 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
4500 * elmo-archive.el (elmo-archive-list-folder): Ditto.
4501 * elmo-filter.el (elmo-filter-list-folder): Ditto.
4502 * elmo-internal.el (elmo-internal-list-folder): Ditto.
4503 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
4504 * elmo-multi.el (elmo-multi-list-folder): Ditto.
4505 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
4506 * elmo-dop.el (elmo-dop-list-folder): Ditto.
4508 2000-02-17 Kenichi OKADA <okada@opaopa.org>
4510 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
4511 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
4513 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
4515 * elmo.el (elmo-folder-process-crosspost): New generic method.
4516 (elmo-folder-writable-p): Ditto.
4517 (elmo-folder-message-appendable-p): Eliminated.
4518 (elmo-generic-folder-append-msgdb): Rewrite.
4519 (elmo-newsgroups-hashtb): New internal variable.
4520 (elmo-crosspost-message-set): Eliminated.
4521 (elmo-crosspost-message-delete): Ditto.
4522 (elmo-setup-subscribed-newsgroups): New function.
4523 (elmo-crosspost-message-alist-modified): New internal variable.
4524 (elmo-crosspost-message-alist-load): New function (Renamed from
4525 `wl-crosspost-alist-load').
4526 (elmo-crosspost-message-alist-save): Ditto (Renamed from
4527 `wl-crosspost-alist-save').
4529 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
4531 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
4533 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
4534 elmo-newsgroups-hashtb).
4535 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
4536 `elmo-nntp-folder-update-crosspost-message-alist'.
4537 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
4538 `elmo-nntp-groups-hashtb'.
4539 (elmo-nntp-make-groups-hashtb): Eliminated.
4540 (elmo-nntp-parse-newsgroups): New function (Renamed from
4541 `wl-parse-newsgroups').
4542 (elmo-folder-creatable-p, elmo-folder-writable-p,
4543 elmo-folder-close-internal, elmo-folder-mark-as-read,
4544 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
4546 (elmo-nntp-folder-update-crosspost-message-alist): New function.
4548 * elmo-net.el (elmo-message-fetch): Check buffer size.
4550 * elmo-multi.el (elmo-multi-split-number-alist): New function.
4552 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
4554 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
4555 before `close' command.
4557 * elmo.el (elmo-folder-list-unreads-internal): Added argument
4558 `mark-alist' (All other related portions are changed).
4560 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
4562 * elmo-util.el (elmo-create-hash-size): Eliminated.
4563 (elmo-make-hash) Make a hash with `one less than a power of two'
4566 * elmo-vars.el (elmo-hash-minimum-size): New variable.
4567 (elmo-hash-maximum-size): Changed value.
4569 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
4571 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
4572 (elmo-mime-message-display-as-is): Ditto.
4574 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
4576 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
4577 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
4579 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
4581 * elmo-mark.el: New file.
4583 * elmo-internal.el: Rewrite (Almost empty).
4585 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
4587 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
4588 (mime-imap-entity-header-string): Ditto.
4589 (mmimap-entity-section): Rewrite.
4591 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4593 * elmo-nmz.el: New file.
4595 * elmo-pipe.el: Rewrite with luna.
4597 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
4599 * elmo-archive.el: Rewrite with luna.
4601 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
4602 (elmo-folder-list-importants-internal): Ditto.
4604 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
4606 * elmo-archive.el (elmo-archive-version): Abolish.
4607 (toplevel) Removed `boso' comment.
4609 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
4611 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
4612 elmo-msgdb-add-msgs-to-seen-list-subr;
4613 Changed argument seen-marks to unread-marks.
4615 * elmo-nntp.el: Rewrite with luna.
4617 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
4619 * elmo-filter.el: Rewrite with luna.
4621 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
4623 * elmo-pop3.el: Rewrite with luna.
4625 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
4627 * elmo-multi.el: Rewrite with luna.
4629 * elmo-vars.el (elmo-use-killed-list): Abolish.
4630 All other related portions are changed.
4631 (elmo-filename-replace-string-alist): Renamed from
4632 elmo-msgid-replace-string-alist.
4634 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
4636 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
4638 * elmo-map.el: New file.
4639 * elmo-maildir.el: Rewrite with luna.
4641 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
4643 * elmo.el: Changed meaning of `elmo-folder-commit'.
4644 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
4646 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4648 * elmo.el (elmo-folder-append-buffer): New function.
4649 (Renamed from `elmo-append-msg')
4651 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
4653 * elmo-mime.el: New file.
4655 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4657 * elmo-cache.el: Rewrite.
4659 2000-02-17 Kenichi OKADA <okada@opaopa.org>
4661 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
4663 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
4665 * elmo-vars.el (elmo): New group.
4666 (elmo-strict-diff-folder-regexp): New variable.
4668 * elmo-util.el (elmo-call-func): Abolish.
4669 (elmo-folder-get-type): Ditto.
4670 (elmo-*-get-spec): Ditto.
4671 (elmo-*-spec-*): Ditto.
4672 (elmo-imap4-identical-name-space-p): Ditto.
4673 (elmo-folder-identical-system-p): Ditto.
4674 (elmo-folder-direct-copy-alist): Ditto.
4675 (elmo-folder-direct-copy-p): Ditto.
4677 * elmo-pipe.el (elmo-pipe-folder): New luna class.
4678 (elmo-folder-initialize): Define.
4679 (elmo-folder-get-primitive-list): Ditto.
4681 * elmo-nntp.el (elmo-nntp-folder): New luna class.
4682 (elmo-folder-initialize): Define.
4683 Renamed `elmo-network-session-host-internal' to
4684 `elmo-network-session-server-internal'.
4686 * elmo-multi.el (elmo-multi-folder): New luna class.
4687 (elmo-folder-initialize): Define.
4688 (elmo-folder-get-primitive-list): Ditto.
4689 (elmo-folder-contains-type): Ditto.
4690 (elmo-message-use-cache-p): Ditto.
4692 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
4693 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
4695 * elmo-maildir.el (elmo-maildir-folder): New luna class.
4696 (elmo-folder-initialize): Define.
4698 * elmo-filter.el (elmo-filter-folder): New luna class.
4699 (elmo-folder-initialize): Define.
4700 (elmo-folder-get-primitive-list): Ditto.
4701 (elmo-folder-contains-type): Ditto.
4703 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
4705 * elmo-imap4.el: Rewrite with luna.
4707 * mmimap.el: New file.
4709 * mmelmo.el, mmelmo-imap4.el: Removed.
4711 * elmo-net.el: Ditto.
4713 * elmo-pop3.el (elmo-pop3-folder): New luna class.
4714 (elmo-folder-initialize): Define.
4716 * elmo-archive.el (elmo-archive-folder): New luna class.
4717 (elmo-folder-initialize): Define.
4719 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
4720 `elmo-folder-msgdb-path'.
4721 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
4724 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
4726 * elmo.el: New file.
4728 * elmo2.el: Renamed to elmo.el.
4731 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
4733 * elmo-cache.el (elmo-cache-expire-by-size): Count
4734 a disk usage for a cache file entry in KB even when
4735 its kind is a directory.
4737 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
4739 * elmo-version.el (elmo-version): Up to 2.5.7.
4741 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
4743 * elmo-version.el (elmo-version): Up to 2.5.6.
4745 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
4747 * elmo-version.el (elmo-version): Up to 2.5.5.
4749 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
4751 * elmo-imap4.el (elmo-network-authenticate-session):
4752 Fixed a logic for response checking.
4754 2000-12-15 Daiki Ueno <ueno@unixuser.org>
4756 * elmo-net.el: Add autoload settings for `starttls-negotiate',
4757 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
4758 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
4761 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
4762 for `starttls-open-stream' and `starttls-negotiate'.
4764 * elmo-nntp.el: Remove autoload settings for
4765 `starttls-open-stream' and `starttls-negotiate'.
4767 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
4768 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
4769 `luna-define-class' with `eval-and-compile'.
4771 2000-12-01 Kenichi OKADA <okada@opaopa.org>
4773 * elmo-util.el (elmo-read-search-condition-internal):
4774 Require an element of table for searching field.
4776 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
4778 * elmo-version.el (elmo-version): Up to 2.5.4.
4780 2000-11-26 Kenichi OKADA <okada@opaopa.org>
4782 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
4784 2000-11-24 Kenichi OKADA <okada@opaopa.org>
4786 * elmo-nntp.el (elmo-network-initialize-session): omitted.
4788 2000-11-22 Kenichi OKADA <okada@opaopa.org>
4790 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
4793 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
4795 * elmo-imap4.el (elmo-imap4-delete-folder):
4796 Send "close" before "delete" (Use commented out line).
4797 (elmo-imap4-rename-folder): Ditto.
4799 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
4800 folder string itself.
4801 (elmo-dop-list-deleted): New function.
4802 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
4805 * elmo-util.el (elmo-string-rassoc-all): New function.
4807 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
4809 * elmo-version.el (elmo-version): Up to 2.5.3.
4811 * elmo-net.el (elmo-network-get-session): Changed logic for
4812 checking process status.
4814 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
4816 Changed logic for checking process status.
4818 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
4820 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
4822 (elmo-network-setup-session): Set UIDL hash size according to
4823 the length of list response.
4824 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
4825 according to the length of list response;
4826 Return the length of list response.
4827 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
4829 2000-11-21 Kenichi OKADA <okada@opaopa.org>
4831 * elmo-imap4.el (toplevel): Require 'ssl.
4832 Add autoload 'starttls.
4833 * elmo-pop3.el (toplevel): Ditto.
4834 * elmo-nntp.el (toplevel): Ditto.
4836 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4838 * elmo-imap4.el (toplevel): defun at compile time.
4839 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
4840 sasl-next-step, sasl-step-data, sasl-step-set-data.
4841 * elmo-pop3.el (toplevel): Ditto.
4843 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4845 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
4847 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4849 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
4851 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
4852 and `elmo-pop-auth-apop'.
4854 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4856 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
4858 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4860 * elmo-pop3.el (elmo-network-authenticate-session): Split
4861 encoded response value.
4863 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4865 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
4866 `elmo-pop3-force-login'.
4867 Redefine `sasl-mechanisms'.
4868 * elmo-vars.el (elmo-pop3-force-login): Ditto.
4870 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4872 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
4873 Delete `elmo-imap4-authenticator-alist'.
4874 (elmo-imap4-auth-cram-md5): Delete.
4875 (elmo-imap4-auth-digest-md5): Delete.
4877 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4879 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
4880 (elmo-pop3-auth-scram-md5): Ditto.
4881 (elmo-pop3-auth-cram-md5): Ditto.
4883 2000-11-19 Kenichi OKADA <okada@opaopa.org>
4885 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
4886 Delete `elmo-pop3-authenticator-alist'.
4888 2000-11-19 Kenichi OKADA <okada@opaopa.org>
4890 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
4892 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
4894 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4896 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
4898 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
4900 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
4901 Fixed problem when `elmo-pop3-use-uidl' is nil.
4902 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
4904 2000-11-19 Kenichi OKADA <okada@opaopa.org>
4906 * elmo-version.el (elmo-version): Up to 2.5.2.
4908 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
4910 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
4912 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
4913 (elmo-pop3-msgdb-create-as-numlist): Use it.
4915 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
4916 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
4918 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
4919 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
4921 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
4923 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
4924 when elmo-mark-as-read is called with second argument nil.
4926 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
4928 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
4929 Moved to elmo-util.el.
4931 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
4932 Moved from elmo-pipe.el
4934 * elmo-archive.el (elmo-archive-call-process): Enclose with
4937 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
4938 "RFC822" (because RFC822.PEEK is obsolete).
4939 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
4941 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
4943 * elmo-archive.el (elmo-archive-call-process): Don't check for
4944 the exit status when Nemacs is running.
4946 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
4948 * elmo-net.el (elmo-network-session-password-key): Don't set default to
4951 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
4952 (elmo-pop3-get-spec): Set default of auth to 'user.
4954 * elmo-imap4.el (elmo-imap4-session-check):
4955 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
4956 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
4957 (elmo-imap4-auth-login): New function; Revival.
4958 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
4959 `elmo-imap4-auth-login'.
4961 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
4963 * elmo2.el (toplevel): Move `product-provide' declare.
4964 * mmelmo.el (toplevel): Ditto.
4966 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4968 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
4970 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
4972 * elmo-util.el (elmo-folder-get-store-type): New function.
4973 (elmo-folder-direct-copy-p): Use it.
4975 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4977 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
4978 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
4979 and result of `elmo-imap4-use-flag-p'.
4980 (elmo-imap4-fetch-callback-1): Set mark according to
4981 the result of `elmo-imap4-use-flag-p'.
4983 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
4985 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
4986 (elmo-generic-list-folder-unread): Ditto.
4987 (elmo-folder-get-info): Ditto.
4988 (elmo-folder-set-info-max-by-numdb): Ditto.
4989 (elmo-folder-get-info-max): Ditto.
4990 (elmo-folder-get-info-length): Ditto.
4991 (elmo-folder-get-info-unread): Ditto.
4992 (elmo-folder-info-make-hashtb): Ditto.
4994 * elmo2.el: Removed above functions.
4996 2000-11-21 Kenichi OKADA <okada@opaopa.org>
4998 * elmo-imap4.el (toplevel): Require 'ssl.
4999 Add autoload 'starttls.
5000 * elmo-pop3.el (toplevel): Ditto.
5001 * elmo-nntp.el (toplevel): Ditto.
5003 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5005 * elmo-imap4.el (toplevel): defun at compile time.
5006 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
5007 sasl-next-step, sasl-step-data, sasl-step-set-data.
5008 * elmo-pop3.el (toplevel): Ditto.
5010 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5012 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
5014 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5016 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
5018 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
5019 and `elmo-pop-auth-apop'.
5021 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5023 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
5025 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5027 * elmo-pop3.el (elmo-network-authenticate-session): Split
5028 encoded response value.
5030 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5032 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
5033 `elmo-pop3-force-login'.
5034 Redefine `sasl-mechanisms'.
5035 * elmo-vars.el (elmo-pop3-force-login): Ditto.
5037 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5039 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
5040 Delete `elmo-imap4-authenticator-alist'.
5041 (elmo-imap4-auth-cram-md5): Delete.
5042 (elmo-imap4-auth-digest-md5): Delete.
5044 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5046 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
5047 (elmo-pop3-auth-scram-md5): Ditto.
5048 (elmo-pop3-auth-cram-md5): Ditto.
5050 2000-11-19 Kenichi OKADA <okada@opaopa.org>
5052 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
5053 Delete `elmo-pop3-authenticator-alist'.
5055 2000-11-19 Kenichi OKADA <okada@opaopa.org>
5057 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
5059 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
5062 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
5064 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
5066 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
5068 * elmo-nntp.el (elmo-nntp-get-folders-info):
5069 Fixed problem when '\' character is contained in user-id.
5070 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
5073 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5075 * elmo-imap4.el (elmo-imap4-delete-folder):
5076 Send "close" before "delete" (Use commented out line).
5077 (elmo-imap4-rename-folder): Ditto.
5079 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
5080 folder string itself.
5081 (elmo-dop-list-deleted): New function.
5082 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
5085 * elmo-util.el (elmo-string-rassoc-all): New function.
5087 * elmo-version.el (elmo-version): Up to 2.5.1.
5089 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
5091 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
5093 * elmo-internal.el (elmo-internal-search): Fix last change.
5095 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5097 * elmo-internal.el (elmo-internal-search): Rewrite.
5098 (Fixed problem which is pointed out by Akihiro MOTOKI
5099 <motoki@da.jp.nec.com>)
5101 * elmo-version.el (elmo-version): Up to 2.5.0.
5103 2000-11-06 Kenichi OKADA <okada@opaopa.org>
5105 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
5107 2000-11-06 Kenichi OKADA <okada@opaopa.org>
5109 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
5110 non-nil, make hierarchy.
5112 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
5114 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
5115 `elmo-pop3-use-uidl' must be bound to nil.
5116 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
5118 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
5120 * elmo-util.el (elmo-copy-file): Don't cause an error after
5121 `add-name-to-file' failed.
5123 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
5124 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
5126 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
5128 * elmo-version.el (elmo-version): Up to 2.3.93.
5130 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5132 * elmo-util.el (elmo-flatten): New function.
5134 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
5136 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
5138 * elmo-cache.el (toplevel): Ditto.
5139 * elmo-database.el (toplevel): Ditto.
5140 * elmo-date.el (toplevel): Ditto.
5141 * elmo-dop.el (toplevel): Ditto.
5142 * elmo-filter.el (toplevel): Ditto.
5143 * elmo-imap4.el (toplevel): Ditto.
5144 * elmo-internal.el (toplevel): Ditto.
5145 * elmo-localdir.el (toplevel): Ditto.
5146 * elmo-localnews.el (toplevel): Ditto.
5147 * elmo-maildir.el (toplevel): Ditto.
5148 * elmo-msgdb.el (toplevel): Ditto.
5149 * elmo-multi.el (toplevel): Ditto.
5150 * elmo-net.el (toplevel): Ditto.
5151 * elmo-nntp.el (toplevel): Ditto.
5152 * elmo-pipe.el (toplevel): Ditto.
5153 * elmo-pop3.el (toplevel): Ditto.
5154 * elmo-util.el (toplevel): Ditto.
5155 * elmo-vars.el (toplevel): Ditto.
5156 * elmo2.el (toplevel): Ditto.
5157 * mmelmo-imap4.el (toplevel): Ditto.
5158 * mmelmo.el (toplevel): Ditto.
5160 * elmo-version.el (elmo-version): Move to top.
5162 * elmo-cache.el (toplevel): Fixed multiple Author header format.
5163 * elmo-imap4.el (toplevel): Ditto.
5164 * elmo-localdir.el (toplevel): Ditto.
5165 * elmo-msgdb.el (toplevel): Ditto.
5166 * elmo-nntp.el (toplevel): Ditto.
5167 * elmo-pop3.el (toplevel): Ditto.
5168 * elmo-version.el (toplevel): Ditto.
5170 * elmo-localnews.el (toplevel): Added Keyword header.
5172 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
5174 * elmo-version.el (product-version-as-string): Defined using
5178 * elmo-localdir.el (toplevel): Updated copyright notice.
5179 * elmo-version.el (toplevel): Ditto.
5180 * elmo-msgdb.el (toplevel): Ditto.
5181 * elmo-imap4.el (toplevel): Ditto.
5182 * elmo-nntp.el (toplevel): Ditto.
5183 * elmo-pop3.el (toplevel): Ditto.
5185 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
5187 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
5190 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
5191 parameter value (It sometimes contains raw kanji).
5193 2000-10-28 Kenichi OKADA <okada@opaopa.org>
5195 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
5196 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
5198 2000-10-28 Kenichi OKADA <okada@opaopa.org>
5200 * elmo-imap4.el (elmo-network-initialize-session): Fix.
5202 2000-10-28 Kenichi OKADA <okada@opaopa.org>
5204 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
5205 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
5207 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
5209 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
5210 value if selecting folder succceeded.
5211 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
5213 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
5215 * elmo-util.el (elmo-make-directory): Fixed permission lateral
5218 * elmo-util.el (elmo-string-matched-member): New function.
5220 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
5222 * elmo-util.el (elmo-unintern): New macro.
5223 (elmo-number-set-member): Fixed docstring.
5225 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
5228 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
5230 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
5231 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
5233 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
5235 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
5238 Return non-nil if selecting folder succeeded.
5239 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
5241 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
5243 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
5244 `file-name-completion' returns t.
5245 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
5246 (elmo-maildir-set-mark): Put `info' part to the files in the cur
5247 directory if it does not exist.
5248 (elmo-maildir-update-current): Use `while' instead of `mapcar'
5251 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
5253 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
5254 enclosure (It's harmful in unplugged status).
5256 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
5258 * mmelmo-1.el: Removed.
5260 * mmelmo-2.el: Ditto.
5262 * mmelmo-imap4-1.el: Ditto.
5264 * mmelmo-imap4-2.el: Ditto.
5266 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
5268 * mmelmo.el: Merged mmelmo-2.el.
5270 * elmo-version.el (elmo-version): Up to 2.3.92.
5272 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
5274 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
5275 elmo-update-number): Remove last period in "...done." message.
5276 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
5278 * elmo-cache.el (elmo-cache-expire-by-size,
5279 elmo-cache-get-sorted-cache-file-list,
5280 elmo-cache-msgdb-create-as-numlist): Ditto.
5281 * elmo-dop.el (elmo-dop-save-pending-messages,
5282 (elmo-dop-flush-pending-append-operations): Ditto.
5283 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
5284 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
5285 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
5286 (elmo-localdir-pack-number): Ditto.
5287 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
5288 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
5289 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
5290 mime-write-entity-content): Ditto.
5291 * pldap.el (ldap-search-basic): Ditto.
5293 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
5295 * elmo-version.el (elmo-version): Up to 2.3.91.
5297 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
5298 Only when filter is 'last'.
5300 * elmo-util.el (elmo-condition-atom-regexp): New constant.
5301 (elmo-condition-parse-search-value): Use it.
5302 (elmo-read-search-condition-internal): Quote value only when
5305 2000-10-18 Kenichi OKADA <okada@opaopa.org>
5307 * elmo2.el (elmo-generic-folder-diff): Fix.
5309 2000-10-17 Kenichi OKADA <okada@opaopa.org>
5311 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
5312 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
5313 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
5314 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
5315 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
5316 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
5318 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
5320 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
5323 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
5325 * elmo-version.el (elmo-version): Up to 2.3.90.
5327 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
5328 (elmo-imap4-list-folder-important): Ditto.
5330 2000-10-16 Kenichi OKADA <okada@opaopa.org>
5332 * elmo-nntp.el (elmo-network-initialize-session): Fix.
5334 2000-10-16 Kenichi OKADA <okada@opaopa.org>
5336 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
5338 2000-10-15 Kenichi OKADA <okada@opaopa.org>
5340 * elmo-nntp.el (elmo-network-initialize-session):
5341 Add starttls negotiation.
5343 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5345 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
5347 (elmo-network-setup-session): Define.
5348 Call `elmo-nntp-send-mode-reader' when session opened.
5350 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
5352 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
5354 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
5356 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
5357 an invalid SPACE character ahead of `SEARCH' command. Move
5358 a valid SPACE character following `SEARCH' from conditional
5359 `format' arguments to control-strings.
5361 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
5363 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
5366 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
5368 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
5370 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
5371 `w32-get-true-file-link-count' as t.
5373 * elmo-imap4.el (elmo-imap4-read): Abolished.
5374 (Renamed to `elmo-read' and moved to elmo-util.el)
5375 All other related portions are changed.
5377 * elmo-util.el (elmo-read): New function.
5378 (elmo-condition-parse-search-value): Use it.
5380 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5382 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
5384 * elmo-nntp.el (elmo-nntp-session): Define.
5385 (elmo-nntp-setting): Abolished.
5386 All other related portions are changed.
5387 (elmo-nntp-get-server-command): Changed argument.
5388 (elmo-nntp-set-server-command): Ditto.
5389 (elmo-nntp-xover-p): Ditto.
5390 (elmo-nntp-set-xover): Ditto.
5391 (elmo-nntp-listgroup-p): Ditto.
5392 (elmo-nntp-set-listgroup): Ditto.
5393 (elmo-nntp-list-active-p): Ditto.
5394 (elmo-nntp-set-list-active): Ditto.
5395 (elmo-nntp-xhdr-p): Ditto.
5396 (elmo-nntp-set-xhdr): Ditto.
5397 (elmo-nntp-flush-connection): Abolished.
5398 (elmo-nntp-get-connection): Abolished.
5399 (elmo-nntp-get-session): New function.
5400 (elmo-network-initialize-session): Defined.
5401 (elmo-network-authenticate-session): Ditto.
5402 (elmo-nntp-send-mode-reader): Changed argument.
5403 (elmo-nntp-send-command): Changed argument.
5404 All other related portions are changed.
5405 (elmo-nntp-read-response): Ditto.
5406 (elmo-nntp-read-raw-response): Ditto.
5407 (elmo-nntp-read-contents): Ditto.
5408 (elmo-nntp-read-body): Ditto.
5409 (elmo-nntp-goto-folder): Abolished.
5410 (elmo-nntp-select-group): New function.
5411 All other related portions are changed.
5412 (This function substitutes `elmo-nntp-goto-folder')
5413 (elmo-nntp-msgdb-create-by-header): Rewrite.
5414 (elmo-nntp-get-overview): Eliminated.
5415 (elmo-nntp-get-message): Ditto.
5416 (elmo-nntp-open-connection) Abolished.
5417 (elmo-nntp-read-msg): Rewrite.
5418 (elmo-nntp-post): Ditto.
5419 (elmo-nntp-send-data): Abolished.
5420 (elmo-nntp-send-buffer): New function.
5421 (elmo-nntp-send-data-line): Define as inline function.
5422 (elmo-nntp-get-folders-info-prepare): Use session as key.
5423 (elmo-nntp-groups-read-response): Changed argument.
5424 (elmo-nntp-retrieve-headers): Ditto.
5425 (elmo-nntp-msgdb-create-message): Ditto.
5427 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
5428 when searching by 'since' or 'before'.
5430 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5432 * elmo-version.el (toplevel): Use product-version-as-string for set
5433 verstion-string, if defined.
5435 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
5437 * elmo-util.el: Doc fixes.
5439 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5441 * elmo-archive.el (toplevel): Use product-provide.
5442 * elmo-cache.el (toplevel): Ditto.
5443 * elmo-database.el (toplevel): Ditto.
5444 * elmo-date.el (toplevel): Ditto.
5445 * elmo-dop.el (toplevel): Ditto.
5446 * elmo-filter.el (toplevel): Ditto.
5447 * elmo-imap4.el (toplevel): Ditto.
5448 * elmo-internal.el (toplevel): Ditto.
5449 * elmo-localdir.el (toplevel): Ditto.
5450 * elmo-localnews.el (toplevel): Ditto.
5451 * elmo-maildir.el (toplevel): Ditto.
5452 * elmo-msgdb.el (toplevel): Ditto.
5453 * elmo-multi.el (toplevel): Ditto.
5454 * elmo-net.el (toplevel): Ditto.
5455 * elmo-nntp.el (toplevel): Ditto.
5456 * elmo-pipe.el (toplevel): Ditto.
5457 * elmo-pop3.el (toplevel): Ditto.
5458 * elmo-util.el (toplevel): Ditto.
5459 * elmo-vars.el (toplevel): Ditto.
5460 * elmo2.el (toplevel): Ditto.
5461 * mmelmo-1.el (toplevel): Ditto.
5462 * mmelmo-2.el (toplevel): Ditto.
5463 * mmelmo-imap4-1.el (toplevel): Ditto.
5464 * mmelmo-imap4-2.el (toplevel): Ditto.
5465 * mmelmo-imap4.el (toplevel): Ditto.
5466 * mmelmo.el (toplevel): Ditto.
5468 2000-10-10 Kenichi OKADA <okada@opaopa.org>
5470 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
5471 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
5473 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
5475 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
5477 (elmo-multi-split-number-alist): Ditto.
5479 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5481 * elmo-version.el: New file. Use product.el.
5482 * elmo2.el: Add (require 'elmo-version).
5483 * elmo-vars.el (elmo-appname, elmo-version): Move to
5486 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5488 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
5489 `elmo-msgdb-expand-path'.
5490 (elmo-msgdb-load): Ditto.
5491 Abolished 2nd argument. If 1st argument is not string, treat as spec.
5492 (elmo-generic-list-folder-unread): Rewrite.
5493 (elmo-generic-list-folder-important): Changed argument.
5494 (elmo-list-folder-unread): Ditto.
5495 (elmo-list-folder-important): Ditto.
5496 (elmo-folder-diff): Rewrite.
5497 (elmo-generic-folder-diff): New function.
5498 (elmo-multi-get-number-alist-list): Abolished
5499 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
5500 (elmo-multi-folder-diff): Moved to elmo-multi.el
5501 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
5503 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
5504 `elmo-msgdb-expand-path'.
5505 (elmo-pop3-msgdb-create-as-numlist): Ditto.
5506 (elmo-pop3-read-msg): Ditto.
5507 (elmo-pop3-delete-msgs): Ditto.
5508 (elmo-pop3-folder-diff): New alias.
5510 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
5511 `elmo-msgdb-expand-path'.
5512 (elmo-pipe-list-folder-unread): Changed arguments.
5513 (elmo-pipe-list-folder-important): Ditto.
5514 (elmo-pipe-folder-diff): New alias.
5516 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
5517 `elmo-msgdb-expand-path'.
5518 (elmo-nntp-max-of-folder): Ditto.
5519 (elmo-nntp-msgdb-create): Ditto.
5520 (elmo-nntp-delete-msgs): Ditto.
5521 (elmo-nntp-folder-diff): New alias.
5523 * elmo-multi.el (elmo-multi-folder-diff): New function.
5524 (elmo-multi-split-mark-alist): Ditto.
5525 (elmo-multi-split-number-alist): Ditto.
5526 (elmo-multi-mark-alist-list): Abolished (Renamed to
5527 elmo-multi-split-mark-alist).
5528 (elmo-multi-list-folder-unread): Rewrite.
5529 (elmo-multi-list-folder-important): Ditto.
5530 (elmo-multi-list-folder): Set `spec' as 1st argument for
5531 `elmo-msgdb-expand-path'.
5532 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
5533 instead of `elmo-multi-get-number-alist-list'.
5535 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
5536 If 1st argument is not string, treat as spec.
5537 (elmo-list-folder-by-location): Set `spec' as 1st argument for
5538 `elmo-msgdb-expand-path'.
5539 (elmo-msgdb-flist-load): Ditto.
5540 (elmo-msgdb-flist-save): Ditto.
5541 (elmo-msgdb-delete-path): Ditto.
5542 (elmo-msgdb-rename-path): Ditto.
5544 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
5545 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5546 (elmo-maildir-delete-mark-msgs): Ditto.
5547 (elmo-maildir-msgdb-create): Ditto.
5548 (elmo-maildir-read-msg): Ditto.
5549 (elmo-maildir-delete-msgs): Ditto.
5550 (elmo-maildir-list-folder-subr): Ditto.
5551 (elmo-maildir-search): Ditto.
5552 (elmo-maildir-get-msg-filename): Ditto.
5553 (elmo-maildir-pack-number): Ditto.
5554 (elmo-maildir-folder-diff): New alias.
5556 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
5558 * elmo-localdir.el (elmo-localdir-list-folder-subr):
5559 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5560 (elmo-localdir-folder-diff): New alias.
5562 * elmo-internal.el (elmo-internal-list-folder-subr):
5563 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5564 (elmo-internal-list-folder-by-location): Ditto.
5565 (elmo-internal-msgdb-create): Ditto.
5566 (elmo-internal-delete-msgs): Ditto.
5567 (elmo-internal-read-msg): Ditto.
5568 (elmo-internal-folder-diff): New alias.
5570 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
5571 (elmo-imap4-list-folder): Set `spec' as 1st argument for
5572 `elmo-msgdb-expand-path'.
5573 (elmo-imap4-list-folder-unread): Changed arguments.
5574 (elmo-imap4-list-folder-important): Ditto.
5576 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
5577 (elmo-filter-list-folder-important): Ditto.
5578 (elmo-filter-folder-diff): New function.
5580 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
5582 * elmo-cache.el (elmo-cache-list-folder):
5583 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5584 (elmo-cache-copy-msgs): Ditto.
5585 (elmo-cache-folder-diff): New alias.
5587 * elmo-archive.el (elmo-archive-list-folder-subr):
5588 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5589 (elmo-archive-get-archive-name): Ditto.
5590 (elmo-archive-create-file): Ditto.
5591 (elmo-archive-append-msg): Ditto.
5592 (elmo-archive-copy-msgs): Ditto.
5593 (elmo-archive-copy-msgs-froms): Ditto.
5594 (elmo-archive-get-msg-filename): Ditto.
5595 (elmo-archive-folder-diff): New alias.
5597 2000-10-06 Daiki Ueno <ueno@unixuser.org>
5599 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
5600 (elmo-pop3-stream-type-alist): New variable.
5601 (elmo-nntp-stream-type-alist): New variable.
5603 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
5604 (elmo-kill-buffer): Ditto.
5605 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
5606 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
5607 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
5608 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
5609 (elmo-imap4-get-spec): Take into account
5610 `elmo-imap4-stream-type-alist'.
5612 2000-10-06 Kenichi OKADA <okada@opaopa.org>
5614 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
5615 (elmo-nntp-list-folders-get-cache): Ditto.
5617 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
5619 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
5620 character before 'uid'.
5622 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
5624 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
5626 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
5628 * elmo-util.el (elmo-number-set-member): New function.
5629 (elmo-number-set-append-list): Ditto.
5630 (elmo-number-set-append): Ditto.
5632 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
5633 Use `elmo-number-set-member'.
5634 (elmo-living-messages): Ditto.
5635 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
5636 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
5638 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
5639 (elmo-imap4-add-to-cont-list): Abolished.
5640 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
5641 instead of elmo-imap4-add-to-cont-list.
5643 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
5644 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
5646 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
5648 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5650 * elmo-util.el (elmo-condition-parse-search-value):
5653 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5655 * elmo-util.el (elmo-condition-find-key-internal): New function.
5656 (elmo-condition-find-key): Ditto.
5658 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
5659 (elmo-msgdb-search-internal): Ditto.
5660 (elmo-msgdb-search): Ditto.
5662 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5664 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
5665 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
5667 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
5668 (elmo-nntp-search-primitive): Fixed problem when condition is
5671 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
5673 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
5674 (elmo-nntp-xhdr-p): New macro.
5675 (elmo-nntp-set-xhdr): Ditto.
5676 (elmo-nntp-parse-xhdr-response): New function.
5677 (elmo-nntp-retrieve-field): Ditto.
5678 (elmo-nntp-search-primitive): Ditto.
5679 (elmo-nntp-search): Implemented.
5681 * elmo-date.el (elmo-date-make-sortable-string): New macro.
5683 * elmo-archive.el (elmo-archive-search): Set all number list to
5684 `elmo-archive-field-condition-match'
5686 * elmo-localdir.el (elmo-localdir-search): Likewise.
5688 * elmo-maildir.el (elmo-maildir-search): Likewise.
5690 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
5692 * elmo-msgdb.el (elmo-living-messages): New function.
5693 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
5694 * elmo-cache.el (elmo-cache-list-folder): Ditto.
5695 * elmo-dop.el (elmo-dop-list-folder): Ditto.
5696 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
5697 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
5698 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
5699 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
5700 * elmo-multi.el (elmo-multi-list-folder): Ditto.
5701 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
5702 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
5703 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
5705 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
5707 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
5709 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
5711 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
5713 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5714 arguments for `SEARCH' command.
5715 (elmo-imap4-parse-string): Set `POS' argument for char-after.
5716 All other related portions are changed.
5718 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
5720 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
5721 (elmo-list-folder-unread): Rewrite.
5722 (elmo-list-folder-important): Ditto.
5724 * elmo-util.el (elmo-filter-get-spec): Rewrite.
5725 (elmo-condition-parse-error): New inline function.
5726 (elmo-read-search-condition): New function.
5727 (elmo-read-search-condition-internal): Ditto.
5728 (elmo-parse-search-condition): Rewrite.
5729 (elmo-condition-parse): New function.
5730 (elmo-condition-parse-or-expr): Ditto.
5731 (elmo-condition-parse-and-expr): Ditto.
5732 (elmo-condition-parse-primitive): Ditto.
5733 (elmo-condition-parse-search-value): Ditto.
5734 (elmo-buffer-field-primitive-condition-match): Ditto.
5735 (elmo-buffer-field-condition-match): Rewrite.
5736 (elmo-file-field-condition-match): Ditto.
5738 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
5739 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
5741 * elmo-internal.el (elmo-internal-search): Set `number' and
5742 `number-list' argument of `elmo-file-field-condition-match'.
5744 * elmo-maildir.el (elmo-maildir-search): Ditto.
5746 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
5747 `msgdb' as argument instead of `mark-alist'.
5748 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
5751 * elmo-multi.el: Likewise.
5753 * elmo-pipe.el: Likewise.
5755 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
5756 (elmo-imap4-search-internal): Rewrite.
5757 (elmo-imap4-search): Ditto.
5759 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
5760 (elmo-filter-list-folder-unread): Ditto.
5761 (elmo-filter-list-folder-important): Ditto.
5762 (elmo-filter-search): Rewrite.
5764 * elmo-cache.el (elmo-cache-search-all): Set `number' and
5765 `number-list' argument of `elmo-file-field-condition-match'.
5766 (elmo-cache-search): Ditto.
5768 * elmo-localdir.el: Likewise.
5770 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
5771 number-list and pass it to `elmo-buffer-field-condition-match'.
5772 (elmo-archive-field-condition-match): Pass `number-list' to
5773 `elmo-archive-field-condition-match'
5775 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
5777 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
5780 * elmo2.el (elmo-folder-diff-async-callback): New variable.
5781 (elmo-folder-diff-async-callback-data): Ditto.
5782 (elmo-folder-diff-async): New function.
5784 * elmo-net.el (elmo-network-session-name-prefix): New variable.
5785 (elmo-network-session-cache-key): Use it as a prefix of the session
5787 (elmo-network-open-session): Ditto.
5789 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
5790 (elmo-imap4-status-callback-data): Ditto.
5791 (elmo-imap4-server-diff-async-callback): New variable.
5792 (elmo-imap4-server-diff-async-callback-data): Ditto.
5793 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
5794 `elmo-imap4-status-callback-data'.
5795 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
5796 `elmo-imap4-status-callback-data' as nil.
5797 (elmo-imap4-server-diff): Ditto.
5798 (elmo-imap4-server-diff-async-callback-1): New function.
5799 (elmo-imap4-server-diff-async): Ditto.
5800 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
5802 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
5804 * elmo-util.el (elmo-list-delete): Doc fix.
5805 (elmo-delete-lists): Abolish.
5806 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
5807 instead of `elmo-delete-lists'.
5809 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
5811 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
5814 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
5816 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
5817 `elmo-imap4-literal-subr'.
5818 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
5819 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
5821 2000-09-15 Kenichi OKADA <okada@opaopa.org>
5823 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
5824 (elmo-archive-list-folder): Fix.
5825 (elmo-archive-max-of-folder): Fix.
5827 2000-09-15 Kenichi OKADA <okada@opaopa.org>
5829 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
5830 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
5831 (elmo-localdir-append-msg): Ditto.
5832 (elmo-localdir-list-folder): Fix for `nonsort'.
5833 (elmo-localdir-list-folder-subr): Fix for `killed'.
5834 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
5835 (elmo-maildir-list-folder-subr): Ditto.
5836 * elmo-archive.el (elmo-archive-list-folder): Ditto.
5837 (elmo-archive-list-folder-subr): Ditto.
5838 * elmo-internal.el (elmo-internal-list-folder): Ditto.
5839 (elmo-internal-list-folder-subr): Ditto.
5841 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5843 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
5845 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
5847 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
5849 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5851 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
5852 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
5854 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
5856 (elmo-imap4-read-part): Use "body.peek" to fetch part.
5857 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
5859 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
5861 * mmelmo-imap4-2.el (mime-entity-children): Defined.
5863 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
5864 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
5865 before STORE command.
5867 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
5869 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
5871 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
5872 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
5874 (elmo-imap4-list-folders): Removed unused local variable.
5875 (elmo-network-initialize-session): Ditto.
5876 (elmo-imap4-delete-msg-by-id): Ditto.
5877 (elmo-imap4-parse-fetch): Ditto.
5878 (elmo-imap4-copy-msgs): Ditto.
5879 Use `dst-spec' instead of `dst-folder'.
5880 (elmo-network-authenticate-session): Check authenticate type `plain'.
5882 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
5884 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
5886 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
5887 `elmo-imap4-response-value'.
5888 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
5890 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5892 * elmo-imap4.el (elmo-imap4-send-command):
5893 Cause elmo-imap4-bye-error when current response is BYE.
5894 (elmo-imap4-arrival-filter): Changed greeting response value.
5896 * elmo2.el (elmo-imap4-bye-error): Define.
5898 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
5899 (elmo-imap4-server-diff): Ditto.
5900 (elmo-imap4-response-bye-p): New macro.
5901 (elmo-imap4-response-error-text): Get text from BYE response.
5902 (elmo-imap4-read-response): Return if BYE response.
5903 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
5904 (elmo-imap4-folder-exists-p): Ditto.
5905 (elmo-imap4-commit): Do nothing when different mailbox is selected.
5906 (elmo-imap4-parse-bye): New function.
5907 (elmo-imap4-parse-response): Remove needless let.
5908 Call `elmo-imap4-parse-bye'.
5910 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
5912 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
5913 the mailbox does not exist.
5914 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
5916 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
5918 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
5920 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5922 * elmo-vars.el (elmo-search-mime-charset): Abolished.
5924 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
5925 (elmo-network-initialize-session-buffer): Defined.
5927 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
5929 (mmelmo-imap4-get-mime-entity): Rewrite.
5931 * elmo2.el (elmo-error): Capitalize error message.
5933 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
5934 (elmo-network-session-buffer): New macro.
5935 (elmo-network-open-session): Use it.
5937 * elmo-imap4.el: Rewrite.
5939 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5941 * elmo-nntp.el (Toplevel): Require 'elmo-net.
5943 2000-08-27 Daiki Ueno <ueno@unixuser.org>
5945 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
5946 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
5947 (elmo-imap4-create-msgdb-from-overview-string): Use
5948 `elmo-msgdb-create-overview-from-buffer'.
5950 2000-08-26 Daiki Ueno <ueno@unixuser.org>
5952 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
5953 (elmo-imap4-default-hierarchy-delimiter): New variable.
5954 (elmo-imap4-list-folders): Use it.
5956 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
5958 * elmo-net.el (elmo-network-open-session): Add user and
5959 stream-type for process-buffer name.
5961 * elmo-pop3.el (elmo-network-initialize-session): Call
5962 buffer-disable-undo.
5964 * elmo-imap4.el (elmo-network-initialize-session):
5965 Set current-buffer as an argument for `buffer-disable-undo'.
5967 * elmo-pop3.el (elmo-network-close-session): Don't use
5970 * elmo-vars.el (elmo-default-pop3-authenticate-type):
5971 Set default as 'user.
5973 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
5975 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
5976 and `elmo-imap4-flush-connection'.
5978 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
5979 (elmo-pop3-get-spec): Assume auth as symbol.
5980 (elmo-open-network-stream): Moved to `elmo-net'.
5982 * elmo-pop3.el (toplevel): Require 'elmo-net.
5983 Define `sasl-cram-md5' to silence byte compilier.
5984 (elmo-pop3-connection-cache) Abolished.
5985 (elmo-pop3-authenticator-alist) New variable.
5986 (elmo-pop3-session): Define.
5987 (elmo-pop3-connection-get-process): Abolished.
5988 (elmo-pop3-connection-get-buffer): Ditto.
5989 (elmo-pop3-close-connection): Ditto.
5990 (elmo-pop3-flush-connection): Ditto.
5991 (elmo-pop3-get-connection): Ditto.
5992 (elmo-pop3-get-session): New function.
5993 (Replacement for `elmo-pop3-get-connection').
5994 All other related modules are changed.
5995 (elmo-network-close-session): Define.
5996 (elmo-pop3-send-command): Abolished argument `buffer'.
5997 All other related modules are changed.
5998 (elmo-pop3-read-response): Likewise.
5999 (elmo-pop3-open-connection): Abolished.
6000 (elmo-pop3-auth-user): New function.
6001 (elmo-pop3-auth-apop): Ditto.
6002 (elmo-pop3-auth-cram-md5): Ditto.
6003 (elmo-pop3-auth-scram-md5): Ditto.
6004 (elmo-pop3-auth-digest-md5): Ditto.
6005 (elmo-network-initialize-session): Define.
6006 (elmo-network-authenticate-session): Ditto.
6007 (elmo-network-setup-session): Ditto.
6009 * elmo-imap4.el (toplevel): Require 'elmo-net.
6010 (elmo-imap4-session): Define.
6011 (elmo-imap4-connection-cache): Abolished.
6012 (elmo-imap4-password-key): Ditto.
6013 (elmo-imap4-flush-connection): Ditto.
6014 (elmo-imap4-get-connection): Ditto.
6015 All other related modules are changed.
6016 (elmo-imap4-get-session): New function
6017 (Replacement for `elmo-imap4-get-connection').
6018 (elmo-imap4-read-response): Abolished argument `buffer'.
6019 All other related modules are changed.
6020 (elmo-imap4-send-command): Likewise.
6021 (elmo-imap4-select-folder): Abolished.
6022 All other related modules are changed.
6023 (elmo-imap4-select-mailbox): New function.
6024 (Replacement for `elmo-imap4-select-folder').
6025 (elmo-imap4-auth-login): Simplify.
6026 (Assume current buffer as process buffer)
6027 (elmo-imap4-auth-cram-md5): Ditto.
6028 (elmo-imap4-auth-digest-md5): Ditto.
6029 (elmo-imap4-login): Ditto.
6030 (elmo-imap4-open-connection): Abolished.
6031 (elmo-imap4-open-connection-1): Abolished.
6032 (elmo-network-initialize-sessoin): Define.
6033 (elmo-network-authenticate-session): Ditto.
6034 (elmo-network-setup-session): Ditto.
6036 * elmo-net.el: New module.
6038 2000-08-22 Daiki Ueno <ueno@unixuser.org>
6040 * elmo-util.el (elmo-define-error): New function.
6042 * elmo2.el (elmo-error): Define.
6043 (elmo-open-error): Define.
6044 (elmo-authenticate-error): Define.
6046 * elmo-imap4.el (elmo-imap4-error): Abolish.
6047 (elmo-imap4-error-type): Abolish.
6048 (elmo-imap4-error-process): Abolish.
6049 (elmo-imap4-error-message): Abolish
6050 (elmo-imap4-list-folders): Don't quote lambda.
6051 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
6052 (elmo-imap4-parse-namespace): Ditto.
6053 (elmo-imap4-open-connection): Rewrite.
6054 (elmo-imap4-open-connection-1): Simplified (authenticate only).
6055 (elmo-imap4-get-connection): Abolish local variable `result'.
6057 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
6059 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
6060 wrong-type-argument error when auth is nil.
6062 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
6064 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
6065 (elmo-default-nntp-stream-type): Ditto.
6066 (elmo-default-pop3-stream-type): Ditto.
6067 (elmo-network-stream-type-alist): Ditto.
6068 (elmo-default-imap4-ssl): Abolished.
6069 (elmo-default-nntp-ssl): Ditto.
6070 (elmo-default-pop3-ssl): Ditto.
6072 * elmo-util.el: (toplevel): Removed needless requires.
6073 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
6074 (elmo-open-network-stream): Open network stream according to
6075 the value of `elmo-network-stream-type-alist'.
6076 (elmo-get-network-stream-type): New function.
6077 (elmo-network-stream-type-spec-string): New macro.
6078 (elmo-network-stream-type-symbol): Ditto.
6079 (elmo-network-stream-type-function): Ditto.
6081 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
6082 network-stream-type. All other related portions are changed.
6083 (elmo-pop3-open-connection): Ditto.
6085 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
6086 network-stream-type. All other related portions are changed.
6088 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
6089 network-stream-type.All other related portions are changed.
6090 (elmo-imap4-error): New macro.
6091 (elmo-imap4-error-type): Ditto.
6092 (elmo-imap4-error-process): Ditto.
6093 (elmo-imap4-error-message): Ditto.
6094 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
6095 (elmo-imap4-auth-cram-md5): Ditto.
6096 (elmo-imap4-auth-digest-md5): Ditto.
6097 (elmo-imap4-login): Ditto.
6098 (elmo-imap4-open-connection): Remove password entry if authentication
6100 (elmo-imap4-user-at-host): Abolished.
6101 (elmo-imap4-password-key): New buffer local variable.
6102 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
6103 using protocol, port, auth and stream-type.
6105 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
6107 2000-08-13 Daiki Ueno <ueno@unixuser.org>
6109 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
6111 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
6113 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
6114 (elmo-imap4-authenticator-alist): New variable.
6115 (elmo-imap4-open-connection-1): Rename from
6116 elmo-imap4-open-connection.
6117 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
6118 only wraps elmo-imap4-open-connection-1.
6119 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
6121 (elmo-imap4-auth-login): New function.
6122 (elmo-imap4-auth-cram-md5): New function.
6123 (elmo-imap4-auth-digest-md5): New function.
6124 (elmo-imap4-login): New function.
6126 2000-08-12 Kenichi OKADA <okada@opaopa.org>
6128 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
6131 2000-08-12 Kenichi OKADA <okada@opaopa.org>
6133 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
6135 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
6137 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
6139 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
6141 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
6142 for server responses, quote `*' regardless of where it appears.
6144 2000-08-03 Kenichi OKADA <okada@opaopa.org>
6146 * elmo-maildir.el (elmo-maildir-commit): New alias.
6148 2000-08-03 Kenichi OKADA <okada@opaopa.org>
6150 * elmo-util.el (elmo-display-progress):
6151 Use `progress-feedback-with-label'.
6153 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
6155 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
6156 (elmo-imap4-non-atom-char-regex): Ditto.
6157 (elmo-imap4-non-text-char-regex): Ditto.
6158 (elmo-imap4-literal-threshold): Ditto.
6159 (elmo-imap4-atom-p): New function.
6160 (elmo-imap4-quotable-p): Ditto.
6161 (elmo-imap4-nil): Ditto.
6162 (elmo-imap4-atom): Ditto.
6163 (elmo-imap4-quoted): Ditto.
6164 (elmo-imap4-literal-subr): Ditto.
6165 (elmo-imap4-literal): Ditto.
6166 (elmo-imap4-buffer-literal): Ditto.
6167 (elmo-imap4-string-subr): Ditto.
6168 (elmo-imap4-string): Ditto.
6169 (elmo-imap4-buffer-string): Ditto.
6170 (elmo-imap4-astring-subr): Ditto.
6171 (elmo-imap4-astring): Ditto.
6172 (elmo-imap4-buffer-astring): Ditto.
6173 (elmo-imap4-nstring): Ditto.
6174 (elmo-imap4-buffer-nstring): Ditto.
6175 (elmo-imap4-mailbox): New alias.
6176 (elmo-imap4-field-body): Ditto.
6177 (elmo-imap4-userid): Ditto.
6178 (elmo-imap4-password): Ditto.
6179 (elmo-imap4-format-quoted): New function.
6180 (elmo-imap4-send-command): Rewritten. Accept a list of command
6181 arguments and handle "atom", "quoted" and "literal" string here.
6182 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
6183 `elmo-imap4-send-command'.
6184 (elmo-imap4-folder-exists-p): Likewise.
6185 (elmo-imap4-create-folder): Likewise.
6186 (elmo-imap4-delete-folder): Likewise.
6187 (elmo-imap4-rename-folder): Likewise.
6188 (elmo-imap4-max-of-folder): Likewise.
6189 (elmo-imap4-check-validity): Likewise.
6190 (elmo-imap4-sync-validity): Likewise.
6191 (elmo-imap4-server-diff): Likewise.
6192 (elmo-imap4-select-folder): Likewise.
6193 (elmo-imap4-copy-msgs): Likewise.
6194 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
6195 (elmo-imap4-mark-set-on-msgs): Likewise.
6196 (elmo-imap4-read-part): Likewise.
6197 (elmo-imap4-read-msg): Likewise.
6198 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
6199 `elmo-imap4-password' for `elmo-imap4-send-command'.
6200 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
6201 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
6202 `elmo-imap4-buffer-literal'.
6203 (elmo-imap4-append-msg): Likewise.
6205 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
6206 `delete' for removing dead connection from the connection cache.
6207 Move deletion of the process buffer after that.
6208 (elmo-imap4-list): Change `defsubst' to `defun'.
6209 (elmo-imap4-commit): Make error message verbose.
6210 (elmo-imap4-search): Ditto.
6211 (elmo-imap4-list): Ditto.
6212 (elmo-imap4-select-folder): Ditto.
6213 (elmo-imap4-copy-msgs): Ditto.
6214 (elmo-imap4-delete-msg-by-id): Ditto.
6215 (elmo-imap4-append-msg-by-id): Ditto.
6216 (elmo-imap4-append-msg): Ditto.
6218 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6220 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
6221 when dired is used on XEmacs.
6223 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
6225 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
6226 instead of `append'.
6227 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
6228 `elmo-plugged-p' directly.
6229 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
6230 of `elmo-plugged-p' directly.
6232 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
6233 Eliminate unused variable. Use `memq' for checking a process status.
6234 Use `cons' instead of `append' for updating the connection cache.
6235 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
6236 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
6238 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
6240 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
6241 `elmo-imap4-read-point' exactly.
6243 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
6244 the local variable `folder' to `mailbox'.
6245 Rename the argument `fld' to `folder'.
6247 2000-07-20 Kenichi OKADA <okada@opaopa.org>
6249 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
6250 * elmo-imap4.el (elmo-imap4-commit): Ditto.
6252 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
6254 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
6255 (elmo-pop3-number-uidl-hash): New buffer-local variable.
6256 (elmo-pop3-uidl-number-hash): Ditto.
6257 (elmo-pop3-size-hash): Ditto.
6258 (elmo-pop3-uidl-done): Ditto.
6259 (elmo-pop3-list-done): Ditto.
6260 (elmo-pop3-connection-get-process): New defmacro.
6261 (elmo-pop3-connection-get-buffer): Ditto.
6262 (elmo-pop3-close-connection): Delete buffer and process.
6263 (elmo-pop3-flush-connection): Don't delete buffer and process.
6264 (elmo-pop3-get-connection): Added optional argument `if-exists'.
6265 Setup UIDL and size hash.
6266 (elmo-pop3-send-command-no-erase): Deleted
6267 (elmo-pop3-send-command): Added optional argument `no-erase'.
6268 (elmo-pop3-parse-uidl-response): New function.
6269 (elmo-pop3-parse-list-response): Set size hash.
6270 (elmo-pop3-list-location): New function.
6271 (elmo-pop3-list-by-uidl-subr): Ditto.
6272 (elmo-pop3-list-by-list): Ditto.
6273 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
6274 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
6275 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
6276 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
6277 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
6279 (elmo-pop3-uidl-to-number): New function.
6280 (elmo-pop3-number-to-uidl): Ditto.
6281 (elmo-pop3-number-to-size): Ditto.
6282 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
6283 Set number by use of uidl.
6284 (elmo-pop3-msgdb-create-message): Likewise.
6285 Set size, loc-alist in msgdb.
6286 (elmo-pop3-read-msg): Set number by use of uidl.
6287 Added optional argument `msgdb'.
6288 (elmo-pop3-delete-msg): Ditto.
6289 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
6290 (elmo-pop3-commit): Close connection.
6292 * elmo-pipe.el (elmo-pipe-max-of-folder):
6293 Bind `elmo-pop3-use-uidl' as nil.
6294 (elmo-pipe-drain): Ditto.
6297 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
6298 (elmo-msgdb-overview-entity-set-size): New defsubst.
6300 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6302 * elmo-vars.el (elmo-use-killed-list): New variable
6303 (Renamed from `elmo-nntp-use-killed-list').
6304 (elmo-nntp-use-killed-list): Eliminated.
6306 * elmo-msgdb.el (elmo-msgdb-expand-path):
6307 Changed expanding msgdb path for elmo-multi.
6309 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
6310 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
6311 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
6312 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
6313 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
6314 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
6315 (toplevel): Deleted time-stamp line.
6317 * elmo2.el (elmo-clear-killed ): Defined as function
6318 (Abolished defining as a backend function).
6319 All other related modules are changed.
6321 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
6323 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
6325 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6327 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
6329 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6331 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
6333 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
6335 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
6336 asynchronous folder check.
6338 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
6340 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
6341 `elmo-nntp-use-killed-list'.
6342 (elmo-nntp-list-folder): Use killed list.
6343 (elmo-nntp-max-of-folder): Ditto.
6344 (elmo-nntp-msgdb-create): Set killed list.
6346 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
6348 * elmo2.el (elmo-clear-killed): New backend function.
6349 All other related modules are changed.
6351 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
6353 * elmo-util.el (elmo-imap4-spec-folder): Use
6354 `elmo-imap4-spec-mailbox'; Mark as obsolete.
6355 All callers changed.
6357 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
6359 * mmelmo-2.el (initialize-instance):
6360 Use `mime-buffer-entity-buffer-internal' instead of
6361 `mime-entity-buffer'.
6363 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
6364 (mime-entity-body): Implemented.
6365 (mime-goto-header-start-point): Deleted.
6366 (mime-goto-body-end-point): Ditto.
6367 (mime-entity-point-min): Ditto.
6368 (mime-entity-point-max): Ditto.
6369 (mime-entity-children): Ditto.
6370 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
6371 instead of `mime-entity-buffer'.
6372 (mime-entity-header-buffer): Ditto.
6373 (mime-entity-body-buffer): Ditto.
6374 (mime-write-entity-content): Ditto.
6376 * pldap.el (ldap-static-if): New macro.
6377 (toplevel): Use it instead of `static-if'.
6379 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6381 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
6382 included in `attrs' argument.
6384 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
6386 * elmo-util.el (elmo-get-passwd): Use old backquote style.
6388 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
6389 (ldap-ldif-safe-init-char-regexp): Ditto.
6390 (ldap-ldif-safe-string-regexp): Ditto.
6391 (ldap/ldif-safe-string-p): New macro.
6392 (ldap/ldif-insert-field): Ditto.
6393 (ldap-modify): Use it.
6395 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
6396 (ldap-decode-attribute): Decode only when `attr' is consp.
6397 (ldap-delete): Bind `ret'.
6398 (toplevel): Require 'cl at compile time.
6399 Removed (require 'poe) and (require 'std11).
6400 (pldap-version): Eliminated.
6401 (ldap-search-basic): Removed auth and dn binding.
6402 (ldap-ldif-field-name-regexp): New constant.
6403 (ldap-ldif-field-head-regexp): Ditto.
6404 (ldap-ldif-next-field-head-regexp): Ditto.
6405 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
6406 (ldap/field-end): New function.
6407 (ldap/field-body): Use it.
6408 (ldap/collect-field): Ditto.
6409 (ldap-search-basic): Use `ldap/field-body'.
6411 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6413 * pldap.el (ldap-default-attribute-encoder): New user option.
6414 (ldap/field-body): Decode base64 string.
6415 (ldap/collect-field): Ditto.
6416 (ldap-encode-attribute): New function.
6417 (ldap-add-entries): Use it.
6418 (ldap-modify-entries): Ditto.
6419 (ldap-search-entries): Enclosed decoding function with
6420 `with-temp-buffer' and set as unibyte.
6421 (ldap-search-basic): Set process buffer as unibyte.
6423 * elmo-util.el (elmo-folder-identical-system-p):
6424 Eliminated name space checking.
6426 * pldap.el: New module.
6427 toplevel: Changed condition to detect built-in ldap feature.
6428 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
6429 (ldap-add): Added error handling.
6430 (ldap-modify): Ditto.
6431 (ldap-delete): Ditto.
6433 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
6435 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
6436 Initialize local variables with `let'. Inline a temporary
6437 variable for the progress percentage. Sort `setq' to reduce
6438 function call in the while-loop.
6440 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
6441 into the conditional branch.
6443 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
6445 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
6446 Move a conditional out of the while-loop.
6448 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6450 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
6451 elmo-msgdb-overview-get-entity-by-number.
6452 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
6455 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
6457 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
6458 the local variable for a packed number self descriptively.
6460 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6462 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
6463 * elmo-localdir.el (elmo-localdir-pack-number): Use
6464 `elmo-msgdb-overview-get-entity' instead of
6465 `elmo-msgdb-overview-get-entity-by-number'.
6466 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
6467 (elmo-msgdb-search-overview-entity): Removed.
6468 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
6469 by message-id or number.
6470 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
6471 instead of `elmo-msgdb-overview-get-entity-by-number'.
6473 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6475 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
6476 non-nil, use hash table for overview.
6477 (elmo-hash-maximum-size): New variable.
6478 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
6479 (elmo-msgdb-make-overview-hashtb): New function.
6480 (elmo-msgdb-clear-overview-hashtb): New function.
6481 (elmo-clear-hash-val): New macro.
6482 All other related modules are changed.
6484 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
6486 * elmo2.el (elmo-move-msgs): If there's other message with
6487 same message-id, don't use cache.
6489 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
6491 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
6492 number is already packed.
6494 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
6496 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
6498 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6500 * elmo-vars.el (elmo-display-progress-threshold): New variable.
6501 All other related modules are changed.
6503 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
6505 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
6506 of refiling failure on Maildir.
6508 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6510 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
6511 decoded mime-charset with cache.
6512 (elmo-msgdb-overview-entity-get-from): Ditto.
6513 (elmo-msgdb-overview-entity-get-subject): Ditto.
6514 * elmo-vars.el (elmo-use-decoded-cache): New variable.
6516 2000-05-10 Kenichi OKADA <okada@opaopa.org>
6518 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
6519 (elmo-remove-passwd): Fill password with 0 before erase.
6520 * elmo-vars.el (elmo-passwd-life-time): New variable.
6523 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6525 * elmo-cache.el (elmo-buffer-cache-add):
6526 Set message cache buffer as unibyte.
6528 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6530 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
6533 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
6535 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
6536 when display is finished.
6537 (elmo-nntp-msgdb-create): Ditto.
6538 (elmo-nntp-groups-read-response): Ditto.
6539 (elmo-nntp-retrieve-headers): Ditto.
6540 (elmo-nntp-msgdb-create-message): Ditto.
6541 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
6542 (elmo-pop3-msgdb-create-message): Ditto.
6544 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
6546 * elmo-maildir.el (elmo-maildir-msgdb-create):
6547 Use `elmo-msgdb-sort-by-date'.
6549 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
6551 * elmo2.el (elmo-read-msg-no-cache):
6552 Eliminated arguments after `outbuf'.
6553 Don't use cache even if it exists.
6554 (elmo-read-msg): Don't pass arguments after `outbuf' to
6555 `elmo-read-msg-no-cache'.
6557 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
6559 * elmo-archive.el (elmo-archive-list-folders):
6560 Use `file-name-directory' if base folder does not exist.
6562 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
6564 * elmo-archive.el (elmo-archive-list-folders): Don't use
6565 `file-name-directory'.
6567 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
6569 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
6570 If `force' is non-nil, try flushing all operation queues.
6572 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6574 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
6577 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
6579 * elmo-util.el (elmo-display-progress): Fixed.
6581 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
6583 * elmo-util.el (elmo-display-progress): New function.
6584 All other related modules are changed.