1 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
3 * elmo-version.el (elmo-version): Up to 2.3.90.
5 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
6 (elmo-imap4-list-folder-important): Ditto.
8 2000-10-16 Kenichi OKADA <okada@opaopa.org>
10 * elmo-nntp.el (elmo-network-initialize-session): Fix.
12 2000-10-16 Kenichi OKADA <okada@opaopa.org>
14 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
16 2000-10-15 Kenichi OKADA <okada@opaopa.org>
18 * elmo-nntp.el (elmo-network-initialize-session):
19 Add starttls negotiation.
21 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
23 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
25 (elmo-network-setup-session): Define.
26 Call `elmo-nntp-send-mode-reader' when session opened.
28 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
30 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
32 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
34 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
35 an invalid SPACE character ahead of `SEARCH' command. Move
36 a valid SPACE character following `SEARCH' from conditional
37 `format' arguments to control-strings.
39 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
41 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
44 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
46 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
48 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
49 `w32-get-true-file-link-count' as t.
51 * elmo-imap4.el (elmo-imap4-read): Abolished.
52 (Renamed to `elmo-read' and moved to elmo-util.el)
53 All other related portions are changed.
55 * elmo-util.el (elmo-read): New function.
56 (elmo-condition-parse-search-value): Use it.
58 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
60 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
62 * elmo-nntp.el (elmo-nntp-session): Define.
63 (elmo-nntp-setting): Abolished.
64 All other related portions are changed.
65 (elmo-nntp-get-server-command): Changed argument.
66 (elmo-nntp-set-server-command): Ditto.
67 (elmo-nntp-xover-p): Ditto.
68 (elmo-nntp-set-xover): Ditto.
69 (elmo-nntp-listgroup-p): Ditto.
70 (elmo-nntp-set-listgroup): Ditto.
71 (elmo-nntp-list-active-p): Ditto.
72 (elmo-nntp-set-list-active): Ditto.
73 (elmo-nntp-xhdr-p): Ditto.
74 (elmo-nntp-set-xhdr): Ditto.
75 (elmo-nntp-flush-connection): Abolished.
76 (elmo-nntp-get-connection): Abolished.
77 (elmo-nntp-get-session): New function.
78 (elmo-network-initialize-session): Defined.
79 (elmo-network-authenticate-session): Ditto.
80 (elmo-nntp-send-mode-reader): Changed argument.
81 (elmo-nntp-send-command): Changed argument.
82 All other related portions are changed.
83 (elmo-nntp-read-response): Ditto.
84 (elmo-nntp-read-raw-response): Ditto.
85 (elmo-nntp-read-contents): Ditto.
86 (elmo-nntp-read-body): Ditto.
87 (elmo-nntp-goto-folder): Abolished.
88 (elmo-nntp-select-group): New function.
89 All other related portions are changed.
90 (This function substitutes `elmo-nntp-goto-folder')
91 (elmo-nntp-msgdb-create-by-header): Rewrite.
92 (elmo-nntp-get-overview): Eliminated.
93 (elmo-nntp-get-message): Ditto.
94 (elmo-nntp-open-connection) Abolished.
95 (elmo-nntp-read-msg): Rewrite.
96 (elmo-nntp-post): Ditto.
97 (elmo-nntp-send-data): Abolished.
98 (elmo-nntp-send-buffer): New function.
99 (elmo-nntp-send-data-line): Define as inline function.
100 (elmo-nntp-get-folders-info-prepare): Use session as key.
101 (elmo-nntp-groups-read-response): Changed argument.
102 (elmo-nntp-retrieve-headers): Ditto.
103 (elmo-nntp-msgdb-create-message): Ditto.
105 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
106 when searching by 'since' or 'before'.
108 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
110 * elmo-version.el (toplevel): Use product-version-as-string for set
111 verstion-string, if defined.
113 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
115 * elmo-util.el: Doc fixes.
117 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
119 * elmo-archive.el (toplevel): Use product-provide.
120 * elmo-cache.el (toplevel): Ditto.
121 * elmo-database.el (toplevel): Ditto.
122 * elmo-date.el (toplevel): Ditto.
123 * elmo-dop.el (toplevel): Ditto.
124 * elmo-filter.el (toplevel): Ditto.
125 * elmo-imap4.el (toplevel): Ditto.
126 * elmo-internal.el (toplevel): Ditto.
127 * elmo-localdir.el (toplevel): Ditto.
128 * elmo-localnews.el (toplevel): Ditto.
129 * elmo-maildir.el (toplevel): Ditto.
130 * elmo-msgdb.el (toplevel): Ditto.
131 * elmo-multi.el (toplevel): Ditto.
132 * elmo-net.el (toplevel): Ditto.
133 * elmo-nntp.el (toplevel): Ditto.
134 * elmo-pipe.el (toplevel): Ditto.
135 * elmo-pop3.el (toplevel): Ditto.
136 * elmo-util.el (toplevel): Ditto.
137 * elmo-vars.el (toplevel): Ditto.
138 * elmo2.el (toplevel): Ditto.
139 * mmelmo-1.el (toplevel): Ditto.
140 * mmelmo-2.el (toplevel): Ditto.
141 * mmelmo-imap4-1.el (toplevel): Ditto.
142 * mmelmo-imap4-2.el (toplevel): Ditto.
143 * mmelmo-imap4.el (toplevel): Ditto.
144 * mmelmo.el (toplevel): Ditto.
146 2000-10-10 Kenichi OKADA <okada@opaopa.org>
148 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
149 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
151 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
153 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
155 (elmo-multi-split-number-alist): Ditto.
157 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
159 * elmo-version.el: New file. Use product.el.
160 * elmo2.el: Add (require 'elmo-version).
161 * elmo-vars.el (elmo-appname, elmo-version): Move to
164 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
166 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
167 `elmo-msgdb-expand-path'.
168 (elmo-msgdb-load): Ditto.
169 Abolished 2nd argument. If 1st argument is not string, treat as spec.
170 (elmo-generic-list-folder-unread): Rewrite.
171 (elmo-generic-list-folder-important): Changed argument.
172 (elmo-list-folder-unread): Ditto.
173 (elmo-list-folder-important): Ditto.
174 (elmo-folder-diff): Rewrite.
175 (elmo-generic-folder-diff): New function.
176 (elmo-multi-get-number-alist-list): Abolished
177 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
178 (elmo-multi-folder-diff): Moved to elmo-multi.el
179 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
181 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
182 `elmo-msgdb-expand-path'.
183 (elmo-pop3-msgdb-create-as-numlist): Ditto.
184 (elmo-pop3-read-msg): Ditto.
185 (elmo-pop3-delete-msgs): Ditto.
186 (elmo-pop3-folder-diff): New alias.
188 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
189 `elmo-msgdb-expand-path'.
190 (elmo-pipe-list-folder-unread): Changed arguments.
191 (elmo-pipe-list-folder-important): Ditto.
192 (elmo-pipe-folder-diff): New alias.
194 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
195 `elmo-msgdb-expand-path'.
196 (elmo-nntp-max-of-folder): Ditto.
197 (elmo-nntp-msgdb-create): Ditto.
198 (elmo-nntp-delete-msgs): Ditto.
199 (elmo-nntp-folder-diff): New alias.
201 * elmo-multi.el (elmo-multi-folder-diff): New function.
202 (elmo-multi-split-mark-alist): Ditto.
203 (elmo-multi-split-number-alist): Ditto.
204 (elmo-multi-mark-alist-list): Abolished (Renamed to
205 elmo-multi-split-mark-alist).
206 (elmo-multi-list-folder-unread): Rewrite.
207 (elmo-multi-list-folder-important): Ditto.
208 (elmo-multi-list-folder): Set `spec' as 1st argument for
209 `elmo-msgdb-expand-path'.
210 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
211 instead of `elmo-multi-get-number-alist-list'.
213 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
214 If 1st argument is not string, treat as spec.
215 (elmo-list-folder-by-location): Set `spec' as 1st argument for
216 `elmo-msgdb-expand-path'.
217 (elmo-msgdb-flist-load): Ditto.
218 (elmo-msgdb-flist-save): Ditto.
219 (elmo-msgdb-delete-path): Ditto.
220 (elmo-msgdb-rename-path): Ditto.
222 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
223 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
224 (elmo-maildir-delete-mark-msgs): Ditto.
225 (elmo-maildir-msgdb-create): Ditto.
226 (elmo-maildir-read-msg): Ditto.
227 (elmo-maildir-delete-msgs): Ditto.
228 (elmo-maildir-list-folder-subr): Ditto.
229 (elmo-maildir-search): Ditto.
230 (elmo-maildir-get-msg-filename): Ditto.
231 (elmo-maildir-pack-number): Ditto.
232 (elmo-maildir-folder-diff): New alias.
234 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
236 * elmo-localdir.el (elmo-localdir-list-folder-subr):
237 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
238 (elmo-localdir-folder-diff): New alias.
240 * elmo-internal.el (elmo-internal-list-folder-subr):
241 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
242 (elmo-internal-list-folder-by-location): Ditto.
243 (elmo-internal-msgdb-create): Ditto.
244 (elmo-internal-delete-msgs): Ditto.
245 (elmo-internal-read-msg): Ditto.
246 (elmo-internal-folder-diff): New alias.
248 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
249 (elmo-imap4-list-folder): Set `spec' as 1st argument for
250 `elmo-msgdb-expand-path'.
251 (elmo-imap4-list-folder-unread): Changed arguments.
252 (elmo-imap4-list-folder-important): Ditto.
254 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
255 (elmo-filter-list-folder-important): Ditto.
256 (elmo-filter-folder-diff): New function.
258 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
260 * elmo-cache.el (elmo-cache-list-folder):
261 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
262 (elmo-cache-copy-msgs): Ditto.
263 (elmo-cache-folder-diff): New alias.
265 * elmo-archive.el (elmo-archive-list-folder-subr):
266 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
267 (elmo-archive-get-archive-name): Ditto.
268 (elmo-archive-create-file): Ditto.
269 (elmo-archive-append-msg): Ditto.
270 (elmo-archive-copy-msgs): Ditto.
271 (elmo-archive-copy-msgs-froms): Ditto.
272 (elmo-archive-get-msg-filename): Ditto.
273 (elmo-archive-folder-diff): New alias.
275 2000-10-06 Daiki Ueno <ueno@unixuser.org>
277 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
278 (elmo-pop3-stream-type-alist): New variable.
279 (elmo-nntp-stream-type-alist): New variable.
281 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
282 (elmo-kill-buffer): Ditto.
283 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
284 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
285 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
286 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
287 (elmo-imap4-get-spec): Take into account
288 `elmo-imap4-stream-type-alist'.
290 2000-10-06 Kenichi OKADA <okada@opaopa.org>
292 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
293 (elmo-nntp-list-folders-get-cache): Ditto.
295 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
297 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
298 character before 'uid'.
300 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
302 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
304 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
306 * elmo-util.el (elmo-number-set-member): New function.
307 (elmo-number-set-append-list): Ditto.
308 (elmo-number-set-append): Ditto.
310 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
311 Use `elmo-number-set-member'.
312 (elmo-living-messages): Ditto.
313 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
314 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
316 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
317 (elmo-imap4-add-to-cont-list): Abolished.
318 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
319 instead of elmo-imap4-add-to-cont-list.
321 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
322 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
324 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
326 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
328 * elmo-util.el (elmo-condition-parse-search-value):
331 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
333 * elmo-util.el (elmo-condition-find-key-internal): New function.
334 (elmo-condition-find-key): Ditto.
336 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
337 (elmo-msgdb-search-internal): Ditto.
338 (elmo-msgdb-search): Ditto.
340 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
342 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
343 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
345 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
346 (elmo-nntp-search-primitive): Fixed problem when condition is
349 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
351 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
352 (elmo-nntp-xhdr-p): New macro.
353 (elmo-nntp-set-xhdr): Ditto.
354 (elmo-nntp-parse-xhdr-response): New function.
355 (elmo-nntp-retrieve-field): Ditto.
356 (elmo-nntp-search-primitive): Ditto.
357 (elmo-nntp-search): Implemented.
359 * elmo-date.el (elmo-date-make-sortable-string): New macro.
361 * elmo-archive.el (elmo-archive-search): Set all number list to
362 `elmo-archive-field-condition-match'
364 * elmo-localdir.el (elmo-localdir-search): Likewise.
366 * elmo-maildir.el (elmo-maildir-search): Likewise.
368 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
370 * elmo-msgdb.el (elmo-living-messages): New function.
371 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
372 * elmo-cache.el (elmo-cache-list-folder): Ditto.
373 * elmo-dop.el (elmo-dop-list-folder): Ditto.
374 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
375 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
376 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
377 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
378 * elmo-multi.el (elmo-multi-list-folder): Ditto.
379 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
380 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
381 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
383 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
385 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
387 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
389 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
391 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
392 arguments for `SEARCH' command.
393 (elmo-imap4-parse-string): Set `POS' argument for char-after.
394 All other related portions are changed.
396 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
398 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
399 (elmo-list-folder-unread): Rewrite.
400 (elmo-list-folder-important): Ditto.
402 * elmo-util.el (elmo-filter-get-spec): Rewrite.
403 (elmo-condition-parse-error): New inline function.
404 (elmo-read-search-condition): New function.
405 (elmo-read-search-condition-internal): Ditto.
406 (elmo-parse-search-condition): Rewrite.
407 (elmo-condition-parse): New function.
408 (elmo-condition-parse-or-expr): Ditto.
409 (elmo-condition-parse-and-expr): Ditto.
410 (elmo-condition-parse-primitive): Ditto.
411 (elmo-condition-parse-search-value): Ditto.
412 (elmo-buffer-field-primitive-condition-match): Ditto.
413 (elmo-buffer-field-condition-match): Rewrite.
414 (elmo-file-field-condition-match): Ditto.
416 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
417 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
419 * elmo-internal.el (elmo-internal-search): Set `number' and
420 `number-list' argument of `elmo-file-field-condition-match'.
422 * elmo-maildir.el (elmo-maildir-search): Ditto.
424 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
425 `msgdb' as argument instead of `mark-alist'.
426 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
429 * elmo-multi.el: Likewise.
431 * elmo-pipe.el: Likewise.
433 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
434 (elmo-imap4-search-internal): Rewrite.
435 (elmo-imap4-search): Ditto.
437 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
438 (elmo-filter-list-folder-unread): Ditto.
439 (elmo-filter-list-folder-important): Ditto.
440 (elmo-filter-search): Rewrite.
442 * elmo-cache.el (elmo-cache-search-all): Set `number' and
443 `number-list' argument of `elmo-file-field-condition-match'.
444 (elmo-cache-search): Ditto.
446 * elmo-localdir.el: Likewise.
448 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
449 number-list and pass it to `elmo-buffer-field-condition-match'.
450 (elmo-archive-field-condition-match): Pass `number-list' to
451 `elmo-archive-field-condition-match'
453 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
455 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
458 * elmo2.el (elmo-folder-diff-async-callback): New variable.
459 (elmo-folder-diff-async-callback-data): Ditto.
460 (elmo-folder-diff-async): New function.
462 * elmo-net.el (elmo-network-session-name-prefix): New variable.
463 (elmo-network-session-cache-key): Use it as a prefix of the session
465 (elmo-network-open-session): Ditto.
467 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
468 (elmo-imap4-status-callback-data): Ditto.
469 (elmo-imap4-server-diff-async-callback): New variable.
470 (elmo-imap4-server-diff-async-callback-data): Ditto.
471 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
472 `elmo-imap4-status-callback-data'.
473 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
474 `elmo-imap4-status-callback-data' as nil.
475 (elmo-imap4-server-diff): Ditto.
476 (elmo-imap4-server-diff-async-callback-1): New function.
477 (elmo-imap4-server-diff-async): Ditto.
478 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
480 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
482 * elmo-util.el (elmo-list-delete): Doc fix.
483 (elmo-delete-lists): Abolish.
484 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
485 instead of `elmo-delete-lists'.
487 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
489 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
492 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
494 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
495 `elmo-imap4-literal-subr'.
496 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
497 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
499 2000-09-15 Kenichi OKADA <okada@opaopa.org>
501 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
502 (elmo-archive-list-folder): Fix.
503 (elmo-archive-max-of-folder): Fix.
505 2000-09-15 Kenichi OKADA <okada@opaopa.org>
507 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
508 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
509 (elmo-localdir-append-msg): Ditto.
510 (elmo-localdir-list-folder): Fix for `nonsort'.
511 (elmo-localdir-list-folder-subr): Fix for `killed'.
512 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
513 (elmo-maildir-list-folder-subr): Ditto.
514 * elmo-archive.el (elmo-archive-list-folder): Ditto.
515 (elmo-archive-list-folder-subr): Ditto.
516 * elmo-internal.el (elmo-internal-list-folder): Ditto.
517 (elmo-internal-list-folder-subr): Ditto.
519 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
521 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
523 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
525 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
527 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
529 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
530 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
532 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
534 (elmo-imap4-read-part): Use "body.peek" to fetch part.
535 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
537 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
539 * mmelmo-imap4-2.el (mime-entity-children): Defined.
541 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
542 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
543 before STORE command.
545 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
547 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
549 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
550 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
552 (elmo-imap4-list-folders): Removed unused local variable.
553 (elmo-network-initialize-session): Ditto.
554 (elmo-imap4-delete-msg-by-id): Ditto.
555 (elmo-imap4-parse-fetch): Ditto.
556 (elmo-imap4-copy-msgs): Ditto.
557 Use `dst-spec' instead of `dst-folder'.
558 (elmo-network-authenticate-session): Check authenticate type `plain'.
560 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
562 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
564 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
565 `elmo-imap4-response-value'.
566 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
568 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
570 * elmo-imap4.el (elmo-imap4-send-command):
571 Cause elmo-imap4-bye-error when current response is BYE.
572 (elmo-imap4-arrival-filter): Changed greeting response value.
574 * elmo2.el (elmo-imap4-bye-error): Define.
576 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
577 (elmo-imap4-server-diff): Ditto.
578 (elmo-imap4-response-bye-p): New macro.
579 (elmo-imap4-response-error-text): Get text from BYE response.
580 (elmo-imap4-read-response): Return if BYE response.
581 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
582 (elmo-imap4-folder-exists-p): Ditto.
583 (elmo-imap4-commit): Do nothing when different mailbox is selected.
584 (elmo-imap4-parse-bye): New function.
585 (elmo-imap4-parse-response): Remove needless let.
586 Call `elmo-imap4-parse-bye'.
588 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
590 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
591 the mailbox does not exist.
592 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
594 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
596 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
598 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
600 * elmo-vars.el (elmo-search-mime-charset): Abolished.
602 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
603 (elmo-network-initialize-session-buffer): Defined.
605 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
607 (mmelmo-imap4-get-mime-entity): Rewrite.
609 * elmo2.el (elmo-error): Capitalize error message.
611 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
612 (elmo-network-session-buffer): New macro.
613 (elmo-network-open-session): Use it.
615 * elmo-imap4.el: Rewrite.
617 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
619 * elmo-nntp.el (Toplevel): Require 'elmo-net.
621 2000-08-27 Daiki Ueno <ueno@unixuser.org>
623 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
624 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
625 (elmo-imap4-create-msgdb-from-overview-string): Use
626 `elmo-msgdb-create-overview-from-buffer'.
628 2000-08-26 Daiki Ueno <ueno@unixuser.org>
630 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
631 (elmo-imap4-default-hierarchy-delimiter): New variable.
632 (elmo-imap4-list-folders): Use it.
634 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
636 * elmo-net.el (elmo-network-open-session): Add user and
637 stream-type for process-buffer name.
639 * elmo-pop3.el (elmo-network-initialize-session): Call
642 * elmo-imap4.el (elmo-network-initialize-session):
643 Set current-buffer as an argument for `buffer-disable-undo'.
645 * elmo-pop3.el (elmo-network-close-session): Don't use
648 * elmo-vars.el (elmo-default-pop3-authenticate-type):
649 Set default as 'user.
651 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
653 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
654 and `elmo-imap4-flush-connection'.
656 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
657 (elmo-pop3-get-spec): Assume auth as symbol.
658 (elmo-open-network-stream): Moved to `elmo-net'.
660 * elmo-pop3.el (toplevel): Require 'elmo-net.
661 Define `sasl-cram-md5' to silence byte compilier.
662 (elmo-pop3-connection-cache) Abolished.
663 (elmo-pop3-authenticator-alist) New variable.
664 (elmo-pop3-session): Define.
665 (elmo-pop3-connection-get-process): Abolished.
666 (elmo-pop3-connection-get-buffer): Ditto.
667 (elmo-pop3-close-connection): Ditto.
668 (elmo-pop3-flush-connection): Ditto.
669 (elmo-pop3-get-connection): Ditto.
670 (elmo-pop3-get-session): New function.
671 (Replacement for `elmo-pop3-get-connection').
672 All other related modules are changed.
673 (elmo-network-close-session): Define.
674 (elmo-pop3-send-command): Abolished argument `buffer'.
675 All other related modules are changed.
676 (elmo-pop3-read-response): Likewise.
677 (elmo-pop3-open-connection): Abolished.
678 (elmo-pop3-auth-user): New function.
679 (elmo-pop3-auth-apop): Ditto.
680 (elmo-pop3-auth-cram-md5): Ditto.
681 (elmo-pop3-auth-scram-md5): Ditto.
682 (elmo-pop3-auth-digest-md5): Ditto.
683 (elmo-network-initialize-session): Define.
684 (elmo-network-authenticate-session): Ditto.
685 (elmo-network-setup-session): Ditto.
687 * elmo-imap4.el (toplevel): Require 'elmo-net.
688 (elmo-imap4-session): Define.
689 (elmo-imap4-connection-cache): Abolished.
690 (elmo-imap4-password-key): Ditto.
691 (elmo-imap4-flush-connection): Ditto.
692 (elmo-imap4-get-connection): Ditto.
693 All other related modules are changed.
694 (elmo-imap4-get-session): New function
695 (Replacement for `elmo-imap4-get-connection').
696 (elmo-imap4-read-response): Abolished argument `buffer'.
697 All other related modules are changed.
698 (elmo-imap4-send-command): Likewise.
699 (elmo-imap4-select-folder): Abolished.
700 All other related modules are changed.
701 (elmo-imap4-select-mailbox): New function.
702 (Replacement for `elmo-imap4-select-folder').
703 (elmo-imap4-auth-login): Simplify.
704 (Assume current buffer as process buffer)
705 (elmo-imap4-auth-cram-md5): Ditto.
706 (elmo-imap4-auth-digest-md5): Ditto.
707 (elmo-imap4-login): Ditto.
708 (elmo-imap4-open-connection): Abolished.
709 (elmo-imap4-open-connection-1): Abolished.
710 (elmo-network-initialize-sessoin): Define.
711 (elmo-network-authenticate-session): Ditto.
712 (elmo-network-setup-session): Ditto.
714 * elmo-net.el: New module.
716 2000-08-22 Daiki Ueno <ueno@unixuser.org>
718 * elmo-util.el (elmo-define-error): New function.
720 * elmo2.el (elmo-error): Define.
721 (elmo-open-error): Define.
722 (elmo-authenticate-error): Define.
724 * elmo-imap4.el (elmo-imap4-error): Abolish.
725 (elmo-imap4-error-type): Abolish.
726 (elmo-imap4-error-process): Abolish.
727 (elmo-imap4-error-message): Abolish
728 (elmo-imap4-list-folders): Don't quote lambda.
729 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
730 (elmo-imap4-parse-namespace): Ditto.
731 (elmo-imap4-open-connection): Rewrite.
732 (elmo-imap4-open-connection-1): Simplified (authenticate only).
733 (elmo-imap4-get-connection): Abolish local variable `result'.
735 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
737 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
738 wrong-type-argument error when auth is nil.
740 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
742 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
743 (elmo-default-nntp-stream-type): Ditto.
744 (elmo-default-pop3-stream-type): Ditto.
745 (elmo-network-stream-type-alist): Ditto.
746 (elmo-default-imap4-ssl): Abolished.
747 (elmo-default-nntp-ssl): Ditto.
748 (elmo-default-pop3-ssl): Ditto.
750 * elmo-util.el: (toplevel): Removed needless requires.
751 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
752 (elmo-open-network-stream): Open network stream according to
753 the value of `elmo-network-stream-type-alist'.
754 (elmo-get-network-stream-type): New function.
755 (elmo-network-stream-type-spec-string): New macro.
756 (elmo-network-stream-type-symbol): Ditto.
757 (elmo-network-stream-type-function): Ditto.
759 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
760 network-stream-type. All other related portions are changed.
761 (elmo-pop3-open-connection): Ditto.
763 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
764 network-stream-type. All other related portions are changed.
766 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
767 network-stream-type.All other related portions are changed.
768 (elmo-imap4-error): New macro.
769 (elmo-imap4-error-type): Ditto.
770 (elmo-imap4-error-process): Ditto.
771 (elmo-imap4-error-message): Ditto.
772 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
773 (elmo-imap4-auth-cram-md5): Ditto.
774 (elmo-imap4-auth-digest-md5): Ditto.
775 (elmo-imap4-login): Ditto.
776 (elmo-imap4-open-connection): Remove password entry if authentication
778 (elmo-imap4-user-at-host): Abolished.
779 (elmo-imap4-password-key): New buffer local variable.
780 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
781 using protocol, port, auth and stream-type.
783 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
785 2000-08-13 Daiki Ueno <ueno@unixuser.org>
787 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
789 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
791 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
792 (elmo-imap4-authenticator-alist): New variable.
793 (elmo-imap4-open-connection-1): Rename from
794 elmo-imap4-open-connection.
795 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
796 only wraps elmo-imap4-open-connection-1.
797 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
799 (elmo-imap4-auth-login): New function.
800 (elmo-imap4-auth-cram-md5): New function.
801 (elmo-imap4-auth-digest-md5): New function.
802 (elmo-imap4-login): New function.
804 2000-08-12 Kenichi OKADA <okada@opaopa.org>
806 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
809 2000-08-12 Kenichi OKADA <okada@opaopa.org>
811 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
813 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
815 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
817 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
819 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
820 for server responses, quote `*' regardless of where it appears.
822 2000-08-03 Kenichi OKADA <okada@opaopa.org>
824 * elmo-maildir.el (elmo-maildir-commit): New alias.
826 2000-08-03 Kenichi OKADA <okada@opaopa.org>
828 * elmo-util.el (elmo-display-progress):
829 Use `progress-feedback-with-label'.
831 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
833 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
834 (elmo-imap4-non-atom-char-regex): Ditto.
835 (elmo-imap4-non-text-char-regex): Ditto.
836 (elmo-imap4-literal-threshold): Ditto.
837 (elmo-imap4-atom-p): New function.
838 (elmo-imap4-quotable-p): Ditto.
839 (elmo-imap4-nil): Ditto.
840 (elmo-imap4-atom): Ditto.
841 (elmo-imap4-quoted): Ditto.
842 (elmo-imap4-literal-subr): Ditto.
843 (elmo-imap4-literal): Ditto.
844 (elmo-imap4-buffer-literal): Ditto.
845 (elmo-imap4-string-subr): Ditto.
846 (elmo-imap4-string): Ditto.
847 (elmo-imap4-buffer-string): Ditto.
848 (elmo-imap4-astring-subr): Ditto.
849 (elmo-imap4-astring): Ditto.
850 (elmo-imap4-buffer-astring): Ditto.
851 (elmo-imap4-nstring): Ditto.
852 (elmo-imap4-buffer-nstring): Ditto.
853 (elmo-imap4-mailbox): New alias.
854 (elmo-imap4-field-body): Ditto.
855 (elmo-imap4-userid): Ditto.
856 (elmo-imap4-password): Ditto.
857 (elmo-imap4-format-quoted): New function.
858 (elmo-imap4-send-command): Rewritten. Accept a list of command
859 arguments and handle "atom", "quoted" and "literal" string here.
860 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
861 `elmo-imap4-send-command'.
862 (elmo-imap4-folder-exists-p): Likewise.
863 (elmo-imap4-create-folder): Likewise.
864 (elmo-imap4-delete-folder): Likewise.
865 (elmo-imap4-rename-folder): Likewise.
866 (elmo-imap4-max-of-folder): Likewise.
867 (elmo-imap4-check-validity): Likewise.
868 (elmo-imap4-sync-validity): Likewise.
869 (elmo-imap4-server-diff): Likewise.
870 (elmo-imap4-select-folder): Likewise.
871 (elmo-imap4-copy-msgs): Likewise.
872 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
873 (elmo-imap4-mark-set-on-msgs): Likewise.
874 (elmo-imap4-read-part): Likewise.
875 (elmo-imap4-read-msg): Likewise.
876 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
877 `elmo-imap4-password' for `elmo-imap4-send-command'.
878 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
879 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
880 `elmo-imap4-buffer-literal'.
881 (elmo-imap4-append-msg): Likewise.
883 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
884 `delete' for removing dead connection from the connection cache.
885 Move deletion of the process buffer after that.
886 (elmo-imap4-list): Change `defsubst' to `defun'.
887 (elmo-imap4-commit): Make error message verbose.
888 (elmo-imap4-search): Ditto.
889 (elmo-imap4-list): Ditto.
890 (elmo-imap4-select-folder): Ditto.
891 (elmo-imap4-copy-msgs): Ditto.
892 (elmo-imap4-delete-msg-by-id): Ditto.
893 (elmo-imap4-append-msg-by-id): Ditto.
894 (elmo-imap4-append-msg): Ditto.
896 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
898 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
899 when dired is used on XEmacs.
901 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
903 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
905 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
906 `elmo-plugged-p' directly.
907 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
908 of `elmo-plugged-p' directly.
910 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
911 Eliminate unused variable. Use `memq' for checking a process status.
912 Use `cons' instead of `append' for updating the connection cache.
913 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
914 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
916 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
918 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
919 `elmo-imap4-read-point' exactly.
921 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
922 the local variable `folder' to `mailbox'.
923 Rename the argument `fld' to `folder'.
925 2000-07-20 Kenichi OKADA <okada@opaopa.org>
927 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
928 * elmo-imap4.el (elmo-imap4-commit): Ditto.
930 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
932 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
933 (elmo-pop3-number-uidl-hash): New buffer-local variable.
934 (elmo-pop3-uidl-number-hash): Ditto.
935 (elmo-pop3-size-hash): Ditto.
936 (elmo-pop3-uidl-done): Ditto.
937 (elmo-pop3-list-done): Ditto.
938 (elmo-pop3-connection-get-process): New defmacro.
939 (elmo-pop3-connection-get-buffer): Ditto.
940 (elmo-pop3-close-connection): Delete buffer and process.
941 (elmo-pop3-flush-connection): Don't delete buffer and process.
942 (elmo-pop3-get-connection): Added optional argument `if-exists'.
943 Setup UIDL and size hash.
944 (elmo-pop3-send-command-no-erase): Deleted
945 (elmo-pop3-send-command): Added optional argument `no-erase'.
946 (elmo-pop3-parse-uidl-response): New function.
947 (elmo-pop3-parse-list-response): Set size hash.
948 (elmo-pop3-list-location): New function.
949 (elmo-pop3-list-by-uidl-subr): Ditto.
950 (elmo-pop3-list-by-list): Ditto.
951 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
952 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
953 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
954 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
955 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
957 (elmo-pop3-uidl-to-number): New function.
958 (elmo-pop3-number-to-uidl): Ditto.
959 (elmo-pop3-number-to-size): Ditto.
960 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
961 Set number by use of uidl.
962 (elmo-pop3-msgdb-create-message): Likewise.
963 Set size, loc-alist in msgdb.
964 (elmo-pop3-read-msg): Set number by use of uidl.
965 Added optional argument `msgdb'.
966 (elmo-pop3-delete-msg): Ditto.
967 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
968 (elmo-pop3-commit): Close connection.
970 * elmo-pipe.el (elmo-pipe-max-of-folder):
971 Bind `elmo-pop3-use-uidl' as nil.
972 (elmo-pipe-drain): Ditto.
975 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
976 (elmo-msgdb-overview-entity-set-size): New defsubst.
978 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
980 * elmo-vars.el (elmo-use-killed-list): New variable
981 (Renamed from `elmo-nntp-use-killed-list').
982 (elmo-nntp-use-killed-list): Eliminated.
984 * elmo-msgdb.el (elmo-msgdb-expand-path):
985 Changed expanding msgdb path for elmo-multi.
987 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
988 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
989 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
990 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
991 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
992 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
993 (toplevel): Deleted time-stamp line.
995 * elmo2.el (elmo-clear-killed ): Defined as function
996 (Abolished defining as a backend function).
997 All other related modules are changed.
999 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
1001 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
1003 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
1005 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
1007 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1009 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
1011 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
1013 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
1014 asynchronous folder check.
1016 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
1018 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
1019 `elmo-nntp-use-killed-list'.
1020 (elmo-nntp-list-folder): Use killed list.
1021 (elmo-nntp-max-of-folder): Ditto.
1022 (elmo-nntp-msgdb-create): Set killed list.
1024 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
1026 * elmo2.el (elmo-clear-killed): New backend function.
1027 All other related modules are changed.
1029 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
1031 * elmo-util.el (elmo-imap4-spec-folder): Use
1032 `elmo-imap4-spec-mailbox'; Mark as obsolete.
1033 All callers changed.
1035 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
1037 * mmelmo-2.el (initialize-instance):
1038 Use `mime-buffer-entity-buffer-internal' instead of
1039 `mime-entity-buffer'.
1041 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
1042 (mime-entity-body): Implemented.
1043 (mime-goto-header-start-point): Deleted.
1044 (mime-goto-body-end-point): Ditto.
1045 (mime-entity-point-min): Ditto.
1046 (mime-entity-point-max): Ditto.
1047 (mime-entity-children): Ditto.
1048 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
1049 instead of `mime-entity-buffer'.
1050 (mime-entity-header-buffer): Ditto.
1051 (mime-entity-body-buffer): Ditto.
1052 (mime-write-entity-content): Ditto.
1054 * pldap.el (ldap-static-if): New macro.
1055 (toplevel): Use it instead of `static-if'.
1057 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
1059 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
1060 included in `attrs' argument.
1062 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
1064 * elmo-util.el (elmo-get-passwd): Use old backquote style.
1066 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
1067 (ldap-ldif-safe-init-char-regexp): Ditto.
1068 (ldap-ldif-safe-string-regexp): Ditto.
1069 (ldap/ldif-safe-string-p): New macro.
1070 (ldap/ldif-insert-field): Ditto.
1071 (ldap-modify): Use it.
1073 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
1074 (ldap-decode-attribute): Decode only when `attr' is consp.
1075 (ldap-delete): Bind `ret'.
1076 (toplevel): Require 'cl at compile time.
1077 Removed (require 'poe) and (require 'std11).
1078 (pldap-version): Eliminated.
1079 (ldap-search-basic): Removed auth and dn binding.
1080 (ldap-ldif-field-name-regexp): New constant.
1081 (ldap-ldif-field-head-regexp): Ditto.
1082 (ldap-ldif-next-field-head-regexp): Ditto.
1083 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
1084 (ldap/field-end): New function.
1085 (ldap/field-body): Use it.
1086 (ldap/collect-field): Ditto.
1087 (ldap-search-basic): Use `ldap/field-body'.
1089 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
1091 * pldap.el (ldap-default-attribute-encoder): New user option.
1092 (ldap/field-body): Decode base64 string.
1093 (ldap/collect-field): Ditto.
1094 (ldap-encode-attribute): New function.
1095 (ldap-add-entries): Use it.
1096 (ldap-modify-entries): Ditto.
1097 (ldap-search-entries): Enclosed decoding function with
1098 `with-temp-buffer' and set as unibyte.
1099 (ldap-search-basic): Set process buffer as unibyte.
1101 * elmo-util.el (elmo-folder-identical-system-p):
1102 Eliminated name space checking.
1104 * pldap.el: New module.
1105 toplevel: Changed condition to detect built-in ldap feature.
1106 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
1107 (ldap-add): Added error handling.
1108 (ldap-modify): Ditto.
1109 (ldap-delete): Ditto.
1111 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
1113 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
1114 Initialize local variables with `let'. Inline a temporary
1115 variable for the progress percentage. Sort `setq' to reduce
1116 function call in the while-loop.
1118 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
1119 into the conditional branch.
1121 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
1123 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
1124 Move a conditional out of the while-loop.
1126 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1128 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
1129 elmo-msgdb-overview-get-entity-by-number.
1130 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
1133 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
1135 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
1136 the local variable for a packed number self descriptively.
1138 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1140 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
1141 * elmo-localdir.el (elmo-localdir-pack-number): Use
1142 `elmo-msgdb-overview-get-entity' instead of
1143 `elmo-msgdb-overview-get-entity-by-number'.
1144 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
1145 (elmo-msgdb-search-overview-entity): Removed.
1146 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
1147 by message-id or number.
1148 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
1149 instead of `elmo-msgdb-overview-get-entity-by-number'.
1151 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1153 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
1154 non-nil, use hash table for overview.
1155 (elmo-hash-maximum-size): New variable.
1156 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
1157 (elmo-msgdb-make-overview-hashtb): New function.
1158 (elmo-msgdb-clear-overview-hashtb): New function.
1159 (elmo-clear-hash-val): New macro.
1160 All other related modules are changed.
1162 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
1164 * elmo2.el (elmo-move-msgs): If there's other message with
1165 same message-id, don't use cache.
1167 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
1169 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
1170 number is already packed.
1172 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
1174 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
1176 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1178 * elmo-vars.el (elmo-display-progress-threshold): New variable.
1179 All other related modules are changed.
1181 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
1183 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
1184 of refiling failure on Maildir.
1186 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1188 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
1189 decoded mime-charset with cache.
1190 (elmo-msgdb-overview-entity-get-from): Ditto.
1191 (elmo-msgdb-overview-entity-get-subject): Ditto.
1192 * elmo-vars.el (elmo-use-decoded-cache): New variable.
1194 2000-05-10 Kenichi OKADA <okada@opaopa.org>
1196 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
1197 (elmo-remove-passwd): Fill password with 0 before erase.
1198 * elmo-vars.el (elmo-passwd-life-time): New variable.
1201 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
1203 * elmo-cache.el (elmo-buffer-cache-add):
1204 Set message cache buffer as unibyte.
1206 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1208 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
1211 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
1213 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
1214 when display is finished.
1215 (elmo-nntp-msgdb-create): Ditto.
1216 (elmo-nntp-groups-read-response): Ditto.
1217 (elmo-nntp-retrieve-headers): Ditto.
1218 (elmo-nntp-msgdb-create-message): Ditto.
1219 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1220 (elmo-pop3-msgdb-create-message): Ditto.
1222 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1224 * elmo-maildir.el (elmo-maildir-msgdb-create):
1225 Use `elmo-msgdb-sort-by-date'.
1227 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
1229 * elmo2.el (elmo-read-msg-no-cache):
1230 Eliminated arguments after `outbuf'.
1231 Don't use cache even if it exists.
1232 (elmo-read-msg): Don't pass arguments after `outbuf' to
1233 `elmo-read-msg-no-cache'.
1235 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1237 * elmo-archive.el (elmo-archive-list-folders):
1238 Use `file-name-directory' if base folder does not exist.
1240 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
1242 * elmo-archive.el (elmo-archive-list-folders): Don't use
1243 `file-name-directory'.
1245 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
1247 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
1248 If `force' is non-nil, try flushing all operation queues.
1250 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1252 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
1255 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1257 * elmo-util.el (elmo-display-progress): Fixed.
1259 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1261 * elmo-util.el (elmo-display-progress): New function.
1262 All other related modules are changed.