1 2000-10-31 Yuuichi Teranishi <teranisi@gohome.org>
3 * elmo-version.el (product-version-as-string): Defined using
7 * elmo-localdir.el (toplevel): Updated copyright notice.
8 * elmo-version.el (toplevel): Ditto.
9 * elmo-msgdb.el (toplevel): Ditto.
10 * elmo-imap4.el (toplevel): Ditto.
11 * elmo-nntp.el (toplevel): Ditto.
12 * elmo-pop3.el (toplevel): Ditto.
14 2000-10-30 Yuuichi Teranishi <teranisi@gohome.org>
16 * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
19 * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
20 parameter value (It sometimes contains raw kanji).
22 2000-10-28 Kenichi OKADA <okada@opaopa.org>
24 * elmo-imap4.el (elmo-network-initialize-session): Check capability.
25 * elmo-pop3.el (elmo-network-initialize-session): Ditto.
27 2000-10-28 Kenichi OKADA <okada@opaopa.org>
29 * elmo-imap4.el (elmo-network-initialize-session): Fix.
31 2000-10-28 Kenichi OKADA <okada@opaopa.org>
33 * elmo-imap4.el (elmo-network-initialize-session): Change error message.
34 * elmo-pop3.el (elmo-network-initialize-session): Change error message.
36 2000-10-27 Yuuichi Teranishi <teranisi@gohome.org>
38 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
39 value if selecting folder succceeded.
40 (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
42 2000-10-26 TAKAHASHI Kaoru <kaoru@kaisei.org>
44 * elmo-util.el (elmo-make-directory): Fixed permission lateral
47 * elmo-util.el (elmo-string-matched-member): New function.
49 2000-10-26 Yuuichi Teranishi <teranisi@gohome.org>
51 * elmo-util.el (elmo-unintern): New macro.
52 (elmo-number-set-member): Fixed docstring.
54 * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
57 2000-10-25 OKAZAKI Tetsurou <okazaki@be.to>
59 * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
60 of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
62 2000-10-24 Yuuichi Teranishi <teranisi@gohome.org>
64 * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
67 Return non-nil if selecting folder succeeded.
68 (elmo-imap4-folder-exists-p): Call with argument 'no-error.
70 2000-10-23 Yuuichi Teranishi <teranisi@gohome.org>
72 * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
73 `file-name-completion' returns t.
74 (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
75 (elmo-maildir-set-mark): Put `info' part to the files in the cur
76 directory if it does not exist.
77 (elmo-maildir-update-current): Use `while' instead of `mapcar'
80 2000-10-20 Yuuichi Teranishi <teranisi@gohome.org>
82 * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
83 enclosure (It's harmful in unplugged status).
85 * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
87 * mmelmo-1.el: Removed.
91 * mmelmo-imap4-1.el: Ditto.
93 * mmelmo-imap4-2.el: Ditto.
95 * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
97 * mmelmo.el: Merged mmelmo-2.el.
99 * elmo-version.el (elmo-version): Up to 2.3.92.
101 2000-10-19 TAKAHASHI Kaoru <kaoru@kaisei.org>
103 * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
104 elmo-update-number): Remove last period in "...done." message.
105 * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
107 * elmo-cache.el (elmo-cache-expire-by-size,
108 elmo-cache-get-sorted-cache-file-list,
109 elmo-cache-msgdb-create-as-numlist): Ditto.
110 * elmo-dop.el (elmo-dop-save-pending-messages,
111 (elmo-dop-flush-pending-append-operations): Ditto.
112 * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
113 * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
114 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
115 (elmo-localdir-pack-number): Ditto.
116 * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
117 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
118 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
119 mime-write-entity-content): Ditto.
120 * pldap.el (ldap-search-basic): Ditto.
122 2000-10-18 Yuuichi Teranishi <teranisi@gohome.org>
124 * elmo-version.el (elmo-version): Up to 2.3.91.
126 * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
127 Only when filter is 'last'.
129 * elmo-util.el (elmo-condition-atom-regexp): New constant.
130 (elmo-condition-parse-search-value): Use it.
131 (elmo-read-search-condition-internal): Quote value only when
134 2000-10-18 Kenichi OKADA <okada@opaopa.org>
136 * elmo2.el (elmo-generic-folder-diff): Fix.
138 2000-10-17 Kenichi OKADA <okada@opaopa.org>
140 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
141 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
142 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
143 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
144 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
145 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
147 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
149 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
152 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
154 * elmo-version.el (elmo-version): Up to 2.3.90.
156 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
157 (elmo-imap4-list-folder-important): Ditto.
159 2000-10-16 Kenichi OKADA <okada@opaopa.org>
161 * elmo-nntp.el (elmo-network-initialize-session): Fix.
163 2000-10-16 Kenichi OKADA <okada@opaopa.org>
165 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
167 2000-10-15 Kenichi OKADA <okada@opaopa.org>
169 * elmo-nntp.el (elmo-network-initialize-session):
170 Add starttls negotiation.
172 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
174 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
176 (elmo-network-setup-session): Define.
177 Call `elmo-nntp-send-mode-reader' when session opened.
179 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
181 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
183 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
185 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
186 an invalid SPACE character ahead of `SEARCH' command. Move
187 a valid SPACE character following `SEARCH' from conditional
188 `format' arguments to control-strings.
190 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
192 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
195 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
197 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
199 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
200 `w32-get-true-file-link-count' as t.
202 * elmo-imap4.el (elmo-imap4-read): Abolished.
203 (Renamed to `elmo-read' and moved to elmo-util.el)
204 All other related portions are changed.
206 * elmo-util.el (elmo-read): New function.
207 (elmo-condition-parse-search-value): Use it.
209 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
211 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
213 * elmo-nntp.el (elmo-nntp-session): Define.
214 (elmo-nntp-setting): Abolished.
215 All other related portions are changed.
216 (elmo-nntp-get-server-command): Changed argument.
217 (elmo-nntp-set-server-command): Ditto.
218 (elmo-nntp-xover-p): Ditto.
219 (elmo-nntp-set-xover): Ditto.
220 (elmo-nntp-listgroup-p): Ditto.
221 (elmo-nntp-set-listgroup): Ditto.
222 (elmo-nntp-list-active-p): Ditto.
223 (elmo-nntp-set-list-active): Ditto.
224 (elmo-nntp-xhdr-p): Ditto.
225 (elmo-nntp-set-xhdr): Ditto.
226 (elmo-nntp-flush-connection): Abolished.
227 (elmo-nntp-get-connection): Abolished.
228 (elmo-nntp-get-session): New function.
229 (elmo-network-initialize-session): Defined.
230 (elmo-network-authenticate-session): Ditto.
231 (elmo-nntp-send-mode-reader): Changed argument.
232 (elmo-nntp-send-command): Changed argument.
233 All other related portions are changed.
234 (elmo-nntp-read-response): Ditto.
235 (elmo-nntp-read-raw-response): Ditto.
236 (elmo-nntp-read-contents): Ditto.
237 (elmo-nntp-read-body): Ditto.
238 (elmo-nntp-goto-folder): Abolished.
239 (elmo-nntp-select-group): New function.
240 All other related portions are changed.
241 (This function substitutes `elmo-nntp-goto-folder')
242 (elmo-nntp-msgdb-create-by-header): Rewrite.
243 (elmo-nntp-get-overview): Eliminated.
244 (elmo-nntp-get-message): Ditto.
245 (elmo-nntp-open-connection) Abolished.
246 (elmo-nntp-read-msg): Rewrite.
247 (elmo-nntp-post): Ditto.
248 (elmo-nntp-send-data): Abolished.
249 (elmo-nntp-send-buffer): New function.
250 (elmo-nntp-send-data-line): Define as inline function.
251 (elmo-nntp-get-folders-info-prepare): Use session as key.
252 (elmo-nntp-groups-read-response): Changed argument.
253 (elmo-nntp-retrieve-headers): Ditto.
254 (elmo-nntp-msgdb-create-message): Ditto.
256 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
257 when searching by 'since' or 'before'.
259 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
261 * elmo-version.el (toplevel): Use product-version-as-string for set
262 verstion-string, if defined.
264 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
266 * elmo-util.el: Doc fixes.
268 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
270 * elmo-archive.el (toplevel): Use product-provide.
271 * elmo-cache.el (toplevel): Ditto.
272 * elmo-database.el (toplevel): Ditto.
273 * elmo-date.el (toplevel): Ditto.
274 * elmo-dop.el (toplevel): Ditto.
275 * elmo-filter.el (toplevel): Ditto.
276 * elmo-imap4.el (toplevel): Ditto.
277 * elmo-internal.el (toplevel): Ditto.
278 * elmo-localdir.el (toplevel): Ditto.
279 * elmo-localnews.el (toplevel): Ditto.
280 * elmo-maildir.el (toplevel): Ditto.
281 * elmo-msgdb.el (toplevel): Ditto.
282 * elmo-multi.el (toplevel): Ditto.
283 * elmo-net.el (toplevel): Ditto.
284 * elmo-nntp.el (toplevel): Ditto.
285 * elmo-pipe.el (toplevel): Ditto.
286 * elmo-pop3.el (toplevel): Ditto.
287 * elmo-util.el (toplevel): Ditto.
288 * elmo-vars.el (toplevel): Ditto.
289 * elmo2.el (toplevel): Ditto.
290 * mmelmo-1.el (toplevel): Ditto.
291 * mmelmo-2.el (toplevel): Ditto.
292 * mmelmo-imap4-1.el (toplevel): Ditto.
293 * mmelmo-imap4-2.el (toplevel): Ditto.
294 * mmelmo-imap4.el (toplevel): Ditto.
295 * mmelmo.el (toplevel): Ditto.
297 2000-10-10 Kenichi OKADA <okada@opaopa.org>
299 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
300 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
302 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
304 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
306 (elmo-multi-split-number-alist): Ditto.
308 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
310 * elmo-version.el: New file. Use product.el.
311 * elmo2.el: Add (require 'elmo-version).
312 * elmo-vars.el (elmo-appname, elmo-version): Move to
315 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
317 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
318 `elmo-msgdb-expand-path'.
319 (elmo-msgdb-load): Ditto.
320 Abolished 2nd argument. If 1st argument is not string, treat as spec.
321 (elmo-generic-list-folder-unread): Rewrite.
322 (elmo-generic-list-folder-important): Changed argument.
323 (elmo-list-folder-unread): Ditto.
324 (elmo-list-folder-important): Ditto.
325 (elmo-folder-diff): Rewrite.
326 (elmo-generic-folder-diff): New function.
327 (elmo-multi-get-number-alist-list): Abolished
328 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
329 (elmo-multi-folder-diff): Moved to elmo-multi.el
330 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
332 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
333 `elmo-msgdb-expand-path'.
334 (elmo-pop3-msgdb-create-as-numlist): Ditto.
335 (elmo-pop3-read-msg): Ditto.
336 (elmo-pop3-delete-msgs): Ditto.
337 (elmo-pop3-folder-diff): New alias.
339 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
340 `elmo-msgdb-expand-path'.
341 (elmo-pipe-list-folder-unread): Changed arguments.
342 (elmo-pipe-list-folder-important): Ditto.
343 (elmo-pipe-folder-diff): New alias.
345 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
346 `elmo-msgdb-expand-path'.
347 (elmo-nntp-max-of-folder): Ditto.
348 (elmo-nntp-msgdb-create): Ditto.
349 (elmo-nntp-delete-msgs): Ditto.
350 (elmo-nntp-folder-diff): New alias.
352 * elmo-multi.el (elmo-multi-folder-diff): New function.
353 (elmo-multi-split-mark-alist): Ditto.
354 (elmo-multi-split-number-alist): Ditto.
355 (elmo-multi-mark-alist-list): Abolished (Renamed to
356 elmo-multi-split-mark-alist).
357 (elmo-multi-list-folder-unread): Rewrite.
358 (elmo-multi-list-folder-important): Ditto.
359 (elmo-multi-list-folder): Set `spec' as 1st argument for
360 `elmo-msgdb-expand-path'.
361 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
362 instead of `elmo-multi-get-number-alist-list'.
364 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
365 If 1st argument is not string, treat as spec.
366 (elmo-list-folder-by-location): Set `spec' as 1st argument for
367 `elmo-msgdb-expand-path'.
368 (elmo-msgdb-flist-load): Ditto.
369 (elmo-msgdb-flist-save): Ditto.
370 (elmo-msgdb-delete-path): Ditto.
371 (elmo-msgdb-rename-path): Ditto.
373 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
374 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
375 (elmo-maildir-delete-mark-msgs): Ditto.
376 (elmo-maildir-msgdb-create): Ditto.
377 (elmo-maildir-read-msg): Ditto.
378 (elmo-maildir-delete-msgs): Ditto.
379 (elmo-maildir-list-folder-subr): Ditto.
380 (elmo-maildir-search): Ditto.
381 (elmo-maildir-get-msg-filename): Ditto.
382 (elmo-maildir-pack-number): Ditto.
383 (elmo-maildir-folder-diff): New alias.
385 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
387 * elmo-localdir.el (elmo-localdir-list-folder-subr):
388 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
389 (elmo-localdir-folder-diff): New alias.
391 * elmo-internal.el (elmo-internal-list-folder-subr):
392 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
393 (elmo-internal-list-folder-by-location): Ditto.
394 (elmo-internal-msgdb-create): Ditto.
395 (elmo-internal-delete-msgs): Ditto.
396 (elmo-internal-read-msg): Ditto.
397 (elmo-internal-folder-diff): New alias.
399 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
400 (elmo-imap4-list-folder): Set `spec' as 1st argument for
401 `elmo-msgdb-expand-path'.
402 (elmo-imap4-list-folder-unread): Changed arguments.
403 (elmo-imap4-list-folder-important): Ditto.
405 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
406 (elmo-filter-list-folder-important): Ditto.
407 (elmo-filter-folder-diff): New function.
409 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
411 * elmo-cache.el (elmo-cache-list-folder):
412 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
413 (elmo-cache-copy-msgs): Ditto.
414 (elmo-cache-folder-diff): New alias.
416 * elmo-archive.el (elmo-archive-list-folder-subr):
417 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
418 (elmo-archive-get-archive-name): Ditto.
419 (elmo-archive-create-file): Ditto.
420 (elmo-archive-append-msg): Ditto.
421 (elmo-archive-copy-msgs): Ditto.
422 (elmo-archive-copy-msgs-froms): Ditto.
423 (elmo-archive-get-msg-filename): Ditto.
424 (elmo-archive-folder-diff): New alias.
426 2000-10-06 Daiki Ueno <ueno@unixuser.org>
428 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
429 (elmo-pop3-stream-type-alist): New variable.
430 (elmo-nntp-stream-type-alist): New variable.
432 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
433 (elmo-kill-buffer): Ditto.
434 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
435 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
436 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
437 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
438 (elmo-imap4-get-spec): Take into account
439 `elmo-imap4-stream-type-alist'.
441 2000-10-06 Kenichi OKADA <okada@opaopa.org>
443 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
444 (elmo-nntp-list-folders-get-cache): Ditto.
446 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
448 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
449 character before 'uid'.
451 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
453 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
455 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
457 * elmo-util.el (elmo-number-set-member): New function.
458 (elmo-number-set-append-list): Ditto.
459 (elmo-number-set-append): Ditto.
461 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
462 Use `elmo-number-set-member'.
463 (elmo-living-messages): Ditto.
464 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
465 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
467 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
468 (elmo-imap4-add-to-cont-list): Abolished.
469 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
470 instead of elmo-imap4-add-to-cont-list.
472 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
473 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
475 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
477 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
479 * elmo-util.el (elmo-condition-parse-search-value):
482 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
484 * elmo-util.el (elmo-condition-find-key-internal): New function.
485 (elmo-condition-find-key): Ditto.
487 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
488 (elmo-msgdb-search-internal): Ditto.
489 (elmo-msgdb-search): Ditto.
491 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
493 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
494 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
496 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
497 (elmo-nntp-search-primitive): Fixed problem when condition is
500 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
502 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
503 (elmo-nntp-xhdr-p): New macro.
504 (elmo-nntp-set-xhdr): Ditto.
505 (elmo-nntp-parse-xhdr-response): New function.
506 (elmo-nntp-retrieve-field): Ditto.
507 (elmo-nntp-search-primitive): Ditto.
508 (elmo-nntp-search): Implemented.
510 * elmo-date.el (elmo-date-make-sortable-string): New macro.
512 * elmo-archive.el (elmo-archive-search): Set all number list to
513 `elmo-archive-field-condition-match'
515 * elmo-localdir.el (elmo-localdir-search): Likewise.
517 * elmo-maildir.el (elmo-maildir-search): Likewise.
519 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
521 * elmo-msgdb.el (elmo-living-messages): New function.
522 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
523 * elmo-cache.el (elmo-cache-list-folder): Ditto.
524 * elmo-dop.el (elmo-dop-list-folder): Ditto.
525 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
526 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
527 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
528 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
529 * elmo-multi.el (elmo-multi-list-folder): Ditto.
530 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
531 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
532 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
534 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
536 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
538 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
540 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
542 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
543 arguments for `SEARCH' command.
544 (elmo-imap4-parse-string): Set `POS' argument for char-after.
545 All other related portions are changed.
547 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
549 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
550 (elmo-list-folder-unread): Rewrite.
551 (elmo-list-folder-important): Ditto.
553 * elmo-util.el (elmo-filter-get-spec): Rewrite.
554 (elmo-condition-parse-error): New inline function.
555 (elmo-read-search-condition): New function.
556 (elmo-read-search-condition-internal): Ditto.
557 (elmo-parse-search-condition): Rewrite.
558 (elmo-condition-parse): New function.
559 (elmo-condition-parse-or-expr): Ditto.
560 (elmo-condition-parse-and-expr): Ditto.
561 (elmo-condition-parse-primitive): Ditto.
562 (elmo-condition-parse-search-value): Ditto.
563 (elmo-buffer-field-primitive-condition-match): Ditto.
564 (elmo-buffer-field-condition-match): Rewrite.
565 (elmo-file-field-condition-match): Ditto.
567 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
568 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
570 * elmo-internal.el (elmo-internal-search): Set `number' and
571 `number-list' argument of `elmo-file-field-condition-match'.
573 * elmo-maildir.el (elmo-maildir-search): Ditto.
575 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
576 `msgdb' as argument instead of `mark-alist'.
577 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
580 * elmo-multi.el: Likewise.
582 * elmo-pipe.el: Likewise.
584 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
585 (elmo-imap4-search-internal): Rewrite.
586 (elmo-imap4-search): Ditto.
588 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
589 (elmo-filter-list-folder-unread): Ditto.
590 (elmo-filter-list-folder-important): Ditto.
591 (elmo-filter-search): Rewrite.
593 * elmo-cache.el (elmo-cache-search-all): Set `number' and
594 `number-list' argument of `elmo-file-field-condition-match'.
595 (elmo-cache-search): Ditto.
597 * elmo-localdir.el: Likewise.
599 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
600 number-list and pass it to `elmo-buffer-field-condition-match'.
601 (elmo-archive-field-condition-match): Pass `number-list' to
602 `elmo-archive-field-condition-match'
604 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
606 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
609 * elmo2.el (elmo-folder-diff-async-callback): New variable.
610 (elmo-folder-diff-async-callback-data): Ditto.
611 (elmo-folder-diff-async): New function.
613 * elmo-net.el (elmo-network-session-name-prefix): New variable.
614 (elmo-network-session-cache-key): Use it as a prefix of the session
616 (elmo-network-open-session): Ditto.
618 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
619 (elmo-imap4-status-callback-data): Ditto.
620 (elmo-imap4-server-diff-async-callback): New variable.
621 (elmo-imap4-server-diff-async-callback-data): Ditto.
622 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
623 `elmo-imap4-status-callback-data'.
624 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
625 `elmo-imap4-status-callback-data' as nil.
626 (elmo-imap4-server-diff): Ditto.
627 (elmo-imap4-server-diff-async-callback-1): New function.
628 (elmo-imap4-server-diff-async): Ditto.
629 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
631 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
633 * elmo-util.el (elmo-list-delete): Doc fix.
634 (elmo-delete-lists): Abolish.
635 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
636 instead of `elmo-delete-lists'.
638 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
640 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
643 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
645 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
646 `elmo-imap4-literal-subr'.
647 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
648 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
650 2000-09-15 Kenichi OKADA <okada@opaopa.org>
652 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
653 (elmo-archive-list-folder): Fix.
654 (elmo-archive-max-of-folder): Fix.
656 2000-09-15 Kenichi OKADA <okada@opaopa.org>
658 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
659 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
660 (elmo-localdir-append-msg): Ditto.
661 (elmo-localdir-list-folder): Fix for `nonsort'.
662 (elmo-localdir-list-folder-subr): Fix for `killed'.
663 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
664 (elmo-maildir-list-folder-subr): Ditto.
665 * elmo-archive.el (elmo-archive-list-folder): Ditto.
666 (elmo-archive-list-folder-subr): Ditto.
667 * elmo-internal.el (elmo-internal-list-folder): Ditto.
668 (elmo-internal-list-folder-subr): Ditto.
670 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
672 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
674 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
676 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
678 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
680 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
681 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
683 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
685 (elmo-imap4-read-part): Use "body.peek" to fetch part.
686 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
688 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
690 * mmelmo-imap4-2.el (mime-entity-children): Defined.
692 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
693 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
694 before STORE command.
696 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
698 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
700 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
701 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
703 (elmo-imap4-list-folders): Removed unused local variable.
704 (elmo-network-initialize-session): Ditto.
705 (elmo-imap4-delete-msg-by-id): Ditto.
706 (elmo-imap4-parse-fetch): Ditto.
707 (elmo-imap4-copy-msgs): Ditto.
708 Use `dst-spec' instead of `dst-folder'.
709 (elmo-network-authenticate-session): Check authenticate type `plain'.
711 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
713 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
715 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
716 `elmo-imap4-response-value'.
717 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
719 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
721 * elmo-imap4.el (elmo-imap4-send-command):
722 Cause elmo-imap4-bye-error when current response is BYE.
723 (elmo-imap4-arrival-filter): Changed greeting response value.
725 * elmo2.el (elmo-imap4-bye-error): Define.
727 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
728 (elmo-imap4-server-diff): Ditto.
729 (elmo-imap4-response-bye-p): New macro.
730 (elmo-imap4-response-error-text): Get text from BYE response.
731 (elmo-imap4-read-response): Return if BYE response.
732 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
733 (elmo-imap4-folder-exists-p): Ditto.
734 (elmo-imap4-commit): Do nothing when different mailbox is selected.
735 (elmo-imap4-parse-bye): New function.
736 (elmo-imap4-parse-response): Remove needless let.
737 Call `elmo-imap4-parse-bye'.
739 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
741 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
742 the mailbox does not exist.
743 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
745 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
747 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
749 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
751 * elmo-vars.el (elmo-search-mime-charset): Abolished.
753 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
754 (elmo-network-initialize-session-buffer): Defined.
756 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
758 (mmelmo-imap4-get-mime-entity): Rewrite.
760 * elmo2.el (elmo-error): Capitalize error message.
762 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
763 (elmo-network-session-buffer): New macro.
764 (elmo-network-open-session): Use it.
766 * elmo-imap4.el: Rewrite.
768 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
770 * elmo-nntp.el (Toplevel): Require 'elmo-net.
772 2000-08-27 Daiki Ueno <ueno@unixuser.org>
774 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
775 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
776 (elmo-imap4-create-msgdb-from-overview-string): Use
777 `elmo-msgdb-create-overview-from-buffer'.
779 2000-08-26 Daiki Ueno <ueno@unixuser.org>
781 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
782 (elmo-imap4-default-hierarchy-delimiter): New variable.
783 (elmo-imap4-list-folders): Use it.
785 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
787 * elmo-net.el (elmo-network-open-session): Add user and
788 stream-type for process-buffer name.
790 * elmo-pop3.el (elmo-network-initialize-session): Call
793 * elmo-imap4.el (elmo-network-initialize-session):
794 Set current-buffer as an argument for `buffer-disable-undo'.
796 * elmo-pop3.el (elmo-network-close-session): Don't use
799 * elmo-vars.el (elmo-default-pop3-authenticate-type):
800 Set default as 'user.
802 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
804 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
805 and `elmo-imap4-flush-connection'.
807 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
808 (elmo-pop3-get-spec): Assume auth as symbol.
809 (elmo-open-network-stream): Moved to `elmo-net'.
811 * elmo-pop3.el (toplevel): Require 'elmo-net.
812 Define `sasl-cram-md5' to silence byte compilier.
813 (elmo-pop3-connection-cache) Abolished.
814 (elmo-pop3-authenticator-alist) New variable.
815 (elmo-pop3-session): Define.
816 (elmo-pop3-connection-get-process): Abolished.
817 (elmo-pop3-connection-get-buffer): Ditto.
818 (elmo-pop3-close-connection): Ditto.
819 (elmo-pop3-flush-connection): Ditto.
820 (elmo-pop3-get-connection): Ditto.
821 (elmo-pop3-get-session): New function.
822 (Replacement for `elmo-pop3-get-connection').
823 All other related modules are changed.
824 (elmo-network-close-session): Define.
825 (elmo-pop3-send-command): Abolished argument `buffer'.
826 All other related modules are changed.
827 (elmo-pop3-read-response): Likewise.
828 (elmo-pop3-open-connection): Abolished.
829 (elmo-pop3-auth-user): New function.
830 (elmo-pop3-auth-apop): Ditto.
831 (elmo-pop3-auth-cram-md5): Ditto.
832 (elmo-pop3-auth-scram-md5): Ditto.
833 (elmo-pop3-auth-digest-md5): Ditto.
834 (elmo-network-initialize-session): Define.
835 (elmo-network-authenticate-session): Ditto.
836 (elmo-network-setup-session): Ditto.
838 * elmo-imap4.el (toplevel): Require 'elmo-net.
839 (elmo-imap4-session): Define.
840 (elmo-imap4-connection-cache): Abolished.
841 (elmo-imap4-password-key): Ditto.
842 (elmo-imap4-flush-connection): Ditto.
843 (elmo-imap4-get-connection): Ditto.
844 All other related modules are changed.
845 (elmo-imap4-get-session): New function
846 (Replacement for `elmo-imap4-get-connection').
847 (elmo-imap4-read-response): Abolished argument `buffer'.
848 All other related modules are changed.
849 (elmo-imap4-send-command): Likewise.
850 (elmo-imap4-select-folder): Abolished.
851 All other related modules are changed.
852 (elmo-imap4-select-mailbox): New function.
853 (Replacement for `elmo-imap4-select-folder').
854 (elmo-imap4-auth-login): Simplify.
855 (Assume current buffer as process buffer)
856 (elmo-imap4-auth-cram-md5): Ditto.
857 (elmo-imap4-auth-digest-md5): Ditto.
858 (elmo-imap4-login): Ditto.
859 (elmo-imap4-open-connection): Abolished.
860 (elmo-imap4-open-connection-1): Abolished.
861 (elmo-network-initialize-sessoin): Define.
862 (elmo-network-authenticate-session): Ditto.
863 (elmo-network-setup-session): Ditto.
865 * elmo-net.el: New module.
867 2000-08-22 Daiki Ueno <ueno@unixuser.org>
869 * elmo-util.el (elmo-define-error): New function.
871 * elmo2.el (elmo-error): Define.
872 (elmo-open-error): Define.
873 (elmo-authenticate-error): Define.
875 * elmo-imap4.el (elmo-imap4-error): Abolish.
876 (elmo-imap4-error-type): Abolish.
877 (elmo-imap4-error-process): Abolish.
878 (elmo-imap4-error-message): Abolish
879 (elmo-imap4-list-folders): Don't quote lambda.
880 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
881 (elmo-imap4-parse-namespace): Ditto.
882 (elmo-imap4-open-connection): Rewrite.
883 (elmo-imap4-open-connection-1): Simplified (authenticate only).
884 (elmo-imap4-get-connection): Abolish local variable `result'.
886 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
888 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
889 wrong-type-argument error when auth is nil.
891 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
893 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
894 (elmo-default-nntp-stream-type): Ditto.
895 (elmo-default-pop3-stream-type): Ditto.
896 (elmo-network-stream-type-alist): Ditto.
897 (elmo-default-imap4-ssl): Abolished.
898 (elmo-default-nntp-ssl): Ditto.
899 (elmo-default-pop3-ssl): Ditto.
901 * elmo-util.el: (toplevel): Removed needless requires.
902 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
903 (elmo-open-network-stream): Open network stream according to
904 the value of `elmo-network-stream-type-alist'.
905 (elmo-get-network-stream-type): New function.
906 (elmo-network-stream-type-spec-string): New macro.
907 (elmo-network-stream-type-symbol): Ditto.
908 (elmo-network-stream-type-function): Ditto.
910 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
911 network-stream-type. All other related portions are changed.
912 (elmo-pop3-open-connection): Ditto.
914 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
915 network-stream-type. All other related portions are changed.
917 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
918 network-stream-type.All other related portions are changed.
919 (elmo-imap4-error): New macro.
920 (elmo-imap4-error-type): Ditto.
921 (elmo-imap4-error-process): Ditto.
922 (elmo-imap4-error-message): Ditto.
923 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
924 (elmo-imap4-auth-cram-md5): Ditto.
925 (elmo-imap4-auth-digest-md5): Ditto.
926 (elmo-imap4-login): Ditto.
927 (elmo-imap4-open-connection): Remove password entry if authentication
929 (elmo-imap4-user-at-host): Abolished.
930 (elmo-imap4-password-key): New buffer local variable.
931 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
932 using protocol, port, auth and stream-type.
934 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
936 2000-08-13 Daiki Ueno <ueno@unixuser.org>
938 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
940 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
942 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
943 (elmo-imap4-authenticator-alist): New variable.
944 (elmo-imap4-open-connection-1): Rename from
945 elmo-imap4-open-connection.
946 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
947 only wraps elmo-imap4-open-connection-1.
948 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
950 (elmo-imap4-auth-login): New function.
951 (elmo-imap4-auth-cram-md5): New function.
952 (elmo-imap4-auth-digest-md5): New function.
953 (elmo-imap4-login): New function.
955 2000-08-12 Kenichi OKADA <okada@opaopa.org>
957 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
960 2000-08-12 Kenichi OKADA <okada@opaopa.org>
962 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
964 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
966 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
968 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
970 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
971 for server responses, quote `*' regardless of where it appears.
973 2000-08-03 Kenichi OKADA <okada@opaopa.org>
975 * elmo-maildir.el (elmo-maildir-commit): New alias.
977 2000-08-03 Kenichi OKADA <okada@opaopa.org>
979 * elmo-util.el (elmo-display-progress):
980 Use `progress-feedback-with-label'.
982 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
984 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
985 (elmo-imap4-non-atom-char-regex): Ditto.
986 (elmo-imap4-non-text-char-regex): Ditto.
987 (elmo-imap4-literal-threshold): Ditto.
988 (elmo-imap4-atom-p): New function.
989 (elmo-imap4-quotable-p): Ditto.
990 (elmo-imap4-nil): Ditto.
991 (elmo-imap4-atom): Ditto.
992 (elmo-imap4-quoted): Ditto.
993 (elmo-imap4-literal-subr): Ditto.
994 (elmo-imap4-literal): Ditto.
995 (elmo-imap4-buffer-literal): Ditto.
996 (elmo-imap4-string-subr): Ditto.
997 (elmo-imap4-string): Ditto.
998 (elmo-imap4-buffer-string): Ditto.
999 (elmo-imap4-astring-subr): Ditto.
1000 (elmo-imap4-astring): Ditto.
1001 (elmo-imap4-buffer-astring): Ditto.
1002 (elmo-imap4-nstring): Ditto.
1003 (elmo-imap4-buffer-nstring): Ditto.
1004 (elmo-imap4-mailbox): New alias.
1005 (elmo-imap4-field-body): Ditto.
1006 (elmo-imap4-userid): Ditto.
1007 (elmo-imap4-password): Ditto.
1008 (elmo-imap4-format-quoted): New function.
1009 (elmo-imap4-send-command): Rewritten. Accept a list of command
1010 arguments and handle "atom", "quoted" and "literal" string here.
1011 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
1012 `elmo-imap4-send-command'.
1013 (elmo-imap4-folder-exists-p): Likewise.
1014 (elmo-imap4-create-folder): Likewise.
1015 (elmo-imap4-delete-folder): Likewise.
1016 (elmo-imap4-rename-folder): Likewise.
1017 (elmo-imap4-max-of-folder): Likewise.
1018 (elmo-imap4-check-validity): Likewise.
1019 (elmo-imap4-sync-validity): Likewise.
1020 (elmo-imap4-server-diff): Likewise.
1021 (elmo-imap4-select-folder): Likewise.
1022 (elmo-imap4-copy-msgs): Likewise.
1023 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
1024 (elmo-imap4-mark-set-on-msgs): Likewise.
1025 (elmo-imap4-read-part): Likewise.
1026 (elmo-imap4-read-msg): Likewise.
1027 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
1028 `elmo-imap4-password' for `elmo-imap4-send-command'.
1029 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
1030 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
1031 `elmo-imap4-buffer-literal'.
1032 (elmo-imap4-append-msg): Likewise.
1034 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
1035 `delete' for removing dead connection from the connection cache.
1036 Move deletion of the process buffer after that.
1037 (elmo-imap4-list): Change `defsubst' to `defun'.
1038 (elmo-imap4-commit): Make error message verbose.
1039 (elmo-imap4-search): Ditto.
1040 (elmo-imap4-list): Ditto.
1041 (elmo-imap4-select-folder): Ditto.
1042 (elmo-imap4-copy-msgs): Ditto.
1043 (elmo-imap4-delete-msg-by-id): Ditto.
1044 (elmo-imap4-append-msg-by-id): Ditto.
1045 (elmo-imap4-append-msg): Ditto.
1047 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
1049 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
1050 when dired is used on XEmacs.
1052 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
1054 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
1055 instead of `append'.
1056 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
1057 `elmo-plugged-p' directly.
1058 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
1059 of `elmo-plugged-p' directly.
1061 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
1062 Eliminate unused variable. Use `memq' for checking a process status.
1063 Use `cons' instead of `append' for updating the connection cache.
1064 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
1065 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
1067 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
1069 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
1070 `elmo-imap4-read-point' exactly.
1072 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
1073 the local variable `folder' to `mailbox'.
1074 Rename the argument `fld' to `folder'.
1076 2000-07-20 Kenichi OKADA <okada@opaopa.org>
1078 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
1079 * elmo-imap4.el (elmo-imap4-commit): Ditto.
1081 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
1083 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
1084 (elmo-pop3-number-uidl-hash): New buffer-local variable.
1085 (elmo-pop3-uidl-number-hash): Ditto.
1086 (elmo-pop3-size-hash): Ditto.
1087 (elmo-pop3-uidl-done): Ditto.
1088 (elmo-pop3-list-done): Ditto.
1089 (elmo-pop3-connection-get-process): New defmacro.
1090 (elmo-pop3-connection-get-buffer): Ditto.
1091 (elmo-pop3-close-connection): Delete buffer and process.
1092 (elmo-pop3-flush-connection): Don't delete buffer and process.
1093 (elmo-pop3-get-connection): Added optional argument `if-exists'.
1094 Setup UIDL and size hash.
1095 (elmo-pop3-send-command-no-erase): Deleted
1096 (elmo-pop3-send-command): Added optional argument `no-erase'.
1097 (elmo-pop3-parse-uidl-response): New function.
1098 (elmo-pop3-parse-list-response): Set size hash.
1099 (elmo-pop3-list-location): New function.
1100 (elmo-pop3-list-by-uidl-subr): Ditto.
1101 (elmo-pop3-list-by-list): Ditto.
1102 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
1103 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
1104 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
1105 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
1106 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
1108 (elmo-pop3-uidl-to-number): New function.
1109 (elmo-pop3-number-to-uidl): Ditto.
1110 (elmo-pop3-number-to-size): Ditto.
1111 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
1112 Set number by use of uidl.
1113 (elmo-pop3-msgdb-create-message): Likewise.
1114 Set size, loc-alist in msgdb.
1115 (elmo-pop3-read-msg): Set number by use of uidl.
1116 Added optional argument `msgdb'.
1117 (elmo-pop3-delete-msg): Ditto.
1118 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
1119 (elmo-pop3-commit): Close connection.
1121 * elmo-pipe.el (elmo-pipe-max-of-folder):
1122 Bind `elmo-pop3-use-uidl' as nil.
1123 (elmo-pipe-drain): Ditto.
1126 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
1127 (elmo-msgdb-overview-entity-set-size): New defsubst.
1129 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
1131 * elmo-vars.el (elmo-use-killed-list): New variable
1132 (Renamed from `elmo-nntp-use-killed-list').
1133 (elmo-nntp-use-killed-list): Eliminated.
1135 * elmo-msgdb.el (elmo-msgdb-expand-path):
1136 Changed expanding msgdb path for elmo-multi.
1138 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
1139 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
1140 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
1141 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
1142 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
1143 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
1144 (toplevel): Deleted time-stamp line.
1146 * elmo2.el (elmo-clear-killed ): Defined as function
1147 (Abolished defining as a backend function).
1148 All other related modules are changed.
1150 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
1152 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
1154 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
1156 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
1158 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1160 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
1162 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
1164 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
1165 asynchronous folder check.
1167 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
1169 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
1170 `elmo-nntp-use-killed-list'.
1171 (elmo-nntp-list-folder): Use killed list.
1172 (elmo-nntp-max-of-folder): Ditto.
1173 (elmo-nntp-msgdb-create): Set killed list.
1175 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
1177 * elmo2.el (elmo-clear-killed): New backend function.
1178 All other related modules are changed.
1180 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
1182 * elmo-util.el (elmo-imap4-spec-folder): Use
1183 `elmo-imap4-spec-mailbox'; Mark as obsolete.
1184 All callers changed.
1186 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
1188 * mmelmo-2.el (initialize-instance):
1189 Use `mime-buffer-entity-buffer-internal' instead of
1190 `mime-entity-buffer'.
1192 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
1193 (mime-entity-body): Implemented.
1194 (mime-goto-header-start-point): Deleted.
1195 (mime-goto-body-end-point): Ditto.
1196 (mime-entity-point-min): Ditto.
1197 (mime-entity-point-max): Ditto.
1198 (mime-entity-children): Ditto.
1199 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
1200 instead of `mime-entity-buffer'.
1201 (mime-entity-header-buffer): Ditto.
1202 (mime-entity-body-buffer): Ditto.
1203 (mime-write-entity-content): Ditto.
1205 * pldap.el (ldap-static-if): New macro.
1206 (toplevel): Use it instead of `static-if'.
1208 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
1210 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
1211 included in `attrs' argument.
1213 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
1215 * elmo-util.el (elmo-get-passwd): Use old backquote style.
1217 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
1218 (ldap-ldif-safe-init-char-regexp): Ditto.
1219 (ldap-ldif-safe-string-regexp): Ditto.
1220 (ldap/ldif-safe-string-p): New macro.
1221 (ldap/ldif-insert-field): Ditto.
1222 (ldap-modify): Use it.
1224 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
1225 (ldap-decode-attribute): Decode only when `attr' is consp.
1226 (ldap-delete): Bind `ret'.
1227 (toplevel): Require 'cl at compile time.
1228 Removed (require 'poe) and (require 'std11).
1229 (pldap-version): Eliminated.
1230 (ldap-search-basic): Removed auth and dn binding.
1231 (ldap-ldif-field-name-regexp): New constant.
1232 (ldap-ldif-field-head-regexp): Ditto.
1233 (ldap-ldif-next-field-head-regexp): Ditto.
1234 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
1235 (ldap/field-end): New function.
1236 (ldap/field-body): Use it.
1237 (ldap/collect-field): Ditto.
1238 (ldap-search-basic): Use `ldap/field-body'.
1240 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
1242 * pldap.el (ldap-default-attribute-encoder): New user option.
1243 (ldap/field-body): Decode base64 string.
1244 (ldap/collect-field): Ditto.
1245 (ldap-encode-attribute): New function.
1246 (ldap-add-entries): Use it.
1247 (ldap-modify-entries): Ditto.
1248 (ldap-search-entries): Enclosed decoding function with
1249 `with-temp-buffer' and set as unibyte.
1250 (ldap-search-basic): Set process buffer as unibyte.
1252 * elmo-util.el (elmo-folder-identical-system-p):
1253 Eliminated name space checking.
1255 * pldap.el: New module.
1256 toplevel: Changed condition to detect built-in ldap feature.
1257 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
1258 (ldap-add): Added error handling.
1259 (ldap-modify): Ditto.
1260 (ldap-delete): Ditto.
1262 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
1264 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
1265 Initialize local variables with `let'. Inline a temporary
1266 variable for the progress percentage. Sort `setq' to reduce
1267 function call in the while-loop.
1269 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
1270 into the conditional branch.
1272 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
1274 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
1275 Move a conditional out of the while-loop.
1277 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1279 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
1280 elmo-msgdb-overview-get-entity-by-number.
1281 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
1284 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
1286 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
1287 the local variable for a packed number self descriptively.
1289 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1291 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
1292 * elmo-localdir.el (elmo-localdir-pack-number): Use
1293 `elmo-msgdb-overview-get-entity' instead of
1294 `elmo-msgdb-overview-get-entity-by-number'.
1295 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
1296 (elmo-msgdb-search-overview-entity): Removed.
1297 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
1298 by message-id or number.
1299 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
1300 instead of `elmo-msgdb-overview-get-entity-by-number'.
1302 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1304 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
1305 non-nil, use hash table for overview.
1306 (elmo-hash-maximum-size): New variable.
1307 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
1308 (elmo-msgdb-make-overview-hashtb): New function.
1309 (elmo-msgdb-clear-overview-hashtb): New function.
1310 (elmo-clear-hash-val): New macro.
1311 All other related modules are changed.
1313 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
1315 * elmo2.el (elmo-move-msgs): If there's other message with
1316 same message-id, don't use cache.
1318 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
1320 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
1321 number is already packed.
1323 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
1325 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
1327 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1329 * elmo-vars.el (elmo-display-progress-threshold): New variable.
1330 All other related modules are changed.
1332 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
1334 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
1335 of refiling failure on Maildir.
1337 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1339 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
1340 decoded mime-charset with cache.
1341 (elmo-msgdb-overview-entity-get-from): Ditto.
1342 (elmo-msgdb-overview-entity-get-subject): Ditto.
1343 * elmo-vars.el (elmo-use-decoded-cache): New variable.
1345 2000-05-10 Kenichi OKADA <okada@opaopa.org>
1347 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
1348 (elmo-remove-passwd): Fill password with 0 before erase.
1349 * elmo-vars.el (elmo-passwd-life-time): New variable.
1352 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
1354 * elmo-cache.el (elmo-buffer-cache-add):
1355 Set message cache buffer as unibyte.
1357 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1359 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
1362 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
1364 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
1365 when display is finished.
1366 (elmo-nntp-msgdb-create): Ditto.
1367 (elmo-nntp-groups-read-response): Ditto.
1368 (elmo-nntp-retrieve-headers): Ditto.
1369 (elmo-nntp-msgdb-create-message): Ditto.
1370 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1371 (elmo-pop3-msgdb-create-message): Ditto.
1373 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1375 * elmo-maildir.el (elmo-maildir-msgdb-create):
1376 Use `elmo-msgdb-sort-by-date'.
1378 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
1380 * elmo2.el (elmo-read-msg-no-cache):
1381 Eliminated arguments after `outbuf'.
1382 Don't use cache even if it exists.
1383 (elmo-read-msg): Don't pass arguments after `outbuf' to
1384 `elmo-read-msg-no-cache'.
1386 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1388 * elmo-archive.el (elmo-archive-list-folders):
1389 Use `file-name-directory' if base folder does not exist.
1391 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
1393 * elmo-archive.el (elmo-archive-list-folders): Don't use
1394 `file-name-directory'.
1396 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
1398 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
1399 If `force' is non-nil, try flushing all operation queues.
1401 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1403 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
1406 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1408 * elmo-util.el (elmo-display-progress): Fixed.
1410 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1412 * elmo-util.el (elmo-display-progress): New function.
1413 All other related modules are changed.