1 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
3 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
6 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7 parameter value (It sometimes contains raw kanji).
9 2000-10-28 Kenichi OKADA <okada@opaopa.org>
11 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
12 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
14 2000-10-28 Kenichi OKADA <okada@opaopa.org>
16 * elmo-imap4.el (elmo-network-initialize-session): Fix.
18 2000-10-28 Kenichi OKADA <okada@opaopa.org>
20 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
21 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
23 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
25 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
26 value if selecting folder succceeded.
27 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
29 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
31 * elmo-util.el (elmo-make-directory): Fixed permission lateral
34 * elmo-util.el (elmo-string-matched-member): New function.
36 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
38 * elmo-util.el (elmo-unintern): New macro.
39 (elmo-number-set-member): Fixed docstring.
41 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
44 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
46 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
47 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
49 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
51 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
54 Return non-nil if selecting folder succeeded.
55 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
57 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
59 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
60 `file-name-completion' returns t.
61 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
62 (elmo-maildir-set-mark): Put `info' part to the files in the cur
63 directory if it does not exist.
64 (elmo-maildir-update-current): Use `while' instead of `mapcar'
67 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
69 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
70 enclosure (It's harmful in unplugged status).
72 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
74 * mmelmo-1.el: Removed.
78 * mmelmo-imap4-1.el: Ditto.
80 * mmelmo-imap4-2.el: Ditto.
82 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
84 * mmelmo.el: Merged mmelmo-2.el.
86 * elmo-version.el (elmo-version): Up to 2.3.92.
88 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
90 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
91 elmo-update-number): Remove last period in "...done." message.
92 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
94 * elmo-cache.el (elmo-cache-expire-by-size,
95 elmo-cache-get-sorted-cache-file-list,
96 elmo-cache-msgdb-create-as-numlist): Ditto.
97 * elmo-dop.el (elmo-dop-save-pending-messages,
98 (elmo-dop-flush-pending-append-operations): Ditto.
99 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
100 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
101 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
102 (elmo-localdir-pack-number): Ditto.
103 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
104 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
105 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
106 mime-write-entity-content): Ditto.
107 * pldap.el (ldap-search-basic): Ditto.
109 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
111 * elmo-version.el (elmo-version): Up to 2.3.91.
113 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
114 Only when filter is 'last'.
116 * elmo-util.el (elmo-condition-atom-regexp): New constant.
117 (elmo-condition-parse-search-value): Use it.
118 (elmo-read-search-condition-internal): Quote value only when
121 2000-10-18 Kenichi OKADA <okada@opaopa.org>
123 * elmo2.el (elmo-generic-folder-diff): Fix.
125 2000-10-17 Kenichi OKADA <okada@opaopa.org>
127 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
128 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
129 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
130 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
131 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
132 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
134 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
136 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
139 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
141 * elmo-version.el (elmo-version): Up to 2.3.90.
143 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
144 (elmo-imap4-list-folder-important): Ditto.
146 2000-10-16 Kenichi OKADA <okada@opaopa.org>
148 * elmo-nntp.el (elmo-network-initialize-session): Fix.
150 2000-10-16 Kenichi OKADA <okada@opaopa.org>
152 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
154 2000-10-15 Kenichi OKADA <okada@opaopa.org>
156 * elmo-nntp.el (elmo-network-initialize-session):
157 Add starttls negotiation.
159 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
161 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
163 (elmo-network-setup-session): Define.
164 Call `elmo-nntp-send-mode-reader' when session opened.
166 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
168 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
170 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
172 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
173 an invalid SPACE character ahead of `SEARCH' command. Move
174 a valid SPACE character following `SEARCH' from conditional
175 `format' arguments to control-strings.
177 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
179 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
182 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
184 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
186 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
187 `w32-get-true-file-link-count' as t.
189 * elmo-imap4.el (elmo-imap4-read): Abolished.
190 (Renamed to `elmo-read' and moved to elmo-util.el)
191 All other related portions are changed.
193 * elmo-util.el (elmo-read): New function.
194 (elmo-condition-parse-search-value): Use it.
196 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
198 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
200 * elmo-nntp.el (elmo-nntp-session): Define.
201 (elmo-nntp-setting): Abolished.
202 All other related portions are changed.
203 (elmo-nntp-get-server-command): Changed argument.
204 (elmo-nntp-set-server-command): Ditto.
205 (elmo-nntp-xover-p): Ditto.
206 (elmo-nntp-set-xover): Ditto.
207 (elmo-nntp-listgroup-p): Ditto.
208 (elmo-nntp-set-listgroup): Ditto.
209 (elmo-nntp-list-active-p): Ditto.
210 (elmo-nntp-set-list-active): Ditto.
211 (elmo-nntp-xhdr-p): Ditto.
212 (elmo-nntp-set-xhdr): Ditto.
213 (elmo-nntp-flush-connection): Abolished.
214 (elmo-nntp-get-connection): Abolished.
215 (elmo-nntp-get-session): New function.
216 (elmo-network-initialize-session): Defined.
217 (elmo-network-authenticate-session): Ditto.
218 (elmo-nntp-send-mode-reader): Changed argument.
219 (elmo-nntp-send-command): Changed argument.
220 All other related portions are changed.
221 (elmo-nntp-read-response): Ditto.
222 (elmo-nntp-read-raw-response): Ditto.
223 (elmo-nntp-read-contents): Ditto.
224 (elmo-nntp-read-body): Ditto.
225 (elmo-nntp-goto-folder): Abolished.
226 (elmo-nntp-select-group): New function.
227 All other related portions are changed.
228 (This function substitutes `elmo-nntp-goto-folder')
229 (elmo-nntp-msgdb-create-by-header): Rewrite.
230 (elmo-nntp-get-overview): Eliminated.
231 (elmo-nntp-get-message): Ditto.
232 (elmo-nntp-open-connection) Abolished.
233 (elmo-nntp-read-msg): Rewrite.
234 (elmo-nntp-post): Ditto.
235 (elmo-nntp-send-data): Abolished.
236 (elmo-nntp-send-buffer): New function.
237 (elmo-nntp-send-data-line): Define as inline function.
238 (elmo-nntp-get-folders-info-prepare): Use session as key.
239 (elmo-nntp-groups-read-response): Changed argument.
240 (elmo-nntp-retrieve-headers): Ditto.
241 (elmo-nntp-msgdb-create-message): Ditto.
243 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
244 when searching by 'since' or 'before'.
246 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
248 * elmo-version.el (toplevel): Use product-version-as-string for set
249 verstion-string, if defined.
251 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
253 * elmo-util.el: Doc fixes.
255 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
257 * elmo-archive.el (toplevel): Use product-provide.
258 * elmo-cache.el (toplevel): Ditto.
259 * elmo-database.el (toplevel): Ditto.
260 * elmo-date.el (toplevel): Ditto.
261 * elmo-dop.el (toplevel): Ditto.
262 * elmo-filter.el (toplevel): Ditto.
263 * elmo-imap4.el (toplevel): Ditto.
264 * elmo-internal.el (toplevel): Ditto.
265 * elmo-localdir.el (toplevel): Ditto.
266 * elmo-localnews.el (toplevel): Ditto.
267 * elmo-maildir.el (toplevel): Ditto.
268 * elmo-msgdb.el (toplevel): Ditto.
269 * elmo-multi.el (toplevel): Ditto.
270 * elmo-net.el (toplevel): Ditto.
271 * elmo-nntp.el (toplevel): Ditto.
272 * elmo-pipe.el (toplevel): Ditto.
273 * elmo-pop3.el (toplevel): Ditto.
274 * elmo-util.el (toplevel): Ditto.
275 * elmo-vars.el (toplevel): Ditto.
276 * elmo2.el (toplevel): Ditto.
277 * mmelmo-1.el (toplevel): Ditto.
278 * mmelmo-2.el (toplevel): Ditto.
279 * mmelmo-imap4-1.el (toplevel): Ditto.
280 * mmelmo-imap4-2.el (toplevel): Ditto.
281 * mmelmo-imap4.el (toplevel): Ditto.
282 * mmelmo.el (toplevel): Ditto.
284 2000-10-10 Kenichi OKADA <okada@opaopa.org>
286 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
287 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
289 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
291 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
293 (elmo-multi-split-number-alist): Ditto.
295 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
297 * elmo-version.el: New file. Use product.el.
298 * elmo2.el: Add (require 'elmo-version).
299 * elmo-vars.el (elmo-appname, elmo-version): Move to
302 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
304 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
305 `elmo-msgdb-expand-path'.
306 (elmo-msgdb-load): Ditto.
307 Abolished 2nd argument. If 1st argument is not string, treat as spec.
308 (elmo-generic-list-folder-unread): Rewrite.
309 (elmo-generic-list-folder-important): Changed argument.
310 (elmo-list-folder-unread): Ditto.
311 (elmo-list-folder-important): Ditto.
312 (elmo-folder-diff): Rewrite.
313 (elmo-generic-folder-diff): New function.
314 (elmo-multi-get-number-alist-list): Abolished
315 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
316 (elmo-multi-folder-diff): Moved to elmo-multi.el
317 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
319 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
320 `elmo-msgdb-expand-path'.
321 (elmo-pop3-msgdb-create-as-numlist): Ditto.
322 (elmo-pop3-read-msg): Ditto.
323 (elmo-pop3-delete-msgs): Ditto.
324 (elmo-pop3-folder-diff): New alias.
326 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
327 `elmo-msgdb-expand-path'.
328 (elmo-pipe-list-folder-unread): Changed arguments.
329 (elmo-pipe-list-folder-important): Ditto.
330 (elmo-pipe-folder-diff): New alias.
332 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
333 `elmo-msgdb-expand-path'.
334 (elmo-nntp-max-of-folder): Ditto.
335 (elmo-nntp-msgdb-create): Ditto.
336 (elmo-nntp-delete-msgs): Ditto.
337 (elmo-nntp-folder-diff): New alias.
339 * elmo-multi.el (elmo-multi-folder-diff): New function.
340 (elmo-multi-split-mark-alist): Ditto.
341 (elmo-multi-split-number-alist): Ditto.
342 (elmo-multi-mark-alist-list): Abolished (Renamed to
343 elmo-multi-split-mark-alist).
344 (elmo-multi-list-folder-unread): Rewrite.
345 (elmo-multi-list-folder-important): Ditto.
346 (elmo-multi-list-folder): Set `spec' as 1st argument for
347 `elmo-msgdb-expand-path'.
348 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
349 instead of `elmo-multi-get-number-alist-list'.
351 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
352 If 1st argument is not string, treat as spec.
353 (elmo-list-folder-by-location): Set `spec' as 1st argument for
354 `elmo-msgdb-expand-path'.
355 (elmo-msgdb-flist-load): Ditto.
356 (elmo-msgdb-flist-save): Ditto.
357 (elmo-msgdb-delete-path): Ditto.
358 (elmo-msgdb-rename-path): Ditto.
360 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
361 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
362 (elmo-maildir-delete-mark-msgs): Ditto.
363 (elmo-maildir-msgdb-create): Ditto.
364 (elmo-maildir-read-msg): Ditto.
365 (elmo-maildir-delete-msgs): Ditto.
366 (elmo-maildir-list-folder-subr): Ditto.
367 (elmo-maildir-search): Ditto.
368 (elmo-maildir-get-msg-filename): Ditto.
369 (elmo-maildir-pack-number): Ditto.
370 (elmo-maildir-folder-diff): New alias.
372 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
374 * elmo-localdir.el (elmo-localdir-list-folder-subr):
375 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
376 (elmo-localdir-folder-diff): New alias.
378 * elmo-internal.el (elmo-internal-list-folder-subr):
379 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
380 (elmo-internal-list-folder-by-location): Ditto.
381 (elmo-internal-msgdb-create): Ditto.
382 (elmo-internal-delete-msgs): Ditto.
383 (elmo-internal-read-msg): Ditto.
384 (elmo-internal-folder-diff): New alias.
386 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
387 (elmo-imap4-list-folder): Set `spec' as 1st argument for
388 `elmo-msgdb-expand-path'.
389 (elmo-imap4-list-folder-unread): Changed arguments.
390 (elmo-imap4-list-folder-important): Ditto.
392 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
393 (elmo-filter-list-folder-important): Ditto.
394 (elmo-filter-folder-diff): New function.
396 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
398 * elmo-cache.el (elmo-cache-list-folder):
399 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
400 (elmo-cache-copy-msgs): Ditto.
401 (elmo-cache-folder-diff): New alias.
403 * elmo-archive.el (elmo-archive-list-folder-subr):
404 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
405 (elmo-archive-get-archive-name): Ditto.
406 (elmo-archive-create-file): Ditto.
407 (elmo-archive-append-msg): Ditto.
408 (elmo-archive-copy-msgs): Ditto.
409 (elmo-archive-copy-msgs-froms): Ditto.
410 (elmo-archive-get-msg-filename): Ditto.
411 (elmo-archive-folder-diff): New alias.
413 2000-10-06 Daiki Ueno <ueno@unixuser.org>
415 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
416 (elmo-pop3-stream-type-alist): New variable.
417 (elmo-nntp-stream-type-alist): New variable.
419 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
420 (elmo-kill-buffer): Ditto.
421 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
422 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
423 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
424 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
425 (elmo-imap4-get-spec): Take into account
426 `elmo-imap4-stream-type-alist'.
428 2000-10-06 Kenichi OKADA <okada@opaopa.org>
430 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
431 (elmo-nntp-list-folders-get-cache): Ditto.
433 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
435 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
436 character before 'uid'.
438 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
440 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
442 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
444 * elmo-util.el (elmo-number-set-member): New function.
445 (elmo-number-set-append-list): Ditto.
446 (elmo-number-set-append): Ditto.
448 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
449 Use `elmo-number-set-member'.
450 (elmo-living-messages): Ditto.
451 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
452 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
454 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
455 (elmo-imap4-add-to-cont-list): Abolished.
456 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
457 instead of elmo-imap4-add-to-cont-list.
459 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
460 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
462 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
464 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
466 * elmo-util.el (elmo-condition-parse-search-value):
469 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
471 * elmo-util.el (elmo-condition-find-key-internal): New function.
472 (elmo-condition-find-key): Ditto.
474 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
475 (elmo-msgdb-search-internal): Ditto.
476 (elmo-msgdb-search): Ditto.
478 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
480 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
481 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
483 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
484 (elmo-nntp-search-primitive): Fixed problem when condition is
487 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
489 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
490 (elmo-nntp-xhdr-p): New macro.
491 (elmo-nntp-set-xhdr): Ditto.
492 (elmo-nntp-parse-xhdr-response): New function.
493 (elmo-nntp-retrieve-field): Ditto.
494 (elmo-nntp-search-primitive): Ditto.
495 (elmo-nntp-search): Implemented.
497 * elmo-date.el (elmo-date-make-sortable-string): New macro.
499 * elmo-archive.el (elmo-archive-search): Set all number list to
500 `elmo-archive-field-condition-match'
502 * elmo-localdir.el (elmo-localdir-search): Likewise.
504 * elmo-maildir.el (elmo-maildir-search): Likewise.
506 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
508 * elmo-msgdb.el (elmo-living-messages): New function.
509 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
510 * elmo-cache.el (elmo-cache-list-folder): Ditto.
511 * elmo-dop.el (elmo-dop-list-folder): Ditto.
512 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
513 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
514 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
515 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
516 * elmo-multi.el (elmo-multi-list-folder): Ditto.
517 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
518 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
519 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
521 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
523 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
525 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
527 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
529 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
530 arguments for `SEARCH' command.
531 (elmo-imap4-parse-string): Set `POS' argument for char-after.
532 All other related portions are changed.
534 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
536 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
537 (elmo-list-folder-unread): Rewrite.
538 (elmo-list-folder-important): Ditto.
540 * elmo-util.el (elmo-filter-get-spec): Rewrite.
541 (elmo-condition-parse-error): New inline function.
542 (elmo-read-search-condition): New function.
543 (elmo-read-search-condition-internal): Ditto.
544 (elmo-parse-search-condition): Rewrite.
545 (elmo-condition-parse): New function.
546 (elmo-condition-parse-or-expr): Ditto.
547 (elmo-condition-parse-and-expr): Ditto.
548 (elmo-condition-parse-primitive): Ditto.
549 (elmo-condition-parse-search-value): Ditto.
550 (elmo-buffer-field-primitive-condition-match): Ditto.
551 (elmo-buffer-field-condition-match): Rewrite.
552 (elmo-file-field-condition-match): Ditto.
554 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
555 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
557 * elmo-internal.el (elmo-internal-search): Set `number' and
558 `number-list' argument of `elmo-file-field-condition-match'.
560 * elmo-maildir.el (elmo-maildir-search): Ditto.
562 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
563 `msgdb' as argument instead of `mark-alist'.
564 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
567 * elmo-multi.el: Likewise.
569 * elmo-pipe.el: Likewise.
571 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
572 (elmo-imap4-search-internal): Rewrite.
573 (elmo-imap4-search): Ditto.
575 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
576 (elmo-filter-list-folder-unread): Ditto.
577 (elmo-filter-list-folder-important): Ditto.
578 (elmo-filter-search): Rewrite.
580 * elmo-cache.el (elmo-cache-search-all): Set `number' and
581 `number-list' argument of `elmo-file-field-condition-match'.
582 (elmo-cache-search): Ditto.
584 * elmo-localdir.el: Likewise.
586 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
587 number-list and pass it to `elmo-buffer-field-condition-match'.
588 (elmo-archive-field-condition-match): Pass `number-list' to
589 `elmo-archive-field-condition-match'
591 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
593 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
596 * elmo2.el (elmo-folder-diff-async-callback): New variable.
597 (elmo-folder-diff-async-callback-data): Ditto.
598 (elmo-folder-diff-async): New function.
600 * elmo-net.el (elmo-network-session-name-prefix): New variable.
601 (elmo-network-session-cache-key): Use it as a prefix of the session
603 (elmo-network-open-session): Ditto.
605 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
606 (elmo-imap4-status-callback-data): Ditto.
607 (elmo-imap4-server-diff-async-callback): New variable.
608 (elmo-imap4-server-diff-async-callback-data): Ditto.
609 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
610 `elmo-imap4-status-callback-data'.
611 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
612 `elmo-imap4-status-callback-data' as nil.
613 (elmo-imap4-server-diff): Ditto.
614 (elmo-imap4-server-diff-async-callback-1): New function.
615 (elmo-imap4-server-diff-async): Ditto.
616 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
618 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
620 * elmo-util.el (elmo-list-delete): Doc fix.
621 (elmo-delete-lists): Abolish.
622 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
623 instead of `elmo-delete-lists'.
625 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
627 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
630 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
632 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
633 `elmo-imap4-literal-subr'.
634 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
635 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
637 2000-09-15 Kenichi OKADA <okada@opaopa.org>
639 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
640 (elmo-archive-list-folder): Fix.
641 (elmo-archive-max-of-folder): Fix.
643 2000-09-15 Kenichi OKADA <okada@opaopa.org>
645 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
646 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
647 (elmo-localdir-append-msg): Ditto.
648 (elmo-localdir-list-folder): Fix for `nonsort'.
649 (elmo-localdir-list-folder-subr): Fix for `killed'.
650 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
651 (elmo-maildir-list-folder-subr): Ditto.
652 * elmo-archive.el (elmo-archive-list-folder): Ditto.
653 (elmo-archive-list-folder-subr): Ditto.
654 * elmo-internal.el (elmo-internal-list-folder): Ditto.
655 (elmo-internal-list-folder-subr): Ditto.
657 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
659 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
661 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
663 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
665 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
667 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
668 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
670 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
672 (elmo-imap4-read-part): Use "body.peek" to fetch part.
673 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
675 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
677 * mmelmo-imap4-2.el (mime-entity-children): Defined.
679 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
680 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
681 before STORE command.
683 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
685 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
687 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
688 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
690 (elmo-imap4-list-folders): Removed unused local variable.
691 (elmo-network-initialize-session): Ditto.
692 (elmo-imap4-delete-msg-by-id): Ditto.
693 (elmo-imap4-parse-fetch): Ditto.
694 (elmo-imap4-copy-msgs): Ditto.
695 Use `dst-spec' instead of `dst-folder'.
696 (elmo-network-authenticate-session): Check authenticate type `plain'.
698 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
700 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
702 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
703 `elmo-imap4-response-value'.
704 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
706 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
708 * elmo-imap4.el (elmo-imap4-send-command):
709 Cause elmo-imap4-bye-error when current response is BYE.
710 (elmo-imap4-arrival-filter): Changed greeting response value.
712 * elmo2.el (elmo-imap4-bye-error): Define.
714 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
715 (elmo-imap4-server-diff): Ditto.
716 (elmo-imap4-response-bye-p): New macro.
717 (elmo-imap4-response-error-text): Get text from BYE response.
718 (elmo-imap4-read-response): Return if BYE response.
719 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
720 (elmo-imap4-folder-exists-p): Ditto.
721 (elmo-imap4-commit): Do nothing when different mailbox is selected.
722 (elmo-imap4-parse-bye): New function.
723 (elmo-imap4-parse-response): Remove needless let.
724 Call `elmo-imap4-parse-bye'.
726 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
728 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
729 the mailbox does not exist.
730 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
732 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
734 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
736 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
738 * elmo-vars.el (elmo-search-mime-charset): Abolished.
740 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
741 (elmo-network-initialize-session-buffer): Defined.
743 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
745 (mmelmo-imap4-get-mime-entity): Rewrite.
747 * elmo2.el (elmo-error): Capitalize error message.
749 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
750 (elmo-network-session-buffer): New macro.
751 (elmo-network-open-session): Use it.
753 * elmo-imap4.el: Rewrite.
755 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
757 * elmo-nntp.el (Toplevel): Require 'elmo-net.
759 2000-08-27 Daiki Ueno <ueno@unixuser.org>
761 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
762 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
763 (elmo-imap4-create-msgdb-from-overview-string): Use
764 `elmo-msgdb-create-overview-from-buffer'.
766 2000-08-26 Daiki Ueno <ueno@unixuser.org>
768 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
769 (elmo-imap4-default-hierarchy-delimiter): New variable.
770 (elmo-imap4-list-folders): Use it.
772 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
774 * elmo-net.el (elmo-network-open-session): Add user and
775 stream-type for process-buffer name.
777 * elmo-pop3.el (elmo-network-initialize-session): Call
780 * elmo-imap4.el (elmo-network-initialize-session):
781 Set current-buffer as an argument for `buffer-disable-undo'.
783 * elmo-pop3.el (elmo-network-close-session): Don't use
786 * elmo-vars.el (elmo-default-pop3-authenticate-type):
787 Set default as 'user.
789 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
791 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
792 and `elmo-imap4-flush-connection'.
794 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
795 (elmo-pop3-get-spec): Assume auth as symbol.
796 (elmo-open-network-stream): Moved to `elmo-net'.
798 * elmo-pop3.el (toplevel): Require 'elmo-net.
799 Define `sasl-cram-md5' to silence byte compilier.
800 (elmo-pop3-connection-cache) Abolished.
801 (elmo-pop3-authenticator-alist) New variable.
802 (elmo-pop3-session): Define.
803 (elmo-pop3-connection-get-process): Abolished.
804 (elmo-pop3-connection-get-buffer): Ditto.
805 (elmo-pop3-close-connection): Ditto.
806 (elmo-pop3-flush-connection): Ditto.
807 (elmo-pop3-get-connection): Ditto.
808 (elmo-pop3-get-session): New function.
809 (Replacement for `elmo-pop3-get-connection').
810 All other related modules are changed.
811 (elmo-network-close-session): Define.
812 (elmo-pop3-send-command): Abolished argument `buffer'.
813 All other related modules are changed.
814 (elmo-pop3-read-response): Likewise.
815 (elmo-pop3-open-connection): Abolished.
816 (elmo-pop3-auth-user): New function.
817 (elmo-pop3-auth-apop): Ditto.
818 (elmo-pop3-auth-cram-md5): Ditto.
819 (elmo-pop3-auth-scram-md5): Ditto.
820 (elmo-pop3-auth-digest-md5): Ditto.
821 (elmo-network-initialize-session): Define.
822 (elmo-network-authenticate-session): Ditto.
823 (elmo-network-setup-session): Ditto.
825 * elmo-imap4.el (toplevel): Require 'elmo-net.
826 (elmo-imap4-session): Define.
827 (elmo-imap4-connection-cache): Abolished.
828 (elmo-imap4-password-key): Ditto.
829 (elmo-imap4-flush-connection): Ditto.
830 (elmo-imap4-get-connection): Ditto.
831 All other related modules are changed.
832 (elmo-imap4-get-session): New function
833 (Replacement for `elmo-imap4-get-connection').
834 (elmo-imap4-read-response): Abolished argument `buffer'.
835 All other related modules are changed.
836 (elmo-imap4-send-command): Likewise.
837 (elmo-imap4-select-folder): Abolished.
838 All other related modules are changed.
839 (elmo-imap4-select-mailbox): New function.
840 (Replacement for `elmo-imap4-select-folder').
841 (elmo-imap4-auth-login): Simplify.
842 (Assume current buffer as process buffer)
843 (elmo-imap4-auth-cram-md5): Ditto.
844 (elmo-imap4-auth-digest-md5): Ditto.
845 (elmo-imap4-login): Ditto.
846 (elmo-imap4-open-connection): Abolished.
847 (elmo-imap4-open-connection-1): Abolished.
848 (elmo-network-initialize-sessoin): Define.
849 (elmo-network-authenticate-session): Ditto.
850 (elmo-network-setup-session): Ditto.
852 * elmo-net.el: New module.
854 2000-08-22 Daiki Ueno <ueno@unixuser.org>
856 * elmo-util.el (elmo-define-error): New function.
858 * elmo2.el (elmo-error): Define.
859 (elmo-open-error): Define.
860 (elmo-authenticate-error): Define.
862 * elmo-imap4.el (elmo-imap4-error): Abolish.
863 (elmo-imap4-error-type): Abolish.
864 (elmo-imap4-error-process): Abolish.
865 (elmo-imap4-error-message): Abolish
866 (elmo-imap4-list-folders): Don't quote lambda.
867 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
868 (elmo-imap4-parse-namespace): Ditto.
869 (elmo-imap4-open-connection): Rewrite.
870 (elmo-imap4-open-connection-1): Simplified (authenticate only).
871 (elmo-imap4-get-connection): Abolish local variable `result'.
873 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
875 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
876 wrong-type-argument error when auth is nil.
878 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
880 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
881 (elmo-default-nntp-stream-type): Ditto.
882 (elmo-default-pop3-stream-type): Ditto.
883 (elmo-network-stream-type-alist): Ditto.
884 (elmo-default-imap4-ssl): Abolished.
885 (elmo-default-nntp-ssl): Ditto.
886 (elmo-default-pop3-ssl): Ditto.
888 * elmo-util.el: (toplevel): Removed needless requires.
889 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
890 (elmo-open-network-stream): Open network stream according to
891 the value of `elmo-network-stream-type-alist'.
892 (elmo-get-network-stream-type): New function.
893 (elmo-network-stream-type-spec-string): New macro.
894 (elmo-network-stream-type-symbol): Ditto.
895 (elmo-network-stream-type-function): Ditto.
897 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
898 network-stream-type. All other related portions are changed.
899 (elmo-pop3-open-connection): Ditto.
901 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
902 network-stream-type. All other related portions are changed.
904 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
905 network-stream-type.All other related portions are changed.
906 (elmo-imap4-error): New macro.
907 (elmo-imap4-error-type): Ditto.
908 (elmo-imap4-error-process): Ditto.
909 (elmo-imap4-error-message): Ditto.
910 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
911 (elmo-imap4-auth-cram-md5): Ditto.
912 (elmo-imap4-auth-digest-md5): Ditto.
913 (elmo-imap4-login): Ditto.
914 (elmo-imap4-open-connection): Remove password entry if authentication
916 (elmo-imap4-user-at-host): Abolished.
917 (elmo-imap4-password-key): New buffer local variable.
918 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
919 using protocol, port, auth and stream-type.
921 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
923 2000-08-13 Daiki Ueno <ueno@unixuser.org>
925 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
927 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
929 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
930 (elmo-imap4-authenticator-alist): New variable.
931 (elmo-imap4-open-connection-1): Rename from
932 elmo-imap4-open-connection.
933 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
934 only wraps elmo-imap4-open-connection-1.
935 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
937 (elmo-imap4-auth-login): New function.
938 (elmo-imap4-auth-cram-md5): New function.
939 (elmo-imap4-auth-digest-md5): New function.
940 (elmo-imap4-login): New function.
942 2000-08-12 Kenichi OKADA <okada@opaopa.org>
944 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
947 2000-08-12 Kenichi OKADA <okada@opaopa.org>
949 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
951 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
953 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
955 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
957 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
958 for server responses, quote `*' regardless of where it appears.
960 2000-08-03 Kenichi OKADA <okada@opaopa.org>
962 * elmo-maildir.el (elmo-maildir-commit): New alias.
964 2000-08-03 Kenichi OKADA <okada@opaopa.org>
966 * elmo-util.el (elmo-display-progress):
967 Use `progress-feedback-with-label'.
969 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
971 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
972 (elmo-imap4-non-atom-char-regex): Ditto.
973 (elmo-imap4-non-text-char-regex): Ditto.
974 (elmo-imap4-literal-threshold): Ditto.
975 (elmo-imap4-atom-p): New function.
976 (elmo-imap4-quotable-p): Ditto.
977 (elmo-imap4-nil): Ditto.
978 (elmo-imap4-atom): Ditto.
979 (elmo-imap4-quoted): Ditto.
980 (elmo-imap4-literal-subr): Ditto.
981 (elmo-imap4-literal): Ditto.
982 (elmo-imap4-buffer-literal): Ditto.
983 (elmo-imap4-string-subr): Ditto.
984 (elmo-imap4-string): Ditto.
985 (elmo-imap4-buffer-string): Ditto.
986 (elmo-imap4-astring-subr): Ditto.
987 (elmo-imap4-astring): Ditto.
988 (elmo-imap4-buffer-astring): Ditto.
989 (elmo-imap4-nstring): Ditto.
990 (elmo-imap4-buffer-nstring): Ditto.
991 (elmo-imap4-mailbox): New alias.
992 (elmo-imap4-field-body): Ditto.
993 (elmo-imap4-userid): Ditto.
994 (elmo-imap4-password): Ditto.
995 (elmo-imap4-format-quoted): New function.
996 (elmo-imap4-send-command): Rewritten. Accept a list of command
997 arguments and handle "atom", "quoted" and "literal" string here.
998 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
999 `elmo-imap4-send-command'.
1000 (elmo-imap4-folder-exists-p): Likewise.
1001 (elmo-imap4-create-folder): Likewise.
1002 (elmo-imap4-delete-folder): Likewise.
1003 (elmo-imap4-rename-folder): Likewise.
1004 (elmo-imap4-max-of-folder): Likewise.
1005 (elmo-imap4-check-validity): Likewise.
1006 (elmo-imap4-sync-validity): Likewise.
1007 (elmo-imap4-server-diff): Likewise.
1008 (elmo-imap4-select-folder): Likewise.
1009 (elmo-imap4-copy-msgs): Likewise.
1010 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
1011 (elmo-imap4-mark-set-on-msgs): Likewise.
1012 (elmo-imap4-read-part): Likewise.
1013 (elmo-imap4-read-msg): Likewise.
1014 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
1015 `elmo-imap4-password' for `elmo-imap4-send-command'.
1016 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
1017 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
1018 `elmo-imap4-buffer-literal'.
1019 (elmo-imap4-append-msg): Likewise.
1021 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
1022 `delete' for removing dead connection from the connection cache.
1023 Move deletion of the process buffer after that.
1024 (elmo-imap4-list): Change `defsubst' to `defun'.
1025 (elmo-imap4-commit): Make error message verbose.
1026 (elmo-imap4-search): Ditto.
1027 (elmo-imap4-list): Ditto.
1028 (elmo-imap4-select-folder): Ditto.
1029 (elmo-imap4-copy-msgs): Ditto.
1030 (elmo-imap4-delete-msg-by-id): Ditto.
1031 (elmo-imap4-append-msg-by-id): Ditto.
1032 (elmo-imap4-append-msg): Ditto.
1034 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
1036 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
1037 when dired is used on XEmacs.
1039 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
1041 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
1042 instead of `append'.
1043 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
1044 `elmo-plugged-p' directly.
1045 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
1046 of `elmo-plugged-p' directly.
1048 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
1049 Eliminate unused variable. Use `memq' for checking a process status.
1050 Use `cons' instead of `append' for updating the connection cache.
1051 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
1052 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
1054 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
1056 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
1057 `elmo-imap4-read-point' exactly.
1059 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
1060 the local variable `folder' to `mailbox'.
1061 Rename the argument `fld' to `folder'.
1063 2000-07-20 Kenichi OKADA <okada@opaopa.org>
1065 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
1066 * elmo-imap4.el (elmo-imap4-commit): Ditto.
1068 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
1070 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
1071 (elmo-pop3-number-uidl-hash): New buffer-local variable.
1072 (elmo-pop3-uidl-number-hash): Ditto.
1073 (elmo-pop3-size-hash): Ditto.
1074 (elmo-pop3-uidl-done): Ditto.
1075 (elmo-pop3-list-done): Ditto.
1076 (elmo-pop3-connection-get-process): New defmacro.
1077 (elmo-pop3-connection-get-buffer): Ditto.
1078 (elmo-pop3-close-connection): Delete buffer and process.
1079 (elmo-pop3-flush-connection): Don't delete buffer and process.
1080 (elmo-pop3-get-connection): Added optional argument `if-exists'.
1081 Setup UIDL and size hash.
1082 (elmo-pop3-send-command-no-erase): Deleted
1083 (elmo-pop3-send-command): Added optional argument `no-erase'.
1084 (elmo-pop3-parse-uidl-response): New function.
1085 (elmo-pop3-parse-list-response): Set size hash.
1086 (elmo-pop3-list-location): New function.
1087 (elmo-pop3-list-by-uidl-subr): Ditto.
1088 (elmo-pop3-list-by-list): Ditto.
1089 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
1090 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
1091 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
1092 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
1093 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
1095 (elmo-pop3-uidl-to-number): New function.
1096 (elmo-pop3-number-to-uidl): Ditto.
1097 (elmo-pop3-number-to-size): Ditto.
1098 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
1099 Set number by use of uidl.
1100 (elmo-pop3-msgdb-create-message): Likewise.
1101 Set size, loc-alist in msgdb.
1102 (elmo-pop3-read-msg): Set number by use of uidl.
1103 Added optional argument `msgdb'.
1104 (elmo-pop3-delete-msg): Ditto.
1105 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
1106 (elmo-pop3-commit): Close connection.
1108 * elmo-pipe.el (elmo-pipe-max-of-folder):
1109 Bind `elmo-pop3-use-uidl' as nil.
1110 (elmo-pipe-drain): Ditto.
1113 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
1114 (elmo-msgdb-overview-entity-set-size): New defsubst.
1116 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
1118 * elmo-vars.el (elmo-use-killed-list): New variable
1119 (Renamed from `elmo-nntp-use-killed-list').
1120 (elmo-nntp-use-killed-list): Eliminated.
1122 * elmo-msgdb.el (elmo-msgdb-expand-path):
1123 Changed expanding msgdb path for elmo-multi.
1125 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
1126 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
1127 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
1128 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
1129 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
1130 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
1131 (toplevel): Deleted time-stamp line.
1133 * elmo2.el (elmo-clear-killed ): Defined as function
1134 (Abolished defining as a backend function).
1135 All other related modules are changed.
1137 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
1139 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
1141 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
1143 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
1145 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1147 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
1149 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
1151 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
1152 asynchronous folder check.
1154 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
1156 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
1157 `elmo-nntp-use-killed-list'.
1158 (elmo-nntp-list-folder): Use killed list.
1159 (elmo-nntp-max-of-folder): Ditto.
1160 (elmo-nntp-msgdb-create): Set killed list.
1162 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
1164 * elmo2.el (elmo-clear-killed): New backend function.
1165 All other related modules are changed.
1167 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
1169 * elmo-util.el (elmo-imap4-spec-folder): Use
1170 `elmo-imap4-spec-mailbox'; Mark as obsolete.
1171 All callers changed.
1173 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
1175 * mmelmo-2.el (initialize-instance):
1176 Use `mime-buffer-entity-buffer-internal' instead of
1177 `mime-entity-buffer'.
1179 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
1180 (mime-entity-body): Implemented.
1181 (mime-goto-header-start-point): Deleted.
1182 (mime-goto-body-end-point): Ditto.
1183 (mime-entity-point-min): Ditto.
1184 (mime-entity-point-max): Ditto.
1185 (mime-entity-children): Ditto.
1186 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
1187 instead of `mime-entity-buffer'.
1188 (mime-entity-header-buffer): Ditto.
1189 (mime-entity-body-buffer): Ditto.
1190 (mime-write-entity-content): Ditto.
1192 * pldap.el (ldap-static-if): New macro.
1193 (toplevel): Use it instead of `static-if'.
1195 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
1197 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
1198 included in `attrs' argument.
1200 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
1202 * elmo-util.el (elmo-get-passwd): Use old backquote style.
1204 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
1205 (ldap-ldif-safe-init-char-regexp): Ditto.
1206 (ldap-ldif-safe-string-regexp): Ditto.
1207 (ldap/ldif-safe-string-p): New macro.
1208 (ldap/ldif-insert-field): Ditto.
1209 (ldap-modify): Use it.
1211 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
1212 (ldap-decode-attribute): Decode only when `attr' is consp.
1213 (ldap-delete): Bind `ret'.
1214 (toplevel): Require 'cl at compile time.
1215 Removed (require 'poe) and (require 'std11).
1216 (pldap-version): Eliminated.
1217 (ldap-search-basic): Removed auth and dn binding.
1218 (ldap-ldif-field-name-regexp): New constant.
1219 (ldap-ldif-field-head-regexp): Ditto.
1220 (ldap-ldif-next-field-head-regexp): Ditto.
1221 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
1222 (ldap/field-end): New function.
1223 (ldap/field-body): Use it.
1224 (ldap/collect-field): Ditto.
1225 (ldap-search-basic): Use `ldap/field-body'.
1227 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
1229 * pldap.el (ldap-default-attribute-encoder): New user option.
1230 (ldap/field-body): Decode base64 string.
1231 (ldap/collect-field): Ditto.
1232 (ldap-encode-attribute): New function.
1233 (ldap-add-entries): Use it.
1234 (ldap-modify-entries): Ditto.
1235 (ldap-search-entries): Enclosed decoding function with
1236 `with-temp-buffer' and set as unibyte.
1237 (ldap-search-basic): Set process buffer as unibyte.
1239 * elmo-util.el (elmo-folder-identical-system-p):
1240 Eliminated name space checking.
1242 * pldap.el: New module.
1243 toplevel: Changed condition to detect built-in ldap feature.
1244 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
1245 (ldap-add): Added error handling.
1246 (ldap-modify): Ditto.
1247 (ldap-delete): Ditto.
1249 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
1251 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
1252 Initialize local variables with `let'. Inline a temporary
1253 variable for the progress percentage. Sort `setq' to reduce
1254 function call in the while-loop.
1256 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
1257 into the conditional branch.
1259 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
1261 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
1262 Move a conditional out of the while-loop.
1264 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1266 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
1267 elmo-msgdb-overview-get-entity-by-number.
1268 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
1271 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
1273 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
1274 the local variable for a packed number self descriptively.
1276 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1278 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
1279 * elmo-localdir.el (elmo-localdir-pack-number): Use
1280 `elmo-msgdb-overview-get-entity' instead of
1281 `elmo-msgdb-overview-get-entity-by-number'.
1282 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
1283 (elmo-msgdb-search-overview-entity): Removed.
1284 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
1285 by message-id or number.
1286 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
1287 instead of `elmo-msgdb-overview-get-entity-by-number'.
1289 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1291 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
1292 non-nil, use hash table for overview.
1293 (elmo-hash-maximum-size): New variable.
1294 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
1295 (elmo-msgdb-make-overview-hashtb): New function.
1296 (elmo-msgdb-clear-overview-hashtb): New function.
1297 (elmo-clear-hash-val): New macro.
1298 All other related modules are changed.
1300 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
1302 * elmo2.el (elmo-move-msgs): If there's other message with
1303 same message-id, don't use cache.
1305 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
1307 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
1308 number is already packed.
1310 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
1312 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
1314 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1316 * elmo-vars.el (elmo-display-progress-threshold): New variable.
1317 All other related modules are changed.
1319 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
1321 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
1322 of refiling failure on Maildir.
1324 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1326 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
1327 decoded mime-charset with cache.
1328 (elmo-msgdb-overview-entity-get-from): Ditto.
1329 (elmo-msgdb-overview-entity-get-subject): Ditto.
1330 * elmo-vars.el (elmo-use-decoded-cache): New variable.
1332 2000-05-10 Kenichi OKADA <okada@opaopa.org>
1334 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
1335 (elmo-remove-passwd): Fill password with 0 before erase.
1336 * elmo-vars.el (elmo-passwd-life-time): New variable.
1339 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
1341 * elmo-cache.el (elmo-buffer-cache-add):
1342 Set message cache buffer as unibyte.
1344 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1346 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
1349 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
1351 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
1352 when display is finished.
1353 (elmo-nntp-msgdb-create): Ditto.
1354 (elmo-nntp-groups-read-response): Ditto.
1355 (elmo-nntp-retrieve-headers): Ditto.
1356 (elmo-nntp-msgdb-create-message): Ditto.
1357 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1358 (elmo-pop3-msgdb-create-message): Ditto.
1360 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1362 * elmo-maildir.el (elmo-maildir-msgdb-create):
1363 Use `elmo-msgdb-sort-by-date'.
1365 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
1367 * elmo2.el (elmo-read-msg-no-cache):
1368 Eliminated arguments after `outbuf'.
1369 Don't use cache even if it exists.
1370 (elmo-read-msg): Don't pass arguments after `outbuf' to
1371 `elmo-read-msg-no-cache'.
1373 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1375 * elmo-archive.el (elmo-archive-list-folders):
1376 Use `file-name-directory' if base folder does not exist.
1378 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
1380 * elmo-archive.el (elmo-archive-list-folders): Don't use
1381 `file-name-directory'.
1383 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
1385 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
1386 If `force' is non-nil, try flushing all operation queues.
1388 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1390 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
1393 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1395 * elmo-util.el (elmo-display-progress): Fixed.
1397 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1399 * elmo-util.el (elmo-display-progress): New function.
1400 All other related modules are changed.