1 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
3 * modb.el (elmo-msgdb-make-message-entity): Define simple one.
4 (elmo-msgdb-message-entity-field): Ditto.
5 (elmo-msgdb-message-entity-number): Ditto.
7 2003-09-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
9 * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer):
10 Fixed how to set extra field into entity.
11 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
14 * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
15 Fixed how to set extra field into entity.
16 (elmo-msgdb-message-entity-set-field): Fixed mistake string for
19 2003-09-21 Yuuichi Teranishi <teranisi@gohome.org>
21 * modb.el (elmo-message-entity-db): New function.
22 (elmo-msgdb-make-message-entity): New API.
23 (elmo-msgdb-message-entity-number): Ditto.
24 (elmo-msgdb-message-entity-set-number): Ditto.
25 (elmo-msgdb-message-entity-field): Ditto.
26 (elmo-msgdb-message-entity-set-field): Ditto.
27 (elmo-msgdb-copy-message-entity): Ditto.
28 (elmo-msgdb-create-message-entity-from-file): Ditto.
29 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
30 (elmo-msgdb-match-condition-internal): Ditto.
32 * modb-standard.el (modb-legacy): Require modb-legacy.
33 (modb-standard-make-message-entity): New inline function.
34 (elmo-msgdb-make-message-entity): Define.
35 (elmo-msgdb-create-message-entity-from-file): Ditto.
36 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
37 (elmo-msgdb-message-entity-field): Ditto.
38 (elmo-msgdb-message-entity-set-field): Ditto.
39 (elmo-msgdb-copy-message-entity): Ditto.
40 (elmo-msgdb-match-condition-internal): Ditto.
42 * modb-legacy.el: Don't require modb-entity.
43 (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
44 (elmo-msgdb-match-condition-primitive): Ditto.
45 (elmo-msgdb-get-decoded-cache): Ditto.
46 (elmo-msgdb-overview-entity-get-id): Ditto.
47 (elmo-msgdb-overview-entity-get-number): Ditto.
48 (elmo-msgdb-overview-entity-set-number): Ditto.
49 (elmo-msgdb-overview-entity-get-references): Ditto.
50 (elmo-msgdb-overview-entity-set-references): Ditto.
51 (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
52 (elmo-msgdb-overview-entity-get-from): Ditto.
53 (elmo-msgdb-overview-entity-set-from): Ditto.
54 (elmo-msgdb-overview-entity-get-subject): Ditto.
55 (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
56 (elmo-msgdb-overview-entity-set-subject): Ditto.
57 (elmo-msgdb-overview-entity-get-date): Ditto.
58 (elmo-msgdb-overview-entity-set-date): Ditto.
59 (elmo-msgdb-overview-entity-get-to): Ditto.
60 (elmo-msgdb-overview-entity-get-cc): Ditto.
61 (elmo-msgdb-overview-entity-get-size): Ditto.
62 (elmo-msgdb-overview-entity-set-size): Ditto.
63 (elmo-msgdb-overview-entity-get-extra): Ditto.
64 (elmo-msgdb-overview-entity-set-extra): Ditto.
65 (elmo-msgdb-overview-entity-get-extra-field): Ditto.
66 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
67 (elmo-msgdb-number-load): Ditto.
68 (elmo-msgdb-overview-load): Ditto.
69 (elmo-msgdb-mark-load): Ditto.
70 (elmo-msgdb-number-save): Ditto.
71 (elmo-msgdb-mark-save): Ditto.
72 (elmo-msgdb-overview-save): Ditto.
73 (modb-legacy-make-message-entity): New inline function.
74 (elmo-msgdb-insert-file-header): Ditto.
75 (elmo-msgdb-make-message-entity): Define.
76 (elmo-msgdb-create-message-entity-from-file): Ditto.
77 (elmo-msgdb-create-message-entity-from-buffer): Ditto.
78 (elmo-msgdb-message-entity-number): Ditto.
79 (elmo-msgdb-message-entity-set-number): Ditto.
80 (elmo-msgdb-message-entity-field): Ditto.
81 (elmo-msgdb-message-entity-set-field): Ditto.
82 (elmo-msgdb-copy-message-entity): Ditto.
83 (elmo-msgdb-match-condition-internal): Ditto.
85 * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
86 (elmo-message-copy-entity): Rewrite.
87 (elmo-message-entity-number): Ditto.
88 (elmo-message-entity-set-number): Ditto.
89 (elmo-message-entity-field): Use elmo-message-entity-db.
90 (elmo-message-entity-set-field): Ditto.
91 (elmo-message-field): Rewrite.
93 * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
95 (elmo-msgdb-get-message-id-from-buffer): Ditto.
97 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
98 elmo-message-entity-field.
99 (elmo-shimbun-folder-shimbun-header): Ditto.
100 (elmo-shimbun-entity-to-header): Ditto.
101 (elmo-folder-msgdb-create): Ditto.
102 (elmo-shimbun-msgdb-create-entity): Ditto;
103 Use elmo-msgdb-create-message-entity-from-buffer.
104 (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
105 (elmo-map-folder-list-message-locations): elmo-message-entity-field.
107 * elmo-sendlog.el (elmo-folder-msgdb-create): Use
108 elmo-msgdb-create-message-entity-from-file and
109 elmo-message-entity-field.
111 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
112 elmo-message-entity-number.
113 (elmo-pop3-msgdb-create-message): Use
114 elmo-msgdb-create-message-entity-from-buffer,
115 elmo-message-entity-set-field, elmo-message-entity-number and
116 elmo-message-entity-set-number.
118 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
119 the API change in elmo-msgdb-make-message-entity.
120 (elmo-nntp-msgdb-create-message): Use
121 elmo-msgdb-create-message-entity-from-buffer.
123 * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
124 elmo-message-entity-field and
125 elmo-msgdb-create-message-entity-from-file.
127 * elmo-msgdb.el (toplevel): Don't require modb-entity.
128 (elmo-msgdb-get-field): Abolish.
129 (elmo-msgdb-get-number): Rewrite.
130 (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
131 (elmo-msgdb-flag-table): Ditto.
132 (elmo-msgdb-get-last-message-id,
133 elmo-msgdb-number-load, elmo-msgdb-overview-load,
134 elmo-msgdb-mark-load, elmo-msgdb-number-save,
135 elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
136 (elmo-msgdb-create-overview-from-buffer,
137 elmo-msgdb-overview-get-parent-entity): Abolish.
139 * elmo-mime.el (elmo-mime-display-as-is): Use
140 elmo-message-entity-field.
142 * elmo-map.el (elmo-folder-pack-numbers): Use
143 elmo-message-entity-set-number.
145 * elmo-maildir.el (elmo-folder-msgdb-create):
146 elmo-msgdb-create-message-entity-from-file instead of
147 elmo-msgdb-create-overview-entity-from-file.
149 * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
151 (elmo-folder-msgdb-create): Use elmo-message-entity-field.
152 (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
154 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
155 elmo-messge-entity-field and elmo-message-entity-number.
156 (elmo-imap4-fetch-callback-1): Call
157 elmo-msgdb-create-message-entity-from-buffer instead of
158 elmo-msgdb-create-overview-from-buffer.
159 (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
160 (elmo-find-fetch-strategy): Likewise.
162 * elmo-flag.el (elmo-folder-msgdb-create): Call
163 elmo-localdir-msgdb-create-entity with argument msgdb.
165 * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
166 and elmo-message-entity-set-number.
168 * elmo-cache.el (elmo-folder-msgdb-create): Use
169 elmo-message-entity-field.
170 (elmo-folder-msgdb-create): Call
171 elmo-msgdb-create-message-entity-from-file instead of
172 elmo-msgdb-create-overview-entity-from-file.
174 * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
175 argument msgdb; Call elmo-msgdb-create-message-from-buffer
176 instead of elmo-msgdb-create-overview-from-buffer.
177 (elmo-archive-msgdb-create-entity): Ditto.
178 (elmo-archive-msgdb-create-as-numlist-subr1): Use
179 elmo-message-entity-field.
180 (elmo-archive-parse-mmdf): Ditto.
182 * modb-entity.el: Removed.
184 * elmo-version.el (elmo-version): Up to 2.11.16.
186 2003-09-20 Yuuichi Teranishi <teranisi@gohome.org>
188 * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
190 (elmo-folder-flag-as-answered): Ditto.
192 2003-09-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
194 * modb-standard.el: New file.
196 * elmo.el (elmo-folder-clear): Reconstruct msgdb if
197 elmo-msgdb-convert-type is `sync'.
199 * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
200 (elmo-msgdb-convert-type): New user option.
202 * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
203 (elmo-load-msgdb): Auto detect saved type.
205 * elmo-version.el (elmo-version): Up to 2.11.15.
207 2003-09-19 Yuuichi Teranishi <teranisi@gohome.org>
209 * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
211 * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
212 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
213 with argument `delete-if-none' when dst-folder is 'null.
215 * elmo-flag.el (elmo-folder-append-messages): Defined.
216 (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
218 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
220 * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
222 2003-09-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
224 * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
225 (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
226 (elmo-folder-commit): Ditto.
228 2003-09-18 Yuuichi Teranishi <teranisi@gohome.org>
230 * elmo-flag.el: New file.
232 * elmo-mark.el: Removed.
234 * modb-legacy.el (modb-legacy-new-mark,
235 modb-legacy-unread-uncached-mark,
236 modb-legacy-unread-cached-mark,
237 modb-legacy-read-uncached-mark,
238 modb-legacy-answered-cached-mark,
239 modb-legacy-answered-uncached-mark,
240 modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
241 All other related portions are changed.
243 * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
244 (elmo-folder-list-messages-with-global-mark): Abolish.
245 (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
246 (elmo-folder-flag-as-important): Ditto.
247 (elmo-folder-unflag-read): Ditto.
248 (elmo-folder-flag-as-read): Ditto.
249 (elmo-folder-unflag-answered): Ditto.
250 (elmo-folder-flag-as-answered): Ditto.
251 (elmo-message-encache): Return the cache path.
252 (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
253 (elmo-message-set-flag): Transitional implementation.
254 (elmo-message-unset-flag): Ditto.
255 (elmo-folder-unflag-important): Call elmo-global-flag-detach.
256 (elmo-folder-flag-as-important): Call elmo-global-flag-set.
257 (elmo-init): Call elmo-global-flag-initialize.
258 (toplevel): Added autoload settings for elmo-flag.
260 * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
262 * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
263 (elmo-file-cache-delete): Don't treat global-mark.
265 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
267 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
269 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
270 `elmo-global-flags-set'.
272 * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
274 (elmo-folder-unflag-read): Ditto.
275 (elmo-folder-unflag-important): Ditto.
276 (elmo-folder-flag-as-important): Ditto.
277 (elmo-folder-unflag-answered): Ditto.
278 (elmo-folder-flag-as-answered): Ditto.
280 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
281 `elmo-global-flags-set'.
282 (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
284 * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
286 * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
288 (elmo-folder-flag-as-important): Ditto.
289 (elmo-folder-unflag-important): Ditto.
290 (elmo-folder-flag-as-important): Ditto.
291 (elmo-folder-unflag-read): Ditto.
292 (elmo-folder-flag-as-read): Ditto.
293 (elmo-folder-unflag-answered): Ditto.
294 (elmo-folder-flag-as-answered): Ditto.
296 * elmo-multi.el (elmo-folder-list-importants): Don't call
297 elmo-folder-list-messages-with-global-mark.
298 (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
299 (elmo-folder-unflag-important): Ditto.
300 (elmo-folder-flag-as-read): Ditto.
301 (elmo-folder-unflag-read): Ditto.
302 (elmo-folder-flag-as-answered): Ditto.
303 (elmo-folder-unflag-answered): Ditto.
305 * elmo-msgdb.el (elmo-msgdb-new-mark,
306 elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
307 elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
308 elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
309 (Moved to modb-legacy.el).
310 (elmo-flag-table-get): Treat important flag too.
312 * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
314 (elmo-map-folder-flag-as-important): Ditto.
315 (elmo-map-folder-unflag-read): Ditto.
316 (elmo-map-folder-flag-as-read): Ditto.
317 (elmo-map-folder-unflag-answered): Ditto.
318 (elmo-map-folder-flag-as-answered): Ditto.
319 (elmo-folder-unflag-important): Ditto.
320 (elmo-folder-flag-as-important): Ditto.
321 (elmo-folder-unflag-read): Ditto.
322 (elmo-folder-flag-as-read): Ditto.
323 (elmo-folder-unflag-answered): Ditto.
324 (elmo-folder-flag-as-answered): Ditto.
326 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
327 (elmo-map-folder-flag-as-important): Renamed from `mark' to
329 (elmo-map-folder-unflag-important): Ditto.
330 (elmo-map-folder-flag-as-read): Ditto.
331 (elmo-map-folder-unflag-read): Ditto.
332 (elmo-map-folder-flag-as-answered): Ditto.
333 (elmo-map-folder-unflag-answered): Ditto.
335 * elmo-localdir.el (elmo-folder-msgdb-create): Call
336 `elmo-global-flags-set'.
337 (elmo-global-flags-set): Added autoload setting.
339 * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
342 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
343 `elmo-msgdb-global-mark-set'.
344 (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
345 Call `elmo-global-flags-set'.
346 (elmo-folder-unflag-important-plugged): Renamed from `mark' to
348 (elmo-folder-flag-as-important-plugged): Ditto.
349 (elmo-folder-unflag-read-plugged): Ditto.
350 (elmo-folder-flag-as-read-plugged): Ditto.
351 (elmo-folder-unflag-answered-plugged): Ditto.
352 (elmo-folder-flag-as-answered-plugged): Ditto.
353 (elmo-global-flags-set): Added autoload setting.
355 * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
357 (elmo-folder-unflag-read): Ditto.
358 (elmo-folder-flag-as-important): Ditto.
359 (elmo-folder-unflag-important): Ditto.
360 (elmo-folder-flag-as-answered): Ditto.
361 (elmo-folder-unflag-answered): Ditto.
363 * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
364 change of `mark'->`flag'.
365 (elmo-dop-queue-method-name-alist): Ditto.
366 (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
367 (elmo-folder-unflag-read-dop): Ditto.
368 (elmo-folder-flag-as-important-dop): Ditto.
369 (elmo-folder-unflag-important-dop): Ditto.
370 (elmo-folder-flag-as-answered-dop): Ditto.
371 (elmo-folder-unflag-answered-dop): Ditto.
373 * elmo-cache.el (elmo-folder-msgdb-create): Call
374 `elmo-global-flags-set'.
376 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
377 Call `elmo-global-flags-set'.
378 (elmo-archive-msgdb-create-as-numlist-subr2): Call
379 elmo-archive-parse-mmdf with argument `folder'.
380 (elmo-archive-parse-mmdf): Added argument `folder';
381 Call `elmo-global-flags-set'.
383 * elmo-version.el (elmo-version): Up to 2.11.14.
385 2003-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
387 * modb.el (elmo-msgdb-length): Define.
389 * elmo.el (elmo-make-folder): Fixed.
390 (elmo-generic-folder-append-messages): Follow the API change.
392 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
395 2003-09-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
399 * modb-entity.el: Ditto.
401 * modb-legacy.el: Ditto.
403 * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
404 (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
405 of `elmo-msgdb-overview-get-entity'.
406 (elmo-msgdb-get-field): Ditto.
407 (elmo-msgdb-merge): Moved to `elmo.el'.
408 (elmo-msgdb-length): Removed; redefine as modb method.
409 (elmo-msgdb-change-mark): Abolish.
410 (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
411 (elmo-msgdb-match-condition): Don't use mark.
412 (elmo-msgdb-overview-get-entity): Abolish.
413 Split modb part into `modb*.el'.
415 * elmo-vars.el (elmo-msgdb-default-type): New user option.
417 * elmo-shimbun.el (shimbun-mua-search-id): Use
418 `elmo-msgdb-message-entity' instead of
419 `elmo-msgdb-overview-get-entity'.
420 (elmo-shimbun-folder-shimbun-header): Ditto.
421 (elmo-shimbun-get-headers): Ditto.
422 (elmo-shimbun-update-overview): Ditto.
424 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
426 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
428 * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
429 (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
431 * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
432 `elmo-msgdb-mark-to-flags'.
434 * elmo-map.el (elmo-folder-pack-numbers): Don't use
435 `elmo-msgdb-set-path'.
437 * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
439 * elmo-version.el (elmo-version): Up to 2.11.13.
441 * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
443 * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
446 2003-09-14 TAKAHASHI Kaoru <kaoru@kaisei.org>
448 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
451 2003-09-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
453 * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
454 instead of `elmo-msgdb-get-cached'.
455 (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
457 * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
458 (elmo-msgdb-set-cached): Ditto.
459 (elmo-msgdb-set-flag): Rewrite.
460 (elmo-msgdb-unset-flag): Ditto.
462 * elmo-msgdb.el: Rewrite with luna.
464 * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
465 (elmo-folder-msgdb): Follow the change above.
466 (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
467 (elmo-folder-unmark-important): Follow the API change.
468 (elmo-folder-mark-as-important): Ditto.
469 (elmo-folder-unmark-read): Ditto.
470 (elmo-folder-mark-as-read): Ditto.
471 (elmo-folder-unmark-answered): Ditto.
472 (elmo-folder-mark-as-answered): Ditto.
473 (elmo-folder-clear): Likewise.
475 * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
476 instead of `elmo-msgdb-load' (renamed).
478 * elmo-version.el (elmo-version): Up to 2.11.12.
480 2003-09-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
482 * elmo.el (elmo-generic-folder-append-messages): Follow the API
484 (elmo-message-mark): Abolish.
485 (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
486 instead of `elmo-msgdb-change-mark'.
488 * elmo-pipe.el (elmo-message-mark): Abolish.
490 * elmo-multi.el (elmo-message-mark): Ditto.
492 * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
493 (elmo-msgdb-unread-uncached-mark): Ditto.
494 (elmo-msgdb-unread-cached-mark): Ditto.
495 (elmo-msgdb-read-uncached-mark): Ditto.
496 (elmo-msgdb-answered-cached-mark): Ditto.
497 (elmo-msgdb-answered-uncached-mark): Ditto.
498 (elmo-msgdb-important-mark): Ditto.
499 (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
501 (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
503 (elmo-flag-table-load): Changed flag to list of flag.
504 (elmo-flag-table-set): If flags is nil, set read flag.
505 (elmo-flag-table-get): Return derived flags from global mark,
506 cache status and saved flags.
507 (elmo-msgdb-flag-table): Follow the change above.
508 (elmo-msgdb-out-of-date-messages): New function.
510 * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
512 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
514 * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
516 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
517 (elmo-nntp-msgdb-create-message): Ditto.
519 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
521 * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
523 (elmo-folder-msgdb-create): Follow the API change.
525 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
526 (elmo-folder-append-messages): Ditto.
528 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
529 (elmo-folder-append-buffer): Ditto.
531 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
533 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
535 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
536 (elmo-archive-parse-mmdf): Ditto.
538 * elmo-version.el (elmo-version): Up to 2.11.11.
540 2003-09-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
542 * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
545 * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
547 * elmo-pipe.el (elmo-message-flags): Defined.
549 * elmo-multi.el (elmo-message-flags): Ditto.
551 2003-09-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
553 * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
554 `elmo-msgdb-delete-msgs'.
556 * elmo.el (elmo-folder-count-flags): Don't use
557 `elmo-msgdb-get-mark-alist'.
558 (elmo-folder-detach-messages): Follow the API change.
560 * elmo.el (elmo-folder-list-messages): Append killed messages into
561 result if `visible-only' is nil.
563 * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
565 (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
566 (elmo-folder-update-number): Likewise.
568 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
569 (elmo-pop3-sort-msgdb-by-original-number): Use
570 `elmo-msgdb-sort-entities'.
572 * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
573 (elmo-msgdb-sort-by-date): Use it.
574 (elmo-msgdb-overview-sort-by-date): Abolish.
576 * elmo-dop.el (elmo-folder-status-dop): Fixed.
578 * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
579 (elmo-msgdb-flags): New function.
580 (elmo-msgdb-merge): Use elmo-msgdb-append.
582 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
585 * elmo-map.el (elmo-folder-pack-numbers): Ditto.
587 * elmo-dop.el (elmo-folder-status-dop): Use
588 elmo-folder-list-messages instead of elmo-msgdb-list-messages.
590 2003-09-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
592 * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
594 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
596 * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
598 * elmo-util.el (elmo-with-progress-display): New macro.
600 * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
602 2003-09-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
604 * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
605 `elmo-folder-list-message-entities' instead of
606 `elmo-msgdb-get-overview'.
607 (elmo-map-folder-list-message-locations): Ditto.
609 * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
610 methods instead of treat directly).
611 (elmo-msgdb-clear): Ditto.
612 (elmo-msgdb-delete-msgs): Ditto.
613 (elmo-msgdb-sort-by-date): Ditto.
615 * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
617 (elmo-nntp-folder-msgdb-create): Follow the API change.
619 * elmo-version.el (elmo-version): Up to 2.11.10.
621 2003-08-30 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
623 * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
624 (elmo-msgdb-flags-to-mark): Ditto.
625 (elmo-msgdb-append-entity): Ditto.
627 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
628 Use `elmo-msgdb-append-entity' instead of construct msgdb.
629 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
630 (elmo-archive-parse-mmdf): Ditto.
632 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
634 * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
636 * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
638 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
640 * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
642 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
644 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
646 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
648 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
649 (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
652 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
653 `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
654 instead of directly construction.
655 (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
656 instead of construct msgdb.
658 * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
659 `elmo-msgdb-set-overview' instead of reconstruct msgdb.
660 (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
661 instead of construct msgdb.
663 2003-08-28 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
665 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
666 when field is from or subject.
668 2003-08-23 Yuuichi Teranishi <teranisi@gohome.org>
670 * elmo-multi.el (elmo-message-entity-parent): Define.
671 (elmo-folder-search): Rewrite.
673 2003-08-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
675 * elmo-multi.el (elmo-message-cached-p): Define.
677 * elmo.el (elmo-message-cached-p): New method.
678 (elmo-message-accessible-p): Use it instead of msgdb API directly.
679 (elmo-message-flags): New method.
680 (elmo-message-flagged-p): New function.
682 * elmo-version.el (elmo-version): Up to 2.11.9.
684 2003-08-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
686 * elmo-version.el (elmo-version): Up to 2.11.8.
688 * elmo.el (elmo-folder-move-messages): Removed unused arguments.
690 * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
692 2003-08-14 Yuuichi Teranishi <teranisi@gohome.org>
694 * elmo.el (elmo-folder-detach-messages): Undo last change.
696 2003-08-13 Yuuichi Teranishi <teranisi@gohome.org>
698 * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
700 * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
701 only when src folder type is pop3.
703 2003-08-12 Yuuichi Teranishi <teranisi@gohome.org>
705 * elmo-msgdb.el (elmo-msgdb-make-index): Use
706 elmo-msgdb-overview-entity-get-number instead of
707 elmo-message-entity-number.
709 2003-08-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
711 * elmo-version.el (elmo-version): Up to 2.11.7.
713 2003-08-07 Yuuichi Teranishi <teranisi@gohome.org>
715 * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
718 * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
719 (elmo-msgdb-merge): New function.
720 (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
721 (elmo-msgdb-make-index): Rewrite.
723 * elmo-version.el (elmo-version): Up to 2.11.6.
725 * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
726 use it as a the path for loading message entities.
728 * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
730 2003-08-05 Yuuichi Teranishi <teranisi@gohome.org>
732 * elmo-filter.el (elmo-folder-set-message-modified): Set
733 message-modified slot of itself if it does not require target msgdb.
735 * elmo-mime.el (elmo-mime-message-display): Display message entirely
736 if folder length is zero.
737 (elmo-mime-display-as-is): Ditto.
739 * elmo-filter.el (elmo-folder-set-message-modified): Define.
741 * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
743 2003-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
745 * elmo.el (elmo-folder-set-message-modified): New method.
746 (elmo-generic-folder-commit): Use it.
747 (elmo-folder-synchronize): Ditto.
749 * elmo-pipe.el (elmo-folder-set-message-modified): Define.
750 (elmo-folder-commit): Remove duplicate definition.
752 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
754 * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
756 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
758 * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
759 (elmo-strict-folder-diff): Ditto.
760 (elmo-folder-set-info-max-by-numdb): Simplify.
762 * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
763 elmo-msgdb-list-messages.
765 * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
766 (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
768 2003-08-02 Yuuichi Teranishi <teranisi@gohome.org>
770 * elmo.el (elmo-folder-list-messages): Treat killed-list only when
771 visible-only is non-nil.
772 (elmo-folder-confirm-appends): Changed message.
773 (elmo-folder-synchronize): Added argument disable-killed.
775 * elmo-multi.el (elmo-folder-synchronize): Added argument
778 * elmo-pipe.el (elmo-folder-synchronize): Ditto.
780 * elmo-version.el (elmo-version): Up to 2.11.5.
782 * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
785 * elmo-util.el (elmo-list-filter): Simplify.
787 * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
788 (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
789 (elmo-generic-folder-diff): Abolish argument.
790 (elmo-msgdb-load): Don't use number-alist.
792 * elmo-filter.el (elmo-folder-diff): Abolish argument.
794 * elmo-pipe.el (elmo-folder-diff): Ditto.
796 * elmo-nmz.el (elmo-folder-diff): Ditto.
798 * elmo-net.el (elmo-folder-diff): Ditto.
800 * elmo-maildir.el (elmo-folder-diff): Ditto.
802 * elmo-imap4.el (elmo-folder-diff-async): Ditto.
804 * elmo-multi.el (elmo-folder-diff): Ditto
805 (elmo-multi-folder-diff): Rewrite.
807 2003-08-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
809 * elmo-pipe.el (elmo-folder-msgdb): Define.
811 2003-08-01 Yuuichi Teranishi <teranisi@gohome.org>
813 * elmo.el (elmo-message-set-cached): Define as a method.
815 * elmo-pipe.el (elmo-message-set-cached): Define.
816 (elmo-find-fetch-strategy): Ditto.
818 * elmo-multi.el (elmo-message-set-cached): Define.
819 (elmo-find-fetch-strategy): Rewrite.
821 * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
823 * elmo-pipe.el (elmo-message-folder): Fixed definition.
825 2003-07-30 Yuuichi Teranishi <teranisi@gohome.org>
827 * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
828 instead of number-alist.
830 * elmo-localdir.el (elmo-folder-append-messages): Don't refer
831 mark nor message-id when msgdb of source folder is not loaded.
833 * elmo.el (elmo-generic-folder-append-messages): Ditto.
835 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
837 2003-07-29 Yuuichi Teranishi <teranisi@gohome.org>
839 * elmo.el (elmo-folder-length): Don't require msgdb.
841 2003-07-28 Yuuichi Teranishi <teranisi@gohome.org>
843 * elmo.el (elmo-message-mark): Cause an error when empty folder.
844 (elmo-message-field): Ditto.
846 * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
847 (elmo-map-folder-list-message-locations): Setup `answered-locations'
849 (elmo-map-folder-list-answereds): Define.
850 (elmo-maildir-list-location): Treat 'R' info.
851 (elmo-folder-msgdb-create): Treat flag-table.
852 (elmo-folder-append-messages): Save flag-table.
854 2002-05-05 David Smith <ultrasoul@ultrasoul.com>
856 * elmo-imap4.el (elmo-imap4-folder-diff-plugged):
857 Use SELECT when elmo-imap4-use-select-to-update-status is t.
859 2003-07-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
861 * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
863 * elmo-localdir.el (elmo-folder-append-messages): Set flag as
864 'read when mark is null.
866 2003-07-24 Yuuichi Teranishi <teranisi@gohome.org>
868 * elmo-version.el (elmo-version): Up to 2.11.4.
870 2003-07-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
872 * elmo-pipe.el (elmo-folder-unmark-answered): Define.
873 (elmo-folder-mark-as-answered): Ditto.
875 2003-07-22 Yuuichi Teranishi <teranisi@gohome.org>
877 * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
878 (elmo-pop3-get-session): Make msgdb directory after session.
879 (elmo-folder-exists-p): Check exactly at the first time even when the
880 elmo-pop3-exists-exactly is nil.
882 * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
883 (elmo-folder-list-messages): Define instead of
884 elmo-folder-list-messages-internal.
885 (elmo-folder-check): Check destination folder.
886 (elmo-folder-synchronize): Drain the pipe.
888 * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
889 when msgdb is not loaded.
891 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
893 * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
894 (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
897 * elmo.el (elmo-folder-kill-messages-before): New function.
898 (elmo-folder-kill-messages): Ditto.
899 (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
901 * elmo-imap4.el (elmo-folder-list-messages-plugged):
902 Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
903 killed not by synchronize (e.g. scoring).
905 2003-07-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
907 * elmo.el (elmo-folder-search-fast): Return t if condition is not
909 (elmo-folder-search): Follow the change above.
911 * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
912 into the candidates of search field.
914 2003-07-21 Yuuichi Teranishi <teranisi@gohome.org>
916 * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
917 (elmo-msgdb-unset-flag): Ditto.
919 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
921 2003-07-19 Yuuichi Teranishi <teranisi@gohome.org>
923 * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
924 (elmo-folder-commit): Define.
925 (elmo-folder-synchronize): Ditto.
926 (elmo-folder-list-flagged): Ditto.
927 (elmo-folder-commit): Ditto.
928 (elmo-folder-length): Ditto.
929 (elmo-folder-count-flags): Ditto.
930 (elmo-message-mark): Ditto.
931 (elmo-message-field): Ditto.
932 (elmo-message-entity): Ditto.
933 (elmo-message-folder): Ditto.
935 2003-07-18 Yuuichi Teranishi <teranisi@gohome.org>
937 * elmo.el (elmo-message-field): Define as a method.
939 * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
940 (elmo-message-field): Define.
942 * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
943 (elmo-folder-list-importants): Ditto.
944 (elmo-folder-list-answereds): Ditto.
946 * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
948 (elmo-folder-mark-as-read): Ditto.
949 (elmo-folder-unmark-read): Ditto.
950 (elmo-folder-mark-as-answered): Ditto.
951 (elmo-folder-unmark-answered): Ditto.
952 (elmo-folder-list-flagged): Define.
953 (elmo-folder-commit): Ditto.
954 (elmo-folder-length): Ditto.
955 (elmo-folder-count-flags): Ditto.
957 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
959 * elmo.el (elmo-folder-detach-messages): New method.
960 (elmo-folder-move-messages): Use it.
961 (elmo-folder-synchronize): Ditto.
963 * elmo-multi.el (elmo-folder-detach-messages): Define.
965 * elmo.el (elmo-message-copy-entity): New function.
966 (elmo-message-entity-set-number): Ditto.
967 (elmo-message-mark): Define as method.
969 * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
970 (elmo-folder-synchronize): Return 0 (Should be reconsider).
971 (elmo-message-entity): Fixed last change.
972 (elmo-message-mark): Define.
973 (elmo-folder-msgdb-create): Abolish.
974 (elmo-multi-folder-append-msgdb): Ditto.
975 (elmo-multi-folder-diff): Fixed.
976 (elmo-multi-split-number-alist): Removed.
977 (elmo-multi-split-mark-alist): Removed.
978 (elmo-folder-list-messages): Define.
979 (elmo-folder-list-messages-internal): Removed.
981 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
983 (elmo-folder-msgdb-create): Fixed read mark.
985 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
987 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
990 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
992 * elmo.el (elmo-folder-list-message-entities): Define as inline
994 (elmo-folder-messages): Abolish.
996 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
998 (elmo-folder-synchronize): Define.
999 (elmo-message-entity): Define.
1001 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
1003 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
1004 elmo-imap4-session-select-mailbox.
1006 * elmo.el (elmo-folder-move-messages): Don't display any message.
1008 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
1010 (elmo-imap4-session-check): Don't wait CHECK response.
1011 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
1013 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
1015 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
1017 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
1019 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
1021 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
1024 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
1025 (elmo-folder-list-message-entities): Added argument in-msgdb and
1027 (elmo-folder-synchronize): Define as a method.
1029 * elmo-nntp.el (elmo-folder-initialize): Don't use
1030 elmo-nntp-default-user if zero-length username is specified
1033 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
1035 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
1036 server name in case with username.
1037 (XXX: this is ad-hoc fix against username includes "@", it
1038 should be solved fundamentally)
1040 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
1042 * elmo-nntp.el (elmo-nntp-debug): New function.
1043 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
1044 (elmo-network-authenticate-session): Hide auth-info from the log.
1046 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
1047 user name if it is equal to elmo-nntp-default-user.
1049 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
1051 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
1052 instead of shimbun-server-internal;
1053 Use shimbun-current-group instead of shimbun-current-group-internal.
1054 (elmo-folder-plugged-p): Use shimbun-server instead of
1055 shimbun-server-internal.
1056 (elmo-folder-set-plugged): Ditto.
1057 (elmo-net-port-info): Ditto.
1058 (elmo-folder-check): Ditto.
1059 (elmo-folder-expand-msgdb-path): Ditto.
1060 (elmo-folder-list-subfolders): Ditto.
1062 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
1064 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
1065 Convert field-name to lower case.
1066 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
1068 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
1070 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
1071 `message' and `error' take format string.
1073 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1075 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
1077 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1079 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
1080 recursive call (can't byte compile on emacs 20.7).
1082 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
1084 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
1085 (elmo-folder-list-message-entities): New API.
1086 (elmo-message-entity): Ditto.
1087 (elmo-message-entity-parent): Ditto.
1088 (elmo-folder-do-each-message-entity): Ditto.
1089 (elmo-message-entity-number): Ditto.
1090 (elmo-message-entity-field): Ditto.
1091 (elmo-message-entity-set-field): Ditto.
1092 (elmo-folder-count-flags): Ditto.
1093 (elmo-folder-length): Ditto.
1095 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
1098 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
1099 (elmo-msgdb-count-marks): Abolish.
1100 (elmo-msgdb-make-entity): Ditto.
1101 (elmo-msgdb-do-each-entity): Ditto.
1102 (elmo-msgdb-message-entity): New inline function.
1103 (elmo-msgdb-message-entity-field): Ditto.
1104 (elmo-msgdb-message-entity-set-field): Ditto.
1105 (elmo-msgdb-make-message-entity): New function.
1107 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
1109 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
1110 to flag. (All other related portions are changed.)
1111 (elmo-folder-msgdb-create): Likewise.
1112 (elmo-generic-folder-append-messages): Use flag-table instead of
1114 (elmo-folder-move-messages): Removed redundant process.
1115 (elmo-folder-synchronize): Likewise.
1117 * elmo-msgdb.el (elmo-flag-table-get): New function.
1118 (elmo-flag-table-save): Fixed.
1119 (elmo-msgdb-length): New inline function.
1120 (elmo-msgdb-flag-table): New function.
1121 (elmo-msgdb-mark): Add optional argument new.
1122 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
1123 (elmo-msgdb-seen-list): Ditto.
1124 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
1127 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
1129 * elmo.el (elmo-message-set-mark): Abolish.
1130 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
1131 (All related portions are changed.)
1133 * elmo-msgdb.el (toplevel): Added comment.
1134 (elmo-load-msgdb): Added 4th element `path'.
1135 (elmo-msgdb-append): Follow the change above.
1136 (elmo-msgdb-clear): Ditto.
1137 (elmo-msgdb-delete-msgs): Ditto.
1138 (elmo-msgdb-get-path): New inline function.
1139 (elmo-msgdb-set-path): Ditto.
1140 (elmo-flag-table-filename): New variable.
1141 (elmo-flag-table-load): New function.
1142 (elmo-flag-table-set): Ditto.
1143 (elmo-flag-table-save): Ditto.
1144 (elmo-msgdb-get-field-value): Abolish.
1145 (elmo-msgdb-overview-get-entity-by-number): Ditto.
1147 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
1149 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
1150 the folder has been deleted successfully.
1151 * elmo-imap4.el (elmo-folder-delete): Ditto.
1152 * elmo-archive.el (elmo-folder-delete): Ditto.
1153 * elmo-localdir.el (elmo-folder-delete): Ditto.
1154 * elmo-maildir.el (elmo-folder-delete): Ditto.
1156 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
1158 * elmo-util.el (elmo-string-member-ignore-case): New function.
1159 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
1160 (elmo-imap4-fetch-callback-1-subr): Likewise.
1162 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
1164 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
1165 the case of the name attribute "\Noselect".
1167 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1169 * elmo.el (elmo-folder-rename-internal): New method to cause error.
1171 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
1172 flist, is not always a member of onum-alist.
1174 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1176 * elmo-version.el (elmo-version): Up to 2.11.3.
1178 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1180 * elmo-maildir.el (elmo-folder-rename-internal): New method,
1181 copied from localdir's one.
1183 * elmo-pipe.el (elmo-folder-rename): New method, rename
1184 destination folder with leaving source folder as it is.
1186 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
1188 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
1191 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1193 * elmo-version.el (elmo-version): Up to 2.11.2.
1195 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1197 * elmo-shimbun.el (elmo-folder-initialize): Do not call
1198 shimbun-open in case of "@".
1199 (elmo-folder-open-internal): Cope with shimbun = nil case.
1200 (elmo-folder-plugged-p): Ditto.
1201 (elmo-folder-list-subfolders): Make list for "@/" group.
1203 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1205 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
1206 mailbox (e.g. for %~/something).
1208 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
1210 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
1211 Replace nested conditional with guard clauses.
1213 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
1215 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
1218 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
1221 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
1223 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
1224 Replace nested conditional with guard clauses.
1226 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1228 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
1229 (elmo-passwd-alist-save): Ditto.
1230 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
1232 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1234 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
1235 dir-name only if it is absolute path.
1236 (TODO: distinguish +/something and +something)
1238 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1240 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
1241 path for "+~/something".
1243 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1245 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
1246 as non-directory, cause error before rename-file.
1247 * elmo-archive.el (elmo-folder-rename-internal): Create directory
1248 apropriately, mimic localdir's one.
1249 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
1251 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
1253 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
1255 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
1257 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
1259 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
1261 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
1262 is included in the global-mark or not.
1264 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1266 * utf7.el (toplevel): Avoid error when the function
1267 find-coding-system does not exist.
1269 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1271 * elmo-nntp.el (elmo-folder-search): Body search is to search from
1272 cache even if the folder is plugged.
1273 (elmo-nntp-search-primitive): Do nothing when body search is
1274 invoked (although it is not used by the change above).
1275 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
1277 2002-12-20 Kenichi OKADA <okada@opaopa.org>
1279 * elmo-version.el (elmo-version): Up to 2.11.1.
1281 2002-12-10 Kenichi OKADA <okada@opaopa.org>
1283 * elmo-archive.el: Specify charset.
1285 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
1287 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
1288 process buffer lives or not.
1290 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
1291 while flushing queues (It causes infinite loop).
1293 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
1295 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
1297 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
1299 * utf7.el (toplevel): Check the ucs features dynamically.
1300 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
1302 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
1303 folder is creatabe or not if it already exists.
1305 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
1307 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
1309 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
1311 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
1312 (elmo-imap4-read-response): Take care of garbage response.
1314 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1316 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
1317 just return nil instead of error.
1319 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1321 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
1322 search-key is "body".
1324 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
1326 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
1327 of elmo-string-matched-assoc to use match-data.
1328 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
1330 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1332 * elmo-split.el (elmo-split->): New function.
1333 (elmo-split-<): Ditto.
1335 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
1337 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
1338 workaround for invalid message-id.
1340 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
1342 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
1343 return normal pop3 session or pop3 biff session.
1345 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
1347 * elmo-maildir.el (elmo-maildir-update-current): Don't append
1348 info part to the cur files when the new files already have it.
1349 (Adviced by Jared Rhine <jared@wordzoo.com>)
1351 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1353 * elmo-split.el (elmo-split-default-action): New variable.
1354 (elmo-split-subr): Use it if all other conditions are passed.
1355 Extend `fname' and rename it as `action'. (implemented
1356 Teranishi-san's idea in [wl:10800])
1358 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1360 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
1361 * elmo-util.el: Ditto.
1363 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
1365 * elmo.el (elmo-message-accessible-p): Renamed from
1366 elmo-message-cached-p and rewritten.
1368 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
1370 * elmo.el (elmo-folder-list-flagged): New generic function.
1371 (elmo-folder-list-importants): New implementation.
1372 (elmo-folder-list-answereds): Ditto.
1373 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
1375 (elmo-message-cached-p): New function.
1376 (elmo-message-set-flag): Ditto (no content).
1377 (elmo-message-unset-flag): Ditto.
1378 (elmo-folder-list-messages-mark-match): Abolish.
1380 * elmo-util.el (elmo-regexp-opt): New function.
1382 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
1383 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
1385 (elmo-msgdb-list-flagged): New function.
1387 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
1388 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
1391 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
1393 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
1395 * elmo-version.el (elmo-version): Up to 2.11.0.
1397 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1399 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
1400 `elmo-file-cache-exists-p'; use proper mark that depends on
1402 (elmo-msgdb-unset-flag): Ditto.
1403 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
1405 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
1406 with 4th argument `use-cache'.
1408 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
1410 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
1411 (elmo-folder-mark-as-important): Ditto.
1412 (elmo-folder-unmark-read): Ditto.
1413 (elmo-folder-mark-as-read): Ditto.
1414 (elmo-folder-unmark-answered): Ditto.
1415 (elmo-folder-mark-as-answered): Ditto.
1417 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
1419 (elmo-msgdb-mark): Likewise.
1420 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
1421 (elmo-msgdb-unset-flag): Likewise.
1423 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
1425 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1427 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
1430 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1432 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
1433 set spool-length to 0.
1435 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1437 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
1438 (elmo-dop-queue-flush): Fixed last change.
1440 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1442 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
1443 if require-msgdb slot is nil.
1444 (elmo-folder-list-importants): Likewise.
1446 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1448 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
1451 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
1452 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
1455 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
1457 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
1459 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
1461 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
1463 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
1465 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1467 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
1468 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
1470 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1472 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
1473 the problem reported by Sean Rima [wl-en:180].
1475 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
1477 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
1479 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
1481 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
1483 * elmo-map.el (elmo-folder-unmark-read): Ditto.
1485 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
1487 * elmo-net.el (elmo-folder-unmark-read): Ditto.
1489 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
1491 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
1493 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
1496 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
1498 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
1499 (elmo-folder-mark-as-read): Follow the API change.
1500 (elmo-message-set-cached): New function.
1502 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
1504 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
1506 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
1507 (elmo-folder-mark-as-important): Ditto.
1508 (elmo-folder-unmark-read): Ditto.
1509 (elmo-folder-mark-as-read): Ditto.
1510 (elmo-folder-unmark-answered): Ditto.
1511 (elmo-folder-mark-as-answered): Ditto.
1513 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
1514 (elmo-folder-unmark-important): Ditto.
1515 (elmo-folder-mark-as-read): Ditto.
1516 (elmo-folder-unmark-read): Ditto.
1517 (elmo-folder-mark-as-answered): Ditto.
1518 (elmo-folder-unmark-answered): Ditto.
1520 * elmo-mark.el (toplevel): Removed some mark method definitions.
1522 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
1523 (elmo-map-folder-mark-as-answered): Ditto.
1524 (elmo-folder-unmark-important): Add :before qualifier.
1525 (elmo-folder-mark-as-important): Ditto.
1526 (elmo-folder-unmark-read): Ditto.
1527 (elmo-folder-mark-as-read): Ditto.
1528 (elmo-folder-unmark-answered): Define.
1529 (elmo-folder-mark-as-answered): Ditto.
1531 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
1532 (elmo-map-folder-unmark-answered): Ditto.
1534 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
1536 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
1537 (elmo-folder-mark-as-important): Ditto.
1538 (elmo-folder-unmark-read): Ditto.
1539 (elmo-folder-mark-as-read): Ditto.
1540 (elmo-folder-unmark-answered): Ditto.
1541 (elmo-folder-mark-as-answered): Ditto.
1543 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
1544 `mark'; evaluate mark condition.
1545 (elmo-msgdb-match-condition-internal): New function.
1546 (elmo-msgdb-match-condition): Call it; changed argument.
1548 * elmo.el (elmo-folder-search): Follow the API change on
1549 `elmo-msgdb-match-condition'.
1551 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1553 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
1554 original mark is non-nil.
1556 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
1558 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
1559 (elmo-map-folder-list-answereds): New method.
1560 (elmo-folder-list-unreads): Add :around qualifier.
1561 (elmo-folder-list-importants): Ditto.
1562 (elmo-folder-list-answereds): Ditto.
1564 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
1566 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
1568 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
1569 method if msgdb is not required.
1570 (elmo-filter-folder-list-importants): Don't treat global-mark.
1572 * elmo.el (elmo-folder-list-importants): Ditto.
1574 * elmo-net.el (elmo-folder-list-importants): Ditto.
1576 * elmo-map.el (elmo-folder-list-importants): Ditto.
1578 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
1580 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
1581 (elmo-imap4-folder-list-any-plugged): New function.
1582 (elmo-imap4-search-internal-primitive): Use it.
1584 * elmo-filter.el (elmo-folder-check): Synchronize original folder
1585 only when require-msgdb slot is non-nil.
1586 (elmo-folder-close): Clear target folder's msgdb.
1588 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
1590 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
1591 (elmo-pop3-msgdb-create-by-header): Ditto.
1592 (elmo-pop3-msgdb-create-message): Ditto.
1594 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
1596 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
1598 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
1600 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
1601 (elmo-folder-msgdb-create): Ditto.
1602 (elmo-nntp-folder-msgdb-create): Ditto.
1603 (elmo-nntp-msgdb-create-by-header): Ditto.
1604 (elmo-nntp-msgdb-create-message): Ditto.
1605 (elmo-folder-list-unreads): Define.
1607 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
1608 (elmo-folder-append-messages): Ditto.
1609 (elmo-folder-list-unreads): Define.
1610 (elmo-folder-list-importants): Ditto.
1611 (elmo-folder-list-answereds): Ditto.
1613 * elmo-net.el (elmo-folder-list-unreads): Define.
1614 (elmo-folder-list-importants): Ditto.
1615 (elmo-folder-list-answereds): Ditto.
1616 (elmo-folder-list-answereds-plugged): Ditto.
1617 (elmo-folder-msgdb-create): Follow the API change.
1618 (elmo-folder-msgdb-create-unplugged): Ditto.
1619 (elmo-folder-unmark-answered): Define.
1620 (elmo-folder-mark-as-answered-unplugged): Ditto.
1621 (elmo-folder-unmark-answered-unplugged): Ditto.
1623 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
1624 (elmo-msgdb-unread-uncached-mark): Ditto.
1625 (elmo-msgdb-unread-cached-mark): Ditto.
1626 (elmo-msgdb-read-uncached-mark): Ditto.
1627 (elmo-msgdb-answered-cached-mark): Ditto.
1628 (elmo-msgdb-answered-uncached-mark): Ditto.
1629 (elmo-msgdb-important-mark): Ditto.
1630 (elmo-msgdb-set-mark): Rewrite.
1631 (elmo-msgdb-count-marks): Rewrite.
1632 (elmo-msgdb-mark-alist-set): Abolish.
1633 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
1634 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
1636 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
1637 (elmo-folder-close): Define.
1638 (elmo-folder-msgdb-create): Follow the API change.
1639 (elmo-folder-list-unreads): Rewrite.
1640 (elmo-folder-mark-as-important): Ditto.
1641 (elmo-folder-unmark-important): Ditto.
1642 (elmo-folder-mark-as-read): Ditto.
1643 (elmo-folder-unmark-read): Ditto.
1644 (elmo-folder-mark-as-answered): Define.
1645 (elmo-folder-unmark-answered): Ditto.
1647 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
1648 (elmo-folder-append-messages): Ditto.
1650 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
1652 * elmo-map.el (elmo-folder-list-unreads): Ditto.
1653 (elmo-folder-list-importants): Ditto.
1655 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
1656 (elmo-folder-append-messages): Ditto.
1658 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
1660 (elmo-folder-msgdb-create-plugged): Ditto.
1661 (elmo-folder-append-messages): Ditto.
1662 (elmo-folder-list-answereds-plugged): Define.
1663 (elmo-imap4-search-internal-primitive): Add `mark' processing.
1664 (elmo-folder-unmark-answered-plugged): Define.
1665 (elmo-folder-mark-as-answered-plugged): Ditto.
1666 (elmo-folder-search-requires-msgdb-p): Ditto.
1668 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
1669 (elmo-folder-initialize): Set it.
1670 (elmo-folder-msgdb): Define.
1671 (elmo-folder-check): Call elmo-folder-synchronize.
1672 (elmo-folder-close): Define.
1673 (elmo-folder-commit): Ditto.
1674 (elmo-folder-msgdb-create): Rewrite.
1675 (elmo-folder-list-unreads): Ditto.
1676 (elmo-folder-list-importants): Ditto.
1677 (elmo-folder-mark-as-read): Ditto.
1678 (elmo-folder-unmark-read): Ditto.
1679 (elmo-folder-mark-as-important): Ditto.
1680 (elmo-folder-unmark-important): Ditto.
1681 (elmo-folder-mark-as-answered): Define.
1682 (elmo-folder-unmark-answered): Ditto.
1684 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
1685 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
1686 (elmo-dop-queue-method-name-alist): Likewise.
1687 (elmo-folder-mark-as-answered-dop): New inline function.
1688 (elmo-folder-unmark-answered-dop): Ditto.
1689 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
1691 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
1692 (elmo-folder-msgdb-create): Ditto.
1693 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
1694 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
1695 (elmo-archive-parse-mmdf): Ditto.
1697 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
1698 (elmo-folder-list-unreads-internal): Ditto.
1700 * elmo.el (elmo-folder-msgdb): Define as generic function.
1701 (elmo-folder-list-messages): Added argument `in-msgdb'.
1702 (elmo-folder-list-unreads): Define as generic function.
1703 (elmo-folder-list-importants): Ditto.
1704 (elmo-folder-list-answereds): Ditto.
1705 (elmo-folder-list-messages-with-global-mark): New function.
1706 (elmo-folder-msgdb-create): Removed mark arguments.
1707 (elmo-folder-unmark-answered): New generic function.
1708 (elmo-folder-mark-as-answered): Ditto.
1709 (elmo-folder-append-messages): Removed argunment `unread-marks'
1710 (elmo-folder-list-unreads-internal): Abolish.
1711 (elmo-folder-list-importants-internal): Ditto.
1712 (elmo-folder-search-requires-msgdb-p): New generic function.
1713 (elmo-folder-search-requires-msgdb-p-internal): New function.
1714 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
1716 (elmo-folder-search-fast): Added key 'mark'.
1717 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
1718 instead of unread-marks argument.
1719 (elmo-folder-move-messages): Removed argunment `unread-marks'
1720 (elmo-folder-unmark-important): Define.
1721 (elmo-folder-mark-as-important): Ditto.
1722 (elmo-folder-unmark-read): Ditto.
1723 (elmo-folder-mark-as-read): Ditto.
1724 (elmo-folder-unmark-answered): Ditto.
1725 (elmo-folder-mark-as-answered): Ditto.
1726 (elmo-folder-replace-marks): Abolish.
1727 (elmo-generic-folder-append-msgdb): Append msgdb before checking
1729 (elmo-folder-synchronize): Removed mark arguments;
1730 return crosspost only number.
1732 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1734 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
1735 Remove redundunt connectivity check.
1737 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1739 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
1740 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
1742 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
1744 * pldap.el (ldap-decode-string): Return string as-is if
1745 `ldap-coding-system' is nil.
1746 (ldap-encode-string): Ditto.
1747 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
1748 (ldap-default-host): Fixed docstring.
1750 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
1752 * elmo-util.el (elmo-warning): Define as a macro which uses
1753 `display-warning' if it is defined as a function.
1755 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
1756 (elmo-split-equal): Use it.
1757 (elmo-split-match): Ditto.
1758 (elmo-split-message-entity): New buffer-local variable.
1759 (elmo-split-subr): Set it.
1761 * elmo-version.el (elmo-version): Up to 2.9.15.
1763 2002-08-18 Kenichi OKADA <okada@opaopa.org>
1765 * elmo-imap4.el (elmo-network-initialize-session):
1766 Check capability after starttls.
1768 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
1770 * elmo-util.el (elmo-list-delete): Added optional argument
1773 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
1775 * elmo-util.el (elmo-warning): Ignore errors while recenter.
1777 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
1779 * elmo-imap4.el (elmo-folder-initialize): Don't use
1780 elmo-imap4-default-mailbox.
1782 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
1784 * elmo-split.el (toplevel): Use `product-provide'.
1785 (elmo-split): Checkdoc.
1787 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
1789 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
1790 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
1791 the function `elmo-imap4-debug-1'.
1793 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1795 * elmo-split.el (elmo-split): Moved to run hooks and to show
1796 message from elmo-split-subr.
1797 (elmo-split-subr): Follow the change above.
1799 * elmo-split.el (elmo-split-subr): New function (renamed from
1801 (elmo-split): Changed to call elmo-split-subr by element of
1803 (elmo-split-folder): Changed customization type to choice.
1805 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1807 * elmo-split.el (elmo-split-and): Fixed condition.
1809 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
1811 * elmo-split.el: New file.
1812 (elmo-split): Fixed logic.
1813 Display "Test:" instead of "Folder:" when reharsal.
1815 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
1818 * elmo-version.el (elmo-version): Up to 2.9.14.
1820 * elmo-util.el (elmo-expand-newtext): New function (renamed from
1823 2002-06-10 Kenichi Sato <ksato@sonycom.com>
1825 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
1826 message with no message-id field.
1828 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
1830 * elmo-version.el (elmo-version): Up to 2.9.13.
1832 * elmo-dop.el (elmo-folder-status-dop): Fix.
1834 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
1836 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
1838 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
1839 changing default value of default-mime-charset.
1840 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
1842 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
1844 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
1845 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
1846 instead of elmo-dop-queue-method-name-alist to check merging queue.
1847 (elmo-folder-delete-messages-dop): Delete from queue if negative
1849 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
1850 file is already removed.
1852 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
1854 * elmo-vars.el: Bind colon keywords for old Emacsen.
1856 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1858 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
1859 against non-exsisting charset.
1861 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
1863 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
1864 Use eword-decode-and-unfold-unstructured-field-body.
1866 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
1867 (elmo-msgdb-create-overview-from-buffer): Use document charset if
1868 exists to decode raw subject string.
1869 (toplevel): Require 'mime.
1871 * elmo-version.el (elmo-version): Up to 2.9.12.
1873 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
1875 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
1876 (elmo-msgdb-set-mark): Ditto.
1878 * elmo-version.el (elmo-version): Up to 2.9.11.
1880 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
1882 * elmo-util.el (elmo-delete-match-files): New function.
1884 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
1885 instead of elmo-delete-directory.
1887 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
1888 elmo-hash-minimun-size as 63.
1890 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
1891 elmo-diff-unread is nil.
1893 * elmo-imap4.el (elmo-folder-open): Fix.
1895 * elmo.el (elmo-message-mark): Rewrite.
1896 (elmo-message-field): Ditto.
1897 (elmo-message-set-mark): Ditto.
1898 (elmo-folder-replace-marks): New function.
1899 (elmo-generic-folder-append-msgdb): Removed third argument for
1901 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
1902 (elmo-msgdb-load): New implementation.
1904 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
1906 * elmo-util.el (elmo-list-insert): New implementation.
1908 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
1909 argument for elmo-msgdb-append.
1912 * elmo-msgdb.el (elmo-load-msgdb): New function.
1913 (elmo-make-msgdb): Ditto.
1914 (elmo-msgdb-get-index): New inline function.
1915 (elmo-msgdb-set-index): Ditto.
1916 (elmo-msgdb-get-entity-hashtb): Ditto.
1917 (elmo-msgdb-get-mark-hashtb): Ditto.
1918 (elmo-msgdb-get-mark): Ditto.
1919 (elmo-msgdb-set-mark): Ditto.
1920 (elmo-msgdb-count-marks): Ditto.
1921 (elmo-msgdb-get-number): Ditto.
1922 (elmo-msgdb-get-field): Ditto.
1923 (elmo-msgdb-seen-list): Ditto.
1924 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
1925 (elmo-msgdb-delete-msgs): Follow the changes above.
1926 (elmo-msgdb-overview-get-entity): Ditto.
1927 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
1928 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
1930 (elmo-msgdb-make-index): Likewise.
1931 (elmo-msgdb-append): Removed third argument.
1932 (elmo-msgdb-clear): Clear index as nil.
1933 (elmo-folder-set-info-hashtb): Removed.
1934 (elmo-folder-set-info-max-by-numdb): Ditto.
1935 (elmo-folder-info-make-hashtb): Ditto.
1937 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
1939 * elmo-map.el (elmo-folder-pack-number): Ditto.
1941 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
1943 * elmo-version.el (elmo-version): Up to 2.9.10.
1945 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
1947 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
1949 2002-04-26 Kenichi OKADA <okada@opaopa.org>
1951 * elmo-utils.el (elmo-make-directory): Add option.
1952 Default file mode is 700.
1954 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1956 * elmo-shimbun.el (elmo-folder-local-p): Defined.
1958 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
1960 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
1963 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
1966 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1968 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
1969 (elmo-shimbun-folder-entity-hash): New function.
1970 (elmo-shimbun-folder-shimbun-header): Ditto.
1971 (elmo-shimbun-entity-to-header): Ditto.
1972 (elmo-shimbun-msgdb-to-headers): Removed.
1973 (elmo-shimbun-folder-setup): Ditto.
1974 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
1976 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
1977 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
1978 Removed useless local bind.
1979 (elmo-folder-open-internal): Don't call
1980 `elmo-shimbun-folder-setup'.
1981 (elmo-folder-close-internal): Clear entity-hash slot.
1982 (elmo-folder-clear): Ditto.
1983 (elmo-shimbun-msgdb-create-entity): Use
1984 `elmo-shimbun-folder-shimbun-header'.
1985 (elmo-map-message-fetch): Ditto.
1986 (elmo-shimbun-update-overview): Use overview entity instead of
1987 shimbun header to lookup id by references.
1988 (elmo-map-folder-list-message-locations): Use not only headers but
1989 also overviews to list locations.
1991 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1993 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
1996 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
1998 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2000 * elmo-util.el (elmo-read-search-condition-internal): Give default
2003 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
2005 * elmo-util.el (elmo-condition-parse-search-value): Accept
2006 YYYY-MM-DD format to search.
2007 * elmo-date.el (elmo-date-get-datevec): Likewise.
2009 2002-04-04 Kenichi OKADA <okada@opaopa.org>
2011 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
2014 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2016 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
2019 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
2021 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
2022 case from `elmo-folder-exists-p'.
2023 (elmo-folder-exists-p): Removed.
2024 (elmo-folder-creatable-p) Ditto.
2026 * elmo-net.el (elmo-folder-create): Defined.
2027 (elmo-folder-create-unplugged): New function.
2028 (elmo-folder-exists-p): Changed default value to nil from t.
2030 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
2031 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
2033 * elmo-dop.el (elmo-folder-create-dop): Renamed from
2034 `elmo-create-folder-dop' and append queue
2035 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
2036 (elmo-folder-create-dop-delayed): New function.
2038 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
2040 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
2042 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
2043 (elmo-folder-writable-p) : Ditto.
2045 * elmo-version.el (elmo-version): Up to 2.9.9.
2047 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2049 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
2050 `elmo-message-use-cache-p' returns nil.
2051 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
2052 (ignore cache file and refer the substance in local folders)
2054 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2056 * elmo-version.el (elmo-version): Up to 2.9.8.
2058 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
2060 * elmo-version.el (elmo-version): Up to 2.9.7.
2062 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
2064 2002-02-18 Daiki Ueno <ueno@unixuser.org>
2066 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
2068 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
2070 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
2072 (elmo-map-folder-list-message-locations): Reverse location list.
2074 2002-02-01 Kenichi OKADA <okada@opaopa.org>
2076 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
2078 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
2080 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
2082 (elmo-nntp-folder-list-subfolders): Follow the change above.
2084 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
2086 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
2087 name if authentication type is specified.
2089 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
2091 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
2093 (elmo-default-nntp-stream-type): Ditto.
2094 (elmo-default-pop3-stream-type): Ditto.
2096 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
2098 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
2100 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2102 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
2104 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
2106 * elmo-vars.el (elmo-localnews-folder-path): Removed.
2107 (elmo-maildir-folder-path): Ditto.
2108 (elmo-maildir-list): Ditto (abolished).
2110 2002-01-23 Kenichi OKADA <okada@opaopa.org>
2112 * elmo-version.el (elmo-version): Up to 2.9.6.
2114 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2116 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
2117 (elmo-maildir-folder-path): Ditto.
2118 (elmo-msgdb-directory): Ditto.
2119 (elmo-passwd-life-time): Ditto.
2120 (elmo-msgdb-extra-fields): Ditto.
2121 (elmo-enable-disconnected-operation): Ditto.
2123 2002-01-22 Kenichi OKADA <okada@opaopa.org>
2125 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
2127 (elmo-pop3-default-authenticate-type): Ditto.
2129 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2131 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
2133 (elmo-pop3-default-authenticate-type): Ditto.
2135 2002-01-22 Kenichi OKADA <okada@opaopa.org>
2137 * elmo-imap4.el (elmo-folder-rename-internal): Change current
2138 mailbox to new-folder.
2140 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
2142 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
2143 less than new, set new as unread.
2145 * elmo-util.el (elmo-string): Don't put text-property if nil.
2147 2002-01-21 Kenichi OKADA <okada@opaopa.org>
2149 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
2150 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
2152 2002-01-21 Kenichi OKADA <okada@opaopa.org>
2154 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
2155 is nil on `completing-read'.
2157 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
2159 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
2161 (elmo-imap4-parse-namespace-subr): Ditto.
2162 (elmo-folder-list-subfolders): Append a delimiter when the specified
2163 folder path is a root with namespace and does not end with delimiter.
2165 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2167 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
2170 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2172 * elmo-util.el (elmo-save-buffer): The first argument of message
2173 is a format control string.
2175 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2177 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
2178 `elmo-folder-diff').
2179 (elmo-diff-unread): Likewise.
2181 2002-01-19 Kenichi OKADA <okada@opaopa.org>
2183 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
2184 is t on `completing-read'.
2186 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2188 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
2189 method of target folder with self mark-alist if MARK-ALIST is nil.
2191 2002-01-19 Kenichi OKADA <okada@opaopa.org>
2193 * elmo-version.el (elmo-version): Up to 2.9.5.
2195 2002-01-17 Kenichi OKADA <okada@opaopa.org>
2197 * elmo-dop.el (elmo-dop-queue-merge): Implement.
2198 (elmo-dop-merge-funcs): Remove.
2200 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2202 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
2203 Return t if PATH is directory, too.
2204 Use `dolist' instead of while loop.
2206 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2208 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
2211 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2213 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
2215 (elmo-folder-list-messages-unplugged): Return t if
2216 elmo-enable-disconnected-operation is nil.
2218 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
2219 `elmo-folder-list-messages-internal'.
2221 2002-01-07 Kenichi OKADA <okada@opaopa.org>
2223 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
2224 Change to looking-at `[23][0-9]+'.
2225 (elmo-network-initialize-session): Use 'error-msg'
2226 * elmo-net.el (elmo-network-open-session): Set unplugged
2227 if elmo-network-initialize-session returns 'elmo-open-err.
2229 2002-01-07 Kenichi OKADA <okada@opaopa.org>
2231 * elmo-version.el (elmo-version): Up to 2.9.4.
2233 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
2235 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
2236 `elmo-folder-list-messages-internal'.
2238 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2240 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
2241 (elmo-message-match-condition): New method.
2242 (elmo-folder-search-fast): New inline function.
2243 (elmo-msgdb-search): Removed.
2245 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
2246 target folder if it is unplugged.
2247 (elmo-folder-list-messages-internal): Return t if target folder is
2248 unplugged and itself is persistent; In this case, use list be
2251 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
2252 (elmo-msgdb-search-internal-primitive): Ditto.
2253 (elmo-msgdb-match-condition): New function.
2254 (elmo-msgdb-match-condition-primitive): Ditto.
2256 * elmo-util.el (elmo-filter-condition-p): New macro.
2258 * elmo-cache.el (elmo-folder-search): Removed.
2260 * elmo-localdir.el (elmo-folder-search): Ditto.
2262 * elmo-maildir.el (elmo-folder-search): Ditto.
2264 * elmo-mark.el (elmo-folder-search): Ditto.
2266 * elmo-nmz.el (elmo-folder-search): Ditto.
2268 * elmo-sendlog.el (elmo-folder-search): Ditto.
2270 * elmo-shimbun.el (elmo-folder-search): Ditto.
2272 * elmo-imap4.el (elmo-folder-search): Call method of parent class
2273 if folder is unplugged.
2275 * elmo-nntp.el (elmo-folder-search): Likewise.
2276 (elmo-nntp-search-internal): New function.
2278 * elmo-version.el (elmo-version): Up to 2.9.3.
2280 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2282 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
2284 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
2286 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
2288 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
2290 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
2292 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
2294 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
2295 (elmo-map-folder-list-message-locations): Do drive letter conversion
2296 on Windows environment.
2297 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
2298 (elmo-map-message-fetch): Ditto.
2300 2001-12-27 Kenichi OKADA <okada@opaopa.org>
2302 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
2303 (elmo-network-initialize-session): Ditto.
2305 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
2307 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
2309 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2311 * elmo-util.el (elmo-progress-clear): Ditto.
2313 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
2314 `DD-Mon-YYYY' type date.
2316 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2318 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2319 `elmo-date-make-sortable-string' instead of
2320 `timezone-make-date-sortable'.
2322 * elmo-date.el (elmo-date-make-sortable-string): Use
2323 `timezone-make-time-string'.
2325 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
2327 * elmo.el (elmo-folder-synchronize): Delete important messages too.
2329 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
2330 `since'; Fix timezone.
2332 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
2334 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
2336 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2338 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
2340 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2342 * elmo.el (elmo-generic-folder-append-messages): Make
2343 fetch-strategy with `use-cache' as 'maybe. Check return value of
2344 `elmo-message-fetch'.
2345 (elmo-message-fetch): Return return value of
2346 `elmo-message-fetch-with-cache-process'.
2347 (elmo-message-fetch-with-cache-process): Return non-nil if
2348 fetching was succeed. Load cache when fetching was failed and
2349 fetch-strategy-use-cache is 'maybe.
2351 * elmo-util.el (elmo-file-cache-load): New function.
2353 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
2356 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
2357 non-nil if fetching was succeed.
2359 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
2361 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
2363 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
2364 (elmo-message-fetch-with-cache-process): Likwise.
2366 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
2368 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
2370 * elmo-version.el (elmo-version): Up to 2.9.2.
2372 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
2374 * elmo.el (elmo-folder-delete): Delete msgdb path.
2376 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
2378 * elmo-maildir.el (elmo-folder-delete): Ditto.
2380 * elmo-localdir.el (elmo-folder-delete): Ditto.
2382 * elmo-imap4.el (elmo-folder-delete): Ditto.
2384 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
2386 * elmo.el (luna-define-class): Added `biff' slot.
2388 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
2389 (elmo-pop3-debug-inhibit-logging): Abolished.
2390 (elmo-network-close-session): Eliminated needless let.
2391 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
2392 (elmo-pop3-send-command): Added `no-log' argument.
2393 (elmo-pop3-process-filter): Use `with-current-buffer'.
2394 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
2396 (elmo-pop3-auth-apop): Likewise.
2397 (elmo-network-authenticate-session): Likewise.
2399 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
2402 * elmo-net.el (elmo-network-session-password-key): Use class symbol
2403 string to determine protocol.
2404 (elmo-network-session-name-prefix): Abolished.
2405 (elmo-network-session-cache-key): Follow the change above.
2406 (elmo-network-open-session): Ditto.
2408 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
2409 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
2411 * elmo-version.el (elmo-version): Up to 2.9.1.
2413 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
2414 unmatch condition checking.
2416 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
2419 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2421 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
2423 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
2425 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
2426 test for while loop to execute at least one SEARCH command.
2428 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
2430 * elmo-version.el (elmo-version): Up to 2.9.0.
2432 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
2434 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
2435 (elmo-archive-folder-path): Define.
2436 (elmo-folder-initialize): Setup `dir-name' slot.
2437 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
2438 Use `dir-name' as prefix of each subfolders.
2439 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
2441 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2443 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
2444 (elmo-pipe-folder-list-target-messages): New internal function.
2445 (elmo-pipe-drain): Use new argument `ignore-list' instead of
2447 (elmo-pipe-folder-copied-list-load): New function.
2448 (elmo-pipe-folder-copied-list-save): Ditto.
2449 (elmo-folder-open-internal): Follow the change above.
2450 (elmo-folder-status): Fixed for copy.
2452 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
2454 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
2456 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
2458 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
2459 elmo-copy-file instead of elmo-add-name-to-file.
2461 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
2463 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
2466 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
2467 of accept-process-output as 1.
2468 (elmo-pop3-read-contents): Ditto.
2469 (elmo-pop3-read-body): Ditto.
2471 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
2473 * elmo-version.el (product-version-as-string): Remove define.
2475 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
2477 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
2478 (elmo-imap4-copy-messages): Chop number set using
2479 `elmo-imap4-number-set-chop-length'.
2480 (elmo-imap4-set-flag): Ditto.
2481 (elmo-imap4-search-internal-primitive): Ditto.
2483 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
2485 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
2486 `elmo-folder-make-temp-dir'
2488 * elmo-vars.el (elmo-cache-directory): New variable.
2489 (elmo-cache-dir): Abolished.
2490 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
2492 * elmo-version.el (elmo-version): Up to 2.7.7.
2494 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
2496 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
2497 defcustom; Set default value as t.
2499 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
2501 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
2502 (ldap-search-program-arguments): Changed default value.
2503 (ldap-search-basic): Accept exit status 4.
2504 (ldap/field-body): Parse options.
2505 (ldap/collect-field): Ditto.
2506 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
2508 * elmo-imap4.el (elmo-imap4-process-bye): New function.
2509 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
2510 (elmo-imap4-accept-ok): Ditto.
2511 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
2512 'notify-bye, only BYE error is reported.
2513 (elmo-folder-exists-p-plugged): Set no-error argument of
2514 `elmo-imap4-session-select-mailbox' as 'notify-bye.
2516 * elmo.el (elmo-imap4-bye-error): Changed message.
2518 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
2519 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
2520 queues (It causes infinite loop).
2522 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
2524 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
2525 (RECENT UNSEEN MESSAGES) extension.
2527 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
2529 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
2530 Check number of overview fields.
2532 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
2534 * elmo.el (elmo-folder-confirm-appends): Changed message.
2535 (elmo-folder-confirm-appends): Ditto.
2537 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
2539 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
2541 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
2543 * elmo.el (elmo-folder-confirm-appends): Check whether the value
2544 of elmo-folder-update-threshold is nil, which can be set by
2545 wl-summary-update-confirm-threshold.
2547 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
2549 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
2550 (elmo-nmz-index-alias-alist): Ditto.
2551 (elmo-map-folder-list-message-locations): Follow the change above.
2553 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2555 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
2557 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
2559 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
2561 * elmo-util.el (elmo-read): Ditto.
2562 (elmo-display-error): Ditto.
2564 * elmo-vars.el (elmo-date-match): Ditto.
2566 * pldap.el (ldap-coding-system): Ditto.
2568 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
2569 `elmo-inhibit-number-mapping' as nil.
2571 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
2573 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
2574 space delimiter for list response.
2576 2001-12-02 Kenichi OKADA <okada@opaopa.org>
2578 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
2580 2001-12-02 Kenichi OKADA <okada@opaopa.org>
2582 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
2583 (elmo-map-message-fetch): Fix.
2584 * elmo-map.el (elmo-folder-status): Fix for killed.
2586 2001-12-02 Kenichi OKADA <okada@opaopa.org>
2588 * elmo-sendlog.el: New file.
2589 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
2591 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
2593 * acap.el (acap-logging-out): New buffer local variable.
2594 (acap-close): Set it.
2595 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
2598 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
2600 * acap.el (acap-response-bye-p): New function.
2601 (acap-response-bye-message): Ditto.
2602 (acap-wait-for-response): If bye response is received, cause an error.
2603 (acap-parse-response): Make bye response when 'Bye' is received.
2605 2001-11-23 Kenichi OKADA <okada@opaopa.org>
2607 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
2609 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2611 * elmo-util.el (elmo-copy-file): Added argument
2612 `ok-if-already-exists'.
2613 (elmo-copy-file): Fixed typo.
2615 2001-11-21 Kenichi OKADA <okada@opaopa.org>
2617 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
2619 2001-11-21 Kenichi OKADA <okada@opaopa.org>
2621 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
2623 2001-11-20 Kenichi OKADA <okada@opaopa.org>
2625 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
2628 2001-11-19 Kenichi OKADA <okada@opaopa.org>
2630 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
2631 (elmo-folder-initialize): Fix for `copy'.
2632 (elmo-pipe-drain): Ditto.
2633 (elmo-folder-open-internal): Ditto.
2634 (elmo-folder-newsgroups): Fix.
2636 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
2638 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
2641 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
2642 recent value is returned from imap folder.
2644 * elmo.el (elmo-folder-newsgroups): New generic function.
2646 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
2647 (elmo-folder-initialize): Set it.
2648 (elmo-folder-expand-msgdb-path): Use it.
2649 (elmo-folder-newsgroups): Define.
2651 * elmo-filter.el (elmo-folder-newsgroups): Define.
2653 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
2655 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
2657 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
2659 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2661 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
2663 (elmo-shimbun-header-extra-field): New inline function.
2664 (elmo-shimbun-header-set-extra-field): Ditto.
2665 (elmo-shimbun-folder-header-hash-setup): Ditto.
2666 (elmo-shimbun-update-overview): Ditto.
2667 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
2668 (elmo-shimbun-folder-setup): Use
2669 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
2670 (elmo-shimbun-get-headers): Ditto.
2671 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
2672 Insert `X-Shimbun-Id:' header if extra field is set.
2673 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
2674 field's value instead of `shimbun-header-id'.
2676 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
2678 (elmo-msgdb-overview-entity-set-date): Ditto.
2679 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
2681 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
2683 * mmimap.el (mmimap-entity-section): Changed body node number from
2686 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2688 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
2689 `elmo-folder-delete-messages'.
2691 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
2692 (elmo-folder-initialize): Changed to expand alias into index path.
2694 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
2695 `elmo-mime-insert-header-from-buffer' with 6th arg
2698 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
2700 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
2702 * elmo.el (elmo-diff-new): New inline function.
2703 (elmo-diff-unread): Ditto.
2704 (elmo-diff-all): Ditto.
2706 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
2707 value from responseb.
2708 (elmo-imap4-folder-diff-plugged): Ditto.
2709 (elmo-imap4-server-diff-async): Added recent argument.
2710 (elmo-server-diff-async): Ditto.
2711 (elmo-imap4-folder-diff-plugged): Ditto.
2713 * elmo-version.el (elmo-version): Up to 2.7.6.
2715 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2717 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
2720 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
2722 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
2724 * elmo-imap4.el (elmo-folder-initialize): Ditto.
2726 * elmo-nntp.el (elmo-folder-initialize): Ditto.
2728 * elmo-multi.el (elmo-folder-initialize): Ditto.
2730 * elmo-util.el (elmo-parse-token): New function.
2731 (elmo-parse-prefixed-element): Ditto.
2733 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
2735 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
2737 (elmo-imap4-accept-ok): Ditto.
2739 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2741 * mmimap.el (mime-imap-entity-header-string): Don't check first
2742 element of node-id is `0' (Follow last change).
2744 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2746 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
2747 assigned irregular node-id to nested multipart section.
2748 (initialize-instance): Followed above change.
2750 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2752 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
2753 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
2754 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
2755 `elmo-shimbun-get-headers');
2756 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
2757 visible article on summary exists in headers).
2758 (elmo-map-message-fetch): Cause an error when folder is unplugged.
2760 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
2762 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
2765 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
2767 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
2769 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2771 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
2772 header separator into loop condition.
2774 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2776 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
2777 Return duplicate folder if it has subfolder.
2779 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
2781 * elmo.el (elmo-make-folder): Add folder name error check.
2783 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
2784 (elmo-nntp-encode-group-string): New inline function.
2785 (elmo-nntp-decode-group-string): Ditto.
2786 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
2787 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
2788 Use `not' instead of `null';
2789 Use elmo-nntp-decode-group-string.
2791 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
2793 * elmo-version.el (elmo-version): Up to 2.7.5.
2795 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2797 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
2798 Hide progress gauge if `elmo-folder-move-messages' exits
2801 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
2803 * elmo-imap4.el (elmo-folder-initialize): Use
2804 `elmo-imap4-encode-folder-string' for folder name.
2806 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2808 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
2811 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2813 * elmo-util.el (elmo-progress-counter-alist): New internal
2815 (elmo-progress-counter-value): New macro.
2816 (elmo-progress-counter-all-value): Ditto.
2817 (elmo-progress-counter-format): Ditto.
2818 (elmo-progress-counter-set-value): Ditto.
2819 (elmo-progress-set): New function.
2820 (elmo-progress-clear): Ditto.
2821 (elmo-progress-notify): Ditto.
2823 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
2826 * elmo.el (elmo-generic-folder-append-messages): Call
2827 `elmo-progress-notify'.
2828 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
2830 * elmo-archive.el (elmo-folder-append-messages): Call
2831 `elmo-progress-notify'.
2833 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
2835 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
2837 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
2839 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
2841 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
2843 (elmo-message-encache-dop): Added argument `read'.
2845 * elmo-shimbun.el (elmo-message-encache): Ditto.
2847 * elmo-net.el (elmo-message-encache): Ditto.
2849 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
2850 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
2851 elmo-imap4-seen-messages.
2852 (elmo-folder-msgdb-create-plugged): Initialize
2853 elmo-imap4-seen-messages;
2854 Set seen mark on elmo-imap4-seen-messages.
2856 * elmo-pipe.el (elmo-folder-message-file-p): Define.
2858 * elmo.el (elmo-generic-folder-append-messages): Check return value of
2859 elmo-folder-append-buffer.
2860 (elmo-folder-encache): Added optional argument `read'.
2861 (elmo-message-encache): Ditto.
2863 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
2865 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2867 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
2868 if append buffer content succeds.
2870 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
2872 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
2873 elmo-display-progress.
2875 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
2876 Set 4th argument of mime-display-message.
2877 (elmo-mime-display-as-is): Ditto.
2879 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
2881 * elmo-nmz.el (toplevel): Require 'mime-edit.
2882 (elmo-nmz-content-type-alist): Abolished.
2883 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
2884 content is not a message.
2885 (elmo-map-message-fetch): Changed behavior exept for message content;
2886 Detect mime-charset automatically, Use `mime-find-file-type' to detect
2887 content-type, Add From: and Subject: field.
2889 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2891 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
2892 (elmo-map-message-fetch): Add `Content-Type' field if contents is
2895 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2897 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
2898 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
2900 * elmo-archive.el (elmo-folder-writable-p): Defined.
2902 * elmo-cache.el (elmo-folder-writable-p): Ditto.
2904 * elmo-filter.el (elmo-folder-writable-p): Ditto.
2906 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
2908 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
2910 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
2912 * elmo-mark.el (elmo-folder-writable-p): Ditto.
2914 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
2916 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
2918 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
2920 * elmo-util.el (elmo-address-quote-specials): New function;
2921 Renamed from `wl-address-quote-specials'.
2923 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
2925 * elmo-version.el (elmo-version): Up to 2.7.4.
2927 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
2929 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
2931 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
2933 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
2934 both compile-time and run-time to avoid byte-compile warning.
2936 2001-09-13 Kenichi OKADA <okada@opaopa.org>
2938 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
2940 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
2942 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
2944 (elmo-mime-display-as-is-internal): Use it.
2946 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
2947 if `read-passwd' is not defined.
2949 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
2951 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
2953 (elmo-folder-status): Call `elmo-folder-open-internal';
2954 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
2955 (elmo-folder-close-internal): Set location-alist as nil.
2956 (elmo-folder-clear): Define.
2957 (elmo-folder-check): Don't set location-alist as nil.
2959 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
2961 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
2963 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
2964 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
2966 * mmimap.el (mime-imap-entity::requested): New slot.
2967 (mime-imap-location-fetch-entity-p): New generic function.
2968 (mime-decode-parameters): Define using `defun-maybe'.
2969 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
2970 content-type structure.
2971 (mime-entity-body): Return empty body if
2972 `mime-imap-location-fetch-entity-p' returns nil in the first request.
2974 * elmo.el (elmo-message-displaying): New variable.
2976 * elmo-mime.el (elmo-mime-message-display): Bind
2977 elmo-message-displaying as t.
2979 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
2981 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
2983 * acap.el (acap-open): erase buffer before starting network process.
2984 (acap-store): Rewrite.
2986 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
2988 * elmo-imap4.el (elmo-imap4-default-mailbox,
2989 elmo-imap4-default-server
2990 elmo-imap4-default-authenticate-type,
2991 elmo-imap4-default-user,
2992 elmo-imap4-default-port,
2993 elmo-imap4-default-stream-type,
2994 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
2996 * elmo-pop3.el (elmo-pop3-default-user,
2997 elmo-pop3-default-server,
2998 elmo-pop3-default-authenticate-type,
2999 elmo-pop3-default-port,
3000 elmo-pop3-default-stream-type,
3001 elmo-pop3-stream-type-alist): Ditto.
3003 * elmo-nntp.el (elmo-nntp-default-server,
3004 elmo-nntp-default-user,
3005 elmo-nntp-default-port,
3006 elmo-nntp-default-stream-type,
3007 elmo-nntp-stream-type-alist): Ditto.
3009 * elmo-vars.el: Follow changes above.
3010 (elmo-setting): New custom group; added 'elmo-setting group to
3013 * elmo-version.el (elmo-version): Up to 2.7.3.
3015 * acap.el (acap-parse-response): Don't delete process when BYE
3016 response (It causes hang-up on slow network environment).
3017 (toplevel): Added comment.
3019 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
3021 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
3023 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
3025 (acap-parse-return-metadata): Ditto.
3028 (toplevel): Fixed typo.
3030 * acap.el: New file.
3031 (acap-network-stream-open): Show "Connecting..." message.
3032 (acap-parse-response): Fixed problem for BYE untagged response.
3033 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
3034 (toplevel): Added tiny comments.
3036 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
3038 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
3039 space delimiter for uidl response.
3041 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
3043 * elmo-vars.el (elmo-use-semi): Eliminated.
3045 * elmo-util.el (elmo-string-assoc-all): New function.
3047 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3049 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
3050 property 'mime-preview-situation for `mime-preview-quit'.
3052 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3054 * elmo.el (elmo-message-fetch-with-cache-process): Call
3055 elmo-message-fetch-internal instead of causing an error when fetch
3056 strategy is 'entire but only 'section cache is available.
3058 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
3060 * elmo-version.el (elmo-version): Up to 2.7.2.
3062 * elmo.el (elmo-generic-folder-append-messages): Make
3063 fetch-strategy with `use-cache'.
3065 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
3066 (elmo-dop-queue-method-name): New macro.
3068 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3070 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
3071 unbalanced parenthesis.
3073 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
3075 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
3077 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
3079 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
3080 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
3082 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
3084 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
3087 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
3089 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
3090 (elmo-message-use-cache-p): Define.
3091 (elmo-folder-msgdb-create): Treat cache.
3093 2001-07-28 Kenichi OKADA <okada@opaopa.org>
3095 * elmo-nntp.el (elmo-network-initialize-session): Call
3096 `elmo-nntp-send-mode-reader'.
3097 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
3099 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
3101 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
3103 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
3106 * elmo-net.el (elmo-network-get-session): Set stream-type argument
3107 for `elmo-plugged-p'.
3108 (elmo-open-network-stream): Fixed stream-type argument.
3110 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
3112 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
3113 unknown archive type is specified.
3115 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
3117 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
3119 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
3120 while loading msgdb.
3122 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
3123 (elmo-folder-open-internal): Rewrite.
3125 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3127 * elmo-mime.el (elmo-mime-display-as-is-internal):
3128 Adjust buffer-multibyte status.
3130 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
3132 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
3133 of elmo-condition-find-key.
3135 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
3136 (elmo-condition-in-msgdb-p): Ditto.
3137 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
3140 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
3142 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
3144 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
3146 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
3147 label for elmo-display-progress.
3149 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
3151 * elmo.el (elmo-folder-clear): New method.
3152 (elmo-folder-clear): Define.
3153 (elmo-folder-synchronize): Call `elmo-folder-clear'.
3155 * elmo-shimbun.el (elmo-folder-check): Rewrite.
3156 (elmo-folder-clear): Define.
3158 * elmo-map.el (elmo-folder-clear): Define.
3160 * elmo-version.el (elmo-version): Up to 2.7.1.
3162 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
3164 * elmo.el (elmo-folder-synchronize): Return list of nil when no
3167 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
3169 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
3170 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
3172 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
3174 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
3176 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
3179 * elmo-imap4.el (elmo-folder-initialize): Use
3180 elmo-get-network-stream-type.
3182 * elmo-nntp.el (elmo-folder-initialize): Ditto.
3184 * elmo-pop3.el (elmo-folder-initialize): Ditto.
3186 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
3188 * elmo.el (elmo-message-encache): Set unread argument for
3191 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
3193 * elmo.el (elmo-net-port-info): New method.
3195 * elmo-shimbun.el (elmo-net-port-info): Define.
3196 (elmo-message-encache): Ditto.
3198 * elmo-net.el (elmo-net-port-info): Define as method.
3200 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
3201 unplugged status when elmo-enable-disconnected-operation is t.
3203 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
3204 of spool folder before checking new number.
3206 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
3208 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
3209 (elmo-network-setup-session): Ditto.
3210 (elmo-message-fetch-plugged): Ditto.
3211 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
3212 (elmo-network-initialize-session): Ditto.
3213 (elmo-pop3-read-response): Abolish 3rd argument.
3214 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
3215 (elmo-pop3-read-contents): Ditto.
3216 (elmo-pop3-read-body): Ditto.
3217 (elmo-folder-status): Call elmo-folder-close.
3218 (elmo-pop3-lock): Abolish.
3219 (elmo-pop3-unlock): Ditto.
3220 (elmo-pop3-locked-p): Ditto.
3221 (elmo-folder-check): Don't call elmo-pop3-locked-p.
3223 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
3225 * elmo-version.el (elmo-version): Up to 2.7.0.
3227 * elmo-pop3.el (elmo-pop3-debug): New variable.
3228 (elmo-pop3-debug-inhibit-logging): Ditto.
3229 (elmo-pop3-debug): New function.
3230 (elmo-pop3-send-command): Call elmo-pop3-debug.
3231 (elmo-pop3-read-response): Added keep-lock optional argument;
3232 Don't unlock if keep-lock is non-nil.
3233 (elmo-pop3-process-filter): Call elmo-pop3-debug.
3234 (elmo-network-authenticate-session): Bind
3235 elmo-pop3-debug-inhibit-logging as t.
3236 (elmo-network-setup-session): Call elmo-pop3-read-response with
3238 (elmo-pop3-read-msg): Ditto.
3239 (elmo-pop3-locked-p): Call elmo-pop3-debug.
3240 (elmo-pop3-read-body): Call elmo-pop3-unlock.
3241 (elmo-network-initialize-session): Call elmo-pop3-lock.
3242 (elmo-folder-close-internal): Don't clear location-alist slot.
3243 (elmo-folder-check): Clear location-alist slot.
3245 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
3247 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
3248 (elmo-pop3-send-command): Call elmo-pop3-lock.
3249 (elmo-pop3-read-response): Call elmo-pop3-unlock.
3250 (elmo-pop3-read-contents): Ditto.
3251 (elmo-pop3-lock): New function.
3252 (elmo-pop3-unlock): Ditto.
3253 (elmo-pop3-locked-p): Ditto.
3254 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
3257 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
3259 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
3261 * elmo-util.el (elmo-file-field-primitive-condition-match):
3262 New inline function (Don't fetch file content if "first" or "last").
3263 (elmo-file-field-condition-match): Use
3264 elmo-file-field-primitive-condition-match.
3266 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
3269 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
3270 (elmo-message-fetch-plugged): Fixed.
3272 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
3274 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
3276 * elmo.el (elmo-folder-move-messages): Bind
3277 elmo-inhibit-display-retrieval-progress as t while moving messages.
3279 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
3281 (elmo-inhibit-display-retrieval-progress): Ditto.
3283 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
3284 for retrieval progress;
3285 Don't display progress when total buffer size is smaller than
3286 elmo-display-retrieval-progress-threshold.
3287 (elmo-message-fetch-plugged): Don't display progress when
3288 elmo-inhibit-display-retrieval-progress is non-nil.
3290 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
3291 for retrieval progress;
3292 Don't display progress when literal size is smaller than
3293 elmo-display-retrieval-progress-threshold.
3294 (elmo-imap4-message-fetch): Don't display progress when
3295 elmo-inhibit-display-retrieval-progress is non-nil.
3297 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
3299 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
3300 (elmo-imap4-find-next-line): Display progress whille literal fetching.
3301 (elmo-imap4-message-fetch): Likewise.
3303 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
3304 (elmo-shimbun-index-range-alist): Ditto.
3305 (elmo-shimbun-use-entire-index): Abolish.
3306 (shimbun-mua-use-entire-index): Ditto.
3307 (elmo-shimbun-folder): Added new slot `range'.
3308 (elmo-folder-initialize): Setup slot `range'.
3310 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
3312 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
3313 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
3314 (elmo-shimbun-get-headers): Use return value of
3315 `shimbun-article-expiration-days'.
3316 (elmo-folder-close-internal): Clean up last-check slot.
3318 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
3319 (elmo-pop3-total-size): New variable.
3320 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
3322 * elmo.el (elmo-folder-reserve-status-p): New method.
3324 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
3325 (elmo-shimbun-use-entire-index): New user option.
3326 (shimbun-elmo-mua): New class.
3327 (shimbun-mua-search-id): Define.
3328 (shimbun-mua-use-entire-index): Ditto.
3329 (elmo-shimbun-folder:last-check): New slot.
3330 (elmo-shimbun-headers-cache-header-list): Abolish.
3331 (elmo-shimbun-headers-cache-set-header-list): Ditto.
3332 (elmo-shimbun-headers-cache-header-hash): Ditto.
3333 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
3334 (elmo-shimbun-headers-cache-last-check): Ditto.
3335 (elmo-shimbun-headers-cache-set-last-check): Ditto.
3336 (elmo-shimbun-headers-check-p): Rewrite.
3337 (elmo-shimbun-msgdb-to-headers): New function.
3338 (elmo-shimbun-get-headers): Rewrite.
3339 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
3340 (elmo-folder-open-internal): Get headers only if
3341 `elmo-shimbun-headers-check-p' is non-nil.
3342 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
3344 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
3345 (elmo-quit): Removed.
3347 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
3349 (elmo-msgdb-overview-entity-set-extra): Ditto.
3350 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
3352 * elmo-map.el (elmo-folder-status): Don't call
3353 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
3356 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3358 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
3359 of `elmo-msgdb-search-internal-primitive' when condition's car is
3362 2001-05-23 Kenichi OKADA <okada@opaopa.org>
3364 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
3366 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3368 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
3369 call `elmo-pipe-drain'.
3371 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
3373 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
3374 typo. (elmo-cache-folder -> elmo-mark-folder)
3376 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3378 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
3379 `elmo-message-fetch'.
3381 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3383 * elmo-net.el (elmo-message-encache): Fixed typo.
3384 (elmo-message-fetch-unplugged): Changed call
3385 `elmo-message-fetch-internal' without argument `outbuf'.
3387 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
3389 * elmo.el (elmo-message-encache): Define as generic function.
3390 (elmo-message-fetch-field): New generic function.
3391 (elmo-message-fetch-with-cache-process): Cause an error when
3392 fetch strategy is 'entire but only 'section cache is available.
3393 (toplevel): Fixed nmz folder definition.
3395 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
3396 (elmo-msgdb-resume-list-filename): Ditto.
3397 (elmo-queue-filename): Ditto.
3398 (elmo-enable-disconnected-operation): Changed default value to t.
3400 * elmo-util.el (elmo-cache-path-section-p): New function.
3401 (elmo-file-cache-get): Use it.
3402 (elmo-dop-queue-filename): Moved from elmo-dop.el.
3403 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
3404 (elmo-dop-queue-save): Ditto.
3406 * elmo-net.el (elmo-folder-status-unplugged): Call
3407 elmo-folder-status-dop.
3408 (elmo-folder-list-messages-unplugged): Implemented.
3409 (elmo-folder-delete-messages-unplugged): Define.
3410 (elmo-folder-msgdb-create): Define.
3411 (elmo-folder-msgdb-create-unplugged): Define.
3412 (elmo-folder-mark-as-read-unplugged): Ditto.
3413 (elmo-folder-unmark-read-unplugged): Ditto.
3414 (elmo-folder-mark-as-important-unplugged): Ditto.
3415 (elmo-folder-unmark-important-unplugged): Ditto.
3416 (elmo-message-encache): Ditto.
3418 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
3419 (elmo-dop-queue-save): Ditto.
3421 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
3422 `elmo-folder-msgdb-create'.
3423 (elmo-folder-append-buffer): Implemented unplugged operation.
3424 (elmo-folder-append-messages): Call parent method in unplugged status.
3425 (elmo-message-fetch-unplugged): Removed definition.
3426 (elmo-message-fetch-field): Implemented.
3428 * elmo-dop.el (toplevel): Require 'elmo-localdir.
3429 (elmo-dop-folder): Removed variable definition.
3430 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
3431 (elmo-dop-queue-flush): Implemented.
3432 (elmo-dop-queue-merge): Removed definition (TODO).
3433 (elmo-dop-spool-folder): New function.
3434 (elmo-dop-spool-folder-append-buffer): Ditto.
3435 (elmo-dop-spool-folder-list-messages): Ditto.
3436 (elmo-dop-list-deleting-messages): Ditto.
3437 (elmo-folder-append-buffer-dop): Ditto.
3438 (elmo-folder-delete-messages-dop): Ditto.
3439 (elmo-message-encache-dop): New inline function.
3440 (elmo-create-folder-dop): Ditto.
3441 (elmo-folder-mark-as-read-dop): Ditto.
3442 (elmo-folder-unmark-read-dop): Ditto.
3443 (elmo-folder-mark-as-important-dop): Ditto.
3444 (elmo-folder-unmark-important-dop): Ditto.
3445 (elmo-folder-status-dop): Fixed.
3446 (elmo-folder-append-buffer-dop-delayed): New function.
3447 (elmo-folder-delete-messages-dop-delayed): Ditto.
3448 (elmo-dop-msgdb): Ditto.
3450 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3452 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
3454 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3456 * elmo.el (elmo-folder-move-messages): Fixed problem when
3457 `dst-folder' is 'null.
3459 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3461 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
3462 instead of current mark.
3464 * elmo-multi.el (elmo-folder-list-importants-internal): No
3465 operation if importants is not list.
3467 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
3468 Return t if importants is not list.
3470 * elmo-map.el (elmo-map-folder-list-importants): Define.
3471 (elmo-folder-list-importants-internal): Check return value of
3472 `elmo-map-folder-list-importants-internal'.
3474 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
3476 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
3478 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
3480 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
3482 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
3484 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
3485 (Patch is provided by <kita@coe.nttdata.co.jp>).
3487 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3489 * elmo.el (elmo-folder-synchronize): Don't check important mark in
3492 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3494 * elmo.el (elmo-message-fetch): Define.
3495 (elmo-message-fetch-with-cache-process): New generic method.
3496 (elmo-message-fetch-internal): New generic method.
3497 (elmo-folder-synchronize):
3499 * elmo-archive.el (elmo-message-fetch-internal): Define.
3500 (elmo-message-fetch): Eliminated.
3502 * elmo-localdir.el (elmo-message-fetch-internal): Define.
3503 (elmo-message-fetch): Eliminated.
3505 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
3507 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
3509 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
3510 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
3512 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
3513 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
3515 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
3517 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
3519 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
3521 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
3522 (elmo-message-fetch-unplugged): New generic method.
3523 (elmo-message-fetch-internal): Remove cache process (Renamed from
3524 `elmo-message-fetch').
3526 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
3527 (elmo-message-fetch): Eliminated.
3528 (elmo-message-fetch-unplugged): Ditto.
3530 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
3532 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3534 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
3535 of `to-be-deleted' from number-alist to number-list.
3537 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3539 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
3540 (elmo-folder-mark-as-important): Ditto.
3542 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
3544 * elmo.el (elmo-folder): Added process-duplicates slot.
3546 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
3547 (elmo-folder-unmark-read): Ditto.
3548 (elmo-folder-unmark-important): Ditto.
3549 (elmo-folder-mark-as-important): Ditto.
3551 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
3552 duplicated message processing.
3554 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
3556 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3558 * elmo-util.el (elmo-list-subdirectories-1): New function.
3559 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
3560 (elmo-mapcar-list-of-list): New function.
3562 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
3563 `elmo-mapcar-list-of-list' instead of `mapcar'.
3565 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
3567 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
3568 `elmo-have-link-count'. Return the fully qualified folder name.
3570 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
3572 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
3573 (elmo-shimbun-headers-cache): New internal variable.
3574 (elmo-shimbun-headers-cache-header-list): New inline function.
3575 (elmo-shimbun-headers-cache-set-header-list): Ditto.
3576 (elmo-shimbun-headers-cache-header-hash): Ditto.
3577 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
3578 (elmo-shimbun-headers-cache-last-check): Ditto.
3579 (elmo-shimbun-headers-cache-set-last-check): Ditto.
3580 (elmo-shimbun-lapse-seconds): Ditto.
3581 (elmo-shimbun-headers-cache-check-p): Ditto.
3582 (elmo-shimbun-get-headers): New function.
3583 (elmo-folder-open-internal): Call it.
3584 (elmo-quit): Define (Clear headers-cache).
3586 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
3588 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
3590 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
3591 (elmo-msgdb-flist-save): Ditto.
3593 * elmo-shimbun.el (elmo-folder-list-subfolders):
3594 Use `shimbun-groups' instead of `shimbun-groups-internal'.
3595 (elmo-folder-exists-p): Ditto.
3597 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
3598 argument for `shimbun-header-insert'.
3600 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
3602 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
3605 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
3606 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
3608 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
3610 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
3611 (elmo-folder-plugged-p): Define.
3612 (elmo-folder-set-plugged): Ditto.
3613 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
3614 (elmo-folder-list-messages-internal): Return t if unplugged.
3615 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
3617 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
3618 when elmo-folder-list-messages-internal method of children returns t.
3620 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
3622 (elmo-folder-open-internal): Don't update if unplugged status.
3624 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
3626 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
3629 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
3631 * elmo-util.el (elmo-file-cache-save): Ignore errors.
3633 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
3636 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
3638 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
3640 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
3641 (elmo-folder-open-internal): Set up headers slot.
3642 (elmo-folder-check): Call elmo-folder-close-internal and
3643 elmo-folder-open-internal.
3644 (elmo-folder-close-internal): Clean up headers slot.
3646 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
3648 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
3649 exactly folder list.
3650 (elmo-folder-append-messages): Fixed append archive with prefix.
3652 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
3653 make temp files with start-number.
3655 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
3657 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
3659 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
3660 argument `visible-only'.
3661 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
3664 * elmo-pop3.el (elmo-folder-open-internal): Check
3665 `elmo-inhibit-number-mapping' is non-nil.
3667 * elmo-pipe.el (elmo-folder-status): Fixed.
3669 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
3671 * elmo.el (elmo-dop-queue-flush): Added autload setting.
3673 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
3674 (elmo-folder-open-internal): Setup `header-hash' slot.
3675 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
3677 (elmo-map-message-fetch): Ditto.
3679 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
3681 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
3682 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
3683 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
3684 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
3686 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
3688 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
3690 * sb-airs.el: Added footer.
3692 * shimbun.el (shimbun-article): Define as luna-method.
3694 * sb-tcup.el: New file.
3696 * sb-airs.el (toplevel): Require 'sb-mhonarc.
3697 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
3699 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
3701 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
3702 (shimbun-get-headers): Ditto.
3704 * elmo.el: Moved obsolete variable definitions from
3705 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
3707 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
3710 * shimbun.el: New file.
3712 * elmo-shimbun.el: New file.
3714 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
3715 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
3716 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
3717 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
3719 2001-03-27 Kenichi OKADA <okada@opaopa.org>
3721 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
3724 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
3726 * elmo.el (elmo-folder-msgdb): Define as macro.
3727 (elmo-folder-open): Added argument `load-msgdb'.
3728 (elmo-generic-folder-open): Ditto.
3729 (elmo-folder-encache): New function.
3731 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
3733 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
3735 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
3736 Eliminated argument FOLDER and added argument MSGDB.
3737 (elmo-dop-queue-load): Moved from elmo-dop.el.
3738 (elmo-dop-queue-save): Ditto.
3740 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
3742 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
3744 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
3745 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
3746 (elmo-filter-folder-list-importants-internal): Ditto.
3748 * elmo-map.el (elmo-folder-pack-number): Ditto.
3750 * elmo-mime.el (elmo-mime-message-display): Ditto.
3752 * elmo.el (elmo-generic-folder-commit): Ditto.
3753 (elmo-folder-list-unreads): Ditto.
3754 (elmo-folder-list-importants): Ditto.
3755 (elmo-generic-folder-commit): Ditto.
3756 (elmo-message-set-mark): Ditto.
3757 (elmo-generic-folder-append-msgdb): Ditto.
3758 (elmo-folder-synchronize): Ditto.
3759 (elmo-folder-messages): Ditto.
3760 (elmo-init): Call elmo-dop-queue-load.
3761 (elmo-folder-list-messages): Ditto.
3763 * elmo-nntp.el (elmo-folder-update-number): Ditto.
3764 (elmo-nntp-folder-process-crosspost): Ditto.
3765 (elmo-folder-list-unreads-internal): Ditto.
3767 * elmo-dop.el: Removed old functions.
3769 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
3771 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
3772 `folder' to `msgdb'.
3774 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
3776 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
3777 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
3779 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
3782 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
3784 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
3787 * mmimap.el (toplevel): Require 'mime-parse and 'static.
3788 (mmimap-parse-parameters-from-list): Define as alias for
3789 `mime-decode-parameter-plist' if it is defined as function.
3790 (mmimap-make-mime-entity): Added argument `number'.
3791 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
3793 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
3795 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
3797 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
3799 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
3801 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
3803 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
3805 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
3806 when elmo-imap4-default-authenticate-type is nil.
3807 (elmo-folder-list-subfolders): Ditto
3808 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
3809 (elmo-imap4-fetch-callback-1-subr): Renamed from
3810 `elmo-imap4-fetch-callback-1' and define as inline function.
3811 (elmo-imap4-fetch-callback-1):
3812 Renamed from `elmo-imap4-fetch-callback'.
3813 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
3815 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
3816 msgdb path (To keep compatibility with main trunk).
3818 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
3820 * elmo-util.el (elmo-make-file-cache): Moved position of
3823 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
3824 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
3825 instead of `elmo-pop3-inhibit-uidl'.
3826 (elmo-folder-exists-p): Ditto.
3827 (elmo-pop3-folder-list-messages): Ditto.
3829 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
3830 instead of `elmo-pop3-inhibit-uidl'.
3831 (elmo-folder-status): Ditto.
3833 * elmo-dop.el (elmo-dop-folder): New variable.
3834 (elmo-dop-lock-message): Eliminated.
3835 (elmo-dop-unlock-message): Ditto.
3836 (elmo-dop-lock-list-load): Ditto.
3837 (elmo-dop-lock-list-save): Ditto.
3838 (elmo-dop-delete-folder): Ditto.
3839 (elmo-dop-rename-folder): Ditto.
3841 * elmo.el: Removed incomplete commentary.
3843 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
3845 * elmo.el (toplevel): Require 'elmo-version first;
3846 for little `recursive-load-depth' settings.
3847 Fix "ends here" comment.
3849 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
3851 * elmo-util.el (toplevel): Require 'poem;
3852 Some functions are moved from elmo-cache.el.
3854 * elmo-net.el (toplevel): Require 'elmo-cache.
3856 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
3858 * elmo.el (toplevel): Ditto.
3860 * elmo-cache.el: Rewrite with luna;
3861 Some functions are moved to elmo-util.el.
3863 * elmo-internal.el (elmo-internal-folder-list): New variable.
3864 (elmo-internal-folder-initialize): Rewrite.
3865 (elmo-folder-list-subfolders): Ditto.
3867 * elmo-cache.el (elmo-cache-search-all): Eliminated.
3868 (elmo-cache-collect-sub-directories): Ditto.
3870 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
3872 * elmo-version.el (elmo-version): Up to 2.5.8.
3874 * elmo.el (elmo-folder-list-messages-mark-match): New function.
3876 * elmo-util.el (elmo-list-insert): New function.
3878 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
3880 * elmo.el (elmo-init): New function.
3881 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
3883 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
3884 (Renamed from `elmo-localdir-header-chop-length').
3886 * elmo-pop3.el (elmo-pop3-use-cache,
3887 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
3889 * elmo-nntp.el (elmo-message-fetch): Define.
3890 (elmo-message-fetch-unplugged): Ditto.
3891 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
3892 (elmo-nntp-use-cache): Ditto.
3893 (elmo-nntp-max-number-precedes-list-active): Ditto.
3895 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
3897 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
3898 `elmo-msgdb-insert-file-header'.
3899 Use `elmo-msgdb-file-header-chop-length'.
3901 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
3904 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
3905 (elmo-cache-msgdb-create-overview-entity-from-file): Use
3906 `elmo-msgdb-insert-file-header'.
3908 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
3910 Define obsolete variables with `elmo-define-obsolete-variable',
3912 * elmo-util.el (elmo-warning-buffer-name): New constant.
3913 (elmo-warning): New function.
3914 (elmo-obsolete-variable-alist): New variable.
3915 (elmo-obsolete-variable-show-warnings): New variable.
3916 (elmo-define-obsolete-variable): New function.
3917 (elmo-resque-obsolete-variable): Ditto.
3918 (elmo-resque-obsolete-variables): Ditto.
3920 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
3922 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
3925 * elmo-pop3.el, elmo-nntp.el: Use custom.
3927 2000-02-20 Kenichi OKADA <okada@opaopa.org>
3929 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
3930 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
3932 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
3934 * Luna-fy Kenichi OKADA's following changes.
3935 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
3937 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
3939 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
3941 * elmo-util.el (elmo-display-progress): Prefer
3942 `progress-feedback-with-label' to `lprogress-display'.
3944 2000-02-20 Kenichi OKADA <okada@opaopa.org>
3946 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
3948 2000-02-19 Kenichi OKADA <okada@opaopa.org>
3950 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
3951 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
3952 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
3953 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
3954 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
3955 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
3956 * elmo-archive.el (elmo-archive-list-folder): Ditto.
3957 * elmo-filter.el (elmo-filter-list-folder): Ditto.
3958 * elmo-internal.el (elmo-internal-list-folder): Ditto.
3959 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
3960 * elmo-multi.el (elmo-multi-list-folder): Ditto.
3961 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
3962 * elmo-dop.el (elmo-dop-list-folder): Ditto.
3964 2000-02-17 Kenichi OKADA <okada@opaopa.org>
3966 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
3967 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
3969 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
3971 * elmo.el (elmo-folder-process-crosspost): New generic method.
3972 (elmo-folder-writable-p): Ditto.
3973 (elmo-folder-message-appendable-p): Eliminated.
3974 (elmo-generic-folder-append-msgdb): Rewrite.
3975 (elmo-newsgroups-hashtb): New internal variable.
3976 (elmo-crosspost-message-set): Eliminated.
3977 (elmo-crosspost-message-delete): Ditto.
3978 (elmo-setup-subscribed-newsgroups): New function.
3979 (elmo-crosspost-message-alist-modified): New internal variable.
3980 (elmo-crosspost-message-alist-load): New function (Renamed from
3981 `wl-crosspost-alist-load').
3982 (elmo-crosspost-message-alist-save): Ditto (Renamed from
3983 `wl-crosspost-alist-save').
3985 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
3987 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
3989 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
3990 elmo-newsgroups-hashtb).
3991 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
3992 `elmo-nntp-folder-update-crosspost-message-alist'.
3993 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
3994 `elmo-nntp-groups-hashtb'.
3995 (elmo-nntp-make-groups-hashtb): Eliminated.
3996 (elmo-nntp-parse-newsgroups): New function (Renamed from
3997 `wl-parse-newsgroups').
3998 (elmo-folder-creatable-p, elmo-folder-writable-p,
3999 elmo-folder-close-internal, elmo-folder-mark-as-read,
4000 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
4002 (elmo-nntp-folder-update-crosspost-message-alist): New function.
4004 * elmo-net.el (elmo-message-fetch): Check buffer size.
4006 * elmo-multi.el (elmo-multi-split-number-alist): New function.
4008 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
4010 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
4011 before `close' command.
4013 * elmo.el (elmo-folder-list-unreads-internal): Added argument
4014 `mark-alist' (All other related portions are changed).
4016 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
4018 * elmo-util.el (elmo-create-hash-size): Eliminated.
4019 (elmo-make-hash) Make a hash with `one less than a power of two'
4022 * elmo-vars.el (elmo-hash-minimum-size): New variable.
4023 (elmo-hash-maximum-size): Changed value.
4025 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
4027 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
4028 (elmo-mime-message-display-as-is): Ditto.
4030 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
4032 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
4033 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
4035 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
4037 * elmo-mark.el: New file.
4039 * elmo-internal.el: Rewrite (Almost empty).
4041 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
4043 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
4044 (mime-imap-entity-header-string): Ditto.
4045 (mmimap-entity-section): Rewrite.
4047 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4049 * elmo-nmz.el: New file.
4051 * elmo-pipe.el: Rewrite with luna.
4053 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
4055 * elmo-archive.el: Rewrite with luna.
4057 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
4058 (elmo-folder-list-importants-internal): Ditto.
4060 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
4062 * elmo-archive.el (elmo-archive-version): Abolish.
4063 (toplevel) Removed `boso' comment.
4065 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
4067 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
4068 elmo-msgdb-add-msgs-to-seen-list-subr;
4069 Changed argument seen-marks to unread-marks.
4071 * elmo-nntp.el: Rewrite with luna.
4073 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
4075 * elmo-filter.el: Rewrite with luna.
4077 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
4079 * elmo-pop3.el: Rewrite with luna.
4081 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
4083 * elmo-multi.el: Rewrite with luna.
4085 * elmo-vars.el (elmo-use-killed-list): Abolish.
4086 All other related portions are changed.
4087 (elmo-filename-replace-string-alist): Renamed from
4088 elmo-msgid-replace-string-alist.
4090 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
4092 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
4094 * elmo-map.el: New file.
4095 * elmo-maildir.el: Rewrite with luna.
4097 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
4099 * elmo.el: Changed meaning of `elmo-folder-commit'.
4100 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
4102 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
4104 * elmo.el (elmo-folder-append-buffer): New function.
4105 (Renamed from `elmo-append-msg')
4107 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
4109 * elmo-mime.el: New file.
4111 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
4113 * elmo-cache.el: Rewrite.
4115 2000-02-17 Kenichi OKADA <okada@opaopa.org>
4117 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
4119 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
4121 * elmo-vars.el (elmo): New group.
4122 (elmo-strict-diff-folder-regexp): New variable.
4124 * elmo-util.el (elmo-call-func): Abolish.
4125 (elmo-folder-get-type): Ditto.
4126 (elmo-*-get-spec): Ditto.
4127 (elmo-*-spec-*): Ditto.
4128 (elmo-imap4-identical-name-space-p): Ditto.
4129 (elmo-folder-identical-system-p): Ditto.
4130 (elmo-folder-direct-copy-alist): Ditto.
4131 (elmo-folder-direct-copy-p): Ditto.
4133 * elmo-pipe.el (elmo-pipe-folder): New luna class.
4134 (elmo-folder-initialize): Define.
4135 (elmo-folder-get-primitive-list): Ditto.
4137 * elmo-nntp.el (elmo-nntp-folder): New luna class.
4138 (elmo-folder-initialize): Define.
4139 Renamed `elmo-network-session-host-internal' to
4140 `elmo-network-session-server-internal'.
4142 * elmo-multi.el (elmo-multi-folder): New luna class.
4143 (elmo-folder-initialize): Define.
4144 (elmo-folder-get-primitive-list): Ditto.
4145 (elmo-folder-contains-type): Ditto.
4146 (elmo-message-use-cache-p): Ditto.
4148 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
4149 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
4151 * elmo-maildir.el (elmo-maildir-folder): New luna class.
4152 (elmo-folder-initialize): Define.
4154 * elmo-filter.el (elmo-filter-folder): New luna class.
4155 (elmo-folder-initialize): Define.
4156 (elmo-folder-get-primitive-list): Ditto.
4157 (elmo-folder-contains-type): Ditto.
4159 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
4161 * elmo-imap4.el: Rewrite with luna.
4163 * mmimap.el: New file.
4165 * mmelmo.el, mmelmo-imap4.el: Removed.
4167 * elmo-net.el: Ditto.
4169 * elmo-pop3.el (elmo-pop3-folder): New luna class.
4170 (elmo-folder-initialize): Define.
4172 * elmo-archive.el (elmo-archive-folder): New luna class.
4173 (elmo-folder-initialize): Define.
4175 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
4176 `elmo-folder-msgdb-path'.
4177 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
4180 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
4182 * elmo.el: New file.
4184 * elmo2.el: Renamed to elmo.el.
4187 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
4189 * elmo-cache.el (elmo-cache-expire-by-size): Count
4190 a disk usage for a cache file entry in KB even when
4191 its kind is a directory.
4193 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
4195 * elmo-version.el (elmo-version): Up to 2.5.7.
4197 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
4199 * elmo-version.el (elmo-version): Up to 2.5.6.
4201 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
4203 * elmo-version.el (elmo-version): Up to 2.5.5.
4205 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
4207 * elmo-imap4.el (elmo-network-authenticate-session):
4208 Fixed a logic for response checking.
4210 2000-12-15 Daiki Ueno <ueno@unixuser.org>
4212 * elmo-net.el: Add autoload settings for `starttls-negotiate',
4213 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
4214 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
4217 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
4218 for `starttls-open-stream' and `starttls-negotiate'.
4220 * elmo-nntp.el: Remove autoload settings for
4221 `starttls-open-stream' and `starttls-negotiate'.
4223 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
4224 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
4225 `luna-define-class' with `eval-and-compile'.
4227 2000-12-01 Kenichi OKADA <okada@opaopa.org>
4229 * elmo-util.el (elmo-read-search-condition-internal):
4230 Require an element of table for searching field.
4232 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
4234 * elmo-version.el (elmo-version): Up to 2.5.4.
4236 2000-11-26 Kenichi OKADA <okada@opaopa.org>
4238 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
4240 2000-11-24 Kenichi OKADA <okada@opaopa.org>
4242 * elmo-nntp.el (elmo-network-initialize-session): omitted.
4244 2000-11-22 Kenichi OKADA <okada@opaopa.org>
4246 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
4249 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
4251 * elmo-imap4.el (elmo-imap4-delete-folder):
4252 Send "close" before "delete" (Use commented out line).
4253 (elmo-imap4-rename-folder): Ditto.
4255 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
4256 folder string itself.
4257 (elmo-dop-list-deleted): New function.
4258 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
4261 * elmo-util.el (elmo-string-rassoc-all): New function.
4263 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
4265 * elmo-version.el (elmo-version): Up to 2.5.3.
4267 * elmo-net.el (elmo-network-get-session): Changed logic for
4268 checking process status.
4270 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
4272 Changed logic for checking process status.
4274 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
4276 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
4278 (elmo-network-setup-session): Set UIDL hash size according to
4279 the length of list response.
4280 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
4281 according to the length of list response;
4282 Return the length of list response.
4283 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
4285 2000-11-21 Kenichi OKADA <okada@opaopa.org>
4287 * elmo-imap4.el (toplevel): Require 'ssl.
4288 Add autoload 'starttls.
4289 * elmo-pop3.el (toplevel): Ditto.
4290 * elmo-nntp.el (toplevel): Ditto.
4292 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4294 * elmo-imap4.el (toplevel): defun at compile time.
4295 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
4296 sasl-next-step, sasl-step-data, sasl-step-set-data.
4297 * elmo-pop3.el (toplevel): Ditto.
4299 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4301 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
4303 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4305 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
4307 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
4308 and `elmo-pop-auth-apop'.
4310 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4312 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
4314 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4316 * elmo-pop3.el (elmo-network-authenticate-session): Split
4317 encoded response value.
4319 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4321 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
4322 `elmo-pop3-force-login'.
4323 Redefine `sasl-mechanisms'.
4324 * elmo-vars.el (elmo-pop3-force-login): Ditto.
4326 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4328 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
4329 Delete `elmo-imap4-authenticator-alist'.
4330 (elmo-imap4-auth-cram-md5): Delete.
4331 (elmo-imap4-auth-digest-md5): Delete.
4333 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4335 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
4336 (elmo-pop3-auth-scram-md5): Ditto.
4337 (elmo-pop3-auth-cram-md5): Ditto.
4339 2000-11-19 Kenichi OKADA <okada@opaopa.org>
4341 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
4342 Delete `elmo-pop3-authenticator-alist'.
4344 2000-11-19 Kenichi OKADA <okada@opaopa.org>
4346 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
4348 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
4350 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
4352 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
4354 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
4356 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
4357 Fixed problem when `elmo-pop3-use-uidl' is nil.
4358 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
4360 2000-11-19 Kenichi OKADA <okada@opaopa.org>
4362 * elmo-version.el (elmo-version): Up to 2.5.2.
4364 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
4366 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
4368 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
4369 (elmo-pop3-msgdb-create-as-numlist): Use it.
4371 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
4372 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
4374 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
4375 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
4377 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
4379 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
4380 when elmo-mark-as-read is called with second argument nil.
4382 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
4384 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
4385 Moved to elmo-util.el.
4387 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
4388 Moved from elmo-pipe.el
4390 * elmo-archive.el (elmo-archive-call-process): Enclose with
4393 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
4394 "RFC822" (because RFC822.PEEK is obsolete).
4395 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
4397 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
4399 * elmo-archive.el (elmo-archive-call-process): Don't check for
4400 the exit status when Nemacs is running.
4402 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
4404 * elmo-net.el (elmo-network-session-password-key): Don't set default to
4407 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
4408 (elmo-pop3-get-spec): Set default of auth to 'user.
4410 * elmo-imap4.el (elmo-imap4-session-check):
4411 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
4412 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
4413 (elmo-imap4-auth-login): New function; Revival.
4414 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
4415 `elmo-imap4-auth-login'.
4417 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
4419 * elmo2.el (toplevel): Move `product-provide' declare.
4420 * mmelmo.el (toplevel): Ditto.
4422 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4424 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
4426 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
4428 * elmo-util.el (elmo-folder-get-store-type): New function.
4429 (elmo-folder-direct-copy-p): Use it.
4431 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
4433 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
4434 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
4435 and result of `elmo-imap4-use-flag-p'.
4436 (elmo-imap4-fetch-callback-1): Set mark according to
4437 the result of `elmo-imap4-use-flag-p'.
4439 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
4441 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
4442 (elmo-generic-list-folder-unread): Ditto.
4443 (elmo-folder-get-info): Ditto.
4444 (elmo-folder-set-info-max-by-numdb): Ditto.
4445 (elmo-folder-get-info-max): Ditto.
4446 (elmo-folder-get-info-length): Ditto.
4447 (elmo-folder-get-info-unread): Ditto.
4448 (elmo-folder-info-make-hashtb): Ditto.
4450 * elmo2.el: Removed above functions.
4452 2000-11-21 Kenichi OKADA <okada@opaopa.org>
4454 * elmo-imap4.el (toplevel): Require 'ssl.
4455 Add autoload 'starttls.
4456 * elmo-pop3.el (toplevel): Ditto.
4457 * elmo-nntp.el (toplevel): Ditto.
4459 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4461 * elmo-imap4.el (toplevel): defun at compile time.
4462 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
4463 sasl-next-step, sasl-step-data, sasl-step-set-data.
4464 * elmo-pop3.el (toplevel): Ditto.
4466 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4468 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
4470 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4472 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
4474 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
4475 and `elmo-pop-auth-apop'.
4477 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4479 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
4481 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4483 * elmo-pop3.el (elmo-network-authenticate-session): Split
4484 encoded response value.
4486 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4488 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
4489 `elmo-pop3-force-login'.
4490 Redefine `sasl-mechanisms'.
4491 * elmo-vars.el (elmo-pop3-force-login): Ditto.
4493 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4495 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
4496 Delete `elmo-imap4-authenticator-alist'.
4497 (elmo-imap4-auth-cram-md5): Delete.
4498 (elmo-imap4-auth-digest-md5): Delete.
4500 2000-11-20 Kenichi OKADA <okada@opaopa.org>
4502 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
4503 (elmo-pop3-auth-scram-md5): Ditto.
4504 (elmo-pop3-auth-cram-md5): Ditto.
4506 2000-11-19 Kenichi OKADA <okada@opaopa.org>
4508 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
4509 Delete `elmo-pop3-authenticator-alist'.
4511 2000-11-19 Kenichi OKADA <okada@opaopa.org>
4513 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
4515 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
4518 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
4520 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
4522 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
4524 * elmo-nntp.el (elmo-nntp-get-folders-info):
4525 Fixed problem when '\' character is contained in user-id.
4526 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
4529 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
4531 * elmo-imap4.el (elmo-imap4-delete-folder):
4532 Send "close" before "delete" (Use commented out line).
4533 (elmo-imap4-rename-folder): Ditto.
4535 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
4536 folder string itself.
4537 (elmo-dop-list-deleted): New function.
4538 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
4541 * elmo-util.el (elmo-string-rassoc-all): New function.
4543 * elmo-version.el (elmo-version): Up to 2.5.1.
4545 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
4547 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
4549 * elmo-internal.el (elmo-internal-search): Fix last change.
4551 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
4553 * elmo-internal.el (elmo-internal-search): Rewrite.
4554 (Fixed problem which is pointed out by Akihiro MOTOKI
4555 <motoki@da.jp.nec.com>)
4557 * elmo-version.el (elmo-version): Up to 2.5.0.
4559 2000-11-06 Kenichi OKADA <okada@opaopa.org>
4561 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
4563 2000-11-06 Kenichi OKADA <okada@opaopa.org>
4565 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
4566 non-nil, make hierarchy.
4568 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
4570 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
4571 `elmo-pop3-use-uidl' must be bound to nil.
4572 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
4574 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
4576 * elmo-util.el (elmo-copy-file): Don't cause an error after
4577 `add-name-to-file' failed.
4579 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
4580 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
4582 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
4584 * elmo-version.el (elmo-version): Up to 2.3.93.
4586 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
4588 * elmo-util.el (elmo-flatten): New function.
4590 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
4592 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
4594 * elmo-cache.el (toplevel): Ditto.
4595 * elmo-database.el (toplevel): Ditto.
4596 * elmo-date.el (toplevel): Ditto.
4597 * elmo-dop.el (toplevel): Ditto.
4598 * elmo-filter.el (toplevel): Ditto.
4599 * elmo-imap4.el (toplevel): Ditto.
4600 * elmo-internal.el (toplevel): Ditto.
4601 * elmo-localdir.el (toplevel): Ditto.
4602 * elmo-localnews.el (toplevel): Ditto.
4603 * elmo-maildir.el (toplevel): Ditto.
4604 * elmo-msgdb.el (toplevel): Ditto.
4605 * elmo-multi.el (toplevel): Ditto.
4606 * elmo-net.el (toplevel): Ditto.
4607 * elmo-nntp.el (toplevel): Ditto.
4608 * elmo-pipe.el (toplevel): Ditto.
4609 * elmo-pop3.el (toplevel): Ditto.
4610 * elmo-util.el (toplevel): Ditto.
4611 * elmo-vars.el (toplevel): Ditto.
4612 * elmo2.el (toplevel): Ditto.
4613 * mmelmo-imap4.el (toplevel): Ditto.
4614 * mmelmo.el (toplevel): Ditto.
4616 * elmo-version.el (elmo-version): Move to top.
4618 * elmo-cache.el (toplevel): Fixed multiple Author header format.
4619 * elmo-imap4.el (toplevel): Ditto.
4620 * elmo-localdir.el (toplevel): Ditto.
4621 * elmo-msgdb.el (toplevel): Ditto.
4622 * elmo-nntp.el (toplevel): Ditto.
4623 * elmo-pop3.el (toplevel): Ditto.
4624 * elmo-version.el (toplevel): Ditto.
4626 * elmo-localnews.el (toplevel): Added Keyword header.
4628 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
4630 * elmo-version.el (product-version-as-string): Defined using
4634 * elmo-localdir.el (toplevel): Updated copyright notice.
4635 * elmo-version.el (toplevel): Ditto.
4636 * elmo-msgdb.el (toplevel): Ditto.
4637 * elmo-imap4.el (toplevel): Ditto.
4638 * elmo-nntp.el (toplevel): Ditto.
4639 * elmo-pop3.el (toplevel): Ditto.
4641 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
4643 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
4646 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
4647 parameter value (It sometimes contains raw kanji).
4649 2000-10-28 Kenichi OKADA <okada@opaopa.org>
4651 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
4652 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
4654 2000-10-28 Kenichi OKADA <okada@opaopa.org>
4656 * elmo-imap4.el (elmo-network-initialize-session): Fix.
4658 2000-10-28 Kenichi OKADA <okada@opaopa.org>
4660 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
4661 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
4663 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
4665 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
4666 value if selecting folder succceeded.
4667 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
4669 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
4671 * elmo-util.el (elmo-make-directory): Fixed permission lateral
4674 * elmo-util.el (elmo-string-matched-member): New function.
4676 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
4678 * elmo-util.el (elmo-unintern): New macro.
4679 (elmo-number-set-member): Fixed docstring.
4681 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
4684 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
4686 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
4687 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
4689 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
4691 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
4694 Return non-nil if selecting folder succeeded.
4695 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
4697 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
4699 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
4700 `file-name-completion' returns t.
4701 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
4702 (elmo-maildir-set-mark): Put `info' part to the files in the cur
4703 directory if it does not exist.
4704 (elmo-maildir-update-current): Use `while' instead of `mapcar'
4707 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
4709 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
4710 enclosure (It's harmful in unplugged status).
4712 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
4714 * mmelmo-1.el: Removed.
4716 * mmelmo-2.el: Ditto.
4718 * mmelmo-imap4-1.el: Ditto.
4720 * mmelmo-imap4-2.el: Ditto.
4722 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
4724 * mmelmo.el: Merged mmelmo-2.el.
4726 * elmo-version.el (elmo-version): Up to 2.3.92.
4728 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
4730 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
4731 elmo-update-number): Remove last period in "...done." message.
4732 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
4734 * elmo-cache.el (elmo-cache-expire-by-size,
4735 elmo-cache-get-sorted-cache-file-list,
4736 elmo-cache-msgdb-create-as-numlist): Ditto.
4737 * elmo-dop.el (elmo-dop-save-pending-messages,
4738 (elmo-dop-flush-pending-append-operations): Ditto.
4739 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
4740 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
4741 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
4742 (elmo-localdir-pack-number): Ditto.
4743 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
4744 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
4745 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
4746 mime-write-entity-content): Ditto.
4747 * pldap.el (ldap-search-basic): Ditto.
4749 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
4751 * elmo-version.el (elmo-version): Up to 2.3.91.
4753 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
4754 Only when filter is 'last'.
4756 * elmo-util.el (elmo-condition-atom-regexp): New constant.
4757 (elmo-condition-parse-search-value): Use it.
4758 (elmo-read-search-condition-internal): Quote value only when
4761 2000-10-18 Kenichi OKADA <okada@opaopa.org>
4763 * elmo2.el (elmo-generic-folder-diff): Fix.
4765 2000-10-17 Kenichi OKADA <okada@opaopa.org>
4767 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
4768 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
4769 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
4770 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
4771 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
4772 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
4774 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
4776 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
4779 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
4781 * elmo-version.el (elmo-version): Up to 2.3.90.
4783 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
4784 (elmo-imap4-list-folder-important): Ditto.
4786 2000-10-16 Kenichi OKADA <okada@opaopa.org>
4788 * elmo-nntp.el (elmo-network-initialize-session): Fix.
4790 2000-10-16 Kenichi OKADA <okada@opaopa.org>
4792 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
4794 2000-10-15 Kenichi OKADA <okada@opaopa.org>
4796 * elmo-nntp.el (elmo-network-initialize-session):
4797 Add starttls negotiation.
4799 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
4801 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
4803 (elmo-network-setup-session): Define.
4804 Call `elmo-nntp-send-mode-reader' when session opened.
4806 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
4808 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
4810 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
4812 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
4813 an invalid SPACE character ahead of `SEARCH' command. Move
4814 a valid SPACE character following `SEARCH' from conditional
4815 `format' arguments to control-strings.
4817 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
4819 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
4822 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
4824 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
4826 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
4827 `w32-get-true-file-link-count' as t.
4829 * elmo-imap4.el (elmo-imap4-read): Abolished.
4830 (Renamed to `elmo-read' and moved to elmo-util.el)
4831 All other related portions are changed.
4833 * elmo-util.el (elmo-read): New function.
4834 (elmo-condition-parse-search-value): Use it.
4836 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
4838 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
4840 * elmo-nntp.el (elmo-nntp-session): Define.
4841 (elmo-nntp-setting): Abolished.
4842 All other related portions are changed.
4843 (elmo-nntp-get-server-command): Changed argument.
4844 (elmo-nntp-set-server-command): Ditto.
4845 (elmo-nntp-xover-p): Ditto.
4846 (elmo-nntp-set-xover): Ditto.
4847 (elmo-nntp-listgroup-p): Ditto.
4848 (elmo-nntp-set-listgroup): Ditto.
4849 (elmo-nntp-list-active-p): Ditto.
4850 (elmo-nntp-set-list-active): Ditto.
4851 (elmo-nntp-xhdr-p): Ditto.
4852 (elmo-nntp-set-xhdr): Ditto.
4853 (elmo-nntp-flush-connection): Abolished.
4854 (elmo-nntp-get-connection): Abolished.
4855 (elmo-nntp-get-session): New function.
4856 (elmo-network-initialize-session): Defined.
4857 (elmo-network-authenticate-session): Ditto.
4858 (elmo-nntp-send-mode-reader): Changed argument.
4859 (elmo-nntp-send-command): Changed argument.
4860 All other related portions are changed.
4861 (elmo-nntp-read-response): Ditto.
4862 (elmo-nntp-read-raw-response): Ditto.
4863 (elmo-nntp-read-contents): Ditto.
4864 (elmo-nntp-read-body): Ditto.
4865 (elmo-nntp-goto-folder): Abolished.
4866 (elmo-nntp-select-group): New function.
4867 All other related portions are changed.
4868 (This function substitutes `elmo-nntp-goto-folder')
4869 (elmo-nntp-msgdb-create-by-header): Rewrite.
4870 (elmo-nntp-get-overview): Eliminated.
4871 (elmo-nntp-get-message): Ditto.
4872 (elmo-nntp-open-connection) Abolished.
4873 (elmo-nntp-read-msg): Rewrite.
4874 (elmo-nntp-post): Ditto.
4875 (elmo-nntp-send-data): Abolished.
4876 (elmo-nntp-send-buffer): New function.
4877 (elmo-nntp-send-data-line): Define as inline function.
4878 (elmo-nntp-get-folders-info-prepare): Use session as key.
4879 (elmo-nntp-groups-read-response): Changed argument.
4880 (elmo-nntp-retrieve-headers): Ditto.
4881 (elmo-nntp-msgdb-create-message): Ditto.
4883 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
4884 when searching by 'since' or 'before'.
4886 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
4888 * elmo-version.el (toplevel): Use product-version-as-string for set
4889 verstion-string, if defined.
4891 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
4893 * elmo-util.el: Doc fixes.
4895 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
4897 * elmo-archive.el (toplevel): Use product-provide.
4898 * elmo-cache.el (toplevel): Ditto.
4899 * elmo-database.el (toplevel): Ditto.
4900 * elmo-date.el (toplevel): Ditto.
4901 * elmo-dop.el (toplevel): Ditto.
4902 * elmo-filter.el (toplevel): Ditto.
4903 * elmo-imap4.el (toplevel): Ditto.
4904 * elmo-internal.el (toplevel): Ditto.
4905 * elmo-localdir.el (toplevel): Ditto.
4906 * elmo-localnews.el (toplevel): Ditto.
4907 * elmo-maildir.el (toplevel): Ditto.
4908 * elmo-msgdb.el (toplevel): Ditto.
4909 * elmo-multi.el (toplevel): Ditto.
4910 * elmo-net.el (toplevel): Ditto.
4911 * elmo-nntp.el (toplevel): Ditto.
4912 * elmo-pipe.el (toplevel): Ditto.
4913 * elmo-pop3.el (toplevel): Ditto.
4914 * elmo-util.el (toplevel): Ditto.
4915 * elmo-vars.el (toplevel): Ditto.
4916 * elmo2.el (toplevel): Ditto.
4917 * mmelmo-1.el (toplevel): Ditto.
4918 * mmelmo-2.el (toplevel): Ditto.
4919 * mmelmo-imap4-1.el (toplevel): Ditto.
4920 * mmelmo-imap4-2.el (toplevel): Ditto.
4921 * mmelmo-imap4.el (toplevel): Ditto.
4922 * mmelmo.el (toplevel): Ditto.
4924 2000-10-10 Kenichi OKADA <okada@opaopa.org>
4926 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
4927 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
4929 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
4931 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
4933 (elmo-multi-split-number-alist): Ditto.
4935 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
4937 * elmo-version.el: New file. Use product.el.
4938 * elmo2.el: Add (require 'elmo-version).
4939 * elmo-vars.el (elmo-appname, elmo-version): Move to
4942 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
4944 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
4945 `elmo-msgdb-expand-path'.
4946 (elmo-msgdb-load): Ditto.
4947 Abolished 2nd argument. If 1st argument is not string, treat as spec.
4948 (elmo-generic-list-folder-unread): Rewrite.
4949 (elmo-generic-list-folder-important): Changed argument.
4950 (elmo-list-folder-unread): Ditto.
4951 (elmo-list-folder-important): Ditto.
4952 (elmo-folder-diff): Rewrite.
4953 (elmo-generic-folder-diff): New function.
4954 (elmo-multi-get-number-alist-list): Abolished
4955 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
4956 (elmo-multi-folder-diff): Moved to elmo-multi.el
4957 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
4959 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
4960 `elmo-msgdb-expand-path'.
4961 (elmo-pop3-msgdb-create-as-numlist): Ditto.
4962 (elmo-pop3-read-msg): Ditto.
4963 (elmo-pop3-delete-msgs): Ditto.
4964 (elmo-pop3-folder-diff): New alias.
4966 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
4967 `elmo-msgdb-expand-path'.
4968 (elmo-pipe-list-folder-unread): Changed arguments.
4969 (elmo-pipe-list-folder-important): Ditto.
4970 (elmo-pipe-folder-diff): New alias.
4972 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
4973 `elmo-msgdb-expand-path'.
4974 (elmo-nntp-max-of-folder): Ditto.
4975 (elmo-nntp-msgdb-create): Ditto.
4976 (elmo-nntp-delete-msgs): Ditto.
4977 (elmo-nntp-folder-diff): New alias.
4979 * elmo-multi.el (elmo-multi-folder-diff): New function.
4980 (elmo-multi-split-mark-alist): Ditto.
4981 (elmo-multi-split-number-alist): Ditto.
4982 (elmo-multi-mark-alist-list): Abolished (Renamed to
4983 elmo-multi-split-mark-alist).
4984 (elmo-multi-list-folder-unread): Rewrite.
4985 (elmo-multi-list-folder-important): Ditto.
4986 (elmo-multi-list-folder): Set `spec' as 1st argument for
4987 `elmo-msgdb-expand-path'.
4988 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
4989 instead of `elmo-multi-get-number-alist-list'.
4991 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
4992 If 1st argument is not string, treat as spec.
4993 (elmo-list-folder-by-location): Set `spec' as 1st argument for
4994 `elmo-msgdb-expand-path'.
4995 (elmo-msgdb-flist-load): Ditto.
4996 (elmo-msgdb-flist-save): Ditto.
4997 (elmo-msgdb-delete-path): Ditto.
4998 (elmo-msgdb-rename-path): Ditto.
5000 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
5001 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5002 (elmo-maildir-delete-mark-msgs): Ditto.
5003 (elmo-maildir-msgdb-create): Ditto.
5004 (elmo-maildir-read-msg): Ditto.
5005 (elmo-maildir-delete-msgs): Ditto.
5006 (elmo-maildir-list-folder-subr): Ditto.
5007 (elmo-maildir-search): Ditto.
5008 (elmo-maildir-get-msg-filename): Ditto.
5009 (elmo-maildir-pack-number): Ditto.
5010 (elmo-maildir-folder-diff): New alias.
5012 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
5014 * elmo-localdir.el (elmo-localdir-list-folder-subr):
5015 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5016 (elmo-localdir-folder-diff): New alias.
5018 * elmo-internal.el (elmo-internal-list-folder-subr):
5019 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5020 (elmo-internal-list-folder-by-location): Ditto.
5021 (elmo-internal-msgdb-create): Ditto.
5022 (elmo-internal-delete-msgs): Ditto.
5023 (elmo-internal-read-msg): Ditto.
5024 (elmo-internal-folder-diff): New alias.
5026 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
5027 (elmo-imap4-list-folder): Set `spec' as 1st argument for
5028 `elmo-msgdb-expand-path'.
5029 (elmo-imap4-list-folder-unread): Changed arguments.
5030 (elmo-imap4-list-folder-important): Ditto.
5032 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
5033 (elmo-filter-list-folder-important): Ditto.
5034 (elmo-filter-folder-diff): New function.
5036 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
5038 * elmo-cache.el (elmo-cache-list-folder):
5039 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5040 (elmo-cache-copy-msgs): Ditto.
5041 (elmo-cache-folder-diff): New alias.
5043 * elmo-archive.el (elmo-archive-list-folder-subr):
5044 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
5045 (elmo-archive-get-archive-name): Ditto.
5046 (elmo-archive-create-file): Ditto.
5047 (elmo-archive-append-msg): Ditto.
5048 (elmo-archive-copy-msgs): Ditto.
5049 (elmo-archive-copy-msgs-froms): Ditto.
5050 (elmo-archive-get-msg-filename): Ditto.
5051 (elmo-archive-folder-diff): New alias.
5053 2000-10-06 Daiki Ueno <ueno@unixuser.org>
5055 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
5056 (elmo-pop3-stream-type-alist): New variable.
5057 (elmo-nntp-stream-type-alist): New variable.
5059 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
5060 (elmo-kill-buffer): Ditto.
5061 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
5062 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
5063 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
5064 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
5065 (elmo-imap4-get-spec): Take into account
5066 `elmo-imap4-stream-type-alist'.
5068 2000-10-06 Kenichi OKADA <okada@opaopa.org>
5070 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
5071 (elmo-nntp-list-folders-get-cache): Ditto.
5073 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
5075 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
5076 character before 'uid'.
5078 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
5080 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
5082 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
5084 * elmo-util.el (elmo-number-set-member): New function.
5085 (elmo-number-set-append-list): Ditto.
5086 (elmo-number-set-append): Ditto.
5088 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
5089 Use `elmo-number-set-member'.
5090 (elmo-living-messages): Ditto.
5091 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
5092 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
5094 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
5095 (elmo-imap4-add-to-cont-list): Abolished.
5096 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
5097 instead of elmo-imap4-add-to-cont-list.
5099 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
5100 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
5102 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
5104 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5106 * elmo-util.el (elmo-condition-parse-search-value):
5109 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
5111 * elmo-util.el (elmo-condition-find-key-internal): New function.
5112 (elmo-condition-find-key): Ditto.
5114 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
5115 (elmo-msgdb-search-internal): Ditto.
5116 (elmo-msgdb-search): Ditto.
5118 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
5120 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
5121 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
5123 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
5124 (elmo-nntp-search-primitive): Fixed problem when condition is
5127 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
5129 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
5130 (elmo-nntp-xhdr-p): New macro.
5131 (elmo-nntp-set-xhdr): Ditto.
5132 (elmo-nntp-parse-xhdr-response): New function.
5133 (elmo-nntp-retrieve-field): Ditto.
5134 (elmo-nntp-search-primitive): Ditto.
5135 (elmo-nntp-search): Implemented.
5137 * elmo-date.el (elmo-date-make-sortable-string): New macro.
5139 * elmo-archive.el (elmo-archive-search): Set all number list to
5140 `elmo-archive-field-condition-match'
5142 * elmo-localdir.el (elmo-localdir-search): Likewise.
5144 * elmo-maildir.el (elmo-maildir-search): Likewise.
5146 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
5148 * elmo-msgdb.el (elmo-living-messages): New function.
5149 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
5150 * elmo-cache.el (elmo-cache-list-folder): Ditto.
5151 * elmo-dop.el (elmo-dop-list-folder): Ditto.
5152 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
5153 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
5154 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
5155 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
5156 * elmo-multi.el (elmo-multi-list-folder): Ditto.
5157 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
5158 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
5159 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
5161 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
5163 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
5165 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
5167 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
5169 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5170 arguments for `SEARCH' command.
5171 (elmo-imap4-parse-string): Set `POS' argument for char-after.
5172 All other related portions are changed.
5174 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
5176 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
5177 (elmo-list-folder-unread): Rewrite.
5178 (elmo-list-folder-important): Ditto.
5180 * elmo-util.el (elmo-filter-get-spec): Rewrite.
5181 (elmo-condition-parse-error): New inline function.
5182 (elmo-read-search-condition): New function.
5183 (elmo-read-search-condition-internal): Ditto.
5184 (elmo-parse-search-condition): Rewrite.
5185 (elmo-condition-parse): New function.
5186 (elmo-condition-parse-or-expr): Ditto.
5187 (elmo-condition-parse-and-expr): Ditto.
5188 (elmo-condition-parse-primitive): Ditto.
5189 (elmo-condition-parse-search-value): Ditto.
5190 (elmo-buffer-field-primitive-condition-match): Ditto.
5191 (elmo-buffer-field-condition-match): Rewrite.
5192 (elmo-file-field-condition-match): Ditto.
5194 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
5195 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
5197 * elmo-internal.el (elmo-internal-search): Set `number' and
5198 `number-list' argument of `elmo-file-field-condition-match'.
5200 * elmo-maildir.el (elmo-maildir-search): Ditto.
5202 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
5203 `msgdb' as argument instead of `mark-alist'.
5204 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
5207 * elmo-multi.el: Likewise.
5209 * elmo-pipe.el: Likewise.
5211 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
5212 (elmo-imap4-search-internal): Rewrite.
5213 (elmo-imap4-search): Ditto.
5215 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
5216 (elmo-filter-list-folder-unread): Ditto.
5217 (elmo-filter-list-folder-important): Ditto.
5218 (elmo-filter-search): Rewrite.
5220 * elmo-cache.el (elmo-cache-search-all): Set `number' and
5221 `number-list' argument of `elmo-file-field-condition-match'.
5222 (elmo-cache-search): Ditto.
5224 * elmo-localdir.el: Likewise.
5226 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
5227 number-list and pass it to `elmo-buffer-field-condition-match'.
5228 (elmo-archive-field-condition-match): Pass `number-list' to
5229 `elmo-archive-field-condition-match'
5231 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
5233 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
5236 * elmo2.el (elmo-folder-diff-async-callback): New variable.
5237 (elmo-folder-diff-async-callback-data): Ditto.
5238 (elmo-folder-diff-async): New function.
5240 * elmo-net.el (elmo-network-session-name-prefix): New variable.
5241 (elmo-network-session-cache-key): Use it as a prefix of the session
5243 (elmo-network-open-session): Ditto.
5245 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
5246 (elmo-imap4-status-callback-data): Ditto.
5247 (elmo-imap4-server-diff-async-callback): New variable.
5248 (elmo-imap4-server-diff-async-callback-data): Ditto.
5249 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
5250 `elmo-imap4-status-callback-data'.
5251 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
5252 `elmo-imap4-status-callback-data' as nil.
5253 (elmo-imap4-server-diff): Ditto.
5254 (elmo-imap4-server-diff-async-callback-1): New function.
5255 (elmo-imap4-server-diff-async): Ditto.
5256 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
5258 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
5260 * elmo-util.el (elmo-list-delete): Doc fix.
5261 (elmo-delete-lists): Abolish.
5262 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
5263 instead of `elmo-delete-lists'.
5265 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
5267 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
5270 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
5272 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
5273 `elmo-imap4-literal-subr'.
5274 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
5275 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
5277 2000-09-15 Kenichi OKADA <okada@opaopa.org>
5279 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
5280 (elmo-archive-list-folder): Fix.
5281 (elmo-archive-max-of-folder): Fix.
5283 2000-09-15 Kenichi OKADA <okada@opaopa.org>
5285 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
5286 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
5287 (elmo-localdir-append-msg): Ditto.
5288 (elmo-localdir-list-folder): Fix for `nonsort'.
5289 (elmo-localdir-list-folder-subr): Fix for `killed'.
5290 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
5291 (elmo-maildir-list-folder-subr): Ditto.
5292 * elmo-archive.el (elmo-archive-list-folder): Ditto.
5293 (elmo-archive-list-folder-subr): Ditto.
5294 * elmo-internal.el (elmo-internal-list-folder): Ditto.
5295 (elmo-internal-list-folder-subr): Ditto.
5297 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
5299 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
5301 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
5303 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
5305 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
5307 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
5308 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
5310 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
5312 (elmo-imap4-read-part): Use "body.peek" to fetch part.
5313 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
5315 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
5317 * mmelmo-imap4-2.el (mime-entity-children): Defined.
5319 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
5320 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
5321 before STORE command.
5323 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
5325 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
5327 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
5328 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
5330 (elmo-imap4-list-folders): Removed unused local variable.
5331 (elmo-network-initialize-session): Ditto.
5332 (elmo-imap4-delete-msg-by-id): Ditto.
5333 (elmo-imap4-parse-fetch): Ditto.
5334 (elmo-imap4-copy-msgs): Ditto.
5335 Use `dst-spec' instead of `dst-folder'.
5336 (elmo-network-authenticate-session): Check authenticate type `plain'.
5338 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
5340 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
5342 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
5343 `elmo-imap4-response-value'.
5344 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
5346 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
5348 * elmo-imap4.el (elmo-imap4-send-command):
5349 Cause elmo-imap4-bye-error when current response is BYE.
5350 (elmo-imap4-arrival-filter): Changed greeting response value.
5352 * elmo2.el (elmo-imap4-bye-error): Define.
5354 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
5355 (elmo-imap4-server-diff): Ditto.
5356 (elmo-imap4-response-bye-p): New macro.
5357 (elmo-imap4-response-error-text): Get text from BYE response.
5358 (elmo-imap4-read-response): Return if BYE response.
5359 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
5360 (elmo-imap4-folder-exists-p): Ditto.
5361 (elmo-imap4-commit): Do nothing when different mailbox is selected.
5362 (elmo-imap4-parse-bye): New function.
5363 (elmo-imap4-parse-response): Remove needless let.
5364 Call `elmo-imap4-parse-bye'.
5366 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
5368 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
5369 the mailbox does not exist.
5370 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
5372 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
5374 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
5376 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
5378 * elmo-vars.el (elmo-search-mime-charset): Abolished.
5380 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
5381 (elmo-network-initialize-session-buffer): Defined.
5383 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
5385 (mmelmo-imap4-get-mime-entity): Rewrite.
5387 * elmo2.el (elmo-error): Capitalize error message.
5389 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
5390 (elmo-network-session-buffer): New macro.
5391 (elmo-network-open-session): Use it.
5393 * elmo-imap4.el: Rewrite.
5395 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
5397 * elmo-nntp.el (Toplevel): Require 'elmo-net.
5399 2000-08-27 Daiki Ueno <ueno@unixuser.org>
5401 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
5402 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
5403 (elmo-imap4-create-msgdb-from-overview-string): Use
5404 `elmo-msgdb-create-overview-from-buffer'.
5406 2000-08-26 Daiki Ueno <ueno@unixuser.org>
5408 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
5409 (elmo-imap4-default-hierarchy-delimiter): New variable.
5410 (elmo-imap4-list-folders): Use it.
5412 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
5414 * elmo-net.el (elmo-network-open-session): Add user and
5415 stream-type for process-buffer name.
5417 * elmo-pop3.el (elmo-network-initialize-session): Call
5418 buffer-disable-undo.
5420 * elmo-imap4.el (elmo-network-initialize-session):
5421 Set current-buffer as an argument for `buffer-disable-undo'.
5423 * elmo-pop3.el (elmo-network-close-session): Don't use
5426 * elmo-vars.el (elmo-default-pop3-authenticate-type):
5427 Set default as 'user.
5429 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
5431 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
5432 and `elmo-imap4-flush-connection'.
5434 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
5435 (elmo-pop3-get-spec): Assume auth as symbol.
5436 (elmo-open-network-stream): Moved to `elmo-net'.
5438 * elmo-pop3.el (toplevel): Require 'elmo-net.
5439 Define `sasl-cram-md5' to silence byte compilier.
5440 (elmo-pop3-connection-cache) Abolished.
5441 (elmo-pop3-authenticator-alist) New variable.
5442 (elmo-pop3-session): Define.
5443 (elmo-pop3-connection-get-process): Abolished.
5444 (elmo-pop3-connection-get-buffer): Ditto.
5445 (elmo-pop3-close-connection): Ditto.
5446 (elmo-pop3-flush-connection): Ditto.
5447 (elmo-pop3-get-connection): Ditto.
5448 (elmo-pop3-get-session): New function.
5449 (Replacement for `elmo-pop3-get-connection').
5450 All other related modules are changed.
5451 (elmo-network-close-session): Define.
5452 (elmo-pop3-send-command): Abolished argument `buffer'.
5453 All other related modules are changed.
5454 (elmo-pop3-read-response): Likewise.
5455 (elmo-pop3-open-connection): Abolished.
5456 (elmo-pop3-auth-user): New function.
5457 (elmo-pop3-auth-apop): Ditto.
5458 (elmo-pop3-auth-cram-md5): Ditto.
5459 (elmo-pop3-auth-scram-md5): Ditto.
5460 (elmo-pop3-auth-digest-md5): Ditto.
5461 (elmo-network-initialize-session): Define.
5462 (elmo-network-authenticate-session): Ditto.
5463 (elmo-network-setup-session): Ditto.
5465 * elmo-imap4.el (toplevel): Require 'elmo-net.
5466 (elmo-imap4-session): Define.
5467 (elmo-imap4-connection-cache): Abolished.
5468 (elmo-imap4-password-key): Ditto.
5469 (elmo-imap4-flush-connection): Ditto.
5470 (elmo-imap4-get-connection): Ditto.
5471 All other related modules are changed.
5472 (elmo-imap4-get-session): New function
5473 (Replacement for `elmo-imap4-get-connection').
5474 (elmo-imap4-read-response): Abolished argument `buffer'.
5475 All other related modules are changed.
5476 (elmo-imap4-send-command): Likewise.
5477 (elmo-imap4-select-folder): Abolished.
5478 All other related modules are changed.
5479 (elmo-imap4-select-mailbox): New function.
5480 (Replacement for `elmo-imap4-select-folder').
5481 (elmo-imap4-auth-login): Simplify.
5482 (Assume current buffer as process buffer)
5483 (elmo-imap4-auth-cram-md5): Ditto.
5484 (elmo-imap4-auth-digest-md5): Ditto.
5485 (elmo-imap4-login): Ditto.
5486 (elmo-imap4-open-connection): Abolished.
5487 (elmo-imap4-open-connection-1): Abolished.
5488 (elmo-network-initialize-sessoin): Define.
5489 (elmo-network-authenticate-session): Ditto.
5490 (elmo-network-setup-session): Ditto.
5492 * elmo-net.el: New module.
5494 2000-08-22 Daiki Ueno <ueno@unixuser.org>
5496 * elmo-util.el (elmo-define-error): New function.
5498 * elmo2.el (elmo-error): Define.
5499 (elmo-open-error): Define.
5500 (elmo-authenticate-error): Define.
5502 * elmo-imap4.el (elmo-imap4-error): Abolish.
5503 (elmo-imap4-error-type): Abolish.
5504 (elmo-imap4-error-process): Abolish.
5505 (elmo-imap4-error-message): Abolish
5506 (elmo-imap4-list-folders): Don't quote lambda.
5507 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
5508 (elmo-imap4-parse-namespace): Ditto.
5509 (elmo-imap4-open-connection): Rewrite.
5510 (elmo-imap4-open-connection-1): Simplified (authenticate only).
5511 (elmo-imap4-get-connection): Abolish local variable `result'.
5513 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
5515 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
5516 wrong-type-argument error when auth is nil.
5518 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
5520 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
5521 (elmo-default-nntp-stream-type): Ditto.
5522 (elmo-default-pop3-stream-type): Ditto.
5523 (elmo-network-stream-type-alist): Ditto.
5524 (elmo-default-imap4-ssl): Abolished.
5525 (elmo-default-nntp-ssl): Ditto.
5526 (elmo-default-pop3-ssl): Ditto.
5528 * elmo-util.el: (toplevel): Removed needless requires.
5529 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
5530 (elmo-open-network-stream): Open network stream according to
5531 the value of `elmo-network-stream-type-alist'.
5532 (elmo-get-network-stream-type): New function.
5533 (elmo-network-stream-type-spec-string): New macro.
5534 (elmo-network-stream-type-symbol): Ditto.
5535 (elmo-network-stream-type-function): Ditto.
5537 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
5538 network-stream-type. All other related portions are changed.
5539 (elmo-pop3-open-connection): Ditto.
5541 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
5542 network-stream-type. All other related portions are changed.
5544 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
5545 network-stream-type.All other related portions are changed.
5546 (elmo-imap4-error): New macro.
5547 (elmo-imap4-error-type): Ditto.
5548 (elmo-imap4-error-process): Ditto.
5549 (elmo-imap4-error-message): Ditto.
5550 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
5551 (elmo-imap4-auth-cram-md5): Ditto.
5552 (elmo-imap4-auth-digest-md5): Ditto.
5553 (elmo-imap4-login): Ditto.
5554 (elmo-imap4-open-connection): Remove password entry if authentication
5556 (elmo-imap4-user-at-host): Abolished.
5557 (elmo-imap4-password-key): New buffer local variable.
5558 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
5559 using protocol, port, auth and stream-type.
5561 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
5563 2000-08-13 Daiki Ueno <ueno@unixuser.org>
5565 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
5567 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
5569 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
5570 (elmo-imap4-authenticator-alist): New variable.
5571 (elmo-imap4-open-connection-1): Rename from
5572 elmo-imap4-open-connection.
5573 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
5574 only wraps elmo-imap4-open-connection-1.
5575 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
5577 (elmo-imap4-auth-login): New function.
5578 (elmo-imap4-auth-cram-md5): New function.
5579 (elmo-imap4-auth-digest-md5): New function.
5580 (elmo-imap4-login): New function.
5582 2000-08-12 Kenichi OKADA <okada@opaopa.org>
5584 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
5587 2000-08-12 Kenichi OKADA <okada@opaopa.org>
5589 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
5591 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
5593 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
5595 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
5597 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
5598 for server responses, quote `*' regardless of where it appears.
5600 2000-08-03 Kenichi OKADA <okada@opaopa.org>
5602 * elmo-maildir.el (elmo-maildir-commit): New alias.
5604 2000-08-03 Kenichi OKADA <okada@opaopa.org>
5606 * elmo-util.el (elmo-display-progress):
5607 Use `progress-feedback-with-label'.
5609 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
5611 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
5612 (elmo-imap4-non-atom-char-regex): Ditto.
5613 (elmo-imap4-non-text-char-regex): Ditto.
5614 (elmo-imap4-literal-threshold): Ditto.
5615 (elmo-imap4-atom-p): New function.
5616 (elmo-imap4-quotable-p): Ditto.
5617 (elmo-imap4-nil): Ditto.
5618 (elmo-imap4-atom): Ditto.
5619 (elmo-imap4-quoted): Ditto.
5620 (elmo-imap4-literal-subr): Ditto.
5621 (elmo-imap4-literal): Ditto.
5622 (elmo-imap4-buffer-literal): Ditto.
5623 (elmo-imap4-string-subr): Ditto.
5624 (elmo-imap4-string): Ditto.
5625 (elmo-imap4-buffer-string): Ditto.
5626 (elmo-imap4-astring-subr): Ditto.
5627 (elmo-imap4-astring): Ditto.
5628 (elmo-imap4-buffer-astring): Ditto.
5629 (elmo-imap4-nstring): Ditto.
5630 (elmo-imap4-buffer-nstring): Ditto.
5631 (elmo-imap4-mailbox): New alias.
5632 (elmo-imap4-field-body): Ditto.
5633 (elmo-imap4-userid): Ditto.
5634 (elmo-imap4-password): Ditto.
5635 (elmo-imap4-format-quoted): New function.
5636 (elmo-imap4-send-command): Rewritten. Accept a list of command
5637 arguments and handle "atom", "quoted" and "literal" string here.
5638 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
5639 `elmo-imap4-send-command'.
5640 (elmo-imap4-folder-exists-p): Likewise.
5641 (elmo-imap4-create-folder): Likewise.
5642 (elmo-imap4-delete-folder): Likewise.
5643 (elmo-imap4-rename-folder): Likewise.
5644 (elmo-imap4-max-of-folder): Likewise.
5645 (elmo-imap4-check-validity): Likewise.
5646 (elmo-imap4-sync-validity): Likewise.
5647 (elmo-imap4-server-diff): Likewise.
5648 (elmo-imap4-select-folder): Likewise.
5649 (elmo-imap4-copy-msgs): Likewise.
5650 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
5651 (elmo-imap4-mark-set-on-msgs): Likewise.
5652 (elmo-imap4-read-part): Likewise.
5653 (elmo-imap4-read-msg): Likewise.
5654 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
5655 `elmo-imap4-password' for `elmo-imap4-send-command'.
5656 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
5657 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
5658 `elmo-imap4-buffer-literal'.
5659 (elmo-imap4-append-msg): Likewise.
5661 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
5662 `delete' for removing dead connection from the connection cache.
5663 Move deletion of the process buffer after that.
5664 (elmo-imap4-list): Change `defsubst' to `defun'.
5665 (elmo-imap4-commit): Make error message verbose.
5666 (elmo-imap4-search): Ditto.
5667 (elmo-imap4-list): Ditto.
5668 (elmo-imap4-select-folder): Ditto.
5669 (elmo-imap4-copy-msgs): Ditto.
5670 (elmo-imap4-delete-msg-by-id): Ditto.
5671 (elmo-imap4-append-msg-by-id): Ditto.
5672 (elmo-imap4-append-msg): Ditto.
5674 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
5676 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
5677 when dired is used on XEmacs.
5679 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
5681 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
5682 instead of `append'.
5683 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
5684 `elmo-plugged-p' directly.
5685 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
5686 of `elmo-plugged-p' directly.
5688 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
5689 Eliminate unused variable. Use `memq' for checking a process status.
5690 Use `cons' instead of `append' for updating the connection cache.
5691 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
5692 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
5694 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
5696 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
5697 `elmo-imap4-read-point' exactly.
5699 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
5700 the local variable `folder' to `mailbox'.
5701 Rename the argument `fld' to `folder'.
5703 2000-07-20 Kenichi OKADA <okada@opaopa.org>
5705 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
5706 * elmo-imap4.el (elmo-imap4-commit): Ditto.
5708 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
5710 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
5711 (elmo-pop3-number-uidl-hash): New buffer-local variable.
5712 (elmo-pop3-uidl-number-hash): Ditto.
5713 (elmo-pop3-size-hash): Ditto.
5714 (elmo-pop3-uidl-done): Ditto.
5715 (elmo-pop3-list-done): Ditto.
5716 (elmo-pop3-connection-get-process): New defmacro.
5717 (elmo-pop3-connection-get-buffer): Ditto.
5718 (elmo-pop3-close-connection): Delete buffer and process.
5719 (elmo-pop3-flush-connection): Don't delete buffer and process.
5720 (elmo-pop3-get-connection): Added optional argument `if-exists'.
5721 Setup UIDL and size hash.
5722 (elmo-pop3-send-command-no-erase): Deleted
5723 (elmo-pop3-send-command): Added optional argument `no-erase'.
5724 (elmo-pop3-parse-uidl-response): New function.
5725 (elmo-pop3-parse-list-response): Set size hash.
5726 (elmo-pop3-list-location): New function.
5727 (elmo-pop3-list-by-uidl-subr): Ditto.
5728 (elmo-pop3-list-by-list): Ditto.
5729 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
5730 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
5731 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
5732 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
5733 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
5735 (elmo-pop3-uidl-to-number): New function.
5736 (elmo-pop3-number-to-uidl): Ditto.
5737 (elmo-pop3-number-to-size): Ditto.
5738 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
5739 Set number by use of uidl.
5740 (elmo-pop3-msgdb-create-message): Likewise.
5741 Set size, loc-alist in msgdb.
5742 (elmo-pop3-read-msg): Set number by use of uidl.
5743 Added optional argument `msgdb'.
5744 (elmo-pop3-delete-msg): Ditto.
5745 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
5746 (elmo-pop3-commit): Close connection.
5748 * elmo-pipe.el (elmo-pipe-max-of-folder):
5749 Bind `elmo-pop3-use-uidl' as nil.
5750 (elmo-pipe-drain): Ditto.
5753 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
5754 (elmo-msgdb-overview-entity-set-size): New defsubst.
5756 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
5758 * elmo-vars.el (elmo-use-killed-list): New variable
5759 (Renamed from `elmo-nntp-use-killed-list').
5760 (elmo-nntp-use-killed-list): Eliminated.
5762 * elmo-msgdb.el (elmo-msgdb-expand-path):
5763 Changed expanding msgdb path for elmo-multi.
5765 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
5766 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
5767 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
5768 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
5769 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
5770 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
5771 (toplevel): Deleted time-stamp line.
5773 * elmo2.el (elmo-clear-killed ): Defined as function
5774 (Abolished defining as a backend function).
5775 All other related modules are changed.
5777 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
5779 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
5781 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
5783 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
5785 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
5787 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
5789 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
5791 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
5792 asynchronous folder check.
5794 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
5796 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
5797 `elmo-nntp-use-killed-list'.
5798 (elmo-nntp-list-folder): Use killed list.
5799 (elmo-nntp-max-of-folder): Ditto.
5800 (elmo-nntp-msgdb-create): Set killed list.
5802 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
5804 * elmo2.el (elmo-clear-killed): New backend function.
5805 All other related modules are changed.
5807 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
5809 * elmo-util.el (elmo-imap4-spec-folder): Use
5810 `elmo-imap4-spec-mailbox'; Mark as obsolete.
5811 All callers changed.
5813 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
5815 * mmelmo-2.el (initialize-instance):
5816 Use `mime-buffer-entity-buffer-internal' instead of
5817 `mime-entity-buffer'.
5819 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
5820 (mime-entity-body): Implemented.
5821 (mime-goto-header-start-point): Deleted.
5822 (mime-goto-body-end-point): Ditto.
5823 (mime-entity-point-min): Ditto.
5824 (mime-entity-point-max): Ditto.
5825 (mime-entity-children): Ditto.
5826 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
5827 instead of `mime-entity-buffer'.
5828 (mime-entity-header-buffer): Ditto.
5829 (mime-entity-body-buffer): Ditto.
5830 (mime-write-entity-content): Ditto.
5832 * pldap.el (ldap-static-if): New macro.
5833 (toplevel): Use it instead of `static-if'.
5835 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
5837 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
5838 included in `attrs' argument.
5840 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
5842 * elmo-util.el (elmo-get-passwd): Use old backquote style.
5844 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
5845 (ldap-ldif-safe-init-char-regexp): Ditto.
5846 (ldap-ldif-safe-string-regexp): Ditto.
5847 (ldap/ldif-safe-string-p): New macro.
5848 (ldap/ldif-insert-field): Ditto.
5849 (ldap-modify): Use it.
5851 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
5852 (ldap-decode-attribute): Decode only when `attr' is consp.
5853 (ldap-delete): Bind `ret'.
5854 (toplevel): Require 'cl at compile time.
5855 Removed (require 'poe) and (require 'std11).
5856 (pldap-version): Eliminated.
5857 (ldap-search-basic): Removed auth and dn binding.
5858 (ldap-ldif-field-name-regexp): New constant.
5859 (ldap-ldif-field-head-regexp): Ditto.
5860 (ldap-ldif-next-field-head-regexp): Ditto.
5861 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
5862 (ldap/field-end): New function.
5863 (ldap/field-body): Use it.
5864 (ldap/collect-field): Ditto.
5865 (ldap-search-basic): Use `ldap/field-body'.
5867 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
5869 * pldap.el (ldap-default-attribute-encoder): New user option.
5870 (ldap/field-body): Decode base64 string.
5871 (ldap/collect-field): Ditto.
5872 (ldap-encode-attribute): New function.
5873 (ldap-add-entries): Use it.
5874 (ldap-modify-entries): Ditto.
5875 (ldap-search-entries): Enclosed decoding function with
5876 `with-temp-buffer' and set as unibyte.
5877 (ldap-search-basic): Set process buffer as unibyte.
5879 * elmo-util.el (elmo-folder-identical-system-p):
5880 Eliminated name space checking.
5882 * pldap.el: New module.
5883 toplevel: Changed condition to detect built-in ldap feature.
5884 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
5885 (ldap-add): Added error handling.
5886 (ldap-modify): Ditto.
5887 (ldap-delete): Ditto.
5889 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
5891 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
5892 Initialize local variables with `let'. Inline a temporary
5893 variable for the progress percentage. Sort `setq' to reduce
5894 function call in the while-loop.
5896 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
5897 into the conditional branch.
5899 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
5901 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
5902 Move a conditional out of the while-loop.
5904 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5906 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
5907 elmo-msgdb-overview-get-entity-by-number.
5908 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
5911 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
5913 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
5914 the local variable for a packed number self descriptively.
5916 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5918 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
5919 * elmo-localdir.el (elmo-localdir-pack-number): Use
5920 `elmo-msgdb-overview-get-entity' instead of
5921 `elmo-msgdb-overview-get-entity-by-number'.
5922 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
5923 (elmo-msgdb-search-overview-entity): Removed.
5924 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
5925 by message-id or number.
5926 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
5927 instead of `elmo-msgdb-overview-get-entity-by-number'.
5929 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5931 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
5932 non-nil, use hash table for overview.
5933 (elmo-hash-maximum-size): New variable.
5934 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
5935 (elmo-msgdb-make-overview-hashtb): New function.
5936 (elmo-msgdb-clear-overview-hashtb): New function.
5937 (elmo-clear-hash-val): New macro.
5938 All other related modules are changed.
5940 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
5942 * elmo2.el (elmo-move-msgs): If there's other message with
5943 same message-id, don't use cache.
5945 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
5947 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
5948 number is already packed.
5950 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
5952 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
5954 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5956 * elmo-vars.el (elmo-display-progress-threshold): New variable.
5957 All other related modules are changed.
5959 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
5961 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
5962 of refiling failure on Maildir.
5964 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5966 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
5967 decoded mime-charset with cache.
5968 (elmo-msgdb-overview-entity-get-from): Ditto.
5969 (elmo-msgdb-overview-entity-get-subject): Ditto.
5970 * elmo-vars.el (elmo-use-decoded-cache): New variable.
5972 2000-05-10 Kenichi OKADA <okada@opaopa.org>
5974 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
5975 (elmo-remove-passwd): Fill password with 0 before erase.
5976 * elmo-vars.el (elmo-passwd-life-time): New variable.
5979 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
5981 * elmo-cache.el (elmo-buffer-cache-add):
5982 Set message cache buffer as unibyte.
5984 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5986 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
5989 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
5991 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
5992 when display is finished.
5993 (elmo-nntp-msgdb-create): Ditto.
5994 (elmo-nntp-groups-read-response): Ditto.
5995 (elmo-nntp-retrieve-headers): Ditto.
5996 (elmo-nntp-msgdb-create-message): Ditto.
5997 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
5998 (elmo-pop3-msgdb-create-message): Ditto.
6000 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
6002 * elmo-maildir.el (elmo-maildir-msgdb-create):
6003 Use `elmo-msgdb-sort-by-date'.
6005 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
6007 * elmo2.el (elmo-read-msg-no-cache):
6008 Eliminated arguments after `outbuf'.
6009 Don't use cache even if it exists.
6010 (elmo-read-msg): Don't pass arguments after `outbuf' to
6011 `elmo-read-msg-no-cache'.
6013 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
6015 * elmo-archive.el (elmo-archive-list-folders):
6016 Use `file-name-directory' if base folder does not exist.
6018 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
6020 * elmo-archive.el (elmo-archive-list-folders): Don't use
6021 `file-name-directory'.
6023 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
6025 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
6026 If `force' is non-nil, try flushing all operation queues.
6028 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
6030 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
6033 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
6035 * elmo-util.el (elmo-display-progress): Fixed.
6037 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
6039 * elmo-util.el (elmo-display-progress): New function.
6040 All other related modules are changed.