1 2004-01-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3 * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
4 Follow the options change of latest bogofilter.
6 * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
7 (elmo-spam-bogofilter-good-switch): Ditto.
8 (elmo-spam-bogofilter-arguments-alist): New user option.
9 (elmo-spam-bogofilter-debug): Ditto.
10 (elmo-spam-bogofilter-call): Renamed from
11 `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
12 is non-nil, insert output in buffer for debug.
13 (elmo-spam-bogofilter-arguments): New macro.
14 (elmo-spam-buffer-spam-p): Use it.
15 (elsp-bogofilter-register-buffer): Ditto.
17 2004-01-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
19 * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
22 2004-01-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
24 * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
26 (elmo-spam-bsfilter-shell-switch): Set default value as nil.
27 (elmo-spam-bsfilter-program): Set default value as full path for
29 (elmo-spam-bsfilter-debug): New user option.
30 (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
31 non-nil, insert output in buffer for debug. Fix treating of
34 2004-01-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
36 * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
37 `elmo-maildir-flag-specs' element instead of one.
38 (elmo-map-folder-unset-flag): Ditto.
39 (Reported by Ken Makimura <macky@astem.or.jp>)
41 * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
42 (elmo-folder-unset-flag-plugged): Ditto.
44 2004-01-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
46 * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
47 to `reads' slot only if `in-msgdb' is nil.
49 2004-01-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
51 * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
52 and complement argument list.
54 2004-01-12 Yoichi NAKAYAMA <yoichi@geiin.org>
56 * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
57 instead of elmo-folder-list-flagged.
59 2004-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
61 * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
63 * elsp-bsfilter.el: New file.
65 * elmo-pipe.el (elmo-folder-list-unreads,
66 elmo-folder-list-answereds,
67 elmo-folder-list-importants,
68 elmo-folder-flag-as-important,
69 elmo-folder-unflag-important,
70 elmo-folder-flag-as-read,
71 elmo-folder-unflag-read,
72 elmo-folder-flag-as-answered,
73 elmo-folder-unflag-answered): Remove.
74 (elmo-folder-set-flag): Define.
75 (elmo-folder-unset-flag): Ditto.
77 * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
78 (elmo-folder-set-flag): Define.
79 (elmo-folder-unset-flag): Ditto.
80 (elmo-folder-list-unreads): Remove.
81 (elmo-folder-list-flagged): Define.
83 * elmo-net.el (elmo-folder-list-flagged-internal): Define.
84 (elmo-folder-list-unreads,
85 elmo-folder-list-importants,
86 elmo-folder-list-answereds,
87 elmo-folder-list-unreads-plugged,
88 elmo-folder-list-importants-plugged,
89 elmo-folder-list-answereds-plugged): Remove.
90 (elmo-folder-list-flagged-plugged): New method.
91 (elmo-folder-unflag-important,
92 elmo-folder-flag-as-important,
93 elmo-folder-unflag-read,
94 elmo-folder-flag-as-read,
95 elmo-folder-unflag-answered,
96 elmo-folder-flag-as-answered,
97 elmo-folder-flag-as-read-unplugged,
98 elmo-folder-unflag-read-unplugged,
99 elmo-folder-flag-as-important-unplugged,
100 elmo-folder-unflag-important-unplugged,
101 elmo-folder-flag-as-answered-unplugged,
102 elmo-folder-unflag-answered-unplugged): Remove.
103 (elmo-folder-set-flag): Define.
104 (elmo-folder-unset-flag): Ditto.
105 (elmo-folder-set-flag-unplugged): Ditto.
106 (elmo-folder-unset-flag-unplugged): Ditto.
108 * elmo-multi.el (elmo-folder-list-unreads,
109 elmo-folder-list-answereds,
110 elmo-folder-list-importants,
111 elmo-folder-flag-as-important,
112 elmo-folder-unflag-important,
113 elmo-folder-flag-as-read,
114 elmo-folder-unflag-read,
115 elmo-folder-flag-as-answered,
116 elmo-folder-unflag-answered): Remove.
117 (elmo-folder-set-flag): Define.
118 (elmo-folder-unset-flag): Ditto.
120 * elmo-map.el (elmo-map-folder-unflag-important,
121 elmo-map-folder-flag-as-important,
122 elmo-map-folder-unflag-read,
123 elmo-map-folder-flag-as-read,
124 elmo-map-folder-unflag-answered,
125 elmo-map-folder-flag-as-answered): Remove.
126 (elmo-map-folder-set-flag): New method.
127 (elmo-map-folder-unset-flag): Ditto.
128 (elmo-map-folder-list-unreads,
129 elmo-map-folder-list-importants,
130 elmo-map-folder-list-answereds): Remove.
131 (elmo-folder-list-flagged-internal): Define.
132 (elmo-map-folder-list-flagged): New method.
134 * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
135 (elmo-map-folder-list-unreads,
136 elmo-map-folder-list-importants,
137 elmo-map-folder-list-flagged): Remove.
138 (elmo-map-folder-list-flagged): Define.
139 (elmo-map-folder-flag-as-important,
140 elmo-map-folder-unflag-important,
141 elmo-map-folder-flag-as-read,
142 elmo-map-folder-unflag-read,
143 elmo-map-folder-flag-as-answered,
144 elmo-map-folder-unflag-answered): Remove.
145 (elmo-maildir-set-mark-messages): New internal function.
146 (elmo-map-folder-set-flag): Define.
147 (elmo-map-folder-unset-flag): Ditto.
149 * elmo.el (toplevel): Added autoload setting for
150 `elmo-folder-list-global-flag-messages'.
151 (elmo-folder-list-unreads,
152 elmo-folder-list-importants,
153 elmo-folder-list-answereds): Remove.
154 (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
155 Return a list whitch merged with messages have global flag.
156 (elmo-folder-list-flagged-internal): New method.
157 (elmo-folder-unflag-important,
158 elmo-folder-flag-as-important,
159 elmo-folder-unflag-read,
160 elmo-folder-flag-as-read,
161 elmo-folder-unflag-answered,
162 elmo-folder-flag-as-answered): Remove.
163 (elmo-folder-set-flag): New method.
164 (elmo-folder-unset-flag): Ditto.
165 (elmo-message-set-flag):Use `elmo-folder-set-flag'.
166 (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
168 * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
169 (elmo-folder-list-unreads-plugged,
170 elmo-folder-list-importants-plugged,
171 elmo-folder-list-answereds-plugged,
172 elmo-folder-list-flagged-unplugged,
173 elmo-folder-unflag-important-plugged,
174 elmo-folder-flag-as-important-plugged,
175 elmo-folder-unflag-read-plugged,
176 elmo-folder-flag-as-read-plugged,
177 elmo-folder-unflag-answered-plugged,
178 elmo-folder-flag-as-answered-plugged): Remove.
179 (elmo-folder-set-flag-plugged,
180 elmo-folder-unset-flag-plugged): Define.
182 * elmo-flag.el (elmo-folder-initialize): Register to
183 `elmo-global-flag-list' if flag is not global.
184 (elmo-folder-append-messages): Set flag to source messages.
186 * elmo-filter.el (elmo-filter-folder-list-unreads,
187 elmo-folder-list-unreads,
188 elmo-filter-folder-list-importants,
189 elmo-folder-list-importants,
190 elmo-folder-flag-as-read,
191 elmo-folder-unflag-read,
192 elmo-folder-flag-as-important,
193 elmo-folder-unflag-important,
194 elmo-folder-flag-as-answered,
195 elmo-folder-unflag-answered): Remove.
196 (elmo-folder-set-flag): Define.
197 (elmo-folder-unset-flag): Ditto.
199 * elmo-dop.el (elmo-folder-flag-as-read-dop,
200 elmo-folder-unflag-read-dop,
201 elmo-folder-flag-as-important-dop,
202 elmo-folder-unflag-important-dop,
203 elmo-folder-flag-as-answered-dop,
204 elmo-folder-unflag-answered-dop): Remove.
205 (elmo-folder-set-flag-dop,
206 elmo-folder-unset-flag-dop,
207 elmo-folder-set-important-delayed,
208 elmo-folder-unset-important-delayed,
209 elmo-folder-set-read-delayed,
210 elmo-folder-unset-read-delayed,
211 elmo-folder-set-answered-delayed,
212 elmo-folder-unset-answered-delayed): New function.
213 (elmo-dop-queue-merge-method-list): Follow the above chagned.
214 (elmo-dop-queue-method-name-alist): Ditto.
216 * elmo-version.el (elmo-version): Up to 2.11.23.
218 2004-01-11 Yuuichi Teranishi <teranisi@gohome.org>
220 * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
222 * elsp-sa.el: New file.
224 2003-12-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
226 * modb-standard.el (modb-standard-message-entity): New function.
227 (elmo-msgdb-message-entity): Use it.
229 2003-12-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
231 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
232 behavior when one-level is nil.
234 * elmo-flag.el (elmo-folder-list-subfolders): Defined.
236 * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
238 2003-12-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
240 * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
242 (elmo-generic-folder-diff): Ditto.
244 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
245 (elmo-folder-update-number): Ditto.
247 * elmo-dop.el (elmo-folder-status-dop): Ditto.
248 (elmo-folder-next-message-number-dop): Ditto.
250 2003-12-04 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
252 * elmo-filter.el (elmo-folder-msgdb-create): Use
253 `elmo-message-entity' and `elmo-message-flags' instead of
254 `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
256 2003-11-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
258 * elmo-spam.el (elmo-spam-processor): Added 3rd argument
261 2003-11-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
263 * elmo-multi.el (elmo-folder-newsgroups): Simplify.
265 * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
267 * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
269 2003-11-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
271 * elmo-version.el (elmo-version): Up to 2.11.22.
273 2003-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
275 * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
277 2003-11-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
279 * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
280 if the message dose not exist.
282 2003-11-18 Tetsurou Okazaki <okazaki@be.to>
284 * elmo-version.el (elmo-version): Up to 2.11.21.
286 2003-11-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
288 * modb-standard.el (toplevel): Don't require mime.
290 2003-11-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
292 * elsp-bogofilter.el (toplevel): Don't require path-util.
293 (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
294 (elmo-spam-bogofilter-header): Abolish.
295 (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
296 (elmo-spam-bogofilter-args): New user option.
297 (elsp-bogofilter-call-bogofilter): New internal function.
298 (elmo-spam-buffer-spam-p): Use it.
299 (elsp-bogofilter-register-buffer): Renamed from
300 `elmo-spam-bogofilter-register-buffer';
301 Use `elsp-bogofilter-call-bogofilter'.
302 (elmo-spam-register-spam-buffer): Follow the change above.
303 (elmo-spam-register-good-buffer): Ditto.
305 2003-11-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
307 * modb-standard.el (elmo-msgdb-append-entity): If entity or
308 message-id is nil do nothing.
310 2003-11-10 Yuuichi Teranishi <teranisi@gohome.org>
312 * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
314 (elmo-imap4-session): Removed use-flag slot.
315 (elmo-imap4-session-select-mailbox): Undo last change.
316 (elmo-folder-use-flag-p): Use
317 elmo-imap4-disuse-server-flag-mailbox-regexp.
319 2003-11-09 Yuuichi Teranishi <teranisi@gohome.org>
321 * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
322 (elmo-imap4-session-select-mailbox): Set it up.
323 (elmo-folder-use-flag-p): Return value of use-flag slot.
325 2003-11-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
327 * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
329 (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
331 * modb-entity.el (elmo-message-entity-handler): Likewise.
333 2003-11-07 Yuuichi Teranishi <teranisi@gohome.org>
335 * elmo.el (toplevel): Remove setting of autoloding for
336 elmo-global-flag-initialize.
337 (elmo-init): Don't call elmo-global-flag-initialize.
338 (toplevel): Added autoload setting for elmo-global-mark-migrate.
340 * elmo-flag.el (elmo-global-flag-initialize): Abolish.
341 (elmo-global-mark-migrate): Don't call it.
342 (elmo-global-mark-upgrade): Ditto.
344 2003-11-06 Yuuichi Teranishi <teranisi@gohome.org>
346 * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
347 (elmo-folder-initialize): Raise a warning when obsolete folder is used.
349 * elmo-vars.el (elmo-init-hook): New user option.
351 * elmo.el (elmo-init): Run the elmo-init-hook.
353 * elmo-flag.el (elmo-global-mark-migrate): New function.
355 2003-11-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
357 * modb-standard.el (elmo-msgdb-set-flag): Simplify;
358 Undo last change (move to elmo-msgdb-unset-flag).
359 (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
362 2003-11-05 Yuuichi Teranishi <teranisi@gohome.org>
364 * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
366 (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
367 (elmo-msgdb-unset-flag): Ditto.
369 2003-11-05 Andreas Fuchs <asf@boinkor.net>
371 * elmo-split.el (elmo-split): Return split message count.
373 2003-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
375 * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
378 2003-11-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
380 * elmo.el (elmo-folder-unflag-important): Call
381 `elmo-global-flag-detach' with 4th argument delete-if-none that is
384 * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
386 (elmo-global-flag-detach): Delete the message from flag folder, if
387 `delete-if-none' is a symbol `always'.
389 2003-11-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
391 * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
392 `elmo-spam-spamfilter-decode-buffer'.
393 (elsp-spamfilter-register-buffer-internal): New internal function.
394 (elmo-spam-buffer-spam-p): Use it; Follow the API change.
395 (elmo-spam-register-spam-buffer): Ditto.
396 (elmo-spam-register-good-buffer): Ditto.
398 * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
400 (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
401 (elmo-spam-register-spam-buffer): Follow the API change.
402 (elmo-spam-register-good-buffer): Ditto.
404 * elmo-split.el (toplevel): Require elmo-spam when copmile.
405 (elmo-split-spam-p): Added argument plist; Call
406 `elmo-spam-buffer-spam-p' with new argument register.
408 * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
410 (elmo-spam-message-spam-p): Ditto.
411 (elmo-spam-register-spam-buffer): Added optional argument
413 (elmo-spam-register-good-buffer): Ditto.
414 (elmo-spam-register-spam-messages): Ditto.
415 (elmo-spam-register-good-messages): Ditto.
417 2003-10-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
419 * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
420 register into good corpus.
421 (elmo-spam-register-good-buffer): Fixed to register into bad
424 2003-10-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
426 * elmo-version.el (elmo-version): Up to 2.11.20.
428 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
431 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
432 flag without depending on \Recent flag.
434 2003-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
436 * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
437 (elmo-spam-modified-p): Defined.
438 (elmo-spam-save-status): Set `modified' slot to nil.
439 (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
440 (elmo-spam-register-good-buffer): Ditto.
442 * elmo-spam.el (elmo-spam-modified-p): New API.
444 2003-10-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
446 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
447 duplicate definition.
449 * elmo-util.el (elmo-unfold-field-body): New function.
450 (elmo-msgdb-get-message-id-from-buffer): Use it.
452 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
453 Fixed the last change; Use elmo-unfold-field-body.
455 2003-10-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
457 * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
460 2003-10-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
462 * elmo-spam.el (elmo-spam-save-status): New API.
464 * elsp-spamfilter.el: New file.
466 2003-10-21 TAKAHASHI Kaoru <kaoru@kaisei.org>
468 * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
470 2003-10-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
472 * elmo-split.el (elmo-split-spam-p): New function.
474 * elmo-spam.el: New file.
476 * elsp-bogofilter.el: Ditto.
478 2003-10-15 Yuuichi Teranishi <teranisi@gohome.org>
480 * elmo.el (elmo-folder-next-message-number): New API.
481 (elmo-folder-next-message-number): Define.
482 (elmo-message-field): Don't check folder length.
484 * elmo-net.el (elmo-folder-next-message-number): Define.
485 (elmo-folder-next-message-number-unplugged): Define.
487 * elmo-map.el (elmo-folder-next-message-number): Define.
488 (elmo-folder-delete-messages): Clear hash value.
490 * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
492 * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
493 (elmo-folder-delete-messages-dop-delayed): Always return t.
495 * elmo-version.el (elmo-version): Up to 2.11.19.
497 2003-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
499 * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
502 * modb-legacy.el (elmo-msgdb-append-entity): Registered an
503 identical cons cell into the mark-alist and the hash table.
505 2003-10-08 Yuuichi Teranishi <teranisi@gohome.org>
507 * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
508 elmo-folder-list-messages with argument `visible-only' as t.
510 * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
511 (elmo-folder-msgdb-create): Check the target folder.
513 2003-10-07 Yuuichi Teranishi <teranisi@gohome.org>
515 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
516 `permanentflag' instead of `flags'.
517 (elmo-folder-open): Ditto.
518 (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
519 (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
520 (elmo-folder-use-flag-p): Always return t.
521 (elmo-imap4-session-select-mailbox): Use value of `flags' if
522 `permanentflags' does not exist.
523 (elmo-folder-open): Ditto.
525 2003-10-06 Yuuichi Teranishi <teranisi@gohome.org>
527 * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
529 * modb-standard.el (elmo-msgdb-message-entity): Ditto.
531 * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
532 (elmo-imap4-session-select-mailbox): Set it according to the SELECT
534 (elmo-folder-open): Ditto.
535 (elmo-imap4-set-flag): Send store flag command only when the `flags'
536 slot of the session includes the flag.
537 (elmo-imap4-session-flag-available-p): New function.
538 (elmo-imap4-folder-list-flagged): Ditto.
539 (elmo-folder-list-unreads-plugged): Use it.
540 (elmo-folder-list-importants-plugged): Ditto.
541 (elmo-folder-list-answereds-plugged): Ditto.
542 (elmo-imap4-search-internal-primitive): Ditto.
543 (elmo-imap4-folder-list-any-plugged,
544 elmo-imap4-folder-list-digest-plugged): Abolish.
546 * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
549 2003-10-06 Yoichi NAKAYAMA <yoichi@geiin.org>
551 * elmo-util.el (toplevel): Require emu for char-list-to-string.
553 2003-10-05 Yuuichi Teranishi <teranisi@gohome.org>
555 * elmo-util.el (elmo-get-hash-val): Simplify.
556 (elmo-set-hash-val): Rewrite.
558 2003-09-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
560 * elmo.el (elmo-folder-list-messages): Append killed messages into
561 result if `visible-only' is nil and `in-msgdb' is non-nil.
563 * elmo-util.el (elmo-uniq-list): Added optional argument
566 * modb.el (elmo-msgdb-flag-count): New API.
568 * modb-standard.el (modb-standard): Added slot flag-count.
569 (modb-standard-countup-flags): New function.
570 (modb-standard-load-flag): Call it.
571 (elmo-msgdb-append): Ditto.
572 (elmo-msgdb-clear): Clear slot flag-count.
573 (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
574 (elmo-msgdb-unset-flag): Treat `all' flag and call
575 modb-standard-countup-flags.
576 (elmo-msgdb-flag-count): Define.
577 (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
578 (elmo-msgdb-delete-messages): Ditto.
580 * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
581 (elmo-msgdb-flag-count): Define.
583 * elmo.el (elmo-folder-list-messages): Undo last change.
584 (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
585 (elmo-folder-kill-messages): Unset all flags to numbers.
587 * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
588 elmo-folder-kill-messages.
590 * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
591 (elmo-nntp-folder-delete-messages): Abolish.
593 * elmo-version.el (elmo-version): Up to 2.11.18.
595 2003-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
597 * elmo.el (elmo-folder-kill-messages-before): Abolish.
598 (elmo-folder-kill-messages-range): New function.
599 (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
600 instead of elmo-folder-kill-messages-before.
602 2003-09-26 Yuuichi Teranishi <teranisi@gohome.org>
604 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
605 elmo-imap4-current-msgdb to decide entity handler.
607 2003-09-25 Yuuichi Teranishi <teranisi@gohome.org>
609 * elmo-dop.el (elmo-dop-msgdb): Rewrite.
611 * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
613 (elmo-msgdb-overview-entity-get-number-internal): Ditto.
614 (elmo-msgdb-overview-entity-set-number,
615 elmo-msgdb-overview-entity-get-references,
616 elmo-msgdb-overview-entity-set-references,
617 elmo-msgdb-overview-entity-get-from-no-decode,
618 elmo-msgdb-overview-entity-get-from,
619 elmo-msgdb-overview-entity-set-from,
620 elmo-msgdb-overview-entity-get-subject,
621 elmo-msgdb-overview-entity-get-subject-no-decode,
622 elmo-msgdb-overview-entity-set-subject,
623 elmo-msgdb-overview-entity-get-date,
624 elmo-msgdb-overview-entity-set-date,
625 elmo-msgdb-overview-entity-get-to,
626 elmo-msgdb-overview-entity-get-cc,
627 elmo-msgdb-overview-entity-get-size,
628 elmo-msgdb-overview-entity-set-size,
629 elmo-msgdb-overview-entity-get-extra,
630 elmo-msgdb-overview-entity-set-extra,
631 elmo-msgdb-overview-entity-get-extra-field,
632 elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
633 (elmo-msgdb-make-index): Use
634 `elmo-msgdb-overview-entity-get-number-internal'.
635 (elmo-msgdb-clear-index): Ditto.
636 (elmo-msgdb-append-entity): Ditto;
637 Use `elmo-msgdb-overview-entity-get-id-internal'.
639 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
640 elmo-msgdb-overview-entity-set-number,
641 elmo-msgdb-overview-entity-get-references,
642 elmo-msgdb-overview-entity-set-references,
643 elmo-msgdb-overview-entity-get-from-no-decode,
644 elmo-msgdb-overview-entity-get-from,
645 elmo-msgdb-overview-entity-set-from,
646 elmo-msgdb-overview-entity-get-subject,
647 elmo-msgdb-overview-entity-get-subject-no-decode,
648 elmo-msgdb-overview-entity-set-subject,
649 elmo-msgdb-overview-entity-get-date,
650 elmo-msgdb-overview-entity-set-date,
651 elmo-msgdb-overview-entity-get-to,
652 elmo-msgdb-overview-entity-get-cc,
653 elmo-msgdb-overview-entity-get-size,
654 elmo-msgdb-overview-entity-set-size,
655 elmo-msgdb-overview-entity-get-extra,
656 elmo-msgdb-overview-entity-set-extra,
657 elmo-msgdb-overview-entity-get-extra-field,
658 elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
659 and rewrote for backward compatibility.
661 2003-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
663 * elmo.el (elmo-message-entity-number,
664 elmo-message-entity-set-number,
665 elmo-message-entity-field,
666 elmo-message-entity-set-field): Moved to elmo-msgdb.el.
668 * elmo-msgdb.el (elmo-message-entity-number,
669 elmo-message-entity-set-number,
670 elmo-message-entity-field,
671 elmo-message-entity-set-field): Moved from elmo.el.
673 2003-09-24 Yuuichi Teranishi <teranisi@gohome.org>
675 * elmo.el (toplevel): Changed definition orders.
677 2003-09-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
679 * modb.el (elmo-msgdb-search): New API .
680 (elmo-msgdb-match-condition): Ditto.
682 * modb-standard.el (elmo-msgdb-search): Define.
684 * modb-legacy.el (elmo-msgdb-search): Ditto.
686 * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
687 from elmo-msgdb-match-condition-internal.
689 * elmo.el (elmo-folder-search-fast): Abolish.
690 (elmo-folder-search): Use elmo-msgdb-search and
691 elmo-with-progress-display.
693 * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
696 * elmo.el (elmo-folder): Remove slot message-modified and
698 (elmo-folder-set-message-modified): Abolish.
699 (elmo-generic-folder-commit): Follow the change above.
700 (elmo-folder-synchronize): Ditto.
702 * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
704 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
706 * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
708 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
710 * modb-standard.el (modb-standard-make-message-entity,
711 elmo-msgdb-make-message-entity,
712 elmo-msgdb-create-message-entity-from-buffer,
713 elmo-msgdb-message-entity-number,
714 elmo-msgdb-message-entity-set-number,
715 elmo-msgdb-message-entity-field,
716 elmo-msgdb-message-entity-set-field,
717 elmo-msgdb-copy-message-entity,
718 elmo-msgdb-match-condition-internal): Remove.
720 * modb-entity.el: New file (again).
722 * modb.el (toplevel): Require modb-entity.
723 (elmo-msgdb-message-entity-handler): New method.
725 * modb-standard.el (modb-standard-entity-id): Use
726 elmo-message-entity-handler.
727 (modb-standard-load-entity): Ditto.
728 (elmo-msgdb-append-entity): Ditto.
729 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
731 * modb-legacy.el (elmo-msgdb-get-decoded-cache,
732 elmo-msgdb-decoded-cache-hashtb,
733 (modb-legacy-make-message-entity,
734 elmo-msgdb-make-message-entity,
735 elmo-msgdb-create-message-entity-from-buffer,
736 elmo-msgdb-message-entity-number,
737 elmo-msgdb-message-entity-set-number,
738 elmo-msgdb-message-entity-field,
739 elmo-msgdb-message-entity-set-field,
740 elmo-msgdb-copy-message-entity,
741 elmo-msgdb-match-condition-internal,
742 elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
744 * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
745 (elmo-message-entity-set-number): Ditto.
746 (elmo-message-entity-field): Ditto.
747 (elmo-message-entity-set-field): Ditto.
749 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
751 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
753 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
755 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
756 (elmo-nntp-msgdb-create-message): Ditto.
758 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
759 (elmo-folder-msgdb-create): Add unread flag.
761 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
763 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
765 * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
767 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
769 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
770 elmo-msgdb-messge-entity-handler.
771 * elmo-version.el (elmo-version): Up to 2.11.17.
773 2003-09-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
775 * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
778 2003-09-22 Yuuichi Teranishi <teranisi@gohome.org>
780 * elmo.el (elmo-message-field): Use elmo-message-entity-field.
782 * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
783 (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
784 (elmo-msgdb-flag-table): Ditto.
785 (elmo-msgdb-sort-by-date): Ditto.
787 * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
789 * modb-standard.el (toplevel): Require mime.
790 (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
791 (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
792 elmo-msgdb-message-entity-number.
793 (elmo-msgdb-append-entity): Ditto.
794 (elmo-msgdb-create-message-entity-from-file): Remove.
795 (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which
796 corresponds to the entity.
797 (elmo-msgdb-message-entity-number): Do nothing currently.
798 (elmo-msgdb-message-entity-field): Ditto.
799 (elmo-msgdb-message-entity-set-field): Ditto.
800 (elmo-msgdb-copy-message-entity): Ditto.
801 (elmo-msgdb-match-condition-internal): Ditto.
803 * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
805 (elmo-msgdb-create-message-entity-from-file): Remove.
807 * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
809 (elmo-multiple-field-body): Moved from elmo-util.el.
811 * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
813 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
815 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
816 (elmo-msgdb-message-entity-field): Ditto.
817 (elmo-msgdb-message-entity-number): Ditto.
819 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
821 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
822 Fixed how to set extra field into entity.
823 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
826 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
827 Fixed how to set extra field into entity.
828 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
831 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
833 * modb.el (elmo-message-entity-db): New function.
834 (elmo-msgdb-make-message-entity): New API.
835 (elmo-msgdb-message-entity-number): Ditto.
836 (elmo-msgdb-message-entity-set-number): Ditto.
837 (elmo-msgdb-message-entity-field): Ditto.
838 (elmo-msgdb-message-entity-set-field): Ditto.
839 (elmo-msgdb-copy-message-entity): Ditto.
840 (elmo-msgdb-create-message-entity-from-file): Ditto.
841 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
842 (elmo-msgdb-match-condition-internal): Ditto.
844 * modb-standard.el (modb-legacy): Require modb-legacy.
845 (modb-standard-make-message-entity): New inline function.
846 (elmo-msgdb-make-message-entity): Define.
847 (elmo-msgdb-create-message-entity-from-file): Ditto.
848 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
849 (elmo-msgdb-message-entity-field): Ditto.
850 (elmo-msgdb-message-entity-set-field): Ditto.
851 (elmo-msgdb-copy-message-entity): Ditto.
852 (elmo-msgdb-match-condition-internal): Ditto.
854 * modb-legacy.el: Don't require modb-entity.
855 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
856 (elmo-msgdb-match-condition-primitive): Ditto.
857 (elmo-msgdb-get-decoded-cache): Ditto.
858 (elmo-msgdb-overview-entity-get-id): Ditto.
859 (elmo-msgdb-overview-entity-get-number): Ditto.
860 (elmo-msgdb-overview-entity-set-number): Ditto.
861 (elmo-msgdb-overview-entity-get-references): Ditto.
862 (elmo-msgdb-overview-entity-set-references): Ditto.
863 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
864 (elmo-msgdb-overview-entity-get-from): Ditto.
865 (elmo-msgdb-overview-entity-set-from): Ditto.
866 (elmo-msgdb-overview-entity-get-subject): Ditto.
867 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
868 (elmo-msgdb-overview-entity-set-subject): Ditto.
869 (elmo-msgdb-overview-entity-get-date): Ditto.
870 (elmo-msgdb-overview-entity-set-date): Ditto.
871 (elmo-msgdb-overview-entity-get-to): Ditto.
872 (elmo-msgdb-overview-entity-get-cc): Ditto.
873 (elmo-msgdb-overview-entity-get-size): Ditto.
874 (elmo-msgdb-overview-entity-set-size): Ditto.
875 (elmo-msgdb-overview-entity-get-extra): Ditto.
876 (elmo-msgdb-overview-entity-set-extra): Ditto.
877 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
878 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
879 (elmo-msgdb-number-load): Ditto.
880 (elmo-msgdb-overview-load): Ditto.
881 (elmo-msgdb-mark-load): Ditto.
882 (elmo-msgdb-number-save): Ditto.
883 (elmo-msgdb-mark-save): Ditto.
884 (elmo-msgdb-overview-save): Ditto.
885 (modb-legacy-make-message-entity): New inline function.
886 (elmo-msgdb-insert-file-header): Ditto.
887 (elmo-msgdb-make-message-entity): Define.
888 (elmo-msgdb-create-message-entity-from-file): Ditto.
889 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
890 (elmo-msgdb-message-entity-number): Ditto.
891 (elmo-msgdb-message-entity-set-number): Ditto.
892 (elmo-msgdb-message-entity-field): Ditto.
893 (elmo-msgdb-message-entity-set-field): Ditto.
894 (elmo-msgdb-copy-message-entity): Ditto.
895 (elmo-msgdb-match-condition-internal): Ditto.
897 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
898 (elmo-message-copy-entity): Rewrite.
899 (elmo-message-entity-number): Ditto.
900 (elmo-message-entity-set-number): Ditto.
901 (elmo-message-entity-field): Use elmo-message-entity-db.
902 (elmo-message-entity-set-field): Ditto.
903 (elmo-message-field): Rewrite.
905 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
907 (elmo-msgdb-get-message-id-from-buffer): Ditto.
909 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
910 elmo-message-entity-field.
911 (elmo-shimbun-folder-shimbun-header): Ditto.
912 (elmo-shimbun-entity-to-header): Ditto.
913 (elmo-folder-msgdb-create): Ditto.
914 (elmo-shimbun-msgdb-create-entity): Ditto;
915 Use elmo-msgdb-create-message-entity-from-buffer.
916 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
917 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
919 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
920 elmo-msgdb-create-message-entity-from-file and
921 elmo-message-entity-field.
923 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
924 elmo-message-entity-number.
925 (elmo-pop3-msgdb-create-message): Use
926 elmo-msgdb-create-message-entity-from-buffer,
927 elmo-message-entity-set-field, elmo-message-entity-number and
928 elmo-message-entity-set-number.
930 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
931 the API change in elmo-msgdb-make-message-entity.
932 (elmo-nntp-msgdb-create-message): Use
933 elmo-msgdb-create-message-entity-from-buffer.
935 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
936 elmo-message-entity-field and
937 elmo-msgdb-create-message-entity-from-file.
939 * elmo-msgdb.el (toplevel): Don't require modb-entity.
940 (elmo-msgdb-get-field): Abolish.
941 (elmo-msgdb-get-number): Rewrite.
942 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
943 (elmo-msgdb-flag-table): Ditto.
944 (elmo-msgdb-get-last-message-id,
945 elmo-msgdb-number-load, elmo-msgdb-overview-load,
946 elmo-msgdb-mark-load, elmo-msgdb-number-save,
947 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
948 (elmo-msgdb-create-overview-from-buffer,
949 elmo-msgdb-overview-get-parent-entity): Abolish.
951 * elmo-mime.el (elmo-mime-display-as-is): Use
952 elmo-message-entity-field.
954 * elmo-map.el (elmo-folder-pack-numbers): Use
955 elmo-message-entity-set-number.
957 * elmo-maildir.el (elmo-folder-msgdb-create):
958 elmo-msgdb-create-message-entity-from-file instead of
959 elmo-msgdb-create-overview-entity-from-file.
961 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
963 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
964 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
966 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
967 elmo-messge-entity-field and elmo-message-entity-number.
968 (elmo-imap4-fetch-callback-1): Call
969 elmo-msgdb-create-message-entity-from-buffer instead of
970 elmo-msgdb-create-overview-from-buffer.
971 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
972 (elmo-find-fetch-strategy): Likewise.
974 * elmo-flag.el (elmo-folder-msgdb-create): Call
975 elmo-localdir-msgdb-create-entity with argument msgdb.
977 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
978 and elmo-message-entity-set-number.
980 * elmo-cache.el (elmo-folder-msgdb-create): Use
981 elmo-message-entity-field.
982 (elmo-folder-msgdb-create): Call
983 elmo-msgdb-create-message-entity-from-file instead of
984 elmo-msgdb-create-overview-entity-from-file.
986 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
987 argument msgdb; Call elmo-msgdb-create-message-from-buffer
988 instead of elmo-msgdb-create-overview-from-buffer.
989 (elmo-archive-msgdb-create-entity): Ditto.
990 (elmo-archive-msgdb-create-as-numlist-subr1): Use
991 elmo-message-entity-field.
992 (elmo-archive-parse-mmdf): Ditto.
994 * modb-entity.el: Removed.
996 * elmo-version.el (elmo-version): Up to 2.11.16.
998 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
1000 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
1002 (elmo-folder-flag-as-answered): Ditto.
1004 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1006 * modb-standard.el: New file.
1008 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
1009 elmo-msgdb-convert-type is `sync'.
1011 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
1012 (elmo-msgdb-convert-type): New user option.
1014 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
1015 (elmo-load-msgdb): Auto detect saved type.
1017 * elmo-version.el (elmo-version): Up to 2.11.15.
1019 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
1021 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
1023 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
1024 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
1025 with argument `delete-if-none' when dst-folder is 'null.
1027 * elmo-flag.el (elmo-folder-append-messages): Defined.
1028 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
1030 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
1032 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
1034 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1036 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
1037 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
1038 (elmo-folder-commit): Ditto.
1040 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
1042 * elmo-flag.el: New file.
1044 * elmo-mark.el: Removed.
1046 * modb-legacy.el (modb-legacy-new-mark,
1047 modb-legacy-unread-uncached-mark,
1048 modb-legacy-unread-cached-mark,
1049 modb-legacy-read-uncached-mark,
1050 modb-legacy-answered-cached-mark,
1051 modb-legacy-answered-uncached-mark,
1052 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
1053 All other related portions are changed.
1055 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
1056 (elmo-folder-list-messages-with-global-mark): Abolish.
1057 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
1058 (elmo-folder-flag-as-important): Ditto.
1059 (elmo-folder-unflag-read): Ditto.
1060 (elmo-folder-flag-as-read): Ditto.
1061 (elmo-folder-unflag-answered): Ditto.
1062 (elmo-folder-flag-as-answered): Ditto.
1063 (elmo-message-encache): Return the cache path.
1064 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
1065 (elmo-message-set-flag): Transitional implementation.
1066 (elmo-message-unset-flag): Ditto.
1067 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
1068 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
1069 (elmo-init): Call elmo-global-flag-initialize.
1070 (toplevel): Added autoload settings for elmo-flag.
1072 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
1074 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
1075 (elmo-file-cache-delete): Don't treat global-mark.
1077 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1079 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
1081 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
1082 `elmo-global-flags-set'.
1084 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
1086 (elmo-folder-unflag-read): Ditto.
1087 (elmo-folder-unflag-important): Ditto.
1088 (elmo-folder-flag-as-important): Ditto.
1089 (elmo-folder-unflag-answered): Ditto.
1090 (elmo-folder-flag-as-answered): Ditto.
1092 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
1093 `elmo-global-flags-set'.
1094 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
1096 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
1098 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
1100 (elmo-folder-flag-as-important): Ditto.
1101 (elmo-folder-unflag-important): Ditto.
1102 (elmo-folder-flag-as-important): Ditto.
1103 (elmo-folder-unflag-read): Ditto.
1104 (elmo-folder-flag-as-read): Ditto.
1105 (elmo-folder-unflag-answered): Ditto.
1106 (elmo-folder-flag-as-answered): Ditto.
1108 * elmo-multi.el (elmo-folder-list-importants): Don't call
1109 elmo-folder-list-messages-with-global-mark.
1110 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
1111 (elmo-folder-unflag-important): Ditto.
1112 (elmo-folder-flag-as-read): Ditto.
1113 (elmo-folder-unflag-read): Ditto.
1114 (elmo-folder-flag-as-answered): Ditto.
1115 (elmo-folder-unflag-answered): Ditto.
1117 * elmo-msgdb.el (elmo-msgdb-new-mark,
1118 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
1119 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
1120 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
1121 (Moved to modb-legacy.el).
1122 (elmo-flag-table-get): Treat important flag too.
1124 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
1126 (elmo-map-folder-flag-as-important): Ditto.
1127 (elmo-map-folder-unflag-read): Ditto.
1128 (elmo-map-folder-flag-as-read): Ditto.
1129 (elmo-map-folder-unflag-answered): Ditto.
1130 (elmo-map-folder-flag-as-answered): Ditto.
1131 (elmo-folder-unflag-important): Ditto.
1132 (elmo-folder-flag-as-important): Ditto.
1133 (elmo-folder-unflag-read): Ditto.
1134 (elmo-folder-flag-as-read): Ditto.
1135 (elmo-folder-unflag-answered): Ditto.
1136 (elmo-folder-flag-as-answered): Ditto.
1138 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
1139 (elmo-map-folder-flag-as-important): Renamed from `mark' to
1141 (elmo-map-folder-unflag-important): Ditto.
1142 (elmo-map-folder-flag-as-read): Ditto.
1143 (elmo-map-folder-unflag-read): Ditto.
1144 (elmo-map-folder-flag-as-answered): Ditto.
1145 (elmo-map-folder-unflag-answered): Ditto.
1147 * elmo-localdir.el (elmo-folder-msgdb-create): Call
1148 `elmo-global-flags-set'.
1149 (elmo-global-flags-set): Added autoload setting.
1151 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
1154 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
1155 `elmo-msgdb-global-mark-set'.
1156 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
1157 Call `elmo-global-flags-set'.
1158 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
1160 (elmo-folder-flag-as-important-plugged): Ditto.
1161 (elmo-folder-unflag-read-plugged): Ditto.
1162 (elmo-folder-flag-as-read-plugged): Ditto.
1163 (elmo-folder-unflag-answered-plugged): Ditto.
1164 (elmo-folder-flag-as-answered-plugged): Ditto.
1165 (elmo-global-flags-set): Added autoload setting.
1167 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
1169 (elmo-folder-unflag-read): Ditto.
1170 (elmo-folder-flag-as-important): Ditto.
1171 (elmo-folder-unflag-important): Ditto.
1172 (elmo-folder-flag-as-answered): Ditto.
1173 (elmo-folder-unflag-answered): Ditto.
1175 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
1176 change of `mark'->`flag'.
1177 (elmo-dop-queue-method-name-alist): Ditto.
1178 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
1179 (elmo-folder-unflag-read-dop): Ditto.
1180 (elmo-folder-flag-as-important-dop): Ditto.
1181 (elmo-folder-unflag-important-dop): Ditto.
1182 (elmo-folder-flag-as-answered-dop): Ditto.
1183 (elmo-folder-unflag-answered-dop): Ditto.
1185 * elmo-cache.el (elmo-folder-msgdb-create): Call
1186 `elmo-global-flags-set'.
1188 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
1189 Call `elmo-global-flags-set'.
1190 (elmo-archive-msgdb-create-as-numlist-subr2): Call
1191 elmo-archive-parse-mmdf with argument `folder'.
1192 (elmo-archive-parse-mmdf): Added argument `folder';
1193 Call `elmo-global-flags-set'.
1195 * elmo-version.el (elmo-version): Up to 2.11.14.
1197 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1199 * modb.el (elmo-msgdb-length): Define.
1201 * elmo.el (elmo-make-folder): Fixed.
1202 (elmo-generic-folder-append-messages): Follow the API change.
1204 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
1207 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1209 * modb.el: New file.
1211 * modb-entity.el: Ditto.
1213 * modb-legacy.el: Ditto.
1215 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
1216 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
1217 of `elmo-msgdb-overview-get-entity'.
1218 (elmo-msgdb-get-field): Ditto.
1219 (elmo-msgdb-merge): Moved to `elmo.el'.
1220 (elmo-msgdb-length): Removed; redefine as modb method.
1221 (elmo-msgdb-change-mark): Abolish.
1222 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
1223 (elmo-msgdb-match-condition): Don't use mark.
1224 (elmo-msgdb-overview-get-entity): Abolish.
1225 Split modb part into `modb*.el'.
1227 * elmo-vars.el (elmo-msgdb-default-type): New user option.
1229 * elmo-shimbun.el (shimbun-mua-search-id): Use
1230 `elmo-msgdb-message-entity' instead of
1231 `elmo-msgdb-overview-get-entity'.
1232 (elmo-shimbun-folder-shimbun-header): Ditto.
1233 (elmo-shimbun-get-headers): Ditto.
1234 (elmo-shimbun-update-overview): Ditto.
1236 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
1238 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
1240 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
1241 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
1243 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
1244 `elmo-msgdb-mark-to-flags'.
1246 * elmo-map.el (elmo-folder-pack-numbers): Don't use
1247 `elmo-msgdb-set-path'.
1249 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1251 * elmo-version.el (elmo-version): Up to 2.11.13.
1253 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
1255 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
1258 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
1260 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
1263 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1265 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
1266 instead of `elmo-msgdb-get-cached'.
1267 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
1269 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
1270 (elmo-msgdb-set-cached): Ditto.
1271 (elmo-msgdb-set-flag): Rewrite.
1272 (elmo-msgdb-unset-flag): Ditto.
1274 * elmo-msgdb.el: Rewrite with luna.
1276 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
1277 (elmo-folder-msgdb): Follow the change above.
1278 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
1279 (elmo-folder-unmark-important): Follow the API change.
1280 (elmo-folder-mark-as-important): Ditto.
1281 (elmo-folder-unmark-read): Ditto.
1282 (elmo-folder-mark-as-read): Ditto.
1283 (elmo-folder-unmark-answered): Ditto.
1284 (elmo-folder-mark-as-answered): Ditto.
1285 (elmo-folder-clear): Likewise.
1287 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
1288 instead of `elmo-msgdb-load' (renamed).
1290 * elmo-version.el (elmo-version): Up to 2.11.12.
1292 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1294 * elmo.el (elmo-generic-folder-append-messages): Follow the API
1296 (elmo-message-mark): Abolish.
1297 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
1298 instead of `elmo-msgdb-change-mark'.
1300 * elmo-pipe.el (elmo-message-mark): Abolish.
1302 * elmo-multi.el (elmo-message-mark): Ditto.
1304 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
1305 (elmo-msgdb-unread-uncached-mark): Ditto.
1306 (elmo-msgdb-unread-cached-mark): Ditto.
1307 (elmo-msgdb-read-uncached-mark): Ditto.
1308 (elmo-msgdb-answered-cached-mark): Ditto.
1309 (elmo-msgdb-answered-uncached-mark): Ditto.
1310 (elmo-msgdb-important-mark): Ditto.
1311 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
1313 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
1315 (elmo-flag-table-load): Changed flag to list of flag.
1316 (elmo-flag-table-set): If flags is nil, set read flag.
1317 (elmo-flag-table-get): Return derived flags from global mark,
1318 cache status and saved flags.
1319 (elmo-msgdb-flag-table): Follow the change above.
1320 (elmo-msgdb-out-of-date-messages): New function.
1322 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
1324 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
1326 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
1328 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
1329 (elmo-nntp-msgdb-create-message): Ditto.
1331 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1333 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
1335 (elmo-folder-msgdb-create): Follow the API change.
1337 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
1338 (elmo-folder-append-messages): Ditto.
1340 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
1341 (elmo-folder-append-buffer): Ditto.
1343 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
1345 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
1347 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
1348 (elmo-archive-parse-mmdf): Ditto.
1350 * elmo-version.el (elmo-version): Up to 2.11.11.
1352 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1354 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
1357 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
1359 * elmo-pipe.el (elmo-message-flags): Defined.
1361 * elmo-multi.el (elmo-message-flags): Ditto.
1363 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1365 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
1366 `elmo-msgdb-delete-msgs'.
1368 * elmo.el (elmo-folder-count-flags): Don't use
1369 `elmo-msgdb-get-mark-alist'.
1370 (elmo-folder-detach-messages): Follow the API change.
1372 * elmo.el (elmo-folder-list-messages): Append killed messages into
1373 result if `visible-only' is nil.
1375 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
1377 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
1378 (elmo-folder-update-number): Likewise.
1380 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
1381 (elmo-pop3-sort-msgdb-by-original-number): Use
1382 `elmo-msgdb-sort-entities'.
1384 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
1385 (elmo-msgdb-sort-by-date): Use it.
1386 (elmo-msgdb-overview-sort-by-date): Abolish.
1388 * elmo-dop.el (elmo-folder-status-dop): Fixed.
1390 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
1391 (elmo-msgdb-flags): New function.
1392 (elmo-msgdb-merge): Use elmo-msgdb-append.
1394 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
1397 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1399 * elmo-dop.el (elmo-folder-status-dop): Use
1400 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
1402 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1404 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
1406 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
1408 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
1410 * elmo-util.el (elmo-with-progress-display): New macro.
1412 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
1414 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1416 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
1417 `elmo-folder-list-message-entities' instead of
1418 `elmo-msgdb-get-overview'.
1419 (elmo-map-folder-list-message-locations): Ditto.
1421 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
1422 methods instead of treat directly).
1423 (elmo-msgdb-clear): Ditto.
1424 (elmo-msgdb-delete-msgs): Ditto.
1425 (elmo-msgdb-sort-by-date): Ditto.
1427 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
1429 (elmo-nntp-folder-msgdb-create): Follow the API change.
1431 * elmo-version.el (elmo-version): Up to 2.11.10.
1433 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1435 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
1436 (elmo-msgdb-flags-to-mark): Ditto.
1437 (elmo-msgdb-append-entity): Ditto.
1439 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
1440 Use `elmo-msgdb-append-entity' instead of construct msgdb.
1441 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
1442 (elmo-archive-parse-mmdf): Ditto.
1444 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
1446 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
1448 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
1450 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
1452 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
1454 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
1456 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
1458 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1460 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
1461 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
1464 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
1465 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
1466 instead of directly construction.
1467 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
1468 instead of construct msgdb.
1470 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
1471 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
1472 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
1473 instead of construct msgdb.
1475 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1477 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
1478 when field is from or subject.
1480 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
1482 * elmo-multi.el (elmo-message-entity-parent): Define.
1483 (elmo-folder-search): Rewrite.
1485 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1487 * elmo-multi.el (elmo-message-cached-p): Define.
1489 * elmo.el (elmo-message-cached-p): New method.
1490 (elmo-message-accessible-p): Use it instead of msgdb API directly.
1491 (elmo-message-flags): New method.
1492 (elmo-message-flagged-p): New function.
1494 * elmo-version.el (elmo-version): Up to 2.11.9.
1496 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1498 * elmo-version.el (elmo-version): Up to 2.11.8.
1500 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
1502 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
1504 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
1506 * elmo.el (elmo-folder-detach-messages): Undo last change.
1508 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
1510 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
1512 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
1513 only when src folder type is pop3.
1515 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
1517 * elmo-msgdb.el (elmo-msgdb-make-index): Use
1518 elmo-msgdb-overview-entity-get-number instead of
1519 elmo-message-entity-number.
1521 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1523 * elmo-version.el (elmo-version): Up to 2.11.7.
1525 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
1527 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
1530 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
1531 (elmo-msgdb-merge): New function.
1532 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
1533 (elmo-msgdb-make-index): Rewrite.
1535 * elmo-version.el (elmo-version): Up to 2.11.6.
1537 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
1538 use it as a the path for loading message entities.
1540 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
1542 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
1544 * elmo-filter.el (elmo-folder-set-message-modified): Set
1545 message-modified slot of itself if it does not require target msgdb.
1547 * elmo-mime.el (elmo-mime-message-display): Display message entirely
1548 if folder length is zero.
1549 (elmo-mime-display-as-is): Ditto.
1551 * elmo-filter.el (elmo-folder-set-message-modified): Define.
1553 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
1555 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1557 * elmo.el (elmo-folder-set-message-modified): New method.
1558 (elmo-generic-folder-commit): Use it.
1559 (elmo-folder-synchronize): Ditto.
1561 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
1562 (elmo-folder-commit): Remove duplicate definition.
1564 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
1566 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
1568 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1570 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
1571 (elmo-strict-folder-diff): Ditto.
1572 (elmo-folder-set-info-max-by-numdb): Simplify.
1574 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
1575 elmo-msgdb-list-messages.
1577 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
1578 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
1580 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
1582 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
1583 visible-only is non-nil.
1584 (elmo-folder-confirm-appends): Changed message.
1585 (elmo-folder-synchronize): Added argument disable-killed.
1587 * elmo-multi.el (elmo-folder-synchronize): Added argument
1590 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
1592 * elmo-version.el (elmo-version): Up to 2.11.5.
1594 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
1597 * elmo-util.el (elmo-list-filter): Simplify.
1599 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
1600 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
1601 (elmo-generic-folder-diff): Abolish argument.
1602 (elmo-msgdb-load): Don't use number-alist.
1604 * elmo-filter.el (elmo-folder-diff): Abolish argument.
1606 * elmo-pipe.el (elmo-folder-diff): Ditto.
1608 * elmo-nmz.el (elmo-folder-diff): Ditto.
1610 * elmo-net.el (elmo-folder-diff): Ditto.
1612 * elmo-maildir.el (elmo-folder-diff): Ditto.
1614 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
1616 * elmo-multi.el (elmo-folder-diff): Ditto
1617 (elmo-multi-folder-diff): Rewrite.
1619 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1621 * elmo-pipe.el (elmo-folder-msgdb): Define.
1623 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
1625 * elmo.el (elmo-message-set-cached): Define as a method.
1627 * elmo-pipe.el (elmo-message-set-cached): Define.
1628 (elmo-find-fetch-strategy): Ditto.
1630 * elmo-multi.el (elmo-message-set-cached): Define.
1631 (elmo-find-fetch-strategy): Rewrite.
1633 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
1635 * elmo-pipe.el (elmo-message-folder): Fixed definition.
1637 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
1639 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
1640 instead of number-alist.
1642 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
1643 mark nor message-id when msgdb of source folder is not loaded.
1645 * elmo.el (elmo-generic-folder-append-messages): Ditto.
1647 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
1649 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
1651 * elmo.el (elmo-folder-length): Don't require msgdb.
1653 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
1655 * elmo.el (elmo-message-mark): Cause an error when empty folder.
1656 (elmo-message-field): Ditto.
1658 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
1659 (elmo-map-folder-list-message-locations): Setup `answered-locations'
1661 (elmo-map-folder-list-answereds): Define.
1662 (elmo-maildir-list-location): Treat 'R' info.
1663 (elmo-folder-msgdb-create): Treat flag-table.
1664 (elmo-folder-append-messages): Save flag-table.
1666 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
1668 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
1669 Use SELECT when elmo-imap4-use-select-to-update-status is t.
1671 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1673 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
1675 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
1676 'read when mark is null.
1678 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
1680 * elmo-version.el (elmo-version): Up to 2.11.4.
1682 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1684 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
1685 (elmo-folder-mark-as-answered): Ditto.
1687 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
1689 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
1690 (elmo-pop3-get-session): Make msgdb directory after session.
1691 (elmo-folder-exists-p): Check exactly at the first time even when the
1692 elmo-pop3-exists-exactly is nil.
1694 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
1695 (elmo-folder-list-messages): Define instead of
1696 elmo-folder-list-messages-internal.
1697 (elmo-folder-check): Check destination folder.
1698 (elmo-folder-synchronize): Drain the pipe.
1700 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
1701 when msgdb is not loaded.
1703 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
1705 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
1706 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
1709 * elmo.el (elmo-folder-kill-messages-before): New function.
1710 (elmo-folder-kill-messages): Ditto.
1711 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
1713 * elmo-imap4.el (elmo-folder-list-messages-plugged):
1714 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
1715 killed not by synchronize (e.g. scoring).
1717 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1719 * elmo.el (elmo-folder-search-fast): Return t if condition is not
1721 (elmo-folder-search): Follow the change above.
1723 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
1724 into the candidates of search field.
1726 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
1728 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
1729 (elmo-msgdb-unset-flag): Ditto.
1731 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
1733 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
1735 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
1736 (elmo-folder-commit): Define.
1737 (elmo-folder-synchronize): Ditto.
1738 (elmo-folder-list-flagged): Ditto.
1739 (elmo-folder-commit): Ditto.
1740 (elmo-folder-length): Ditto.
1741 (elmo-folder-count-flags): Ditto.
1742 (elmo-message-mark): Ditto.
1743 (elmo-message-field): Ditto.
1744 (elmo-message-entity): Ditto.
1745 (elmo-message-folder): Ditto.
1747 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
1749 * elmo.el (elmo-message-field): Define as a method.
1751 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
1752 (elmo-message-field): Define.
1754 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
1755 (elmo-folder-list-importants): Ditto.
1756 (elmo-folder-list-answereds): Ditto.
1758 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
1760 (elmo-folder-mark-as-read): Ditto.
1761 (elmo-folder-unmark-read): Ditto.
1762 (elmo-folder-mark-as-answered): Ditto.
1763 (elmo-folder-unmark-answered): Ditto.
1764 (elmo-folder-list-flagged): Define.
1765 (elmo-folder-commit): Ditto.
1766 (elmo-folder-length): Ditto.
1767 (elmo-folder-count-flags): Ditto.
1769 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
1771 * elmo.el (elmo-folder-detach-messages): New method.
1772 (elmo-folder-move-messages): Use it.
1773 (elmo-folder-synchronize): Ditto.
1775 * elmo-multi.el (elmo-folder-detach-messages): Define.
1777 * elmo.el (elmo-message-copy-entity): New function.
1778 (elmo-message-entity-set-number): Ditto.
1779 (elmo-message-mark): Define as method.
1781 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
1782 (elmo-folder-synchronize): Return 0 (Should be reconsider).
1783 (elmo-message-entity): Fixed last change.
1784 (elmo-message-mark): Define.
1785 (elmo-folder-msgdb-create): Abolish.
1786 (elmo-multi-folder-append-msgdb): Ditto.
1787 (elmo-multi-folder-diff): Fixed.
1788 (elmo-multi-split-number-alist): Removed.
1789 (elmo-multi-split-mark-alist): Removed.
1790 (elmo-folder-list-messages): Define.
1791 (elmo-folder-list-messages-internal): Removed.
1793 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
1794 local file messages.
1795 (elmo-folder-msgdb-create): Fixed read mark.
1797 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1799 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
1802 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
1804 * elmo.el (elmo-folder-list-message-entities): Define as inline
1806 (elmo-folder-messages): Abolish.
1808 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
1810 (elmo-folder-synchronize): Define.
1811 (elmo-message-entity): Define.
1813 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
1815 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
1816 elmo-imap4-session-select-mailbox.
1818 * elmo.el (elmo-folder-move-messages): Don't display any message.
1820 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
1822 (elmo-imap4-session-check): Don't wait CHECK response.
1823 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
1825 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
1827 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
1829 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
1831 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
1833 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
1836 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
1837 (elmo-folder-list-message-entities): Added argument in-msgdb and
1839 (elmo-folder-synchronize): Define as a method.
1841 * elmo-nntp.el (elmo-folder-initialize): Don't use
1842 elmo-nntp-default-user if zero-length username is specified
1845 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1847 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
1848 server name in case with username.
1849 (XXX: this is ad-hoc fix against username includes "@", it
1850 should be solved fundamentally)
1852 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
1854 * elmo-nntp.el (elmo-nntp-debug): New function.
1855 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
1856 (elmo-network-authenticate-session): Hide auth-info from the log.
1858 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
1859 user name if it is equal to elmo-nntp-default-user.
1861 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
1863 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
1864 instead of shimbun-server-internal;
1865 Use shimbun-current-group instead of shimbun-current-group-internal.
1866 (elmo-folder-plugged-p): Use shimbun-server instead of
1867 shimbun-server-internal.
1868 (elmo-folder-set-plugged): Ditto.
1869 (elmo-net-port-info): Ditto.
1870 (elmo-folder-check): Ditto.
1871 (elmo-folder-expand-msgdb-path): Ditto.
1872 (elmo-folder-list-subfolders): Ditto.
1874 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1876 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
1877 Convert field-name to lower case.
1878 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
1880 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1882 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
1883 `message' and `error' take format string.
1885 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1887 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
1889 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1891 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
1892 recursive call (can't byte compile on emacs 20.7).
1894 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
1896 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
1897 (elmo-folder-list-message-entities): New API.
1898 (elmo-message-entity): Ditto.
1899 (elmo-message-entity-parent): Ditto.
1900 (elmo-folder-do-each-message-entity): Ditto.
1901 (elmo-message-entity-number): Ditto.
1902 (elmo-message-entity-field): Ditto.
1903 (elmo-message-entity-set-field): Ditto.
1904 (elmo-folder-count-flags): Ditto.
1905 (elmo-folder-length): Ditto.
1907 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
1910 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
1911 (elmo-msgdb-count-marks): Abolish.
1912 (elmo-msgdb-make-entity): Ditto.
1913 (elmo-msgdb-do-each-entity): Ditto.
1914 (elmo-msgdb-message-entity): New inline function.
1915 (elmo-msgdb-message-entity-field): Ditto.
1916 (elmo-msgdb-message-entity-set-field): Ditto.
1917 (elmo-msgdb-make-message-entity): New function.
1919 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
1921 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
1922 to flag. (All other related portions are changed.)
1923 (elmo-folder-msgdb-create): Likewise.
1924 (elmo-generic-folder-append-messages): Use flag-table instead of
1926 (elmo-folder-move-messages): Removed redundant process.
1927 (elmo-folder-synchronize): Likewise.
1929 * elmo-msgdb.el (elmo-flag-table-get): New function.
1930 (elmo-flag-table-save): Fixed.
1931 (elmo-msgdb-length): New inline function.
1932 (elmo-msgdb-flag-table): New function.
1933 (elmo-msgdb-mark): Add optional argument new.
1934 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
1935 (elmo-msgdb-seen-list): Ditto.
1936 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
1939 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
1941 * elmo.el (elmo-message-set-mark): Abolish.
1942 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
1943 (All related portions are changed.)
1945 * elmo-msgdb.el (toplevel): Added comment.
1946 (elmo-load-msgdb): Added 4th element `path'.
1947 (elmo-msgdb-append): Follow the change above.
1948 (elmo-msgdb-clear): Ditto.
1949 (elmo-msgdb-delete-msgs): Ditto.
1950 (elmo-msgdb-get-path): New inline function.
1951 (elmo-msgdb-set-path): Ditto.
1952 (elmo-flag-table-filename): New variable.
1953 (elmo-flag-table-load): New function.
1954 (elmo-flag-table-set): Ditto.
1955 (elmo-flag-table-save): Ditto.
1956 (elmo-msgdb-get-field-value): Abolish.
1957 (elmo-msgdb-overview-get-entity-by-number): Ditto.
1959 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
1961 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
1962 the folder has been deleted successfully.
1963 * elmo-imap4.el (elmo-folder-delete): Ditto.
1964 * elmo-archive.el (elmo-folder-delete): Ditto.
1965 * elmo-localdir.el (elmo-folder-delete): Ditto.
1966 * elmo-maildir.el (elmo-folder-delete): Ditto.
1968 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
1970 * elmo-util.el (elmo-string-member-ignore-case): New function.
1971 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
1972 (elmo-imap4-fetch-callback-1-subr): Likewise.
1974 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
1976 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
1977 the case of the name attribute "\Noselect".
1979 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1981 * elmo.el (elmo-folder-rename-internal): New method to cause error.
1983 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
1984 flist, is not always a member of onum-alist.
1986 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1988 * elmo-version.el (elmo-version): Up to 2.11.3.
1990 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1992 * elmo-maildir.el (elmo-folder-rename-internal): New method,
1993 copied from localdir's one.
1995 * elmo-pipe.el (elmo-folder-rename): New method, rename
1996 destination folder with leaving source folder as it is.
1998 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
2000 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
2003 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2005 * elmo-version.el (elmo-version): Up to 2.11.2.
2007 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2009 * elmo-shimbun.el (elmo-folder-initialize): Do not call
2010 shimbun-open in case of "@".
2011 (elmo-folder-open-internal): Cope with shimbun = nil case.
2012 (elmo-folder-plugged-p): Ditto.
2013 (elmo-folder-list-subfolders): Make list for "@/" group.
2015 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2017 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
2018 mailbox (e.g. for %~/something).
2020 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
2022 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
2023 Replace nested conditional with guard clauses.
2025 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
2027 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
2030 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
2033 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
2035 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
2036 Replace nested conditional with guard clauses.
2038 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2040 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
2041 (elmo-passwd-alist-save): Ditto.
2042 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
2044 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2046 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
2047 dir-name only if it is absolute path.
2048 (TODO: distinguish +/something and +something)
2050 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2052 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
2053 path for "+~/something".
2055 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2057 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
2058 as non-directory, cause error before rename-file.
2059 * elmo-archive.el (elmo-folder-rename-internal): Create directory
2060 apropriately, mimic localdir's one.
2061 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
2063 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
2065 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
2067 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
2069 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
2071 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
2073 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
2074 is included in the global-mark or not.
2076 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2078 * utf7.el (toplevel): Avoid error when the function
2079 find-coding-system does not exist.
2081 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2083 * elmo-nntp.el (elmo-folder-search): Body search is to search from
2084 cache even if the folder is plugged.
2085 (elmo-nntp-search-primitive): Do nothing when body search is
2086 invoked (although it is not used by the change above).
2087 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
2089 2002-12-20 Kenichi OKADA <okada@opaopa.org>
2091 * elmo-version.el (elmo-version): Up to 2.11.1.
2093 2002-12-10 Kenichi OKADA <okada@opaopa.org>
2095 * elmo-archive.el: Specify charset.
2097 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
2099 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
2100 process buffer lives or not.
2102 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
2103 while flushing queues (It causes infinite loop).
2105 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
2107 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
2109 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
2111 * utf7.el (toplevel): Check the ucs features dynamically.
2112 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
2114 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
2115 folder is creatabe or not if it already exists.
2117 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
2119 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
2121 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
2123 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
2124 (elmo-imap4-read-response): Take care of garbage response.
2126 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2128 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
2129 just return nil instead of error.
2131 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2133 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
2134 search-key is "body".
2136 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
2138 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
2139 of elmo-string-matched-assoc to use match-data.
2140 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
2142 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2144 * elmo-split.el (elmo-split->): New function.
2145 (elmo-split-<): Ditto.
2147 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
2149 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
2150 workaround for invalid message-id.
2152 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
2154 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
2155 return normal pop3 session or pop3 biff session.
2157 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
2159 * elmo-maildir.el (elmo-maildir-update-current): Don't append
2160 info part to the cur files when the new files already have it.
2161 (Adviced by Jared Rhine <jared@wordzoo.com>)
2163 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2165 * elmo-split.el (elmo-split-default-action): New variable.
2166 (elmo-split-subr): Use it if all other conditions are passed.
2167 Extend `fname' and rename it as `action'. (implemented
2168 Teranishi-san's idea in [wl:10800])
2170 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2172 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
2173 * elmo-util.el: Ditto.
2175 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
2177 * elmo.el (elmo-message-accessible-p): Renamed from
2178 elmo-message-cached-p and rewritten.
2180 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
2182 * elmo.el (elmo-folder-list-flagged): New generic function.
2183 (elmo-folder-list-importants): New implementation.
2184 (elmo-folder-list-answereds): Ditto.
2185 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
2187 (elmo-message-cached-p): New function.
2188 (elmo-message-set-flag): Ditto (no content).
2189 (elmo-message-unset-flag): Ditto.
2190 (elmo-folder-list-messages-mark-match): Abolish.
2192 * elmo-util.el (elmo-regexp-opt): New function.
2194 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
2195 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
2197 (elmo-msgdb-list-flagged): New function.
2199 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
2200 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
2203 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
2205 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
2207 * elmo-version.el (elmo-version): Up to 2.11.0.
2209 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2211 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
2212 `elmo-file-cache-exists-p'; use proper mark that depends on
2214 (elmo-msgdb-unset-flag): Ditto.
2215 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
2217 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
2218 with 4th argument `use-cache'.
2220 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
2222 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
2223 (elmo-folder-mark-as-important): Ditto.
2224 (elmo-folder-unmark-read): Ditto.
2225 (elmo-folder-mark-as-read): Ditto.
2226 (elmo-folder-unmark-answered): Ditto.
2227 (elmo-folder-mark-as-answered): Ditto.
2229 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
2231 (elmo-msgdb-mark): Likewise.
2232 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
2233 (elmo-msgdb-unset-flag): Likewise.
2235 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
2237 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2239 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
2242 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2244 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
2245 set spool-length to 0.
2247 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2249 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
2250 (elmo-dop-queue-flush): Fixed last change.
2252 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2254 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
2255 if require-msgdb slot is nil.
2256 (elmo-folder-list-importants): Likewise.
2258 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2260 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
2263 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
2264 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
2267 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
2269 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
2271 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
2273 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
2275 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
2277 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2279 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
2280 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
2282 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2284 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
2285 the problem reported by Sean Rima [wl-en:180].
2287 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
2289 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
2291 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
2293 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
2295 * elmo-map.el (elmo-folder-unmark-read): Ditto.
2297 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
2299 * elmo-net.el (elmo-folder-unmark-read): Ditto.
2301 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
2303 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
2305 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
2308 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
2310 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
2311 (elmo-folder-mark-as-read): Follow the API change.
2312 (elmo-message-set-cached): New function.
2314 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
2316 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
2318 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
2319 (elmo-folder-mark-as-important): Ditto.
2320 (elmo-folder-unmark-read): Ditto.
2321 (elmo-folder-mark-as-read): Ditto.
2322 (elmo-folder-unmark-answered): Ditto.
2323 (elmo-folder-mark-as-answered): Ditto.
2325 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
2326 (elmo-folder-unmark-important): Ditto.
2327 (elmo-folder-mark-as-read): Ditto.
2328 (elmo-folder-unmark-read): Ditto.
2329 (elmo-folder-mark-as-answered): Ditto.
2330 (elmo-folder-unmark-answered): Ditto.
2332 * elmo-mark.el (toplevel): Removed some mark method definitions.
2334 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
2335 (elmo-map-folder-mark-as-answered): Ditto.
2336 (elmo-folder-unmark-important): Add :before qualifier.
2337 (elmo-folder-mark-as-important): Ditto.
2338 (elmo-folder-unmark-read): Ditto.
2339 (elmo-folder-mark-as-read): Ditto.
2340 (elmo-folder-unmark-answered): Define.
2341 (elmo-folder-mark-as-answered): Ditto.
2343 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
2344 (elmo-map-folder-unmark-answered): Ditto.
2346 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
2348 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
2349 (elmo-folder-mark-as-important): Ditto.
2350 (elmo-folder-unmark-read): Ditto.
2351 (elmo-folder-mark-as-read): Ditto.
2352 (elmo-folder-unmark-answered): Ditto.
2353 (elmo-folder-mark-as-answered): Ditto.
2355 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
2356 `mark'; evaluate mark condition.
2357 (elmo-msgdb-match-condition-internal): New function.
2358 (elmo-msgdb-match-condition): Call it; changed argument.
2360 * elmo.el (elmo-folder-search): Follow the API change on
2361 `elmo-msgdb-match-condition'.
2363 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2365 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
2366 original mark is non-nil.
2368 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
2370 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
2371 (elmo-map-folder-list-answereds): New method.
2372 (elmo-folder-list-unreads): Add :around qualifier.
2373 (elmo-folder-list-importants): Ditto.
2374 (elmo-folder-list-answereds): Ditto.
2376 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
2378 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
2380 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
2381 method if msgdb is not required.
2382 (elmo-filter-folder-list-importants): Don't treat global-mark.
2384 * elmo.el (elmo-folder-list-importants): Ditto.
2386 * elmo-net.el (elmo-folder-list-importants): Ditto.
2388 * elmo-map.el (elmo-folder-list-importants): Ditto.
2390 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
2392 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
2393 (elmo-imap4-folder-list-any-plugged): New function.
2394 (elmo-imap4-search-internal-primitive): Use it.
2396 * elmo-filter.el (elmo-folder-check): Synchronize original folder
2397 only when require-msgdb slot is non-nil.
2398 (elmo-folder-close): Clear target folder's msgdb.
2400 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
2402 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
2403 (elmo-pop3-msgdb-create-by-header): Ditto.
2404 (elmo-pop3-msgdb-create-message): Ditto.
2406 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
2408 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
2410 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
2412 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
2413 (elmo-folder-msgdb-create): Ditto.
2414 (elmo-nntp-folder-msgdb-create): Ditto.
2415 (elmo-nntp-msgdb-create-by-header): Ditto.
2416 (elmo-nntp-msgdb-create-message): Ditto.
2417 (elmo-folder-list-unreads): Define.
2419 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
2420 (elmo-folder-append-messages): Ditto.
2421 (elmo-folder-list-unreads): Define.
2422 (elmo-folder-list-importants): Ditto.
2423 (elmo-folder-list-answereds): Ditto.
2425 * elmo-net.el (elmo-folder-list-unreads): Define.
2426 (elmo-folder-list-importants): Ditto.
2427 (elmo-folder-list-answereds): Ditto.
2428 (elmo-folder-list-answereds-plugged): Ditto.
2429 (elmo-folder-msgdb-create): Follow the API change.
2430 (elmo-folder-msgdb-create-unplugged): Ditto.
2431 (elmo-folder-unmark-answered): Define.
2432 (elmo-folder-mark-as-answered-unplugged): Ditto.
2433 (elmo-folder-unmark-answered-unplugged): Ditto.
2435 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
2436 (elmo-msgdb-unread-uncached-mark): Ditto.
2437 (elmo-msgdb-unread-cached-mark): Ditto.
2438 (elmo-msgdb-read-uncached-mark): Ditto.
2439 (elmo-msgdb-answered-cached-mark): Ditto.
2440 (elmo-msgdb-answered-uncached-mark): Ditto.
2441 (elmo-msgdb-important-mark): Ditto.
2442 (elmo-msgdb-set-mark): Rewrite.
2443 (elmo-msgdb-count-marks): Rewrite.
2444 (elmo-msgdb-mark-alist-set): Abolish.
2445 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
2446 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
2448 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
2449 (elmo-folder-close): Define.
2450 (elmo-folder-msgdb-create): Follow the API change.
2451 (elmo-folder-list-unreads): Rewrite.
2452 (elmo-folder-mark-as-important): Ditto.
2453 (elmo-folder-unmark-important): Ditto.
2454 (elmo-folder-mark-as-read): Ditto.
2455 (elmo-folder-unmark-read): Ditto.
2456 (elmo-folder-mark-as-answered): Define.
2457 (elmo-folder-unmark-answered): Ditto.
2459 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
2460 (elmo-folder-append-messages): Ditto.
2462 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
2464 * elmo-map.el (elmo-folder-list-unreads): Ditto.
2465 (elmo-folder-list-importants): Ditto.
2467 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
2468 (elmo-folder-append-messages): Ditto.
2470 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
2472 (elmo-folder-msgdb-create-plugged): Ditto.
2473 (elmo-folder-append-messages): Ditto.
2474 (elmo-folder-list-answereds-plugged): Define.
2475 (elmo-imap4-search-internal-primitive): Add `mark' processing.
2476 (elmo-folder-unmark-answered-plugged): Define.
2477 (elmo-folder-mark-as-answered-plugged): Ditto.
2478 (elmo-folder-search-requires-msgdb-p): Ditto.
2480 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
2481 (elmo-folder-initialize): Set it.
2482 (elmo-folder-msgdb): Define.
2483 (elmo-folder-check): Call elmo-folder-synchronize.
2484 (elmo-folder-close): Define.
2485 (elmo-folder-commit): Ditto.
2486 (elmo-folder-msgdb-create): Rewrite.
2487 (elmo-folder-list-unreads): Ditto.
2488 (elmo-folder-list-importants): Ditto.
2489 (elmo-folder-mark-as-read): Ditto.
2490 (elmo-folder-unmark-read): Ditto.
2491 (elmo-folder-mark-as-important): Ditto.
2492 (elmo-folder-unmark-important): Ditto.
2493 (elmo-folder-mark-as-answered): Define.
2494 (elmo-folder-unmark-answered): Ditto.
2496 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
2497 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
2498 (elmo-dop-queue-method-name-alist): Likewise.
2499 (elmo-folder-mark-as-answered-dop): New inline function.
2500 (elmo-folder-unmark-answered-dop): Ditto.
2501 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
2503 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
2504 (elmo-folder-msgdb-create): Ditto.
2505 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
2506 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
2507 (elmo-archive-parse-mmdf): Ditto.
2509 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
2510 (elmo-folder-list-unreads-internal): Ditto.
2512 * elmo.el (elmo-folder-msgdb): Define as generic function.
2513 (elmo-folder-list-messages): Added argument `in-msgdb'.
2514 (elmo-folder-list-unreads): Define as generic function.
2515 (elmo-folder-list-importants): Ditto.
2516 (elmo-folder-list-answereds): Ditto.
2517 (elmo-folder-list-messages-with-global-mark): New function.
2518 (elmo-folder-msgdb-create): Removed mark arguments.
2519 (elmo-folder-unmark-answered): New generic function.
2520 (elmo-folder-mark-as-answered): Ditto.
2521 (elmo-folder-append-messages): Removed argunment `unread-marks'
2522 (elmo-folder-list-unreads-internal): Abolish.
2523 (elmo-folder-list-importants-internal): Ditto.
2524 (elmo-folder-search-requires-msgdb-p): New generic function.
2525 (elmo-folder-search-requires-msgdb-p-internal): New function.
2526 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
2528 (elmo-folder-search-fast): Added key 'mark'.
2529 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
2530 instead of unread-marks argument.
2531 (elmo-folder-move-messages): Removed argunment `unread-marks'
2532 (elmo-folder-unmark-important): Define.
2533 (elmo-folder-mark-as-important): Ditto.
2534 (elmo-folder-unmark-read): Ditto.
2535 (elmo-folder-mark-as-read): Ditto.
2536 (elmo-folder-unmark-answered): Ditto.
2537 (elmo-folder-mark-as-answered): Ditto.
2538 (elmo-folder-replace-marks): Abolish.
2539 (elmo-generic-folder-append-msgdb): Append msgdb before checking
2541 (elmo-folder-synchronize): Removed mark arguments;
2542 return crosspost only number.
2544 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2546 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
2547 Remove redundunt connectivity check.
2549 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2551 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
2552 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
2554 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
2556 * pldap.el (ldap-decode-string): Return string as-is if
2557 `ldap-coding-system' is nil.
2558 (ldap-encode-string): Ditto.
2559 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
2560 (ldap-default-host): Fixed docstring.
2562 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
2564 * elmo-util.el (elmo-warning): Define as a macro which uses
2565 `display-warning' if it is defined as a function.
2567 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
2568 (elmo-split-equal): Use it.
2569 (elmo-split-match): Ditto.
2570 (elmo-split-message-entity): New buffer-local variable.
2571 (elmo-split-subr): Set it.
2573 * elmo-version.el (elmo-version): Up to 2.9.15.
2575 2002-08-18 Kenichi OKADA <okada@opaopa.org>
2577 * elmo-imap4.el (elmo-network-initialize-session):
2578 Check capability after starttls.
2580 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
2582 * elmo-util.el (elmo-list-delete): Added optional argument
2585 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
2587 * elmo-util.el (elmo-warning): Ignore errors while recenter.
2589 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
2591 * elmo-imap4.el (elmo-folder-initialize): Don't use
2592 elmo-imap4-default-mailbox.
2594 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
2596 * elmo-split.el (toplevel): Use `product-provide'.
2597 (elmo-split): Checkdoc.
2599 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
2601 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
2602 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
2603 the function `elmo-imap4-debug-1'.
2605 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2607 * elmo-split.el (elmo-split): Moved to run hooks and to show
2608 message from elmo-split-subr.
2609 (elmo-split-subr): Follow the change above.
2611 * elmo-split.el (elmo-split-subr): New function (renamed from
2613 (elmo-split): Changed to call elmo-split-subr by element of
2615 (elmo-split-folder): Changed customization type to choice.
2617 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2619 * elmo-split.el (elmo-split-and): Fixed condition.
2621 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
2623 * elmo-split.el: New file.
2624 (elmo-split): Fixed logic.
2625 Display "Test:" instead of "Folder:" when reharsal.
2627 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
2630 * elmo-version.el (elmo-version): Up to 2.9.14.
2632 * elmo-util.el (elmo-expand-newtext): New function (renamed from
2635 2002-06-10 Kenichi Sato <ksato@sonycom.com>
2637 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
2638 message with no message-id field.
2640 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
2642 * elmo-version.el (elmo-version): Up to 2.9.13.
2644 * elmo-dop.el (elmo-folder-status-dop): Fix.
2646 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
2648 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
2650 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
2651 changing default value of default-mime-charset.
2652 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
2654 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
2656 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
2657 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
2658 instead of elmo-dop-queue-method-name-alist to check merging queue.
2659 (elmo-folder-delete-messages-dop): Delete from queue if negative
2661 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
2662 file is already removed.
2664 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
2666 * elmo-vars.el: Bind colon keywords for old Emacsen.
2668 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2670 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
2671 against non-exsisting charset.
2673 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
2675 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
2676 Use eword-decode-and-unfold-unstructured-field-body.
2678 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
2679 (elmo-msgdb-create-overview-from-buffer): Use document charset if
2680 exists to decode raw subject string.
2681 (toplevel): Require 'mime.
2683 * elmo-version.el (elmo-version): Up to 2.9.12.
2685 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
2687 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
2688 (elmo-msgdb-set-mark): Ditto.
2690 * elmo-version.el (elmo-version): Up to 2.9.11.
2692 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
2694 * elmo-util.el (elmo-delete-match-files): New function.
2696 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
2697 instead of elmo-delete-directory.
2699 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
2700 elmo-hash-minimun-size as 63.
2702 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
2703 elmo-diff-unread is nil.
2705 * elmo-imap4.el (elmo-folder-open): Fix.
2707 * elmo.el (elmo-message-mark): Rewrite.
2708 (elmo-message-field): Ditto.
2709 (elmo-message-set-mark): Ditto.
2710 (elmo-folder-replace-marks): New function.
2711 (elmo-generic-folder-append-msgdb): Removed third argument for
2713 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
2714 (elmo-msgdb-load): New implementation.
2716 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
2718 * elmo-util.el (elmo-list-insert): New implementation.
2720 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
2721 argument for elmo-msgdb-append.
2724 * elmo-msgdb.el (elmo-load-msgdb): New function.
2725 (elmo-make-msgdb): Ditto.
2726 (elmo-msgdb-get-index): New inline function.
2727 (elmo-msgdb-set-index): Ditto.
2728 (elmo-msgdb-get-entity-hashtb): Ditto.
2729 (elmo-msgdb-get-mark-hashtb): Ditto.
2730 (elmo-msgdb-get-mark): Ditto.
2731 (elmo-msgdb-set-mark): Ditto.
2732 (elmo-msgdb-count-marks): Ditto.
2733 (elmo-msgdb-get-number): Ditto.
2734 (elmo-msgdb-get-field): Ditto.
2735 (elmo-msgdb-seen-list): Ditto.
2736 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
2737 (elmo-msgdb-delete-msgs): Follow the changes above.
2738 (elmo-msgdb-overview-get-entity): Ditto.
2739 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
2740 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
2742 (elmo-msgdb-make-index): Likewise.
2743 (elmo-msgdb-append): Removed third argument.
2744 (elmo-msgdb-clear): Clear index as nil.
2745 (elmo-folder-set-info-hashtb): Removed.
2746 (elmo-folder-set-info-max-by-numdb): Ditto.
2747 (elmo-folder-info-make-hashtb): Ditto.
2749 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
2751 * elmo-map.el (elmo-folder-pack-number): Ditto.
2753 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
2755 * elmo-version.el (elmo-version): Up to 2.9.10.
2757 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
2759 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
2761 2002-04-26 Kenichi OKADA <okada@opaopa.org>
2763 * elmo-utils.el (elmo-make-directory): Add option.
2764 Default file mode is 700.
2766 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2768 * elmo-shimbun.el (elmo-folder-local-p): Defined.
2770 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
2772 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
2775 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
2778 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2780 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
2781 (elmo-shimbun-folder-entity-hash): New function.
2782 (elmo-shimbun-folder-shimbun-header): Ditto.
2783 (elmo-shimbun-entity-to-header): Ditto.
2784 (elmo-shimbun-msgdb-to-headers): Removed.
2785 (elmo-shimbun-folder-setup): Ditto.
2786 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
2788 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
2789 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
2790 Removed useless local bind.
2791 (elmo-folder-open-internal): Don't call
2792 `elmo-shimbun-folder-setup'.
2793 (elmo-folder-close-internal): Clear entity-hash slot.
2794 (elmo-folder-clear): Ditto.
2795 (elmo-shimbun-msgdb-create-entity): Use
2796 `elmo-shimbun-folder-shimbun-header'.
2797 (elmo-map-message-fetch): Ditto.
2798 (elmo-shimbun-update-overview): Use overview entity instead of
2799 shimbun header to lookup id by references.
2800 (elmo-map-folder-list-message-locations): Use not only headers but
2801 also overviews to list locations.
2803 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2805 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
2808 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
2810 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2812 * elmo-util.el (elmo-read-search-condition-internal): Give default
2815 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
2817 * elmo-util.el (elmo-condition-parse-search-value): Accept
2818 YYYY-MM-DD format to search.
2819 * elmo-date.el (elmo-date-get-datevec): Likewise.
2821 2002-04-04 Kenichi OKADA <okada@opaopa.org>
2823 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
2826 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2828 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
2831 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
2833 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
2834 case from `elmo-folder-exists-p'.
2835 (elmo-folder-exists-p): Removed.
2836 (elmo-folder-creatable-p) Ditto.
2838 * elmo-net.el (elmo-folder-create): Defined.
2839 (elmo-folder-create-unplugged): New function.
2840 (elmo-folder-exists-p): Changed default value to nil from t.
2842 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
2843 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
2845 * elmo-dop.el (elmo-folder-create-dop): Renamed from
2846 `elmo-create-folder-dop' and append queue
2847 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
2848 (elmo-folder-create-dop-delayed): New function.
2850 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
2852 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
2854 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
2855 (elmo-folder-writable-p) : Ditto.
2857 * elmo-version.el (elmo-version): Up to 2.9.9.
2859 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2861 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
2862 `elmo-message-use-cache-p' returns nil.
2863 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2864 (ignore cache file and refer the substance in local folders)
2866 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2868 * elmo-version.el (elmo-version): Up to 2.9.8.
2870 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
2872 * elmo-version.el (elmo-version): Up to 2.9.7.
2874 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
2876 2002-02-18 Daiki Ueno <ueno@unixuser.org>
2878 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
2880 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2882 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
2884 (elmo-map-folder-list-message-locations): Reverse location list.
2886 2002-02-01 Kenichi OKADA <okada@opaopa.org>
2888 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
2890 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
2892 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
2894 (elmo-nntp-folder-list-subfolders): Follow the change above.
2896 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
2898 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
2899 name if authentication type is specified.
2901 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
2903 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
2905 (elmo-default-nntp-stream-type): Ditto.
2906 (elmo-default-pop3-stream-type): Ditto.
2908 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2910 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
2912 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2914 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
2916 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
2918 * elmo-vars.el (elmo-localnews-folder-path): Removed.
2919 (elmo-maildir-folder-path): Ditto.
2920 (elmo-maildir-list): Ditto (abolished).
2922 2002-01-23 Kenichi OKADA <okada@opaopa.org>
2924 * elmo-version.el (elmo-version): Up to 2.9.6.
2926 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2928 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
2929 (elmo-maildir-folder-path): Ditto.
2930 (elmo-msgdb-directory): Ditto.
2931 (elmo-passwd-life-time): Ditto.
2932 (elmo-msgdb-extra-fields): Ditto.
2933 (elmo-enable-disconnected-operation): Ditto.
2935 2002-01-22 Kenichi OKADA <okada@opaopa.org>
2937 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
2939 (elmo-pop3-default-authenticate-type): Ditto.
2941 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2943 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
2945 (elmo-pop3-default-authenticate-type): Ditto.
2947 2002-01-22 Kenichi OKADA <okada@opaopa.org>
2949 * elmo-imap4.el (elmo-folder-rename-internal): Change current
2950 mailbox to new-folder.
2952 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
2954 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
2955 less than new, set new as unread.
2957 * elmo-util.el (elmo-string): Don't put text-property if nil.
2959 2002-01-21 Kenichi OKADA <okada@opaopa.org>
2961 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
2962 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
2964 2002-01-21 Kenichi OKADA <okada@opaopa.org>
2966 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
2967 is nil on `completing-read'.
2969 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
2971 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
2973 (elmo-imap4-parse-namespace-subr): Ditto.
2974 (elmo-folder-list-subfolders): Append a delimiter when the specified
2975 folder path is a root with namespace and does not end with delimiter.
2977 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2979 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
2982 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2984 * elmo-util.el (elmo-save-buffer): The first argument of message
2985 is a format control string.
2987 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2989 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
2990 `elmo-folder-diff').
2991 (elmo-diff-unread): Likewise.
2993 2002-01-19 Kenichi OKADA <okada@opaopa.org>
2995 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
2996 is t on `completing-read'.
2998 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3000 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
3001 method of target folder with self mark-alist if MARK-ALIST is nil.
3003 2002-01-19 Kenichi OKADA <okada@opaopa.org>
3005 * elmo-version.el (elmo-version): Up to 2.9.5.
3007 2002-01-17 Kenichi OKADA <okada@opaopa.org>
3009 * elmo-dop.el (elmo-dop-queue-merge): Implement.
3010 (elmo-dop-merge-funcs): Remove.
3012 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3014 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
3015 Return t if PATH is directory, too.
3016 Use `dolist' instead of while loop.
3018 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3020 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
3023 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3025 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
3027 (elmo-folder-list-messages-unplugged): Return t if
3028 elmo-enable-disconnected-operation is nil.
3030 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
3031 `elmo-folder-list-messages-internal'.
3033 2002-01-07 Kenichi OKADA <okada@opaopa.org>
3035 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
3036 Change to looking-at `[23][0-9]+'.
3037 (elmo-network-initialize-session): Use 'error-msg'
3038 * elmo-net.el (elmo-network-open-session): Set unplugged
3039 if elmo-network-initialize-session returns 'elmo-open-err.
3041 2002-01-07 Kenichi OKADA <okada@opaopa.org>
3043 * elmo-version.el (elmo-version): Up to 2.9.4.
3045 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
3047 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
3048 `elmo-folder-list-messages-internal'.
3050 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3052 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
3053 (elmo-message-match-condition): New method.
3054 (elmo-folder-search-fast): New inline function.
3055 (elmo-msgdb-search): Removed.
3057 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
3058 target folder if it is unplugged.
3059 (elmo-folder-list-messages-internal): Return t if target folder is
3060 unplugged and itself is persistent; In this case, use list be
3063 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
3064 (elmo-msgdb-search-internal-primitive): Ditto.
3065 (elmo-msgdb-match-condition): New function.
3066 (elmo-msgdb-match-condition-primitive): Ditto.
3068 * elmo-util.el (elmo-filter-condition-p): New macro.
3070 * elmo-cache.el (elmo-folder-search): Removed.
3072 * elmo-localdir.el (elmo-folder-search): Ditto.
3074 * elmo-maildir.el (elmo-folder-search): Ditto.
3076 * elmo-mark.el (elmo-folder-search): Ditto.
3078 * elmo-nmz.el (elmo-folder-search): Ditto.
3080 * elmo-sendlog.el (elmo-folder-search): Ditto.
3082 * elmo-shimbun.el (elmo-folder-search): Ditto.
3084 * elmo-imap4.el (elmo-folder-search): Call method of parent class
3085 if folder is unplugged.
3087 * elmo-nntp.el (elmo-folder-search): Likewise.
3088 (elmo-nntp-search-internal): New function.
3090 * elmo-version.el (elmo-version): Up to 2.9.3.
3092 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3094 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
3096 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
3098 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
3100 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
3102 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
3104 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
3106 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
3107 (elmo-map-folder-list-message-locations): Do drive letter conversion
3108 on Windows environment.
3109 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
3110 (elmo-map-message-fetch): Ditto.
3112 2001-12-27 Kenichi OKADA <okada@opaopa.org>
3114 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
3115 (elmo-network-initialize-session): Ditto.
3117 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
3119 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
3121 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
3123 * elmo-util.el (elmo-progress-clear): Ditto.
3125 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
3126 `DD-Mon-YYYY' type date.
3128 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3130 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
3131 `elmo-date-make-sortable-string' instead of
3132 `timezone-make-date-sortable'.
3134 * elmo-date.el (elmo-date-make-sortable-string): Use
3135 `timezone-make-time-string'.
3137 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
3139 * elmo.el (elmo-folder-synchronize): Delete important messages too.
3141 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
3142 `since'; Fix timezone.
3144 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
3146 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
3148 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3150 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
3152 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3154 * elmo.el (elmo-generic-folder-append-messages): Make
3155 fetch-strategy with `use-cache' as 'maybe. Check return value of
3156 `elmo-message-fetch'.
3157 (elmo-message-fetch): Return return value of
3158 `elmo-message-fetch-with-cache-process'.
3159 (elmo-message-fetch-with-cache-process): Return non-nil if
3160 fetching was succeed. Load cache when fetching was failed and
3161 fetch-strategy-use-cache is 'maybe.
3163 * elmo-util.el (elmo-file-cache-load): New function.
3165 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
3168 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
3169 non-nil if fetching was succeed.
3171 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
3173 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
3175 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
3176 (elmo-message-fetch-with-cache-process): Likwise.
3178 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
3180 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
3182 * elmo-version.el (elmo-version): Up to 2.9.2.
3184 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
3186 * elmo.el (elmo-folder-delete): Delete msgdb path.
3188 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
3190 * elmo-maildir.el (elmo-folder-delete): Ditto.
3192 * elmo-localdir.el (elmo-folder-delete): Ditto.
3194 * elmo-imap4.el (elmo-folder-delete): Ditto.
3196 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
3198 * elmo.el (luna-define-class): Added `biff' slot.
3200 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
3201 (elmo-pop3-debug-inhibit-logging): Abolished.
3202 (elmo-network-close-session): Eliminated needless let.
3203 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
3204 (elmo-pop3-send-command): Added `no-log' argument.
3205 (elmo-pop3-process-filter): Use `with-current-buffer'.
3206 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
3208 (elmo-pop3-auth-apop): Likewise.
3209 (elmo-network-authenticate-session): Likewise.
3211 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
3214 * elmo-net.el (elmo-network-session-password-key): Use class symbol
3215 string to determine protocol.
3216 (elmo-network-session-name-prefix): Abolished.
3217 (elmo-network-session-cache-key): Follow the change above.
3218 (elmo-network-open-session): Ditto.
3220 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
3221 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
3223 * elmo-version.el (elmo-version): Up to 2.9.1.
3225 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
3226 unmatch condition checking.
3228 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
3231 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3233 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
3235 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
3237 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
3238 test for while loop to execute at least one SEARCH command.
3240 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
3242 * elmo-version.el (elmo-version): Up to 2.9.0.
3244 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
3246 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
3247 (elmo-archive-folder-path): Define.
3248 (elmo-folder-initialize): Setup `dir-name' slot.
3249 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
3250 Use `dir-name' as prefix of each subfolders.
3251 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
3253 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3255 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
3256 (elmo-pipe-folder-list-target-messages): New internal function.
3257 (elmo-pipe-drain): Use new argument `ignore-list' instead of
3259 (elmo-pipe-folder-copied-list-load): New function.
3260 (elmo-pipe-folder-copied-list-save): Ditto.
3261 (elmo-folder-open-internal): Follow the change above.
3262 (elmo-folder-status): Fixed for copy.
3264 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
3266 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
3268 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
3270 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
3271 elmo-copy-file instead of elmo-add-name-to-file.
3273 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
3275 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
3278 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
3279 of accept-process-output as 1.
3280 (elmo-pop3-read-contents): Ditto.
3281 (elmo-pop3-read-body): Ditto.
3283 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
3285 * elmo-version.el (product-version-as-string): Remove define.
3287 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
3289 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
3290 (elmo-imap4-copy-messages): Chop number set using
3291 `elmo-imap4-number-set-chop-length'.
3292 (elmo-imap4-set-flag): Ditto.
3293 (elmo-imap4-search-internal-primitive): Ditto.
3295 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
3297 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
3298 `elmo-folder-make-temp-dir'
3300 * elmo-vars.el (elmo-cache-directory): New variable.
3301 (elmo-cache-dir): Abolished.
3302 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
3304 * elmo-version.el (elmo-version): Up to 2.7.7.
3306 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
3308 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
3309 defcustom; Set default value as t.
3311 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
3313 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
3314 (ldap-search-program-arguments): Changed default value.
3315 (ldap-search-basic): Accept exit status 4.
3316 (ldap/field-body): Parse options.
3317 (ldap/collect-field): Ditto.
3318 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
3320 * elmo-imap4.el (elmo-imap4-process-bye): New function.
3321 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
3322 (elmo-imap4-accept-ok): Ditto.
3323 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
3324 'notify-bye, only BYE error is reported.
3325 (elmo-folder-exists-p-plugged): Set no-error argument of
3326 `elmo-imap4-session-select-mailbox' as 'notify-bye.
3328 * elmo.el (elmo-imap4-bye-error): Changed message.
3330 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
3331 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
3332 queues (It causes infinite loop).
3334 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
3336 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
3337 (RECENT UNSEEN MESSAGES) extension.
3339 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
3341 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
3342 Check number of overview fields.
3344 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
3346 * elmo.el (elmo-folder-confirm-appends): Changed message.
3347 (elmo-folder-confirm-appends): Ditto.
3349 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
3351 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
3353 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
3355 * elmo.el (elmo-folder-confirm-appends): Check whether the value
3356 of elmo-folder-update-threshold is nil, which can be set by
3357 wl-summary-update-confirm-threshold.
3359 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
3361 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
3362 (elmo-nmz-index-alias-alist): Ditto.
3363 (elmo-map-folder-list-message-locations): Follow the change above.
3365 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3367 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
3369 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
3371 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
3373 * elmo-util.el (elmo-read): Ditto.
3374 (elmo-display-error): Ditto.
3376 * elmo-vars.el (elmo-date-match): Ditto.
3378 * pldap.el (ldap-coding-system): Ditto.
3380 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
3381 `elmo-inhibit-number-mapping' as nil.
3383 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
3385 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
3386 space delimiter for list response.
3388 2001-12-02 Kenichi OKADA <okada@opaopa.org>
3390 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
3392 2001-12-02 Kenichi OKADA <okada@opaopa.org>
3394 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
3395 (elmo-map-message-fetch): Fix.
3396 * elmo-map.el (elmo-folder-status): Fix for killed.
3398 2001-12-02 Kenichi OKADA <okada@opaopa.org>
3400 * elmo-sendlog.el: New file.
3401 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
3403 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
3405 * acap.el (acap-logging-out): New buffer local variable.
3406 (acap-close): Set it.
3407 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
3410 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
3412 * acap.el (acap-response-bye-p): New function.
3413 (acap-response-bye-message): Ditto.
3414 (acap-wait-for-response): If bye response is received, cause an error.
3415 (acap-parse-response): Make bye response when 'Bye' is received.
3417 2001-11-23 Kenichi OKADA <okada@opaopa.org>
3419 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
3421 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3423 * elmo-util.el (elmo-copy-file): Added argument
3424 `ok-if-already-exists'.
3425 (elmo-copy-file): Fixed typo.
3427 2001-11-21 Kenichi OKADA <okada@opaopa.org>
3429 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
3431 2001-11-21 Kenichi OKADA <okada@opaopa.org>
3433 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
3435 2001-11-20 Kenichi OKADA <okada@opaopa.org>
3437 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
3440 2001-11-19 Kenichi OKADA <okada@opaopa.org>
3442 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
3443 (elmo-folder-initialize): Fix for `copy'.
3444 (elmo-pipe-drain): Ditto.
3445 (elmo-folder-open-internal): Ditto.
3446 (elmo-folder-newsgroups): Fix.
3448 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
3450 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
3453 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
3454 recent value is returned from imap folder.
3456 * elmo.el (elmo-folder-newsgroups): New generic function.
3458 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
3459 (elmo-folder-initialize): Set it.
3460 (elmo-folder-expand-msgdb-path): Use it.
3461 (elmo-folder-newsgroups): Define.
3463 * elmo-filter.el (elmo-folder-newsgroups): Define.
3465 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
3467 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
3469 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
3471 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3473 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
3475 (elmo-shimbun-header-extra-field): New inline function.
3476 (elmo-shimbun-header-set-extra-field): Ditto.
3477 (elmo-shimbun-folder-header-hash-setup): Ditto.
3478 (elmo-shimbun-update-overview): Ditto.
3479 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
3480 (elmo-shimbun-folder-setup): Use
3481 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
3482 (elmo-shimbun-get-headers): Ditto.
3483 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
3484 Insert `X-Shimbun-Id:' header if extra field is set.
3485 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
3486 field's value instead of `shimbun-header-id'.
3488 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
3490 (elmo-msgdb-overview-entity-set-date): Ditto.
3491 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3493 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
3495 * mmimap.el (mmimap-entity-section): Changed body node number from
3498 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3500 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
3501 `elmo-folder-delete-messages'.
3503 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
3504 (elmo-folder-initialize): Changed to expand alias into index path.
3506 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
3507 `elmo-mime-insert-header-from-buffer' with 6th arg
3510 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3512 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
3514 * elmo.el (elmo-diff-new): New inline function.
3515 (elmo-diff-unread): Ditto.
3516 (elmo-diff-all): Ditto.
3518 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
3519 value from responseb.
3520 (elmo-imap4-folder-diff-plugged): Ditto.
3521 (elmo-imap4-server-diff-async): Added recent argument.
3522 (elmo-server-diff-async): Ditto.
3523 (elmo-imap4-folder-diff-plugged): Ditto.
3525 * elmo-version.el (elmo-version): Up to 2.7.6.
3527 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3529 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
3532 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
3534 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
3536 * elmo-imap4.el (elmo-folder-initialize): Ditto.
3538 * elmo-nntp.el (elmo-folder-initialize): Ditto.
3540 * elmo-multi.el (elmo-folder-initialize): Ditto.
3542 * elmo-util.el (elmo-parse-token): New function.
3543 (elmo-parse-prefixed-element): Ditto.
3545 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
3547 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
3549 (elmo-imap4-accept-ok): Ditto.
3551 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3553 * mmimap.el (mime-imap-entity-header-string): Don't check first
3554 element of node-id is `0' (Follow last change).
3556 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3558 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
3559 assigned irregular node-id to nested multipart section.
3560 (initialize-instance): Followed above change.
3562 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3564 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
3565 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
3566 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
3567 `elmo-shimbun-get-headers');
3568 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
3569 visible article on summary exists in headers).
3570 (elmo-map-message-fetch): Cause an error when folder is unplugged.
3572 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3574 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
3577 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
3579 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
3581 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3583 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
3584 header separator into loop condition.
3586 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3588 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
3589 Return duplicate folder if it has subfolder.
3591 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
3593 * elmo.el (elmo-make-folder): Add folder name error check.
3595 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
3596 (elmo-nntp-encode-group-string): New inline function.
3597 (elmo-nntp-decode-group-string): Ditto.
3598 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
3599 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
3600 Use `not' instead of `null';
3601 Use elmo-nntp-decode-group-string.
3603 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
3605 * elmo-version.el (elmo-version): Up to 2.7.5.
3607 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3609 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
3610 Hide progress gauge if `elmo-folder-move-messages' exits
3613 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
3615 * elmo-imap4.el (elmo-folder-initialize): Use
3616 `elmo-imap4-encode-folder-string' for folder name.
3618 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3620 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
3623 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3625 * elmo-util.el (elmo-progress-counter-alist): New internal
3627 (elmo-progress-counter-value): New macro.
3628 (elmo-progress-counter-all-value): Ditto.
3629 (elmo-progress-counter-format): Ditto.
3630 (elmo-progress-counter-set-value): Ditto.
3631 (elmo-progress-set): New function.
3632 (elmo-progress-clear): Ditto.
3633 (elmo-progress-notify): Ditto.
3635 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
3638 * elmo.el (elmo-generic-folder-append-messages): Call
3639 `elmo-progress-notify'.
3640 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
3642 * elmo-archive.el (elmo-folder-append-messages): Call
3643 `elmo-progress-notify'.
3645 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
3647 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
3649 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
3651 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
3653 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
3655 (elmo-message-encache-dop): Added argument `read'.
3657 * elmo-shimbun.el (elmo-message-encache): Ditto.
3659 * elmo-net.el (elmo-message-encache): Ditto.
3661 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
3662 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
3663 elmo-imap4-seen-messages.
3664 (elmo-folder-msgdb-create-plugged): Initialize
3665 elmo-imap4-seen-messages;
3666 Set seen mark on elmo-imap4-seen-messages.
3668 * elmo-pipe.el (elmo-folder-message-file-p): Define.
3670 * elmo.el (elmo-generic-folder-append-messages): Check return value of
3671 elmo-folder-append-buffer.
3672 (elmo-folder-encache): Added optional argument `read'.
3673 (elmo-message-encache): Ditto.
3675 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
3677 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
3679 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
3680 if append buffer content succeds.
3682 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
3684 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
3685 elmo-display-progress.
3687 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
3688 Set 4th argument of mime-display-message.
3689 (elmo-mime-display-as-is): Ditto.
3691 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
3693 * elmo-nmz.el (toplevel): Require 'mime-edit.
3694 (elmo-nmz-content-type-alist): Abolished.
3695 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
3696 content is not a message.
3697 (elmo-map-message-fetch): Changed behavior exept for message content;
3698 Detect mime-charset automatically, Use `mime-find-file-type' to detect
3699 content-type, Add From: and Subject: field.
3701 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3703 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
3704 (elmo-map-message-fetch): Add `Content-Type' field if contents is
3707 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3709 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
3710 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
3712 * elmo-archive.el (elmo-folder-writable-p): Defined.
3714 * elmo-cache.el (elmo-folder-writable-p): Ditto.
3716 * elmo-filter.el (elmo-folder-writable-p): Ditto.
3718 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
3720 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
3722 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
3724 * elmo-mark.el (elmo-folder-writable-p): Ditto.
3726 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
3728 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
3730 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
3732 * elmo-util.el (elmo-address-quote-specials): New function;
3733 Renamed from `wl-address-quote-specials'.
3735 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
3737 * elmo-version.el (elmo-version): Up to 2.7.4.
3739 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
3741 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
3743 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
3745 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
3746 both compile-time and run-time to avoid byte-compile warning.
3748 2001-09-13 Kenichi OKADA <okada@opaopa.org>
3750 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
3752 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
3754 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
3756 (elmo-mime-display-as-is-internal): Use it.
3758 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
3759 if `read-passwd' is not defined.
3761 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
3763 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
3765 (elmo-folder-status): Call `elmo-folder-open-internal';
3766 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
3767 (elmo-folder-close-internal): Set location-alist as nil.
3768 (elmo-folder-clear): Define.
3769 (elmo-folder-check): Don't set location-alist as nil.
3771 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
3773 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
3775 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
3776 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
3778 * mmimap.el (mime-imap-entity::requested): New slot.
3779 (mime-imap-location-fetch-entity-p): New generic function.
3780 (mime-decode-parameters): Define using `defun-maybe'.
3781 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
3782 content-type structure.
3783 (mime-entity-body): Return empty body if
3784 `mime-imap-location-fetch-entity-p' returns nil in the first request.
3786 * elmo.el (elmo-message-displaying): New variable.
3788 * elmo-mime.el (elmo-mime-message-display): Bind
3789 elmo-message-displaying as t.
3791 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
3793 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
3795 * acap.el (acap-open): erase buffer before starting network process.
3796 (acap-store): Rewrite.
3798 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
3800 * elmo-imap4.el (elmo-imap4-default-mailbox,
3801 elmo-imap4-default-server
3802 elmo-imap4-default-authenticate-type,
3803 elmo-imap4-default-user,
3804 elmo-imap4-default-port,
3805 elmo-imap4-default-stream-type,
3806 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
3808 * elmo-pop3.el (elmo-pop3-default-user,
3809 elmo-pop3-default-server,
3810 elmo-pop3-default-authenticate-type,
3811 elmo-pop3-default-port,
3812 elmo-pop3-default-stream-type,
3813 elmo-pop3-stream-type-alist): Ditto.
3815 * elmo-nntp.el (elmo-nntp-default-server,
3816 elmo-nntp-default-user,
3817 elmo-nntp-default-port,
3818 elmo-nntp-default-stream-type,
3819 elmo-nntp-stream-type-alist): Ditto.
3821 * elmo-vars.el: Follow changes above.
3822 (elmo-setting): New custom group; added 'elmo-setting group to
3825 * elmo-version.el (elmo-version): Up to 2.7.3.
3827 * acap.el (acap-parse-response): Don't delete process when BYE
3828 response (It causes hang-up on slow network environment).
3829 (toplevel): Added comment.
3831 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
3833 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
3835 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
3837 (acap-parse-return-metadata): Ditto.
3840 (toplevel): Fixed typo.
3842 * acap.el: New file.
3843 (acap-network-stream-open): Show "Connecting..." message.
3844 (acap-parse-response): Fixed problem for BYE untagged response.
3845 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
3846 (toplevel): Added tiny comments.
3848 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
3850 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
3851 space delimiter for uidl response.
3853 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
3855 * elmo-vars.el (elmo-use-semi): Eliminated.
3857 * elmo-util.el (elmo-string-assoc-all): New function.
3859 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3861 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
3862 property 'mime-preview-situation for `mime-preview-quit'.
3864 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3866 * elmo.el (elmo-message-fetch-with-cache-process): Call
3867 elmo-message-fetch-internal instead of causing an error when fetch
3868 strategy is 'entire but only 'section cache is available.
3870 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
3872 * elmo-version.el (elmo-version): Up to 2.7.2.
3874 * elmo.el (elmo-generic-folder-append-messages): Make
3875 fetch-strategy with `use-cache'.
3877 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
3878 (elmo-dop-queue-method-name): New macro.
3880 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3882 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
3883 unbalanced parenthesis.
3885 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
3887 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
3889 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
3891 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
3892 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
3894 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3896 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
3899 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3901 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
3902 (elmo-message-use-cache-p): Define.
3903 (elmo-folder-msgdb-create): Treat cache.
3905 2001-07-28 Kenichi OKADA <okada@opaopa.org>
3907 * elmo-nntp.el (elmo-network-initialize-session): Call
3908 `elmo-nntp-send-mode-reader'.
3909 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
3911 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
3913 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
3915 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
3918 * elmo-net.el (elmo-network-get-session): Set stream-type argument
3919 for `elmo-plugged-p'.
3920 (elmo-open-network-stream): Fixed stream-type argument.
3922 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
3924 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
3925 unknown archive type is specified.
3927 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
3929 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
3931 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
3932 while loading msgdb.
3934 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
3935 (elmo-folder-open-internal): Rewrite.
3937 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3939 * elmo-mime.el (elmo-mime-display-as-is-internal):
3940 Adjust buffer-multibyte status.
3942 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3944 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
3945 of elmo-condition-find-key.
3947 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
3948 (elmo-condition-in-msgdb-p): Ditto.
3949 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
3952 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3954 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
3956 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
3958 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
3959 label for elmo-display-progress.
3961 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
3963 * elmo.el (elmo-folder-clear): New method.
3964 (elmo-folder-clear): Define.
3965 (elmo-folder-synchronize): Call `elmo-folder-clear'.
3967 * elmo-shimbun.el (elmo-folder-check): Rewrite.
3968 (elmo-folder-clear): Define.
3970 * elmo-map.el (elmo-folder-clear): Define.
3972 * elmo-version.el (elmo-version): Up to 2.7.1.
3974 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
3976 * elmo.el (elmo-folder-synchronize): Return list of nil when no
3979 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
3981 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
3982 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
3984 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
3986 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
3988 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
3991 * elmo-imap4.el (elmo-folder-initialize): Use
3992 elmo-get-network-stream-type.
3994 * elmo-nntp.el (elmo-folder-initialize): Ditto.
3996 * elmo-pop3.el (elmo-folder-initialize): Ditto.
3998 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
4000 * elmo.el (elmo-message-encache): Set unread argument for
4003 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
4005 * elmo.el (elmo-net-port-info): New method.
4007 * elmo-shimbun.el (elmo-net-port-info): Define.
4008 (elmo-message-encache): Ditto.
4010 * elmo-net.el (elmo-net-port-info): Define as method.
4012 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
4013 unplugged status when elmo-enable-disconnected-operation is t.
4015 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
4016 of spool folder before checking new number.
4018 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
4020 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
4021 (elmo-network-setup-session): Ditto.
4022 (elmo-message-fetch-plugged): Ditto.
4023 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
4024 (elmo-network-initialize-session): Ditto.
4025 (elmo-pop3-read-response): Abolish 3rd argument.
4026 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
4027 (elmo-pop3-read-contents): Ditto.
4028 (elmo-pop3-read-body): Ditto.
4029 (elmo-folder-status): Call elmo-folder-close.
4030 (elmo-pop3-lock): Abolish.
4031 (elmo-pop3-unlock): Ditto.
4032 (elmo-pop3-locked-p): Ditto.
4033 (elmo-folder-check): Don't call elmo-pop3-locked-p.
4035 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
4037 * elmo-version.el (elmo-version): Up to 2.7.0.
4039 * elmo-pop3.el (elmo-pop3-debug): New variable.
4040 (elmo-pop3-debug-inhibit-logging): Ditto.
4041 (elmo-pop3-debug): New function.
4042 (elmo-pop3-send-command): Call elmo-pop3-debug.
4043 (elmo-pop3-read-response): Added keep-lock optional argument;
4044 Don't unlock if keep-lock is non-nil.
4045 (elmo-pop3-process-filter): Call elmo-pop3-debug.
4046 (elmo-network-authenticate-session): Bind
4047 elmo-pop3-debug-inhibit-logging as t.
4048 (elmo-network-setup-session): Call elmo-pop3-read-response with
4050 (elmo-pop3-read-msg): Ditto.
4051 (elmo-pop3-locked-p): Call elmo-pop3-debug.
4052 (elmo-pop3-read-body): Call elmo-pop3-unlock.
4053 (elmo-network-initialize-session): Call elmo-pop3-lock.
4054 (elmo-folder-close-internal): Don't clear location-alist slot.
4055 (elmo-folder-check): Clear location-alist slot.
4057 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
4059 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
4060 (elmo-pop3-send-command): Call elmo-pop3-lock.
4061 (elmo-pop3-read-response): Call elmo-pop3-unlock.
4062 (elmo-pop3-read-contents): Ditto.
4063 (elmo-pop3-lock): New function.
4064 (elmo-pop3-unlock): Ditto.
4065 (elmo-pop3-locked-p): Ditto.
4066 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
4069 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
4071 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
4073 * elmo-util.el (elmo-file-field-primitive-condition-match):
4074 New inline function (Don't fetch file content if "first" or "last").
4075 (elmo-file-field-condition-match): Use
4076 elmo-file-field-primitive-condition-match.
4078 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
4081 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
4082 (elmo-message-fetch-plugged): Fixed.
4084 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
4086 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
4088 * elmo.el (elmo-folder-move-messages): Bind
4089 elmo-inhibit-display-retrieval-progress as t while moving messages.
4091 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
4093 (elmo-inhibit-display-retrieval-progress): Ditto.
4095 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
4096 for retrieval progress;
4097 Don't display progress when total buffer size is smaller than
4098 elmo-display-retrieval-progress-threshold.
4099 (elmo-message-fetch-plugged): Don't display progress when
4100 elmo-inhibit-display-retrieval-progress is non-nil.
4102 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
4103 for retrieval progress;
4104 Don't display progress when literal size is smaller than
4105 elmo-display-retrieval-progress-threshold.
4106 (elmo-imap4-message-fetch): Don't display progress when
4107 elmo-inhibit-display-retrieval-progress is non-nil.
4109 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
4111 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
4112 (elmo-imap4-find-next-line): Display progress whille literal fetching.
4113 (elmo-imap4-message-fetch): Likewise.
4115 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
4116 (elmo-shimbun-index-range-alist): Ditto.
4117 (elmo-shimbun-use-entire-index): Abolish.
4118 (shimbun-mua-use-entire-index): Ditto.
4119 (elmo-shimbun-folder): Added new slot `range'.
4120 (elmo-folder-initialize): Setup slot `range'.
4122 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
4124 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
4125 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
4126 (elmo-shimbun-get-headers): Use return value of
4127 `shimbun-article-expiration-days'.
4128 (elmo-folder-close-internal): Clean up last-check slot.
4130 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
4131 (elmo-pop3-total-size): New variable.
4132 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
4134 * elmo.el (elmo-folder-reserve-status-p): New method.
4136 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
4137 (elmo-shimbun-use-entire-index): New user option.
4138 (shimbun-elmo-mua): New class.
4139 (shimbun-mua-search-id): Define.
4140 (shimbun-mua-use-entire-index): Ditto.
4141 (elmo-shimbun-folder:last-check): New slot.
4142 (elmo-shimbun-headers-cache-header-list): Abolish.
4143 (elmo-shimbun-headers-cache-set-header-list): Ditto.
4144 (elmo-shimbun-headers-cache-header-hash): Ditto.
4145 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
4146 (elmo-shimbun-headers-cache-last-check): Ditto.
4147 (elmo-shimbun-headers-cache-set-last-check): Ditto.
4148 (elmo-shimbun-headers-check-p): Rewrite.
4149 (elmo-shimbun-msgdb-to-headers): New function.
4150 (elmo-shimbun-get-headers): Rewrite.
4151 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
4152 (elmo-folder-open-internal): Get headers only if
4153 `elmo-shimbun-headers-check-p' is non-nil.
4154 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
4156 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
4157 (elmo-quit): Removed.
4159 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
4161 (elmo-msgdb-overview-entity-set-extra): Ditto.
4162 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
4164 * elmo-map.el (elmo-folder-status): Don't call
4165 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
4168 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4170 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
4171 of `elmo-msgdb-search-internal-primitive' when condition's car is
4174 2001-05-23 Kenichi OKADA <okada@opaopa.org>
4176 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
4178 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4180 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
4181 call `elmo-pipe-drain'.
4183 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
4185 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
4186 typo. (elmo-cache-folder -> elmo-mark-folder)
4188 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4190 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
4191 `elmo-message-fetch'.
4193 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4195 * elmo-net.el (elmo-message-encache): Fixed typo.
4196 (elmo-message-fetch-unplugged): Changed call
4197 `elmo-message-fetch-internal' without argument `outbuf'.
4199 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
4201 * elmo.el (elmo-message-encache): Define as generic function.
4202 (elmo-message-fetch-field): New generic function.
4203 (elmo-message-fetch-with-cache-process): Cause an error when
4204 fetch strategy is 'entire but only 'section cache is available.
4205 (toplevel): Fixed nmz folder definition.
4207 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
4208 (elmo-msgdb-resume-list-filename): Ditto.
4209 (elmo-queue-filename): Ditto.
4210 (elmo-enable-disconnected-operation): Changed default value to t.
4212 * elmo-util.el (elmo-cache-path-section-p): New function.
4213 (elmo-file-cache-get): Use it.
4214 (elmo-dop-queue-filename): Moved from elmo-dop.el.
4215 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
4216 (elmo-dop-queue-save): Ditto.
4218 * elmo-net.el (elmo-folder-status-unplugged): Call
4219 elmo-folder-status-dop.
4220 (elmo-folder-list-messages-unplugged): Implemented.
4221 (elmo-folder-delete-messages-unplugged): Define.
4222 (elmo-folder-msgdb-create): Define.
4223 (elmo-folder-msgdb-create-unplugged): Define.
4224 (elmo-folder-mark-as-read-unplugged): Ditto.
4225 (elmo-folder-unmark-read-unplugged): Ditto.
4226 (elmo-folder-mark-as-important-unplugged): Ditto.
4227 (elmo-folder-unmark-important-unplugged): Ditto.
4228 (elmo-message-encache): Ditto.
4230 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
4231 (elmo-dop-queue-save): Ditto.
4233 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
4234 `elmo-folder-msgdb-create'.
4235 (elmo-folder-append-buffer): Implemented unplugged operation.
4236 (elmo-folder-append-messages): Call parent method in unplugged status.
4237 (elmo-message-fetch-unplugged): Removed definition.
4238 (elmo-message-fetch-field): Implemented.
4240 * elmo-dop.el (toplevel): Require 'elmo-localdir.
4241 (elmo-dop-folder): Removed variable definition.
4242 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
4243 (elmo-dop-queue-flush): Implemented.
4244 (elmo-dop-queue-merge): Removed definition (TODO).
4245 (elmo-dop-spool-folder): New function.
4246 (elmo-dop-spool-folder-append-buffer): Ditto.
4247 (elmo-dop-spool-folder-list-messages): Ditto.
4248 (elmo-dop-list-deleting-messages): Ditto.
4249 (elmo-folder-append-buffer-dop): Ditto.
4250 (elmo-folder-delete-messages-dop): Ditto.
4251 (elmo-message-encache-dop): New inline function.
4252 (elmo-create-folder-dop): Ditto.
4253 (elmo-folder-mark-as-read-dop): Ditto.
4254 (elmo-folder-unmark-read-dop): Ditto.
4255 (elmo-folder-mark-as-important-dop): Ditto.
4256 (elmo-folder-unmark-important-dop): Ditto.
4257 (elmo-folder-status-dop): Fixed.
4258 (elmo-folder-append-buffer-dop-delayed): New function.
4259 (elmo-folder-delete-messages-dop-delayed): Ditto.
4260 (elmo-dop-msgdb): Ditto.
4262 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4264 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
4266 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4268 * elmo.el (elmo-folder-move-messages): Fixed problem when
4269 `dst-folder' is 'null.
4271 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4273 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
4274 instead of current mark.
4276 * elmo-multi.el (elmo-folder-list-importants-internal): No
4277 operation if importants is not list.
4279 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
4280 Return t if importants is not list.
4282 * elmo-map.el (elmo-map-folder-list-importants): Define.
4283 (elmo-folder-list-importants-internal): Check return value of
4284 `elmo-map-folder-list-importants-internal'.
4286 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
4288 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
4290 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
4292 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
4294 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
4296 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
4297 (Patch is provided by <kita@coe.nttdata.co.jp>).
4299 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4301 * elmo.el (elmo-folder-synchronize): Don't check important mark in
4304 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4306 * elmo.el (elmo-message-fetch): Define.
4307 (elmo-message-fetch-with-cache-process): New generic method.
4308 (elmo-message-fetch-internal): New generic method.
4309 (elmo-folder-synchronize):
4311 * elmo-archive.el (elmo-message-fetch-internal): Define.
4312 (elmo-message-fetch): Eliminated.
4314 * elmo-localdir.el (elmo-message-fetch-internal): Define.
4315 (elmo-message-fetch): Eliminated.
4317 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
4319 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
4321 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
4322 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
4324 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
4325 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
4327 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
4329 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
4331 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
4333 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
4334 (elmo-message-fetch-unplugged): New generic method.
4335 (elmo-message-fetch-internal): Remove cache process (Renamed from
4336 `elmo-message-fetch').
4338 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
4339 (elmo-message-fetch): Eliminated.
4340 (elmo-message-fetch-unplugged): Ditto.
4342 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
4344 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4346 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
4347 of `to-be-deleted' from number-alist to number-list.
4349 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4351 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
4352 (elmo-folder-mark-as-important): Ditto.
4354 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
4356 * elmo.el (elmo-folder): Added process-duplicates slot.
4358 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
4359 (elmo-folder-unmark-read): Ditto.
4360 (elmo-folder-unmark-important): Ditto.
4361 (elmo-folder-mark-as-important): Ditto.
4363 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
4364 duplicated message processing.
4366 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
4368 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4370 * elmo-util.el (elmo-list-subdirectories-1): New function.
4371 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
4372 (elmo-mapcar-list-of-list): New function.
4374 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
4375 `elmo-mapcar-list-of-list' instead of `mapcar'.
4377 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
4379 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
4380 `elmo-have-link-count'. Return the fully qualified folder name.
4382 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
4384 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
4385 (elmo-shimbun-headers-cache): New internal variable.
4386 (elmo-shimbun-headers-cache-header-list): New inline function.
4387 (elmo-shimbun-headers-cache-set-header-list): Ditto.
4388 (elmo-shimbun-headers-cache-header-hash): Ditto.
4389 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
4390 (elmo-shimbun-headers-cache-last-check): Ditto.
4391 (elmo-shimbun-headers-cache-set-last-check): Ditto.
4392 (elmo-shimbun-lapse-seconds): Ditto.
4393 (elmo-shimbun-headers-cache-check-p): Ditto.
4394 (elmo-shimbun-get-headers): New function.
4395 (elmo-folder-open-internal): Call it.
4396 (elmo-quit): Define (Clear headers-cache).
4398 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
4400 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
4402 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
4403 (elmo-msgdb-flist-save): Ditto.
4405 * elmo-shimbun.el (elmo-folder-list-subfolders):
4406 Use `shimbun-groups' instead of `shimbun-groups-internal'.
4407 (elmo-folder-exists-p): Ditto.
4409 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
4410 argument for `shimbun-header-insert'.
4412 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
4414 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
4417 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
4418 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
4420 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
4422 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
4423 (elmo-folder-plugged-p): Define.
4424 (elmo-folder-set-plugged): Ditto.
4425 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
4426 (elmo-folder-list-messages-internal): Return t if unplugged.
4427 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
4429 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
4430 when elmo-folder-list-messages-internal method of children returns t.
4432 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
4434 (elmo-folder-open-internal): Don't update if unplugged status.
4436 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
4438 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
4441 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
4443 * elmo-util.el (elmo-file-cache-save): Ignore errors.
4445 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
4448 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
4450 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
4452 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
4453 (elmo-folder-open-internal): Set up headers slot.
4454 (elmo-folder-check): Call elmo-folder-close-internal and
4455 elmo-folder-open-internal.
4456 (elmo-folder-close-internal): Clean up headers slot.
4458 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
4460 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
4461 exactly folder list.
4462 (elmo-folder-append-messages): Fixed append archive with prefix.
4464 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
4465 make temp files with start-number.
4467 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
4469 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4471 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
4472 argument `visible-only'.
4473 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
4476 * elmo-pop3.el (elmo-folder-open-internal): Check
4477 `elmo-inhibit-number-mapping' is non-nil.
4479 * elmo-pipe.el (elmo-folder-status): Fixed.
4481 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
4483 * elmo.el (elmo-dop-queue-flush): Added autload setting.
4485 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
4486 (elmo-folder-open-internal): Setup `header-hash' slot.
4487 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
4489 (elmo-map-message-fetch): Ditto.
4491 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
4493 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
4494 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
4495 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
4496 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
4498 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
4500 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
4502 * sb-airs.el: Added footer.
4504 * shimbun.el (shimbun-article): Define as luna-method.
4506 * sb-tcup.el: New file.
4508 * sb-airs.el (toplevel): Require 'sb-mhonarc.
4509 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
4511 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
4513 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
4514 (shimbun-get-headers): Ditto.
4516 * elmo.el: Moved obsolete variable definitions from
4517 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
4519 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
4522 * shimbun.el: New file.
4524 * elmo-shimbun.el: New file.
4526 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
4527 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
4528 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
4529 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
4531 2001-03-27 Kenichi OKADA <okada@opaopa.org>
4533 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
4536 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
4538 * elmo.el (elmo-folder-msgdb): Define as macro.
4539 (elmo-folder-open): Added argument `load-msgdb'.
4540 (elmo-generic-folder-open): Ditto.
4541 (elmo-folder-encache): New function.
4543 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
4545 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
4547 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
4548 Eliminated argument FOLDER and added argument MSGDB.
4549 (elmo-dop-queue-load): Moved from elmo-dop.el.
4550 (elmo-dop-queue-save): Ditto.
4552 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
4554 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
4556 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
4557 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
4558 (elmo-filter-folder-list-importants-internal): Ditto.
4560 * elmo-map.el (elmo-folder-pack-number): Ditto.
4562 * elmo-mime.el (elmo-mime-message-display): Ditto.
4564 * elmo.el (elmo-generic-folder-commit): Ditto.
4565 (elmo-folder-list-unreads): Ditto.
4566 (elmo-folder-list-importants): Ditto.
4567 (elmo-generic-folder-commit): Ditto.
4568 (elmo-message-set-mark): Ditto.
4569 (elmo-generic-folder-append-msgdb): Ditto.
4570 (elmo-folder-synchronize): Ditto.
4571 (elmo-folder-messages): Ditto.
4572 (elmo-init): Call elmo-dop-queue-load.
4573 (elmo-folder-list-messages): Ditto.
4575 * elmo-nntp.el (elmo-folder-update-number): Ditto.
4576 (elmo-nntp-folder-process-crosspost): Ditto.
4577 (elmo-folder-list-unreads-internal): Ditto.
4579 * elmo-dop.el: Removed old functions.
4581 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
4583 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
4584 `folder' to `msgdb'.
4586 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
4588 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
4589 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
4591 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
4594 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
4596 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
4599 * mmimap.el (toplevel): Require 'mime-parse and 'static.
4600 (mmimap-parse-parameters-from-list): Define as alias for
4601 `mime-decode-parameter-plist' if it is defined as function.
4602 (mmimap-make-mime-entity): Added argument `number'.
4603 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
4605 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
4607 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
4609 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
4611 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
4613 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
4615 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
4617 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
4618 when elmo-imap4-default-authenticate-type is nil.
4619 (elmo-folder-list-subfolders): Ditto
4620 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
4621 (elmo-imap4-fetch-callback-1-subr): Renamed from
4622 `elmo-imap4-fetch-callback-1' and define as inline function.
4623 (elmo-imap4-fetch-callback-1):
4624 Renamed from `elmo-imap4-fetch-callback'.
4625 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
4627 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
4628 msgdb path (To keep compatibility with main trunk).
4630 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
4632 * elmo-util.el (elmo-make-file-cache): Moved position of
4635 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
4636 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
4637 instead of `elmo-pop3-inhibit-uidl'.
4638 (elmo-folder-exists-p): Ditto.
4639 (elmo-pop3-folder-list-messages): Ditto.
4641 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
4642 instead of `elmo-pop3-inhibit-uidl'.
4643 (elmo-folder-status): Ditto.
4645 * elmo-dop.el (elmo-dop-folder): New variable.
4646 (elmo-dop-lock-message): Eliminated.
4647 (elmo-dop-unlock-message): Ditto.
4648 (elmo-dop-lock-list-load): Ditto.
4649 (elmo-dop-lock-list-save): Ditto.
4650 (elmo-dop-delete-folder): Ditto.
4651 (elmo-dop-rename-folder): Ditto.
4653 * elmo.el: Removed incomplete commentary.
4655 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
4657 * elmo.el (toplevel): Require 'elmo-version first;
4658 for little `recursive-load-depth' settings.
4659 Fix "ends here" comment.
4661 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
4663 * elmo-util.el (toplevel): Require 'poem;
4664 Some functions are moved from elmo-cache.el.
4666 * elmo-net.el (toplevel): Require 'elmo-cache.
4668 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
4670 * elmo.el (toplevel): Ditto.
4672 * elmo-cache.el: Rewrite with luna;
4673 Some functions are moved to elmo-util.el.
4675 * elmo-internal.el (elmo-internal-folder-list): New variable.
4676 (elmo-internal-folder-initialize): Rewrite.
4677 (elmo-folder-list-subfolders): Ditto.
4679 * elmo-cache.el (elmo-cache-search-all): Eliminated.
4680 (elmo-cache-collect-sub-directories): Ditto.
4682 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
4684 * elmo-version.el (elmo-version): Up to 2.5.8.
4686 * elmo.el (elmo-folder-list-messages-mark-match): New function.
4688 * elmo-util.el (elmo-list-insert): New function.
4690 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
4692 * elmo.el (elmo-init): New function.
4693 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
4695 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
4696 (Renamed from `elmo-localdir-header-chop-length').
4698 * elmo-pop3.el (elmo-pop3-use-cache,
4699 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
4701 * elmo-nntp.el (elmo-message-fetch): Define.
4702 (elmo-message-fetch-unplugged): Ditto.
4703 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
4704 (elmo-nntp-use-cache): Ditto.
4705 (elmo-nntp-max-number-precedes-list-active): Ditto.
4707 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
4709 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
4710 `elmo-msgdb-insert-file-header'.
4711 Use `elmo-msgdb-file-header-chop-length'.
4713 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
4716 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
4717 (elmo-cache-msgdb-create-overview-entity-from-file): Use
4718 `elmo-msgdb-insert-file-header'.
4720 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
4722 Define obsolete variables with `elmo-define-obsolete-variable',
4724 * elmo-util.el (elmo-warning-buffer-name): New constant.
4725 (elmo-warning): New function.
4726 (elmo-obsolete-variable-alist): New variable.
4727 (elmo-obsolete-variable-show-warnings): New variable.
4728 (elmo-define-obsolete-variable): New function.
4729 (elmo-resque-obsolete-variable): Ditto.
4730 (elmo-resque-obsolete-variables): Ditto.
4732 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
4734 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
4737 * elmo-pop3.el, elmo-nntp.el: Use custom.
4739 2000-02-20 Kenichi OKADA <okada@opaopa.org>
4741 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
4742 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
4744 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
4746 * Luna-fy Kenichi OKADA's following changes.
4747 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
4749 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
4751 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
4753 * elmo-util.el (elmo-display-progress): Prefer
4754 `progress-feedback-with-label' to `lprogress-display'.
4756 2000-02-20 Kenichi OKADA <okada@opaopa.org>
4758 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
4760 2000-02-19 Kenichi OKADA <okada@opaopa.org>
4762 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
4763 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
4764 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
4765 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
4766 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
4767 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
4768 * elmo-archive.el (elmo-archive-list-folder): Ditto.
4769 * elmo-filter.el (elmo-filter-list-folder): Ditto.
4770 * elmo-internal.el (elmo-internal-list-folder): Ditto.
4771 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
4772 * elmo-multi.el (elmo-multi-list-folder): Ditto.
4773 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
4774 * elmo-dop.el (elmo-dop-list-folder): Ditto.
4776 2000-02-17 Kenichi OKADA <okada@opaopa.org>
4778 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
4779 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
4781 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
4783 * elmo.el (elmo-folder-process-crosspost): New generic method.
4784 (elmo-folder-writable-p): Ditto.
4785 (elmo-folder-message-appendable-p): Eliminated.
4786 (elmo-generic-folder-append-msgdb): Rewrite.
4787 (elmo-newsgroups-hashtb): New internal variable.
4788 (elmo-crosspost-message-set): Eliminated.
4789 (elmo-crosspost-message-delete): Ditto.
4790 (elmo-setup-subscribed-newsgroups): New function.
4791 (elmo-crosspost-message-alist-modified): New internal variable.
4792 (elmo-crosspost-message-alist-load): New function (Renamed from
4793 `wl-crosspost-alist-load').
4794 (elmo-crosspost-message-alist-save): Ditto (Renamed from
4795 `wl-crosspost-alist-save').
4797 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
4799 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
4801 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
4802 elmo-newsgroups-hashtb).
4803 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
4804 `elmo-nntp-folder-update-crosspost-message-alist'.
4805 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
4806 `elmo-nntp-groups-hashtb'.
4807 (elmo-nntp-make-groups-hashtb): Eliminated.
4808 (elmo-nntp-parse-newsgroups): New function (Renamed from
4809 `wl-parse-newsgroups').
4810 (elmo-folder-creatable-p, elmo-folder-writable-p,
4811 elmo-folder-close-internal, elmo-folder-mark-as-read,
4812 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
4814 (elmo-nntp-folder-update-crosspost-message-alist): New function.
4816 * elmo-net.el (elmo-message-fetch): Check buffer size.
4818 * elmo-multi.el (elmo-multi-split-number-alist): New function.
4820 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
4822 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
4823 before `close' command.
4825 * elmo.el (elmo-folder-list-unreads-internal): Added argument
4826 `mark-alist' (All other related portions are changed).
4828 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
4830 * elmo-util.el (elmo-create-hash-size): Eliminated.
4831 (elmo-make-hash) Make a hash with `one less than a power of two'
4834 * elmo-vars.el (elmo-hash-minimum-size): New variable.
4835 (elmo-hash-maximum-size): Changed value.
4837 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
4839 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
4840 (elmo-mime-message-display-as-is): Ditto.
4842 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
4844 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
4845 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
4847 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
4849 * elmo-mark.el: New file.
4851 * elmo-internal.el: Rewrite (Almost empty).
4853 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
4855 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
4856 (mime-imap-entity-header-string): Ditto.
4857 (mmimap-entity-section): Rewrite.
4859 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4861 * elmo-nmz.el: New file.
4863 * elmo-pipe.el: Rewrite with luna.
4865 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
4867 * elmo-archive.el: Rewrite with luna.
4869 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
4870 (elmo-folder-list-importants-internal): Ditto.
4872 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
4874 * elmo-archive.el (elmo-archive-version): Abolish.
4875 (toplevel) Removed `boso' comment.
4877 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
4879 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
4880 elmo-msgdb-add-msgs-to-seen-list-subr;
4881 Changed argument seen-marks to unread-marks.
4883 * elmo-nntp.el: Rewrite with luna.
4885 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
4887 * elmo-filter.el: Rewrite with luna.
4889 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
4891 * elmo-pop3.el: Rewrite with luna.
4893 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
4895 * elmo-multi.el: Rewrite with luna.
4897 * elmo-vars.el (elmo-use-killed-list): Abolish.
4898 All other related portions are changed.
4899 (elmo-filename-replace-string-alist): Renamed from
4900 elmo-msgid-replace-string-alist.
4902 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
4904 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
4906 * elmo-map.el: New file.
4907 * elmo-maildir.el: Rewrite with luna.
4909 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
4911 * elmo.el: Changed meaning of `elmo-folder-commit'.
4912 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
4914 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4916 * elmo.el (elmo-folder-append-buffer): New function.
4917 (Renamed from `elmo-append-msg')
4919 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
4921 * elmo-mime.el: New file.
4923 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4925 * elmo-cache.el: Rewrite.
4927 2000-02-17 Kenichi OKADA <okada@opaopa.org>
4929 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
4931 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
4933 * elmo-vars.el (elmo): New group.
4934 (elmo-strict-diff-folder-regexp): New variable.
4936 * elmo-util.el (elmo-call-func): Abolish.
4937 (elmo-folder-get-type): Ditto.
4938 (elmo-*-get-spec): Ditto.
4939 (elmo-*-spec-*): Ditto.
4940 (elmo-imap4-identical-name-space-p): Ditto.
4941 (elmo-folder-identical-system-p): Ditto.
4942 (elmo-folder-direct-copy-alist): Ditto.
4943 (elmo-folder-direct-copy-p): Ditto.
4945 * elmo-pipe.el (elmo-pipe-folder): New luna class.
4946 (elmo-folder-initialize): Define.
4947 (elmo-folder-get-primitive-list): Ditto.
4949 * elmo-nntp.el (elmo-nntp-folder): New luna class.
4950 (elmo-folder-initialize): Define.
4951 Renamed `elmo-network-session-host-internal' to
4952 `elmo-network-session-server-internal'.
4954 * elmo-multi.el (elmo-multi-folder): New luna class.
4955 (elmo-folder-initialize): Define.
4956 (elmo-folder-get-primitive-list): Ditto.
4957 (elmo-folder-contains-type): Ditto.
4958 (elmo-message-use-cache-p): Ditto.
4960 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
4961 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
4963 * elmo-maildir.el (elmo-maildir-folder): New luna class.
4964 (elmo-folder-initialize): Define.
4966 * elmo-filter.el (elmo-filter-folder): New luna class.
4967 (elmo-folder-initialize): Define.
4968 (elmo-folder-get-primitive-list): Ditto.
4969 (elmo-folder-contains-type): Ditto.
4971 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
4973 * elmo-imap4.el: Rewrite with luna.
4975 * mmimap.el: New file.
4977 * mmelmo.el, mmelmo-imap4.el: Removed.
4979 * elmo-net.el: Ditto.
4981 * elmo-pop3.el (elmo-pop3-folder): New luna class.
4982 (elmo-folder-initialize): Define.
4984 * elmo-archive.el (elmo-archive-folder): New luna class.
4985 (elmo-folder-initialize): Define.
4987 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
4988 `elmo-folder-msgdb-path'.
4989 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
4992 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
4994 * elmo.el: New file.
4996 * elmo2.el: Renamed to elmo.el.
4999 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
5001 * elmo-cache.el (elmo-cache-expire-by-size): Count
5002 a disk usage for a cache file entry in KB even when
5003 its kind is a directory.
5005 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
5007 * elmo-version.el (elmo-version): Up to 2.5.7.
5009 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
5011 * elmo-version.el (elmo-version): Up to 2.5.6.
5013 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
5015 * elmo-version.el (elmo-version): Up to 2.5.5.
5017 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
5019 * elmo-imap4.el (elmo-network-authenticate-session):
5020 Fixed a logic for response checking.
5022 2000-12-15 Daiki Ueno <ueno@unixuser.org>
5024 * elmo-net.el: Add autoload settings for `starttls-negotiate',
5025 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
5026 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
5029 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
5030 for `starttls-open-stream' and `starttls-negotiate'.
5032 * elmo-nntp.el: Remove autoload settings for
5033 `starttls-open-stream' and `starttls-negotiate'.
5035 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
5036 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
5037 `luna-define-class' with `eval-and-compile'.
5039 2000-12-01 Kenichi OKADA <okada@opaopa.org>
5041 * elmo-util.el (elmo-read-search-condition-internal):
5042 Require an element of table for searching field.
5044 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
5046 * elmo-version.el (elmo-version): Up to 2.5.4.
5048 2000-11-26 Kenichi OKADA <okada@opaopa.org>
5050 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
5052 2000-11-24 Kenichi OKADA <okada@opaopa.org>
5054 * elmo-nntp.el (elmo-network-initialize-session): omitted.
5056 2000-11-22 Kenichi OKADA <okada@opaopa.org>
5058 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
5061 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5063 * elmo-imap4.el (elmo-imap4-delete-folder):
5064 Send "close" before "delete" (Use commented out line).
5065 (elmo-imap4-rename-folder): Ditto.
5067 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
5068 folder string itself.
5069 (elmo-dop-list-deleted): New function.
5070 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
5073 * elmo-util.el (elmo-string-rassoc-all): New function.
5075 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
5077 * elmo-version.el (elmo-version): Up to 2.5.3.
5079 * elmo-net.el (elmo-network-get-session): Changed logic for
5080 checking process status.
5082 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
5084 Changed logic for checking process status.
5086 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
5088 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
5090 (elmo-network-setup-session): Set UIDL hash size according to
5091 the length of list response.
5092 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
5093 according to the length of list response;
5094 Return the length of list response.
5095 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
5097 2000-11-21 Kenichi OKADA <okada@opaopa.org>
5099 * elmo-imap4.el (toplevel): Require 'ssl.
5100 Add autoload 'starttls.
5101 * elmo-pop3.el (toplevel): Ditto.
5102 * elmo-nntp.el (toplevel): Ditto.
5104 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5106 * elmo-imap4.el (toplevel): defun at compile time.
5107 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
5108 sasl-next-step, sasl-step-data, sasl-step-set-data.
5109 * elmo-pop3.el (toplevel): Ditto.
5111 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5113 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
5115 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5117 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
5119 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
5120 and `elmo-pop-auth-apop'.
5122 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5124 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
5126 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5128 * elmo-pop3.el (elmo-network-authenticate-session): Split
5129 encoded response value.
5131 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5133 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
5134 `elmo-pop3-force-login'.
5135 Redefine `sasl-mechanisms'.
5136 * elmo-vars.el (elmo-pop3-force-login): Ditto.
5138 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5140 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
5141 Delete `elmo-imap4-authenticator-alist'.
5142 (elmo-imap4-auth-cram-md5): Delete.
5143 (elmo-imap4-auth-digest-md5): Delete.
5145 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5147 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
5148 (elmo-pop3-auth-scram-md5): Ditto.
5149 (elmo-pop3-auth-cram-md5): Ditto.
5151 2000-11-19 Kenichi OKADA <okada@opaopa.org>
5153 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
5154 Delete `elmo-pop3-authenticator-alist'.
5156 2000-11-19 Kenichi OKADA <okada@opaopa.org>
5158 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
5160 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
5162 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
5164 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
5166 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
5168 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
5169 Fixed problem when `elmo-pop3-use-uidl' is nil.
5170 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
5172 2000-11-19 Kenichi OKADA <okada@opaopa.org>
5174 * elmo-version.el (elmo-version): Up to 2.5.2.
5176 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
5178 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
5180 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
5181 (elmo-pop3-msgdb-create-as-numlist): Use it.
5183 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
5184 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
5186 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
5187 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
5189 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
5191 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
5192 when elmo-mark-as-read is called with second argument nil.
5194 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
5196 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
5197 Moved to elmo-util.el.
5199 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
5200 Moved from elmo-pipe.el
5202 * elmo-archive.el (elmo-archive-call-process): Enclose with
5205 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
5206 "RFC822" (because RFC822.PEEK is obsolete).
5207 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
5209 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
5211 * elmo-archive.el (elmo-archive-call-process): Don't check for
5212 the exit status when Nemacs is running.
5214 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
5216 * elmo-net.el (elmo-network-session-password-key): Don't set default to
5219 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
5220 (elmo-pop3-get-spec): Set default of auth to 'user.
5222 * elmo-imap4.el (elmo-imap4-session-check):
5223 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
5224 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
5225 (elmo-imap4-auth-login): New function; Revival.
5226 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
5227 `elmo-imap4-auth-login'.
5229 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
5231 * elmo2.el (toplevel): Move `product-provide' declare.
5232 * mmelmo.el (toplevel): Ditto.
5234 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5236 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
5238 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
5240 * elmo-util.el (elmo-folder-get-store-type): New function.
5241 (elmo-folder-direct-copy-p): Use it.
5243 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
5245 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
5246 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
5247 and result of `elmo-imap4-use-flag-p'.
5248 (elmo-imap4-fetch-callback-1): Set mark according to
5249 the result of `elmo-imap4-use-flag-p'.
5251 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
5253 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
5254 (elmo-generic-list-folder-unread): Ditto.
5255 (elmo-folder-get-info): Ditto.
5256 (elmo-folder-set-info-max-by-numdb): Ditto.
5257 (elmo-folder-get-info-max): Ditto.
5258 (elmo-folder-get-info-length): Ditto.
5259 (elmo-folder-get-info-unread): Ditto.
5260 (elmo-folder-info-make-hashtb): Ditto.
5262 * elmo2.el: Removed above functions.
5264 2000-11-21 Kenichi OKADA <okada@opaopa.org>
5266 * elmo-imap4.el (toplevel): Require 'ssl.
5267 Add autoload 'starttls.
5268 * elmo-pop3.el (toplevel): Ditto.
5269 * elmo-nntp.el (toplevel): Ditto.
5271 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5273 * elmo-imap4.el (toplevel): defun at compile time.
5274 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
5275 sasl-next-step, sasl-step-data, sasl-step-set-data.
5276 * elmo-pop3.el (toplevel): Ditto.
5278 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5280 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
5282 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5284 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
5286 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
5287 and `elmo-pop-auth-apop'.
5289 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5291 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
5293 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5295 * elmo-pop3.el (elmo-network-authenticate-session): Split
5296 encoded response value.
5298 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5300 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
5301 `elmo-pop3-force-login'.
5302 Redefine `sasl-mechanisms'.
5303 * elmo-vars.el (elmo-pop3-force-login): Ditto.
5305 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5307 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
5308 Delete `elmo-imap4-authenticator-alist'.
5309 (elmo-imap4-auth-cram-md5): Delete.
5310 (elmo-imap4-auth-digest-md5): Delete.
5312 2000-11-20 Kenichi OKADA <okada@opaopa.org>
5314 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
5315 (elmo-pop3-auth-scram-md5): Ditto.
5316 (elmo-pop3-auth-cram-md5): Ditto.
5318 2000-11-19 Kenichi OKADA <okada@opaopa.org>
5320 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
5321 Delete `elmo-pop3-authenticator-alist'.
5323 2000-11-19 Kenichi OKADA <okada@opaopa.org>
5325 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
5327 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
5330 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
5332 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
5334 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
5336 * elmo-nntp.el (elmo-nntp-get-folders-info):
5337 Fixed problem when '\' character is contained in user-id.
5338 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
5341 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
5343 * elmo-imap4.el (elmo-imap4-delete-folder):
5344 Send "close" before "delete" (Use commented out line).
5345 (elmo-imap4-rename-folder): Ditto.
5347 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
5348 folder string itself.
5349 (elmo-dop-list-deleted): New function.
5350 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
5353 * elmo-util.el (elmo-string-rassoc-all): New function.
5355 * elmo-version.el (elmo-version): Up to 2.5.1.
5357 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
5359 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
5361 * elmo-internal.el (elmo-internal-search): Fix last change.
5363 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
5365 * elmo-internal.el (elmo-internal-search): Rewrite.
5366 (Fixed problem which is pointed out by Akihiro MOTOKI
5367 <motoki@da.jp.nec.com>)
5369 * elmo-version.el (elmo-version): Up to 2.5.0.
5371 2000-11-06 Kenichi OKADA <okada@opaopa.org>
5373 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
5375 2000-11-06 Kenichi OKADA <okada@opaopa.org>
5377 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
5378 non-nil, make hierarchy.
5380 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
5382 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
5383 `elmo-pop3-use-uidl' must be bound to nil.
5384 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
5386 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
5388 * elmo-util.el (elmo-copy-file): Don't cause an error after
5389 `add-name-to-file' failed.
5391 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
5392 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
5394 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
5396 * elmo-version.el (elmo-version): Up to 2.3.93.
5398 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
5400 * elmo-util.el (elmo-flatten): New function.
5402 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
5404 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
5406 * elmo-cache.el (toplevel): Ditto.
5407 * elmo-database.el (toplevel): Ditto.
5408 * elmo-date.el (toplevel): Ditto.
5409 * elmo-dop.el (toplevel): Ditto.
5410 * elmo-filter.el (toplevel): Ditto.
5411 * elmo-imap4.el (toplevel): Ditto.
5412 * elmo-internal.el (toplevel): Ditto.
5413 * elmo-localdir.el (toplevel): Ditto.
5414 * elmo-localnews.el (toplevel): Ditto.
5415 * elmo-maildir.el (toplevel): Ditto.
5416 * elmo-msgdb.el (toplevel): Ditto.
5417 * elmo-multi.el (toplevel): Ditto.
5418 * elmo-net.el (toplevel): Ditto.
5419 * elmo-nntp.el (toplevel): Ditto.
5420 * elmo-pipe.el (toplevel): Ditto.
5421 * elmo-pop3.el (toplevel): Ditto.
5422 * elmo-util.el (toplevel): Ditto.
5423 * elmo-vars.el (toplevel): Ditto.
5424 * elmo2.el (toplevel): Ditto.
5425 * mmelmo-imap4.el (toplevel): Ditto.
5426 * mmelmo.el (toplevel): Ditto.
5428 * elmo-version.el (elmo-version): Move to top.
5430 * elmo-cache.el (toplevel): Fixed multiple Author header format.
5431 * elmo-imap4.el (toplevel): Ditto.
5432 * elmo-localdir.el (toplevel): Ditto.
5433 * elmo-msgdb.el (toplevel): Ditto.
5434 * elmo-nntp.el (toplevel): Ditto.
5435 * elmo-pop3.el (toplevel): Ditto.
5436 * elmo-version.el (toplevel): Ditto.
5438 * elmo-localnews.el (toplevel): Added Keyword header.
5440 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
5442 * elmo-version.el (product-version-as-string): Defined using
5446 * elmo-localdir.el (toplevel): Updated copyright notice.
5447 * elmo-version.el (toplevel): Ditto.
5448 * elmo-msgdb.el (toplevel): Ditto.
5449 * elmo-imap4.el (toplevel): Ditto.
5450 * elmo-nntp.el (toplevel): Ditto.
5451 * elmo-pop3.el (toplevel): Ditto.
5453 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
5455 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
5458 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
5459 parameter value (It sometimes contains raw kanji).
5461 2000-10-28 Kenichi OKADA <okada@opaopa.org>
5463 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
5464 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
5466 2000-10-28 Kenichi OKADA <okada@opaopa.org>
5468 * elmo-imap4.el (elmo-network-initialize-session): Fix.
5470 2000-10-28 Kenichi OKADA <okada@opaopa.org>
5472 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
5473 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
5475 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
5477 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
5478 value if selecting folder succceeded.
5479 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
5481 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
5483 * elmo-util.el (elmo-make-directory): Fixed permission lateral
5486 * elmo-util.el (elmo-string-matched-member): New function.
5488 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
5490 * elmo-util.el (elmo-unintern): New macro.
5491 (elmo-number-set-member): Fixed docstring.
5493 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
5496 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
5498 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
5499 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
5501 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
5503 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
5506 Return non-nil if selecting folder succeeded.
5507 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
5509 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
5511 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
5512 `file-name-completion' returns t.
5513 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
5514 (elmo-maildir-set-mark): Put `info' part to the files in the cur
5515 directory if it does not exist.
5516 (elmo-maildir-update-current): Use `while' instead of `mapcar'
5519 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
5521 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
5522 enclosure (It's harmful in unplugged status).
5524 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
5526 * mmelmo-1.el: Removed.
5528 * mmelmo-2.el: Ditto.
5530 * mmelmo-imap4-1.el: Ditto.
5532 * mmelmo-imap4-2.el: Ditto.
5534 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
5536 * mmelmo.el: Merged mmelmo-2.el.
5538 * elmo-version.el (elmo-version): Up to 2.3.92.
5540 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
5542 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
5543 elmo-update-number): Remove last period in "...done." message.
5544 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
5546 * elmo-cache.el (elmo-cache-expire-by-size,
5547 elmo-cache-get-sorted-cache-file-list,
5548 elmo-cache-msgdb-create-as-numlist): Ditto.
5549 * elmo-dop.el (elmo-dop-save-pending-messages,
5550 (elmo-dop-flush-pending-append-operations): Ditto.
5551 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
5552 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
5553 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
5554 (elmo-localdir-pack-number): Ditto.
5555 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
5556 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
5557 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
5558 mime-write-entity-content): Ditto.
5559 * pldap.el (ldap-search-basic): Ditto.
5561 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
5563 * elmo-version.el (elmo-version): Up to 2.3.91.
5565 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
5566 Only when filter is 'last'.
5568 * elmo-util.el (elmo-condition-atom-regexp): New constant.
5569 (elmo-condition-parse-search-value): Use it.
5570 (elmo-read-search-condition-internal): Quote value only when
5573 2000-10-18 Kenichi OKADA <okada@opaopa.org>
5575 * elmo2.el (elmo-generic-folder-diff): Fix.
5577 2000-10-17 Kenichi OKADA <okada@opaopa.org>
5579 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
5580 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
5581 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
5582 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
5583 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
5584 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
5586 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
5588 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
5591 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
5593 * elmo-version.el (elmo-version): Up to 2.3.90.
5595 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
5596 (elmo-imap4-list-folder-important): Ditto.
5598 2000-10-16 Kenichi OKADA <okada@opaopa.org>
5600 * elmo-nntp.el (elmo-network-initialize-session): Fix.
5602 2000-10-16 Kenichi OKADA <okada@opaopa.org>
5604 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
5606 2000-10-15 Kenichi OKADA <okada@opaopa.org>
5608 * elmo-nntp.el (elmo-network-initialize-session):
5609 Add starttls negotiation.
5611 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5613 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
5615 (elmo-network-setup-session): Define.
5616 Call `elmo-nntp-send-mode-reader' when session opened.
5618 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
5620 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
5622 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
5624 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
5625 an invalid SPACE character ahead of `SEARCH' command. Move
5626 a valid SPACE character following `SEARCH' from conditional
5627 `format' arguments to control-strings.
5629 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
5631 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
5634 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
5636 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
5638 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
5639 `w32-get-true-file-link-count' as t.
5641 * elmo-imap4.el (elmo-imap4-read): Abolished.
5642 (Renamed to `elmo-read' and moved to elmo-util.el)
5643 All other related portions are changed.
5645 * elmo-util.el (elmo-read): New function.
5646 (elmo-condition-parse-search-value): Use it.
5648 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
5650 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
5652 * elmo-nntp.el (elmo-nntp-session): Define.
5653 (elmo-nntp-setting): Abolished.
5654 All other related portions are changed.
5655 (elmo-nntp-get-server-command): Changed argument.
5656 (elmo-nntp-set-server-command): Ditto.
5657 (elmo-nntp-xover-p): Ditto.
5658 (elmo-nntp-set-xover): Ditto.
5659 (elmo-nntp-listgroup-p): Ditto.
5660 (elmo-nntp-set-listgroup): Ditto.
5661 (elmo-nntp-list-active-p): Ditto.
5662 (elmo-nntp-set-list-active): Ditto.
5663 (elmo-nntp-xhdr-p): Ditto.
5664 (elmo-nntp-set-xhdr): Ditto.
5665 (elmo-nntp-flush-connection): Abolished.
5666 (elmo-nntp-get-connection): Abolished.
5667 (elmo-nntp-get-session): New function.
5668 (elmo-network-initialize-session): Defined.
5669 (elmo-network-authenticate-session): Ditto.
5670 (elmo-nntp-send-mode-reader): Changed argument.
5671 (elmo-nntp-send-command): Changed argument.
5672 All other related portions are changed.
5673 (elmo-nntp-read-response): Ditto.
5674 (elmo-nntp-read-raw-response): Ditto.
5675 (elmo-nntp-read-contents): Ditto.
5676 (elmo-nntp-read-body): Ditto.
5677 (elmo-nntp-goto-folder): Abolished.
5678 (elmo-nntp-select-group): New function.
5679 All other related portions are changed.
5680 (This function substitutes `elmo-nntp-goto-folder')
5681 (elmo-nntp-msgdb-create-by-header): Rewrite.
5682 (elmo-nntp-get-overview): Eliminated.
5683 (elmo-nntp-get-message): Ditto.
5684 (elmo-nntp-open-connection) Abolished.
5685 (elmo-nntp-read-msg): Rewrite.
5686 (elmo-nntp-post): Ditto.
5687 (elmo-nntp-send-data): Abolished.
5688 (elmo-nntp-send-buffer): New function.
5689 (elmo-nntp-send-data-line): Define as inline function.
5690 (elmo-nntp-get-folders-info-prepare): Use session as key.
5691 (elmo-nntp-groups-read-response): Changed argument.
5692 (elmo-nntp-retrieve-headers): Ditto.
5693 (elmo-nntp-msgdb-create-message): Ditto.
5695 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
5696 when searching by 'since' or 'before'.
5698 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
5700 * elmo-version.el (toplevel): Use product-version-as-string for set
5701 verstion-string, if defined.
5703 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
5705 * elmo-util.el: Doc fixes.
5707 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5709 * elmo-archive.el (toplevel): Use product-provide.
5710 * elmo-cache.el (toplevel): Ditto.
5711 * elmo-database.el (toplevel): Ditto.
5712 * elmo-date.el (toplevel): Ditto.
5713 * elmo-dop.el (toplevel): Ditto.
5714 * elmo-filter.el (toplevel): Ditto.
5715 * elmo-imap4.el (toplevel): Ditto.
5716 * elmo-internal.el (toplevel): Ditto.
5717 * elmo-localdir.el (toplevel): Ditto.
5718 * elmo-localnews.el (toplevel): Ditto.
5719 * elmo-maildir.el (toplevel): Ditto.
5720 * elmo-msgdb.el (toplevel): Ditto.
5721 * elmo-multi.el (toplevel): Ditto.
5722 * elmo-net.el (toplevel): Ditto.
5723 * elmo-nntp.el (toplevel): Ditto.
5724 * elmo-pipe.el (toplevel): Ditto.
5725 * elmo-pop3.el (toplevel): Ditto.
5726 * elmo-util.el (toplevel): Ditto.
5727 * elmo-vars.el (toplevel): Ditto.
5728 * elmo2.el (toplevel): Ditto.
5729 * mmelmo-1.el (toplevel): Ditto.
5730 * mmelmo-2.el (toplevel): Ditto.
5731 * mmelmo-imap4-1.el (toplevel): Ditto.
5732 * mmelmo-imap4-2.el (toplevel): Ditto.
5733 * mmelmo-imap4.el (toplevel): Ditto.
5734 * mmelmo.el (toplevel): Ditto.
5736 2000-10-10 Kenichi OKADA <okada@opaopa.org>
5738 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
5739 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
5741 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
5743 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
5745 (elmo-multi-split-number-alist): Ditto.
5747 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
5749 * elmo-version.el: New file. Use product.el.
5750 * elmo2.el: Add (require 'elmo-version).
5751 * elmo-vars.el (elmo-appname, elmo-version): Move to
5754 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
5756 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
5757 `elmo-msgdb-expand-path'.
5758 (elmo-msgdb-load): Ditto.
5759 Abolished 2nd argument. If 1st argument is not string, treat as spec.
5760 (elmo-generic-list-folder-unread): Rewrite.
5761 (elmo-generic-list-folder-important): Changed argument.
5762 (elmo-list-folder-unread): Ditto.
5763 (elmo-list-folder-important): Ditto.
5764 (elmo-folder-diff): Rewrite.
5765 (elmo-generic-folder-diff): New function.
5766 (elmo-multi-get-number-alist-list): Abolished
5767 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
5768 (elmo-multi-folder-diff): Moved to elmo-multi.el
5769 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
5771 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
5772 `elmo-msgdb-expand-path'.
5773 (elmo-pop3-msgdb-create-as-numlist): Ditto.
5774 (elmo-pop3-read-msg): Ditto.
5775 (elmo-pop3-delete-msgs): Ditto.
5776 (elmo-pop3-folder-diff): New alias.
5778 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
5779 `elmo-msgdb-expand-path'.
5780 (elmo-pipe-list-folder-unread): Changed arguments.
5781 (elmo-pipe-list-folder-important): Ditto.
5782 (elmo-pipe-folder-diff): New alias.
5784 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
5785 `elmo-msgdb-expand-path'.
5786 (elmo-nntp-max-of-folder): Ditto.
5787 (elmo-nntp-msgdb-create): Ditto.
5788 (elmo-nntp-delete-msgs): Ditto.
5789 (elmo-nntp-folder-diff): New alias.
5791 * elmo-multi.el (elmo-multi-folder-diff): New function.
5792 (elmo-multi-split-mark-alist): Ditto.
5793 (elmo-multi-split-number-alist): Ditto.
5794 (elmo-multi-mark-alist-list): Abolished (Renamed to
5795 elmo-multi-split-mark-alist).
5796 (elmo-multi-list-folder-unread): Rewrite.
5797 (elmo-multi-list-folder-important): Ditto.
5798 (elmo-multi-list-folder): Set `spec' as 1st argument for
5799 `elmo-msgdb-expand-path'.
5800 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
5801 instead of `elmo-multi-get-number-alist-list'.
5803 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
5804 If 1st argument is not string, treat as spec.
5805 (elmo-list-folder-by-location): Set `spec' as 1st argument for
5806 `elmo-msgdb-expand-path'.
5807 (elmo-msgdb-flist-load): Ditto.
5808 (elmo-msgdb-flist-save): Ditto.
5809 (elmo-msgdb-delete-path): Ditto.
5810 (elmo-msgdb-rename-path): Ditto.
5812 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
5813 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5814 (elmo-maildir-delete-mark-msgs): Ditto.
5815 (elmo-maildir-msgdb-create): Ditto.
5816 (elmo-maildir-read-msg): Ditto.
5817 (elmo-maildir-delete-msgs): Ditto.
5818 (elmo-maildir-list-folder-subr): Ditto.
5819 (elmo-maildir-search): Ditto.
5820 (elmo-maildir-get-msg-filename): Ditto.
5821 (elmo-maildir-pack-number): Ditto.
5822 (elmo-maildir-folder-diff): New alias.
5824 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
5826 * elmo-localdir.el (elmo-localdir-list-folder-subr):
5827 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5828 (elmo-localdir-folder-diff): New alias.
5830 * elmo-internal.el (elmo-internal-list-folder-subr):
5831 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5832 (elmo-internal-list-folder-by-location): Ditto.
5833 (elmo-internal-msgdb-create): Ditto.
5834 (elmo-internal-delete-msgs): Ditto.
5835 (elmo-internal-read-msg): Ditto.
5836 (elmo-internal-folder-diff): New alias.
5838 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
5839 (elmo-imap4-list-folder): Set `spec' as 1st argument for
5840 `elmo-msgdb-expand-path'.
5841 (elmo-imap4-list-folder-unread): Changed arguments.
5842 (elmo-imap4-list-folder-important): Ditto.
5844 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
5845 (elmo-filter-list-folder-important): Ditto.
5846 (elmo-filter-folder-diff): New function.
5848 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
5850 * elmo-cache.el (elmo-cache-list-folder):
5851 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5852 (elmo-cache-copy-msgs): Ditto.
5853 (elmo-cache-folder-diff): New alias.
5855 * elmo-archive.el (elmo-archive-list-folder-subr):
5856 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5857 (elmo-archive-get-archive-name): Ditto.
5858 (elmo-archive-create-file): Ditto.
5859 (elmo-archive-append-msg): Ditto.
5860 (elmo-archive-copy-msgs): Ditto.
5861 (elmo-archive-copy-msgs-froms): Ditto.
5862 (elmo-archive-get-msg-filename): Ditto.
5863 (elmo-archive-folder-diff): New alias.
5865 2000-10-06 Daiki Ueno <ueno@unixuser.org>
5867 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
5868 (elmo-pop3-stream-type-alist): New variable.
5869 (elmo-nntp-stream-type-alist): New variable.
5871 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
5872 (elmo-kill-buffer): Ditto.
5873 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
5874 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
5875 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
5876 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
5877 (elmo-imap4-get-spec): Take into account
5878 `elmo-imap4-stream-type-alist'.
5880 2000-10-06 Kenichi OKADA <okada@opaopa.org>
5882 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
5883 (elmo-nntp-list-folders-get-cache): Ditto.
5885 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
5887 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
5888 character before 'uid'.
5890 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
5892 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
5894 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
5896 * elmo-util.el (elmo-number-set-member): New function.
5897 (elmo-number-set-append-list): Ditto.
5898 (elmo-number-set-append): Ditto.
5900 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
5901 Use `elmo-number-set-member'.
5902 (elmo-living-messages): Ditto.
5903 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
5904 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
5906 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
5907 (elmo-imap4-add-to-cont-list): Abolished.
5908 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
5909 instead of elmo-imap4-add-to-cont-list.
5911 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
5912 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
5914 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
5916 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5918 * elmo-util.el (elmo-condition-parse-search-value):
5921 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5923 * elmo-util.el (elmo-condition-find-key-internal): New function.
5924 (elmo-condition-find-key): Ditto.
5926 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
5927 (elmo-msgdb-search-internal): Ditto.
5928 (elmo-msgdb-search): Ditto.
5930 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5932 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
5933 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
5935 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
5936 (elmo-nntp-search-primitive): Fixed problem when condition is
5939 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
5941 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
5942 (elmo-nntp-xhdr-p): New macro.
5943 (elmo-nntp-set-xhdr): Ditto.
5944 (elmo-nntp-parse-xhdr-response): New function.
5945 (elmo-nntp-retrieve-field): Ditto.
5946 (elmo-nntp-search-primitive): Ditto.
5947 (elmo-nntp-search): Implemented.
5949 * elmo-date.el (elmo-date-make-sortable-string): New macro.
5951 * elmo-archive.el (elmo-archive-search): Set all number list to
5952 `elmo-archive-field-condition-match'
5954 * elmo-localdir.el (elmo-localdir-search): Likewise.
5956 * elmo-maildir.el (elmo-maildir-search): Likewise.
5958 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
5960 * elmo-msgdb.el (elmo-living-messages): New function.
5961 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
5962 * elmo-cache.el (elmo-cache-list-folder): Ditto.
5963 * elmo-dop.el (elmo-dop-list-folder): Ditto.
5964 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
5965 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
5966 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
5967 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
5968 * elmo-multi.el (elmo-multi-list-folder): Ditto.
5969 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
5970 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
5971 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
5973 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
5975 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
5977 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
5979 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
5981 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5982 arguments for `SEARCH' command.
5983 (elmo-imap4-parse-string): Set `POS' argument for char-after.
5984 All other related portions are changed.
5986 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
5988 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
5989 (elmo-list-folder-unread): Rewrite.
5990 (elmo-list-folder-important): Ditto.
5992 * elmo-util.el (elmo-filter-get-spec): Rewrite.
5993 (elmo-condition-parse-error): New inline function.
5994 (elmo-read-search-condition): New function.
5995 (elmo-read-search-condition-internal): Ditto.
5996 (elmo-parse-search-condition): Rewrite.
5997 (elmo-condition-parse): New function.
5998 (elmo-condition-parse-or-expr): Ditto.
5999 (elmo-condition-parse-and-expr): Ditto.
6000 (elmo-condition-parse-primitive): Ditto.
6001 (elmo-condition-parse-search-value): Ditto.
6002 (elmo-buffer-field-primitive-condition-match): Ditto.
6003 (elmo-buffer-field-condition-match): Rewrite.
6004 (elmo-file-field-condition-match): Ditto.
6006 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
6007 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
6009 * elmo-internal.el (elmo-internal-search): Set `number' and
6010 `number-list' argument of `elmo-file-field-condition-match'.
6012 * elmo-maildir.el (elmo-maildir-search): Ditto.
6014 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
6015 `msgdb' as argument instead of `mark-alist'.
6016 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
6019 * elmo-multi.el: Likewise.
6021 * elmo-pipe.el: Likewise.
6023 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
6024 (elmo-imap4-search-internal): Rewrite.
6025 (elmo-imap4-search): Ditto.
6027 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
6028 (elmo-filter-list-folder-unread): Ditto.
6029 (elmo-filter-list-folder-important): Ditto.
6030 (elmo-filter-search): Rewrite.
6032 * elmo-cache.el (elmo-cache-search-all): Set `number' and
6033 `number-list' argument of `elmo-file-field-condition-match'.
6034 (elmo-cache-search): Ditto.
6036 * elmo-localdir.el: Likewise.
6038 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
6039 number-list and pass it to `elmo-buffer-field-condition-match'.
6040 (elmo-archive-field-condition-match): Pass `number-list' to
6041 `elmo-archive-field-condition-match'
6043 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
6045 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
6048 * elmo2.el (elmo-folder-diff-async-callback): New variable.
6049 (elmo-folder-diff-async-callback-data): Ditto.
6050 (elmo-folder-diff-async): New function.
6052 * elmo-net.el (elmo-network-session-name-prefix): New variable.
6053 (elmo-network-session-cache-key): Use it as a prefix of the session
6055 (elmo-network-open-session): Ditto.
6057 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
6058 (elmo-imap4-status-callback-data): Ditto.
6059 (elmo-imap4-server-diff-async-callback): New variable.
6060 (elmo-imap4-server-diff-async-callback-data): Ditto.
6061 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
6062 `elmo-imap4-status-callback-data'.
6063 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
6064 `elmo-imap4-status-callback-data' as nil.
6065 (elmo-imap4-server-diff): Ditto.
6066 (elmo-imap4-server-diff-async-callback-1): New function.
6067 (elmo-imap4-server-diff-async): Ditto.
6068 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
6070 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
6072 * elmo-util.el (elmo-list-delete): Doc fix.
6073 (elmo-delete-lists): Abolish.
6074 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
6075 instead of `elmo-delete-lists'.
6077 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
6079 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
6082 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
6084 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
6085 `elmo-imap4-literal-subr'.
6086 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
6087 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
6089 2000-09-15 Kenichi OKADA <okada@opaopa.org>
6091 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
6092 (elmo-archive-list-folder): Fix.
6093 (elmo-archive-max-of-folder): Fix.
6095 2000-09-15 Kenichi OKADA <okada@opaopa.org>
6097 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
6098 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
6099 (elmo-localdir-append-msg): Ditto.
6100 (elmo-localdir-list-folder): Fix for `nonsort'.
6101 (elmo-localdir-list-folder-subr): Fix for `killed'.
6102 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
6103 (elmo-maildir-list-folder-subr): Ditto.
6104 * elmo-archive.el (elmo-archive-list-folder): Ditto.
6105 (elmo-archive-list-folder-subr): Ditto.
6106 * elmo-internal.el (elmo-internal-list-folder): Ditto.
6107 (elmo-internal-list-folder-subr): Ditto.
6109 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
6111 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
6113 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
6115 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
6117 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
6119 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
6120 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6122 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
6124 (elmo-imap4-read-part): Use "body.peek" to fetch part.
6125 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
6127 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
6129 * mmelmo-imap4-2.el (mime-entity-children): Defined.
6131 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
6132 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
6133 before STORE command.
6135 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
6137 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
6139 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
6140 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
6142 (elmo-imap4-list-folders): Removed unused local variable.
6143 (elmo-network-initialize-session): Ditto.
6144 (elmo-imap4-delete-msg-by-id): Ditto.
6145 (elmo-imap4-parse-fetch): Ditto.
6146 (elmo-imap4-copy-msgs): Ditto.
6147 Use `dst-spec' instead of `dst-folder'.
6148 (elmo-network-authenticate-session): Check authenticate type `plain'.
6150 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
6152 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
6154 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
6155 `elmo-imap4-response-value'.
6156 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
6158 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
6160 * elmo-imap4.el (elmo-imap4-send-command):
6161 Cause elmo-imap4-bye-error when current response is BYE.
6162 (elmo-imap4-arrival-filter): Changed greeting response value.
6164 * elmo2.el (elmo-imap4-bye-error): Define.
6166 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
6167 (elmo-imap4-server-diff): Ditto.
6168 (elmo-imap4-response-bye-p): New macro.
6169 (elmo-imap4-response-error-text): Get text from BYE response.
6170 (elmo-imap4-read-response): Return if BYE response.
6171 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
6172 (elmo-imap4-folder-exists-p): Ditto.
6173 (elmo-imap4-commit): Do nothing when different mailbox is selected.
6174 (elmo-imap4-parse-bye): New function.
6175 (elmo-imap4-parse-response): Remove needless let.
6176 Call `elmo-imap4-parse-bye'.
6178 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
6180 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
6181 the mailbox does not exist.
6182 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
6184 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
6186 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
6188 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
6190 * elmo-vars.el (elmo-search-mime-charset): Abolished.
6192 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
6193 (elmo-network-initialize-session-buffer): Defined.
6195 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
6197 (mmelmo-imap4-get-mime-entity): Rewrite.
6199 * elmo2.el (elmo-error): Capitalize error message.
6201 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
6202 (elmo-network-session-buffer): New macro.
6203 (elmo-network-open-session): Use it.
6205 * elmo-imap4.el: Rewrite.
6207 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
6209 * elmo-nntp.el (Toplevel): Require 'elmo-net.
6211 2000-08-27 Daiki Ueno <ueno@unixuser.org>
6213 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
6214 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
6215 (elmo-imap4-create-msgdb-from-overview-string): Use
6216 `elmo-msgdb-create-overview-from-buffer'.
6218 2000-08-26 Daiki Ueno <ueno@unixuser.org>
6220 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
6221 (elmo-imap4-default-hierarchy-delimiter): New variable.
6222 (elmo-imap4-list-folders): Use it.
6224 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
6226 * elmo-net.el (elmo-network-open-session): Add user and
6227 stream-type for process-buffer name.
6229 * elmo-pop3.el (elmo-network-initialize-session): Call
6230 buffer-disable-undo.
6232 * elmo-imap4.el (elmo-network-initialize-session):
6233 Set current-buffer as an argument for `buffer-disable-undo'.
6235 * elmo-pop3.el (elmo-network-close-session): Don't use
6238 * elmo-vars.el (elmo-default-pop3-authenticate-type):
6239 Set default as 'user.
6241 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
6243 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
6244 and `elmo-imap4-flush-connection'.
6246 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
6247 (elmo-pop3-get-spec): Assume auth as symbol.
6248 (elmo-open-network-stream): Moved to `elmo-net'.
6250 * elmo-pop3.el (toplevel): Require 'elmo-net.
6251 Define `sasl-cram-md5' to silence byte compilier.
6252 (elmo-pop3-connection-cache) Abolished.
6253 (elmo-pop3-authenticator-alist) New variable.
6254 (elmo-pop3-session): Define.
6255 (elmo-pop3-connection-get-process): Abolished.
6256 (elmo-pop3-connection-get-buffer): Ditto.
6257 (elmo-pop3-close-connection): Ditto.
6258 (elmo-pop3-flush-connection): Ditto.
6259 (elmo-pop3-get-connection): Ditto.
6260 (elmo-pop3-get-session): New function.
6261 (Replacement for `elmo-pop3-get-connection').
6262 All other related modules are changed.
6263 (elmo-network-close-session): Define.
6264 (elmo-pop3-send-command): Abolished argument `buffer'.
6265 All other related modules are changed.
6266 (elmo-pop3-read-response): Likewise.
6267 (elmo-pop3-open-connection): Abolished.
6268 (elmo-pop3-auth-user): New function.
6269 (elmo-pop3-auth-apop): Ditto.
6270 (elmo-pop3-auth-cram-md5): Ditto.
6271 (elmo-pop3-auth-scram-md5): Ditto.
6272 (elmo-pop3-auth-digest-md5): Ditto.
6273 (elmo-network-initialize-session): Define.
6274 (elmo-network-authenticate-session): Ditto.
6275 (elmo-network-setup-session): Ditto.
6277 * elmo-imap4.el (toplevel): Require 'elmo-net.
6278 (elmo-imap4-session): Define.
6279 (elmo-imap4-connection-cache): Abolished.
6280 (elmo-imap4-password-key): Ditto.
6281 (elmo-imap4-flush-connection): Ditto.
6282 (elmo-imap4-get-connection): Ditto.
6283 All other related modules are changed.
6284 (elmo-imap4-get-session): New function
6285 (Replacement for `elmo-imap4-get-connection').
6286 (elmo-imap4-read-response): Abolished argument `buffer'.
6287 All other related modules are changed.
6288 (elmo-imap4-send-command): Likewise.
6289 (elmo-imap4-select-folder): Abolished.
6290 All other related modules are changed.
6291 (elmo-imap4-select-mailbox): New function.
6292 (Replacement for `elmo-imap4-select-folder').
6293 (elmo-imap4-auth-login): Simplify.
6294 (Assume current buffer as process buffer)
6295 (elmo-imap4-auth-cram-md5): Ditto.
6296 (elmo-imap4-auth-digest-md5): Ditto.
6297 (elmo-imap4-login): Ditto.
6298 (elmo-imap4-open-connection): Abolished.
6299 (elmo-imap4-open-connection-1): Abolished.
6300 (elmo-network-initialize-sessoin): Define.
6301 (elmo-network-authenticate-session): Ditto.
6302 (elmo-network-setup-session): Ditto.
6304 * elmo-net.el: New module.
6306 2000-08-22 Daiki Ueno <ueno@unixuser.org>
6308 * elmo-util.el (elmo-define-error): New function.
6310 * elmo2.el (elmo-error): Define.
6311 (elmo-open-error): Define.
6312 (elmo-authenticate-error): Define.
6314 * elmo-imap4.el (elmo-imap4-error): Abolish.
6315 (elmo-imap4-error-type): Abolish.
6316 (elmo-imap4-error-process): Abolish.
6317 (elmo-imap4-error-message): Abolish
6318 (elmo-imap4-list-folders): Don't quote lambda.
6319 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
6320 (elmo-imap4-parse-namespace): Ditto.
6321 (elmo-imap4-open-connection): Rewrite.
6322 (elmo-imap4-open-connection-1): Simplified (authenticate only).
6323 (elmo-imap4-get-connection): Abolish local variable `result'.
6325 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
6327 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
6328 wrong-type-argument error when auth is nil.
6330 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
6332 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
6333 (elmo-default-nntp-stream-type): Ditto.
6334 (elmo-default-pop3-stream-type): Ditto.
6335 (elmo-network-stream-type-alist): Ditto.
6336 (elmo-default-imap4-ssl): Abolished.
6337 (elmo-default-nntp-ssl): Ditto.
6338 (elmo-default-pop3-ssl): Ditto.
6340 * elmo-util.el: (toplevel): Removed needless requires.
6341 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
6342 (elmo-open-network-stream): Open network stream according to
6343 the value of `elmo-network-stream-type-alist'.
6344 (elmo-get-network-stream-type): New function.
6345 (elmo-network-stream-type-spec-string): New macro.
6346 (elmo-network-stream-type-symbol): Ditto.
6347 (elmo-network-stream-type-function): Ditto.
6349 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
6350 network-stream-type. All other related portions are changed.
6351 (elmo-pop3-open-connection): Ditto.
6353 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
6354 network-stream-type. All other related portions are changed.
6356 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
6357 network-stream-type.All other related portions are changed.
6358 (elmo-imap4-error): New macro.
6359 (elmo-imap4-error-type): Ditto.
6360 (elmo-imap4-error-process): Ditto.
6361 (elmo-imap4-error-message): Ditto.
6362 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
6363 (elmo-imap4-auth-cram-md5): Ditto.
6364 (elmo-imap4-auth-digest-md5): Ditto.
6365 (elmo-imap4-login): Ditto.
6366 (elmo-imap4-open-connection): Remove password entry if authentication
6368 (elmo-imap4-user-at-host): Abolished.
6369 (elmo-imap4-password-key): New buffer local variable.
6370 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
6371 using protocol, port, auth and stream-type.
6373 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
6375 2000-08-13 Daiki Ueno <ueno@unixuser.org>
6377 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
6379 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
6381 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
6382 (elmo-imap4-authenticator-alist): New variable.
6383 (elmo-imap4-open-connection-1): Rename from
6384 elmo-imap4-open-connection.
6385 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
6386 only wraps elmo-imap4-open-connection-1.
6387 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
6389 (elmo-imap4-auth-login): New function.
6390 (elmo-imap4-auth-cram-md5): New function.
6391 (elmo-imap4-auth-digest-md5): New function.
6392 (elmo-imap4-login): New function.
6394 2000-08-12 Kenichi OKADA <okada@opaopa.org>
6396 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
6399 2000-08-12 Kenichi OKADA <okada@opaopa.org>
6401 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
6403 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
6405 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
6407 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
6409 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
6410 for server responses, quote `*' regardless of where it appears.
6412 2000-08-03 Kenichi OKADA <okada@opaopa.org>
6414 * elmo-maildir.el (elmo-maildir-commit): New alias.
6416 2000-08-03 Kenichi OKADA <okada@opaopa.org>
6418 * elmo-util.el (elmo-display-progress):
6419 Use `progress-feedback-with-label'.
6421 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
6423 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
6424 (elmo-imap4-non-atom-char-regex): Ditto.
6425 (elmo-imap4-non-text-char-regex): Ditto.
6426 (elmo-imap4-literal-threshold): Ditto.
6427 (elmo-imap4-atom-p): New function.
6428 (elmo-imap4-quotable-p): Ditto.
6429 (elmo-imap4-nil): Ditto.
6430 (elmo-imap4-atom): Ditto.
6431 (elmo-imap4-quoted): Ditto.
6432 (elmo-imap4-literal-subr): Ditto.
6433 (elmo-imap4-literal): Ditto.
6434 (elmo-imap4-buffer-literal): Ditto.
6435 (elmo-imap4-string-subr): Ditto.
6436 (elmo-imap4-string): Ditto.
6437 (elmo-imap4-buffer-string): Ditto.
6438 (elmo-imap4-astring-subr): Ditto.
6439 (elmo-imap4-astring): Ditto.
6440 (elmo-imap4-buffer-astring): Ditto.
6441 (elmo-imap4-nstring): Ditto.
6442 (elmo-imap4-buffer-nstring): Ditto.
6443 (elmo-imap4-mailbox): New alias.
6444 (elmo-imap4-field-body): Ditto.
6445 (elmo-imap4-userid): Ditto.
6446 (elmo-imap4-password): Ditto.
6447 (elmo-imap4-format-quoted): New function.
6448 (elmo-imap4-send-command): Rewritten. Accept a list of command
6449 arguments and handle "atom", "quoted" and "literal" string here.
6450 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
6451 `elmo-imap4-send-command'.
6452 (elmo-imap4-folder-exists-p): Likewise.
6453 (elmo-imap4-create-folder): Likewise.
6454 (elmo-imap4-delete-folder): Likewise.
6455 (elmo-imap4-rename-folder): Likewise.
6456 (elmo-imap4-max-of-folder): Likewise.
6457 (elmo-imap4-check-validity): Likewise.
6458 (elmo-imap4-sync-validity): Likewise.
6459 (elmo-imap4-server-diff): Likewise.
6460 (elmo-imap4-select-folder): Likewise.
6461 (elmo-imap4-copy-msgs): Likewise.
6462 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
6463 (elmo-imap4-mark-set-on-msgs): Likewise.
6464 (elmo-imap4-read-part): Likewise.
6465 (elmo-imap4-read-msg): Likewise.
6466 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
6467 `elmo-imap4-password' for `elmo-imap4-send-command'.
6468 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
6469 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
6470 `elmo-imap4-buffer-literal'.
6471 (elmo-imap4-append-msg): Likewise.
6473 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
6474 `delete' for removing dead connection from the connection cache.
6475 Move deletion of the process buffer after that.
6476 (elmo-imap4-list): Change `defsubst' to `defun'.
6477 (elmo-imap4-commit): Make error message verbose.
6478 (elmo-imap4-search): Ditto.
6479 (elmo-imap4-list): Ditto.
6480 (elmo-imap4-select-folder): Ditto.
6481 (elmo-imap4-copy-msgs): Ditto.
6482 (elmo-imap4-delete-msg-by-id): Ditto.
6483 (elmo-imap4-append-msg-by-id): Ditto.
6484 (elmo-imap4-append-msg): Ditto.
6486 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
6488 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
6489 when dired is used on XEmacs.
6491 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
6493 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
6494 instead of `append'.
6495 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
6496 `elmo-plugged-p' directly.
6497 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
6498 of `elmo-plugged-p' directly.
6500 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
6501 Eliminate unused variable. Use `memq' for checking a process status.
6502 Use `cons' instead of `append' for updating the connection cache.
6503 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
6504 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
6506 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
6508 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
6509 `elmo-imap4-read-point' exactly.
6511 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
6512 the local variable `folder' to `mailbox'.
6513 Rename the argument `fld' to `folder'.
6515 2000-07-20 Kenichi OKADA <okada@opaopa.org>
6517 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
6518 * elmo-imap4.el (elmo-imap4-commit): Ditto.
6520 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
6522 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
6523 (elmo-pop3-number-uidl-hash): New buffer-local variable.
6524 (elmo-pop3-uidl-number-hash): Ditto.
6525 (elmo-pop3-size-hash): Ditto.
6526 (elmo-pop3-uidl-done): Ditto.
6527 (elmo-pop3-list-done): Ditto.
6528 (elmo-pop3-connection-get-process): New defmacro.
6529 (elmo-pop3-connection-get-buffer): Ditto.
6530 (elmo-pop3-close-connection): Delete buffer and process.
6531 (elmo-pop3-flush-connection): Don't delete buffer and process.
6532 (elmo-pop3-get-connection): Added optional argument `if-exists'.
6533 Setup UIDL and size hash.
6534 (elmo-pop3-send-command-no-erase): Deleted
6535 (elmo-pop3-send-command): Added optional argument `no-erase'.
6536 (elmo-pop3-parse-uidl-response): New function.
6537 (elmo-pop3-parse-list-response): Set size hash.
6538 (elmo-pop3-list-location): New function.
6539 (elmo-pop3-list-by-uidl-subr): Ditto.
6540 (elmo-pop3-list-by-list): Ditto.
6541 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
6542 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
6543 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
6544 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
6545 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
6547 (elmo-pop3-uidl-to-number): New function.
6548 (elmo-pop3-number-to-uidl): Ditto.
6549 (elmo-pop3-number-to-size): Ditto.
6550 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
6551 Set number by use of uidl.
6552 (elmo-pop3-msgdb-create-message): Likewise.
6553 Set size, loc-alist in msgdb.
6554 (elmo-pop3-read-msg): Set number by use of uidl.
6555 Added optional argument `msgdb'.
6556 (elmo-pop3-delete-msg): Ditto.
6557 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
6558 (elmo-pop3-commit): Close connection.
6560 * elmo-pipe.el (elmo-pipe-max-of-folder):
6561 Bind `elmo-pop3-use-uidl' as nil.
6562 (elmo-pipe-drain): Ditto.
6565 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
6566 (elmo-msgdb-overview-entity-set-size): New defsubst.
6568 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
6570 * elmo-vars.el (elmo-use-killed-list): New variable
6571 (Renamed from `elmo-nntp-use-killed-list').
6572 (elmo-nntp-use-killed-list): Eliminated.
6574 * elmo-msgdb.el (elmo-msgdb-expand-path):
6575 Changed expanding msgdb path for elmo-multi.
6577 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
6578 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
6579 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
6580 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
6581 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
6582 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
6583 (toplevel): Deleted time-stamp line.
6585 * elmo2.el (elmo-clear-killed ): Defined as function
6586 (Abolished defining as a backend function).
6587 All other related modules are changed.
6589 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
6591 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
6593 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
6595 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
6597 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
6599 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
6601 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
6603 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
6604 asynchronous folder check.
6606 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
6608 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
6609 `elmo-nntp-use-killed-list'.
6610 (elmo-nntp-list-folder): Use killed list.
6611 (elmo-nntp-max-of-folder): Ditto.
6612 (elmo-nntp-msgdb-create): Set killed list.
6614 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
6616 * elmo2.el (elmo-clear-killed): New backend function.
6617 All other related modules are changed.
6619 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
6621 * elmo-util.el (elmo-imap4-spec-folder): Use
6622 `elmo-imap4-spec-mailbox'; Mark as obsolete.
6623 All callers changed.
6625 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
6627 * mmelmo-2.el (initialize-instance):
6628 Use `mime-buffer-entity-buffer-internal' instead of
6629 `mime-entity-buffer'.
6631 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
6632 (mime-entity-body): Implemented.
6633 (mime-goto-header-start-point): Deleted.
6634 (mime-goto-body-end-point): Ditto.
6635 (mime-entity-point-min): Ditto.
6636 (mime-entity-point-max): Ditto.
6637 (mime-entity-children): Ditto.
6638 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
6639 instead of `mime-entity-buffer'.
6640 (mime-entity-header-buffer): Ditto.
6641 (mime-entity-body-buffer): Ditto.
6642 (mime-write-entity-content): Ditto.
6644 * pldap.el (ldap-static-if): New macro.
6645 (toplevel): Use it instead of `static-if'.
6647 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
6649 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
6650 included in `attrs' argument.
6652 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
6654 * elmo-util.el (elmo-get-passwd): Use old backquote style.
6656 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
6657 (ldap-ldif-safe-init-char-regexp): Ditto.
6658 (ldap-ldif-safe-string-regexp): Ditto.
6659 (ldap/ldif-safe-string-p): New macro.
6660 (ldap/ldif-insert-field): Ditto.
6661 (ldap-modify): Use it.
6663 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
6664 (ldap-decode-attribute): Decode only when `attr' is consp.
6665 (ldap-delete): Bind `ret'.
6666 (toplevel): Require 'cl at compile time.
6667 Removed (require 'poe) and (require 'std11).
6668 (pldap-version): Eliminated.
6669 (ldap-search-basic): Removed auth and dn binding.
6670 (ldap-ldif-field-name-regexp): New constant.
6671 (ldap-ldif-field-head-regexp): Ditto.
6672 (ldap-ldif-next-field-head-regexp): Ditto.
6673 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
6674 (ldap/field-end): New function.
6675 (ldap/field-body): Use it.
6676 (ldap/collect-field): Ditto.
6677 (ldap-search-basic): Use `ldap/field-body'.
6679 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
6681 * pldap.el (ldap-default-attribute-encoder): New user option.
6682 (ldap/field-body): Decode base64 string.
6683 (ldap/collect-field): Ditto.
6684 (ldap-encode-attribute): New function.
6685 (ldap-add-entries): Use it.
6686 (ldap-modify-entries): Ditto.
6687 (ldap-search-entries): Enclosed decoding function with
6688 `with-temp-buffer' and set as unibyte.
6689 (ldap-search-basic): Set process buffer as unibyte.
6691 * elmo-util.el (elmo-folder-identical-system-p):
6692 Eliminated name space checking.
6694 * pldap.el: New module.
6695 toplevel: Changed condition to detect built-in ldap feature.
6696 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
6697 (ldap-add): Added error handling.
6698 (ldap-modify): Ditto.
6699 (ldap-delete): Ditto.
6701 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
6703 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
6704 Initialize local variables with `let'. Inline a temporary
6705 variable for the progress percentage. Sort `setq' to reduce
6706 function call in the while-loop.
6708 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
6709 into the conditional branch.
6711 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
6713 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
6714 Move a conditional out of the while-loop.
6716 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6718 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
6719 elmo-msgdb-overview-get-entity-by-number.
6720 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
6723 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
6725 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
6726 the local variable for a packed number self descriptively.
6728 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6730 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
6731 * elmo-localdir.el (elmo-localdir-pack-number): Use
6732 `elmo-msgdb-overview-get-entity' instead of
6733 `elmo-msgdb-overview-get-entity-by-number'.
6734 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
6735 (elmo-msgdb-search-overview-entity): Removed.
6736 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
6737 by message-id or number.
6738 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
6739 instead of `elmo-msgdb-overview-get-entity-by-number'.
6741 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6743 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
6744 non-nil, use hash table for overview.
6745 (elmo-hash-maximum-size): New variable.
6746 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
6747 (elmo-msgdb-make-overview-hashtb): New function.
6748 (elmo-msgdb-clear-overview-hashtb): New function.
6749 (elmo-clear-hash-val): New macro.
6750 All other related modules are changed.
6752 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
6754 * elmo2.el (elmo-move-msgs): If there's other message with
6755 same message-id, don't use cache.
6757 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
6759 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
6760 number is already packed.
6762 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
6764 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
6766 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6768 * elmo-vars.el (elmo-display-progress-threshold): New variable.
6769 All other related modules are changed.
6771 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
6773 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
6774 of refiling failure on Maildir.
6776 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6778 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
6779 decoded mime-charset with cache.
6780 (elmo-msgdb-overview-entity-get-from): Ditto.
6781 (elmo-msgdb-overview-entity-get-subject): Ditto.
6782 * elmo-vars.el (elmo-use-decoded-cache): New variable.
6784 2000-05-10 Kenichi OKADA <okada@opaopa.org>
6786 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
6787 (elmo-remove-passwd): Fill password with 0 before erase.
6788 * elmo-vars.el (elmo-passwd-life-time): New variable.
6791 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
6793 * elmo-cache.el (elmo-buffer-cache-add):
6794 Set message cache buffer as unibyte.
6796 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
6798 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
6801 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
6803 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
6804 when display is finished.
6805 (elmo-nntp-msgdb-create): Ditto.
6806 (elmo-nntp-groups-read-response): Ditto.
6807 (elmo-nntp-retrieve-headers): Ditto.
6808 (elmo-nntp-msgdb-create-message): Ditto.
6809 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
6810 (elmo-pop3-msgdb-create-message): Ditto.
6812 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
6814 * elmo-maildir.el (elmo-maildir-msgdb-create):
6815 Use `elmo-msgdb-sort-by-date'.
6817 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
6819 * elmo2.el (elmo-read-msg-no-cache):
6820 Eliminated arguments after `outbuf'.
6821 Don't use cache even if it exists.
6822 (elmo-read-msg): Don't pass arguments after `outbuf' to
6823 `elmo-read-msg-no-cache'.
6825 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
6827 * elmo-archive.el (elmo-archive-list-folders):
6828 Use `file-name-directory' if base folder does not exist.
6830 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
6832 * elmo-archive.el (elmo-archive-list-folders): Don't use
6833 `file-name-directory'.
6835 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
6837 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
6838 If `force' is non-nil, try flushing all operation queues.
6840 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6842 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
6845 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
6847 * elmo-util.el (elmo-display-progress): Fixed.
6849 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
6851 * elmo-util.el (elmo-display-progress): New function.
6852 All other related modules are changed.