1 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
3 * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
5 (elmo-folder-msgdb-create): Fixed read mark.
7 2003-07-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
9 * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
12 2003-07-17 Yuuichi Teranishi <teranisi@gohome.org>
14 * elmo.el (elmo-folder-list-message-entities): Define as inline
16 (elmo-folder-messages): Abolish.
18 * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
20 (elmo-folder-synchronize): Define.
21 (elmo-message-entity): Define.
23 2003-07-16 Yuuichi Teranishi <teranisi@gohome.org>
25 * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
26 elmo-imap4-session-select-mailbox.
28 * elmo.el (elmo-folder-move-messages): Don't display any message.
30 * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
32 (elmo-imap4-session-check): Don't wait CHECK response.
33 (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
35 2003-07-13 Yuuichi Teranishi <teranisi@gohome.org>
37 * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
39 2003-07-12 Yuuichi Teranishi <teranisi@gohome.org>
41 * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
43 * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
46 * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
47 (elmo-folder-list-message-entities): Added argument in-msgdb and
49 (elmo-folder-synchronize): Define as a method.
51 * elmo-nntp.el (elmo-folder-initialize): Don't use
52 elmo-nntp-default-user if zero-length username is specified
55 2003-07-06 Yoichi NAKAYAMA <yoichi@geiin.org>
57 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
58 server name in case with username.
59 (XXX: this is ad-hoc fix against username includes "@", it
60 should be solved fundamentally)
62 2003-07-05 Yoichi NAKAYAMA <yoichi@geiin.org>
64 * elmo-nntp.el (elmo-nntp-debug): New function.
65 (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
66 (elmo-network-authenticate-session): Hide auth-info from the log.
68 * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
69 user name if it is equal to elmo-nntp-default-user.
71 2003-06-07 Yuuichi Teranishi <teranisi@gohome.org>
73 * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
74 instead of shimbun-server-internal;
75 Use shimbun-current-group instead of shimbun-current-group-internal.
76 (elmo-folder-plugged-p): Use shimbun-server instead of
77 shimbun-server-internal.
78 (elmo-folder-set-plugged): Ditto.
79 (elmo-net-port-info): Ditto.
80 (elmo-folder-check): Ditto.
81 (elmo-folder-expand-msgdb-path): Ditto.
82 (elmo-folder-list-subfolders): Ditto.
84 2003-05-18 Yoichi NAKAYAMA <yoichi@geiin.org>
86 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
87 Convert field-name to lower case.
88 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
90 2003-05-12 Yoichi NAKAYAMA <yoichi@geiin.org>
92 * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
93 `message' and `error' take format string.
95 2003-04-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
97 * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
99 2003-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
101 * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
102 recursive call (can't byte compile on emacs 20.7).
104 2003-04-02 Yuuichi Teranishi <teranisi@gohome.org>
106 * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
107 (elmo-folder-list-message-entities): New API.
108 (elmo-message-entity): Ditto.
109 (elmo-message-entity-parent): Ditto.
110 (elmo-folder-do-each-message-entity): Ditto.
111 (elmo-message-entity-number): Ditto.
112 (elmo-message-entity-field): Ditto.
113 (elmo-message-entity-set-field): Ditto.
114 (elmo-folder-count-flags): Ditto.
115 (elmo-folder-length): Ditto.
117 * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
120 * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
121 (elmo-msgdb-count-marks): Abolish.
122 (elmo-msgdb-make-entity): Ditto.
123 (elmo-msgdb-do-each-entity): Ditto.
124 (elmo-msgdb-message-entity): New inline function.
125 (elmo-msgdb-message-entity-field): Ditto.
126 (elmo-msgdb-message-entity-set-field): Ditto.
127 (elmo-msgdb-make-message-entity): New function.
129 2003-03-25 Yuuichi Teranishi <teranisi@gohome.org>
131 * elmo.el (elmo-folder-append-buffer): Changed argument from unread
132 to flag. (All other related portions are changed.)
133 (elmo-folder-msgdb-create): Likewise.
134 (elmo-generic-folder-append-messages): Use flag-table instead of
136 (elmo-folder-move-messages): Removed redundant process.
137 (elmo-folder-synchronize): Likewise.
139 * elmo-msgdb.el (elmo-flag-table-get): New function.
140 (elmo-flag-table-save): Fixed.
141 (elmo-msgdb-length): New inline function.
142 (elmo-msgdb-flag-table): New function.
143 (elmo-msgdb-mark): Add optional argument new.
144 (elmo-msgdb-add-msgs-to-seen-list): Abolish.
145 (elmo-msgdb-seen-list): Ditto.
146 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
149 2003-03-24 Yuuichi Teranishi <teranisi@gohome.org>
151 * elmo.el (elmo-message-set-mark): Abolish.
152 (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
153 (All related portions are changed.)
155 * elmo-msgdb.el (toplevel): Added comment.
156 (elmo-load-msgdb): Added 4th element `path'.
157 (elmo-msgdb-append): Follow the change above.
158 (elmo-msgdb-clear): Ditto.
159 (elmo-msgdb-delete-msgs): Ditto.
160 (elmo-msgdb-get-path): New inline function.
161 (elmo-msgdb-set-path): Ditto.
162 (elmo-flag-table-filename): New variable.
163 (elmo-flag-table-load): New function.
164 (elmo-flag-table-set): Ditto.
165 (elmo-flag-table-save): Ditto.
166 (elmo-msgdb-get-field-value): Abolish.
167 (elmo-msgdb-overview-get-entity-by-number): Ditto.
169 2003-03-30 Yoichi NAKAYAMA <yoichi@geiin.org>
171 * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
172 the folder has been deleted successfully.
173 * elmo-imap4.el (elmo-folder-delete): Ditto.
174 * elmo-archive.el (elmo-folder-delete): Ditto.
175 * elmo-localdir.el (elmo-folder-delete): Ditto.
176 * elmo-maildir.el (elmo-folder-delete): Ditto.
178 2003-03-27 Tetsurou Okazaki <okazaki@be.to>
180 * elmo-util.el (elmo-string-member-ignore-case): New function.
181 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
182 (elmo-imap4-fetch-callback-1-subr): Likewise.
184 2003-03-27 Kimura Fuyuki <fuyuki@hadaly.org>
186 * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
187 the case of the name attribute "\Noselect".
189 2003-02-16 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
191 * elmo.el (elmo-folder-rename-internal): New method to cause error.
193 * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
194 flist, is not always a member of onum-alist.
196 2003-02-14 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
198 * elmo-version.el (elmo-version): Up to 2.11.3.
200 2003-02-10 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
202 * elmo-maildir.el (elmo-folder-rename-internal): New method,
203 copied from localdir's one.
205 * elmo-pipe.el (elmo-folder-rename): New method, rename
206 destination folder with leaving source folder as it is.
208 2003-02-08 KAMO Tomoyuki <kamo@ITmanage.co.jp>
210 * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
213 2003-02-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
215 * elmo-version.el (elmo-version): Up to 2.11.2.
217 2003-02-05 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
219 * elmo-shimbun.el (elmo-folder-initialize): Do not call
220 shimbun-open in case of "@".
221 (elmo-folder-open-internal): Cope with shimbun = nil case.
222 (elmo-folder-plugged-p): Ditto.
223 (elmo-folder-list-subfolders): Make list for "@/" group.
225 2003-01-31 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
227 * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
228 mailbox (e.g. for %~/something).
230 2003-01-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
232 * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
233 Replace nested conditional with guard clauses.
235 2003-01-30 Yuuichi Teranishi <teranisi@gohome.org>
237 * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
240 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
243 2003-01-30 TAKAHASHI Kaoru <kaoru@kaisei.org>
245 * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
246 Replace nested conditional with guard clauses.
248 2003-01-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
250 * elmo-util.el (elmo-object-save): Bind print-level, print-length.
251 (elmo-passwd-alist-save): Ditto.
252 * elmo-database.el (elmo-database-msgid-put): Bind print-length.
254 2003-01-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
256 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
257 dir-name only if it is absolute path.
258 (TODO: distinguish +/something and +something)
260 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
262 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
263 path for "+~/something".
265 2003-01-15 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
267 * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
268 as non-directory, cause error before rename-file.
269 * elmo-archive.el (elmo-folder-rename-internal): Create directory
270 apropriately, mimic localdir's one.
271 Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
273 2003-01-10 Tsutomu OKADA <okada@furuno.co.jp>
275 * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
277 2003-01-06 Yuuichi Teranishi <teranisi@gohome.org>
279 * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
281 * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
283 * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
284 is included in the global-mark or not.
286 2002-12-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
288 * utf7.el (toplevel): Avoid error when the function
289 find-coding-system does not exist.
291 2002-12-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
293 * elmo-nntp.el (elmo-folder-search): Body search is to search from
294 cache even if the folder is plugged.
295 (elmo-nntp-search-primitive): Do nothing when body search is
296 invoked (although it is not used by the change above).
297 * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
299 2002-12-20 Kenichi OKADA <okada@opaopa.org>
301 * elmo-version.el (elmo-version): Up to 2.11.1.
303 2002-12-10 Kenichi OKADA <okada@opaopa.org>
305 * elmo-archive.el: Specify charset.
307 2002-12-04 Yuuichi Teranishi <teranisi@gohome.org>
309 * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
310 process buffer lives or not.
312 * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
313 while flushing queues (It causes infinite loop).
315 2002-11-26 Yuuichi Teranishi <teranisi@gohome.org>
317 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
319 2002-11-24 Yuuichi Teranishi <teranisi@gohome.org>
321 * utf7.el (toplevel): Check the ucs features dynamically.
322 (Advice from Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
324 * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
325 folder is creatabe or not if it already exists.
327 2002-11-21 Yuuichi Teranishi <teranisi@gohome.org>
329 * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
331 * elmo-multi.el (elmo-folder-search): Ignore errors while search.
333 * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
334 (elmo-imap4-read-response): Take care of garbage response.
336 2002-11-20 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
338 * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
339 just return nil instead of error.
341 2002-11-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
343 * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
344 search-key is "body".
346 2002-11-19 Yuuichi Teranishi <teranisi@gohome.org>
348 * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
349 of elmo-string-matched-assoc to use match-data.
350 (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
352 2002-11-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
354 * elmo-split.el (elmo-split->): New function.
355 (elmo-split-<): Ditto.
357 2002-11-14 Yuuichi Teranishi <teranisi@gohome.org>
359 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
360 workaround for invalid message-id.
362 2002-11-13 Yuuichi Teranishi <teranisi@gohome.org>
364 * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
365 return normal pop3 session or pop3 biff session.
367 2002-11-08 Yuuichi Teranishi <teranisi@gohome.org>
369 * elmo-maildir.el (elmo-maildir-update-current): Don't append
370 info part to the cur files when the new files already have it.
371 (Adviced by Jared Rhine <jared@wordzoo.com>)
373 2002-11-06 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
375 * elmo-split.el (elmo-split-default-action): New variable.
376 (elmo-split-subr): Use it if all other conditions are passed.
377 Extend `fname' and rename it as `action'. (implemented
378 Teranishi-san's idea in [wl:10800])
380 2002-10-29 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
382 * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
383 * elmo-util.el: Ditto.
385 2002-10-28 Yuuichi Teranishi <teranisi@gohome.org>
387 * elmo.el (elmo-message-accessible-p): Renamed from
388 elmo-message-cached-p and rewritten.
390 2002-10-27 Yuuichi Teranishi <teranisi@gohome.org>
392 * elmo.el (elmo-folder-list-flagged): New generic function.
393 (elmo-folder-list-importants): New implementation.
394 (elmo-folder-list-answereds): Ditto.
395 (elmo-folder-search-fast): Use 'flag' instead of 'mark';
397 (elmo-message-cached-p): New function.
398 (elmo-message-set-flag): Ditto (no content).
399 (elmo-message-unset-flag): Ditto.
400 (elmo-folder-list-messages-mark-match): Abolish.
402 * elmo-util.el (elmo-regexp-opt): New function.
404 * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
405 (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
407 (elmo-msgdb-list-flagged): New function.
409 * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
410 (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
413 * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
415 2002-10-26 Yuuichi Teranishi <teranisi@gohome.org>
417 * elmo-version.el (elmo-version): Up to 2.11.0.
419 2002-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
421 * elmo-msgdb.el (elmo-msgdb-set-flag): Use
422 `elmo-file-cache-exists-p'; use proper mark that depends on
424 (elmo-msgdb-unset-flag): Ditto.
425 (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
427 * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
428 with 4th argument `use-cache'.
430 2002-10-18 Yuuichi Teranishi <teranisi@gohome.org>
432 * elmo.el (elmo-folder-unmark-important): Follow the changes above.
433 (elmo-folder-mark-as-important): Ditto.
434 (elmo-folder-unmark-read): Ditto.
435 (elmo-folder-mark-as-read): Ditto.
436 (elmo-folder-unmark-answered): Ditto.
437 (elmo-folder-mark-as-answered): Ditto.
439 * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
441 (elmo-msgdb-mark): Likewise.
442 (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
443 (elmo-msgdb-unset-flag): Likewise.
445 * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
447 2002-10-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
449 * elmo-filter.el (elmo-folder-diff): Fixed condition checking
452 2002-10-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
454 * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
455 set spool-length to 0.
457 2002-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
459 * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
460 (elmo-dop-queue-flush): Fixed last change.
462 2002-10-01 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
464 * elmo-filter.el (elmo-folder-list-unreads): Call generic method
465 if require-msgdb slot is nil.
466 (elmo-folder-list-importants): Likewise.
468 2002-09-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
470 * elmo.el (elmo-message-set-cached): Set mark-modified slot if
473 * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
474 (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
477 2002-09-25 Yuuichi Teranishi <teranisi@gohome.org>
479 * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
481 2002-09-24 Yuuichi Teranishi <teranisi@gohome.org>
483 * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
485 * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
487 2002-09-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
489 * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
490 (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
492 2002-09-24 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
494 * elmo.el: Add autoload setting for elmo-nntp-post, fix against
495 the problem reported by Sean Rima [wl-en:180].
497 2002-09-19 Yuuichi Teranishi <teranisi@gohome.org>
499 * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
501 * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
503 * elmo-filter.el (elmo-folder-unmark-read): Ditto.
505 * elmo-map.el (elmo-folder-unmark-read): Ditto.
507 * elmo-multi.el (elmo-folder-unmark-read): Ditto.
509 * elmo-net.el (elmo-folder-unmark-read): Ditto.
511 * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
513 2002-09-18 Yuuichi Teranishi <teranisi@gohome.org>
515 * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
518 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
520 * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
521 (elmo-folder-mark-as-read): Follow the API change.
522 (elmo-message-set-cached): New function.
524 * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
526 * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
528 * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
529 (elmo-folder-mark-as-important): Ditto.
530 (elmo-folder-unmark-read): Ditto.
531 (elmo-folder-mark-as-read): Ditto.
532 (elmo-folder-unmark-answered): Ditto.
533 (elmo-folder-mark-as-answered): Ditto.
535 * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
536 (elmo-folder-unmark-important): Ditto.
537 (elmo-folder-mark-as-read): Ditto.
538 (elmo-folder-unmark-read): Ditto.
539 (elmo-folder-mark-as-answered): Ditto.
540 (elmo-folder-unmark-answered): Ditto.
542 * elmo-mark.el (toplevel): Removed some mark method definitions.
544 * elmo-map.el (elmo-map-folder-unmark-answered): New method.
545 (elmo-map-folder-mark-as-answered): Ditto.
546 (elmo-folder-unmark-important): Add :before qualifier.
547 (elmo-folder-mark-as-important): Ditto.
548 (elmo-folder-unmark-read): Ditto.
549 (elmo-folder-mark-as-read): Ditto.
550 (elmo-folder-unmark-answered): Define.
551 (elmo-folder-mark-as-answered): Ditto.
553 * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
554 (elmo-map-folder-unmark-answered): Ditto.
556 * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
558 * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
559 (elmo-folder-mark-as-important): Ditto.
560 (elmo-folder-unmark-read): Ditto.
561 (elmo-folder-mark-as-read): Ditto.
562 (elmo-folder-unmark-answered): Ditto.
563 (elmo-folder-mark-as-answered): Ditto.
565 * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
566 `mark'; evaluate mark condition.
567 (elmo-msgdb-match-condition-internal): New function.
568 (elmo-msgdb-match-condition): Call it; changed argument.
570 * elmo.el (elmo-folder-search): Follow the API change on
571 `elmo-msgdb-match-condition'.
573 2002-09-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
575 * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
576 original mark is non-nil.
578 2002-09-17 Yuuichi Teranishi <teranisi@gohome.org>
580 * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
581 (elmo-map-folder-list-answereds): New method.
582 (elmo-folder-list-unreads): Add :around qualifier.
583 (elmo-folder-list-importants): Ditto.
584 (elmo-folder-list-answereds): Ditto.
586 2002-09-16 Yuuichi Teranishi <teranisi@gohome.org>
588 * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
590 * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
591 method if msgdb is not required.
592 (elmo-filter-folder-list-importants): Don't treat global-mark.
594 * elmo.el (elmo-folder-list-importants): Ditto.
596 * elmo-net.el (elmo-folder-list-importants): Ditto.
598 * elmo-map.el (elmo-folder-list-importants): Ditto.
600 * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
602 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
603 (elmo-imap4-folder-list-any-plugged): New function.
604 (elmo-imap4-search-internal-primitive): Use it.
606 * elmo-filter.el (elmo-folder-check): Synchronize original folder
607 only when require-msgdb slot is non-nil.
608 (elmo-folder-close): Clear target folder's msgdb.
610 2002-09-13 Yuuichi Teranishi <teranisi@gohome.org>
612 * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
613 (elmo-pop3-msgdb-create-by-header): Ditto.
614 (elmo-pop3-msgdb-create-message): Ditto.
616 * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
618 * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
620 * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
622 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
623 (elmo-folder-msgdb-create): Ditto.
624 (elmo-nntp-folder-msgdb-create): Ditto.
625 (elmo-nntp-msgdb-create-by-header): Ditto.
626 (elmo-nntp-msgdb-create-message): Ditto.
627 (elmo-folder-list-unreads): Define.
629 * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
630 (elmo-folder-append-messages): Ditto.
631 (elmo-folder-list-unreads): Define.
632 (elmo-folder-list-importants): Ditto.
633 (elmo-folder-list-answereds): Ditto.
635 * elmo-net.el (elmo-folder-list-unreads): Define.
636 (elmo-folder-list-importants): Ditto.
637 (elmo-folder-list-answereds): Ditto.
638 (elmo-folder-list-answereds-plugged): Ditto.
639 (elmo-folder-msgdb-create): Follow the API change.
640 (elmo-folder-msgdb-create-unplugged): Ditto.
641 (elmo-folder-unmark-answered): Define.
642 (elmo-folder-mark-as-answered-unplugged): Ditto.
643 (elmo-folder-unmark-answered-unplugged): Ditto.
645 * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
646 (elmo-msgdb-unread-uncached-mark): Ditto.
647 (elmo-msgdb-unread-cached-mark): Ditto.
648 (elmo-msgdb-read-uncached-mark): Ditto.
649 (elmo-msgdb-answered-cached-mark): Ditto.
650 (elmo-msgdb-answered-uncached-mark): Ditto.
651 (elmo-msgdb-important-mark): Ditto.
652 (elmo-msgdb-set-mark): Rewrite.
653 (elmo-msgdb-count-marks): Rewrite.
654 (elmo-msgdb-mark-alist-set): Abolish.
655 (elmo-msgdb-seen-list): Removed argument `seen-marks'.
656 (elmo-msgdb-add-msgs-to-seen-list): Likewise.
658 * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
659 (elmo-folder-close): Define.
660 (elmo-folder-msgdb-create): Follow the API change.
661 (elmo-folder-list-unreads): Rewrite.
662 (elmo-folder-mark-as-important): Ditto.
663 (elmo-folder-unmark-important): Ditto.
664 (elmo-folder-mark-as-read): Ditto.
665 (elmo-folder-unmark-read): Ditto.
666 (elmo-folder-mark-as-answered): Define.
667 (elmo-folder-unmark-answered): Ditto.
669 * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
670 (elmo-folder-append-messages): Ditto.
672 * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
674 * elmo-map.el (elmo-folder-list-unreads): Ditto.
675 (elmo-folder-list-importants): Ditto.
677 * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
678 (elmo-folder-append-messages): Ditto.
680 * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
682 (elmo-folder-msgdb-create-plugged): Ditto.
683 (elmo-folder-append-messages): Ditto.
684 (elmo-folder-list-answereds-plugged): Define.
685 (elmo-imap4-search-internal-primitive): Add `mark' processing.
686 (elmo-folder-unmark-answered-plugged): Define.
687 (elmo-folder-mark-as-answered-plugged): Ditto.
688 (elmo-folder-search-requires-msgdb-p): Ditto.
690 * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
691 (elmo-folder-initialize): Set it.
692 (elmo-folder-msgdb): Define.
693 (elmo-folder-check): Call elmo-folder-synchronize.
694 (elmo-folder-close): Define.
695 (elmo-folder-commit): Ditto.
696 (elmo-folder-msgdb-create): Rewrite.
697 (elmo-folder-list-unreads): Ditto.
698 (elmo-folder-list-importants): Ditto.
699 (elmo-folder-mark-as-read): Ditto.
700 (elmo-folder-unmark-read): Ditto.
701 (elmo-folder-mark-as-important): Ditto.
702 (elmo-folder-unmark-important): Ditto.
703 (elmo-folder-mark-as-answered): Define.
704 (elmo-folder-unmark-answered): Ditto.
706 * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
707 elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
708 (elmo-dop-queue-method-name-alist): Likewise.
709 (elmo-folder-mark-as-answered-dop): New inline function.
710 (elmo-folder-unmark-answered-dop): Ditto.
711 (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
713 * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
714 (elmo-folder-msgdb-create): Ditto.
715 (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
716 (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
717 (elmo-archive-parse-mmdf): Ditto.
719 * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
720 (elmo-folder-list-unreads-internal): Ditto.
722 * elmo.el (elmo-folder-msgdb): Define as generic function.
723 (elmo-folder-list-messages): Added argument `in-msgdb'.
724 (elmo-folder-list-unreads): Define as generic function.
725 (elmo-folder-list-importants): Ditto.
726 (elmo-folder-list-answereds): Ditto.
727 (elmo-folder-list-messages-with-global-mark): New function.
728 (elmo-folder-msgdb-create): Removed mark arguments.
729 (elmo-folder-unmark-answered): New generic function.
730 (elmo-folder-mark-as-answered): Ditto.
731 (elmo-folder-append-messages): Removed argunment `unread-marks'
732 (elmo-folder-list-unreads-internal): Abolish.
733 (elmo-folder-list-importants-internal): Ditto.
734 (elmo-folder-search-requires-msgdb-p): New generic function.
735 (elmo-folder-search-requires-msgdb-p-internal): New function.
736 (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
738 (elmo-folder-search-fast): Added key 'mark'.
739 (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
740 instead of unread-marks argument.
741 (elmo-folder-move-messages): Removed argunment `unread-marks'
742 (elmo-folder-unmark-important): Define.
743 (elmo-folder-mark-as-important): Ditto.
744 (elmo-folder-unmark-read): Ditto.
745 (elmo-folder-mark-as-read): Ditto.
746 (elmo-folder-unmark-answered): Ditto.
747 (elmo-folder-mark-as-answered): Ditto.
748 (elmo-folder-replace-marks): Abolish.
749 (elmo-generic-folder-append-msgdb): Append msgdb before checking
751 (elmo-folder-synchronize): Removed mark arguments;
752 return crosspost only number.
754 2002-09-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
756 * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
757 Remove redundunt connectivity check.
759 2002-09-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
761 * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
762 as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
764 2002-09-03 Yuuichi Teranishi <teranisi@gohome.org>
766 * pldap.el (ldap-decode-string): Return string as-is if
767 `ldap-coding-system' is nil.
768 (ldap-encode-string): Ditto.
769 (ldap-search-entries): Encode filter string with `ldap-encode-string'.
770 (ldap-default-host): Fixed docstring.
772 2002-08-21 Yuuichi Teranishi <teranisi@gohome.org>
774 * elmo-util.el (elmo-warning): Define as a macro which uses
775 `display-warning' if it is defined as a function.
777 * elmo-split.el (elmo-split-fetch-decoded-field): New function.
778 (elmo-split-equal): Use it.
779 (elmo-split-match): Ditto.
780 (elmo-split-message-entity): New buffer-local variable.
781 (elmo-split-subr): Set it.
783 * elmo-version.el (elmo-version): Up to 2.9.15.
785 2002-08-18 Kenichi OKADA <okada@opaopa.org>
787 * elmo-imap4.el (elmo-network-initialize-session):
788 Check capability after starttls.
790 2002-08-06 Yuuichi Teranishi <teranisi@gohome.org>
792 * elmo-util.el (elmo-list-delete): Added optional argument
795 * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
797 * elmo-util.el (elmo-warning): Ignore errors while recenter.
799 * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
801 * elmo-imap4.el (elmo-folder-initialize): Don't use
802 elmo-imap4-default-mailbox.
804 2002-07-24 TAKAHASHI Kaoru <kaoru@kaisei.org>
806 * elmo-split.el (toplevel): Use `product-provide'.
807 (elmo-split): Checkdoc.
809 2002-07-21 Tetsurou Okazaki <okazaki@be.to>
811 * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
812 Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
813 the function `elmo-imap4-debug-1'.
815 2002-07-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
817 * elmo-split.el (elmo-split): Moved to run hooks and to show
818 message from elmo-split-subr.
819 (elmo-split-subr): Follow the change above.
821 * elmo-split.el (elmo-split-subr): New function (renamed from
823 (elmo-split): Changed to call elmo-split-subr by element of
825 (elmo-split-folder): Changed customization type to choice.
827 2002-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
829 * elmo-split.el (elmo-split-and): Fixed condition.
831 2002-07-12 Yuuichi Teranishi <teranisi@gohome.org>
833 * elmo-split.el: New file.
834 (elmo-split): Fixed logic.
835 Display "Test:" instead of "Folder:" when reharsal.
837 * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
840 * elmo-version.el (elmo-version): Up to 2.9.14.
842 * elmo-util.el (elmo-expand-newtext): New function (renamed from
845 2002-06-10 Kenichi Sato <ksato@sonycom.com>
847 * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
848 message with no message-id field.
850 2002-05-20 Yuuichi Teranishi <teranisi@gohome.org>
852 * elmo-version.el (elmo-version): Up to 2.9.13.
854 * elmo-dop.el (elmo-folder-status-dop): Fix.
856 2002-05-19 Yuuichi Teranishi <teranisi@gohome.org>
858 * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
860 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
861 changing default value of default-mime-charset.
862 (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
864 * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
866 * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
867 (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
868 instead of elmo-dop-queue-method-name-alist to check merging queue.
869 (elmo-folder-delete-messages-dop): Delete from queue if negative
871 (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
872 file is already removed.
874 2002-05-10 Katsumi Yamaoka <yamaoka@jpl.org>
876 * elmo-vars.el: Bind colon keywords for old Emacsen.
878 2002-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
880 * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
881 against non-exsisting charset.
883 2002-05-09 Yuuichi Teranishi <teranisi@gohome.org>
885 * elmo-util.el (elmo-mime-string): Eliminate needless binding;
886 Use eword-decode-and-unfold-unstructured-field-body.
888 * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
889 (elmo-msgdb-create-overview-from-buffer): Use document charset if
890 exists to decode raw subject string.
891 (toplevel): Require 'mime.
893 * elmo-version.el (elmo-version): Up to 2.9.12.
895 2002-05-02 Yuuichi Teranishi <teranisi@gohome.org>
897 * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
898 (elmo-msgdb-set-mark): Ditto.
900 * elmo-version.el (elmo-version): Up to 2.9.11.
902 2002-05-01 Yuuichi Teranishi <teranisi@gohome.org>
904 * elmo-util.el (elmo-delete-match-files): New function.
906 * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
907 instead of elmo-delete-directory.
909 * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
910 elmo-hash-minimun-size as 63.
912 * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
913 elmo-diff-unread is nil.
915 * elmo-imap4.el (elmo-folder-open): Fix.
917 * elmo.el (elmo-message-mark): Rewrite.
918 (elmo-message-field): Ditto.
919 (elmo-message-set-mark): Ditto.
920 (elmo-folder-replace-marks): New function.
921 (elmo-generic-folder-append-msgdb): Removed third argument for
923 (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
924 (elmo-msgdb-load): New implementation.
926 * elmo-vars.el (elmo-use-overview-hashtb): Removed.
928 * elmo-util.el (elmo-list-insert): New implementation.
930 * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
931 argument for elmo-msgdb-append.
934 * elmo-msgdb.el (elmo-load-msgdb): New function.
935 (elmo-make-msgdb): Ditto.
936 (elmo-msgdb-get-index): New inline function.
937 (elmo-msgdb-set-index): Ditto.
938 (elmo-msgdb-get-entity-hashtb): Ditto.
939 (elmo-msgdb-get-mark-hashtb): Ditto.
940 (elmo-msgdb-get-mark): Ditto.
941 (elmo-msgdb-set-mark): Ditto.
942 (elmo-msgdb-count-marks): Ditto.
943 (elmo-msgdb-get-number): Ditto.
944 (elmo-msgdb-get-field): Ditto.
945 (elmo-msgdb-seen-list): Ditto.
946 (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
947 (elmo-msgdb-delete-msgs): Follow the changes above.
948 (elmo-msgdb-overview-get-entity): Ditto.
949 (elmo-msgdb-add-msgs-to-seen-list): Ditto.
950 (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
952 (elmo-msgdb-make-index): Likewise.
953 (elmo-msgdb-append): Removed third argument.
954 (elmo-msgdb-clear): Clear index as nil.
955 (elmo-folder-set-info-hashtb): Removed.
956 (elmo-folder-set-info-max-by-numdb): Ditto.
957 (elmo-folder-info-make-hashtb): Ditto.
959 * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
961 * elmo-map.el (elmo-folder-pack-number): Ditto.
963 2002-04-30 Yuuichi Teranishi <teranisi@gohome.org>
965 * elmo-version.el (elmo-version): Up to 2.9.10.
967 * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
969 * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
971 2002-04-26 Kenichi OKADA <okada@opaopa.org>
973 * elmo-utils.el (elmo-make-directory): Add option.
974 Default file mode is 700.
976 2002-04-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
978 * elmo-shimbun.el (elmo-folder-local-p): Defined.
980 2002-04-15 Yuuichi Teranishi <teranisi@gohome.org>
982 * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
985 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
988 2002-04-14 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
990 * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
991 (elmo-shimbun-folder-entity-hash): New function.
992 (elmo-shimbun-folder-shimbun-header): Ditto.
993 (elmo-shimbun-entity-to-header): Ditto.
994 (elmo-shimbun-msgdb-to-headers): Removed.
995 (elmo-shimbun-folder-setup): Ditto.
996 (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
998 (elmo-shimbun-get-headers): Set new headers only to slot. Don't
999 call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
1000 Removed useless local bind.
1001 (elmo-folder-open-internal): Don't call
1002 `elmo-shimbun-folder-setup'.
1003 (elmo-folder-close-internal): Clear entity-hash slot.
1004 (elmo-folder-clear): Ditto.
1005 (elmo-shimbun-msgdb-create-entity): Use
1006 `elmo-shimbun-folder-shimbun-header'.
1007 (elmo-map-message-fetch): Ditto.
1008 (elmo-shimbun-update-overview): Use overview entity instead of
1009 shimbun header to lookup id by references.
1010 (elmo-map-folder-list-message-locations): Use not only headers but
1011 also overviews to list locations.
1013 2002-04-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1015 * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
1018 * elmo-pop3.el (elmo-folder-exists-p): Ditto.
1020 2002-04-08 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1022 * elmo-util.el (elmo-read-search-condition-internal): Give default
1025 2002-04-04 Mito <mito@mxa.nes.nec.co.jp>
1027 * elmo-util.el (elmo-condition-parse-search-value): Accept
1028 YYYY-MM-DD format to search.
1029 * elmo-date.el (elmo-date-get-datevec): Likewise.
1031 2002-04-04 Kenichi OKADA <okada@opaopa.org>
1033 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
1036 2002-04-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1038 * elmo.el (elmo-folder-creatable-p): Changed default value to nil
1041 * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
1043 * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
1044 case from `elmo-folder-exists-p'.
1045 (elmo-folder-exists-p): Removed.
1046 (elmo-folder-creatable-p) Ditto.
1048 * elmo-net.el (elmo-folder-create): Defined.
1049 (elmo-folder-create-unplugged): New function.
1050 (elmo-folder-exists-p): Changed default value to nil from t.
1052 * elmo-imap4.el (elmo-folder-creatable-p): Defined.
1053 (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
1055 * elmo-dop.el (elmo-folder-create-dop): Renamed from
1056 `elmo-create-folder-dop' and append queue
1057 'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
1058 (elmo-folder-create-dop-delayed): New function.
1060 * elmo-cache.el (elmo-folder-creatable-p): Ditto.
1062 * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
1064 * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
1065 (elmo-folder-writable-p) : Ditto.
1067 * elmo-version.el (elmo-version): Up to 2.9.9.
1069 2002-03-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1071 * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
1072 `elmo-message-use-cache-p' returns nil.
1073 * elmo-mime.el (elmo-mime-display-as-is): Ditto.
1074 (ignore cache file and refer the substance in local folders)
1076 2002-03-12 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1078 * elmo-version.el (elmo-version): Up to 2.9.8.
1080 2002-02-19 Yuuichi Teranishi <teranisi@gohome.org>
1082 * elmo-version.el (elmo-version): Up to 2.9.7.
1084 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
1086 2002-02-18 Daiki Ueno <ueno@unixuser.org>
1088 * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
1090 2002-02-12 Yuuichi Teranishi <teranisi@gohome.org>
1092 * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
1094 (elmo-map-folder-list-message-locations): Reverse location list.
1096 2002-02-01 Kenichi OKADA <okada@opaopa.org>
1098 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
1100 2002-01-31 Yuuichi Teranishi <teranisi@gohome.org>
1102 * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
1104 (elmo-nntp-folder-list-subfolders): Follow the change above.
1106 2002-01-27 Takaaki MORIYAMA <aka@iris.eonet.ne.jp>
1108 * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
1109 name if authentication type is specified.
1111 2002-01-28 Yuuichi Teranishi <teranisi@gohome.org>
1113 * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
1115 (elmo-default-nntp-stream-type): Ditto.
1116 (elmo-default-pop3-stream-type): Ditto.
1118 2002-01-25 ARISAWA Akihiro <ari@mbf.sphere.ne.jp>
1120 * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
1122 2002-01-23 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1124 * elmo-localnews.el (elmo-localnews-folder-path): Moved from
1126 * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
1128 * elmo-vars.el (elmo-localnews-folder-path): Removed.
1129 (elmo-maildir-folder-path): Ditto.
1130 (elmo-maildir-list): Ditto (abolished).
1132 2002-01-23 Kenichi OKADA <okada@opaopa.org>
1134 * elmo-version.el (elmo-version): Up to 2.9.6.
1136 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1138 * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
1139 (elmo-maildir-folder-path): Ditto.
1140 (elmo-msgdb-directory): Ditto.
1141 (elmo-passwd-life-time): Ditto.
1142 (elmo-msgdb-extra-fields): Ditto.
1143 (elmo-enable-disconnected-operation): Ditto.
1145 2002-01-22 Kenichi OKADA <okada@opaopa.org>
1147 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
1149 (elmo-pop3-default-authenticate-type): Ditto.
1151 2002-01-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1153 * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
1155 (elmo-pop3-default-authenticate-type): Ditto.
1157 2002-01-22 Kenichi OKADA <okada@opaopa.org>
1159 * elmo-imap4.el (elmo-folder-rename-internal): Change current
1160 mailbox to new-folder.
1162 2002-01-21 Yuuichi Teranishi <teranisi@gohome.org>
1164 * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
1165 less than new, set new as unread.
1167 * elmo-util.el (elmo-string): Don't put text-property if nil.
1169 2002-01-21 Kenichi OKADA <okada@opaopa.org>
1171 * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
1172 * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
1174 2002-01-21 Kenichi OKADA <okada@opaopa.org>
1176 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
1177 is nil on `completing-read'.
1179 2002-01-20 Yuuichi Teranishi <teranisi@gohome.org>
1181 * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
1183 (elmo-imap4-parse-namespace-subr): Ditto.
1184 (elmo-folder-list-subfolders): Append a delimiter when the specified
1185 folder path is a root with namespace and does not end with delimiter.
1187 2002-01-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1189 * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
1192 2002-01-19 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1194 * elmo-util.el (elmo-save-buffer): The first argument of message
1195 is a format control string.
1197 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1199 * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
1200 `elmo-folder-diff').
1201 (elmo-diff-unread): Likewise.
1203 2002-01-19 Kenichi OKADA <okada@opaopa.org>
1205 * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
1206 is t on `completing-read'.
1208 2002-01-19 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1210 * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
1211 method of target folder with self mark-alist if MARK-ALIST is nil.
1213 2002-01-19 Kenichi OKADA <okada@opaopa.org>
1215 * elmo-version.el (elmo-version): Up to 2.9.5.
1217 2002-01-17 Kenichi OKADA <okada@opaopa.org>
1219 * elmo-dop.el (elmo-dop-queue-merge): Implement.
1220 (elmo-dop-merge-funcs): Remove.
1222 2002-01-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1224 * elmo-util.el (elmo-file-cache-delete): Fixed last change;
1225 Return t if PATH is directory, too.
1226 Use `dolist' instead of while loop.
1228 2002-01-11 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1230 * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
1233 2002-01-07 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1235 * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
1237 (elmo-folder-list-messages-unplugged): Return t if
1238 elmo-enable-disconnected-operation is nil.
1240 * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
1241 `elmo-folder-list-messages-internal'.
1243 2002-01-07 Kenichi OKADA <okada@opaopa.org>
1245 * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
1246 Change to looking-at `[23][0-9]+'.
1247 (elmo-network-initialize-session): Use 'error-msg'
1248 * elmo-net.el (elmo-network-open-session): Set unplugged
1249 if elmo-network-initialize-session returns 'elmo-open-err.
1251 2002-01-07 Kenichi OKADA <okada@opaopa.org>
1253 * elmo-version.el (elmo-version): Up to 2.9.4.
1255 2002-01-07 Yuuichi Teranishi <teranisi@gohome.org>
1257 * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
1258 `elmo-folder-list-messages-internal'.
1260 2002-01-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1262 * elmo.el (elmo-folder-search): Defined. Fixed docstring.
1263 (elmo-message-match-condition): New method.
1264 (elmo-folder-search-fast): New inline function.
1265 (elmo-msgdb-search): Removed.
1267 * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
1268 target folder if it is unplugged.
1269 (elmo-folder-list-messages-internal): Return t if target folder is
1270 unplugged and itself is persistent; In this case, use list be
1273 * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
1274 (elmo-msgdb-search-internal-primitive): Ditto.
1275 (elmo-msgdb-match-condition): New function.
1276 (elmo-msgdb-match-condition-primitive): Ditto.
1278 * elmo-util.el (elmo-filter-condition-p): New macro.
1280 * elmo-cache.el (elmo-folder-search): Removed.
1282 * elmo-localdir.el (elmo-folder-search): Ditto.
1284 * elmo-maildir.el (elmo-folder-search): Ditto.
1286 * elmo-mark.el (elmo-folder-search): Ditto.
1288 * elmo-nmz.el (elmo-folder-search): Ditto.
1290 * elmo-sendlog.el (elmo-folder-search): Ditto.
1292 * elmo-shimbun.el (elmo-folder-search): Ditto.
1294 * elmo-imap4.el (elmo-folder-search): Call method of parent class
1295 if folder is unplugged.
1297 * elmo-nntp.el (elmo-folder-search): Likewise.
1298 (elmo-nntp-search-internal): New function.
1300 * elmo-version.el (elmo-version): Up to 2.9.3.
1302 2001-12-27 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1304 * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
1306 2001-12-27 Tetsurou Okazaki <okazaki@be.to>
1308 * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
1310 2001-12-27 Taiji Can <Taiji.Can@grd.advantest.co.jp>
1312 * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
1314 2001-12-27 Yuuichi Teranishi <teranisi@gohome.org>
1316 * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
1317 (elmo-map-folder-list-message-locations): Do drive letter conversion
1318 on Windows environment.
1319 (elmo-nmz-msgdb-create-entity): Use expand-file-name.
1320 (elmo-map-message-fetch): Ditto.
1322 2001-12-27 Kenichi OKADA <okada@opaopa.org>
1324 * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
1325 (elmo-network-initialize-session): Ditto.
1327 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
1329 * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
1331 * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
1333 * elmo-util.el (elmo-progress-clear): Ditto.
1335 * elmo-date.el (elmo-date-get-datevec): Fix timezone of
1336 `DD-Mon-YYYY' type date.
1338 2001-12-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1340 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
1341 `elmo-date-make-sortable-string' instead of
1342 `timezone-make-date-sortable'.
1344 * elmo-date.el (elmo-date-make-sortable-string): Use
1345 `timezone-make-time-string'.
1347 2001-12-26 Yuuichi Teranishi <teranisi@gohome.org>
1349 * elmo.el (elmo-folder-synchronize): Delete important messages too.
1351 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
1352 `since'; Fix timezone.
1354 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
1356 * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
1358 2001-12-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1360 * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
1362 2001-12-23 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1364 * elmo.el (elmo-generic-folder-append-messages): Make
1365 fetch-strategy with `use-cache' as 'maybe. Check return value of
1366 `elmo-message-fetch'.
1367 (elmo-message-fetch): Return return value of
1368 `elmo-message-fetch-with-cache-process'.
1369 (elmo-message-fetch-with-cache-process): Return non-nil if
1370 fetching was succeed. Load cache when fetching was failed and
1371 fetch-strategy-use-cache is 'maybe.
1373 * elmo-util.el (elmo-file-cache-load): New function.
1375 * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
1378 * elmo-archive.el (elmo-archive-message-fetch-internal): Return
1379 non-nil if fetching was succeed.
1381 * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
1383 * elmo-nmz.el (elmo-map-message-fetch): Likewise.
1385 * elmo-nntp.el (elmo-nntp-read-body): Likewise.
1386 (elmo-message-fetch-with-cache-process): Likwise.
1388 * elmo-pop3.el (elmo-pop3-read-body): Likewise.
1390 * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
1392 * elmo-version.el (elmo-version): Up to 2.9.2.
1394 2001-12-23 Yuuichi Teranishi <teranisi@gohome.org>
1396 * elmo.el (elmo-folder-delete): Delete msgdb path.
1398 * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
1400 * elmo-maildir.el (elmo-folder-delete): Ditto.
1402 * elmo-localdir.el (elmo-folder-delete): Ditto.
1404 * elmo-imap4.el (elmo-folder-delete): Ditto.
1406 2001-12-19 Yuuichi Teranishi <teranisi@gohome.org>
1408 * elmo.el (luna-define-class): Added `biff' slot.
1410 * elmo-pop3.el (elmo-pop3-debug): Split biff log.
1411 (elmo-pop3-debug-inhibit-logging): Abolished.
1412 (elmo-network-close-session): Eliminated needless let.
1413 (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
1414 (elmo-pop3-send-command): Added `no-log' argument.
1415 (elmo-pop3-process-filter): Use `with-current-buffer'.
1416 (elmo-pop3-auth-user): Set `no-log' argument; Delete process
1418 (elmo-pop3-auth-apop): Likewise.
1419 (elmo-network-authenticate-session): Likewise.
1421 * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
1424 * elmo-net.el (elmo-network-session-password-key): Use class symbol
1425 string to determine protocol.
1426 (elmo-network-session-name-prefix): Abolished.
1427 (elmo-network-session-cache-key): Follow the change above.
1428 (elmo-network-open-session): Ditto.
1430 * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
1431 (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
1433 * elmo-version.el (elmo-version): Up to 2.9.1.
1435 * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
1436 unmatch condition checking.
1438 * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
1441 2001-12-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1443 * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
1445 2001-12-17 Yuuichi Teranishi <teranisi@gohome.org>
1447 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
1448 test for while loop to execute at least one SEARCH command.
1450 2001-12-15 Yuuichi Teranishi <teranisi@gohome.org>
1452 * elmo-version.el (elmo-version): Up to 2.9.0.
1454 2001-12-14 Yuuichi Teranishi <teranisi@gohome.org>
1456 * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
1457 (elmo-archive-folder-path): Define.
1458 (elmo-folder-initialize): Setup `dir-name' slot.
1459 (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
1460 Use `dir-name' as prefix of each subfolders.
1461 (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
1463 2001-12-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1465 * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
1466 (elmo-pipe-folder-list-target-messages): New internal function.
1467 (elmo-pipe-drain): Use new argument `ignore-list' instead of
1469 (elmo-pipe-folder-copied-list-load): New function.
1470 (elmo-pipe-folder-copied-list-save): Ditto.
1471 (elmo-folder-open-internal): Follow the change above.
1472 (elmo-folder-status): Fixed for copy.
1474 2001-12-13 Yuuichi Teranishi <teranisi@gohome.org>
1476 * elmo-shimbun.el (elmo-folder-creatable-p): Define.
1478 2001-12-12 Yuuichi Teranishi <teranisi@gohome.org>
1480 * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
1481 elmo-copy-file instead of elmo-add-name-to-file.
1483 * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
1485 * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
1488 * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
1489 of accept-process-output as 1.
1490 (elmo-pop3-read-contents): Ditto.
1491 (elmo-pop3-read-body): Ditto.
1493 2001-12-12 TAKAHASHI Kaoru <kaoru@kaisei.org>
1495 * elmo-version.el (product-version-as-string): Remove define.
1497 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
1499 * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
1500 (elmo-imap4-copy-messages): Chop number set using
1501 `elmo-imap4-number-set-chop-length'.
1502 (elmo-imap4-set-flag): Ditto.
1503 (elmo-imap4-search-internal-primitive): Ditto.
1505 2001-12-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
1507 * elmo.el (elmo-folder-make-temporary-directory): Renamed from
1508 `elmo-folder-make-temp-dir'
1510 * elmo-vars.el (elmo-cache-directory): New variable.
1511 (elmo-cache-dir): Abolished.
1512 (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
1514 * elmo-version.el (elmo-version): Up to 2.7.7.
1516 2001-12-11 Yuuichi Teranishi <teranisi@gohome.org>
1518 * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
1519 defcustom; Set default value as t.
1521 2001-12-10 Yuuichi Teranishi <teranisi@gohome.org>
1523 * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
1524 (ldap-search-program-arguments): Changed default value.
1525 (ldap-search-basic): Accept exit status 4.
1526 (ldap/field-body): Parse options.
1527 (ldap/collect-field): Ditto.
1528 (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
1530 * elmo-imap4.el (elmo-imap4-process-bye): New function.
1531 (elmo-imap4-send-command): Call elmo-imap4-process-bye.
1532 (elmo-imap4-accept-ok): Ditto.
1533 (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
1534 'notify-bye, only BYE error is reported.
1535 (elmo-folder-exists-p-plugged): Set no-error argument of
1536 `elmo-imap4-session-select-mailbox' as 'notify-bye.
1538 * elmo.el (elmo-imap4-bye-error): Changed message.
1540 * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
1541 (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
1542 queues (It causes infinite loop).
1544 2001-12-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
1546 * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
1547 (RECENT UNSEEN MESSAGES) extension.
1549 2001-12-07 Mito <mito@mxa.nes.nec.co.jp>
1551 * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
1552 Check number of overview fields.
1554 2001-12-08 Yuuichi Teranishi <teranisi@gohome.org>
1556 * elmo.el (elmo-folder-confirm-appends): Changed message.
1557 (elmo-folder-confirm-appends): Ditto.
1559 * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
1561 (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
1563 2001-12-06 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
1565 * elmo.el (elmo-folder-confirm-appends): Check whether the value
1566 of elmo-folder-update-threshold is nil, which can be set by
1567 wl-summary-update-confirm-threshold.
1569 2001-12-05 Yuuichi Teranishi <teranisi@gohome.org>
1571 * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
1572 (elmo-nmz-index-alias-alist): Ditto.
1573 (elmo-map-folder-list-message-locations): Follow the change above.
1575 2001-12-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1577 * elmo-filter.el (elmo-folder-list-subfolders): Defined.
1579 * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
1581 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
1583 * elmo-util.el (elmo-read): Ditto.
1584 (elmo-display-error): Ditto.
1586 * elmo-vars.el (elmo-date-match): Ditto.
1588 * pldap.el (ldap-coding-system): Ditto.
1590 * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
1591 `elmo-inhibit-number-mapping' as nil.
1593 2001-11-30 Tatsuya Kinoshita <tats@iris.ne.jp>
1595 * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
1596 space delimiter for list response.
1598 2001-12-02 Kenichi OKADA <okada@opaopa.org>
1600 * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
1602 2001-12-02 Kenichi OKADA <okada@opaopa.org>
1604 * elmo-sendlog.el (elmo-folder-delete-messages): Added.
1605 (elmo-map-message-fetch): Fix.
1606 * elmo-map.el (elmo-folder-status): Fix for killed.
1608 2001-12-02 Kenichi OKADA <okada@opaopa.org>
1610 * elmo-sendlog.el: New file.
1611 * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
1613 2001-11-30 Yuuichi Teranishi <teranisi@gohome.org>
1615 * acap.el (acap-logging-out): New buffer local variable.
1616 (acap-close): Set it.
1617 (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
1620 2001-11-28 Yuuichi Teranishi <teranisi@gohome.org>
1622 * acap.el (acap-response-bye-p): New function.
1623 (acap-response-bye-message): Ditto.
1624 (acap-wait-for-response): If bye response is received, cause an error.
1625 (acap-parse-response): Make bye response when 'Bye' is received.
1627 2001-11-23 Kenichi OKADA <okada@opaopa.org>
1629 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
1631 2001-11-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1633 * elmo-util.el (elmo-copy-file): Added argument
1634 `ok-if-already-exists'.
1635 (elmo-copy-file): Fixed typo.
1637 2001-11-21 Kenichi OKADA <okada@opaopa.org>
1639 * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
1641 2001-11-21 Kenichi OKADA <okada@opaopa.org>
1643 * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
1645 2001-11-20 Kenichi OKADA <okada@opaopa.org>
1647 * elmo-pipe.el (elmo-pipe-drain): Append copied messages
1650 2001-11-19 Kenichi OKADA <okada@opaopa.org>
1652 * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
1653 (elmo-folder-initialize): Fix for `copy'.
1654 (elmo-pipe-drain): Ditto.
1655 (elmo-folder-open-internal): Ditto.
1656 (elmo-folder-newsgroups): Fix.
1658 2001-11-19 Yuuichi Teranishi <teranisi@gohome.org>
1660 * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
1663 * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
1664 recent value is returned from imap folder.
1666 * elmo.el (elmo-folder-newsgroups): New generic function.
1668 * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
1669 (elmo-folder-initialize): Set it.
1670 (elmo-folder-expand-msgdb-path): Use it.
1671 (elmo-folder-newsgroups): Define.
1673 * elmo-filter.el (elmo-folder-newsgroups): Define.
1675 * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
1677 * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
1679 * elmo-multi.el (elmo-folder-newsgroups): Ditto.
1681 2001-11-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1683 * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
1685 (elmo-shimbun-header-extra-field): New inline function.
1686 (elmo-shimbun-header-set-extra-field): Ditto.
1687 (elmo-shimbun-folder-header-hash-setup): Ditto.
1688 (elmo-shimbun-update-overview): Ditto.
1689 (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
1690 (elmo-shimbun-folder-setup): Use
1691 `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
1692 (elmo-shimbun-get-headers): Ditto.
1693 (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
1694 Insert `X-Shimbun-Id:' header if extra field is set.
1695 (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
1696 field's value instead of `shimbun-header-id'.
1698 * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
1700 (elmo-msgdb-overview-entity-set-date): Ditto.
1701 (elmo-msgdb-overview-entity-set-extra-field): Ditto.
1703 2001-11-09 Yuuichi Teranishi <teranisi@gohome.org>
1705 * mmimap.el (mmimap-entity-section): Changed body node number from
1708 2001-11-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1710 * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
1711 `elmo-folder-delete-messages'.
1713 * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
1714 (elmo-folder-initialize): Changed to expand alias into index path.
1716 * elmo-mime.el (elmo-mime-insert-sorted-header): Call
1717 `elmo-mime-insert-header-from-buffer' with 6th arg
1720 2001-11-08 Yuuichi Teranishi <teranisi@gohome.org>
1722 * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
1724 * elmo.el (elmo-diff-new): New inline function.
1725 (elmo-diff-unread): Ditto.
1726 (elmo-diff-all): Ditto.
1728 * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
1729 value from responseb.
1730 (elmo-imap4-folder-diff-plugged): Ditto.
1731 (elmo-imap4-server-diff-async): Added recent argument.
1732 (elmo-server-diff-async): Ditto.
1733 (elmo-imap4-folder-diff-plugged): Ditto.
1735 * elmo-version.el (elmo-version): Up to 2.7.6.
1737 2001-11-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1739 * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
1742 2001-11-05 Yuuichi Teranishi <teranisi@gohome.org>
1744 * elmo-pop3.el (elmo-folder-initialize): Rewrite.
1746 * elmo-imap4.el (elmo-folder-initialize): Ditto.
1748 * elmo-nntp.el (elmo-folder-initialize): Ditto.
1750 * elmo-multi.el (elmo-folder-initialize): Ditto.
1752 * elmo-util.el (elmo-parse-token): New function.
1753 (elmo-parse-prefixed-element): Ditto.
1755 2001-11-01 Yuuichi Teranishi <teranisi@gohome.org>
1757 * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
1759 (elmo-imap4-accept-ok): Ditto.
1761 2001-10-25 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1763 * mmimap.el (mime-imap-entity-header-string): Don't check first
1764 element of node-id is `0' (Follow last change).
1766 2001-10-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1768 * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
1769 assigned irregular node-id to nested multipart section.
1770 (initialize-instance): Followed above change.
1772 2001-10-17 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1774 * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
1775 `shimbun-open-group' (Moved to `elmo-folder-open-internal').
1776 (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
1777 `elmo-shimbun-get-headers');
1778 Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
1779 visible article on summary exists in headers).
1780 (elmo-map-message-fetch): Cause an error when folder is unplugged.
1782 2001-10-17 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
1784 * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
1787 2001-10-16 Yuuichi Teranishi <teranisi@gohome.org>
1789 * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
1791 2001-10-13 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1793 * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
1794 header separator into loop condition.
1796 2001-10-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1798 * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
1799 Return duplicate folder if it has subfolder.
1801 2001-10-11 Yuuichi Teranishi <teranisi@gohome.org>
1803 * elmo.el (elmo-make-folder): Add folder name error check.
1805 * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
1806 (elmo-nntp-encode-group-string): New inline function.
1807 (elmo-nntp-decode-group-string): Ditto.
1808 (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
1809 (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
1810 Use `not' instead of `null';
1811 Use elmo-nntp-decode-group-string.
1813 * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
1815 * elmo-version.el (elmo-version): Up to 2.7.5.
1817 2001-10-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1819 * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
1820 Hide progress gauge if `elmo-folder-move-messages' exits
1823 2001-10-09 Yuuichi Teranishi <teranisi@gohome.org>
1825 * elmo-imap4.el (elmo-folder-initialize): Use
1826 `elmo-imap4-encode-folder-string' for folder name.
1828 2001-10-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1830 * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
1833 2001-10-06 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1835 * elmo-util.el (elmo-progress-counter-alist): New internal
1837 (elmo-progress-counter-value): New macro.
1838 (elmo-progress-counter-all-value): Ditto.
1839 (elmo-progress-counter-format): Ditto.
1840 (elmo-progress-counter-set-value): Ditto.
1841 (elmo-progress-set): New function.
1842 (elmo-progress-clear): Ditto.
1843 (elmo-progress-notify): Ditto.
1845 * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
1848 * elmo.el (elmo-generic-folder-append-messages): Call
1849 `elmo-progress-notify'.
1850 (elmo-folder-move-messages): Don't call `elmo-display-progress'.
1852 * elmo-archive.el (elmo-folder-append-messages): Call
1853 `elmo-progress-notify'.
1855 * elmo-imap4.el (elmo-folder-append-messages): Ditto.
1857 * elmo-localdir.el (elmo-folder-append-messages): Ditto.
1859 * elmo-maildir.el (elmo-folder-append-messages): Ditto.
1861 2001-10-03 Yuuichi Teranishi <teranisi@gohome.org>
1863 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
1865 (elmo-message-encache-dop): Added argument `read'.
1867 * elmo-shimbun.el (elmo-message-encache): Ditto.
1869 * elmo-net.el (elmo-message-encache): Ditto.
1871 * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
1872 (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
1873 elmo-imap4-seen-messages.
1874 (elmo-folder-msgdb-create-plugged): Initialize
1875 elmo-imap4-seen-messages;
1876 Set seen mark on elmo-imap4-seen-messages.
1878 * elmo-pipe.el (elmo-folder-message-file-p): Define.
1880 * elmo.el (elmo-generic-folder-append-messages): Check return value of
1881 elmo-folder-append-buffer.
1882 (elmo-folder-encache): Added optional argument `read'.
1883 (elmo-message-encache): Ditto.
1885 * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1887 * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1889 * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
1890 if append buffer content succeds.
1892 2001-10-02 Yuuichi Teranishi <teranisi@gohome.org>
1894 * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
1895 elmo-display-progress.
1897 * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
1898 Set 4th argument of mime-display-message.
1899 (elmo-mime-display-as-is): Ditto.
1901 2001-10-01 Yuuichi Teranishi <teranisi@gohome.org>
1903 * elmo-nmz.el (toplevel): Require 'mime-edit.
1904 (elmo-nmz-content-type-alist): Abolished.
1905 (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
1906 content is not a message.
1907 (elmo-map-message-fetch): Changed behavior exept for message content;
1908 Detect mime-charset automatically, Use `mime-find-file-type' to detect
1909 content-type, Add From: and Subject: field.
1911 2001-09-29 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1913 * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
1914 (elmo-map-message-fetch): Add `Content-Type' field if contents is
1917 2001-09-20 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1919 * elmo.el (elmo-folder-writable-p): Changed default value to nil.
1920 (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
1922 * elmo-archive.el (elmo-folder-writable-p): Defined.
1924 * elmo-cache.el (elmo-folder-writable-p): Ditto.
1926 * elmo-filter.el (elmo-folder-writable-p): Ditto.
1928 * elmo-imap4.el (elmo-folder-writable-p): Ditto.
1930 * elmo-localdir.el (elmo-folder-writable-p): Ditto.
1932 * elmo-maildir.el (elmo-folder-writable-p): Ditto.
1934 * elmo-mark.el (elmo-folder-writable-p): Ditto.
1936 * elmo-pipe.el (elmo-folder-writable-p): Ditto.
1938 * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
1940 2001-09-20 Yuuichi Teranishi <teranisi@gohome.org>
1942 * elmo-util.el (elmo-address-quote-specials): New function;
1943 Renamed from `wl-address-quote-specials'.
1945 2001-09-18 TAKAHASHI Kaoru <kaoru@kaisei.org>
1947 * elmo-version.el (elmo-version): Up to 2.7.4.
1949 2001-09-14 Yuuichi Teranishi <teranisi@gohome.org>
1951 * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
1953 2001-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
1955 * acap.el (acap-read-passphrase): Always autoload ange-ftp for
1956 both compile-time and run-time to avoid byte-compile warning.
1958 2001-09-13 Kenichi OKADA <okada@opaopa.org>
1960 * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
1962 2001-09-13 Yuuichi Teranishi <teranisi@gohome.org>
1964 * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
1966 (elmo-mime-display-as-is-internal): Use it.
1968 * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
1969 if `read-passwd' is not defined.
1971 2001-09-11 Yuuichi Teranishi <teranisi@gohome.org>
1973 * elmo-pop3.el (elmo-pop3-list-location): Sort locations
1975 (elmo-folder-status): Call `elmo-folder-open-internal';
1976 Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
1977 (elmo-folder-close-internal): Set location-alist as nil.
1978 (elmo-folder-clear): Define.
1979 (elmo-folder-check): Don't set location-alist as nil.
1981 * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
1983 2001-09-10 Yuuichi Teranishi <teranisi@gohome.org>
1985 * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
1986 (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
1988 * mmimap.el (mime-imap-entity::requested): New slot.
1989 (mime-imap-location-fetch-entity-p): New generic function.
1990 (mime-decode-parameters): Define using `defun-maybe'.
1991 (mmimap-make-mime-entity): Use `make-mime-content-type' to make
1992 content-type structure.
1993 (mime-entity-body): Return empty body if
1994 `mime-imap-location-fetch-entity-p' returns nil in the first request.
1996 * elmo.el (elmo-message-displaying): New variable.
1998 * elmo-mime.el (elmo-mime-message-display): Bind
1999 elmo-message-displaying as t.
2001 * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
2003 2001-08-31 Yuuichi Teranishi <teranisi@gohome.org>
2005 * acap.el (acap-open): erase buffer before starting network process.
2006 (acap-store): Rewrite.
2008 2001-08-29 Yuuichi Teranishi <teranisi@gohome.org>
2010 * elmo-imap4.el (elmo-imap4-default-mailbox,
2011 elmo-imap4-default-server
2012 elmo-imap4-default-authenticate-type,
2013 elmo-imap4-default-user,
2014 elmo-imap4-default-port,
2015 elmo-imap4-default-stream-type,
2016 elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
2018 * elmo-pop3.el (elmo-pop3-default-user,
2019 elmo-pop3-default-server,
2020 elmo-pop3-default-authenticate-type,
2021 elmo-pop3-default-port,
2022 elmo-pop3-default-stream-type,
2023 elmo-pop3-stream-type-alist): Ditto.
2025 * elmo-nntp.el (elmo-nntp-default-server,
2026 elmo-nntp-default-user,
2027 elmo-nntp-default-port,
2028 elmo-nntp-default-stream-type,
2029 elmo-nntp-stream-type-alist): Ditto.
2031 * elmo-vars.el: Follow changes above.
2032 (elmo-setting): New custom group; added 'elmo-setting group to
2035 * elmo-version.el (elmo-version): Up to 2.7.3.
2037 * acap.el (acap-parse-response): Don't delete process when BYE
2038 response (It causes hang-up on slow network environment).
2039 (toplevel): Added comment.
2041 2001-08-28 Yuuichi Teranishi <teranisi@gohome.org>
2043 * slp.el (slp-exec-wait): Use `slp-program-arguments'.
2045 * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
2047 (acap-parse-return-metadata): Ditto.
2050 (toplevel): Fixed typo.
2052 * acap.el: New file.
2053 (acap-network-stream-open): Show "Connecting..." message.
2054 (acap-parse-response): Fixed problem for BYE untagged response.
2055 (acap-open): Changed argument (Use `acap-default-user' if user is nil).
2056 (toplevel): Added tiny comments.
2058 2001-08-20 Tatsuya Kinoshita <tats@iris.ne.jp>
2060 * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
2061 space delimiter for uidl response.
2063 2001-08-20 Yuuichi Teranishi <teranisi@gohome.org>
2065 * elmo-vars.el (elmo-use-semi): Eliminated.
2067 * elmo-util.el (elmo-string-assoc-all): New function.
2069 2001-08-16 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2071 * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
2072 property 'mime-preview-situation for `mime-preview-quit'.
2074 2001-08-15 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2076 * elmo.el (elmo-message-fetch-with-cache-process): Call
2077 elmo-message-fetch-internal instead of causing an error when fetch
2078 strategy is 'entire but only 'section cache is available.
2080 2001-08-15 Yuuichi Teranishi <teranisi@gohome.org>
2082 * elmo-version.el (elmo-version): Up to 2.7.2.
2084 * elmo.el (elmo-generic-folder-append-messages): Make
2085 fetch-strategy with `use-cache'.
2087 * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
2088 (elmo-dop-queue-method-name): New macro.
2090 2001-08-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2092 * elmo-archive.el (elmo-archive-get-archive-name): Fixed
2093 unbalanced parenthesis.
2095 2001-08-03 YAMASHITA Junji <ysjj@unixuser.org>
2097 * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
2099 2001-08-03 Yuuichi Teranishi <teranisi@gohome.org>
2101 * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
2102 (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
2104 2001-08-02 Yuuichi Teranishi <teranisi@gohome.org>
2106 * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
2109 2001-07-30 Yuuichi Teranishi <teranisi@gohome.org>
2111 * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
2112 (elmo-message-use-cache-p): Define.
2113 (elmo-folder-msgdb-create): Treat cache.
2115 2001-07-28 Kenichi OKADA <okada@opaopa.org>
2117 * elmo-nntp.el (elmo-network-initialize-session): Call
2118 `elmo-nntp-send-mode-reader'.
2119 (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
2121 2001-07-26 Yuuichi Teranishi <teranisi@gohome.org>
2123 * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
2125 (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
2128 * elmo-net.el (elmo-network-get-session): Set stream-type argument
2129 for `elmo-plugged-p'.
2130 (elmo-open-network-stream): Fixed stream-type argument.
2132 2001-07-25 Yuuichi Teranishi <teranisi@gohome.org>
2134 * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
2135 unknown archive type is specified.
2137 2001-07-23 Yuuichi Teranishi <teranisi@gohome.org>
2139 * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
2141 * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
2142 while loading msgdb.
2144 * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
2145 (elmo-folder-open-internal): Rewrite.
2147 2001-07-17 Yuuichi Teranishi <teranisi@gohome.org>
2149 * elmo-mime.el (elmo-mime-display-as-is-internal):
2150 Adjust buffer-multibyte status.
2152 2001-07-13 Yuuichi Teranishi <teranisi@gohome.org>
2154 * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
2155 of elmo-condition-find-key.
2157 * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
2158 (elmo-condition-in-msgdb-p): Ditto.
2159 (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
2162 2001-07-12 Yuuichi Teranishi <teranisi@gohome.org>
2164 * elmo-pipe.el (elmo-folder-pack-numbers): Define.
2166 2001-07-05 Yuuichi Teranishi <teranisi@gohome.org>
2168 * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
2169 label for elmo-display-progress.
2171 2001-07-02 Yuuichi Teranishi <teranisi@gohome.org>
2173 * elmo.el (elmo-folder-clear): New method.
2174 (elmo-folder-clear): Define.
2175 (elmo-folder-synchronize): Call `elmo-folder-clear'.
2177 * elmo-shimbun.el (elmo-folder-check): Rewrite.
2178 (elmo-folder-clear): Define.
2180 * elmo-map.el (elmo-folder-clear): Define.
2182 * elmo-version.el (elmo-version): Up to 2.7.1.
2184 2001-06-26 Yuuichi Teranishi <teranisi@gohome.org>
2186 * elmo.el (elmo-folder-synchronize): Return list of nil when no
2189 2001-06-21 Yuuichi Teranishi <teranisi@gohome.org>
2191 * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
2192 (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
2194 2001-06-20 Yuuichi Teranishi <teranisi@gohome.org>
2196 * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
2198 * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
2201 * elmo-imap4.el (elmo-folder-initialize): Use
2202 elmo-get-network-stream-type.
2204 * elmo-nntp.el (elmo-folder-initialize): Ditto.
2206 * elmo-pop3.el (elmo-folder-initialize): Ditto.
2208 2001-06-19 Yuuichi Teranishi <teranisi@gohome.org>
2210 * elmo.el (elmo-message-encache): Set unread argument for
2213 * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
2215 * elmo.el (elmo-net-port-info): New method.
2217 * elmo-shimbun.el (elmo-net-port-info): Define.
2218 (elmo-message-encache): Ditto.
2220 * elmo-net.el (elmo-net-port-info): Define as method.
2222 * elmo.el (elmo-generic-folder-append-messages): Find cache file in
2223 unplugged status when elmo-enable-disconnected-operation is t.
2225 * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
2226 of spool folder before checking new number.
2228 2001-06-18 Yuuichi Teranishi <teranisi@gohome.org>
2230 * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
2231 (elmo-network-setup-session): Ditto.
2232 (elmo-message-fetch-plugged): Ditto.
2233 (elmo-pop3-send-command): Don't call elmo-pop3-lock.
2234 (elmo-network-initialize-session): Ditto.
2235 (elmo-pop3-read-response): Abolish 3rd argument.
2236 (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
2237 (elmo-pop3-read-contents): Ditto.
2238 (elmo-pop3-read-body): Ditto.
2239 (elmo-folder-status): Call elmo-folder-close.
2240 (elmo-pop3-lock): Abolish.
2241 (elmo-pop3-unlock): Ditto.
2242 (elmo-pop3-locked-p): Ditto.
2243 (elmo-folder-check): Don't call elmo-pop3-locked-p.
2245 2001-06-15 Yuuichi Teranishi <teranisi@gohome.org>
2247 * elmo-version.el (elmo-version): Up to 2.7.0.
2249 * elmo-pop3.el (elmo-pop3-debug): New variable.
2250 (elmo-pop3-debug-inhibit-logging): Ditto.
2251 (elmo-pop3-debug): New function.
2252 (elmo-pop3-send-command): Call elmo-pop3-debug.
2253 (elmo-pop3-read-response): Added keep-lock optional argument;
2254 Don't unlock if keep-lock is non-nil.
2255 (elmo-pop3-process-filter): Call elmo-pop3-debug.
2256 (elmo-network-authenticate-session): Bind
2257 elmo-pop3-debug-inhibit-logging as t.
2258 (elmo-network-setup-session): Call elmo-pop3-read-response with
2260 (elmo-pop3-read-msg): Ditto.
2261 (elmo-pop3-locked-p): Call elmo-pop3-debug.
2262 (elmo-pop3-read-body): Call elmo-pop3-unlock.
2263 (elmo-network-initialize-session): Call elmo-pop3-lock.
2264 (elmo-folder-close-internal): Don't clear location-alist slot.
2265 (elmo-folder-check): Clear location-alist slot.
2267 2001-06-13 Yuuichi Teranishi <teranisi@gohome.org>
2269 * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
2270 (elmo-pop3-send-command): Call elmo-pop3-lock.
2271 (elmo-pop3-read-response): Call elmo-pop3-unlock.
2272 (elmo-pop3-read-contents): Ditto.
2273 (elmo-pop3-lock): New function.
2274 (elmo-pop3-unlock): Ditto.
2275 (elmo-pop3-locked-p): Ditto.
2276 (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
2279 2001-06-11 Yuuichi Teranishi <teranisi@gohome.org>
2281 * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
2283 * elmo-util.el (elmo-file-field-primitive-condition-match):
2284 New inline function (Don't fetch file content if "first" or "last").
2285 (elmo-file-field-condition-match): Use
2286 elmo-file-field-primitive-condition-match.
2288 * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
2291 * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
2292 (elmo-message-fetch-plugged): Fixed.
2294 * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
2296 2001-06-10 Yuuichi Teranishi <teranisi@gohome.org>
2298 * elmo.el (elmo-folder-move-messages): Bind
2299 elmo-inhibit-display-retrieval-progress as t while moving messages.
2301 * elmo-vars.el (elmo-display-retrieval-progress-threshold):
2303 (elmo-inhibit-display-retrieval-progress): Ditto.
2305 * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
2306 for retrieval progress;
2307 Don't display progress when total buffer size is smaller than
2308 elmo-display-retrieval-progress-threshold.
2309 (elmo-message-fetch-plugged): Don't display progress when
2310 elmo-inhibit-display-retrieval-progress is non-nil.
2312 * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
2313 for retrieval progress;
2314 Don't display progress when literal size is smaller than
2315 elmo-display-retrieval-progress-threshold.
2316 (elmo-imap4-message-fetch): Don't display progress when
2317 elmo-inhibit-display-retrieval-progress is non-nil.
2319 2001-06-07 Yuuichi Teranishi <teranisi@gohome.org>
2321 * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
2322 (elmo-imap4-find-next-line): Display progress whille literal fetching.
2323 (elmo-imap4-message-fetch): Likewise.
2325 * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
2326 (elmo-shimbun-index-range-alist): Ditto.
2327 (elmo-shimbun-use-entire-index): Abolish.
2328 (shimbun-mua-use-entire-index): Ditto.
2329 (elmo-shimbun-folder): Added new slot `range'.
2330 (elmo-folder-initialize): Setup slot `range'.
2332 2001-06-06 Yuuichi Teranishi <teranisi@gohome.org>
2334 * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
2335 (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
2336 (elmo-shimbun-get-headers): Use return value of
2337 `shimbun-article-expiration-days'.
2338 (elmo-folder-close-internal): Clean up last-check slot.
2340 * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
2341 (elmo-pop3-total-size): New variable.
2342 (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
2344 * elmo.el (elmo-folder-reserve-status-p): New method.
2346 * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
2347 (elmo-shimbun-use-entire-index): New user option.
2348 (shimbun-elmo-mua): New class.
2349 (shimbun-mua-search-id): Define.
2350 (shimbun-mua-use-entire-index): Ditto.
2351 (elmo-shimbun-folder:last-check): New slot.
2352 (elmo-shimbun-headers-cache-header-list): Abolish.
2353 (elmo-shimbun-headers-cache-set-header-list): Ditto.
2354 (elmo-shimbun-headers-cache-header-hash): Ditto.
2355 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
2356 (elmo-shimbun-headers-cache-last-check): Ditto.
2357 (elmo-shimbun-headers-cache-set-last-check): Ditto.
2358 (elmo-shimbun-headers-check-p): Rewrite.
2359 (elmo-shimbun-msgdb-to-headers): New function.
2360 (elmo-shimbun-get-headers): Rewrite.
2361 (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
2362 (elmo-folder-open-internal): Get headers only if
2363 `elmo-shimbun-headers-check-p' is non-nil.
2364 (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
2366 (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
2367 (elmo-quit): Removed.
2369 * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
2371 (elmo-msgdb-overview-entity-set-extra): Ditto.
2372 (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
2374 * elmo-map.el (elmo-folder-status): Don't call
2375 elmo-folder-close-internal if `elmo-folder-reserve-status-p'
2378 2001-06-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2380 * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
2381 of `elmo-msgdb-search-internal-primitive' when condition's car is
2384 2001-05-23 Kenichi OKADA <okada@opaopa.org>
2386 * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
2388 2001-05-22 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2390 * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
2391 call `elmo-pipe-drain'.
2393 2001-05-19 Masahiro MURATA <muse@ba2.so-net.ne.jp>
2395 * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
2396 typo. (elmo-cache-folder -> elmo-mark-folder)
2398 2001-05-11 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2400 * elmo-net.el (elmo-message-fetch-unplugged): Don't call
2401 `elmo-message-fetch'.
2403 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2405 * elmo-net.el (elmo-message-encache): Fixed typo.
2406 (elmo-message-fetch-unplugged): Changed call
2407 `elmo-message-fetch-internal' without argument `outbuf'.
2409 2001-05-10 Yuuichi Teranishi <teranisi@gohome.org>
2411 * elmo.el (elmo-message-encache): Define as generic function.
2412 (elmo-message-fetch-field): New generic function.
2413 (elmo-message-fetch-with-cache-process): Cause an error when
2414 fetch strategy is 'entire but only 'section cache is available.
2415 (toplevel): Fixed nmz folder definition.
2417 * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
2418 (elmo-msgdb-resume-list-filename): Ditto.
2419 (elmo-queue-filename): Ditto.
2420 (elmo-enable-disconnected-operation): Changed default value to t.
2422 * elmo-util.el (elmo-cache-path-section-p): New function.
2423 (elmo-file-cache-get): Use it.
2424 (elmo-dop-queue-filename): Moved from elmo-dop.el.
2425 (elmo-dop-queue-load): Moved from elmo-msgdb.el.
2426 (elmo-dop-queue-save): Ditto.
2428 * elmo-net.el (elmo-folder-status-unplugged): Call
2429 elmo-folder-status-dop.
2430 (elmo-folder-list-messages-unplugged): Implemented.
2431 (elmo-folder-delete-messages-unplugged): Define.
2432 (elmo-folder-msgdb-create): Define.
2433 (elmo-folder-msgdb-create-unplugged): Define.
2434 (elmo-folder-mark-as-read-unplugged): Ditto.
2435 (elmo-folder-unmark-read-unplugged): Ditto.
2436 (elmo-folder-mark-as-important-unplugged): Ditto.
2437 (elmo-folder-unmark-important-unplugged): Ditto.
2438 (elmo-message-encache): Ditto.
2440 * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
2441 (elmo-dop-queue-save): Ditto.
2443 * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
2444 `elmo-folder-msgdb-create'.
2445 (elmo-folder-append-buffer): Implemented unplugged operation.
2446 (elmo-folder-append-messages): Call parent method in unplugged status.
2447 (elmo-message-fetch-unplugged): Removed definition.
2448 (elmo-message-fetch-field): Implemented.
2450 * elmo-dop.el (toplevel): Require 'elmo-localdir.
2451 (elmo-dop-folder): Removed variable definition.
2452 (elmo-dop-queue-append): Changed argument `fname' to `folder'.
2453 (elmo-dop-queue-flush): Implemented.
2454 (elmo-dop-queue-merge): Removed definition (TODO).
2455 (elmo-dop-spool-folder): New function.
2456 (elmo-dop-spool-folder-append-buffer): Ditto.
2457 (elmo-dop-spool-folder-list-messages): Ditto.
2458 (elmo-dop-list-deleting-messages): Ditto.
2459 (elmo-folder-append-buffer-dop): Ditto.
2460 (elmo-folder-delete-messages-dop): Ditto.
2461 (elmo-message-encache-dop): New inline function.
2462 (elmo-create-folder-dop): Ditto.
2463 (elmo-folder-mark-as-read-dop): Ditto.
2464 (elmo-folder-unmark-read-dop): Ditto.
2465 (elmo-folder-mark-as-important-dop): Ditto.
2466 (elmo-folder-unmark-important-dop): Ditto.
2467 (elmo-folder-status-dop): Fixed.
2468 (elmo-folder-append-buffer-dop-delayed): New function.
2469 (elmo-folder-delete-messages-dop-delayed): Ditto.
2470 (elmo-dop-msgdb): Ditto.
2472 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2474 * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
2476 2001-05-10 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2478 * elmo.el (elmo-folder-move-messages): Fixed problem when
2479 `dst-folder' is 'null.
2481 2001-05-09 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2483 * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
2484 instead of current mark.
2486 * elmo-multi.el (elmo-folder-list-importants-internal): No
2487 operation if importants is not list.
2489 * elmo-filter.el (elmo-filter-folder-list-importants-internal):
2490 Return t if importants is not list.
2492 * elmo-map.el (elmo-map-folder-list-importants): Define.
2493 (elmo-folder-list-importants-internal): Check return value of
2494 `elmo-map-folder-list-importants-internal'.
2496 * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
2498 * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
2500 * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
2502 * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
2504 2001-05-08 Yuuichi Teranishi <teranisi@gohome.org>
2506 * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
2507 (Patch is provided by <kita@coe.nttdata.co.jp>).
2509 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2511 * elmo.el (elmo-folder-synchronize): Don't check important mark in
2514 2001-05-08 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2516 * elmo.el (elmo-message-fetch): Define.
2517 (elmo-message-fetch-with-cache-process): New generic method.
2518 (elmo-message-fetch-internal): New generic method.
2519 (elmo-folder-synchronize):
2521 * elmo-archive.el (elmo-message-fetch-internal): Define.
2522 (elmo-message-fetch): Eliminated.
2524 * elmo-localdir.el (elmo-message-fetch-internal): Define.
2525 (elmo-message-fetch): Eliminated.
2527 * elmo-map.el (elmo-map-message-fetch): Eliminated optional
2529 (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
2531 * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
2532 (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
2534 * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
2535 (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
2537 * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
2539 * elmo-nmz.el (elmo-map-message-fetch): Ditto.
2541 * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
2543 * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
2544 (elmo-message-fetch-unplugged): New generic method.
2545 (elmo-message-fetch-internal): Remove cache process (Renamed from
2546 `elmo-message-fetch').
2548 * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
2549 (elmo-message-fetch): Eliminated.
2550 (elmo-message-fetch-unplugged): Ditto.
2552 * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
2554 2001-05-02 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2556 * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
2557 of `to-be-deleted' from number-alist to number-list.
2559 2001-04-26 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2561 * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
2562 (elmo-folder-mark-as-important): Ditto.
2564 2001-04-26 Yuuichi Teranishi <teranisi@gohome.org>
2566 * elmo.el (elmo-folder): Added process-duplicates slot.
2568 * elmo-pipe.el (elmo-folder-mark-as-read): Define.
2569 (elmo-folder-unmark-read): Ditto.
2570 (elmo-folder-unmark-important): Ditto.
2571 (elmo-folder-mark-as-important): Ditto.
2573 * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
2574 duplicated message processing.
2576 * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
2578 2001-04-24 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2580 * elmo-util.el (elmo-list-subdirectories-1): New function.
2581 (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
2582 (elmo-mapcar-list-of-list): New function.
2584 * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
2585 `elmo-mapcar-list-of-list' instead of `mapcar'.
2587 * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
2589 * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
2590 `elmo-have-link-count'. Return the fully qualified folder name.
2592 2001-04-23 Yuuichi Teranishi <teranisi@gohome.org>
2594 * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
2595 (elmo-shimbun-headers-cache): New internal variable.
2596 (elmo-shimbun-headers-cache-header-list): New inline function.
2597 (elmo-shimbun-headers-cache-set-header-list): Ditto.
2598 (elmo-shimbun-headers-cache-header-hash): Ditto.
2599 (elmo-shimbun-headers-cache-set-header-hash): Ditto.
2600 (elmo-shimbun-headers-cache-last-check): Ditto.
2601 (elmo-shimbun-headers-cache-set-last-check): Ditto.
2602 (elmo-shimbun-lapse-seconds): Ditto.
2603 (elmo-shimbun-headers-cache-check-p): Ditto.
2604 (elmo-shimbun-get-headers): New function.
2605 (elmo-folder-open-internal): Call it.
2606 (elmo-quit): Define (Clear headers-cache).
2608 2001-04-18 Yuuichi Teranishi <teranisi@gohome.org>
2610 * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
2612 * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
2613 (elmo-msgdb-flist-save): Ditto.
2615 * elmo-shimbun.el (elmo-folder-list-subfolders):
2616 Use `shimbun-groups' instead of `shimbun-groups-internal'.
2617 (elmo-folder-exists-p): Ditto.
2619 * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
2620 argument for `shimbun-header-insert'.
2622 2001-04-17 Yuuichi Teranishi <teranisi@gohome.org>
2624 * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
2627 * elmo-util.el (toplevel): Require 'mcharset and 'pces.
2628 (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
2630 2001-04-16 Yuuichi Teranishi <teranisi@gohome.org>
2632 * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
2633 (elmo-folder-plugged-p): Define.
2634 (elmo-folder-set-plugged): Ditto.
2635 (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
2636 (elmo-folder-list-messages-internal): Return t if unplugged.
2637 (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
2639 * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
2640 when elmo-folder-list-messages-internal method of children returns t.
2642 * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
2644 (elmo-folder-open-internal): Don't update if unplugged status.
2646 2001-04-13 Yuuichi Teranishi <teranisi@gohome.org>
2648 * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
2651 2001-04-12 Yuuichi Teranishi <teranisi@gohome.org>
2653 * elmo-util.el (elmo-file-cache-save): Ignore errors.
2655 * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
2658 2001-04-09 Yuuichi Teranishi <teranisi@gohome.org>
2660 * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
2662 * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
2663 (elmo-folder-open-internal): Set up headers slot.
2664 (elmo-folder-check): Call elmo-folder-close-internal and
2665 elmo-folder-open-internal.
2666 (elmo-folder-close-internal): Clean up headers slot.
2668 2001-04-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
2670 * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
2671 exactly folder list.
2672 (elmo-folder-append-messages): Fixed append archive with prefix.
2674 * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
2675 make temp files with start-number.
2677 * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
2679 2001-04-05 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
2681 * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
2682 argument `visible-only'.
2683 (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
2686 * elmo-pop3.el (elmo-folder-open-internal): Check
2687 `elmo-inhibit-number-mapping' is non-nil.
2689 * elmo-pipe.el (elmo-folder-status): Fixed.
2691 2001-04-05 Yuuichi Teranishi <teranisi@gohome.org>
2693 * elmo.el (elmo-dop-queue-flush): Added autload setting.
2695 * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
2696 (elmo-folder-open-internal): Setup `header-hash' slot.
2697 (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
2699 (elmo-map-message-fetch): Ditto.
2701 2001-04-04 Yuuichi Teranishi <teranisi@gohome.org>
2703 * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
2704 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
2705 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
2706 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
2708 * elmo-util.el (elmo-resque-obsolete-variable): Fix.
2710 2001-04-03 Yuuichi Teranishi <teranisi@gohome.org>
2712 * sb-airs.el: Added footer.
2714 * shimbun.el (shimbun-article): Define as luna-method.
2716 * sb-tcup.el: New file.
2718 * sb-airs.el (toplevel): Require 'sb-mhonarc.
2719 (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
2721 2001-04-02 Yuuichi Teranishi <teranisi@gohome.org>
2723 * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
2724 (shimbun-get-headers): Ditto.
2726 * elmo.el: Moved obsolete variable definitions from
2727 elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
2729 * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
2732 * shimbun.el: New file.
2734 * elmo-shimbun.el: New file.
2736 * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
2737 sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
2738 sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
2739 sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
2741 2001-03-27 Kenichi OKADA <okada@opaopa.org>
2743 * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
2746 2001-03-12 Yuuichi Teranishi <teranisi@gohome.org>
2748 * elmo.el (elmo-folder-msgdb): Define as macro.
2749 (elmo-folder-open): Added argument `load-msgdb'.
2750 (elmo-generic-folder-open): Ditto.
2751 (elmo-folder-encache): New function.
2753 * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
2755 * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
2757 * elmo-msgdb.el (elmo-msgdb-delete-msgs):
2758 Eliminated argument FOLDER and added argument MSGDB.
2759 (elmo-dop-queue-load): Moved from elmo-dop.el.
2760 (elmo-dop-queue-save): Ditto.
2762 * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
2764 * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
2766 * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
2767 Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
2768 (elmo-filter-folder-list-importants-internal): Ditto.
2770 * elmo-map.el (elmo-folder-pack-number): Ditto.
2772 * elmo-mime.el (elmo-mime-message-display): Ditto.
2774 * elmo.el (elmo-generic-folder-commit): Ditto.
2775 (elmo-folder-list-unreads): Ditto.
2776 (elmo-folder-list-importants): Ditto.
2777 (elmo-generic-folder-commit): Ditto.
2778 (elmo-message-set-mark): Ditto.
2779 (elmo-generic-folder-append-msgdb): Ditto.
2780 (elmo-folder-synchronize): Ditto.
2781 (elmo-folder-messages): Ditto.
2782 (elmo-init): Call elmo-dop-queue-load.
2783 (elmo-folder-list-messages): Ditto.
2785 * elmo-nntp.el (elmo-folder-update-number): Ditto.
2786 (elmo-nntp-folder-process-crosspost): Ditto.
2787 (elmo-folder-list-unreads-internal): Ditto.
2789 * elmo-dop.el: Removed old functions.
2791 2001-03-05 Yuuichi Teranishi <teranisi@gohome.org>
2793 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
2794 `folder' to `msgdb'.
2796 2001-03-01 Yuuichi Teranishi <teranisi@gohome.org>
2798 * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
2799 `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
2801 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
2804 2001-02-28 Yuuichi Teranishi <teranisi@gohome.org>
2806 * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
2809 * mmimap.el (toplevel): Require 'mime-parse and 'static.
2810 (mmimap-parse-parameters-from-list): Define as alias for
2811 `mime-decode-parameter-plist' if it is defined as function.
2812 (mmimap-make-mime-entity): Added argument `number'.
2813 (initialize-instance): Set `number' argument of mmimap-make-mime-entity
2815 (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
2817 * elmo.el (elmo-folder-have-subfolder-p): New generic function.
2819 * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
2821 * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
2823 2001-02-27 Yuuichi Teranishi <teranisi@gohome.org>
2825 * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
2827 * elmo-imap4.el (elmo-folder-initialize): Fixed problem
2828 when elmo-imap4-default-authenticate-type is nil.
2829 (elmo-folder-list-subfolders): Ditto
2830 (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
2831 (elmo-imap4-fetch-callback-1-subr): Renamed from
2832 `elmo-imap4-fetch-callback-1' and define as inline function.
2833 (elmo-imap4-fetch-callback-1):
2834 Renamed from `elmo-imap4-fetch-callback'.
2835 (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
2837 * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
2838 msgdb path (To keep compatibility with main trunk).
2840 * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
2842 * elmo-util.el (elmo-make-file-cache): Moved position of
2845 * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
2846 (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
2847 instead of `elmo-pop3-inhibit-uidl'.
2848 (elmo-folder-exists-p): Ditto.
2849 (elmo-pop3-folder-list-messages): Ditto.
2851 * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
2852 instead of `elmo-pop3-inhibit-uidl'.
2853 (elmo-folder-status): Ditto.
2855 * elmo-dop.el (elmo-dop-folder): New variable.
2856 (elmo-dop-lock-message): Eliminated.
2857 (elmo-dop-unlock-message): Ditto.
2858 (elmo-dop-lock-list-load): Ditto.
2859 (elmo-dop-lock-list-save): Ditto.
2860 (elmo-dop-delete-folder): Ditto.
2861 (elmo-dop-rename-folder): Ditto.
2863 * elmo.el: Removed incomplete commentary.
2865 2001-02-25 TAKAHASHI Kaoru <kaoru@kaisei.org>
2867 * elmo.el (toplevel): Require 'elmo-version first;
2868 for little `recursive-load-depth' settings.
2869 Fix "ends here" comment.
2871 2001-02-23 Yuuichi Teranishi <teranisi@gohome.org>
2873 * elmo-util.el (toplevel): Require 'poem;
2874 Some functions are moved from elmo-cache.el.
2876 * elmo-net.el (toplevel): Require 'elmo-cache.
2878 * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
2880 * elmo.el (toplevel): Ditto.
2882 * elmo-cache.el: Rewrite with luna;
2883 Some functions are moved to elmo-util.el.
2885 * elmo-internal.el (elmo-internal-folder-list): New variable.
2886 (elmo-internal-folder-initialize): Rewrite.
2887 (elmo-folder-list-subfolders): Ditto.
2889 * elmo-cache.el (elmo-cache-search-all): Eliminated.
2890 (elmo-cache-collect-sub-directories): Ditto.
2892 2001-02-22 Yuuichi Teranishi <teranisi@gohome.org>
2894 * elmo-version.el (elmo-version): Up to 2.5.8.
2896 * elmo.el (elmo-folder-list-messages-mark-match): New function.
2898 * elmo-util.el (elmo-list-insert): New function.
2900 2001-02-21 Yuuichi Teranishi <teranisi@gohome.org>
2902 * elmo.el (elmo-init): New function.
2903 (elmo-quit): Call `elmo-crosspost-message-alist-save'.
2905 * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
2906 (Renamed from `elmo-localdir-header-chop-length').
2908 * elmo-pop3.el (elmo-pop3-use-cache,
2909 elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
2911 * elmo-nntp.el (elmo-message-fetch): Define.
2912 (elmo-message-fetch-unplugged): Ditto.
2913 (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
2914 (elmo-nntp-use-cache): Ditto.
2915 (elmo-nntp-max-number-precedes-list-active): Ditto.
2917 * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
2919 * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
2920 `elmo-msgdb-insert-file-header'.
2921 Use `elmo-msgdb-file-header-chop-length'.
2923 * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
2926 * elmo-cache.el (elmo-cache-insert-header): Eliminated.
2927 (elmo-cache-msgdb-create-overview-entity-from-file): Use
2928 `elmo-msgdb-insert-file-header'.
2930 * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
2932 Define obsolete variables with `elmo-define-obsolete-variable',
2934 * elmo-util.el (elmo-warning-buffer-name): New constant.
2935 (elmo-warning): New function.
2936 (elmo-obsolete-variable-alist): New variable.
2937 (elmo-obsolete-variable-show-warnings): New variable.
2938 (elmo-define-obsolete-variable): New function.
2939 (elmo-resque-obsolete-variable): Ditto.
2940 (elmo-resque-obsolete-variables): Ditto.
2942 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2944 * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
2947 * elmo-pop3.el, elmo-nntp.el: Use custom.
2949 2000-02-20 Kenichi OKADA <okada@opaopa.org>
2951 * elmo-imap4.el (elmo-network-authenticate-session): Fix.
2952 * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
2954 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2956 * Luna-fy Kenichi OKADA's following changes.
2957 * elmo.el (elmo-folder-list-messages-internal): Added optional argument
2959 (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
2961 2001-02-21 OKAZAKI Tetsurou <okazaki@be.to>
2963 * elmo-util.el (elmo-display-progress): Prefer
2964 `progress-feedback-with-label' to `lprogress-display'.
2966 2000-02-20 Kenichi OKADA <okada@opaopa.org>
2968 * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
2970 2000-02-19 Kenichi OKADA <okada@opaopa.org>
2972 * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
2973 * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
2974 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
2975 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
2976 * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
2977 * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
2978 * elmo-archive.el (elmo-archive-list-folder): Ditto.
2979 * elmo-filter.el (elmo-filter-list-folder): Ditto.
2980 * elmo-internal.el (elmo-internal-list-folder): Ditto.
2981 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
2982 * elmo-multi.el (elmo-multi-list-folder): Ditto.
2983 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
2984 * elmo-dop.el (elmo-dop-list-folder): Ditto.
2986 2000-02-17 Kenichi OKADA <okada@opaopa.org>
2988 * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
2989 * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
2991 2001-02-20 Yuuichi Teranishi <teranisi@gohome.org>
2993 * elmo.el (elmo-folder-process-crosspost): New generic method.
2994 (elmo-folder-writable-p): Ditto.
2995 (elmo-folder-message-appendable-p): Eliminated.
2996 (elmo-generic-folder-append-msgdb): Rewrite.
2997 (elmo-newsgroups-hashtb): New internal variable.
2998 (elmo-crosspost-message-set): Eliminated.
2999 (elmo-crosspost-message-delete): Ditto.
3000 (elmo-setup-subscribed-newsgroups): New function.
3001 (elmo-crosspost-message-alist-modified): New internal variable.
3002 (elmo-crosspost-message-alist-load): New function (Renamed from
3003 `wl-crosspost-alist-load').
3004 (elmo-crosspost-message-alist-save): Ditto (Renamed from
3005 `wl-crosspost-alist-save').
3007 * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
3009 * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
3011 (elmo-nntp-groups-hashtb): Eliminated (Renamed to
3012 elmo-newsgroups-hashtb).
3013 (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
3014 `elmo-nntp-folder-update-crosspost-message-alist'.
3015 (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
3016 `elmo-nntp-groups-hashtb'.
3017 (elmo-nntp-make-groups-hashtb): Eliminated.
3018 (elmo-nntp-parse-newsgroups): New function (Renamed from
3019 `wl-parse-newsgroups').
3020 (elmo-folder-creatable-p, elmo-folder-writable-p,
3021 elmo-folder-close-internal, elmo-folder-mark-as-read,
3022 elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
3024 (elmo-nntp-folder-update-crosspost-message-alist): New function.
3026 * elmo-net.el (elmo-message-fetch): Check buffer size.
3028 * elmo-multi.el (elmo-multi-split-number-alist): New function.
3030 * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
3032 * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
3033 before `close' command.
3035 * elmo.el (elmo-folder-list-unreads-internal): Added argument
3036 `mark-alist' (All other related portions are changed).
3038 2001-02-13 Yuuichi Teranishi <teranisi@gohome.org>
3040 * elmo-util.el (elmo-create-hash-size): Eliminated.
3041 (elmo-make-hash) Make a hash with `one less than a power of two'
3044 * elmo-vars.el (elmo-hash-minimum-size): New variable.
3045 (elmo-hash-maximum-size): Changed value.
3047 2001-02-09 Yuuichi Teranishi <teranisi@gohome.org>
3049 * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
3050 (elmo-mime-message-display-as-is): Ditto.
3052 2001-02-07 Yuuichi Teranishi <teranisi@gohome.org>
3054 * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
3055 Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
3057 2001-02-06 Yuuichi Teranishi <teranisi@gohome.org>
3059 * elmo-mark.el: New file.
3061 * elmo-internal.el: Rewrite (Almost empty).
3063 2001-02-05 Yuuichi Teranishi <teranisi@gohome.org>
3065 * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
3066 (mime-imap-entity-header-string): Ditto.
3067 (mmimap-entity-section): Rewrite.
3069 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3071 * elmo-nmz.el: New file.
3073 * elmo-pipe.el: Rewrite with luna.
3075 2001-01-29 Yuuichi Teranishi <teranisi@gohome.org>
3077 * elmo-archive.el: Rewrite with luna.
3079 * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
3080 (elmo-folder-list-importants-internal): Ditto.
3082 2001-01-24 Yuuichi Teranishi <teranisi@gohome.org>
3084 * elmo-archive.el (elmo-archive-version): Abolish.
3085 (toplevel) Removed `boso' comment.
3087 2001-01-23 Yuuichi Teranishi <teranisi@gohome.org>
3089 * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
3090 elmo-msgdb-add-msgs-to-seen-list-subr;
3091 Changed argument seen-marks to unread-marks.
3093 * elmo-nntp.el: Rewrite with luna.
3095 2001-01-22 Yuuichi Teranishi <teranisi@gohome.org>
3097 * elmo-filter.el: Rewrite with luna.
3099 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
3101 * elmo-pop3.el: Rewrite with luna.
3103 2001-01-17 Yuuichi Teranishi <teranisi@gohome.org>
3105 * elmo-multi.el: Rewrite with luna.
3107 * elmo-vars.el (elmo-use-killed-list): Abolish.
3108 All other related portions are changed.
3109 (elmo-filename-replace-string-alist): Renamed from
3110 elmo-msgid-replace-string-alist.
3112 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
3114 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
3116 * elmo-map.el: New file.
3117 * elmo-maildir.el: Rewrite with luna.
3119 2001-01-14 Yuuichi Teranishi <teranisi@gohome.org>
3121 * elmo.el: Changed meaning of `elmo-folder-commit'.
3122 * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
3124 2001-01-07 Yuuichi Teranishi <teranisi@gohome.org>
3126 * elmo.el (elmo-folder-append-buffer): New function.
3127 (Renamed from `elmo-append-msg')
3129 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
3131 * elmo-mime.el: New file.
3133 2000-12-14 Yuuichi Teranishi <teranisi@gohome.org>
3135 * elmo-cache.el: Rewrite.
3137 2000-02-17 Kenichi OKADA <okada@opaopa.org>
3139 * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
3141 2000-12-08 Yuuichi Teranishi <teranisi@gohome.org>
3143 * elmo-vars.el (elmo): New group.
3144 (elmo-strict-diff-folder-regexp): New variable.
3146 * elmo-util.el (elmo-call-func): Abolish.
3147 (elmo-folder-get-type): Ditto.
3148 (elmo-*-get-spec): Ditto.
3149 (elmo-*-spec-*): Ditto.
3150 (elmo-imap4-identical-name-space-p): Ditto.
3151 (elmo-folder-identical-system-p): Ditto.
3152 (elmo-folder-direct-copy-alist): Ditto.
3153 (elmo-folder-direct-copy-p): Ditto.
3155 * elmo-pipe.el (elmo-pipe-folder): New luna class.
3156 (elmo-folder-initialize): Define.
3157 (elmo-folder-get-primitive-list): Ditto.
3159 * elmo-nntp.el (elmo-nntp-folder): New luna class.
3160 (elmo-folder-initialize): Define.
3161 Renamed `elmo-network-session-host-internal' to
3162 `elmo-network-session-server-internal'.
3164 * elmo-multi.el (elmo-multi-folder): New luna class.
3165 (elmo-folder-initialize): Define.
3166 (elmo-folder-get-primitive-list): Ditto.
3167 (elmo-folder-contains-type): Ditto.
3168 (elmo-message-use-cache-p): Ditto.
3170 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
3171 Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
3173 * elmo-maildir.el (elmo-maildir-folder): New luna class.
3174 (elmo-folder-initialize): Define.
3176 * elmo-filter.el (elmo-filter-folder): New luna class.
3177 (elmo-folder-initialize): Define.
3178 (elmo-folder-get-primitive-list): Ditto.
3179 (elmo-folder-contains-type): Ditto.
3181 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
3183 * elmo-imap4.el: Rewrite with luna.
3185 * mmimap.el: New file.
3187 * mmelmo.el, mmelmo-imap4.el: Removed.
3189 * elmo-net.el: Ditto.
3191 * elmo-pop3.el (elmo-pop3-folder): New luna class.
3192 (elmo-folder-initialize): Define.
3194 * elmo-archive.el (elmo-archive-folder): New luna class.
3195 (elmo-folder-initialize): Define.
3197 * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
3198 `elmo-folder-msgdb-path'.
3199 (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
3202 2000-12-06 Yuuichi Teranishi <teranisi@gohome.org>
3204 * elmo.el: New file.
3206 * elmo2.el: Renamed to elmo.el.
3209 2001-02-01 OKAZAKI Tetsurou <okazaki@be.to>
3211 * elmo-cache.el (elmo-cache-expire-by-size): Count
3212 a disk usage for a cache file entry in KB even when
3213 its kind is a directory.
3215 2001-02-01 Yuuichi Teranishi <teranisi@gohome.org>
3217 * elmo-version.el (elmo-version): Up to 2.5.7.
3219 2001-01-23 TAKAHASHI Kaoru <kaoru@kaisei.org>
3221 * elmo-version.el (elmo-version): Up to 2.5.6.
3223 2001-01-18 Yuuichi Teranishi <teranisi@gohome.org>
3225 * elmo-version.el (elmo-version): Up to 2.5.5.
3227 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
3229 * elmo-imap4.el (elmo-network-authenticate-session):
3230 Fixed a logic for response checking.
3232 2000-12-15 Daiki Ueno <ueno@unixuser.org>
3234 * elmo-net.el: Add autoload settings for `starttls-negotiate',
3235 `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
3236 `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
3239 * elmo-imap4.el: Don't require `sasl'; remove autoload settings
3240 for `starttls-open-stream' and `starttls-negotiate'.
3242 * elmo-nntp.el: Remove autoload settings for
3243 `starttls-open-stream' and `starttls-negotiate'.
3245 * elmo-pop3.el: Don't require `sasl'; remove autoload settings
3246 for `starttls-open-stream' and `starttls-negotiate'; don't enclose
3247 `luna-define-class' with `eval-and-compile'.
3249 2000-12-01 Kenichi OKADA <okada@opaopa.org>
3251 * elmo-util.el (elmo-read-search-condition-internal):
3252 Require an element of table for searching field.
3254 2000-11-30 Yuuichi Teranishi <teranisi@gohome.org>
3256 * elmo-version.el (elmo-version): Up to 2.5.4.
3258 2000-11-26 Kenichi OKADA <okada@opaopa.org>
3260 * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
3262 2000-11-24 Kenichi OKADA <okada@opaopa.org>
3264 * elmo-nntp.el (elmo-network-initialize-session): omitted.
3266 2000-11-22 Kenichi OKADA <okada@opaopa.org>
3268 * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
3271 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
3273 * elmo-imap4.el (elmo-imap4-delete-folder):
3274 Send "close" before "delete" (Use commented out line).
3275 (elmo-imap4-rename-folder): Ditto.
3277 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
3278 folder string itself.
3279 (elmo-dop-list-deleted): New function.
3280 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
3283 * elmo-util.el (elmo-string-rassoc-all): New function.
3285 2000-11-22 Yuuichi Teranishi <teranisi@gohome.org>
3287 * elmo-version.el (elmo-version): Up to 2.5.3.
3289 * elmo-net.el (elmo-network-get-session): Changed logic for
3290 checking process status.
3292 * elmo-pop3.el (elmo-network-close-session): Do nothing if session
3294 Changed logic for checking process status.
3296 2000-11-20 Yuuichi Teranishi <teranisi@gohome.org>
3298 * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
3300 (elmo-network-setup-session): Set UIDL hash size according to
3301 the length of list response.
3302 (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
3303 according to the length of list response;
3304 Return the length of list response.
3305 (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
3307 2000-11-21 Kenichi OKADA <okada@opaopa.org>
3309 * elmo-imap4.el (toplevel): Require 'ssl.
3310 Add autoload 'starttls.
3311 * elmo-pop3.el (toplevel): Ditto.
3312 * elmo-nntp.el (toplevel): Ditto.
3314 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3316 * elmo-imap4.el (toplevel): defun at compile time.
3317 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
3318 sasl-next-step, sasl-step-data, sasl-step-set-data.
3319 * elmo-pop3.el (toplevel): Ditto.
3321 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3323 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
3325 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3327 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
3329 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
3330 and `elmo-pop-auth-apop'.
3332 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3334 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
3336 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3338 * elmo-pop3.el (elmo-network-authenticate-session): Split
3339 encoded response value.
3341 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3343 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
3344 `elmo-pop3-force-login'.
3345 Redefine `sasl-mechanisms'.
3346 * elmo-vars.el (elmo-pop3-force-login): Ditto.
3348 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3350 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
3351 Delete `elmo-imap4-authenticator-alist'.
3352 (elmo-imap4-auth-cram-md5): Delete.
3353 (elmo-imap4-auth-digest-md5): Delete.
3355 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3357 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
3358 (elmo-pop3-auth-scram-md5): Ditto.
3359 (elmo-pop3-auth-cram-md5): Ditto.
3361 2000-11-19 Kenichi OKADA <okada@opaopa.org>
3363 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
3364 Delete `elmo-pop3-authenticator-alist'.
3366 2000-11-19 Kenichi OKADA <okada@opaopa.org>
3368 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
3370 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
3372 2001-01-30 Yuuichi Teranishi <teranisi@gohome.org>
3374 * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
3376 2001-01-19 Yuuichi Teranishi <teranisi@gohome.org>
3378 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
3379 Fixed problem when `elmo-pop3-use-uidl' is nil.
3380 (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
3382 2000-11-19 Kenichi OKADA <okada@opaopa.org>
3384 * elmo-version.el (elmo-version): Up to 2.5.2.
3386 2001-01-16 Yuuichi Teranishi <teranisi@gohome.org>
3388 * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
3390 (elmo-pop3-sort-msgdb-by-original-number): Ditto.
3391 (elmo-pop3-msgdb-create-as-numlist): Use it.
3393 * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
3394 (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
3396 * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
3397 (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
3399 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
3401 * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
3402 when elmo-mark-as-read is called with second argument nil.
3404 2001-01-12 Yuuichi Teranishi <teranisi@gohome.org>
3406 * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
3407 Moved to elmo-util.el.
3409 * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
3410 Moved from elmo-pipe.el
3412 * elmo-archive.el (elmo-archive-call-process): Enclose with
3415 * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
3416 "RFC822" (because RFC822.PEEK is obsolete).
3417 (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
3419 2001-01-10 Katsumi Yamaoka <yamaoka@jpl.org>
3421 * elmo-archive.el (elmo-archive-call-process): Don't check for
3422 the exit status when Nemacs is running.
3424 2001-01-09 Yuuichi Teranishi <teranisi@gohome.org>
3426 * elmo-net.el (elmo-network-session-password-key): Don't set default to
3429 * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
3430 (elmo-pop3-get-spec): Set default of auth to 'user.
3432 * elmo-imap4.el (elmo-imap4-session-check):
3433 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
3434 (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
3435 (elmo-imap4-auth-login): New function; Revival.
3436 (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
3437 `elmo-imap4-auth-login'.
3439 2000-12-29 TAKAHASHI Kaoru <kaoru@kaisei.org>
3441 * elmo2.el (toplevel): Move `product-provide' declare.
3442 * mmelmo.el (toplevel): Ditto.
3444 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
3446 * elmo-util.el (elmo-folder-get-store-type): Rewrite.
3448 2000-12-26 OKAZAKI Tetsurou <okazaki@be.to>
3450 * elmo-util.el (elmo-folder-get-store-type): New function.
3451 (elmo-folder-direct-copy-p): Use it.
3453 2000-12-26 Yuuichi Teranishi <teranisi@gohome.org>
3455 * elmo-imap4.el (elmo-imap4-msgdb-create): Set
3456 `elmo-imap4-fetch-callback-data' as a cons cell of `args'
3457 and result of `elmo-imap4-use-flag-p'.
3458 (elmo-imap4-fetch-callback-1): Set mark according to
3459 the result of `elmo-imap4-use-flag-p'.
3461 2000-12-22 Yuuichi Teranishi <teranisi@gohome.org>
3463 * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
3464 (elmo-generic-list-folder-unread): Ditto.
3465 (elmo-folder-get-info): Ditto.
3466 (elmo-folder-set-info-max-by-numdb): Ditto.
3467 (elmo-folder-get-info-max): Ditto.
3468 (elmo-folder-get-info-length): Ditto.
3469 (elmo-folder-get-info-unread): Ditto.
3470 (elmo-folder-info-make-hashtb): Ditto.
3472 * elmo2.el: Removed above functions.
3474 2000-11-21 Kenichi OKADA <okada@opaopa.org>
3476 * elmo-imap4.el (toplevel): Require 'ssl.
3477 Add autoload 'starttls.
3478 * elmo-pop3.el (toplevel): Ditto.
3479 * elmo-nntp.el (toplevel): Ditto.
3481 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3483 * elmo-imap4.el (toplevel): defun at compile time.
3484 sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
3485 sasl-next-step, sasl-step-data, sasl-step-set-data.
3486 * elmo-pop3.el (toplevel): Ditto.
3488 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3490 * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
3492 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3494 * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
3496 (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
3497 and `elmo-pop-auth-apop'.
3499 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3501 * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
3503 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3505 * elmo-pop3.el (elmo-network-authenticate-session): Split
3506 encoded response value.
3508 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3510 * elmo-pop3.el (elmo-network-authenticate-session): Abolish
3511 `elmo-pop3-force-login'.
3512 Redefine `sasl-mechanisms'.
3513 * elmo-vars.el (elmo-pop3-force-login): Ditto.
3515 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3517 * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
3518 Delete `elmo-imap4-authenticator-alist'.
3519 (elmo-imap4-auth-cram-md5): Delete.
3520 (elmo-imap4-auth-digest-md5): Delete.
3522 2000-11-20 Kenichi OKADA <okada@opaopa.org>
3524 * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
3525 (elmo-pop3-auth-scram-md5): Ditto.
3526 (elmo-pop3-auth-cram-md5): Ditto.
3528 2000-11-19 Kenichi OKADA <okada@opaopa.org>
3530 * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
3531 Delete `elmo-pop3-authenticator-alist'.
3533 2000-11-19 Kenichi OKADA <okada@opaopa.org>
3535 * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
3537 * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
3540 2000-12-18 Yuuichi Teranishi <teranisi@gohome.org>
3542 * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
3544 2000-12-01 Yuuichi Teranishi <teranisi@gohome.org>
3546 * elmo-nntp.el (elmo-nntp-get-folders-info):
3547 Fixed problem when '\' character is contained in user-id.
3548 (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
3551 2000-11-28 Yuuichi Teranishi <teranisi@gohome.org>
3553 * elmo-imap4.el (elmo-imap4-delete-folder):
3554 Send "close" before "delete" (Use commented out line).
3555 (elmo-imap4-rename-folder): Ditto.
3557 * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
3558 folder string itself.
3559 (elmo-dop-list-deleted): New function.
3560 (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
3563 * elmo-util.el (elmo-string-rassoc-all): New function.
3565 * elmo-version.el (elmo-version): Up to 2.5.1.
3567 2000-11-13 Yuuichi Teranishi <teranisi@gohome.org>
3569 * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
3571 * elmo-internal.el (elmo-internal-search): Fix last change.
3573 2000-11-08 Yuuichi Teranishi <teranisi@gohome.org>
3575 * elmo-internal.el (elmo-internal-search): Rewrite.
3576 (Fixed problem which is pointed out by Akihiro MOTOKI
3577 <motoki@da.jp.nec.com>)
3579 * elmo-version.el (elmo-version): Up to 2.5.0.
3581 2000-11-06 Kenichi OKADA <okada@opaopa.org>
3583 * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
3585 2000-11-06 Kenichi OKADA <okada@opaopa.org>
3587 * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
3588 non-nil, make hierarchy.
3590 2000-11-05 OKAZAKI Tetsurou <okazaki@be.to>
3592 * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
3593 `elmo-pop3-use-uidl' must be bound to nil.
3594 (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
3596 2000-11-02 Yuuichi Teranishi <teranisi@gohome.org>
3598 * elmo-util.el (elmo-copy-file): Don't cause an error after
3599 `add-name-to-file' failed.
3601 * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
3602 (Fix by HIROSE Yuuji <yuuji@gentei.org>)
3604 2000-11-01 TAKAHASHI Kaoru <kaoru@kaisei.org>
3606 * elmo-version.el (elmo-version): Up to 2.3.93.
3608 2000-11-01 Yuuichi Teranishi <teranisi@gohome.org>
3610 * elmo-util.el (elmo-flatten): New function.
3612 2000-10-31 TAKAHASHI Kaoru <kaoru@kaisei.org>
3614 * elmo-archive.el (toplevel): Added (C) to copyright notice, and
3616 * elmo-cache.el (toplevel): Ditto.
3617 * elmo-database.el (toplevel): Ditto.
3618 * elmo-date.el (toplevel): Ditto.
3619 * elmo-dop.el (toplevel): Ditto.
3620 * elmo-filter.el (toplevel): Ditto.
3621 * elmo-imap4.el (toplevel): Ditto.
3622 * elmo-internal.el (toplevel): Ditto.
3623 * elmo-localdir.el (toplevel): Ditto.
3624 * elmo-localnews.el (toplevel): Ditto.
3625 * elmo-maildir.el (toplevel): Ditto.
3626 * elmo-msgdb.el (toplevel): Ditto.
3627 * elmo-multi.el (toplevel): Ditto.
3628 * elmo-net.el (toplevel): Ditto.
3629 * elmo-nntp.el (toplevel): Ditto.
3630 * elmo-pipe.el (toplevel): Ditto.
3631 * elmo-pop3.el (toplevel): Ditto.
3632 * elmo-util.el (toplevel): Ditto.
3633 * elmo-vars.el (toplevel): Ditto.
3634 * elmo2.el (toplevel): Ditto.
3635 * mmelmo-imap4.el (toplevel): Ditto.
3636 * mmelmo.el (toplevel): Ditto.
3638 * elmo-version.el (elmo-version): Move to top.
3640 * elmo-cache.el (toplevel): Fixed multiple Author header format.
3641 * elmo-imap4.el (toplevel): Ditto.
3642 * elmo-localdir.el (toplevel): Ditto.
3643 * elmo-msgdb.el (toplevel): Ditto.
3644 * elmo-nntp.el (toplevel): Ditto.
3645 * elmo-pop3.el (toplevel): Ditto.
3646 * elmo-version.el (toplevel): Ditto.
3648 * elmo-localnews.el (toplevel): Added Keyword header.
3650 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
3652 * elmo-version.el (product-version-as-string): Defined using
3656 * elmo-localdir.el (toplevel): Updated copyright notice.
3657 * elmo-version.el (toplevel): Ditto.
3658 * elmo-msgdb.el (toplevel): Ditto.
3659 * elmo-imap4.el (toplevel): Ditto.
3660 * elmo-nntp.el (toplevel): Ditto.
3661 * elmo-pop3.el (toplevel): Ditto.
3663 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
3665 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
3668 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
3669 parameter value (It sometimes contains raw kanji).
3671 2000-10-28 Kenichi OKADA <okada@opaopa.org>
3673 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
3674 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
3676 2000-10-28 Kenichi OKADA <okada@opaopa.org>
3678 * elmo-imap4.el (elmo-network-initialize-session): Fix.
3680 2000-10-28 Kenichi OKADA <okada@opaopa.org>
3682 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
3683 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
3685 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
3687 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
3688 value if selecting folder succceeded.
3689 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
3691 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
3693 * elmo-util.el (elmo-make-directory): Fixed permission lateral
3696 * elmo-util.el (elmo-string-matched-member): New function.
3698 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
3700 * elmo-util.el (elmo-unintern): New macro.
3701 (elmo-number-set-member): Fixed docstring.
3703 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
3706 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
3708 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
3709 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
3711 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
3713 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
3716 Return non-nil if selecting folder succeeded.
3717 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
3719 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
3721 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
3722 `file-name-completion' returns t.
3723 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
3724 (elmo-maildir-set-mark): Put `info' part to the files in the cur
3725 directory if it does not exist.
3726 (elmo-maildir-update-current): Use `while' instead of `mapcar'
3729 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
3731 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
3732 enclosure (It's harmful in unplugged status).
3734 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
3736 * mmelmo-1.el: Removed.
3738 * mmelmo-2.el: Ditto.
3740 * mmelmo-imap4-1.el: Ditto.
3742 * mmelmo-imap4-2.el: Ditto.
3744 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
3746 * mmelmo.el: Merged mmelmo-2.el.
3748 * elmo-version.el (elmo-version): Up to 2.3.92.
3750 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
3752 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
3753 elmo-update-number): Remove last period in "...done." message.
3754 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3756 * elmo-cache.el (elmo-cache-expire-by-size,
3757 elmo-cache-get-sorted-cache-file-list,
3758 elmo-cache-msgdb-create-as-numlist): Ditto.
3759 * elmo-dop.el (elmo-dop-save-pending-messages,
3760 (elmo-dop-flush-pending-append-operations): Ditto.
3761 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
3762 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
3763 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
3764 (elmo-localdir-pack-number): Ditto.
3765 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
3766 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
3767 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
3768 mime-write-entity-content): Ditto.
3769 * pldap.el (ldap-search-basic): Ditto.
3771 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
3773 * elmo-version.el (elmo-version): Up to 2.3.91.
3775 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
3776 Only when filter is 'last'.
3778 * elmo-util.el (elmo-condition-atom-regexp): New constant.
3779 (elmo-condition-parse-search-value): Use it.
3780 (elmo-read-search-condition-internal): Quote value only when
3783 2000-10-18 Kenichi OKADA <okada@opaopa.org>
3785 * elmo2.el (elmo-generic-folder-diff): Fix.
3787 2000-10-17 Kenichi OKADA <okada@opaopa.org>
3789 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
3790 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
3791 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
3792 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
3793 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
3794 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
3796 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
3798 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
3801 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
3803 * elmo-version.el (elmo-version): Up to 2.3.90.
3805 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
3806 (elmo-imap4-list-folder-important): Ditto.
3808 2000-10-16 Kenichi OKADA <okada@opaopa.org>
3810 * elmo-nntp.el (elmo-network-initialize-session): Fix.
3812 2000-10-16 Kenichi OKADA <okada@opaopa.org>
3814 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
3816 2000-10-15 Kenichi OKADA <okada@opaopa.org>
3818 * elmo-nntp.el (elmo-network-initialize-session):
3819 Add starttls negotiation.
3821 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
3823 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
3825 (elmo-network-setup-session): Define.
3826 Call `elmo-nntp-send-mode-reader' when session opened.
3828 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
3830 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
3832 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
3834 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
3835 an invalid SPACE character ahead of `SEARCH' command. Move
3836 a valid SPACE character following `SEARCH' from conditional
3837 `format' arguments to control-strings.
3839 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
3841 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
3844 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
3846 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
3848 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
3849 `w32-get-true-file-link-count' as t.
3851 * elmo-imap4.el (elmo-imap4-read): Abolished.
3852 (Renamed to `elmo-read' and moved to elmo-util.el)
3853 All other related portions are changed.
3855 * elmo-util.el (elmo-read): New function.
3856 (elmo-condition-parse-search-value): Use it.
3858 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
3860 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
3862 * elmo-nntp.el (elmo-nntp-session): Define.
3863 (elmo-nntp-setting): Abolished.
3864 All other related portions are changed.
3865 (elmo-nntp-get-server-command): Changed argument.
3866 (elmo-nntp-set-server-command): Ditto.
3867 (elmo-nntp-xover-p): Ditto.
3868 (elmo-nntp-set-xover): Ditto.
3869 (elmo-nntp-listgroup-p): Ditto.
3870 (elmo-nntp-set-listgroup): Ditto.
3871 (elmo-nntp-list-active-p): Ditto.
3872 (elmo-nntp-set-list-active): Ditto.
3873 (elmo-nntp-xhdr-p): Ditto.
3874 (elmo-nntp-set-xhdr): Ditto.
3875 (elmo-nntp-flush-connection): Abolished.
3876 (elmo-nntp-get-connection): Abolished.
3877 (elmo-nntp-get-session): New function.
3878 (elmo-network-initialize-session): Defined.
3879 (elmo-network-authenticate-session): Ditto.
3880 (elmo-nntp-send-mode-reader): Changed argument.
3881 (elmo-nntp-send-command): Changed argument.
3882 All other related portions are changed.
3883 (elmo-nntp-read-response): Ditto.
3884 (elmo-nntp-read-raw-response): Ditto.
3885 (elmo-nntp-read-contents): Ditto.
3886 (elmo-nntp-read-body): Ditto.
3887 (elmo-nntp-goto-folder): Abolished.
3888 (elmo-nntp-select-group): New function.
3889 All other related portions are changed.
3890 (This function substitutes `elmo-nntp-goto-folder')
3891 (elmo-nntp-msgdb-create-by-header): Rewrite.
3892 (elmo-nntp-get-overview): Eliminated.
3893 (elmo-nntp-get-message): Ditto.
3894 (elmo-nntp-open-connection) Abolished.
3895 (elmo-nntp-read-msg): Rewrite.
3896 (elmo-nntp-post): Ditto.
3897 (elmo-nntp-send-data): Abolished.
3898 (elmo-nntp-send-buffer): New function.
3899 (elmo-nntp-send-data-line): Define as inline function.
3900 (elmo-nntp-get-folders-info-prepare): Use session as key.
3901 (elmo-nntp-groups-read-response): Changed argument.
3902 (elmo-nntp-retrieve-headers): Ditto.
3903 (elmo-nntp-msgdb-create-message): Ditto.
3905 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
3906 when searching by 'since' or 'before'.
3908 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
3910 * elmo-version.el (toplevel): Use product-version-as-string for set
3911 verstion-string, if defined.
3913 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
3915 * elmo-util.el: Doc fixes.
3917 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
3919 * elmo-archive.el (toplevel): Use product-provide.
3920 * elmo-cache.el (toplevel): Ditto.
3921 * elmo-database.el (toplevel): Ditto.
3922 * elmo-date.el (toplevel): Ditto.
3923 * elmo-dop.el (toplevel): Ditto.
3924 * elmo-filter.el (toplevel): Ditto.
3925 * elmo-imap4.el (toplevel): Ditto.
3926 * elmo-internal.el (toplevel): Ditto.
3927 * elmo-localdir.el (toplevel): Ditto.
3928 * elmo-localnews.el (toplevel): Ditto.
3929 * elmo-maildir.el (toplevel): Ditto.
3930 * elmo-msgdb.el (toplevel): Ditto.
3931 * elmo-multi.el (toplevel): Ditto.
3932 * elmo-net.el (toplevel): Ditto.
3933 * elmo-nntp.el (toplevel): Ditto.
3934 * elmo-pipe.el (toplevel): Ditto.
3935 * elmo-pop3.el (toplevel): Ditto.
3936 * elmo-util.el (toplevel): Ditto.
3937 * elmo-vars.el (toplevel): Ditto.
3938 * elmo2.el (toplevel): Ditto.
3939 * mmelmo-1.el (toplevel): Ditto.
3940 * mmelmo-2.el (toplevel): Ditto.
3941 * mmelmo-imap4-1.el (toplevel): Ditto.
3942 * mmelmo-imap4-2.el (toplevel): Ditto.
3943 * mmelmo-imap4.el (toplevel): Ditto.
3944 * mmelmo.el (toplevel): Ditto.
3946 2000-10-10 Kenichi OKADA <okada@opaopa.org>
3948 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
3949 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
3951 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
3953 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
3955 (elmo-multi-split-number-alist): Ditto.
3957 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
3959 * elmo-version.el: New file. Use product.el.
3960 * elmo2.el: Add (require 'elmo-version).
3961 * elmo-vars.el (elmo-appname, elmo-version): Move to
3964 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
3966 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
3967 `elmo-msgdb-expand-path'.
3968 (elmo-msgdb-load): Ditto.
3969 Abolished 2nd argument. If 1st argument is not string, treat as spec.
3970 (elmo-generic-list-folder-unread): Rewrite.
3971 (elmo-generic-list-folder-important): Changed argument.
3972 (elmo-list-folder-unread): Ditto.
3973 (elmo-list-folder-important): Ditto.
3974 (elmo-folder-diff): Rewrite.
3975 (elmo-generic-folder-diff): New function.
3976 (elmo-multi-get-number-alist-list): Abolished
3977 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
3978 (elmo-multi-folder-diff): Moved to elmo-multi.el
3979 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
3981 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
3982 `elmo-msgdb-expand-path'.
3983 (elmo-pop3-msgdb-create-as-numlist): Ditto.
3984 (elmo-pop3-read-msg): Ditto.
3985 (elmo-pop3-delete-msgs): Ditto.
3986 (elmo-pop3-folder-diff): New alias.
3988 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
3989 `elmo-msgdb-expand-path'.
3990 (elmo-pipe-list-folder-unread): Changed arguments.
3991 (elmo-pipe-list-folder-important): Ditto.
3992 (elmo-pipe-folder-diff): New alias.
3994 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
3995 `elmo-msgdb-expand-path'.
3996 (elmo-nntp-max-of-folder): Ditto.
3997 (elmo-nntp-msgdb-create): Ditto.
3998 (elmo-nntp-delete-msgs): Ditto.
3999 (elmo-nntp-folder-diff): New alias.
4001 * elmo-multi.el (elmo-multi-folder-diff): New function.
4002 (elmo-multi-split-mark-alist): Ditto.
4003 (elmo-multi-split-number-alist): Ditto.
4004 (elmo-multi-mark-alist-list): Abolished (Renamed to
4005 elmo-multi-split-mark-alist).
4006 (elmo-multi-list-folder-unread): Rewrite.
4007 (elmo-multi-list-folder-important): Ditto.
4008 (elmo-multi-list-folder): Set `spec' as 1st argument for
4009 `elmo-msgdb-expand-path'.
4010 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
4011 instead of `elmo-multi-get-number-alist-list'.
4013 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
4014 If 1st argument is not string, treat as spec.
4015 (elmo-list-folder-by-location): Set `spec' as 1st argument for
4016 `elmo-msgdb-expand-path'.
4017 (elmo-msgdb-flist-load): Ditto.
4018 (elmo-msgdb-flist-save): Ditto.
4019 (elmo-msgdb-delete-path): Ditto.
4020 (elmo-msgdb-rename-path): Ditto.
4022 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
4023 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
4024 (elmo-maildir-delete-mark-msgs): Ditto.
4025 (elmo-maildir-msgdb-create): Ditto.
4026 (elmo-maildir-read-msg): Ditto.
4027 (elmo-maildir-delete-msgs): Ditto.
4028 (elmo-maildir-list-folder-subr): Ditto.
4029 (elmo-maildir-search): Ditto.
4030 (elmo-maildir-get-msg-filename): Ditto.
4031 (elmo-maildir-pack-number): Ditto.
4032 (elmo-maildir-folder-diff): New alias.
4034 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
4036 * elmo-localdir.el (elmo-localdir-list-folder-subr):
4037 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
4038 (elmo-localdir-folder-diff): New alias.
4040 * elmo-internal.el (elmo-internal-list-folder-subr):
4041 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
4042 (elmo-internal-list-folder-by-location): Ditto.
4043 (elmo-internal-msgdb-create): Ditto.
4044 (elmo-internal-delete-msgs): Ditto.
4045 (elmo-internal-read-msg): Ditto.
4046 (elmo-internal-folder-diff): New alias.
4048 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
4049 (elmo-imap4-list-folder): Set `spec' as 1st argument for
4050 `elmo-msgdb-expand-path'.
4051 (elmo-imap4-list-folder-unread): Changed arguments.
4052 (elmo-imap4-list-folder-important): Ditto.
4054 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
4055 (elmo-filter-list-folder-important): Ditto.
4056 (elmo-filter-folder-diff): New function.
4058 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
4060 * elmo-cache.el (elmo-cache-list-folder):
4061 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
4062 (elmo-cache-copy-msgs): Ditto.
4063 (elmo-cache-folder-diff): New alias.
4065 * elmo-archive.el (elmo-archive-list-folder-subr):
4066 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
4067 (elmo-archive-get-archive-name): Ditto.
4068 (elmo-archive-create-file): Ditto.
4069 (elmo-archive-append-msg): Ditto.
4070 (elmo-archive-copy-msgs): Ditto.
4071 (elmo-archive-copy-msgs-froms): Ditto.
4072 (elmo-archive-get-msg-filename): Ditto.
4073 (elmo-archive-folder-diff): New alias.
4075 2000-10-06 Daiki Ueno <ueno@unixuser.org>
4077 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
4078 (elmo-pop3-stream-type-alist): New variable.
4079 (elmo-nntp-stream-type-alist): New variable.
4081 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
4082 (elmo-kill-buffer): Ditto.
4083 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
4084 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
4085 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
4086 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
4087 (elmo-imap4-get-spec): Take into account
4088 `elmo-imap4-stream-type-alist'.
4090 2000-10-06 Kenichi OKADA <okada@opaopa.org>
4092 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
4093 (elmo-nntp-list-folders-get-cache): Ditto.
4095 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
4097 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
4098 character before 'uid'.
4100 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
4102 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
4104 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
4106 * elmo-util.el (elmo-number-set-member): New function.
4107 (elmo-number-set-append-list): Ditto.
4108 (elmo-number-set-append): Ditto.
4110 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
4111 Use `elmo-number-set-member'.
4112 (elmo-living-messages): Ditto.
4113 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
4114 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
4116 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
4117 (elmo-imap4-add-to-cont-list): Abolished.
4118 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
4119 instead of elmo-imap4-add-to-cont-list.
4121 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
4122 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
4124 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
4126 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4128 * elmo-util.el (elmo-condition-parse-search-value):
4131 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
4133 * elmo-util.el (elmo-condition-find-key-internal): New function.
4134 (elmo-condition-find-key): Ditto.
4136 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
4137 (elmo-msgdb-search-internal): Ditto.
4138 (elmo-msgdb-search): Ditto.
4140 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
4142 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
4143 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
4145 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
4146 (elmo-nntp-search-primitive): Fixed problem when condition is
4149 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
4151 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
4152 (elmo-nntp-xhdr-p): New macro.
4153 (elmo-nntp-set-xhdr): Ditto.
4154 (elmo-nntp-parse-xhdr-response): New function.
4155 (elmo-nntp-retrieve-field): Ditto.
4156 (elmo-nntp-search-primitive): Ditto.
4157 (elmo-nntp-search): Implemented.
4159 * elmo-date.el (elmo-date-make-sortable-string): New macro.
4161 * elmo-archive.el (elmo-archive-search): Set all number list to
4162 `elmo-archive-field-condition-match'
4164 * elmo-localdir.el (elmo-localdir-search): Likewise.
4166 * elmo-maildir.el (elmo-maildir-search): Likewise.
4168 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
4170 * elmo-msgdb.el (elmo-living-messages): New function.
4171 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
4172 * elmo-cache.el (elmo-cache-list-folder): Ditto.
4173 * elmo-dop.el (elmo-dop-list-folder): Ditto.
4174 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
4175 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
4176 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
4177 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
4178 * elmo-multi.el (elmo-multi-list-folder): Ditto.
4179 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
4180 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
4181 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
4183 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
4185 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
4187 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
4189 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
4191 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
4192 arguments for `SEARCH' command.
4193 (elmo-imap4-parse-string): Set `POS' argument for char-after.
4194 All other related portions are changed.
4196 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
4198 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
4199 (elmo-list-folder-unread): Rewrite.
4200 (elmo-list-folder-important): Ditto.
4202 * elmo-util.el (elmo-filter-get-spec): Rewrite.
4203 (elmo-condition-parse-error): New inline function.
4204 (elmo-read-search-condition): New function.
4205 (elmo-read-search-condition-internal): Ditto.
4206 (elmo-parse-search-condition): Rewrite.
4207 (elmo-condition-parse): New function.
4208 (elmo-condition-parse-or-expr): Ditto.
4209 (elmo-condition-parse-and-expr): Ditto.
4210 (elmo-condition-parse-primitive): Ditto.
4211 (elmo-condition-parse-search-value): Ditto.
4212 (elmo-buffer-field-primitive-condition-match): Ditto.
4213 (elmo-buffer-field-condition-match): Rewrite.
4214 (elmo-file-field-condition-match): Ditto.
4216 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
4217 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
4219 * elmo-internal.el (elmo-internal-search): Set `number' and
4220 `number-list' argument of `elmo-file-field-condition-match'.
4222 * elmo-maildir.el (elmo-maildir-search): Ditto.
4224 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
4225 `msgdb' as argument instead of `mark-alist'.
4226 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
4229 * elmo-multi.el: Likewise.
4231 * elmo-pipe.el: Likewise.
4233 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
4234 (elmo-imap4-search-internal): Rewrite.
4235 (elmo-imap4-search): Ditto.
4237 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
4238 (elmo-filter-list-folder-unread): Ditto.
4239 (elmo-filter-list-folder-important): Ditto.
4240 (elmo-filter-search): Rewrite.
4242 * elmo-cache.el (elmo-cache-search-all): Set `number' and
4243 `number-list' argument of `elmo-file-field-condition-match'.
4244 (elmo-cache-search): Ditto.
4246 * elmo-localdir.el: Likewise.
4248 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
4249 number-list and pass it to `elmo-buffer-field-condition-match'.
4250 (elmo-archive-field-condition-match): Pass `number-list' to
4251 `elmo-archive-field-condition-match'
4253 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
4255 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
4258 * elmo2.el (elmo-folder-diff-async-callback): New variable.
4259 (elmo-folder-diff-async-callback-data): Ditto.
4260 (elmo-folder-diff-async): New function.
4262 * elmo-net.el (elmo-network-session-name-prefix): New variable.
4263 (elmo-network-session-cache-key): Use it as a prefix of the session
4265 (elmo-network-open-session): Ditto.
4267 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
4268 (elmo-imap4-status-callback-data): Ditto.
4269 (elmo-imap4-server-diff-async-callback): New variable.
4270 (elmo-imap4-server-diff-async-callback-data): Ditto.
4271 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
4272 `elmo-imap4-status-callback-data'.
4273 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
4274 `elmo-imap4-status-callback-data' as nil.
4275 (elmo-imap4-server-diff): Ditto.
4276 (elmo-imap4-server-diff-async-callback-1): New function.
4277 (elmo-imap4-server-diff-async): Ditto.
4278 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
4280 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
4282 * elmo-util.el (elmo-list-delete): Doc fix.
4283 (elmo-delete-lists): Abolish.
4284 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
4285 instead of `elmo-delete-lists'.
4287 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
4289 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
4292 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
4294 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
4295 `elmo-imap4-literal-subr'.
4296 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
4297 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
4299 2000-09-15 Kenichi OKADA <okada@opaopa.org>
4301 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
4302 (elmo-archive-list-folder): Fix.
4303 (elmo-archive-max-of-folder): Fix.
4305 2000-09-15 Kenichi OKADA <okada@opaopa.org>
4307 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
4308 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
4309 (elmo-localdir-append-msg): Ditto.
4310 (elmo-localdir-list-folder): Fix for `nonsort'.
4311 (elmo-localdir-list-folder-subr): Fix for `killed'.
4312 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
4313 (elmo-maildir-list-folder-subr): Ditto.
4314 * elmo-archive.el (elmo-archive-list-folder): Ditto.
4315 (elmo-archive-list-folder-subr): Ditto.
4316 * elmo-internal.el (elmo-internal-list-folder): Ditto.
4317 (elmo-internal-list-folder-subr): Ditto.
4319 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
4321 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
4323 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
4325 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
4327 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
4329 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
4330 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
4332 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
4334 (elmo-imap4-read-part): Use "body.peek" to fetch part.
4335 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
4337 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
4339 * mmelmo-imap4-2.el (mime-entity-children): Defined.
4341 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
4342 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
4343 before STORE command.
4345 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
4347 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
4349 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
4350 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
4352 (elmo-imap4-list-folders): Removed unused local variable.
4353 (elmo-network-initialize-session): Ditto.
4354 (elmo-imap4-delete-msg-by-id): Ditto.
4355 (elmo-imap4-parse-fetch): Ditto.
4356 (elmo-imap4-copy-msgs): Ditto.
4357 Use `dst-spec' instead of `dst-folder'.
4358 (elmo-network-authenticate-session): Check authenticate type `plain'.
4360 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
4362 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
4364 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
4365 `elmo-imap4-response-value'.
4366 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
4368 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
4370 * elmo-imap4.el (elmo-imap4-send-command):
4371 Cause elmo-imap4-bye-error when current response is BYE.
4372 (elmo-imap4-arrival-filter): Changed greeting response value.
4374 * elmo2.el (elmo-imap4-bye-error): Define.
4376 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
4377 (elmo-imap4-server-diff): Ditto.
4378 (elmo-imap4-response-bye-p): New macro.
4379 (elmo-imap4-response-error-text): Get text from BYE response.
4380 (elmo-imap4-read-response): Return if BYE response.
4381 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
4382 (elmo-imap4-folder-exists-p): Ditto.
4383 (elmo-imap4-commit): Do nothing when different mailbox is selected.
4384 (elmo-imap4-parse-bye): New function.
4385 (elmo-imap4-parse-response): Remove needless let.
4386 Call `elmo-imap4-parse-bye'.
4388 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
4390 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
4391 the mailbox does not exist.
4392 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
4394 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
4396 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
4398 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
4400 * elmo-vars.el (elmo-search-mime-charset): Abolished.
4402 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
4403 (elmo-network-initialize-session-buffer): Defined.
4405 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
4407 (mmelmo-imap4-get-mime-entity): Rewrite.
4409 * elmo2.el (elmo-error): Capitalize error message.
4411 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
4412 (elmo-network-session-buffer): New macro.
4413 (elmo-network-open-session): Use it.
4415 * elmo-imap4.el: Rewrite.
4417 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
4419 * elmo-nntp.el (Toplevel): Require 'elmo-net.
4421 2000-08-27 Daiki Ueno <ueno@unixuser.org>
4423 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
4424 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
4425 (elmo-imap4-create-msgdb-from-overview-string): Use
4426 `elmo-msgdb-create-overview-from-buffer'.
4428 2000-08-26 Daiki Ueno <ueno@unixuser.org>
4430 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
4431 (elmo-imap4-default-hierarchy-delimiter): New variable.
4432 (elmo-imap4-list-folders): Use it.
4434 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
4436 * elmo-net.el (elmo-network-open-session): Add user and
4437 stream-type for process-buffer name.
4439 * elmo-pop3.el (elmo-network-initialize-session): Call
4440 buffer-disable-undo.
4442 * elmo-imap4.el (elmo-network-initialize-session):
4443 Set current-buffer as an argument for `buffer-disable-undo'.
4445 * elmo-pop3.el (elmo-network-close-session): Don't use
4448 * elmo-vars.el (elmo-default-pop3-authenticate-type):
4449 Set default as 'user.
4451 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
4453 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
4454 and `elmo-imap4-flush-connection'.
4456 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
4457 (elmo-pop3-get-spec): Assume auth as symbol.
4458 (elmo-open-network-stream): Moved to `elmo-net'.
4460 * elmo-pop3.el (toplevel): Require 'elmo-net.
4461 Define `sasl-cram-md5' to silence byte compilier.
4462 (elmo-pop3-connection-cache) Abolished.
4463 (elmo-pop3-authenticator-alist) New variable.
4464 (elmo-pop3-session): Define.
4465 (elmo-pop3-connection-get-process): Abolished.
4466 (elmo-pop3-connection-get-buffer): Ditto.
4467 (elmo-pop3-close-connection): Ditto.
4468 (elmo-pop3-flush-connection): Ditto.
4469 (elmo-pop3-get-connection): Ditto.
4470 (elmo-pop3-get-session): New function.
4471 (Replacement for `elmo-pop3-get-connection').
4472 All other related modules are changed.
4473 (elmo-network-close-session): Define.
4474 (elmo-pop3-send-command): Abolished argument `buffer'.
4475 All other related modules are changed.
4476 (elmo-pop3-read-response): Likewise.
4477 (elmo-pop3-open-connection): Abolished.
4478 (elmo-pop3-auth-user): New function.
4479 (elmo-pop3-auth-apop): Ditto.
4480 (elmo-pop3-auth-cram-md5): Ditto.
4481 (elmo-pop3-auth-scram-md5): Ditto.
4482 (elmo-pop3-auth-digest-md5): Ditto.
4483 (elmo-network-initialize-session): Define.
4484 (elmo-network-authenticate-session): Ditto.
4485 (elmo-network-setup-session): Ditto.
4487 * elmo-imap4.el (toplevel): Require 'elmo-net.
4488 (elmo-imap4-session): Define.
4489 (elmo-imap4-connection-cache): Abolished.
4490 (elmo-imap4-password-key): Ditto.
4491 (elmo-imap4-flush-connection): Ditto.
4492 (elmo-imap4-get-connection): Ditto.
4493 All other related modules are changed.
4494 (elmo-imap4-get-session): New function
4495 (Replacement for `elmo-imap4-get-connection').
4496 (elmo-imap4-read-response): Abolished argument `buffer'.
4497 All other related modules are changed.
4498 (elmo-imap4-send-command): Likewise.
4499 (elmo-imap4-select-folder): Abolished.
4500 All other related modules are changed.
4501 (elmo-imap4-select-mailbox): New function.
4502 (Replacement for `elmo-imap4-select-folder').
4503 (elmo-imap4-auth-login): Simplify.
4504 (Assume current buffer as process buffer)
4505 (elmo-imap4-auth-cram-md5): Ditto.
4506 (elmo-imap4-auth-digest-md5): Ditto.
4507 (elmo-imap4-login): Ditto.
4508 (elmo-imap4-open-connection): Abolished.
4509 (elmo-imap4-open-connection-1): Abolished.
4510 (elmo-network-initialize-sessoin): Define.
4511 (elmo-network-authenticate-session): Ditto.
4512 (elmo-network-setup-session): Ditto.
4514 * elmo-net.el: New module.
4516 2000-08-22 Daiki Ueno <ueno@unixuser.org>
4518 * elmo-util.el (elmo-define-error): New function.
4520 * elmo2.el (elmo-error): Define.
4521 (elmo-open-error): Define.
4522 (elmo-authenticate-error): Define.
4524 * elmo-imap4.el (elmo-imap4-error): Abolish.
4525 (elmo-imap4-error-type): Abolish.
4526 (elmo-imap4-error-process): Abolish.
4527 (elmo-imap4-error-message): Abolish
4528 (elmo-imap4-list-folders): Don't quote lambda.
4529 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
4530 (elmo-imap4-parse-namespace): Ditto.
4531 (elmo-imap4-open-connection): Rewrite.
4532 (elmo-imap4-open-connection-1): Simplified (authenticate only).
4533 (elmo-imap4-get-connection): Abolish local variable `result'.
4535 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
4537 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
4538 wrong-type-argument error when auth is nil.
4540 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
4542 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
4543 (elmo-default-nntp-stream-type): Ditto.
4544 (elmo-default-pop3-stream-type): Ditto.
4545 (elmo-network-stream-type-alist): Ditto.
4546 (elmo-default-imap4-ssl): Abolished.
4547 (elmo-default-nntp-ssl): Ditto.
4548 (elmo-default-pop3-ssl): Ditto.
4550 * elmo-util.el: (toplevel): Removed needless requires.
4551 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
4552 (elmo-open-network-stream): Open network stream according to
4553 the value of `elmo-network-stream-type-alist'.
4554 (elmo-get-network-stream-type): New function.
4555 (elmo-network-stream-type-spec-string): New macro.
4556 (elmo-network-stream-type-symbol): Ditto.
4557 (elmo-network-stream-type-function): Ditto.
4559 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
4560 network-stream-type. All other related portions are changed.
4561 (elmo-pop3-open-connection): Ditto.
4563 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
4564 network-stream-type. All other related portions are changed.
4566 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
4567 network-stream-type.All other related portions are changed.
4568 (elmo-imap4-error): New macro.
4569 (elmo-imap4-error-type): Ditto.
4570 (elmo-imap4-error-process): Ditto.
4571 (elmo-imap4-error-message): Ditto.
4572 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
4573 (elmo-imap4-auth-cram-md5): Ditto.
4574 (elmo-imap4-auth-digest-md5): Ditto.
4575 (elmo-imap4-login): Ditto.
4576 (elmo-imap4-open-connection): Remove password entry if authentication
4578 (elmo-imap4-user-at-host): Abolished.
4579 (elmo-imap4-password-key): New buffer local variable.
4580 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
4581 using protocol, port, auth and stream-type.
4583 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
4585 2000-08-13 Daiki Ueno <ueno@unixuser.org>
4587 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
4589 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
4591 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
4592 (elmo-imap4-authenticator-alist): New variable.
4593 (elmo-imap4-open-connection-1): Rename from
4594 elmo-imap4-open-connection.
4595 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
4596 only wraps elmo-imap4-open-connection-1.
4597 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
4599 (elmo-imap4-auth-login): New function.
4600 (elmo-imap4-auth-cram-md5): New function.
4601 (elmo-imap4-auth-digest-md5): New function.
4602 (elmo-imap4-login): New function.
4604 2000-08-12 Kenichi OKADA <okada@opaopa.org>
4606 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
4609 2000-08-12 Kenichi OKADA <okada@opaopa.org>
4611 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
4613 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
4615 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
4617 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
4619 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
4620 for server responses, quote `*' regardless of where it appears.
4622 2000-08-03 Kenichi OKADA <okada@opaopa.org>
4624 * elmo-maildir.el (elmo-maildir-commit): New alias.
4626 2000-08-03 Kenichi OKADA <okada@opaopa.org>
4628 * elmo-util.el (elmo-display-progress):
4629 Use `progress-feedback-with-label'.
4631 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
4633 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
4634 (elmo-imap4-non-atom-char-regex): Ditto.
4635 (elmo-imap4-non-text-char-regex): Ditto.
4636 (elmo-imap4-literal-threshold): Ditto.
4637 (elmo-imap4-atom-p): New function.
4638 (elmo-imap4-quotable-p): Ditto.
4639 (elmo-imap4-nil): Ditto.
4640 (elmo-imap4-atom): Ditto.
4641 (elmo-imap4-quoted): Ditto.
4642 (elmo-imap4-literal-subr): Ditto.
4643 (elmo-imap4-literal): Ditto.
4644 (elmo-imap4-buffer-literal): Ditto.
4645 (elmo-imap4-string-subr): Ditto.
4646 (elmo-imap4-string): Ditto.
4647 (elmo-imap4-buffer-string): Ditto.
4648 (elmo-imap4-astring-subr): Ditto.
4649 (elmo-imap4-astring): Ditto.
4650 (elmo-imap4-buffer-astring): Ditto.
4651 (elmo-imap4-nstring): Ditto.
4652 (elmo-imap4-buffer-nstring): Ditto.
4653 (elmo-imap4-mailbox): New alias.
4654 (elmo-imap4-field-body): Ditto.
4655 (elmo-imap4-userid): Ditto.
4656 (elmo-imap4-password): Ditto.
4657 (elmo-imap4-format-quoted): New function.
4658 (elmo-imap4-send-command): Rewritten. Accept a list of command
4659 arguments and handle "atom", "quoted" and "literal" string here.
4660 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
4661 `elmo-imap4-send-command'.
4662 (elmo-imap4-folder-exists-p): Likewise.
4663 (elmo-imap4-create-folder): Likewise.
4664 (elmo-imap4-delete-folder): Likewise.
4665 (elmo-imap4-rename-folder): Likewise.
4666 (elmo-imap4-max-of-folder): Likewise.
4667 (elmo-imap4-check-validity): Likewise.
4668 (elmo-imap4-sync-validity): Likewise.
4669 (elmo-imap4-server-diff): Likewise.
4670 (elmo-imap4-select-folder): Likewise.
4671 (elmo-imap4-copy-msgs): Likewise.
4672 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
4673 (elmo-imap4-mark-set-on-msgs): Likewise.
4674 (elmo-imap4-read-part): Likewise.
4675 (elmo-imap4-read-msg): Likewise.
4676 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
4677 `elmo-imap4-password' for `elmo-imap4-send-command'.
4678 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
4679 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
4680 `elmo-imap4-buffer-literal'.
4681 (elmo-imap4-append-msg): Likewise.
4683 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
4684 `delete' for removing dead connection from the connection cache.
4685 Move deletion of the process buffer after that.
4686 (elmo-imap4-list): Change `defsubst' to `defun'.
4687 (elmo-imap4-commit): Make error message verbose.
4688 (elmo-imap4-search): Ditto.
4689 (elmo-imap4-list): Ditto.
4690 (elmo-imap4-select-folder): Ditto.
4691 (elmo-imap4-copy-msgs): Ditto.
4692 (elmo-imap4-delete-msg-by-id): Ditto.
4693 (elmo-imap4-append-msg-by-id): Ditto.
4694 (elmo-imap4-append-msg): Ditto.
4696 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
4698 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
4699 when dired is used on XEmacs.
4701 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
4703 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
4704 instead of `append'.
4705 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
4706 `elmo-plugged-p' directly.
4707 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
4708 of `elmo-plugged-p' directly.
4710 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
4711 Eliminate unused variable. Use `memq' for checking a process status.
4712 Use `cons' instead of `append' for updating the connection cache.
4713 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
4714 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
4716 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
4718 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
4719 `elmo-imap4-read-point' exactly.
4721 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
4722 the local variable `folder' to `mailbox'.
4723 Rename the argument `fld' to `folder'.
4725 2000-07-20 Kenichi OKADA <okada@opaopa.org>
4727 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
4728 * elmo-imap4.el (elmo-imap4-commit): Ditto.
4730 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
4732 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
4733 (elmo-pop3-number-uidl-hash): New buffer-local variable.
4734 (elmo-pop3-uidl-number-hash): Ditto.
4735 (elmo-pop3-size-hash): Ditto.
4736 (elmo-pop3-uidl-done): Ditto.
4737 (elmo-pop3-list-done): Ditto.
4738 (elmo-pop3-connection-get-process): New defmacro.
4739 (elmo-pop3-connection-get-buffer): Ditto.
4740 (elmo-pop3-close-connection): Delete buffer and process.
4741 (elmo-pop3-flush-connection): Don't delete buffer and process.
4742 (elmo-pop3-get-connection): Added optional argument `if-exists'.
4743 Setup UIDL and size hash.
4744 (elmo-pop3-send-command-no-erase): Deleted
4745 (elmo-pop3-send-command): Added optional argument `no-erase'.
4746 (elmo-pop3-parse-uidl-response): New function.
4747 (elmo-pop3-parse-list-response): Set size hash.
4748 (elmo-pop3-list-location): New function.
4749 (elmo-pop3-list-by-uidl-subr): Ditto.
4750 (elmo-pop3-list-by-list): Ditto.
4751 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
4752 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
4753 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
4754 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
4755 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
4757 (elmo-pop3-uidl-to-number): New function.
4758 (elmo-pop3-number-to-uidl): Ditto.
4759 (elmo-pop3-number-to-size): Ditto.
4760 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
4761 Set number by use of uidl.
4762 (elmo-pop3-msgdb-create-message): Likewise.
4763 Set size, loc-alist in msgdb.
4764 (elmo-pop3-read-msg): Set number by use of uidl.
4765 Added optional argument `msgdb'.
4766 (elmo-pop3-delete-msg): Ditto.
4767 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
4768 (elmo-pop3-commit): Close connection.
4770 * elmo-pipe.el (elmo-pipe-max-of-folder):
4771 Bind `elmo-pop3-use-uidl' as nil.
4772 (elmo-pipe-drain): Ditto.
4775 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
4776 (elmo-msgdb-overview-entity-set-size): New defsubst.
4778 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
4780 * elmo-vars.el (elmo-use-killed-list): New variable
4781 (Renamed from `elmo-nntp-use-killed-list').
4782 (elmo-nntp-use-killed-list): Eliminated.
4784 * elmo-msgdb.el (elmo-msgdb-expand-path):
4785 Changed expanding msgdb path for elmo-multi.
4787 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
4788 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
4789 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
4790 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
4791 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
4792 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
4793 (toplevel): Deleted time-stamp line.
4795 * elmo2.el (elmo-clear-killed ): Defined as function
4796 (Abolished defining as a backend function).
4797 All other related modules are changed.
4799 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
4801 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
4803 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
4805 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
4807 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
4809 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
4811 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
4813 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
4814 asynchronous folder check.
4816 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
4818 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
4819 `elmo-nntp-use-killed-list'.
4820 (elmo-nntp-list-folder): Use killed list.
4821 (elmo-nntp-max-of-folder): Ditto.
4822 (elmo-nntp-msgdb-create): Set killed list.
4824 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
4826 * elmo2.el (elmo-clear-killed): New backend function.
4827 All other related modules are changed.
4829 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
4831 * elmo-util.el (elmo-imap4-spec-folder): Use
4832 `elmo-imap4-spec-mailbox'; Mark as obsolete.
4833 All callers changed.
4835 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
4837 * mmelmo-2.el (initialize-instance):
4838 Use `mime-buffer-entity-buffer-internal' instead of
4839 `mime-entity-buffer'.
4841 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
4842 (mime-entity-body): Implemented.
4843 (mime-goto-header-start-point): Deleted.
4844 (mime-goto-body-end-point): Ditto.
4845 (mime-entity-point-min): Ditto.
4846 (mime-entity-point-max): Ditto.
4847 (mime-entity-children): Ditto.
4848 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
4849 instead of `mime-entity-buffer'.
4850 (mime-entity-header-buffer): Ditto.
4851 (mime-entity-body-buffer): Ditto.
4852 (mime-write-entity-content): Ditto.
4854 * pldap.el (ldap-static-if): New macro.
4855 (toplevel): Use it instead of `static-if'.
4857 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
4859 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
4860 included in `attrs' argument.
4862 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
4864 * elmo-util.el (elmo-get-passwd): Use old backquote style.
4866 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
4867 (ldap-ldif-safe-init-char-regexp): Ditto.
4868 (ldap-ldif-safe-string-regexp): Ditto.
4869 (ldap/ldif-safe-string-p): New macro.
4870 (ldap/ldif-insert-field): Ditto.
4871 (ldap-modify): Use it.
4873 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
4874 (ldap-decode-attribute): Decode only when `attr' is consp.
4875 (ldap-delete): Bind `ret'.
4876 (toplevel): Require 'cl at compile time.
4877 Removed (require 'poe) and (require 'std11).
4878 (pldap-version): Eliminated.
4879 (ldap-search-basic): Removed auth and dn binding.
4880 (ldap-ldif-field-name-regexp): New constant.
4881 (ldap-ldif-field-head-regexp): Ditto.
4882 (ldap-ldif-next-field-head-regexp): Ditto.
4883 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
4884 (ldap/field-end): New function.
4885 (ldap/field-body): Use it.
4886 (ldap/collect-field): Ditto.
4887 (ldap-search-basic): Use `ldap/field-body'.
4889 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
4891 * pldap.el (ldap-default-attribute-encoder): New user option.
4892 (ldap/field-body): Decode base64 string.
4893 (ldap/collect-field): Ditto.
4894 (ldap-encode-attribute): New function.
4895 (ldap-add-entries): Use it.
4896 (ldap-modify-entries): Ditto.
4897 (ldap-search-entries): Enclosed decoding function with
4898 `with-temp-buffer' and set as unibyte.
4899 (ldap-search-basic): Set process buffer as unibyte.
4901 * elmo-util.el (elmo-folder-identical-system-p):
4902 Eliminated name space checking.
4904 * pldap.el: New module.
4905 toplevel: Changed condition to detect built-in ldap feature.
4906 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
4907 (ldap-add): Added error handling.
4908 (ldap-modify): Ditto.
4909 (ldap-delete): Ditto.
4911 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
4913 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
4914 Initialize local variables with `let'. Inline a temporary
4915 variable for the progress percentage. Sort `setq' to reduce
4916 function call in the while-loop.
4918 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
4919 into the conditional branch.
4921 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
4923 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
4924 Move a conditional out of the while-loop.
4926 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
4928 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
4929 elmo-msgdb-overview-get-entity-by-number.
4930 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
4933 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
4935 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
4936 the local variable for a packed number self descriptively.
4938 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
4940 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
4941 * elmo-localdir.el (elmo-localdir-pack-number): Use
4942 `elmo-msgdb-overview-get-entity' instead of
4943 `elmo-msgdb-overview-get-entity-by-number'.
4944 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
4945 (elmo-msgdb-search-overview-entity): Removed.
4946 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
4947 by message-id or number.
4948 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
4949 instead of `elmo-msgdb-overview-get-entity-by-number'.
4951 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
4953 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
4954 non-nil, use hash table for overview.
4955 (elmo-hash-maximum-size): New variable.
4956 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
4957 (elmo-msgdb-make-overview-hashtb): New function.
4958 (elmo-msgdb-clear-overview-hashtb): New function.
4959 (elmo-clear-hash-val): New macro.
4960 All other related modules are changed.
4962 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
4964 * elmo2.el (elmo-move-msgs): If there's other message with
4965 same message-id, don't use cache.
4967 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
4969 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
4970 number is already packed.
4972 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
4974 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
4976 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
4978 * elmo-vars.el (elmo-display-progress-threshold): New variable.
4979 All other related modules are changed.
4981 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
4983 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
4984 of refiling failure on Maildir.
4986 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
4988 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
4989 decoded mime-charset with cache.
4990 (elmo-msgdb-overview-entity-get-from): Ditto.
4991 (elmo-msgdb-overview-entity-get-subject): Ditto.
4992 * elmo-vars.el (elmo-use-decoded-cache): New variable.
4994 2000-05-10 Kenichi OKADA <okada@opaopa.org>
4996 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
4997 (elmo-remove-passwd): Fill password with 0 before erase.
4998 * elmo-vars.el (elmo-passwd-life-time): New variable.
5001 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
5003 * elmo-cache.el (elmo-buffer-cache-add):
5004 Set message cache buffer as unibyte.
5006 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
5008 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
5011 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
5013 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
5014 when display is finished.
5015 (elmo-nntp-msgdb-create): Ditto.
5016 (elmo-nntp-groups-read-response): Ditto.
5017 (elmo-nntp-retrieve-headers): Ditto.
5018 (elmo-nntp-msgdb-create-message): Ditto.
5019 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
5020 (elmo-pop3-msgdb-create-message): Ditto.
5022 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
5024 * elmo-maildir.el (elmo-maildir-msgdb-create):
5025 Use `elmo-msgdb-sort-by-date'.
5027 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
5029 * elmo2.el (elmo-read-msg-no-cache):
5030 Eliminated arguments after `outbuf'.
5031 Don't use cache even if it exists.
5032 (elmo-read-msg): Don't pass arguments after `outbuf' to
5033 `elmo-read-msg-no-cache'.
5035 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
5037 * elmo-archive.el (elmo-archive-list-folders):
5038 Use `file-name-directory' if base folder does not exist.
5040 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
5042 * elmo-archive.el (elmo-archive-list-folders): Don't use
5043 `file-name-directory'.
5045 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
5047 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
5048 If `force' is non-nil, try flushing all operation queues.
5050 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
5052 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
5055 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
5057 * elmo-util.el (elmo-display-progress): Fixed.
5059 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
5061 * elmo-util.el (elmo-display-progress): New function.
5062 All other related modules are changed.