1 2000-10-17 Kenichi OKADA <okada@opaopa.org>
3 * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
4 * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
5 * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
6 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7 * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
8 * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
10 2000-10-17 Akihiro MOTOKI <motoki@da.jp.nec.com>
12 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
15 2000-10-17 Yuuichi Teranishi <teranisi@gohome.org>
17 * elmo-version.el (elmo-version): Up to 2.3.90.
19 * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
20 (elmo-imap4-list-folder-important): Ditto.
22 2000-10-16 Kenichi OKADA <okada@opaopa.org>
24 * elmo-nntp.el (elmo-network-initialize-session): Fix.
26 2000-10-16 Kenichi OKADA <okada@opaopa.org>
28 * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
30 2000-10-15 Kenichi OKADA <okada@opaopa.org>
32 * elmo-nntp.el (elmo-network-initialize-session):
33 Add starttls negotiation.
35 2000-10-15 Masahiro MURATA <muse@ba2.so-net.ne.jp>
37 * elmo-nntp.el (elmo-network-initialize-session): Read greeting
39 (elmo-network-setup-session): Define.
40 Call `elmo-nntp-send-mode-reader' when session opened.
42 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
44 * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
46 2000-10-13 OKAZAKI Tetsurou <okazaki@be.to>
48 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
49 an invalid SPACE character ahead of `SEARCH' command. Move
50 a valid SPACE character following `SEARCH' from conditional
51 `format' arguments to control-strings.
53 2000-10-13 Yuuichi Teranishi <teranisi@gohome.org>
55 * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
58 * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
60 2000-10-12 Yuuichi Teranishi <teranisi@gohome.org>
62 * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
63 `w32-get-true-file-link-count' as t.
65 * elmo-imap4.el (elmo-imap4-read): Abolished.
66 (Renamed to `elmo-read' and moved to elmo-util.el)
67 All other related portions are changed.
69 * elmo-util.el (elmo-read): New function.
70 (elmo-condition-parse-search-value): Use it.
72 2000-10-11 Yuuichi Teranishi <teranisi@gohome.org>
74 * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
76 * elmo-nntp.el (elmo-nntp-session): Define.
77 (elmo-nntp-setting): Abolished.
78 All other related portions are changed.
79 (elmo-nntp-get-server-command): Changed argument.
80 (elmo-nntp-set-server-command): Ditto.
81 (elmo-nntp-xover-p): Ditto.
82 (elmo-nntp-set-xover): Ditto.
83 (elmo-nntp-listgroup-p): Ditto.
84 (elmo-nntp-set-listgroup): Ditto.
85 (elmo-nntp-list-active-p): Ditto.
86 (elmo-nntp-set-list-active): Ditto.
87 (elmo-nntp-xhdr-p): Ditto.
88 (elmo-nntp-set-xhdr): Ditto.
89 (elmo-nntp-flush-connection): Abolished.
90 (elmo-nntp-get-connection): Abolished.
91 (elmo-nntp-get-session): New function.
92 (elmo-network-initialize-session): Defined.
93 (elmo-network-authenticate-session): Ditto.
94 (elmo-nntp-send-mode-reader): Changed argument.
95 (elmo-nntp-send-command): Changed argument.
96 All other related portions are changed.
97 (elmo-nntp-read-response): Ditto.
98 (elmo-nntp-read-raw-response): Ditto.
99 (elmo-nntp-read-contents): Ditto.
100 (elmo-nntp-read-body): Ditto.
101 (elmo-nntp-goto-folder): Abolished.
102 (elmo-nntp-select-group): New function.
103 All other related portions are changed.
104 (This function substitutes `elmo-nntp-goto-folder')
105 (elmo-nntp-msgdb-create-by-header): Rewrite.
106 (elmo-nntp-get-overview): Eliminated.
107 (elmo-nntp-get-message): Ditto.
108 (elmo-nntp-open-connection) Abolished.
109 (elmo-nntp-read-msg): Rewrite.
110 (elmo-nntp-post): Ditto.
111 (elmo-nntp-send-data): Abolished.
112 (elmo-nntp-send-buffer): New function.
113 (elmo-nntp-send-data-line): Define as inline function.
114 (elmo-nntp-get-folders-info-prepare): Use session as key.
115 (elmo-nntp-groups-read-response): Changed argument.
116 (elmo-nntp-retrieve-headers): Ditto.
117 (elmo-nntp-msgdb-create-message): Ditto.
119 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
120 when searching by 'since' or 'before'.
122 2000-10-11 TAKAHASHI Kaoru <kaoru@kaisei.org>
124 * elmo-version.el (toplevel): Use product-version-as-string for set
125 verstion-string, if defined.
127 2000-10-11 OKAZAKI Tetsurou <okazaki@be.to>
129 * elmo-util.el: Doc fixes.
131 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
133 * elmo-archive.el (toplevel): Use product-provide.
134 * elmo-cache.el (toplevel): Ditto.
135 * elmo-database.el (toplevel): Ditto.
136 * elmo-date.el (toplevel): Ditto.
137 * elmo-dop.el (toplevel): Ditto.
138 * elmo-filter.el (toplevel): Ditto.
139 * elmo-imap4.el (toplevel): Ditto.
140 * elmo-internal.el (toplevel): Ditto.
141 * elmo-localdir.el (toplevel): Ditto.
142 * elmo-localnews.el (toplevel): Ditto.
143 * elmo-maildir.el (toplevel): Ditto.
144 * elmo-msgdb.el (toplevel): Ditto.
145 * elmo-multi.el (toplevel): Ditto.
146 * elmo-net.el (toplevel): Ditto.
147 * elmo-nntp.el (toplevel): Ditto.
148 * elmo-pipe.el (toplevel): Ditto.
149 * elmo-pop3.el (toplevel): Ditto.
150 * elmo-util.el (toplevel): Ditto.
151 * elmo-vars.el (toplevel): Ditto.
152 * elmo2.el (toplevel): Ditto.
153 * mmelmo-1.el (toplevel): Ditto.
154 * mmelmo-2.el (toplevel): Ditto.
155 * mmelmo-imap4-1.el (toplevel): Ditto.
156 * mmelmo-imap4-2.el (toplevel): Ditto.
157 * mmelmo-imap4.el (toplevel): Ditto.
158 * mmelmo.el (toplevel): Ditto.
160 2000-10-10 Kenichi OKADA <okada@opaopa.org>
162 * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
163 (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
165 2000-10-10 Yuuichi Teranishi <teranisi@gohome.org>
167 * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
169 (elmo-multi-split-number-alist): Ditto.
171 2000-10-10 TAKAHASHI Kaoru <kaoru@kaisei.org>
173 * elmo-version.el: New file. Use product.el.
174 * elmo2.el: Add (require 'elmo-version).
175 * elmo-vars.el (elmo-appname, elmo-version): Move to
178 2000-10-09 Yuuichi Teranishi <teranisi@gohome.org>
180 * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
181 `elmo-msgdb-expand-path'.
182 (elmo-msgdb-load): Ditto.
183 Abolished 2nd argument. If 1st argument is not string, treat as spec.
184 (elmo-generic-list-folder-unread): Rewrite.
185 (elmo-generic-list-folder-important): Changed argument.
186 (elmo-list-folder-unread): Ditto.
187 (elmo-list-folder-important): Ditto.
188 (elmo-folder-diff): Rewrite.
189 (elmo-generic-folder-diff): New function.
190 (elmo-multi-get-number-alist-list): Abolished
191 (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
192 (elmo-multi-folder-diff): Moved to elmo-multi.el
193 (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
195 * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
196 `elmo-msgdb-expand-path'.
197 (elmo-pop3-msgdb-create-as-numlist): Ditto.
198 (elmo-pop3-read-msg): Ditto.
199 (elmo-pop3-delete-msgs): Ditto.
200 (elmo-pop3-folder-diff): New alias.
202 * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
203 `elmo-msgdb-expand-path'.
204 (elmo-pipe-list-folder-unread): Changed arguments.
205 (elmo-pipe-list-folder-important): Ditto.
206 (elmo-pipe-folder-diff): New alias.
208 * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
209 `elmo-msgdb-expand-path'.
210 (elmo-nntp-max-of-folder): Ditto.
211 (elmo-nntp-msgdb-create): Ditto.
212 (elmo-nntp-delete-msgs): Ditto.
213 (elmo-nntp-folder-diff): New alias.
215 * elmo-multi.el (elmo-multi-folder-diff): New function.
216 (elmo-multi-split-mark-alist): Ditto.
217 (elmo-multi-split-number-alist): Ditto.
218 (elmo-multi-mark-alist-list): Abolished (Renamed to
219 elmo-multi-split-mark-alist).
220 (elmo-multi-list-folder-unread): Rewrite.
221 (elmo-multi-list-folder-important): Ditto.
222 (elmo-multi-list-folder): Set `spec' as 1st argument for
223 `elmo-msgdb-expand-path'.
224 (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
225 instead of `elmo-multi-get-number-alist-list'.
227 * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
228 If 1st argument is not string, treat as spec.
229 (elmo-list-folder-by-location): Set `spec' as 1st argument for
230 `elmo-msgdb-expand-path'.
231 (elmo-msgdb-flist-load): Ditto.
232 (elmo-msgdb-flist-save): Ditto.
233 (elmo-msgdb-delete-path): Ditto.
234 (elmo-msgdb-rename-path): Ditto.
236 * elmo-maildir.el (elmo-maildir-set-mark-msgs):
237 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
238 (elmo-maildir-delete-mark-msgs): Ditto.
239 (elmo-maildir-msgdb-create): Ditto.
240 (elmo-maildir-read-msg): Ditto.
241 (elmo-maildir-delete-msgs): Ditto.
242 (elmo-maildir-list-folder-subr): Ditto.
243 (elmo-maildir-search): Ditto.
244 (elmo-maildir-get-msg-filename): Ditto.
245 (elmo-maildir-pack-number): Ditto.
246 (elmo-maildir-folder-diff): New alias.
248 * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
250 * elmo-localdir.el (elmo-localdir-list-folder-subr):
251 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
252 (elmo-localdir-folder-diff): New alias.
254 * elmo-internal.el (elmo-internal-list-folder-subr):
255 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
256 (elmo-internal-list-folder-by-location): Ditto.
257 (elmo-internal-msgdb-create): Ditto.
258 (elmo-internal-delete-msgs): Ditto.
259 (elmo-internal-read-msg): Ditto.
260 (elmo-internal-folder-diff): New alias.
262 * elmo-imap4.el (elmo-imap4-folder-diff): New function.
263 (elmo-imap4-list-folder): Set `spec' as 1st argument for
264 `elmo-msgdb-expand-path'.
265 (elmo-imap4-list-folder-unread): Changed arguments.
266 (elmo-imap4-list-folder-important): Ditto.
268 * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
269 (elmo-filter-list-folder-important): Ditto.
270 (elmo-filter-folder-diff): New function.
272 * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
274 * elmo-cache.el (elmo-cache-list-folder):
275 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
276 (elmo-cache-copy-msgs): Ditto.
277 (elmo-cache-folder-diff): New alias.
279 * elmo-archive.el (elmo-archive-list-folder-subr):
280 Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
281 (elmo-archive-get-archive-name): Ditto.
282 (elmo-archive-create-file): Ditto.
283 (elmo-archive-append-msg): Ditto.
284 (elmo-archive-copy-msgs): Ditto.
285 (elmo-archive-copy-msgs-froms): Ditto.
286 (elmo-archive-get-msg-filename): Ditto.
287 (elmo-archive-folder-diff): New alias.
289 2000-10-06 Daiki Ueno <ueno@unixuser.org>
291 * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
292 (elmo-pop3-stream-type-alist): New variable.
293 (elmo-nntp-stream-type-alist): New variable.
295 * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
296 (elmo-kill-buffer): Ditto.
297 (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
298 (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
299 (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
300 (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
301 (elmo-imap4-get-spec): Take into account
302 `elmo-imap4-stream-type-alist'.
304 2000-10-06 Kenichi OKADA <okada@opaopa.org>
306 * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
307 (elmo-nntp-list-folders-get-cache): Ditto.
309 2000-10-05 Yuuichi Teranishi <teranisi@gohome.org>
311 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
312 character before 'uid'.
314 2000-10-04 Yuuichi Teranishi <teranisi@gohome.org>
316 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
318 * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
320 * elmo-util.el (elmo-number-set-member): New function.
321 (elmo-number-set-append-list): Ditto.
322 (elmo-number-set-append): Ditto.
324 * elmo-msgdb.el (elmo-msgdb-killed-message-p):
325 Use `elmo-number-set-member'.
326 (elmo-living-messages): Ditto.
327 (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
328 (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
330 * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
331 (elmo-imap4-add-to-cont-list): Abolished.
332 (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
333 instead of elmo-imap4-add-to-cont-list.
335 * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
336 (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
338 * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
340 2000-10-03 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
342 * elmo-util.el (elmo-condition-parse-search-value):
345 2000-10-03 Yuuichi Teranishi <teranisi@gohome.org>
347 * elmo-util.el (elmo-condition-find-key-internal): New function.
348 (elmo-condition-find-key): Ditto.
350 * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
351 (elmo-msgdb-search-internal): Ditto.
352 (elmo-msgdb-search): Ditto.
354 2000-10-02 Yuuichi Teranishi <teranisi@gohome.org>
356 * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
357 (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
359 * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
360 (elmo-nntp-search-primitive): Fixed problem when condition is
363 * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
365 * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
366 (elmo-nntp-xhdr-p): New macro.
367 (elmo-nntp-set-xhdr): Ditto.
368 (elmo-nntp-parse-xhdr-response): New function.
369 (elmo-nntp-retrieve-field): Ditto.
370 (elmo-nntp-search-primitive): Ditto.
371 (elmo-nntp-search): Implemented.
373 * elmo-date.el (elmo-date-make-sortable-string): New macro.
375 * elmo-archive.el (elmo-archive-search): Set all number list to
376 `elmo-archive-field-condition-match'
378 * elmo-localdir.el (elmo-localdir-search): Likewise.
380 * elmo-maildir.el (elmo-maildir-search): Likewise.
382 2000-10-01 OKAZAKI Tetsurou <okazaki@be.to>
384 * elmo-msgdb.el (elmo-living-messages): New function.
385 * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
386 * elmo-cache.el (elmo-cache-list-folder): Ditto.
387 * elmo-dop.el (elmo-dop-list-folder): Ditto.
388 * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
389 * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
390 * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
391 * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
392 * elmo-multi.el (elmo-multi-list-folder): Ditto.
393 * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
394 * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
395 * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
397 2000-09-29 Yuuichi Teranishi <teranisi@gohome.org>
399 * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
401 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
403 * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
405 * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
406 arguments for `SEARCH' command.
407 (elmo-imap4-parse-string): Set `POS' argument for char-after.
408 All other related portions are changed.
410 * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
412 * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
413 (elmo-list-folder-unread): Rewrite.
414 (elmo-list-folder-important): Ditto.
416 * elmo-util.el (elmo-filter-get-spec): Rewrite.
417 (elmo-condition-parse-error): New inline function.
418 (elmo-read-search-condition): New function.
419 (elmo-read-search-condition-internal): Ditto.
420 (elmo-parse-search-condition): Rewrite.
421 (elmo-condition-parse): New function.
422 (elmo-condition-parse-or-expr): Ditto.
423 (elmo-condition-parse-and-expr): Ditto.
424 (elmo-condition-parse-primitive): Ditto.
425 (elmo-condition-parse-search-value): Ditto.
426 (elmo-buffer-field-primitive-condition-match): Ditto.
427 (elmo-buffer-field-condition-match): Rewrite.
428 (elmo-file-field-condition-match): Ditto.
430 * elmo-msgdb.el (elmo-msgdb-expand-path): Use
431 `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
433 * elmo-internal.el (elmo-internal-search): Set `number' and
434 `number-list' argument of `elmo-file-field-condition-match'.
436 * elmo-maildir.el (elmo-maildir-search): Ditto.
438 * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
439 `msgdb' as argument instead of `mark-alist'.
440 (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
443 * elmo-multi.el: Likewise.
445 * elmo-pipe.el: Likewise.
447 * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
448 (elmo-imap4-search-internal): Rewrite.
449 (elmo-imap4-search): Ditto.
451 * elmo-filter.el (elmo-filter-list-folder): Rewrite.
452 (elmo-filter-list-folder-unread): Ditto.
453 (elmo-filter-list-folder-important): Ditto.
454 (elmo-filter-search): Rewrite.
456 * elmo-cache.el (elmo-cache-search-all): Set `number' and
457 `number-list' argument of `elmo-file-field-condition-match'.
458 (elmo-cache-search): Ditto.
460 * elmo-localdir.el: Likewise.
462 * elmo-archive.el (elmo-archive-field-condition-match): Added argument
463 number-list and pass it to `elmo-buffer-field-condition-match'.
464 (elmo-archive-field-condition-match): Pass `number-list' to
465 `elmo-archive-field-condition-match'
467 2000-09-25 Yuuichi Teranishi <teranisi@gohome.org>
469 * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
472 * elmo2.el (elmo-folder-diff-async-callback): New variable.
473 (elmo-folder-diff-async-callback-data): Ditto.
474 (elmo-folder-diff-async): New function.
476 * elmo-net.el (elmo-network-session-name-prefix): New variable.
477 (elmo-network-session-cache-key): Use it as a prefix of the session
479 (elmo-network-open-session): Ditto.
481 * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
482 (elmo-imap4-status-callback-data): Ditto.
483 (elmo-imap4-server-diff-async-callback): New variable.
484 (elmo-imap4-server-diff-async-callback-data): Ditto.
485 (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
486 `elmo-imap4-status-callback-data'.
487 (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
488 `elmo-imap4-status-callback-data' as nil.
489 (elmo-imap4-server-diff): Ditto.
490 (elmo-imap4-server-diff-async-callback-1): New function.
491 (elmo-imap4-server-diff-async): Ditto.
492 (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
494 2000-09-24 OKAZAKI Tetsurou <okazaki@be.to>
496 * elmo-util.el (elmo-list-delete): Doc fix.
497 (elmo-delete-lists): Abolish.
498 * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
499 instead of `elmo-delete-lists'.
501 2000-09-19 Yuuichi Teranishi <teranisi@gohome.org>
503 * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
506 2000-09-18 OKAZAKI Tetsurou <okazaki@be.to>
508 * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
509 `elmo-imap4-literal-subr'.
510 (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
511 (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
513 2000-09-15 Kenichi OKADA <okada@opaopa.org>
515 * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
516 (elmo-archive-list-folder): Fix.
517 (elmo-archive-max-of-folder): Fix.
519 2000-09-15 Kenichi OKADA <okada@opaopa.org>
521 * elmo-localdir.el (elmo-localdir-copy-msgs): Use
522 `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
523 (elmo-localdir-append-msg): Ditto.
524 (elmo-localdir-list-folder): Fix for `nonsort'.
525 (elmo-localdir-list-folder-subr): Fix for `killed'.
526 * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
527 (elmo-maildir-list-folder-subr): Ditto.
528 * elmo-archive.el (elmo-archive-list-folder): Ditto.
529 (elmo-archive-list-folder-subr): Ditto.
530 * elmo-internal.el (elmo-internal-list-folder): Ditto.
531 (elmo-internal-list-folder-subr): Ditto.
533 2000-09-13 Yuuichi Teranishi <teranisi@gohome.org>
535 * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
537 2000-09-12 Katsumi Yamaoka <yamaoka@jpl.org>
539 * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
541 2000-09-11 Yuuichi Teranishi <teranisi@gohome.org>
543 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
544 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
546 * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
548 (elmo-imap4-read-part): Use "body.peek" to fetch part.
549 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
551 2000-09-06 Yuuichi Teranishi <teranisi@gohome.org>
553 * mmelmo-imap4-2.el (mime-entity-children): Defined.
555 * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
556 Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
557 before STORE command.
559 2000-09-04 Yuuichi Teranishi <teranisi@gohome.org>
561 * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
563 * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
564 (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
566 (elmo-imap4-list-folders): Removed unused local variable.
567 (elmo-network-initialize-session): Ditto.
568 (elmo-imap4-delete-msg-by-id): Ditto.
569 (elmo-imap4-parse-fetch): Ditto.
570 (elmo-imap4-copy-msgs): Ditto.
571 Use `dst-spec' instead of `dst-folder'.
572 (elmo-network-authenticate-session): Check authenticate type `plain'.
574 2000-09-01 Yuuichi Teranishi <teranisi@gohome.org>
576 * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
578 (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
579 `elmo-imap4-response-value'.
580 (elmo-imap4-parse-response): Return value of `EXPUNGE'.
582 2000-08-31 Yuuichi Teranishi <teranisi@gohome.org>
584 * elmo-imap4.el (elmo-imap4-send-command):
585 Cause elmo-imap4-bye-error when current response is BYE.
586 (elmo-imap4-arrival-filter): Changed greeting response value.
588 * elmo2.el (elmo-imap4-bye-error): Define.
590 * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
591 (elmo-imap4-server-diff): Ditto.
592 (elmo-imap4-response-bye-p): New macro.
593 (elmo-imap4-response-error-text): Get text from BYE response.
594 (elmo-imap4-read-response): Return if BYE response.
595 (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
596 (elmo-imap4-folder-exists-p): Ditto.
597 (elmo-imap4-commit): Do nothing when different mailbox is selected.
598 (elmo-imap4-parse-bye): New function.
599 (elmo-imap4-parse-response): Remove needless let.
600 Call `elmo-imap4-parse-bye'.
602 2000-08-30 Yuuichi Teranishi <teranisi@gohome.org>
604 * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
605 the mailbox does not exist.
606 (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
608 2000-08-30 OKAZAKI Tetsurou <okazaki@be.to>
610 * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
612 2000-08-29 Yuuichi Teranishi <teranisi@gohome.org>
614 * elmo-vars.el (elmo-search-mime-charset): Abolished.
616 * elmo-pop3.el (elmo-pop3-local-variables): New variable.
617 (elmo-network-initialize-session-buffer): Defined.
619 * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
621 (mmelmo-imap4-get-mime-entity): Rewrite.
623 * elmo2.el (elmo-error): Capitalize error message.
625 * elmo-net.el (elmo-network-initialize-session-buffer): New method.
626 (elmo-network-session-buffer): New macro.
627 (elmo-network-open-session): Use it.
629 * elmo-imap4.el: Rewrite.
631 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
633 * elmo-nntp.el (Toplevel): Require 'elmo-net.
635 2000-08-27 Daiki Ueno <ueno@unixuser.org>
637 * elmo-imap4.el (elmo-imap4-make-address): Abolish.
638 (elmo-imap4-msgdb-create): Don't request ENVELOPE.
639 (elmo-imap4-create-msgdb-from-overview-string): Use
640 `elmo-msgdb-create-overview-from-buffer'.
642 2000-08-26 Daiki Ueno <ueno@unixuser.org>
644 * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
645 (elmo-imap4-default-hierarchy-delimiter): New variable.
646 (elmo-imap4-list-folders): Use it.
648 2000-08-23 Yuuichi Teranishi <teranisi@gohome.org>
650 * elmo-net.el (elmo-network-open-session): Add user and
651 stream-type for process-buffer name.
653 * elmo-pop3.el (elmo-network-initialize-session): Call
656 * elmo-imap4.el (elmo-network-initialize-session):
657 Set current-buffer as an argument for `buffer-disable-undo'.
659 * elmo-pop3.el (elmo-network-close-session): Don't use
662 * elmo-vars.el (elmo-default-pop3-authenticate-type):
663 Set default as 'user.
665 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
667 * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
668 and `elmo-imap4-flush-connection'.
670 * elmo-util.el (toplevel): Removed workaround for timezone y2k.
671 (elmo-pop3-get-spec): Assume auth as symbol.
672 (elmo-open-network-stream): Moved to `elmo-net'.
674 * elmo-pop3.el (toplevel): Require 'elmo-net.
675 Define `sasl-cram-md5' to silence byte compilier.
676 (elmo-pop3-connection-cache) Abolished.
677 (elmo-pop3-authenticator-alist) New variable.
678 (elmo-pop3-session): Define.
679 (elmo-pop3-connection-get-process): Abolished.
680 (elmo-pop3-connection-get-buffer): Ditto.
681 (elmo-pop3-close-connection): Ditto.
682 (elmo-pop3-flush-connection): Ditto.
683 (elmo-pop3-get-connection): Ditto.
684 (elmo-pop3-get-session): New function.
685 (Replacement for `elmo-pop3-get-connection').
686 All other related modules are changed.
687 (elmo-network-close-session): Define.
688 (elmo-pop3-send-command): Abolished argument `buffer'.
689 All other related modules are changed.
690 (elmo-pop3-read-response): Likewise.
691 (elmo-pop3-open-connection): Abolished.
692 (elmo-pop3-auth-user): New function.
693 (elmo-pop3-auth-apop): Ditto.
694 (elmo-pop3-auth-cram-md5): Ditto.
695 (elmo-pop3-auth-scram-md5): Ditto.
696 (elmo-pop3-auth-digest-md5): Ditto.
697 (elmo-network-initialize-session): Define.
698 (elmo-network-authenticate-session): Ditto.
699 (elmo-network-setup-session): Ditto.
701 * elmo-imap4.el (toplevel): Require 'elmo-net.
702 (elmo-imap4-session): Define.
703 (elmo-imap4-connection-cache): Abolished.
704 (elmo-imap4-password-key): Ditto.
705 (elmo-imap4-flush-connection): Ditto.
706 (elmo-imap4-get-connection): Ditto.
707 All other related modules are changed.
708 (elmo-imap4-get-session): New function
709 (Replacement for `elmo-imap4-get-connection').
710 (elmo-imap4-read-response): Abolished argument `buffer'.
711 All other related modules are changed.
712 (elmo-imap4-send-command): Likewise.
713 (elmo-imap4-select-folder): Abolished.
714 All other related modules are changed.
715 (elmo-imap4-select-mailbox): New function.
716 (Replacement for `elmo-imap4-select-folder').
717 (elmo-imap4-auth-login): Simplify.
718 (Assume current buffer as process buffer)
719 (elmo-imap4-auth-cram-md5): Ditto.
720 (elmo-imap4-auth-digest-md5): Ditto.
721 (elmo-imap4-login): Ditto.
722 (elmo-imap4-open-connection): Abolished.
723 (elmo-imap4-open-connection-1): Abolished.
724 (elmo-network-initialize-sessoin): Define.
725 (elmo-network-authenticate-session): Ditto.
726 (elmo-network-setup-session): Ditto.
728 * elmo-net.el: New module.
730 2000-08-22 Daiki Ueno <ueno@unixuser.org>
732 * elmo-util.el (elmo-define-error): New function.
734 * elmo2.el (elmo-error): Define.
735 (elmo-open-error): Define.
736 (elmo-authenticate-error): Define.
738 * elmo-imap4.el (elmo-imap4-error): Abolish.
739 (elmo-imap4-error-type): Abolish.
740 (elmo-imap4-error-process): Abolish.
741 (elmo-imap4-error-message): Abolish
742 (elmo-imap4-list-folders): Don't quote lambda.
743 (elmo-imap4-create-msgdb-from-overview-string): Ditto.
744 (elmo-imap4-parse-namespace): Ditto.
745 (elmo-imap4-open-connection): Rewrite.
746 (elmo-imap4-open-connection-1): Simplified (authenticate only).
747 (elmo-imap4-get-connection): Abolish local variable `result'.
749 2000-08-21 Kaoru Takahashi <kaoru@kaisei.org>
751 * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
752 wrong-type-argument error when auth is nil.
754 2000-08-21 Yuuichi Teranishi <teranisi@gohome.org>
756 * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
757 (elmo-default-nntp-stream-type): Ditto.
758 (elmo-default-pop3-stream-type): Ditto.
759 (elmo-network-stream-type-alist): Ditto.
760 (elmo-default-imap4-ssl): Abolished.
761 (elmo-default-nntp-ssl): Ditto.
762 (elmo-default-pop3-ssl): Ditto.
764 * elmo-util.el: (toplevel): Removed needless requires.
765 (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
766 (elmo-open-network-stream): Open network stream according to
767 the value of `elmo-network-stream-type-alist'.
768 (elmo-get-network-stream-type): New function.
769 (elmo-network-stream-type-spec-string): New macro.
770 (elmo-network-stream-type-symbol): Ditto.
771 (elmo-network-stream-type-function): Ditto.
773 * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
774 network-stream-type. All other related portions are changed.
775 (elmo-pop3-open-connection): Ditto.
777 * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
778 network-stream-type. All other related portions are changed.
780 * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
781 network-stream-type.All other related portions are changed.
782 (elmo-imap4-error): New macro.
783 (elmo-imap4-error-type): Ditto.
784 (elmo-imap4-error-process): Ditto.
785 (elmo-imap4-error-message): Ditto.
786 (elmo-imap4-auth-login): Use `elmo-imap4-error'.
787 (elmo-imap4-auth-cram-md5): Ditto.
788 (elmo-imap4-auth-digest-md5): Ditto.
789 (elmo-imap4-login): Ditto.
790 (elmo-imap4-open-connection): Remove password entry if authentication
792 (elmo-imap4-user-at-host): Abolished.
793 (elmo-imap4-password-key): New buffer local variable.
794 (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
795 using protocol, port, auth and stream-type.
797 * elmo-dop.el (elmo-dop-list-folder): Use killed list.
799 2000-08-13 Daiki Ueno <ueno@unixuser.org>
801 * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
803 * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
805 * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
806 (elmo-imap4-authenticator-alist): New variable.
807 (elmo-imap4-open-connection-1): Rename from
808 elmo-imap4-open-connection.
809 (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
810 only wraps elmo-imap4-open-connection-1.
811 (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
813 (elmo-imap4-auth-login): New function.
814 (elmo-imap4-auth-cram-md5): New function.
815 (elmo-imap4-auth-digest-md5): New function.
816 (elmo-imap4-login): New function.
818 2000-08-12 Kenichi OKADA <okada@opaopa.org>
820 * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
823 2000-08-12 Kenichi OKADA <okada@opaopa.org>
825 * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
827 2000-08-08 Yuuichi Teranishi <teranisi@gohome.org>
829 * elmo2.el (elmo-move-msgs): Set value of `unseen'.
831 2000-08-06 OKAZAKI Tetsurou <okazaki@be.to>
833 * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
834 for server responses, quote `*' regardless of where it appears.
836 2000-08-03 Kenichi OKADA <okada@opaopa.org>
838 * elmo-maildir.el (elmo-maildir-commit): New alias.
840 2000-08-03 Kenichi OKADA <okada@opaopa.org>
842 * elmo-util.el (elmo-display-progress):
843 Use `progress-feedback-with-label'.
845 2000-08-02 OKAZAKI Tetsurou <okazaki@be.to>
847 * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
848 (elmo-imap4-non-atom-char-regex): Ditto.
849 (elmo-imap4-non-text-char-regex): Ditto.
850 (elmo-imap4-literal-threshold): Ditto.
851 (elmo-imap4-atom-p): New function.
852 (elmo-imap4-quotable-p): Ditto.
853 (elmo-imap4-nil): Ditto.
854 (elmo-imap4-atom): Ditto.
855 (elmo-imap4-quoted): Ditto.
856 (elmo-imap4-literal-subr): Ditto.
857 (elmo-imap4-literal): Ditto.
858 (elmo-imap4-buffer-literal): Ditto.
859 (elmo-imap4-string-subr): Ditto.
860 (elmo-imap4-string): Ditto.
861 (elmo-imap4-buffer-string): Ditto.
862 (elmo-imap4-astring-subr): Ditto.
863 (elmo-imap4-astring): Ditto.
864 (elmo-imap4-buffer-astring): Ditto.
865 (elmo-imap4-nstring): Ditto.
866 (elmo-imap4-buffer-nstring): Ditto.
867 (elmo-imap4-mailbox): New alias.
868 (elmo-imap4-field-body): Ditto.
869 (elmo-imap4-userid): Ditto.
870 (elmo-imap4-password): Ditto.
871 (elmo-imap4-format-quoted): New function.
872 (elmo-imap4-send-command): Rewritten. Accept a list of command
873 arguments and handle "atom", "quoted" and "literal" string here.
874 (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
875 `elmo-imap4-send-command'.
876 (elmo-imap4-folder-exists-p): Likewise.
877 (elmo-imap4-create-folder): Likewise.
878 (elmo-imap4-delete-folder): Likewise.
879 (elmo-imap4-rename-folder): Likewise.
880 (elmo-imap4-max-of-folder): Likewise.
881 (elmo-imap4-check-validity): Likewise.
882 (elmo-imap4-sync-validity): Likewise.
883 (elmo-imap4-server-diff): Likewise.
884 (elmo-imap4-select-folder): Likewise.
885 (elmo-imap4-copy-msgs): Likewise.
886 (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
887 (elmo-imap4-mark-set-on-msgs): Likewise.
888 (elmo-imap4-read-part): Likewise.
889 (elmo-imap4-read-msg): Likewise.
890 (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
891 `elmo-imap4-password' for `elmo-imap4-send-command'.
892 (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
893 (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
894 `elmo-imap4-buffer-literal'.
895 (elmo-imap4-append-msg): Likewise.
897 * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
898 `delete' for removing dead connection from the connection cache.
899 Move deletion of the process buffer after that.
900 (elmo-imap4-list): Change `defsubst' to `defun'.
901 (elmo-imap4-commit): Make error message verbose.
902 (elmo-imap4-search): Ditto.
903 (elmo-imap4-list): Ditto.
904 (elmo-imap4-select-folder): Ditto.
905 (elmo-imap4-copy-msgs): Ditto.
906 (elmo-imap4-delete-msg-by-id): Ditto.
907 (elmo-imap4-append-msg-by-id): Ditto.
908 (elmo-imap4-append-msg): Ditto.
910 2000-07-26 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
912 * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
913 when dired is used on XEmacs.
915 2000-07-25 OKAZAKI Tetsurou <okazaki@be.to>
917 * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
919 (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
920 `elmo-plugged-p' directly.
921 * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
922 of `elmo-plugged-p' directly.
924 * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
925 Eliminate unused variable. Use `memq' for checking a process status.
926 Use `cons' instead of `append' for updating the connection cache.
927 * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
928 * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
930 2000-07-22 OKAZAKI Tetsurou <okazaki@be.to>
932 * elmo-imap4.el (elmo-imap4-read-bytes): Advance
933 `elmo-imap4-read-point' exactly.
935 * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
936 the local variable `folder' to `mailbox'.
937 Rename the argument `fld' to `folder'.
939 2000-07-20 Kenichi OKADA <okada@opaopa.org>
941 * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
942 * elmo-imap4.el (elmo-imap4-commit): Ditto.
944 2000-07-18 Yuuichi Teranishi <teranisi@gohome.org>
946 * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
947 (elmo-pop3-number-uidl-hash): New buffer-local variable.
948 (elmo-pop3-uidl-number-hash): Ditto.
949 (elmo-pop3-size-hash): Ditto.
950 (elmo-pop3-uidl-done): Ditto.
951 (elmo-pop3-list-done): Ditto.
952 (elmo-pop3-connection-get-process): New defmacro.
953 (elmo-pop3-connection-get-buffer): Ditto.
954 (elmo-pop3-close-connection): Delete buffer and process.
955 (elmo-pop3-flush-connection): Don't delete buffer and process.
956 (elmo-pop3-get-connection): Added optional argument `if-exists'.
957 Setup UIDL and size hash.
958 (elmo-pop3-send-command-no-erase): Deleted
959 (elmo-pop3-send-command): Added optional argument `no-erase'.
960 (elmo-pop3-parse-uidl-response): New function.
961 (elmo-pop3-parse-list-response): Set size hash.
962 (elmo-pop3-list-location): New function.
963 (elmo-pop3-list-by-uidl-subr): Ditto.
964 (elmo-pop3-list-by-list): Ditto.
965 (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
966 Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
967 (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
968 Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
969 (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
971 (elmo-pop3-uidl-to-number): New function.
972 (elmo-pop3-number-to-uidl): Ditto.
973 (elmo-pop3-number-to-size): Ditto.
974 (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
975 Set number by use of uidl.
976 (elmo-pop3-msgdb-create-message): Likewise.
977 Set size, loc-alist in msgdb.
978 (elmo-pop3-read-msg): Set number by use of uidl.
979 Added optional argument `msgdb'.
980 (elmo-pop3-delete-msg): Ditto.
981 (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
982 (elmo-pop3-commit): Close connection.
984 * elmo-pipe.el (elmo-pipe-max-of-folder):
985 Bind `elmo-pop3-use-uidl' as nil.
986 (elmo-pipe-drain): Ditto.
989 * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
990 (elmo-msgdb-overview-entity-set-size): New defsubst.
992 2000-07-17 Yuuichi Teranishi <teranisi@gohome.org>
994 * elmo-vars.el (elmo-use-killed-list): New variable
995 (Renamed from `elmo-nntp-use-killed-list').
996 (elmo-nntp-use-killed-list): Eliminated.
998 * elmo-msgdb.el (elmo-msgdb-expand-path):
999 Changed expanding msgdb path for elmo-multi.
1001 * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
1002 elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
1003 elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
1004 elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
1005 elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
1006 mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
1007 (toplevel): Deleted time-stamp line.
1009 * elmo2.el (elmo-clear-killed ): Defined as function
1010 (Abolished defining as a backend function).
1011 All other related modules are changed.
1013 2000-07-14 Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
1015 * elmo-cache.el (elmo-cache-clear-killed): Fixed.
1017 2000-07-13 Yuuichi Teranishi <teranisi@gohome.org>
1019 * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
1021 2000-07-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1023 * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
1025 2000-07-11 Yuuichi Teranishi <teranisi@gohome.org>
1027 * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
1028 asynchronous folder check.
1030 * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
1032 * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
1033 `elmo-nntp-use-killed-list'.
1034 (elmo-nntp-list-folder): Use killed list.
1035 (elmo-nntp-max-of-folder): Ditto.
1036 (elmo-nntp-msgdb-create): Set killed list.
1038 * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
1040 * elmo2.el (elmo-clear-killed): New backend function.
1041 All other related modules are changed.
1043 2000-07-07 OKAZAKI Tetsurou <okazaki@be.to>
1045 * elmo-util.el (elmo-imap4-spec-folder): Use
1046 `elmo-imap4-spec-mailbox'; Mark as obsolete.
1047 All callers changed.
1049 2000-06-22 Yuuichi Teranishi <teranisi@gohome.org>
1051 * mmelmo-2.el (initialize-instance):
1052 Use `mime-buffer-entity-buffer-internal' instead of
1053 `mime-entity-buffer'.
1055 * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
1056 (mime-entity-body): Implemented.
1057 (mime-goto-header-start-point): Deleted.
1058 (mime-goto-body-end-point): Ditto.
1059 (mime-entity-point-min): Ditto.
1060 (mime-entity-point-max): Ditto.
1061 (mime-entity-children): Ditto.
1062 (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
1063 instead of `mime-entity-buffer'.
1064 (mime-entity-header-buffer): Ditto.
1065 (mime-entity-body-buffer): Ditto.
1066 (mime-write-entity-content): Ditto.
1068 * pldap.el (ldap-static-if): New macro.
1069 (toplevel): Use it instead of `static-if'.
1071 2000-06-19 Yuuichi Teranishi <teranisi@gohome.org>
1073 * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
1074 included in `attrs' argument.
1076 2000-06-16 Yuuichi Teranishi <teranisi@gohome.org>
1078 * elmo-util.el (elmo-get-passwd): Use old backquote style.
1080 * pldap.el (ldap-ldif-safe-char-regexp): New constant.
1081 (ldap-ldif-safe-init-char-regexp): Ditto.
1082 (ldap-ldif-safe-string-regexp): Ditto.
1083 (ldap/ldif-safe-string-p): New macro.
1084 (ldap/ldif-insert-field): Ditto.
1085 (ldap-modify): Use it.
1087 (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
1088 (ldap-decode-attribute): Decode only when `attr' is consp.
1089 (ldap-delete): Bind `ret'.
1090 (toplevel): Require 'cl at compile time.
1091 Removed (require 'poe) and (require 'std11).
1092 (pldap-version): Eliminated.
1093 (ldap-search-basic): Removed auth and dn binding.
1094 (ldap-ldif-field-name-regexp): New constant.
1095 (ldap-ldif-field-head-regexp): Ditto.
1096 (ldap-ldif-next-field-head-regexp): Ditto.
1097 (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
1098 (ldap/field-end): New function.
1099 (ldap/field-body): Use it.
1100 (ldap/collect-field): Ditto.
1101 (ldap-search-basic): Use `ldap/field-body'.
1103 2000-06-15 Yuuichi Teranishi <teranisi@gohome.org>
1105 * pldap.el (ldap-default-attribute-encoder): New user option.
1106 (ldap/field-body): Decode base64 string.
1107 (ldap/collect-field): Ditto.
1108 (ldap-encode-attribute): New function.
1109 (ldap-add-entries): Use it.
1110 (ldap-modify-entries): Ditto.
1111 (ldap-search-entries): Enclosed decoding function with
1112 `with-temp-buffer' and set as unibyte.
1113 (ldap-search-basic): Set process buffer as unibyte.
1115 * elmo-util.el (elmo-folder-identical-system-p):
1116 Eliminated name space checking.
1118 * pldap.el: New module.
1119 toplevel: Changed condition to detect built-in ldap feature.
1120 (ldap-delete): Enclosed call-process with `with-temp-buffer'.
1121 (ldap-add): Added error handling.
1122 (ldap-modify): Ditto.
1123 (ldap-delete): Ditto.
1125 2000-06-03 OKAZAKI Tetsurou <okazaki@be.to>
1127 * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
1128 Initialize local variables with `let'. Inline a temporary
1129 variable for the progress percentage. Sort `setq' to reduce
1130 function call in the while-loop.
1132 * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
1133 into the conditional branch.
1135 2000-05-30 OKAZAKI Tetsurou <okazaki@be.to>
1137 * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
1138 Move a conditional out of the while-loop.
1140 2000-05-27 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1142 * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
1143 elmo-msgdb-overview-get-entity-by-number.
1144 (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
1147 2000-05-26 OKAZAKI Tetsurou <okazaki@be.to>
1149 * elmo-localdir.el (elmo-localdir-pack-number): Renamed
1150 the local variable for a packed number self descriptively.
1152 2000-05-21 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1154 * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
1155 * elmo-localdir.el (elmo-localdir-pack-number): Use
1156 `elmo-msgdb-overview-get-entity' instead of
1157 `elmo-msgdb-overview-get-entity-by-number'.
1158 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
1159 (elmo-msgdb-search-overview-entity): Removed.
1160 (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
1161 by message-id or number.
1162 (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
1163 instead of `elmo-msgdb-overview-get-entity-by-number'.
1165 2000-05-20 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1167 * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
1168 non-nil, use hash table for overview.
1169 (elmo-hash-maximum-size): New variable.
1170 * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
1171 (elmo-msgdb-make-overview-hashtb): New function.
1172 (elmo-msgdb-clear-overview-hashtb): New function.
1173 (elmo-clear-hash-val): New macro.
1174 All other related modules are changed.
1176 2000-05-18 Yuuichi Teranishi <teranisi@gohome.org>
1178 * elmo2.el (elmo-move-msgs): If there's other message with
1179 same message-id, don't use cache.
1181 2000-05-18 Nishimoto Masaki <nishimoto@gaju.org>
1183 * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
1184 number is already packed.
1186 2000-05-15 OKAZAKI Tetsurou <okazaki@be.to>
1188 * elmo-vars.el: Doc fixes. Trim trailing whitespace.
1190 2000-05-12 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1192 * elmo-vars.el (elmo-display-progress-threshold): New variable.
1193 All other related modules are changed.
1195 2000-05-11 Yuuichi Teranishi <teranisi@gohome.org>
1197 * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
1198 of refiling failure on Maildir.
1200 2000-05-10 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1202 * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
1203 decoded mime-charset with cache.
1204 (elmo-msgdb-overview-entity-get-from): Ditto.
1205 (elmo-msgdb-overview-entity-get-subject): Ditto.
1206 * elmo-vars.el (elmo-use-decoded-cache): New variable.
1208 2000-05-10 Kenichi OKADA <okada@opaopa.org>
1210 * elmo-utils.el (elmo-get-passwd): Set timeout of password.
1211 (elmo-remove-passwd): Fill password with 0 before erase.
1212 * elmo-vars.el (elmo-passwd-life-time): New variable.
1215 2000-05-10 Yuuichi Teranishi <teranisi@gohome.org>
1217 * elmo-cache.el (elmo-buffer-cache-add):
1218 Set message cache buffer as unibyte.
1220 2000-05-07 Masahiro MURATA <muse@ba2.so-net.ne.jp>
1222 * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
1225 2000-04-28 Yuuichi Teranishi <teranisi@gohome.org>
1227 * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
1228 when display is finished.
1229 (elmo-nntp-msgdb-create): Ditto.
1230 (elmo-nntp-groups-read-response): Ditto.
1231 (elmo-nntp-retrieve-headers): Ditto.
1232 (elmo-nntp-msgdb-create-message): Ditto.
1233 * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
1234 (elmo-pop3-msgdb-create-message): Ditto.
1236 2000-04-24 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1238 * elmo-maildir.el (elmo-maildir-msgdb-create):
1239 Use `elmo-msgdb-sort-by-date'.
1241 2000-04-20 Yuuichi Teranishi <teranisi@gohome.org>
1243 * elmo2.el (elmo-read-msg-no-cache):
1244 Eliminated arguments after `outbuf'.
1245 Don't use cache even if it exists.
1246 (elmo-read-msg): Don't pass arguments after `outbuf' to
1247 `elmo-read-msg-no-cache'.
1249 2000-04-15 Yuuichi Teranishi <teranisi@elmo.dq.isl.ntt.co.jp>
1251 * elmo-archive.el (elmo-archive-list-folders):
1252 Use `file-name-directory' if base folder does not exist.
1254 2000-04-14 Nishimoto Masaki <nishimoto@gaju.org>
1256 * elmo-archive.el (elmo-archive-list-folders): Don't use
1257 `file-name-directory'.
1259 2000-04-07 Yuuichi Teranishi <teranisi@gohome.org>
1261 * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
1262 If `force' is non-nil, try flushing all operation queues.
1264 2000-04-03 Yuuichi Teranishi <teranisi@gohome.org>
1266 * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
1269 2000-03-29 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1271 * elmo-util.el (elmo-display-progress): Fixed.
1273 2000-03-27 Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
1275 * elmo-util.el (elmo-display-progress): New function.
1276 All other related modules are changed.