1 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
3 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
6 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
8 * elmo-version.el (elmo-version): Up to 2.3.90.
10 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
11 (elmo-imap4-list-folder-important): Ditto.
13 2000-10-16 Kenichi OKADA <okada@opaopa.org>
15 * elmo-nntp.el (elmo-network-initialize-session): Fix.
17 2000-10-16 Kenichi OKADA <okada@opaopa.org>
19 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
21 2000-10-15 Kenichi OKADA <okada@opaopa.org>
23 * elmo-nntp.el (elmo-network-initialize-session):
24 Add starttls negotiation.
26 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
28 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
30 (elmo-network-setup-session): Define.
31 Call `elmo-nntp-send-mode-reader' when session opened.
33 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
35 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
37 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
39 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
40 an invalid SPACE character ahead of `SEARCH' command. Move
41 a valid SPACE character following `SEARCH' from conditional
42 `format' arguments to control-strings.
44 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
46 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
49 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
51 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
53 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
54 `w32-get-true-file-link-count' as t.
56 * elmo-imap4.el (elmo-imap4-read): Abolished.
57 (Renamed to `elmo-read' and moved to elmo-util.el)
58 All other related portions are changed.
60 * elmo-util.el (elmo-read): New function.
61 (elmo-condition-parse-search-value): Use it.
63 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
65 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
67 * elmo-nntp.el (elmo-nntp-session): Define.
68 (elmo-nntp-setting): Abolished.
69 All other related portions are changed.
70 (elmo-nntp-get-server-command): Changed argument.
71 (elmo-nntp-set-server-command): Ditto.
72 (elmo-nntp-xover-p): Ditto.
73 (elmo-nntp-set-xover): Ditto.
74 (elmo-nntp-listgroup-p): Ditto.
75 (elmo-nntp-set-listgroup): Ditto.
76 (elmo-nntp-list-active-p): Ditto.
77 (elmo-nntp-set-list-active): Ditto.
78 (elmo-nntp-xhdr-p): Ditto.
79 (elmo-nntp-set-xhdr): Ditto.
80 (elmo-nntp-flush-connection): Abolished.
81 (elmo-nntp-get-connection): Abolished.
82 (elmo-nntp-get-session): New function.
83 (elmo-network-initialize-session): Defined.
84 (elmo-network-authenticate-session): Ditto.
85 (elmo-nntp-send-mode-reader): Changed argument.
86 (elmo-nntp-send-command): Changed argument.
87 All other related portions are changed.
88 (elmo-nntp-read-response): Ditto.
89 (elmo-nntp-read-raw-response): Ditto.
90 (elmo-nntp-read-contents): Ditto.
91 (elmo-nntp-read-body): Ditto.
92 (elmo-nntp-goto-folder): Abolished.
93 (elmo-nntp-select-group): New function.
94 All other related portions are changed.
95 (This function substitutes `elmo-nntp-goto-folder')
96 (elmo-nntp-msgdb-create-by-header): Rewrite.
97 (elmo-nntp-get-overview): Eliminated.
98 (elmo-nntp-get-message): Ditto.
99 (elmo-nntp-open-connection) Abolished.
100 (elmo-nntp-read-msg): Rewrite.
101 (elmo-nntp-post): Ditto.
102 (elmo-nntp-send-data): Abolished.
103 (elmo-nntp-send-buffer): New function.
104 (elmo-nntp-send-data-line): Define as inline function.
105 (elmo-nntp-get-folders-info-prepare): Use session as key.
106 (elmo-nntp-groups-read-response): Changed argument.
107 (elmo-nntp-retrieve-headers): Ditto.
108 (elmo-nntp-msgdb-create-message): Ditto.
110 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
111 when searching by 'since' or 'before'.
113 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
115 * elmo-version.el (toplevel): Use product-version-as-string for set
116 verstion-string, if defined.
118 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
120 * elmo-util.el: Doc fixes.
122 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
124 * elmo-archive.el (toplevel): Use product-provide.
125 * elmo-cache.el (toplevel): Ditto.
126 * elmo-database.el (toplevel): Ditto.
127 * elmo-date.el (toplevel): Ditto.
128 * elmo-dop.el (toplevel): Ditto.
129 * elmo-filter.el (toplevel): Ditto.
130 * elmo-imap4.el (toplevel): Ditto.
131 * elmo-internal.el (toplevel): Ditto.
132 * elmo-localdir.el (toplevel): Ditto.
133 * elmo-localnews.el (toplevel): Ditto.
134 * elmo-maildir.el (toplevel): Ditto.
135 * elmo-msgdb.el (toplevel): Ditto.
136 * elmo-multi.el (toplevel): Ditto.
137 * elmo-net.el (toplevel): Ditto.
138 * elmo-nntp.el (toplevel): Ditto.
139 * elmo-pipe.el (toplevel): Ditto.
140 * elmo-pop3.el (toplevel): Ditto.
141 * elmo-util.el (toplevel): Ditto.
142 * elmo-vars.el (toplevel): Ditto.
143 * elmo2.el (toplevel): Ditto.
144 * mmelmo-1.el (toplevel): Ditto.
145 * mmelmo-2.el (toplevel): Ditto.
146 * mmelmo-imap4-1.el (toplevel): Ditto.
147 * mmelmo-imap4-2.el (toplevel): Ditto.
148 * mmelmo-imap4.el (toplevel): Ditto.
149 * mmelmo.el (toplevel): Ditto.
151 2000-10-10 Kenichi OKADA <okada@opaopa.org>
153 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
154 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
156 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
158 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
160 (elmo-multi-split-number-alist): Ditto.
162 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
164 * elmo-version.el: New file. Use product.el.
165 * elmo2.el: Add (require 'elmo-version).
166 * elmo-vars.el (elmo-appname, elmo-version): Move to
169 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
171 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
172 `elmo-msgdb-expand-path'.
173 (elmo-msgdb-load): Ditto.
174 Abolished 2nd argument. If 1st argument is not string, treat as spec.
175 (elmo-generic-list-folder-unread): Rewrite.
176 (elmo-generic-list-folder-important): Changed argument.
177 (elmo-list-folder-unread): Ditto.
178 (elmo-list-folder-important): Ditto.
179 (elmo-folder-diff): Rewrite.
180 (elmo-generic-folder-diff): New function.
181 (elmo-multi-get-number-alist-list): Abolished
182 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
183 (elmo-multi-folder-diff): Moved to elmo-multi.el
184 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
186 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
187 `elmo-msgdb-expand-path'.
188 (elmo-pop3-msgdb-create-as-numlist): Ditto.
189 (elmo-pop3-read-msg): Ditto.
190 (elmo-pop3-delete-msgs): Ditto.
191 (elmo-pop3-folder-diff): New alias.
193 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
194 `elmo-msgdb-expand-path'.
195 (elmo-pipe-list-folder-unread): Changed arguments.
196 (elmo-pipe-list-folder-important): Ditto.
197 (elmo-pipe-folder-diff): New alias.
199 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
200 `elmo-msgdb-expand-path'.
201 (elmo-nntp-max-of-folder): Ditto.
202 (elmo-nntp-msgdb-create): Ditto.
203 (elmo-nntp-delete-msgs): Ditto.
204 (elmo-nntp-folder-diff): New alias.
206 * elmo-multi.el (elmo-multi-folder-diff): New function.
207 (elmo-multi-split-mark-alist): Ditto.
208 (elmo-multi-split-number-alist): Ditto.
209 (elmo-multi-mark-alist-list): Abolished (Renamed to
210 elmo-multi-split-mark-alist).
211 (elmo-multi-list-folder-unread): Rewrite.
212 (elmo-multi-list-folder-important): Ditto.
213 (elmo-multi-list-folder): Set `spec' as 1st argument for
214 `elmo-msgdb-expand-path'.
215 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
216 instead of `elmo-multi-get-number-alist-list'.
218 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
219 If 1st argument is not string, treat as spec.
220 (elmo-list-folder-by-location): Set `spec' as 1st argument for
221 `elmo-msgdb-expand-path'.
222 (elmo-msgdb-flist-load): Ditto.
223 (elmo-msgdb-flist-save): Ditto.
224 (elmo-msgdb-delete-path): Ditto.
225 (elmo-msgdb-rename-path): Ditto.
227 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
228 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
229 (elmo-maildir-delete-mark-msgs): Ditto.
230 (elmo-maildir-msgdb-create): Ditto.
231 (elmo-maildir-read-msg): Ditto.
232 (elmo-maildir-delete-msgs): Ditto.
233 (elmo-maildir-list-folder-subr): Ditto.
234 (elmo-maildir-search): Ditto.
235 (elmo-maildir-get-msg-filename): Ditto.
236 (elmo-maildir-pack-number): Ditto.
237 (elmo-maildir-folder-diff): New alias.
239 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
241 * elmo-localdir.el (elmo-localdir-list-folder-subr):
242 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
243 (elmo-localdir-folder-diff): New alias.
245 * elmo-internal.el (elmo-internal-list-folder-subr):
246 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
247 (elmo-internal-list-folder-by-location): Ditto.
248 (elmo-internal-msgdb-create): Ditto.
249 (elmo-internal-delete-msgs): Ditto.
250 (elmo-internal-read-msg): Ditto.
251 (elmo-internal-folder-diff): New alias.
253 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
254 (elmo-imap4-list-folder): Set `spec' as 1st argument for
255 `elmo-msgdb-expand-path'.
256 (elmo-imap4-list-folder-unread): Changed arguments.
257 (elmo-imap4-list-folder-important): Ditto.
259 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
260 (elmo-filter-list-folder-important): Ditto.
261 (elmo-filter-folder-diff): New function.
263 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
265 * elmo-cache.el (elmo-cache-list-folder):
266 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
267 (elmo-cache-copy-msgs): Ditto.
268 (elmo-cache-folder-diff): New alias.
270 * elmo-archive.el (elmo-archive-list-folder-subr):
271 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
272 (elmo-archive-get-archive-name): Ditto.
273 (elmo-archive-create-file): Ditto.
274 (elmo-archive-append-msg): Ditto.
275 (elmo-archive-copy-msgs): Ditto.
276 (elmo-archive-copy-msgs-froms): Ditto.
277 (elmo-archive-get-msg-filename): Ditto.
278 (elmo-archive-folder-diff): New alias.
280 2000-10-06 Daiki Ueno <ueno@unixuser.org>
282 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
283 (elmo-pop3-stream-type-alist): New variable.
284 (elmo-nntp-stream-type-alist): New variable.
286 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
287 (elmo-kill-buffer): Ditto.
288 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
289 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
290 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
291 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
292 (elmo-imap4-get-spec): Take into account
293 `elmo-imap4-stream-type-alist'.
295 2000-10-06 Kenichi OKADA <okada@opaopa.org>
297 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
298 (elmo-nntp-list-folders-get-cache): Ditto.
300 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
302 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
303 character before 'uid'.
305 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
307 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
309 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
311 * elmo-util.el (elmo-number-set-member): New function.
312 (elmo-number-set-append-list): Ditto.
313 (elmo-number-set-append): Ditto.
315 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
316 Use `elmo-number-set-member'.
317 (elmo-living-messages): Ditto.
318 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
319 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
321 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
322 (elmo-imap4-add-to-cont-list): Abolished.
323 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
324 instead of elmo-imap4-add-to-cont-list.
326 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
327 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
329 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
331 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
333 * elmo-util.el (elmo-condition-parse-search-value):
336 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
338 * elmo-util.el (elmo-condition-find-key-internal): New function.
339 (elmo-condition-find-key): Ditto.
341 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
342 (elmo-msgdb-search-internal): Ditto.
343 (elmo-msgdb-search): Ditto.
345 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
347 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
348 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
350 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
351 (elmo-nntp-search-primitive): Fixed problem when condition is
354 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
356 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
357 (elmo-nntp-xhdr-p): New macro.
358 (elmo-nntp-set-xhdr): Ditto.
359 (elmo-nntp-parse-xhdr-response): New function.
360 (elmo-nntp-retrieve-field): Ditto.
361 (elmo-nntp-search-primitive): Ditto.
362 (elmo-nntp-search): Implemented.
364 * elmo-date.el (elmo-date-make-sortable-string): New macro.
366 * elmo-archive.el (elmo-archive-search): Set all number list to
367 `elmo-archive-field-condition-match'
369 * elmo-localdir.el (elmo-localdir-search): Likewise.
371 * elmo-maildir.el (elmo-maildir-search): Likewise.
373 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
375 * elmo-msgdb.el (elmo-living-messages): New function.
376 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
377 * elmo-cache.el (elmo-cache-list-folder): Ditto.
378 * elmo-dop.el (elmo-dop-list-folder): Ditto.
379 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
380 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
381 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
382 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
383 * elmo-multi.el (elmo-multi-list-folder): Ditto.
384 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
385 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
386 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
388 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
390 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
392 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
394 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
396 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
397 arguments for `SEARCH' command.
398 (elmo-imap4-parse-string): Set `POS' argument for char-after.
399 All other related portions are changed.
401 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
403 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
404 (elmo-list-folder-unread): Rewrite.
405 (elmo-list-folder-important): Ditto.
407 * elmo-util.el (elmo-filter-get-spec): Rewrite.
408 (elmo-condition-parse-error): New inline function.
409 (elmo-read-search-condition): New function.
410 (elmo-read-search-condition-internal): Ditto.
411 (elmo-parse-search-condition): Rewrite.
412 (elmo-condition-parse): New function.
413 (elmo-condition-parse-or-expr): Ditto.
414 (elmo-condition-parse-and-expr): Ditto.
415 (elmo-condition-parse-primitive): Ditto.
416 (elmo-condition-parse-search-value): Ditto.
417 (elmo-buffer-field-primitive-condition-match): Ditto.
418 (elmo-buffer-field-condition-match): Rewrite.
419 (elmo-file-field-condition-match): Ditto.
421 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
422 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
424 * elmo-internal.el (elmo-internal-search): Set `number' and
425 `number-list' argument of `elmo-file-field-condition-match'.
427 * elmo-maildir.el (elmo-maildir-search): Ditto.
429 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
430 `msgdb' as argument instead of `mark-alist'.
431 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
434 * elmo-multi.el: Likewise.
436 * elmo-pipe.el: Likewise.
438 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
439 (elmo-imap4-search-internal): Rewrite.
440 (elmo-imap4-search): Ditto.
442 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
443 (elmo-filter-list-folder-unread): Ditto.
444 (elmo-filter-list-folder-important): Ditto.
445 (elmo-filter-search): Rewrite.
447 * elmo-cache.el (elmo-cache-search-all): Set `number' and
448 `number-list' argument of `elmo-file-field-condition-match'.
449 (elmo-cache-search): Ditto.
451 * elmo-localdir.el: Likewise.
453 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
454 number-list and pass it to `elmo-buffer-field-condition-match'.
455 (elmo-archive-field-condition-match): Pass `number-list' to
456 `elmo-archive-field-condition-match'
458 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
460 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
463 * elmo2.el (elmo-folder-diff-async-callback): New variable.
464 (elmo-folder-diff-async-callback-data): Ditto.
465 (elmo-folder-diff-async): New function.
467 * elmo-net.el (elmo-network-session-name-prefix): New variable.
468 (elmo-network-session-cache-key): Use it as a prefix of the session
470 (elmo-network-open-session): Ditto.
472 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
473 (elmo-imap4-status-callback-data): Ditto.
474 (elmo-imap4-server-diff-async-callback): New variable.
475 (elmo-imap4-server-diff-async-callback-data): Ditto.
476 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
477 `elmo-imap4-status-callback-data'.
478 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
479 `elmo-imap4-status-callback-data' as nil.
480 (elmo-imap4-server-diff): Ditto.
481 (elmo-imap4-server-diff-async-callback-1): New function.
482 (elmo-imap4-server-diff-async): Ditto.
483 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
485 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
487 * elmo-util.el (elmo-list-delete): Doc fix.
488 (elmo-delete-lists): Abolish.
489 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
490 instead of `elmo-delete-lists'.
492 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
494 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
497 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
499 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
500 `elmo-imap4-literal-subr'.
501 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
502 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
504 2000-09-15 Kenichi OKADA <okada@opaopa.org>
506 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
507 (elmo-archive-list-folder): Fix.
508 (elmo-archive-max-of-folder): Fix.
510 2000-09-15 Kenichi OKADA <okada@opaopa.org>
512 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
513 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
514 (elmo-localdir-append-msg): Ditto.
515 (elmo-localdir-list-folder): Fix for `nonsort'.
516 (elmo-localdir-list-folder-subr): Fix for `killed'.
517 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
518 (elmo-maildir-list-folder-subr): Ditto.
519 * elmo-archive.el (elmo-archive-list-folder): Ditto.
520 (elmo-archive-list-folder-subr): Ditto.
521 * elmo-internal.el (elmo-internal-list-folder): Ditto.
522 (elmo-internal-list-folder-subr): Ditto.
524 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
526 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
528 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
530 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
532 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
534 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
535 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
537 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
539 (elmo-imap4-read-part): Use "body.peek" to fetch part.
540 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
542 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
544 * mmelmo-imap4-2.el (mime-entity-children): Defined.
546 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
547 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
548 before STORE command.
550 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
552 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
554 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
555 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
557 (elmo-imap4-list-folders): Removed unused local variable.
558 (elmo-network-initialize-session): Ditto.
559 (elmo-imap4-delete-msg-by-id): Ditto.
560 (elmo-imap4-parse-fetch): Ditto.
561 (elmo-imap4-copy-msgs): Ditto.
562 Use `dst-spec' instead of `dst-folder'.
563 (elmo-network-authenticate-session): Check authenticate type `plain'.
565 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
567 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
569 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
570 `elmo-imap4-response-value'.
571 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
573 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
575 * elmo-imap4.el (elmo-imap4-send-command):
576 Cause elmo-imap4-bye-error when current response is BYE.
577 (elmo-imap4-arrival-filter): Changed greeting response value.
579 * elmo2.el (elmo-imap4-bye-error): Define.
581 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
582 (elmo-imap4-server-diff): Ditto.
583 (elmo-imap4-response-bye-p): New macro.
584 (elmo-imap4-response-error-text): Get text from BYE response.
585 (elmo-imap4-read-response): Return if BYE response.
586 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
587 (elmo-imap4-folder-exists-p): Ditto.
588 (elmo-imap4-commit): Do nothing when different mailbox is selected.
589 (elmo-imap4-parse-bye): New function.
590 (elmo-imap4-parse-response): Remove needless let.
591 Call `elmo-imap4-parse-bye'.
593 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
595 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
596 the mailbox does not exist.
597 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
599 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
601 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
603 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
605 * elmo-vars.el (elmo-search-mime-charset): Abolished.
607 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
608 (elmo-network-initialize-session-buffer): Defined.
610 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
612 (mmelmo-imap4-get-mime-entity): Rewrite.
614 * elmo2.el (elmo-error): Capitalize error message.
616 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
617 (elmo-network-session-buffer): New macro.
618 (elmo-network-open-session): Use it.
620 * elmo-imap4.el: Rewrite.
622 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
624 * elmo-nntp.el (Toplevel): Require 'elmo-net.
626 2000-08-27 Daiki Ueno <ueno@unixuser.org>
628 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
629 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
630 (elmo-imap4-create-msgdb-from-overview-string): Use
631 `elmo-msgdb-create-overview-from-buffer'.
633 2000-08-26 Daiki Ueno <ueno@unixuser.org>
635 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
636 (elmo-imap4-default-hierarchy-delimiter): New variable.
637 (elmo-imap4-list-folders): Use it.
639 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
641 * elmo-net.el (elmo-network-open-session): Add user and
642 stream-type for process-buffer name.
644 * elmo-pop3.el (elmo-network-initialize-session): Call
647 * elmo-imap4.el (elmo-network-initialize-session):
648 Set current-buffer as an argument for `buffer-disable-undo'.
650 * elmo-pop3.el (elmo-network-close-session): Don't use
653 * elmo-vars.el (elmo-default-pop3-authenticate-type):
654 Set default as 'user.
656 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
658 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
659 and `elmo-imap4-flush-connection'.
661 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
662 (elmo-pop3-get-spec): Assume auth as symbol.
663 (elmo-open-network-stream): Moved to `elmo-net'.
665 * elmo-pop3.el (toplevel): Require 'elmo-net.
666 Define `sasl-cram-md5' to silence byte compilier.
667 (elmo-pop3-connection-cache) Abolished.
668 (elmo-pop3-authenticator-alist) New variable.
669 (elmo-pop3-session): Define.
670 (elmo-pop3-connection-get-process): Abolished.
671 (elmo-pop3-connection-get-buffer): Ditto.
672 (elmo-pop3-close-connection): Ditto.
673 (elmo-pop3-flush-connection): Ditto.
674 (elmo-pop3-get-connection): Ditto.
675 (elmo-pop3-get-session): New function.
676 (Replacement for `elmo-pop3-get-connection').
677 All other related modules are changed.
678 (elmo-network-close-session): Define.
679 (elmo-pop3-send-command): Abolished argument `buffer'.
680 All other related modules are changed.
681 (elmo-pop3-read-response): Likewise.
682 (elmo-pop3-open-connection): Abolished.
683 (elmo-pop3-auth-user): New function.
684 (elmo-pop3-auth-apop): Ditto.
685 (elmo-pop3-auth-cram-md5): Ditto.
686 (elmo-pop3-auth-scram-md5): Ditto.
687 (elmo-pop3-auth-digest-md5): Ditto.
688 (elmo-network-initialize-session): Define.
689 (elmo-network-authenticate-session): Ditto.
690 (elmo-network-setup-session): Ditto.
692 * elmo-imap4.el (toplevel): Require 'elmo-net.
693 (elmo-imap4-session): Define.
694 (elmo-imap4-connection-cache): Abolished.
695 (elmo-imap4-password-key): Ditto.
696 (elmo-imap4-flush-connection): Ditto.
697 (elmo-imap4-get-connection): Ditto.
698 All other related modules are changed.
699 (elmo-imap4-get-session): New function
700 (Replacement for `elmo-imap4-get-connection').
701 (elmo-imap4-read-response): Abolished argument `buffer'.
702 All other related modules are changed.
703 (elmo-imap4-send-command): Likewise.
704 (elmo-imap4-select-folder): Abolished.
705 All other related modules are changed.
706 (elmo-imap4-select-mailbox): New function.
707 (Replacement for `elmo-imap4-select-folder').
708 (elmo-imap4-auth-login): Simplify.
709 (Assume current buffer as process buffer)
710 (elmo-imap4-auth-cram-md5): Ditto.
711 (elmo-imap4-auth-digest-md5): Ditto.
712 (elmo-imap4-login): Ditto.
713 (elmo-imap4-open-connection): Abolished.
714 (elmo-imap4-open-connection-1): Abolished.
715 (elmo-network-initialize-sessoin): Define.
716 (elmo-network-authenticate-session): Ditto.
717 (elmo-network-setup-session): Ditto.
719 * elmo-net.el: New module.
721 2000-08-22 Daiki Ueno <ueno@unixuser.org>
723 * elmo-util.el (elmo-define-error): New function.
725 * elmo2.el (elmo-error): Define.
726 (elmo-open-error): Define.
727 (elmo-authenticate-error): Define.
729 * elmo-imap4.el (elmo-imap4-error): Abolish.
730 (elmo-imap4-error-type): Abolish.
731 (elmo-imap4-error-process): Abolish.
732 (elmo-imap4-error-message): Abolish
733 (elmo-imap4-list-folders): Don't quote lambda.
734 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
735 (elmo-imap4-parse-namespace): Ditto.
736 (elmo-imap4-open-connection): Rewrite.
737 (elmo-imap4-open-connection-1): Simplified (authenticate only).
738 (elmo-imap4-get-connection): Abolish local variable `result'.
740 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
742 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
743 wrong-type-argument error when auth is nil.
745 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
747 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
748 (elmo-default-nntp-stream-type): Ditto.
749 (elmo-default-pop3-stream-type): Ditto.
750 (elmo-network-stream-type-alist): Ditto.
751 (elmo-default-imap4-ssl): Abolished.
752 (elmo-default-nntp-ssl): Ditto.
753 (elmo-default-pop3-ssl): Ditto.
755 * elmo-util.el: (toplevel): Removed needless requires.
756 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
757 (elmo-open-network-stream): Open network stream according to
758 the value of `elmo-network-stream-type-alist'.
759 (elmo-get-network-stream-type): New function.
760 (elmo-network-stream-type-spec-string): New macro.
761 (elmo-network-stream-type-symbol): Ditto.
762 (elmo-network-stream-type-function): Ditto.
764 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
765 network-stream-type. All other related portions are changed.
766 (elmo-pop3-open-connection): Ditto.
768 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
769 network-stream-type. All other related portions are changed.
771 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
772 network-stream-type.All other related portions are changed.
773 (elmo-imap4-error): New macro.
774 (elmo-imap4-error-type): Ditto.
775 (elmo-imap4-error-process): Ditto.
776 (elmo-imap4-error-message): Ditto.
777 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
778 (elmo-imap4-auth-cram-md5): Ditto.
779 (elmo-imap4-auth-digest-md5): Ditto.
780 (elmo-imap4-login): Ditto.
781 (elmo-imap4-open-connection): Remove password entry if authentication
783 (elmo-imap4-user-at-host): Abolished.
784 (elmo-imap4-password-key): New buffer local variable.
785 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
786 using protocol, port, auth and stream-type.
788 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
790 2000-08-13 Daiki Ueno <ueno@unixuser.org>
792 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
794 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
796 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
797 (elmo-imap4-authenticator-alist): New variable.
798 (elmo-imap4-open-connection-1): Rename from
799 elmo-imap4-open-connection.
800 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
801 only wraps elmo-imap4-open-connection-1.
802 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
804 (elmo-imap4-auth-login): New function.
805 (elmo-imap4-auth-cram-md5): New function.
806 (elmo-imap4-auth-digest-md5): New function.
807 (elmo-imap4-login): New function.
809 2000-08-12 Kenichi OKADA <okada@opaopa.org>
811 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
814 2000-08-12 Kenichi OKADA <okada@opaopa.org>
816 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
818 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
820 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
822 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
824 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
825 for server responses, quote `*' regardless of where it appears.
827 2000-08-03 Kenichi OKADA <okada@opaopa.org>
829 * elmo-maildir.el (elmo-maildir-commit): New alias.
831 2000-08-03 Kenichi OKADA <okada@opaopa.org>
833 * elmo-util.el (elmo-display-progress):
834 Use `progress-feedback-with-label'.
836 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
838 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
839 (elmo-imap4-non-atom-char-regex): Ditto.
840 (elmo-imap4-non-text-char-regex): Ditto.
841 (elmo-imap4-literal-threshold): Ditto.
842 (elmo-imap4-atom-p): New function.
843 (elmo-imap4-quotable-p): Ditto.
844 (elmo-imap4-nil): Ditto.
845 (elmo-imap4-atom): Ditto.
846 (elmo-imap4-quoted): Ditto.
847 (elmo-imap4-literal-subr): Ditto.
848 (elmo-imap4-literal): Ditto.
849 (elmo-imap4-buffer-literal): Ditto.
850 (elmo-imap4-string-subr): Ditto.
851 (elmo-imap4-string): Ditto.
852 (elmo-imap4-buffer-string): Ditto.
853 (elmo-imap4-astring-subr): Ditto.
854 (elmo-imap4-astring): Ditto.
855 (elmo-imap4-buffer-astring): Ditto.
856 (elmo-imap4-nstring): Ditto.
857 (elmo-imap4-buffer-nstring): Ditto.
858 (elmo-imap4-mailbox): New alias.
859 (elmo-imap4-field-body): Ditto.
860 (elmo-imap4-userid): Ditto.
861 (elmo-imap4-password): Ditto.
862 (elmo-imap4-format-quoted): New function.
863 (elmo-imap4-send-command): Rewritten. Accept a list of command
864 arguments and handle "atom", "quoted" and "literal" string here.
865 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
866 `elmo-imap4-send-command'.
867 (elmo-imap4-folder-exists-p): Likewise.
868 (elmo-imap4-create-folder): Likewise.
869 (elmo-imap4-delete-folder): Likewise.
870 (elmo-imap4-rename-folder): Likewise.
871 (elmo-imap4-max-of-folder): Likewise.
872 (elmo-imap4-check-validity): Likewise.
873 (elmo-imap4-sync-validity): Likewise.
874 (elmo-imap4-server-diff): Likewise.
875 (elmo-imap4-select-folder): Likewise.
876 (elmo-imap4-copy-msgs): Likewise.
877 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
878 (elmo-imap4-mark-set-on-msgs): Likewise.
879 (elmo-imap4-read-part): Likewise.
880 (elmo-imap4-read-msg): Likewise.
881 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
882 `elmo-imap4-password' for `elmo-imap4-send-command'.
883 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
884 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
885 `elmo-imap4-buffer-literal'.
886 (elmo-imap4-append-msg): Likewise.
888 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
889 `delete' for removing dead connection from the connection cache.
890 Move deletion of the process buffer after that.
891 (elmo-imap4-list): Change `defsubst' to `defun'.
892 (elmo-imap4-commit): Make error message verbose.
893 (elmo-imap4-search): Ditto.
894 (elmo-imap4-list): Ditto.
895 (elmo-imap4-select-folder): Ditto.
896 (elmo-imap4-copy-msgs): Ditto.
897 (elmo-imap4-delete-msg-by-id): Ditto.
898 (elmo-imap4-append-msg-by-id): Ditto.
899 (elmo-imap4-append-msg): Ditto.
901 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
903 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
904 when dired is used on XEmacs.
906 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
908 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
910 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
911 `elmo-plugged-p' directly.
912 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
913 of `elmo-plugged-p' directly.
915 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
916 Eliminate unused variable. Use `memq' for checking a process status.
917 Use `cons' instead of `append' for updating the connection cache.
918 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
919 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
921 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
923 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
924 `elmo-imap4-read-point' exactly.
926 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
927 the local variable `folder' to `mailbox'.
928 Rename the argument `fld' to `folder'.
930 2000-07-20 Kenichi OKADA <okada@opaopa.org>
932 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
933 * elmo-imap4.el (elmo-imap4-commit): Ditto.
935 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
937 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
938 (elmo-pop3-number-uidl-hash): New buffer-local variable.
939 (elmo-pop3-uidl-number-hash): Ditto.
940 (elmo-pop3-size-hash): Ditto.
941 (elmo-pop3-uidl-done): Ditto.
942 (elmo-pop3-list-done): Ditto.
943 (elmo-pop3-connection-get-process): New defmacro.
944 (elmo-pop3-connection-get-buffer): Ditto.
945 (elmo-pop3-close-connection): Delete buffer and process.
946 (elmo-pop3-flush-connection): Don't delete buffer and process.
947 (elmo-pop3-get-connection): Added optional argument `if-exists'.
948 Setup UIDL and size hash.
949 (elmo-pop3-send-command-no-erase): Deleted
950 (elmo-pop3-send-command): Added optional argument `no-erase'.
951 (elmo-pop3-parse-uidl-response): New function.
952 (elmo-pop3-parse-list-response): Set size hash.
953 (elmo-pop3-list-location): New function.
954 (elmo-pop3-list-by-uidl-subr): Ditto.
955 (elmo-pop3-list-by-list): Ditto.
956 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
957 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
958 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
959 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
960 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
962 (elmo-pop3-uidl-to-number): New function.
963 (elmo-pop3-number-to-uidl): Ditto.
964 (elmo-pop3-number-to-size): Ditto.
965 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
966 Set number by use of uidl.
967 (elmo-pop3-msgdb-create-message): Likewise.
968 Set size, loc-alist in msgdb.
969 (elmo-pop3-read-msg): Set number by use of uidl.
970 Added optional argument `msgdb'.
971 (elmo-pop3-delete-msg): Ditto.
972 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
973 (elmo-pop3-commit): Close connection.
975 * elmo-pipe.el (elmo-pipe-max-of-folder):
976 Bind `elmo-pop3-use-uidl' as nil.
977 (elmo-pipe-drain): Ditto.
980 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
981 (elmo-msgdb-overview-entity-set-size): New defsubst.
983 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
985 * elmo-vars.el (elmo-use-killed-list): New variable
986 (Renamed from `elmo-nntp-use-killed-list').
987 (elmo-nntp-use-killed-list): Eliminated.
989 * elmo-msgdb.el (elmo-msgdb-expand-path):
990 Changed expanding msgdb path for elmo-multi.
992 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
993 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
994 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
995 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
996 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
997 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
998 (toplevel): Deleted time-stamp line.
1000 * elmo2.el (elmo-clear-killed ): Defined as function
1001 (Abolished defining as a backend function).
1002 All other related modules are changed.
1004 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
1006 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
1008 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
1010 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
1012 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1014 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
1016 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
1018 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
1019 asynchronous folder check.
1021 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
1023 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
1024 `elmo-nntp-use-killed-list'.
1025 (elmo-nntp-list-folder): Use killed list.
1026 (elmo-nntp-max-of-folder): Ditto.
1027 (elmo-nntp-msgdb-create): Set killed list.
1029 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
1031 * elmo2.el (elmo-clear-killed): New backend function.
1032 All other related modules are changed.
1034 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
1036 * elmo-util.el (elmo-imap4-spec-folder): Use
1037 `elmo-imap4-spec-mailbox'; Mark as obsolete.
1038 All callers changed.
1040 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
1042 * mmelmo-2.el (initialize-instance):
1043 Use `mime-buffer-entity-buffer-internal' instead of
1044 `mime-entity-buffer'.
1046 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
1047 (mime-entity-body): Implemented.
1048 (mime-goto-header-start-point): Deleted.
1049 (mime-goto-body-end-point): Ditto.
1050 (mime-entity-point-min): Ditto.
1051 (mime-entity-point-max): Ditto.
1052 (mime-entity-children): Ditto.
1053 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
1054 instead of `mime-entity-buffer'.
1055 (mime-entity-header-buffer): Ditto.
1056 (mime-entity-body-buffer): Ditto.
1057 (mime-write-entity-content): Ditto.
1059 * pldap.el (ldap-static-if): New macro.
1060 (toplevel): Use it instead of `static-if'.
1062 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
1064 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
1065 included in `attrs' argument.
1067 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
1069 * elmo-util.el (elmo-get-passwd): Use old backquote style.
1071 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
1072 (ldap-ldif-safe-init-char-regexp): Ditto.
1073 (ldap-ldif-safe-string-regexp): Ditto.
1074 (ldap/ldif-safe-string-p): New macro.
1075 (ldap/ldif-insert-field): Ditto.
1076 (ldap-modify): Use it.
1078 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
1079 (ldap-decode-attribute): Decode only when `attr' is consp.
1080 (ldap-delete): Bind `ret'.
1081 (toplevel): Require 'cl at compile time.
1082 Removed (require 'poe) and (require 'std11).
1083 (pldap-version): Eliminated.
1084 (ldap-search-basic): Removed auth and dn binding.
1085 (ldap-ldif-field-name-regexp): New constant.
1086 (ldap-ldif-field-head-regexp): Ditto.
1087 (ldap-ldif-next-field-head-regexp): Ditto.
1088 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
1089 (ldap/field-end): New function.
1090 (ldap/field-body): Use it.
1091 (ldap/collect-field): Ditto.
1092 (ldap-search-basic): Use `ldap/field-body'.
1094 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
1096 * pldap.el (ldap-default-attribute-encoder): New user option.
1097 (ldap/field-body): Decode base64 string.
1098 (ldap/collect-field): Ditto.
1099 (ldap-encode-attribute): New function.
1100 (ldap-add-entries): Use it.
1101 (ldap-modify-entries): Ditto.
1102 (ldap-search-entries): Enclosed decoding function with
1103 `with-temp-buffer' and set as unibyte.
1104 (ldap-search-basic): Set process buffer as unibyte.
1106 * elmo-util.el (elmo-folder-identical-system-p):
1107 Eliminated name space checking.
1109 * pldap.el: New module.
1110 toplevel: Changed condition to detect built-in ldap feature.
1111 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
1112 (ldap-add): Added error handling.
1113 (ldap-modify): Ditto.
1114 (ldap-delete): Ditto.
1116 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
1118 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
1119 Initialize local variables with `let'. Inline a temporary
1120 variable for the progress percentage. Sort `setq' to reduce
1121 function call in the while-loop.
1123 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
1124 into the conditional branch.
1126 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
1128 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
1129 Move a conditional out of the while-loop.
1131 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1133 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
1134 elmo-msgdb-overview-get-entity-by-number.
1135 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
1138 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
1140 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
1141 the local variable for a packed number self descriptively.
1143 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1145 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
1146 * elmo-localdir.el (elmo-localdir-pack-number): Use
1147 `elmo-msgdb-overview-get-entity' instead of
1148 `elmo-msgdb-overview-get-entity-by-number'.
1149 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
1150 (elmo-msgdb-search-overview-entity): Removed.
1151 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
1152 by message-id or number.
1153 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
1154 instead of `elmo-msgdb-overview-get-entity-by-number'.
1156 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1158 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
1159 non-nil, use hash table for overview.
1160 (elmo-hash-maximum-size): New variable.
1161 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
1162 (elmo-msgdb-make-overview-hashtb): New function.
1163 (elmo-msgdb-clear-overview-hashtb): New function.
1164 (elmo-clear-hash-val): New macro.
1165 All other related modules are changed.
1167 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
1169 * elmo2.el (elmo-move-msgs): If there's other message with
1170 same message-id, don't use cache.
1172 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
1174 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
1175 number is already packed.
1177 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
1179 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
1181 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1183 * elmo-vars.el (elmo-display-progress-threshold): New variable.
1184 All other related modules are changed.
1186 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
1188 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
1189 of refiling failure on Maildir.
1191 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1193 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
1194 decoded mime-charset with cache.
1195 (elmo-msgdb-overview-entity-get-from): Ditto.
1196 (elmo-msgdb-overview-entity-get-subject): Ditto.
1197 * elmo-vars.el (elmo-use-decoded-cache): New variable.
1199 2000-05-10 Kenichi OKADA <okada@opaopa.org>
1201 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
1202 (elmo-remove-passwd): Fill password with 0 before erase.
1203 * elmo-vars.el (elmo-passwd-life-time): New variable.
1206 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
1208 * elmo-cache.el (elmo-buffer-cache-add):
1209 Set message cache buffer as unibyte.
1211 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1213 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
1216 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
1218 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
1219 when display is finished.
1220 (elmo-nntp-msgdb-create): Ditto.
1221 (elmo-nntp-groups-read-response): Ditto.
1222 (elmo-nntp-retrieve-headers): Ditto.
1223 (elmo-nntp-msgdb-create-message): Ditto.
1224 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1225 (elmo-pop3-msgdb-create-message): Ditto.
1227 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1229 * elmo-maildir.el (elmo-maildir-msgdb-create):
1230 Use `elmo-msgdb-sort-by-date'.
1232 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
1234 * elmo2.el (elmo-read-msg-no-cache):
1235 Eliminated arguments after `outbuf'.
1236 Don't use cache even if it exists.
1237 (elmo-read-msg): Don't pass arguments after `outbuf' to
1238 `elmo-read-msg-no-cache'.
1240 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1242 * elmo-archive.el (elmo-archive-list-folders):
1243 Use `file-name-directory' if base folder does not exist.
1245 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
1247 * elmo-archive.el (elmo-archive-list-folders): Don't use
1248 `file-name-directory'.
1250 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
1252 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
1253 If `force' is non-nil, try flushing all operation queues.
1255 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1257 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
1260 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1262 * elmo-util.el (elmo-display-progress): Fixed.
1264 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1266 * elmo-util.el (elmo-display-progress): New function.
1267 All other related modules are changed.