1 2000-10-28 Kenichi OKADA <okada@opaopa.org>
3 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
4 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
6 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
8 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
9 value if selecting folder succceeded.
10 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
12 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
14 * elmo-util.el (elmo-make-directory): Fixed permission lateral
17 * elmo-util.el (elmo-string-matched-member): New function.
19 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
21 * elmo-util.el (elmo-unintern): New macro.
22 (elmo-number-set-member): Fixed docstring.
24 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
27 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
29 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
30 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
32 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
34 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
37 Return non-nil if selecting folder succeeded.
38 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
40 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
42 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
43 `file-name-completion' returns t.
44 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
45 (elmo-maildir-set-mark): Put `info' part to the files in the cur
46 directory if it does not exist.
47 (elmo-maildir-update-current): Use `while' instead of `mapcar'
50 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
52 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
53 enclosure (It's harmful in unplugged status).
55 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
57 * mmelmo-1.el: Removed.
61 * mmelmo-imap4-1.el: Ditto.
63 * mmelmo-imap4-2.el: Ditto.
65 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
67 * mmelmo.el: Merged mmelmo-2.el.
69 * elmo-version.el (elmo-version): Up to 2.3.92.
71 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
73 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
74 elmo-update-number): Remove last period in "...done." message.
75 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
77 * elmo-cache.el (elmo-cache-expire-by-size,
78 elmo-cache-get-sorted-cache-file-list,
79 elmo-cache-msgdb-create-as-numlist): Ditto.
80 * elmo-dop.el (elmo-dop-save-pending-messages,
81 (elmo-dop-flush-pending-append-operations): Ditto.
82 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
83 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
84 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
85 (elmo-localdir-pack-number): Ditto.
86 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
87 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
88 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
89 mime-write-entity-content): Ditto.
90 * pldap.el (ldap-search-basic): Ditto.
92 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
94 * elmo-version.el (elmo-version): Up to 2.3.91.
96 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
97 Only when filter is 'last'.
99 * elmo-util.el (elmo-condition-atom-regexp): New constant.
100 (elmo-condition-parse-search-value): Use it.
101 (elmo-read-search-condition-internal): Quote value only when
104 2000-10-18 Kenichi OKADA <okada@opaopa.org>
106 * elmo2.el (elmo-generic-folder-diff): Fix.
108 2000-10-17 Kenichi OKADA <okada@opaopa.org>
110 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
111 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
112 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
113 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
114 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
115 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
117 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
119 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
122 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
124 * elmo-version.el (elmo-version): Up to 2.3.90.
126 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
127 (elmo-imap4-list-folder-important): Ditto.
129 2000-10-16 Kenichi OKADA <okada@opaopa.org>
131 * elmo-nntp.el (elmo-network-initialize-session): Fix.
133 2000-10-16 Kenichi OKADA <okada@opaopa.org>
135 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
137 2000-10-15 Kenichi OKADA <okada@opaopa.org>
139 * elmo-nntp.el (elmo-network-initialize-session):
140 Add starttls negotiation.
142 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
144 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
146 (elmo-network-setup-session): Define.
147 Call `elmo-nntp-send-mode-reader' when session opened.
149 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
151 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
153 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
155 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
156 an invalid SPACE character ahead of `SEARCH' command. Move
157 a valid SPACE character following `SEARCH' from conditional
158 `format' arguments to control-strings.
160 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
162 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
165 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
167 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
169 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
170 `w32-get-true-file-link-count' as t.
172 * elmo-imap4.el (elmo-imap4-read): Abolished.
173 (Renamed to `elmo-read' and moved to elmo-util.el)
174 All other related portions are changed.
176 * elmo-util.el (elmo-read): New function.
177 (elmo-condition-parse-search-value): Use it.
179 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
181 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
183 * elmo-nntp.el (elmo-nntp-session): Define.
184 (elmo-nntp-setting): Abolished.
185 All other related portions are changed.
186 (elmo-nntp-get-server-command): Changed argument.
187 (elmo-nntp-set-server-command): Ditto.
188 (elmo-nntp-xover-p): Ditto.
189 (elmo-nntp-set-xover): Ditto.
190 (elmo-nntp-listgroup-p): Ditto.
191 (elmo-nntp-set-listgroup): Ditto.
192 (elmo-nntp-list-active-p): Ditto.
193 (elmo-nntp-set-list-active): Ditto.
194 (elmo-nntp-xhdr-p): Ditto.
195 (elmo-nntp-set-xhdr): Ditto.
196 (elmo-nntp-flush-connection): Abolished.
197 (elmo-nntp-get-connection): Abolished.
198 (elmo-nntp-get-session): New function.
199 (elmo-network-initialize-session): Defined.
200 (elmo-network-authenticate-session): Ditto.
201 (elmo-nntp-send-mode-reader): Changed argument.
202 (elmo-nntp-send-command): Changed argument.
203 All other related portions are changed.
204 (elmo-nntp-read-response): Ditto.
205 (elmo-nntp-read-raw-response): Ditto.
206 (elmo-nntp-read-contents): Ditto.
207 (elmo-nntp-read-body): Ditto.
208 (elmo-nntp-goto-folder): Abolished.
209 (elmo-nntp-select-group): New function.
210 All other related portions are changed.
211 (This function substitutes `elmo-nntp-goto-folder')
212 (elmo-nntp-msgdb-create-by-header): Rewrite.
213 (elmo-nntp-get-overview): Eliminated.
214 (elmo-nntp-get-message): Ditto.
215 (elmo-nntp-open-connection) Abolished.
216 (elmo-nntp-read-msg): Rewrite.
217 (elmo-nntp-post): Ditto.
218 (elmo-nntp-send-data): Abolished.
219 (elmo-nntp-send-buffer): New function.
220 (elmo-nntp-send-data-line): Define as inline function.
221 (elmo-nntp-get-folders-info-prepare): Use session as key.
222 (elmo-nntp-groups-read-response): Changed argument.
223 (elmo-nntp-retrieve-headers): Ditto.
224 (elmo-nntp-msgdb-create-message): Ditto.
226 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
227 when searching by 'since' or 'before'.
229 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
231 * elmo-version.el (toplevel): Use product-version-as-string for set
232 verstion-string, if defined.
234 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
236 * elmo-util.el: Doc fixes.
238 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
240 * elmo-archive.el (toplevel): Use product-provide.
241 * elmo-cache.el (toplevel): Ditto.
242 * elmo-database.el (toplevel): Ditto.
243 * elmo-date.el (toplevel): Ditto.
244 * elmo-dop.el (toplevel): Ditto.
245 * elmo-filter.el (toplevel): Ditto.
246 * elmo-imap4.el (toplevel): Ditto.
247 * elmo-internal.el (toplevel): Ditto.
248 * elmo-localdir.el (toplevel): Ditto.
249 * elmo-localnews.el (toplevel): Ditto.
250 * elmo-maildir.el (toplevel): Ditto.
251 * elmo-msgdb.el (toplevel): Ditto.
252 * elmo-multi.el (toplevel): Ditto.
253 * elmo-net.el (toplevel): Ditto.
254 * elmo-nntp.el (toplevel): Ditto.
255 * elmo-pipe.el (toplevel): Ditto.
256 * elmo-pop3.el (toplevel): Ditto.
257 * elmo-util.el (toplevel): Ditto.
258 * elmo-vars.el (toplevel): Ditto.
259 * elmo2.el (toplevel): Ditto.
260 * mmelmo-1.el (toplevel): Ditto.
261 * mmelmo-2.el (toplevel): Ditto.
262 * mmelmo-imap4-1.el (toplevel): Ditto.
263 * mmelmo-imap4-2.el (toplevel): Ditto.
264 * mmelmo-imap4.el (toplevel): Ditto.
265 * mmelmo.el (toplevel): Ditto.
267 2000-10-10 Kenichi OKADA <okada@opaopa.org>
269 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
270 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
272 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
274 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
276 (elmo-multi-split-number-alist): Ditto.
278 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
280 * elmo-version.el: New file. Use product.el.
281 * elmo2.el: Add (require 'elmo-version).
282 * elmo-vars.el (elmo-appname, elmo-version): Move to
285 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
287 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
288 `elmo-msgdb-expand-path'.
289 (elmo-msgdb-load): Ditto.
290 Abolished 2nd argument. If 1st argument is not string, treat as spec.
291 (elmo-generic-list-folder-unread): Rewrite.
292 (elmo-generic-list-folder-important): Changed argument.
293 (elmo-list-folder-unread): Ditto.
294 (elmo-list-folder-important): Ditto.
295 (elmo-folder-diff): Rewrite.
296 (elmo-generic-folder-diff): New function.
297 (elmo-multi-get-number-alist-list): Abolished
298 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
299 (elmo-multi-folder-diff): Moved to elmo-multi.el
300 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
302 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
303 `elmo-msgdb-expand-path'.
304 (elmo-pop3-msgdb-create-as-numlist): Ditto.
305 (elmo-pop3-read-msg): Ditto.
306 (elmo-pop3-delete-msgs): Ditto.
307 (elmo-pop3-folder-diff): New alias.
309 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
310 `elmo-msgdb-expand-path'.
311 (elmo-pipe-list-folder-unread): Changed arguments.
312 (elmo-pipe-list-folder-important): Ditto.
313 (elmo-pipe-folder-diff): New alias.
315 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
316 `elmo-msgdb-expand-path'.
317 (elmo-nntp-max-of-folder): Ditto.
318 (elmo-nntp-msgdb-create): Ditto.
319 (elmo-nntp-delete-msgs): Ditto.
320 (elmo-nntp-folder-diff): New alias.
322 * elmo-multi.el (elmo-multi-folder-diff): New function.
323 (elmo-multi-split-mark-alist): Ditto.
324 (elmo-multi-split-number-alist): Ditto.
325 (elmo-multi-mark-alist-list): Abolished (Renamed to
326 elmo-multi-split-mark-alist).
327 (elmo-multi-list-folder-unread): Rewrite.
328 (elmo-multi-list-folder-important): Ditto.
329 (elmo-multi-list-folder): Set `spec' as 1st argument for
330 `elmo-msgdb-expand-path'.
331 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
332 instead of `elmo-multi-get-number-alist-list'.
334 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
335 If 1st argument is not string, treat as spec.
336 (elmo-list-folder-by-location): Set `spec' as 1st argument for
337 `elmo-msgdb-expand-path'.
338 (elmo-msgdb-flist-load): Ditto.
339 (elmo-msgdb-flist-save): Ditto.
340 (elmo-msgdb-delete-path): Ditto.
341 (elmo-msgdb-rename-path): Ditto.
343 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
344 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
345 (elmo-maildir-delete-mark-msgs): Ditto.
346 (elmo-maildir-msgdb-create): Ditto.
347 (elmo-maildir-read-msg): Ditto.
348 (elmo-maildir-delete-msgs): Ditto.
349 (elmo-maildir-list-folder-subr): Ditto.
350 (elmo-maildir-search): Ditto.
351 (elmo-maildir-get-msg-filename): Ditto.
352 (elmo-maildir-pack-number): Ditto.
353 (elmo-maildir-folder-diff): New alias.
355 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
357 * elmo-localdir.el (elmo-localdir-list-folder-subr):
358 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
359 (elmo-localdir-folder-diff): New alias.
361 * elmo-internal.el (elmo-internal-list-folder-subr):
362 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
363 (elmo-internal-list-folder-by-location): Ditto.
364 (elmo-internal-msgdb-create): Ditto.
365 (elmo-internal-delete-msgs): Ditto.
366 (elmo-internal-read-msg): Ditto.
367 (elmo-internal-folder-diff): New alias.
369 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
370 (elmo-imap4-list-folder): Set `spec' as 1st argument for
371 `elmo-msgdb-expand-path'.
372 (elmo-imap4-list-folder-unread): Changed arguments.
373 (elmo-imap4-list-folder-important): Ditto.
375 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
376 (elmo-filter-list-folder-important): Ditto.
377 (elmo-filter-folder-diff): New function.
379 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
381 * elmo-cache.el (elmo-cache-list-folder):
382 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
383 (elmo-cache-copy-msgs): Ditto.
384 (elmo-cache-folder-diff): New alias.
386 * elmo-archive.el (elmo-archive-list-folder-subr):
387 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
388 (elmo-archive-get-archive-name): Ditto.
389 (elmo-archive-create-file): Ditto.
390 (elmo-archive-append-msg): Ditto.
391 (elmo-archive-copy-msgs): Ditto.
392 (elmo-archive-copy-msgs-froms): Ditto.
393 (elmo-archive-get-msg-filename): Ditto.
394 (elmo-archive-folder-diff): New alias.
396 2000-10-06 Daiki Ueno <ueno@unixuser.org>
398 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
399 (elmo-pop3-stream-type-alist): New variable.
400 (elmo-nntp-stream-type-alist): New variable.
402 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
403 (elmo-kill-buffer): Ditto.
404 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
405 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
406 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
407 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
408 (elmo-imap4-get-spec): Take into account
409 `elmo-imap4-stream-type-alist'.
411 2000-10-06 Kenichi OKADA <okada@opaopa.org>
413 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
414 (elmo-nntp-list-folders-get-cache): Ditto.
416 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
418 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
419 character before 'uid'.
421 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
423 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
425 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
427 * elmo-util.el (elmo-number-set-member): New function.
428 (elmo-number-set-append-list): Ditto.
429 (elmo-number-set-append): Ditto.
431 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
432 Use `elmo-number-set-member'.
433 (elmo-living-messages): Ditto.
434 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
435 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
437 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
438 (elmo-imap4-add-to-cont-list): Abolished.
439 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
440 instead of elmo-imap4-add-to-cont-list.
442 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
443 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
445 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
447 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
449 * elmo-util.el (elmo-condition-parse-search-value):
452 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
454 * elmo-util.el (elmo-condition-find-key-internal): New function.
455 (elmo-condition-find-key): Ditto.
457 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
458 (elmo-msgdb-search-internal): Ditto.
459 (elmo-msgdb-search): Ditto.
461 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
463 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
464 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
466 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
467 (elmo-nntp-search-primitive): Fixed problem when condition is
470 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
472 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
473 (elmo-nntp-xhdr-p): New macro.
474 (elmo-nntp-set-xhdr): Ditto.
475 (elmo-nntp-parse-xhdr-response): New function.
476 (elmo-nntp-retrieve-field): Ditto.
477 (elmo-nntp-search-primitive): Ditto.
478 (elmo-nntp-search): Implemented.
480 * elmo-date.el (elmo-date-make-sortable-string): New macro.
482 * elmo-archive.el (elmo-archive-search): Set all number list to
483 `elmo-archive-field-condition-match'
485 * elmo-localdir.el (elmo-localdir-search): Likewise.
487 * elmo-maildir.el (elmo-maildir-search): Likewise.
489 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
491 * elmo-msgdb.el (elmo-living-messages): New function.
492 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
493 * elmo-cache.el (elmo-cache-list-folder): Ditto.
494 * elmo-dop.el (elmo-dop-list-folder): Ditto.
495 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
496 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
497 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
498 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
499 * elmo-multi.el (elmo-multi-list-folder): Ditto.
500 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
501 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
502 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
504 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
506 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
508 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
510 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
512 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
513 arguments for `SEARCH' command.
514 (elmo-imap4-parse-string): Set `POS' argument for char-after.
515 All other related portions are changed.
517 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
519 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
520 (elmo-list-folder-unread): Rewrite.
521 (elmo-list-folder-important): Ditto.
523 * elmo-util.el (elmo-filter-get-spec): Rewrite.
524 (elmo-condition-parse-error): New inline function.
525 (elmo-read-search-condition): New function.
526 (elmo-read-search-condition-internal): Ditto.
527 (elmo-parse-search-condition): Rewrite.
528 (elmo-condition-parse): New function.
529 (elmo-condition-parse-or-expr): Ditto.
530 (elmo-condition-parse-and-expr): Ditto.
531 (elmo-condition-parse-primitive): Ditto.
532 (elmo-condition-parse-search-value): Ditto.
533 (elmo-buffer-field-primitive-condition-match): Ditto.
534 (elmo-buffer-field-condition-match): Rewrite.
535 (elmo-file-field-condition-match): Ditto.
537 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
538 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
540 * elmo-internal.el (elmo-internal-search): Set `number' and
541 `number-list' argument of `elmo-file-field-condition-match'.
543 * elmo-maildir.el (elmo-maildir-search): Ditto.
545 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
546 `msgdb' as argument instead of `mark-alist'.
547 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
550 * elmo-multi.el: Likewise.
552 * elmo-pipe.el: Likewise.
554 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
555 (elmo-imap4-search-internal): Rewrite.
556 (elmo-imap4-search): Ditto.
558 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
559 (elmo-filter-list-folder-unread): Ditto.
560 (elmo-filter-list-folder-important): Ditto.
561 (elmo-filter-search): Rewrite.
563 * elmo-cache.el (elmo-cache-search-all): Set `number' and
564 `number-list' argument of `elmo-file-field-condition-match'.
565 (elmo-cache-search): Ditto.
567 * elmo-localdir.el: Likewise.
569 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
570 number-list and pass it to `elmo-buffer-field-condition-match'.
571 (elmo-archive-field-condition-match): Pass `number-list' to
572 `elmo-archive-field-condition-match'
574 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
576 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
579 * elmo2.el (elmo-folder-diff-async-callback): New variable.
580 (elmo-folder-diff-async-callback-data): Ditto.
581 (elmo-folder-diff-async): New function.
583 * elmo-net.el (elmo-network-session-name-prefix): New variable.
584 (elmo-network-session-cache-key): Use it as a prefix of the session
586 (elmo-network-open-session): Ditto.
588 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
589 (elmo-imap4-status-callback-data): Ditto.
590 (elmo-imap4-server-diff-async-callback): New variable.
591 (elmo-imap4-server-diff-async-callback-data): Ditto.
592 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
593 `elmo-imap4-status-callback-data'.
594 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
595 `elmo-imap4-status-callback-data' as nil.
596 (elmo-imap4-server-diff): Ditto.
597 (elmo-imap4-server-diff-async-callback-1): New function.
598 (elmo-imap4-server-diff-async): Ditto.
599 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
601 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
603 * elmo-util.el (elmo-list-delete): Doc fix.
604 (elmo-delete-lists): Abolish.
605 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
606 instead of `elmo-delete-lists'.
608 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
610 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
613 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
615 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
616 `elmo-imap4-literal-subr'.
617 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
618 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
620 2000-09-15 Kenichi OKADA <okada@opaopa.org>
622 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
623 (elmo-archive-list-folder): Fix.
624 (elmo-archive-max-of-folder): Fix.
626 2000-09-15 Kenichi OKADA <okada@opaopa.org>
628 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
629 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
630 (elmo-localdir-append-msg): Ditto.
631 (elmo-localdir-list-folder): Fix for `nonsort'.
632 (elmo-localdir-list-folder-subr): Fix for `killed'.
633 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
634 (elmo-maildir-list-folder-subr): Ditto.
635 * elmo-archive.el (elmo-archive-list-folder): Ditto.
636 (elmo-archive-list-folder-subr): Ditto.
637 * elmo-internal.el (elmo-internal-list-folder): Ditto.
638 (elmo-internal-list-folder-subr): Ditto.
640 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
642 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
644 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
646 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
648 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
650 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
651 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
653 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
655 (elmo-imap4-read-part): Use "body.peek" to fetch part.
656 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
658 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
660 * mmelmo-imap4-2.el (mime-entity-children): Defined.
662 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
663 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
664 before STORE command.
666 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
668 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
670 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
671 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
673 (elmo-imap4-list-folders): Removed unused local variable.
674 (elmo-network-initialize-session): Ditto.
675 (elmo-imap4-delete-msg-by-id): Ditto.
676 (elmo-imap4-parse-fetch): Ditto.
677 (elmo-imap4-copy-msgs): Ditto.
678 Use `dst-spec' instead of `dst-folder'.
679 (elmo-network-authenticate-session): Check authenticate type `plain'.
681 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
683 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
685 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
686 `elmo-imap4-response-value'.
687 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
689 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
691 * elmo-imap4.el (elmo-imap4-send-command):
692 Cause elmo-imap4-bye-error when current response is BYE.
693 (elmo-imap4-arrival-filter): Changed greeting response value.
695 * elmo2.el (elmo-imap4-bye-error): Define.
697 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
698 (elmo-imap4-server-diff): Ditto.
699 (elmo-imap4-response-bye-p): New macro.
700 (elmo-imap4-response-error-text): Get text from BYE response.
701 (elmo-imap4-read-response): Return if BYE response.
702 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
703 (elmo-imap4-folder-exists-p): Ditto.
704 (elmo-imap4-commit): Do nothing when different mailbox is selected.
705 (elmo-imap4-parse-bye): New function.
706 (elmo-imap4-parse-response): Remove needless let.
707 Call `elmo-imap4-parse-bye'.
709 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
711 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
712 the mailbox does not exist.
713 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
715 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
717 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
719 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
721 * elmo-vars.el (elmo-search-mime-charset): Abolished.
723 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
724 (elmo-network-initialize-session-buffer): Defined.
726 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
728 (mmelmo-imap4-get-mime-entity): Rewrite.
730 * elmo2.el (elmo-error): Capitalize error message.
732 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
733 (elmo-network-session-buffer): New macro.
734 (elmo-network-open-session): Use it.
736 * elmo-imap4.el: Rewrite.
738 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
740 * elmo-nntp.el (Toplevel): Require 'elmo-net.
742 2000-08-27 Daiki Ueno <ueno@unixuser.org>
744 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
745 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
746 (elmo-imap4-create-msgdb-from-overview-string): Use
747 `elmo-msgdb-create-overview-from-buffer'.
749 2000-08-26 Daiki Ueno <ueno@unixuser.org>
751 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
752 (elmo-imap4-default-hierarchy-delimiter): New variable.
753 (elmo-imap4-list-folders): Use it.
755 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
757 * elmo-net.el (elmo-network-open-session): Add user and
758 stream-type for process-buffer name.
760 * elmo-pop3.el (elmo-network-initialize-session): Call
763 * elmo-imap4.el (elmo-network-initialize-session):
764 Set current-buffer as an argument for `buffer-disable-undo'.
766 * elmo-pop3.el (elmo-network-close-session): Don't use
769 * elmo-vars.el (elmo-default-pop3-authenticate-type):
770 Set default as 'user.
772 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
774 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
775 and `elmo-imap4-flush-connection'.
777 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
778 (elmo-pop3-get-spec): Assume auth as symbol.
779 (elmo-open-network-stream): Moved to `elmo-net'.
781 * elmo-pop3.el (toplevel): Require 'elmo-net.
782 Define `sasl-cram-md5' to silence byte compilier.
783 (elmo-pop3-connection-cache) Abolished.
784 (elmo-pop3-authenticator-alist) New variable.
785 (elmo-pop3-session): Define.
786 (elmo-pop3-connection-get-process): Abolished.
787 (elmo-pop3-connection-get-buffer): Ditto.
788 (elmo-pop3-close-connection): Ditto.
789 (elmo-pop3-flush-connection): Ditto.
790 (elmo-pop3-get-connection): Ditto.
791 (elmo-pop3-get-session): New function.
792 (Replacement for `elmo-pop3-get-connection').
793 All other related modules are changed.
794 (elmo-network-close-session): Define.
795 (elmo-pop3-send-command): Abolished argument `buffer'.
796 All other related modules are changed.
797 (elmo-pop3-read-response): Likewise.
798 (elmo-pop3-open-connection): Abolished.
799 (elmo-pop3-auth-user): New function.
800 (elmo-pop3-auth-apop): Ditto.
801 (elmo-pop3-auth-cram-md5): Ditto.
802 (elmo-pop3-auth-scram-md5): Ditto.
803 (elmo-pop3-auth-digest-md5): Ditto.
804 (elmo-network-initialize-session): Define.
805 (elmo-network-authenticate-session): Ditto.
806 (elmo-network-setup-session): Ditto.
808 * elmo-imap4.el (toplevel): Require 'elmo-net.
809 (elmo-imap4-session): Define.
810 (elmo-imap4-connection-cache): Abolished.
811 (elmo-imap4-password-key): Ditto.
812 (elmo-imap4-flush-connection): Ditto.
813 (elmo-imap4-get-connection): Ditto.
814 All other related modules are changed.
815 (elmo-imap4-get-session): New function
816 (Replacement for `elmo-imap4-get-connection').
817 (elmo-imap4-read-response): Abolished argument `buffer'.
818 All other related modules are changed.
819 (elmo-imap4-send-command): Likewise.
820 (elmo-imap4-select-folder): Abolished.
821 All other related modules are changed.
822 (elmo-imap4-select-mailbox): New function.
823 (Replacement for `elmo-imap4-select-folder').
824 (elmo-imap4-auth-login): Simplify.
825 (Assume current buffer as process buffer)
826 (elmo-imap4-auth-cram-md5): Ditto.
827 (elmo-imap4-auth-digest-md5): Ditto.
828 (elmo-imap4-login): Ditto.
829 (elmo-imap4-open-connection): Abolished.
830 (elmo-imap4-open-connection-1): Abolished.
831 (elmo-network-initialize-sessoin): Define.
832 (elmo-network-authenticate-session): Ditto.
833 (elmo-network-setup-session): Ditto.
835 * elmo-net.el: New module.
837 2000-08-22 Daiki Ueno <ueno@unixuser.org>
839 * elmo-util.el (elmo-define-error): New function.
841 * elmo2.el (elmo-error): Define.
842 (elmo-open-error): Define.
843 (elmo-authenticate-error): Define.
845 * elmo-imap4.el (elmo-imap4-error): Abolish.
846 (elmo-imap4-error-type): Abolish.
847 (elmo-imap4-error-process): Abolish.
848 (elmo-imap4-error-message): Abolish
849 (elmo-imap4-list-folders): Don't quote lambda.
850 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
851 (elmo-imap4-parse-namespace): Ditto.
852 (elmo-imap4-open-connection): Rewrite.
853 (elmo-imap4-open-connection-1): Simplified (authenticate only).
854 (elmo-imap4-get-connection): Abolish local variable `result'.
856 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
858 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
859 wrong-type-argument error when auth is nil.
861 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
863 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
864 (elmo-default-nntp-stream-type): Ditto.
865 (elmo-default-pop3-stream-type): Ditto.
866 (elmo-network-stream-type-alist): Ditto.
867 (elmo-default-imap4-ssl): Abolished.
868 (elmo-default-nntp-ssl): Ditto.
869 (elmo-default-pop3-ssl): Ditto.
871 * elmo-util.el: (toplevel): Removed needless requires.
872 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
873 (elmo-open-network-stream): Open network stream according to
874 the value of `elmo-network-stream-type-alist'.
875 (elmo-get-network-stream-type): New function.
876 (elmo-network-stream-type-spec-string): New macro.
877 (elmo-network-stream-type-symbol): Ditto.
878 (elmo-network-stream-type-function): Ditto.
880 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
881 network-stream-type. All other related portions are changed.
882 (elmo-pop3-open-connection): Ditto.
884 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
885 network-stream-type. All other related portions are changed.
887 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
888 network-stream-type.All other related portions are changed.
889 (elmo-imap4-error): New macro.
890 (elmo-imap4-error-type): Ditto.
891 (elmo-imap4-error-process): Ditto.
892 (elmo-imap4-error-message): Ditto.
893 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
894 (elmo-imap4-auth-cram-md5): Ditto.
895 (elmo-imap4-auth-digest-md5): Ditto.
896 (elmo-imap4-login): Ditto.
897 (elmo-imap4-open-connection): Remove password entry if authentication
899 (elmo-imap4-user-at-host): Abolished.
900 (elmo-imap4-password-key): New buffer local variable.
901 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
902 using protocol, port, auth and stream-type.
904 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
906 2000-08-13 Daiki Ueno <ueno@unixuser.org>
908 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
910 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
912 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
913 (elmo-imap4-authenticator-alist): New variable.
914 (elmo-imap4-open-connection-1): Rename from
915 elmo-imap4-open-connection.
916 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
917 only wraps elmo-imap4-open-connection-1.
918 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
920 (elmo-imap4-auth-login): New function.
921 (elmo-imap4-auth-cram-md5): New function.
922 (elmo-imap4-auth-digest-md5): New function.
923 (elmo-imap4-login): New function.
925 2000-08-12 Kenichi OKADA <okada@opaopa.org>
927 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
930 2000-08-12 Kenichi OKADA <okada@opaopa.org>
932 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
934 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
936 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
938 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
940 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
941 for server responses, quote `*' regardless of where it appears.
943 2000-08-03 Kenichi OKADA <okada@opaopa.org>
945 * elmo-maildir.el (elmo-maildir-commit): New alias.
947 2000-08-03 Kenichi OKADA <okada@opaopa.org>
949 * elmo-util.el (elmo-display-progress):
950 Use `progress-feedback-with-label'.
952 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
954 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
955 (elmo-imap4-non-atom-char-regex): Ditto.
956 (elmo-imap4-non-text-char-regex): Ditto.
957 (elmo-imap4-literal-threshold): Ditto.
958 (elmo-imap4-atom-p): New function.
959 (elmo-imap4-quotable-p): Ditto.
960 (elmo-imap4-nil): Ditto.
961 (elmo-imap4-atom): Ditto.
962 (elmo-imap4-quoted): Ditto.
963 (elmo-imap4-literal-subr): Ditto.
964 (elmo-imap4-literal): Ditto.
965 (elmo-imap4-buffer-literal): Ditto.
966 (elmo-imap4-string-subr): Ditto.
967 (elmo-imap4-string): Ditto.
968 (elmo-imap4-buffer-string): Ditto.
969 (elmo-imap4-astring-subr): Ditto.
970 (elmo-imap4-astring): Ditto.
971 (elmo-imap4-buffer-astring): Ditto.
972 (elmo-imap4-nstring): Ditto.
973 (elmo-imap4-buffer-nstring): Ditto.
974 (elmo-imap4-mailbox): New alias.
975 (elmo-imap4-field-body): Ditto.
976 (elmo-imap4-userid): Ditto.
977 (elmo-imap4-password): Ditto.
978 (elmo-imap4-format-quoted): New function.
979 (elmo-imap4-send-command): Rewritten. Accept a list of command
980 arguments and handle "atom", "quoted" and "literal" string here.
981 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
982 `elmo-imap4-send-command'.
983 (elmo-imap4-folder-exists-p): Likewise.
984 (elmo-imap4-create-folder): Likewise.
985 (elmo-imap4-delete-folder): Likewise.
986 (elmo-imap4-rename-folder): Likewise.
987 (elmo-imap4-max-of-folder): Likewise.
988 (elmo-imap4-check-validity): Likewise.
989 (elmo-imap4-sync-validity): Likewise.
990 (elmo-imap4-server-diff): Likewise.
991 (elmo-imap4-select-folder): Likewise.
992 (elmo-imap4-copy-msgs): Likewise.
993 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
994 (elmo-imap4-mark-set-on-msgs): Likewise.
995 (elmo-imap4-read-part): Likewise.
996 (elmo-imap4-read-msg): Likewise.
997 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
998 `elmo-imap4-password' for `elmo-imap4-send-command'.
999 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
1000 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
1001 `elmo-imap4-buffer-literal'.
1002 (elmo-imap4-append-msg): Likewise.
1004 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
1005 `delete' for removing dead connection from the connection cache.
1006 Move deletion of the process buffer after that.
1007 (elmo-imap4-list): Change `defsubst' to `defun'.
1008 (elmo-imap4-commit): Make error message verbose.
1009 (elmo-imap4-search): Ditto.
1010 (elmo-imap4-list): Ditto.
1011 (elmo-imap4-select-folder): Ditto.
1012 (elmo-imap4-copy-msgs): Ditto.
1013 (elmo-imap4-delete-msg-by-id): Ditto.
1014 (elmo-imap4-append-msg-by-id): Ditto.
1015 (elmo-imap4-append-msg): Ditto.
1017 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
1019 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
1020 when dired is used on XEmacs.
1022 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
1024 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
1025 instead of `append'.
1026 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
1027 `elmo-plugged-p' directly.
1028 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
1029 of `elmo-plugged-p' directly.
1031 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
1032 Eliminate unused variable. Use `memq' for checking a process status.
1033 Use `cons' instead of `append' for updating the connection cache.
1034 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
1035 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
1037 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
1039 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
1040 `elmo-imap4-read-point' exactly.
1042 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
1043 the local variable `folder' to `mailbox'.
1044 Rename the argument `fld' to `folder'.
1046 2000-07-20 Kenichi OKADA <okada@opaopa.org>
1048 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
1049 * elmo-imap4.el (elmo-imap4-commit): Ditto.
1051 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
1053 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
1054 (elmo-pop3-number-uidl-hash): New buffer-local variable.
1055 (elmo-pop3-uidl-number-hash): Ditto.
1056 (elmo-pop3-size-hash): Ditto.
1057 (elmo-pop3-uidl-done): Ditto.
1058 (elmo-pop3-list-done): Ditto.
1059 (elmo-pop3-connection-get-process): New defmacro.
1060 (elmo-pop3-connection-get-buffer): Ditto.
1061 (elmo-pop3-close-connection): Delete buffer and process.
1062 (elmo-pop3-flush-connection): Don't delete buffer and process.
1063 (elmo-pop3-get-connection): Added optional argument `if-exists'.
1064 Setup UIDL and size hash.
1065 (elmo-pop3-send-command-no-erase): Deleted
1066 (elmo-pop3-send-command): Added optional argument `no-erase'.
1067 (elmo-pop3-parse-uidl-response): New function.
1068 (elmo-pop3-parse-list-response): Set size hash.
1069 (elmo-pop3-list-location): New function.
1070 (elmo-pop3-list-by-uidl-subr): Ditto.
1071 (elmo-pop3-list-by-list): Ditto.
1072 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
1073 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
1074 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
1075 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
1076 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
1078 (elmo-pop3-uidl-to-number): New function.
1079 (elmo-pop3-number-to-uidl): Ditto.
1080 (elmo-pop3-number-to-size): Ditto.
1081 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
1082 Set number by use of uidl.
1083 (elmo-pop3-msgdb-create-message): Likewise.
1084 Set size, loc-alist in msgdb.
1085 (elmo-pop3-read-msg): Set number by use of uidl.
1086 Added optional argument `msgdb'.
1087 (elmo-pop3-delete-msg): Ditto.
1088 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
1089 (elmo-pop3-commit): Close connection.
1091 * elmo-pipe.el (elmo-pipe-max-of-folder):
1092 Bind `elmo-pop3-use-uidl' as nil.
1093 (elmo-pipe-drain): Ditto.
1096 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
1097 (elmo-msgdb-overview-entity-set-size): New defsubst.
1099 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
1101 * elmo-vars.el (elmo-use-killed-list): New variable
1102 (Renamed from `elmo-nntp-use-killed-list').
1103 (elmo-nntp-use-killed-list): Eliminated.
1105 * elmo-msgdb.el (elmo-msgdb-expand-path):
1106 Changed expanding msgdb path for elmo-multi.
1108 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
1109 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
1110 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
1111 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
1112 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
1113 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
1114 (toplevel): Deleted time-stamp line.
1116 * elmo2.el (elmo-clear-killed ): Defined as function
1117 (Abolished defining as a backend function).
1118 All other related modules are changed.
1120 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
1122 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
1124 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
1126 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
1128 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1130 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
1132 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
1134 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
1135 asynchronous folder check.
1137 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
1139 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
1140 `elmo-nntp-use-killed-list'.
1141 (elmo-nntp-list-folder): Use killed list.
1142 (elmo-nntp-max-of-folder): Ditto.
1143 (elmo-nntp-msgdb-create): Set killed list.
1145 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
1147 * elmo2.el (elmo-clear-killed): New backend function.
1148 All other related modules are changed.
1150 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
1152 * elmo-util.el (elmo-imap4-spec-folder): Use
1153 `elmo-imap4-spec-mailbox'; Mark as obsolete.
1154 All callers changed.
1156 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
1158 * mmelmo-2.el (initialize-instance):
1159 Use `mime-buffer-entity-buffer-internal' instead of
1160 `mime-entity-buffer'.
1162 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
1163 (mime-entity-body): Implemented.
1164 (mime-goto-header-start-point): Deleted.
1165 (mime-goto-body-end-point): Ditto.
1166 (mime-entity-point-min): Ditto.
1167 (mime-entity-point-max): Ditto.
1168 (mime-entity-children): Ditto.
1169 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
1170 instead of `mime-entity-buffer'.
1171 (mime-entity-header-buffer): Ditto.
1172 (mime-entity-body-buffer): Ditto.
1173 (mime-write-entity-content): Ditto.
1175 * pldap.el (ldap-static-if): New macro.
1176 (toplevel): Use it instead of `static-if'.
1178 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
1180 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
1181 included in `attrs' argument.
1183 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
1185 * elmo-util.el (elmo-get-passwd): Use old backquote style.
1187 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
1188 (ldap-ldif-safe-init-char-regexp): Ditto.
1189 (ldap-ldif-safe-string-regexp): Ditto.
1190 (ldap/ldif-safe-string-p): New macro.
1191 (ldap/ldif-insert-field): Ditto.
1192 (ldap-modify): Use it.
1194 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
1195 (ldap-decode-attribute): Decode only when `attr' is consp.
1196 (ldap-delete): Bind `ret'.
1197 (toplevel): Require 'cl at compile time.
1198 Removed (require 'poe) and (require 'std11).
1199 (pldap-version): Eliminated.
1200 (ldap-search-basic): Removed auth and dn binding.
1201 (ldap-ldif-field-name-regexp): New constant.
1202 (ldap-ldif-field-head-regexp): Ditto.
1203 (ldap-ldif-next-field-head-regexp): Ditto.
1204 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
1205 (ldap/field-end): New function.
1206 (ldap/field-body): Use it.
1207 (ldap/collect-field): Ditto.
1208 (ldap-search-basic): Use `ldap/field-body'.
1210 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
1212 * pldap.el (ldap-default-attribute-encoder): New user option.
1213 (ldap/field-body): Decode base64 string.
1214 (ldap/collect-field): Ditto.
1215 (ldap-encode-attribute): New function.
1216 (ldap-add-entries): Use it.
1217 (ldap-modify-entries): Ditto.
1218 (ldap-search-entries): Enclosed decoding function with
1219 `with-temp-buffer' and set as unibyte.
1220 (ldap-search-basic): Set process buffer as unibyte.
1222 * elmo-util.el (elmo-folder-identical-system-p):
1223 Eliminated name space checking.
1225 * pldap.el: New module.
1226 toplevel: Changed condition to detect built-in ldap feature.
1227 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
1228 (ldap-add): Added error handling.
1229 (ldap-modify): Ditto.
1230 (ldap-delete): Ditto.
1232 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
1234 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
1235 Initialize local variables with `let'. Inline a temporary
1236 variable for the progress percentage. Sort `setq' to reduce
1237 function call in the while-loop.
1239 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
1240 into the conditional branch.
1242 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
1244 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
1245 Move a conditional out of the while-loop.
1247 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1249 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
1250 elmo-msgdb-overview-get-entity-by-number.
1251 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
1254 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
1256 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
1257 the local variable for a packed number self descriptively.
1259 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1261 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
1262 * elmo-localdir.el (elmo-localdir-pack-number): Use
1263 `elmo-msgdb-overview-get-entity' instead of
1264 `elmo-msgdb-overview-get-entity-by-number'.
1265 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
1266 (elmo-msgdb-search-overview-entity): Removed.
1267 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
1268 by message-id or number.
1269 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
1270 instead of `elmo-msgdb-overview-get-entity-by-number'.
1272 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1274 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
1275 non-nil, use hash table for overview.
1276 (elmo-hash-maximum-size): New variable.
1277 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
1278 (elmo-msgdb-make-overview-hashtb): New function.
1279 (elmo-msgdb-clear-overview-hashtb): New function.
1280 (elmo-clear-hash-val): New macro.
1281 All other related modules are changed.
1283 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
1285 * elmo2.el (elmo-move-msgs): If there's other message with
1286 same message-id, don't use cache.
1288 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
1290 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
1291 number is already packed.
1293 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
1295 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
1297 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1299 * elmo-vars.el (elmo-display-progress-threshold): New variable.
1300 All other related modules are changed.
1302 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
1304 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
1305 of refiling failure on Maildir.
1307 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1309 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
1310 decoded mime-charset with cache.
1311 (elmo-msgdb-overview-entity-get-from): Ditto.
1312 (elmo-msgdb-overview-entity-get-subject): Ditto.
1313 * elmo-vars.el (elmo-use-decoded-cache): New variable.
1315 2000-05-10 Kenichi OKADA <okada@opaopa.org>
1317 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
1318 (elmo-remove-passwd): Fill password with 0 before erase.
1319 * elmo-vars.el (elmo-passwd-life-time): New variable.
1322 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
1324 * elmo-cache.el (elmo-buffer-cache-add):
1325 Set message cache buffer as unibyte.
1327 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1329 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
1332 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
1334 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
1335 when display is finished.
1336 (elmo-nntp-msgdb-create): Ditto.
1337 (elmo-nntp-groups-read-response): Ditto.
1338 (elmo-nntp-retrieve-headers): Ditto.
1339 (elmo-nntp-msgdb-create-message): Ditto.
1340 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1341 (elmo-pop3-msgdb-create-message): Ditto.
1343 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1345 * elmo-maildir.el (elmo-maildir-msgdb-create):
1346 Use `elmo-msgdb-sort-by-date'.
1348 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
1350 * elmo2.el (elmo-read-msg-no-cache):
1351 Eliminated arguments after `outbuf'.
1352 Don't use cache even if it exists.
1353 (elmo-read-msg): Don't pass arguments after `outbuf' to
1354 `elmo-read-msg-no-cache'.
1356 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1358 * elmo-archive.el (elmo-archive-list-folders):
1359 Use `file-name-directory' if base folder does not exist.
1361 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
1363 * elmo-archive.el (elmo-archive-list-folders): Don't use
1364 `file-name-directory'.
1366 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
1368 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
1369 If `force' is non-nil, try flushing all operation queues.
1371 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1373 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
1376 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1378 * elmo-util.el (elmo-display-progress): Fixed.
1380 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1382 * elmo-util.el (elmo-display-progress): New function.
1383 All other related modules are changed.