* elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
[elisp/wanderlust.git] / elmo / ChangeLog
1 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
2
3         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4         set spool-length to 0.
5
6 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
7
8         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
9         (elmo-dop-queue-flush): Fixed last change.
10
11 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
12
13         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
14         the problem reported by Sean Rima [wl-en:180].
15
16 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
17
18         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
19         status number.
20
21 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
22
23         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
24         Remove redundunt connectivity check.
25
26 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
27
28         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
29         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
30
31 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
32
33         * pldap.el (ldap-decode-string): Return string as-is if
34         `ldap-coding-system' is nil.
35         (ldap-encode-string): Ditto.
36         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
37         (ldap-default-host): Fixed docstring.
38
39 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
40
41         * elmo-util.el (elmo-warning): Define as a macro which uses
42         `display-warning' if it is defined as a function.
43
44         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
45         (elmo-split-equal): Use it.
46         (elmo-split-match): Ditto.
47         (elmo-split-message-entity): New buffer-local variable.
48         (elmo-split-subr): Set it.
49
50         * elmo-version.el (elmo-version): Up to 2.9.15.
51
52 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
53
54         * elmo-imap4.el (elmo-network-initialize-session):
55         Check capability after starttls.
56
57 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
58
59         * elmo-util.el (elmo-list-delete): Added optional argument
60         DELETE-FUNCTION.
61
62         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
63
64         * elmo-util.el (elmo-warning): Ignore errors while recenter.
65
66         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
67
68         * elmo-imap4.el (elmo-folder-initialize): Don't use
69         elmo-imap4-default-mailbox.
70
71 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
72
73         * elmo-split.el (toplevel): Use `product-provide'.
74         (elmo-split): Checkdoc.
75
76 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
77
78         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
79         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
80         the function `elmo-imap4-debug-1'.
81
82 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
83
84         * elmo-split.el (elmo-split): Moved to run hooks and to show
85         message from elmo-split-subr.
86         (elmo-split-subr): Follow the change above.
87
88         * elmo-split.el (elmo-split-subr): New function (renamed from
89         elmo-split-subr).
90         (elmo-split): Changed to call elmo-split-subr by element of
91         elmo-split-folder.
92         (elmo-split-folder): Changed customization type to choice.
93
94 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
95
96         * elmo-split.el (elmo-split-and): Fixed condition.
97
98 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
99
100         * elmo-split.el: New file.
101         (elmo-split): Fixed logic.
102         Display "Test:" instead of "Folder:" when reharsal.
103
104         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
105         explicitly.
106
107         * elmo-version.el (elmo-version): Up to 2.9.14.
108
109         * elmo-util.el (elmo-expand-newtext): New function (renamed from
110         wl-expand-newtext).
111
112 2002-06-10  Kenichi Sato <ksato@sonycom.com>
113
114         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
115         message with no message-id field.
116
117 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
118
119         * elmo-version.el (elmo-version): Up to 2.9.13.
120
121         * elmo-dop.el (elmo-folder-status-dop): Fix.
122
123 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
124
125         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
126
127         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
128         changing default value of default-mime-charset.
129         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
130
131         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
132
133         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
134         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
135         instead of elmo-dop-queue-method-name-alist to check merging queue.
136         (elmo-folder-delete-messages-dop): Delete from queue if negative
137         message number.
138         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
139         file is already removed.
140
141 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
142
143         * elmo-vars.el: Bind colon keywords for old Emacsen.
144
145 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
146
147         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
148         against non-exsisting charset.
149
150 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
151
152         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
153         Use eword-decode-and-unfold-unstructured-field-body.
154
155         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
156         (elmo-msgdb-create-overview-from-buffer): Use document charset if
157         exists to decode raw subject string.
158         (toplevel): Require 'mime.
159
160         * elmo-version.el (elmo-version): Up to 2.9.12.
161
162 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
163
164         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
165         (elmo-msgdb-set-mark): Ditto.
166
167         * elmo-version.el (elmo-version): Up to 2.9.11.
168
169 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
170
171         * elmo-util.el (elmo-delete-match-files): New function.
172
173         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
174         instead of elmo-delete-directory.
175
176         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
177         elmo-hash-minimun-size as 63.
178
179         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
180         elmo-diff-unread is nil.
181
182         * elmo-imap4.el (elmo-folder-open): Fix.
183
184         * elmo.el (elmo-message-mark): Rewrite.
185         (elmo-message-field): Ditto.
186         (elmo-message-set-mark): Ditto.
187         (elmo-folder-replace-marks): New function.
188         (elmo-generic-folder-append-msgdb): Removed third argument for
189         elmo-msgdb-append.
190         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
191         (elmo-msgdb-load): New implementation.
192
193         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
194
195         * elmo-util.el (elmo-list-insert): New implementation.
196
197         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
198         argument for elmo-msgdb-append.
199         
200
201         * elmo-msgdb.el (elmo-load-msgdb): New function.
202         (elmo-make-msgdb): Ditto.
203         (elmo-msgdb-get-index): New inline function.
204         (elmo-msgdb-set-index): Ditto.
205         (elmo-msgdb-get-entity-hashtb): Ditto.
206         (elmo-msgdb-get-mark-hashtb): Ditto.
207         (elmo-msgdb-get-mark): Ditto.
208         (elmo-msgdb-set-mark): Ditto.
209         (elmo-msgdb-count-marks): Ditto.
210         (elmo-msgdb-get-number): Ditto.
211         (elmo-msgdb-get-field): Ditto.
212         (elmo-msgdb-seen-list): Ditto.
213         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
214         (elmo-msgdb-delete-msgs): Follow the changes above.
215         (elmo-msgdb-overview-get-entity): Ditto.
216         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
217         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
218         and rewritten.
219         (elmo-msgdb-make-index): Likewise.
220         (elmo-msgdb-append): Removed third argument.
221         (elmo-msgdb-clear): Clear index as nil.
222         (elmo-folder-set-info-hashtb): Removed.
223         (elmo-folder-set-info-max-by-numdb): Ditto.
224         (elmo-folder-info-make-hashtb): Ditto.
225
226         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
227
228         * elmo-map.el (elmo-folder-pack-number): Ditto.
229
230 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
231
232         * elmo-version.el (elmo-version): Up to 2.9.10.
233
234         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
235
236         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
237
238 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
239
240         * elmo-utils.el (elmo-make-directory): Add option.
241         Default file mode is 700.
242
243 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
244
245         * elmo-shimbun.el (elmo-folder-local-p): Defined.
246
247 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
248
249         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
250         mime-charset.
251
252         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
253         and "smaller".
254
255 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
256
257         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
258         (elmo-shimbun-folder-entity-hash): New function.
259         (elmo-shimbun-folder-shimbun-header): Ditto.
260         (elmo-shimbun-entity-to-header): Ditto.
261         (elmo-shimbun-msgdb-to-headers): Removed.
262         (elmo-shimbun-folder-setup): Ditto.
263         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
264         for hash key.
265         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
266         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
267         Removed useless local bind.
268         (elmo-folder-open-internal): Don't call
269         `elmo-shimbun-folder-setup'.
270         (elmo-folder-close-internal): Clear entity-hash slot.
271         (elmo-folder-clear): Ditto.
272         (elmo-shimbun-msgdb-create-entity): Use
273         `elmo-shimbun-folder-shimbun-header'.
274         (elmo-map-message-fetch): Ditto.
275         (elmo-shimbun-update-overview): Use overview entity instead of
276         shimbun header to lookup id by references.
277         (elmo-map-folder-list-message-locations): Use not only headers but
278         also overviews to list locations.
279
280 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
281
282         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
283         msgdb path.
284
285         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
286
287 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
288
289         * elmo-util.el (elmo-read-search-condition-internal): Give default
290         value for date.
291
292 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
293
294         * elmo-util.el (elmo-condition-parse-search-value): Accept
295         YYYY-MM-DD format to search.
296         * elmo-date.el (elmo-date-get-datevec): Likewise.
297
298 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
299
300         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
301         debugging code.
302
303 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
304
305         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
306         from t.
307
308         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
309
310         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
311         case from `elmo-folder-exists-p'.
312         (elmo-folder-exists-p): Removed.
313         (elmo-folder-creatable-p) Ditto.
314
315         * elmo-net.el (elmo-folder-create): Defined.
316         (elmo-folder-create-unplugged): New function.
317         (elmo-folder-exists-p): Changed default value to nil from t.
318
319         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
320         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
321
322         * elmo-dop.el (elmo-folder-create-dop): Renamed from
323         `elmo-create-folder-dop' and append queue
324         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
325         (elmo-folder-create-dop-delayed): New function.
326
327         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
328
329         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
330
331         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
332         (elmo-folder-writable-p) : Ditto.
333
334         * elmo-version.el (elmo-version): Up to 2.9.9.
335
336 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
337
338         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
339         `elmo-message-use-cache-p' returns nil.
340         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
341         (ignore cache file and refer the substance in local folders)
342
343 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
344
345         * elmo-version.el (elmo-version): Up to 2.9.8.
346
347 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
348
349         * elmo-version.el (elmo-version): Up to 2.9.7.
350
351         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
352
353 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
354
355         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
356
357 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
358
359         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
360         from --early.
361         (elmo-map-folder-list-message-locations): Reverse location list.
362
363 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
364
365         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
366
367 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
368
369         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
370         as a key.
371         (elmo-nntp-folder-list-subfolders): Follow the change above.
372
373 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
374
375         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
376         name if authentication type is specified.
377
378 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
379
380         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
381         variable.
382         (elmo-default-nntp-stream-type): Ditto.
383         (elmo-default-pop3-stream-type): Ditto.
384
385 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
386
387         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
388
389 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
390
391         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
392         elmo-vars.el.
393         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
394
395         * elmo-vars.el (elmo-localnews-folder-path): Removed.
396         (elmo-maildir-folder-path): Ditto.
397         (elmo-maildir-list): Ditto (abolished).
398
399 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
400
401         * elmo-version.el (elmo-version): Up to 2.9.6.
402
403 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
404
405         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
406         (elmo-maildir-folder-path): Ditto.
407         (elmo-msgdb-directory): Ditto.
408         (elmo-passwd-life-time): Ditto.
409         (elmo-msgdb-extra-fields): Ditto.
410         (elmo-enable-disconnected-operation): Ditto.
411
412 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
413
414         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
415         other choices.
416         (elmo-pop3-default-authenticate-type): Ditto.
417
418 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
419
420         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
421         choices for custom.
422         (elmo-pop3-default-authenticate-type): Ditto.
423
424 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
425
426         * elmo-imap4.el (elmo-folder-rename-internal): Change current
427         mailbox to new-folder.
428
429 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
430
431         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
432         less than new, set new as unread.
433
434         * elmo-util.el (elmo-string): Don't put text-property if nil.
435
436 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
437
438         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
439         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
440
441 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
442
443         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
444         is nil on `completing-read'.
445
446 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
447
448         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
449         for namespace part.
450         (elmo-imap4-parse-namespace-subr): Ditto.
451         (elmo-folder-list-subfolders): Append a delimiter when the specified
452         folder path is a root with namespace and does not end with delimiter.
453
454 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
455
456         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
457         was used.
458
459 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
460
461         * elmo-util.el (elmo-save-buffer): The first argument of message
462         is a format control string.
463
464 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
465
466         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
467         `elmo-folder-diff').
468         (elmo-diff-unread): Likewise.
469
470 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
471
472         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
473         is t on `completing-read'.
474
475 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
476
477         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
478         method of target folder with self mark-alist if MARK-ALIST is nil.
479
480 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
481
482         * elmo-version.el (elmo-version): Up to 2.9.5.
483
484 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
485
486         * elmo-dop.el (elmo-dop-queue-merge): Implement.
487         (elmo-dop-merge-funcs): Remove.
488
489 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
490
491         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
492         Return t if PATH is directory, too.
493         Use `dolist' instead of while loop.
494
495 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
496
497         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
498         is deleted.
499
500 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
501
502         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
503         return value to t.
504         (elmo-folder-list-messages-unplugged): Return t if
505         elmo-enable-disconnected-operation is nil.
506
507         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
508         `elmo-folder-list-messages-internal'.
509
510 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
511
512         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
513         Change to looking-at `[23][0-9]+'.
514         (elmo-network-initialize-session): Use 'error-msg'
515         * elmo-net.el (elmo-network-open-session): Set unplugged
516         if elmo-network-initialize-session returns 'elmo-open-err.
517
518 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
519
520         * elmo-version.el (elmo-version): Up to 2.9.4.
521
522 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
523
524         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
525         `elmo-folder-list-messages-internal'.
526
527 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
528
529         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
530         (elmo-message-match-condition): New method.
531         (elmo-folder-search-fast): New inline function.
532         (elmo-msgdb-search): Removed.
533
534         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
535         target folder if it is unplugged.
536         (elmo-folder-list-messages-internal): Return t if target folder is
537         unplugged and itself is persistent; In this case, use list be
538         searched already.
539
540         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
541         (elmo-msgdb-search-internal-primitive): Ditto.
542         (elmo-msgdb-match-condition): New function.
543         (elmo-msgdb-match-condition-primitive): Ditto.
544
545         * elmo-util.el (elmo-filter-condition-p): New macro.
546
547         * elmo-cache.el (elmo-folder-search): Removed.
548
549         * elmo-localdir.el (elmo-folder-search): Ditto.
550
551         * elmo-maildir.el (elmo-folder-search): Ditto.
552
553         * elmo-mark.el (elmo-folder-search): Ditto.
554
555         * elmo-nmz.el (elmo-folder-search): Ditto.
556
557         * elmo-sendlog.el (elmo-folder-search): Ditto.
558
559         * elmo-shimbun.el (elmo-folder-search): Ditto.
560
561         * elmo-imap4.el (elmo-folder-search): Call method of parent class
562         if folder is unplugged.
563
564         * elmo-nntp.el (elmo-folder-search): Likewise.
565         (elmo-nntp-search-internal): New function.
566
567         * elmo-version.el (elmo-version): Up to 2.9.3.
568
569 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
570
571         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
572
573 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
574
575         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
576
577 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
578
579         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
580
581 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
582
583         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
584         (elmo-map-folder-list-message-locations): Do drive letter conversion
585         on Windows environment.
586         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
587         (elmo-map-message-fetch): Ditto.
588
589 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
590
591         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
592         (elmo-network-initialize-session): Ditto.
593
594 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
595
596         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
597
598         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
599
600         * elmo-util.el (elmo-progress-clear): Ditto.
601
602         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
603         `DD-Mon-YYYY' type date.
604
605 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
606
607         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
608         `elmo-date-make-sortable-string' instead of
609         `timezone-make-date-sortable'.
610
611         * elmo-date.el (elmo-date-make-sortable-string): Use
612         `timezone-make-time-string'.
613
614 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
615
616         * elmo.el (elmo-folder-synchronize): Delete important messages too.
617
618         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
619         `since'; Fix timezone.
620
621         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
622
623         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
624
625 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
626
627         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
628
629 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
630
631         * elmo.el (elmo-generic-folder-append-messages): Make
632         fetch-strategy with `use-cache' as 'maybe. Check return value of
633         `elmo-message-fetch'.
634         (elmo-message-fetch): Return return value of
635         `elmo-message-fetch-with-cache-process'.
636         (elmo-message-fetch-with-cache-process): Return non-nil if
637         fetching was succeed. Load cache when fetching was failed and
638         fetch-strategy-use-cache is 'maybe.
639
640         * elmo-util.el (elmo-file-cache-load): New function.
641
642         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
643         defun.
644
645         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
646         non-nil if fetching was succeed.
647
648         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
649
650         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
651
652         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
653         (elmo-message-fetch-with-cache-process): Likwise.
654
655         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
656
657         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
658
659         * elmo-version.el (elmo-version): Up to 2.9.2.
660
661 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
662
663         * elmo.el (elmo-folder-delete): Delete msgdb path.
664
665         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
666
667         * elmo-maildir.el (elmo-folder-delete): Ditto.
668
669         * elmo-localdir.el (elmo-folder-delete): Ditto.
670
671         * elmo-imap4.el (elmo-folder-delete): Ditto.
672
673 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
674
675         * elmo.el (luna-define-class): Added `biff' slot.
676
677         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
678         (elmo-pop3-debug-inhibit-logging): Abolished.
679         (elmo-network-close-session): Eliminated needless let.
680         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
681         (elmo-pop3-send-command): Added `no-log' argument.
682         (elmo-pop3-process-filter): Use `with-current-buffer'.
683         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
684         if login failure.
685         (elmo-pop3-auth-apop): Likewise.
686         (elmo-network-authenticate-session): Likewise.
687
688         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
689         if biff folder.
690
691         * elmo-net.el (elmo-network-session-password-key): Use class symbol
692         string to determine protocol.
693         (elmo-network-session-name-prefix): Abolished.
694         (elmo-network-session-cache-key): Follow the change above.
695         (elmo-network-open-session): Ditto.
696
697         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
698         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
699
700         * elmo-version.el (elmo-version): Up to 2.9.1.
701
702         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
703         unmatch condition checking.
704
705         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
706         condition.
707
708 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
709
710         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
711
712 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
713
714         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
715         test for while loop to execute at least one SEARCH command.
716
717 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
718
719         * elmo-version.el (elmo-version): Up to 2.9.0.
720
721 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
722
723         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
724         (elmo-archive-folder-path): Define.
725         (elmo-folder-initialize): Setup `dir-name' slot.
726         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
727         Use `dir-name' as prefix of each subfolders.
728         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
729
730 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
731
732         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
733         (elmo-pipe-folder-list-target-messages): New internal function.
734         (elmo-pipe-drain): Use new argument `ignore-list' instead of
735         `killed-list'.
736         (elmo-pipe-folder-copied-list-load): New function.
737         (elmo-pipe-folder-copied-list-save): Ditto.
738         (elmo-folder-open-internal): Follow the change above.
739         (elmo-folder-status): Fixed for copy.
740
741 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
742
743         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
744
745 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
746
747         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
748         elmo-copy-file instead of elmo-add-name-to-file.
749
750         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
751
752         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
753         "file://..." index.
754
755         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
756         of accept-process-output as 1.
757         (elmo-pop3-read-contents): Ditto.
758         (elmo-pop3-read-body): Ditto.
759
760 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
761
762         * elmo-version.el (product-version-as-string): Remove define.
763
764 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
765
766         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
767         (elmo-imap4-copy-messages): Chop number set using
768         `elmo-imap4-number-set-chop-length'.
769         (elmo-imap4-set-flag): Ditto.
770         (elmo-imap4-search-internal-primitive): Ditto.
771
772 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
773
774         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
775         `elmo-folder-make-temp-dir'
776
777         * elmo-vars.el (elmo-cache-directory): New variable.
778         (elmo-cache-dir): Abolished.
779         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
780
781         * elmo-version.el (elmo-version): Up to 2.7.7.
782
783 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
784
785         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
786         defcustom; Set default value as t.
787
788 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
789
790         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
791         (ldap-search-program-arguments): Changed default value.
792         (ldap-search-basic): Accept exit status 4.
793         (ldap/field-body): Parse options.
794         (ldap/collect-field): Ditto.
795         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
796
797         * elmo-imap4.el (elmo-imap4-process-bye): New function.
798         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
799         (elmo-imap4-accept-ok): Ditto.
800         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
801         'notify-bye, only BYE error is reported.
802         (elmo-folder-exists-p-plugged): Set no-error argument of
803         `elmo-imap4-session-select-mailbox' as 'notify-bye.
804
805         * elmo.el (elmo-imap4-bye-error): Changed message.
806
807         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
808         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
809         queues (It causes infinite loop).
810
811 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
812
813         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
814         (RECENT UNSEEN MESSAGES) extension.
815
816 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
817
818         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
819         Check number of overview fields.
820
821 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
822
823         * elmo.el (elmo-folder-confirm-appends): Changed message.
824         (elmo-folder-confirm-appends): Ditto.
825
826         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
827         `with-temp-buffer'.
828         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
829
830 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
831
832         * elmo.el (elmo-folder-confirm-appends): Check whether the value
833         of elmo-folder-update-threshold is nil, which can be set by
834         wl-summary-update-confirm-threshold.
835
836 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
837
838         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
839         (elmo-nmz-index-alias-alist): Ditto.
840         (elmo-map-folder-list-message-locations): Follow the change above.
841
842 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
843
844         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
845
846         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
847
848         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
849
850         * elmo-util.el (elmo-read): Ditto.
851         (elmo-display-error): Ditto.
852
853         * elmo-vars.el (elmo-date-match): Ditto.
854
855         * pldap.el (ldap-coding-system): Ditto.
856
857         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
858         `elmo-inhibit-number-mapping' as nil.
859
860 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
861
862         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
863         space delimiter for list response.
864
865 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
866
867         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
868
869 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
870
871         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
872         (elmo-map-message-fetch): Fix.
873         * elmo-map.el (elmo-folder-status): Fix for killed.
874
875 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
876
877         * elmo-sendlog.el: New file.
878         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
879
880 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
881
882         * acap.el (acap-logging-out): New buffer local variable.
883         (acap-close): Set it.
884         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
885         an error.
886
887 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
888
889         * acap.el (acap-response-bye-p): New function.
890         (acap-response-bye-message): Ditto.
891         (acap-wait-for-response): If bye response is received, cause an error.
892         (acap-parse-response): Make bye response when 'Bye' is received.
893
894 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
895
896         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
897
898 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
899
900         * elmo-util.el (elmo-copy-file): Added argument
901         `ok-if-already-exists'.
902         (elmo-copy-file): Fixed typo.
903
904 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
905
906         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
907
908 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
909
910         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
911
912 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
913
914         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
915         to killed-list.
916
917 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
918
919         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
920         (elmo-folder-initialize): Fix for `copy'.
921         (elmo-pipe-drain): Ditto.
922         (elmo-folder-open-internal): Ditto.
923         (elmo-folder-newsgroups): Fix.
924
925 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
926
927         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
928         for each message.
929
930         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
931         recent value is returned from imap folder.
932
933         * elmo.el (elmo-folder-newsgroups): New generic function.
934
935         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
936         (elmo-folder-initialize): Set it.
937         (elmo-folder-expand-msgdb-path): Use it.
938         (elmo-folder-newsgroups): Define.
939
940         * elmo-filter.el (elmo-folder-newsgroups): Define.
941
942         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
943
944         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
945
946         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
947
948 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
949
950         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
951         user option.
952         (elmo-shimbun-header-extra-field): New inline function.
953         (elmo-shimbun-header-set-extra-field): Ditto.
954         (elmo-shimbun-folder-header-hash-setup): Ditto.
955         (elmo-shimbun-update-overview): Ditto.
956         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
957         (elmo-shimbun-folder-setup): Use
958         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
959         (elmo-shimbun-get-headers): Ditto.
960         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
961         Insert `X-Shimbun-Id:' header if extra field is set.
962         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
963         field's value instead of `shimbun-header-id'.
964
965         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
966         inline function.
967         (elmo-msgdb-overview-entity-set-date): Ditto.
968         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
969
970 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
971
972         * mmimap.el (mmimap-entity-section): Changed body node number from
973         "0" to "1".
974
975 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
976
977         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
978         `elmo-folder-delete-messages'.
979
980         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
981         (elmo-folder-initialize): Changed to expand alias into index path.
982
983         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
984         `elmo-mime-insert-header-from-buffer' with 6th arg
985         `sorted-fields'.
986
987 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
988
989         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
990
991         * elmo.el (elmo-diff-new): New inline function.
992         (elmo-diff-unread): Ditto.
993         (elmo-diff-all): Ditto.
994
995         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
996         value from responseb.
997         (elmo-imap4-folder-diff-plugged): Ditto.
998         (elmo-imap4-server-diff-async): Added recent argument.
999         (elmo-server-diff-async): Ditto.
1000         (elmo-imap4-folder-diff-plugged): Ditto.
1001
1002         * elmo-version.el (elmo-version): Up to 2.7.6.
1003
1004 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1005
1006         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
1007         in quoted-stirng.
1008
1009 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
1010
1011         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
1012
1013         * elmo-imap4.el (elmo-folder-initialize): Ditto.
1014
1015         * elmo-nntp.el (elmo-folder-initialize): Ditto.
1016
1017         * elmo-multi.el (elmo-folder-initialize): Ditto.
1018
1019         * elmo-util.el (elmo-parse-token): New function.
1020         (elmo-parse-prefixed-element): Ditto.
1021
1022 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
1023
1024         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
1025         delete process.
1026         (elmo-imap4-accept-ok): Ditto.
1027
1028 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1029
1030         * mmimap.el (mime-imap-entity-header-string): Don't check first
1031         element of node-id is `0' (Follow last change).
1032
1033 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1034
1035         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
1036         assigned irregular node-id to nested multipart section.
1037         (initialize-instance): Followed above change.
1038
1039 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1040
1041         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
1042         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
1043         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
1044         `elmo-shimbun-get-headers');
1045         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
1046         visible article on summary exists in headers).
1047         (elmo-map-message-fetch): Cause an error when folder is unplugged.
1048
1049 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
1050
1051         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
1052         definition.
1053
1054 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
1055
1056         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
1057
1058 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1059
1060         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
1061         header separator into loop condition.
1062
1063 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1064
1065         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
1066         Return duplicate folder if it has subfolder.
1067
1068 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
1069
1070         * elmo.el (elmo-make-folder): Add folder name error check.
1071
1072         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
1073         (elmo-nntp-encode-group-string): New inline function.
1074         (elmo-nntp-decode-group-string): Ditto.
1075         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
1076         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
1077         Use `not' instead of `null';
1078         Use elmo-nntp-decode-group-string.
1079
1080         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
1081
1082         * elmo-version.el (elmo-version): Up to 2.7.5.
1083
1084 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1085
1086         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
1087         Hide progress gauge if `elmo-folder-move-messages' exits
1088         nonlocally.
1089
1090 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
1091
1092         * elmo-imap4.el (elmo-folder-initialize): Use
1093         `elmo-imap4-encode-folder-string' for folder name.
1094
1095 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1096
1097         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
1098         `done'.
1099
1100 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1101
1102         * elmo-util.el (elmo-progress-counter-alist): New internal
1103         variable.
1104         (elmo-progress-counter-value): New macro.
1105         (elmo-progress-counter-all-value): Ditto.
1106         (elmo-progress-counter-format): Ditto.
1107         (elmo-progress-counter-set-value): Ditto.
1108         (elmo-progress-set): New function.
1109         (elmo-progress-clear): Ditto.
1110         (elmo-progress-notify): Ditto.
1111
1112         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
1113         counter.
1114
1115         * elmo.el (elmo-generic-folder-append-messages): Call
1116         `elmo-progress-notify'.
1117         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
1118
1119         * elmo-archive.el (elmo-folder-append-messages): Call
1120         `elmo-progress-notify'.
1121
1122         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
1123
1124         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
1125
1126         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
1127
1128 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1129
1130         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
1131         'Create'.
1132         (elmo-message-encache-dop): Added argument `read'.
1133
1134         * elmo-shimbun.el (elmo-message-encache): Ditto.
1135
1136         * elmo-net.el (elmo-message-encache): Ditto.
1137
1138         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
1139         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
1140         elmo-imap4-seen-messages.
1141         (elmo-folder-msgdb-create-plugged): Initialize
1142         elmo-imap4-seen-messages;
1143         Set seen mark on elmo-imap4-seen-messages.
1144
1145         * elmo-pipe.el (elmo-folder-message-file-p): Define.
1146
1147         * elmo.el (elmo-generic-folder-append-messages): Check return value of
1148         elmo-folder-append-buffer.
1149         (elmo-folder-encache): Added optional argument `read'.
1150         (elmo-message-encache): Ditto.
1151
1152         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1153
1154         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
1155
1156         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
1157         if append buffer content succeds.
1158
1159 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
1160
1161         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
1162         elmo-display-progress.
1163
1164         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
1165         Set 4th argument of mime-display-message.
1166         (elmo-mime-display-as-is): Ditto.
1167
1168 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
1169
1170         * elmo-nmz.el (toplevel): Require 'mime-edit.
1171         (elmo-nmz-content-type-alist): Abolished.
1172         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
1173         content is not a message.
1174         (elmo-map-message-fetch): Changed behavior exept for message content;
1175         Detect mime-charset automatically, Use `mime-find-file-type' to detect
1176         content-type, Add From: and Subject: field.
1177
1178 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1179
1180         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
1181         (elmo-map-message-fetch): Add `Content-Type' field if contents is
1182         not a message.
1183
1184 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1185
1186         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
1187         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
1188
1189         * elmo-archive.el (elmo-folder-writable-p): Defined.
1190
1191         * elmo-cache.el (elmo-folder-writable-p): Ditto.
1192
1193         * elmo-filter.el (elmo-folder-writable-p): Ditto.
1194
1195         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
1196
1197         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
1198
1199         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
1200
1201         * elmo-mark.el (elmo-folder-writable-p): Ditto.
1202
1203         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
1204
1205         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
1206
1207 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
1208
1209         * elmo-util.el (elmo-address-quote-specials): New function;
1210         Renamed from `wl-address-quote-specials'.
1211
1212 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1213
1214         * elmo-version.el (elmo-version): Up to 2.7.4.
1215
1216 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
1217
1218         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
1219
1220 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
1221
1222         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
1223         both compile-time and run-time to avoid byte-compile warning.
1224
1225 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
1226
1227         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
1228
1229 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
1230
1231         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
1232         option.
1233         (elmo-mime-display-as-is-internal): Use it.
1234
1235         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
1236         if `read-passwd' is not defined.
1237
1238 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
1239
1240         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
1241         by original number.
1242         (elmo-folder-status): Call `elmo-folder-open-internal';
1243         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
1244         (elmo-folder-close-internal): Set location-alist as nil.
1245         (elmo-folder-clear): Define.
1246         (elmo-folder-check): Don't set location-alist as nil.
1247
1248         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
1249
1250 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
1251
1252         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
1253         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
1254
1255         * mmimap.el (mime-imap-entity::requested): New slot.
1256         (mime-imap-location-fetch-entity-p): New generic function.
1257         (mime-decode-parameters): Define using `defun-maybe'.
1258         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
1259         content-type structure.
1260         (mime-entity-body): Return empty body if
1261         `mime-imap-location-fetch-entity-p' returns nil in the first request.
1262
1263         * elmo.el (elmo-message-displaying): New variable.
1264
1265         * elmo-mime.el (elmo-mime-message-display): Bind
1266         elmo-message-displaying as t.
1267
1268         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
1269
1270 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1271
1272         * acap.el (acap-open): erase buffer before starting network process.
1273         (acap-store): Rewrite.
1274
1275 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
1276
1277         * elmo-imap4.el (elmo-imap4-default-mailbox,
1278         elmo-imap4-default-server
1279         elmo-imap4-default-authenticate-type,
1280         elmo-imap4-default-user,
1281         elmo-imap4-default-port,
1282         elmo-imap4-default-stream-type,
1283         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
1284
1285         * elmo-pop3.el (elmo-pop3-default-user,
1286         elmo-pop3-default-server,
1287         elmo-pop3-default-authenticate-type,
1288         elmo-pop3-default-port,
1289         elmo-pop3-default-stream-type,
1290         elmo-pop3-stream-type-alist): Ditto.
1291
1292         * elmo-nntp.el (elmo-nntp-default-server,
1293         elmo-nntp-default-user,
1294         elmo-nntp-default-port,
1295         elmo-nntp-default-stream-type,
1296         elmo-nntp-stream-type-alist): Ditto.
1297
1298         * elmo-vars.el: Follow changes above.
1299         (elmo-setting): New custom group; added 'elmo-setting group to
1300         above variables.
1301
1302         * elmo-version.el (elmo-version): Up to 2.7.3.
1303
1304         * acap.el (acap-parse-response): Don't delete process when BYE
1305         response (It causes hang-up on slow network environment).
1306         (toplevel): Added comment.
1307
1308 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
1309
1310         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
1311
1312         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
1313         parsing NIL.
1314         (acap-parse-return-metadata): Ditto.
1315
1316         * slp.el: New file.
1317         (toplevel): Fixed typo.
1318
1319         * acap.el: New file.
1320         (acap-network-stream-open): Show "Connecting..." message.
1321         (acap-parse-response): Fixed problem for BYE untagged response.
1322         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
1323         (toplevel): Added tiny comments.
1324
1325 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
1326
1327         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
1328         space delimiter for uidl response.
1329
1330 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
1331
1332         * elmo-vars.el (elmo-use-semi): Eliminated.
1333
1334         * elmo-util.el (elmo-string-assoc-all): New function.
1335
1336 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1337
1338         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
1339         property 'mime-preview-situation for `mime-preview-quit'.
1340
1341 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1342
1343         * elmo.el (elmo-message-fetch-with-cache-process): Call
1344         elmo-message-fetch-internal instead of causing an error when fetch
1345         strategy is 'entire but only 'section cache is available.
1346
1347 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
1348
1349         * elmo-version.el (elmo-version): Up to 2.7.2.
1350
1351         * elmo.el (elmo-generic-folder-append-messages): Make
1352         fetch-strategy with `use-cache'.
1353
1354         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
1355         (elmo-dop-queue-method-name): New macro.
1356
1357 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1358
1359         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
1360         unbalanced parenthesis.
1361
1362 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
1363
1364         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
1365
1366 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
1367
1368         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
1369         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
1370
1371 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
1372
1373         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
1374         local variables.
1375
1376 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
1377
1378         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
1379         (elmo-message-use-cache-p): Define.
1380         (elmo-folder-msgdb-create): Treat cache.
1381
1382 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
1383
1384         * elmo-nntp.el (elmo-network-initialize-session): Call
1385         `elmo-nntp-send-mode-reader'.
1386         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
1387
1388 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
1389
1390         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
1391         alist.
1392         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
1393         assoc.
1394
1395         * elmo-net.el (elmo-network-get-session): Set stream-type argument
1396         for `elmo-plugged-p'.
1397         (elmo-open-network-stream): Fixed stream-type argument.
1398
1399 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
1400
1401         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
1402         unknown archive type is specified.
1403
1404 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
1405
1406         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
1407
1408         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
1409         while loading msgdb.
1410
1411         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
1412         (elmo-folder-open-internal): Rewrite.
1413
1414 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
1415
1416         * elmo-mime.el (elmo-mime-display-as-is-internal):
1417         Adjust buffer-multibyte status.
1418
1419 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
1420
1421         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
1422         of elmo-condition-find-key.
1423
1424         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
1425         (elmo-condition-in-msgdb-p): Ditto.
1426         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
1427         argument.
1428
1429 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
1430
1431         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
1432
1433 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
1434
1435         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
1436         label for elmo-display-progress.
1437
1438 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
1439
1440         * elmo.el (elmo-folder-clear): New method.
1441         (elmo-folder-clear): Define.
1442         (elmo-folder-synchronize): Call `elmo-folder-clear'.
1443
1444         * elmo-shimbun.el (elmo-folder-check): Rewrite.
1445         (elmo-folder-clear): Define.
1446
1447         * elmo-map.el (elmo-folder-clear): Define.
1448
1449         * elmo-version.el (elmo-version): Up to 2.7.1.
1450
1451 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
1452
1453         * elmo.el (elmo-folder-synchronize): Return list of nil when no
1454         updates.
1455
1456 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
1457
1458         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
1459         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
1460
1461 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
1462
1463         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
1464
1465         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
1466         and re-written.
1467
1468         * elmo-imap4.el (elmo-folder-initialize): Use
1469         elmo-get-network-stream-type.
1470
1471         * elmo-nntp.el (elmo-folder-initialize): Ditto.
1472
1473         * elmo-pop3.el (elmo-folder-initialize): Ditto.
1474
1475 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
1476
1477         * elmo.el (elmo-message-encache): Set unread argument for
1478         elmo-message-fetch.
1479
1480         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
1481
1482         * elmo.el (elmo-net-port-info): New method.
1483
1484         * elmo-shimbun.el (elmo-net-port-info): Define.
1485         (elmo-message-encache): Ditto.
1486
1487         * elmo-net.el (elmo-net-port-info): Define as method.
1488
1489         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
1490         unplugged status when elmo-enable-disconnected-operation is t.
1491
1492         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
1493         of spool folder before checking new number.
1494
1495 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
1496
1497         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
1498         (elmo-network-setup-session): Ditto.
1499         (elmo-message-fetch-plugged): Ditto.
1500         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
1501         (elmo-network-initialize-session): Ditto.
1502         (elmo-pop3-read-response): Abolish 3rd argument.
1503         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
1504         (elmo-pop3-read-contents): Ditto.
1505         (elmo-pop3-read-body): Ditto.
1506         (elmo-folder-status): Call elmo-folder-close.
1507         (elmo-pop3-lock): Abolish.
1508         (elmo-pop3-unlock): Ditto.
1509         (elmo-pop3-locked-p): Ditto.
1510         (elmo-folder-check): Don't call elmo-pop3-locked-p.
1511
1512 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
1513
1514         * elmo-version.el (elmo-version): Up to 2.7.0.
1515
1516         * elmo-pop3.el (elmo-pop3-debug): New variable.
1517         (elmo-pop3-debug-inhibit-logging): Ditto.
1518         (elmo-pop3-debug): New function.
1519         (elmo-pop3-send-command): Call elmo-pop3-debug.
1520         (elmo-pop3-read-response): Added keep-lock optional argument;
1521         Don't unlock if keep-lock is non-nil.
1522         (elmo-pop3-process-filter): Call elmo-pop3-debug.
1523         (elmo-network-authenticate-session): Bind
1524         elmo-pop3-debug-inhibit-logging as t.
1525         (elmo-network-setup-session): Call elmo-pop3-read-response with
1526         keep-lock argument.
1527         (elmo-pop3-read-msg): Ditto.
1528         (elmo-pop3-locked-p): Call elmo-pop3-debug.
1529         (elmo-pop3-read-body): Call elmo-pop3-unlock.
1530         (elmo-network-initialize-session): Call elmo-pop3-lock.
1531         (elmo-folder-close-internal): Don't clear location-alist slot.
1532         (elmo-folder-check): Clear location-alist slot.
1533
1534 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
1535
1536         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
1537         (elmo-pop3-send-command): Call elmo-pop3-lock.
1538         (elmo-pop3-read-response): Call elmo-pop3-unlock.
1539         (elmo-pop3-read-contents): Ditto.
1540         (elmo-pop3-lock): New function.
1541         (elmo-pop3-unlock): Ditto.
1542         (elmo-pop3-locked-p): Ditto.
1543         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
1544         returns t.
1545
1546 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
1547
1548         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
1549
1550         * elmo-util.el (elmo-file-field-primitive-condition-match):
1551         New inline function (Don't fetch file content if "first" or "last").
1552         (elmo-file-field-condition-match): Use
1553         elmo-file-field-primitive-condition-match.
1554
1555         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
1556         "first".
1557
1558         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
1559         (elmo-message-fetch-plugged): Fixed.
1560
1561         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
1562
1563 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
1564
1565         * elmo.el (elmo-folder-move-messages): Bind
1566         elmo-inhibit-display-retrieval-progress as t while moving messages.
1567
1568         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
1569         New variable.
1570         (elmo-inhibit-display-retrieval-progress): Ditto.
1571
1572         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
1573         for retrieval progress;
1574         Don't display progress when total buffer size is smaller than
1575         elmo-display-retrieval-progress-threshold.
1576         (elmo-message-fetch-plugged): Don't display progress when
1577         elmo-inhibit-display-retrieval-progress is non-nil.
1578
1579         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
1580         for retrieval progress;
1581         Don't display progress when literal size is smaller than
1582         elmo-display-retrieval-progress-threshold.
1583         (elmo-imap4-message-fetch): Don't display progress when
1584         elmo-inhibit-display-retrieval-progress is non-nil.
1585
1586 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
1587
1588         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
1589         (elmo-imap4-find-next-line): Display progress whille literal fetching.
1590         (elmo-imap4-message-fetch): Likewise.
1591
1592         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
1593         (elmo-shimbun-index-range-alist): Ditto.
1594         (elmo-shimbun-use-entire-index): Abolish.
1595         (shimbun-mua-use-entire-index): Ditto.
1596         (elmo-shimbun-folder): Added new slot `range'.
1597         (elmo-folder-initialize): Setup slot `range'.
1598
1599 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
1600
1601         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
1602         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
1603         (elmo-shimbun-get-headers): Use return value of
1604         `shimbun-article-expiration-days'.
1605         (elmo-folder-close-internal): Clean up last-check slot.
1606
1607         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
1608         (elmo-pop3-total-size): New variable.
1609         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
1610
1611         * elmo.el (elmo-folder-reserve-status-p): New method.
1612
1613         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
1614         (elmo-shimbun-use-entire-index): New user option.
1615         (shimbun-elmo-mua): New class.
1616         (shimbun-mua-search-id): Define.
1617         (shimbun-mua-use-entire-index): Ditto.
1618         (elmo-shimbun-folder:last-check): New slot.
1619         (elmo-shimbun-headers-cache-header-list): Abolish.
1620         (elmo-shimbun-headers-cache-set-header-list): Ditto.
1621         (elmo-shimbun-headers-cache-header-hash): Ditto.
1622         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
1623         (elmo-shimbun-headers-cache-last-check): Ditto.
1624         (elmo-shimbun-headers-cache-set-last-check): Ditto.
1625         (elmo-shimbun-headers-check-p): Rewrite.
1626         (elmo-shimbun-msgdb-to-headers): New function.
1627         (elmo-shimbun-get-headers): Rewrite.
1628         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
1629         (elmo-folder-open-internal): Get headers only if
1630         `elmo-shimbun-headers-check-p' is non-nil.
1631         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
1632         is non-nil.
1633         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
1634         (elmo-quit): Removed.
1635
1636         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
1637         function.
1638         (elmo-msgdb-overview-entity-set-extra): Ditto.
1639         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
1640
1641         * elmo-map.el (elmo-folder-status): Don't call
1642         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
1643         is non-nil.
1644
1645 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1646
1647         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
1648         of `elmo-msgdb-search-internal-primitive' when condition's car is
1649         `and' or `or'.
1650
1651 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
1652
1653         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
1654
1655 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1656
1657         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
1658         call `elmo-pipe-drain'.
1659
1660 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
1661
1662         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
1663         typo. (elmo-cache-folder -> elmo-mark-folder)
1664
1665 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1666
1667         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
1668         `elmo-message-fetch'.
1669
1670 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1671
1672         * elmo-net.el (elmo-message-encache): Fixed typo.
1673         (elmo-message-fetch-unplugged): Changed call
1674         `elmo-message-fetch-internal' without argument `outbuf'.
1675
1676 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
1677
1678         * elmo.el (elmo-message-encache): Define as generic function.
1679         (elmo-message-fetch-field): New generic function.
1680         (elmo-message-fetch-with-cache-process): Cause an error when
1681         fetch strategy is 'entire but only 'section cache is available.
1682         (toplevel): Fixed nmz folder definition.
1683
1684         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
1685         (elmo-msgdb-resume-list-filename): Ditto.
1686         (elmo-queue-filename): Ditto.
1687         (elmo-enable-disconnected-operation): Changed default value to t.
1688
1689         * elmo-util.el (elmo-cache-path-section-p): New function.
1690         (elmo-file-cache-get): Use it.
1691         (elmo-dop-queue-filename): Moved from elmo-dop.el.
1692         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
1693         (elmo-dop-queue-save): Ditto.
1694
1695         * elmo-net.el (elmo-folder-status-unplugged): Call
1696         elmo-folder-status-dop.
1697         (elmo-folder-list-messages-unplugged): Implemented.
1698         (elmo-folder-delete-messages-unplugged): Define.
1699         (elmo-folder-msgdb-create): Define.
1700         (elmo-folder-msgdb-create-unplugged): Define.
1701         (elmo-folder-mark-as-read-unplugged): Ditto.
1702         (elmo-folder-unmark-read-unplugged): Ditto.
1703         (elmo-folder-mark-as-important-unplugged): Ditto.
1704         (elmo-folder-unmark-important-unplugged): Ditto.
1705         (elmo-message-encache): Ditto.
1706
1707         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
1708         (elmo-dop-queue-save): Ditto.
1709
1710         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
1711         `elmo-folder-msgdb-create'.
1712         (elmo-folder-append-buffer): Implemented unplugged operation.
1713         (elmo-folder-append-messages): Call parent method in unplugged status.
1714         (elmo-message-fetch-unplugged): Removed definition.
1715         (elmo-message-fetch-field): Implemented.
1716
1717         * elmo-dop.el (toplevel): Require 'elmo-localdir.
1718         (elmo-dop-folder): Removed variable definition.
1719         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
1720         (elmo-dop-queue-flush): Implemented.
1721         (elmo-dop-queue-merge): Removed definition (TODO).
1722         (elmo-dop-spool-folder): New function.
1723         (elmo-dop-spool-folder-append-buffer): Ditto.
1724         (elmo-dop-spool-folder-list-messages): Ditto.
1725         (elmo-dop-list-deleting-messages): Ditto.
1726         (elmo-folder-append-buffer-dop): Ditto.
1727         (elmo-folder-delete-messages-dop): Ditto.
1728         (elmo-message-encache-dop): New inline function.
1729         (elmo-create-folder-dop): Ditto.
1730         (elmo-folder-mark-as-read-dop): Ditto.
1731         (elmo-folder-unmark-read-dop): Ditto.
1732         (elmo-folder-mark-as-important-dop): Ditto.
1733         (elmo-folder-unmark-important-dop): Ditto.
1734         (elmo-folder-status-dop): Fixed.
1735         (elmo-folder-append-buffer-dop-delayed): New function.
1736         (elmo-folder-delete-messages-dop-delayed): Ditto.
1737         (elmo-dop-msgdb): Ditto.
1738
1739 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1740
1741         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
1742
1743 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1744
1745         * elmo.el (elmo-folder-move-messages): Fixed problem when
1746         `dst-folder' is 'null.
1747
1748 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1749
1750         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
1751         instead of current mark.
1752
1753         * elmo-multi.el (elmo-folder-list-importants-internal): No
1754         operation if importants is not list.
1755
1756         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
1757         Return t if importants is not list.
1758
1759         * elmo-map.el (elmo-map-folder-list-importants): Define.
1760         (elmo-folder-list-importants-internal): Check return value of
1761         `elmo-map-folder-list-importants-internal'.
1762
1763         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
1764
1765         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
1766
1767         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
1768
1769         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
1770
1771 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
1772
1773         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
1774         (Patch is provided by <kita@coe.nttdata.co.jp>).
1775
1776 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1777
1778         * elmo.el (elmo-folder-synchronize): Don't check important mark in
1779         mark folder.
1780
1781 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1782
1783         * elmo.el (elmo-message-fetch): Define.
1784         (elmo-message-fetch-with-cache-process): New generic method.
1785         (elmo-message-fetch-internal): New generic method.
1786         (elmo-folder-synchronize):
1787
1788         * elmo-archive.el (elmo-message-fetch-internal): Define.
1789         (elmo-message-fetch): Eliminated.
1790
1791         * elmo-localdir.el (elmo-message-fetch-internal): Define.
1792         (elmo-message-fetch): Eliminated.
1793
1794         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
1795         argument OUTBUF.
1796         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
1797
1798         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
1799         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
1800
1801         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
1802         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
1803
1804         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
1805
1806         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
1807
1808         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
1809
1810         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
1811         (elmo-message-fetch-unplugged): New generic method.
1812         (elmo-message-fetch-internal): Remove cache process (Renamed from
1813         `elmo-message-fetch').
1814
1815         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
1816         (elmo-message-fetch): Eliminated.
1817         (elmo-message-fetch-unplugged): Ditto.
1818
1819         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
1820
1821 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1822
1823         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
1824         of `to-be-deleted' from number-alist to number-list.
1825
1826 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1827
1828         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
1829         (elmo-folder-mark-as-important): Ditto.
1830
1831 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
1832
1833         * elmo.el (elmo-folder): Added process-duplicates slot.
1834
1835         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
1836         (elmo-folder-unmark-read): Ditto.
1837         (elmo-folder-unmark-important): Ditto.
1838         (elmo-folder-mark-as-important): Ditto.
1839
1840         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
1841         duplicated message processing.
1842
1843         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
1844
1845 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1846
1847         * elmo-util.el (elmo-list-subdirectories-1): New function.
1848         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
1849         (elmo-mapcar-list-of-list): New function.
1850
1851         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
1852         `elmo-mapcar-list-of-list' instead of `mapcar'.
1853
1854         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
1855
1856         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
1857         `elmo-have-link-count'. Return the fully qualified folder name.
1858
1859 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
1860
1861         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
1862         (elmo-shimbun-headers-cache): New internal variable.
1863         (elmo-shimbun-headers-cache-header-list): New inline function.
1864         (elmo-shimbun-headers-cache-set-header-list): Ditto.
1865         (elmo-shimbun-headers-cache-header-hash): Ditto.
1866         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
1867         (elmo-shimbun-headers-cache-last-check): Ditto.
1868         (elmo-shimbun-headers-cache-set-last-check): Ditto.
1869         (elmo-shimbun-lapse-seconds): Ditto.
1870         (elmo-shimbun-headers-cache-check-p): Ditto.
1871         (elmo-shimbun-get-headers): New function.
1872         (elmo-folder-open-internal): Call it.
1873         (elmo-quit): Define (Clear headers-cache).
1874
1875 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
1876
1877         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
1878
1879         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
1880         (elmo-msgdb-flist-save): Ditto.
1881
1882         * elmo-shimbun.el (elmo-folder-list-subfolders):
1883         Use `shimbun-groups' instead of `shimbun-groups-internal'.
1884         (elmo-folder-exists-p): Ditto.
1885
1886         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
1887         argument for `shimbun-header-insert'.
1888
1889 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
1890
1891         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
1892         at first time.
1893
1894         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
1895         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
1896
1897 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
1898
1899         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
1900         (elmo-folder-plugged-p): Define.
1901         (elmo-folder-set-plugged): Ditto.
1902         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
1903         (elmo-folder-list-messages-internal): Return t if unplugged.
1904         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
1905
1906         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
1907         when elmo-folder-list-messages-internal method of children returns t.
1908
1909         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
1910         pair is nil.
1911         (elmo-folder-open-internal): Don't update if unplugged status.
1912
1913 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
1914
1915         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
1916         new message.
1917
1918 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
1919
1920         * elmo-util.el (elmo-file-cache-save): Ignore errors.
1921
1922         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
1923         saving.
1924
1925 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
1926
1927         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
1928
1929         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
1930         (elmo-folder-open-internal): Set up headers slot.
1931         (elmo-folder-check): Call elmo-folder-close-internal and
1932         elmo-folder-open-internal.
1933         (elmo-folder-close-internal): Clean up headers slot.
1934
1935 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
1936
1937         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
1938         exactly folder list.
1939         (elmo-folder-append-messages): Fixed append archive with prefix.
1940
1941         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
1942         make temp files with start-number.
1943
1944         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
1945
1946 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1947
1948         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
1949         argument `visible-only'.
1950         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
1951         instead of `if'.
1952
1953         * elmo-pop3.el (elmo-folder-open-internal): Check
1954         `elmo-inhibit-number-mapping' is non-nil.
1955
1956         * elmo-pipe.el (elmo-folder-status): Fixed.
1957
1958 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
1959
1960         * elmo.el (elmo-dop-queue-flush): Added autload setting.
1961
1962         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
1963         (elmo-folder-open-internal): Setup `header-hash' slot.
1964         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
1965         information.
1966         (elmo-map-message-fetch): Ditto.
1967
1968 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
1969
1970         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
1971         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
1972         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
1973         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
1974
1975         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
1976
1977 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
1978
1979         * sb-airs.el: Added footer.
1980
1981         * shimbun.el (shimbun-article): Define as luna-method.
1982
1983         * sb-tcup.el: New file.
1984
1985         * sb-airs.el (toplevel): Require 'sb-mhonarc.
1986         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
1987
1988 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
1989
1990         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
1991         (shimbun-get-headers): Ditto.
1992
1993         * elmo.el: Moved obsolete variable definitions from
1994         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
1995
1996         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
1997         groups.
1998
1999         * shimbun.el: New file.
2000
2001         * elmo-shimbun.el: New file.
2002
2003         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
2004         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
2005         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
2006         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
2007
2008 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
2009
2010         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
2011         hierarchy is t.
2012
2013 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
2014
2015         * elmo.el (elmo-folder-msgdb): Define as macro.
2016         (elmo-folder-open): Added argument `load-msgdb'.
2017         (elmo-generic-folder-open): Ditto.
2018         (elmo-folder-encache): New function.
2019
2020         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
2021
2022         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
2023
2024         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
2025         Eliminated argument FOLDER and added argument MSGDB.
2026         (elmo-dop-queue-load): Moved from elmo-dop.el.
2027         (elmo-dop-queue-save): Ditto.
2028
2029         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
2030
2031         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
2032
2033         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
2034         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
2035         (elmo-filter-folder-list-importants-internal): Ditto.
2036
2037         * elmo-map.el (elmo-folder-pack-number): Ditto.
2038
2039         * elmo-mime.el (elmo-mime-message-display): Ditto.
2040
2041         * elmo.el (elmo-generic-folder-commit): Ditto.
2042         (elmo-folder-list-unreads): Ditto.
2043         (elmo-folder-list-importants): Ditto.
2044         (elmo-generic-folder-commit): Ditto.
2045         (elmo-message-set-mark): Ditto.
2046         (elmo-generic-folder-append-msgdb): Ditto.
2047         (elmo-folder-synchronize): Ditto.
2048         (elmo-folder-messages): Ditto.
2049         (elmo-init): Call elmo-dop-queue-load.
2050         (elmo-folder-list-messages): Ditto.
2051
2052         * elmo-nntp.el (elmo-folder-update-number): Ditto.
2053         (elmo-nntp-folder-process-crosspost): Ditto.
2054         (elmo-folder-list-unreads-internal): Ditto.
2055
2056         * elmo-dop.el: Removed old functions.
2057
2058 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
2059
2060         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
2061         `folder' to `msgdb'.
2062
2063 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
2064
2065         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
2066         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
2067
2068         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
2069         case-fold-search.
2070
2071 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
2072
2073         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
2074         defined.
2075
2076         * mmimap.el (toplevel): Require 'mime-parse and 'static.
2077         (mmimap-parse-parameters-from-list): Define as alias for
2078         `mime-decode-parameter-plist' if it is defined as function.
2079         (mmimap-make-mime-entity): Added argument `number'.
2080         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
2081         as 0.
2082         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
2083
2084         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
2085
2086         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
2087
2088         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
2089
2090 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
2091
2092         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
2093
2094         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
2095         when elmo-imap4-default-authenticate-type is nil.
2096         (elmo-folder-list-subfolders): Ditto
2097         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
2098         (elmo-imap4-fetch-callback-1-subr): Renamed from
2099         `elmo-imap4-fetch-callback-1' and define as inline function.
2100         (elmo-imap4-fetch-callback-1):
2101         Renamed from `elmo-imap4-fetch-callback'.
2102         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
2103
2104         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
2105         msgdb path (To keep compatibility with main trunk).
2106
2107         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
2108
2109         * elmo-util.el (elmo-make-file-cache): Moved position of
2110         some macros.
2111
2112         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
2113         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
2114         instead of `elmo-pop3-inhibit-uidl'.
2115         (elmo-folder-exists-p): Ditto.
2116         (elmo-pop3-folder-list-messages): Ditto.
2117
2118         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
2119         instead of `elmo-pop3-inhibit-uidl'.
2120         (elmo-folder-status): Ditto.
2121
2122         * elmo-dop.el (elmo-dop-folder): New variable.
2123         (elmo-dop-lock-message): Eliminated.
2124         (elmo-dop-unlock-message): Ditto.
2125         (elmo-dop-lock-list-load): Ditto.
2126         (elmo-dop-lock-list-save): Ditto.
2127         (elmo-dop-delete-folder): Ditto.
2128         (elmo-dop-rename-folder): Ditto.
2129
2130         * elmo.el: Removed incomplete commentary.
2131
2132 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2133
2134         * elmo.el (toplevel): Require 'elmo-version first;
2135         for little `recursive-load-depth' settings.
2136         Fix "ends here" comment.
2137
2138 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
2139
2140         * elmo-util.el (toplevel): Require 'poem;
2141         Some functions are moved from elmo-cache.el.
2142
2143         * elmo-net.el (toplevel): Require 'elmo-cache.
2144
2145         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
2146
2147         * elmo.el (toplevel): Ditto.
2148
2149         * elmo-cache.el: Rewrite with luna;
2150         Some functions are moved to elmo-util.el.
2151
2152         * elmo-internal.el (elmo-internal-folder-list): New variable.
2153         (elmo-internal-folder-initialize): Rewrite.
2154         (elmo-folder-list-subfolders): Ditto.
2155
2156         * elmo-cache.el (elmo-cache-search-all): Eliminated.
2157         (elmo-cache-collect-sub-directories): Ditto.
2158
2159 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2160
2161         * elmo-version.el (elmo-version): Up to 2.5.8.
2162
2163         * elmo.el (elmo-folder-list-messages-mark-match): New function.
2164
2165         * elmo-util.el (elmo-list-insert): New function.
2166
2167 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
2168
2169         * elmo.el (elmo-init): New function.
2170         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
2171
2172         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
2173         (Renamed from `elmo-localdir-header-chop-length').
2174
2175         * elmo-pop3.el (elmo-pop3-use-cache,
2176         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
2177
2178         * elmo-nntp.el (elmo-message-fetch): Define.
2179         (elmo-message-fetch-unplugged): Ditto.
2180         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
2181         (elmo-nntp-use-cache): Ditto.
2182         (elmo-nntp-max-number-precedes-list-active): Ditto.
2183
2184         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
2185
2186         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
2187         `elmo-msgdb-insert-file-header'.
2188         Use `elmo-msgdb-file-header-chop-length'.
2189
2190         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
2191         `elmo-vars.el'.
2192
2193         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
2194         (elmo-cache-msgdb-create-overview-entity-from-file): Use
2195         `elmo-msgdb-insert-file-header'.
2196
2197         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
2198         Use new variable;
2199         Define obsolete variables with `elmo-define-obsolete-variable',
2200
2201         * elmo-util.el (elmo-warning-buffer-name): New constant.
2202         (elmo-warning): New function.
2203         (elmo-obsolete-variable-alist): New variable.
2204         (elmo-obsolete-variable-show-warnings): New variable.
2205         (elmo-define-obsolete-variable): New function.
2206         (elmo-resque-obsolete-variable): Ditto.
2207         (elmo-resque-obsolete-variables): Ditto.
2208
2209 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2210
2211         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
2212         Eliminated.
2213
2214         * elmo-pop3.el, elmo-nntp.el: Use custom.
2215
2216 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
2217
2218         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
2219         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
2220
2221 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2222
2223         * Luna-fy Kenichi OKADA's following changes.
2224         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
2225         `nohide'.
2226         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
2227
2228 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
2229
2230         * elmo-util.el (elmo-display-progress): Prefer
2231         `progress-feedback-with-label' to `lprogress-display'.
2232
2233 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
2234
2235         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
2236
2237 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
2238
2239         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
2240         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
2241         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
2242         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
2243         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
2244         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
2245         * elmo-archive.el (elmo-archive-list-folder): Ditto.
2246         * elmo-filter.el (elmo-filter-list-folder): Ditto.
2247         * elmo-internal.el (elmo-internal-list-folder): Ditto.
2248         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
2249         * elmo-multi.el (elmo-multi-list-folder): Ditto.
2250         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
2251         * elmo-dop.el (elmo-dop-list-folder): Ditto.
2252
2253 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
2254
2255         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
2256         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
2257
2258 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2259
2260         * elmo.el (elmo-folder-process-crosspost): New generic method.
2261         (elmo-folder-writable-p): Ditto.
2262         (elmo-folder-message-appendable-p): Eliminated.
2263         (elmo-generic-folder-append-msgdb): Rewrite.
2264         (elmo-newsgroups-hashtb): New internal variable.
2265         (elmo-crosspost-message-set): Eliminated.
2266         (elmo-crosspost-message-delete): Ditto.
2267         (elmo-setup-subscribed-newsgroups): New function.
2268         (elmo-crosspost-message-alist-modified): New internal variable.
2269         (elmo-crosspost-message-alist-load): New function (Renamed from
2270         `wl-crosspost-alist-load').
2271         (elmo-crosspost-message-alist-save): Ditto (Renamed from
2272         `wl-crosspost-alist-save').
2273
2274         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
2275
2276         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
2277         `unreads'.
2278         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
2279         elmo-newsgroups-hashtb).
2280         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
2281         `elmo-nntp-folder-update-crosspost-message-alist'.
2282         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
2283         `elmo-nntp-groups-hashtb'.
2284         (elmo-nntp-make-groups-hashtb): Eliminated.
2285         (elmo-nntp-parse-newsgroups): New function (Renamed from
2286         `wl-parse-newsgroups').
2287         (elmo-folder-creatable-p, elmo-folder-writable-p,
2288         elmo-folder-close-internal, elmo-folder-mark-as-read,
2289         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
2290         Define.
2291         (elmo-nntp-folder-update-crosspost-message-alist): New function.
2292
2293         * elmo-net.el (elmo-message-fetch): Check buffer size.
2294
2295         * elmo-multi.el (elmo-multi-split-number-alist): New function.
2296
2297         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
2298
2299         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
2300         before `close' command.
2301
2302         * elmo.el (elmo-folder-list-unreads-internal): Added argument
2303         `mark-alist' (All other related portions are changed).
2304
2305 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2306
2307         * elmo-util.el (elmo-create-hash-size): Eliminated.
2308         (elmo-make-hash) Make a hash with `one less than a power of two'
2309         length.
2310
2311         * elmo-vars.el (elmo-hash-minimum-size): New variable.
2312         (elmo-hash-maximum-size): Changed value.
2313
2314 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2315
2316         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
2317         (elmo-mime-message-display-as-is): Ditto.
2318
2319 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
2320
2321         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
2322         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
2323
2324 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
2325
2326         * elmo-mark.el: New file.
2327
2328         * elmo-internal.el: Rewrite (Almost empty).
2329
2330 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
2331
2332         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
2333         (mime-imap-entity-header-string): Ditto.
2334         (mmimap-entity-section): Rewrite.
2335
2336 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
2337
2338         * elmo-nmz.el: New file.
2339
2340         * elmo-pipe.el: Rewrite with luna.
2341
2342 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
2343
2344         * elmo-archive.el: Rewrite with luna.
2345
2346         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
2347         (elmo-folder-list-importants-internal): Ditto.
2348
2349 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
2350
2351         * elmo-archive.el (elmo-archive-version): Abolish.
2352         (toplevel) Removed `boso' comment.
2353
2354 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
2355
2356         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
2357         elmo-msgdb-add-msgs-to-seen-list-subr;
2358         Changed argument seen-marks to unread-marks.
2359
2360         * elmo-nntp.el: Rewrite with luna.
2361
2362 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
2363
2364         * elmo-filter.el: Rewrite with luna.
2365
2366 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
2367
2368         * elmo-pop3.el: Rewrite with luna.
2369
2370 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
2371
2372         * elmo-multi.el: Rewrite with luna.
2373
2374         * elmo-vars.el (elmo-use-killed-list): Abolish.
2375         All other related portions are changed.
2376         (elmo-filename-replace-string-alist): Renamed from
2377         elmo-msgid-replace-string-alist.
2378
2379 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
2380
2381         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
2382
2383         * elmo-map.el: New file.
2384         * elmo-maildir.el: Rewrite with luna.
2385
2386 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
2387
2388         * elmo.el: Changed meaning of `elmo-folder-commit'.
2389         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
2390
2391 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
2392
2393         * elmo.el (elmo-folder-append-buffer): New function.
2394         (Renamed from `elmo-append-msg')
2395
2396 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
2397
2398         * elmo-mime.el: New file.
2399
2400 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
2401
2402         * elmo-cache.el: Rewrite.
2403
2404 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
2405
2406         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
2407
2408 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
2409
2410         * elmo-vars.el (elmo): New group.
2411         (elmo-strict-diff-folder-regexp): New variable.
2412
2413         * elmo-util.el (elmo-call-func): Abolish.
2414         (elmo-folder-get-type): Ditto.
2415         (elmo-*-get-spec): Ditto.
2416         (elmo-*-spec-*): Ditto.
2417         (elmo-imap4-identical-name-space-p): Ditto.
2418         (elmo-folder-identical-system-p): Ditto.
2419         (elmo-folder-direct-copy-alist): Ditto.
2420         (elmo-folder-direct-copy-p): Ditto.
2421
2422         * elmo-pipe.el (elmo-pipe-folder): New luna class.
2423         (elmo-folder-initialize): Define.
2424         (elmo-folder-get-primitive-list): Ditto.
2425
2426         * elmo-nntp.el (elmo-nntp-folder): New luna class.
2427         (elmo-folder-initialize): Define.
2428         Renamed `elmo-network-session-host-internal' to
2429         `elmo-network-session-server-internal'.
2430
2431         * elmo-multi.el (elmo-multi-folder): New luna class.
2432         (elmo-folder-initialize): Define.
2433         (elmo-folder-get-primitive-list): Ditto.
2434         (elmo-folder-contains-type): Ditto.
2435         (elmo-message-use-cache-p): Ditto.
2436
2437         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
2438         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
2439
2440         * elmo-maildir.el (elmo-maildir-folder): New luna class.
2441         (elmo-folder-initialize): Define.
2442
2443         * elmo-filter.el (elmo-filter-folder): New luna class.
2444         (elmo-folder-initialize): Define.
2445         (elmo-folder-get-primitive-list): Ditto.
2446         (elmo-folder-contains-type): Ditto.
2447
2448 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
2449
2450         * elmo-imap4.el: Rewrite with luna.
2451
2452         * mmimap.el: New file.
2453
2454         * mmelmo.el, mmelmo-imap4.el: Removed.
2455
2456         * elmo-net.el: Ditto.
2457
2458         * elmo-pop3.el (elmo-pop3-folder): New luna class.
2459         (elmo-folder-initialize): Define.
2460
2461         * elmo-archive.el (elmo-archive-folder): New luna class.
2462         (elmo-folder-initialize): Define.
2463
2464         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
2465         `elmo-folder-msgdb-path'.
2466         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
2467         `elmo-make-folder'.
2468
2469 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
2470
2471         * elmo.el: New file.
2472
2473         * elmo2.el: Renamed to elmo.el.
2474
2475 \f
2476 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
2477
2478         * elmo-cache.el (elmo-cache-expire-by-size): Count
2479         a disk usage for a cache file entry in KB even when
2480         its kind is a directory.
2481
2482 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
2483
2484         * elmo-version.el (elmo-version): Up to 2.5.7.
2485
2486 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2487
2488         * elmo-version.el (elmo-version): Up to 2.5.6.
2489
2490 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
2491
2492         * elmo-version.el (elmo-version): Up to 2.5.5.
2493
2494 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
2495
2496         * elmo-imap4.el (elmo-network-authenticate-session):
2497         Fixed a logic for response checking.
2498
2499 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
2500
2501         * elmo-net.el: Add autoload settings for `starttls-negotiate',
2502         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
2503         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
2504         `sasl-mechanisms'.
2505
2506         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
2507         for `starttls-open-stream' and `starttls-negotiate'.
2508
2509         * elmo-nntp.el: Remove autoload settings for
2510         `starttls-open-stream' and `starttls-negotiate'.
2511
2512         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
2513         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
2514         `luna-define-class' with `eval-and-compile'.
2515
2516 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
2517
2518         * elmo-util.el (elmo-read-search-condition-internal):
2519         Require an element of table for searching field.
2520
2521 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
2522
2523         * elmo-version.el (elmo-version): Up to 2.5.4.
2524
2525 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
2526
2527         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
2528
2529 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
2530
2531         * elmo-nntp.el (elmo-network-initialize-session): omitted.
2532
2533 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
2534
2535         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
2536         before greeting.
2537
2538 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
2539
2540         * elmo-imap4.el (elmo-imap4-delete-folder):
2541         Send "close" before "delete" (Use commented out line).
2542         (elmo-imap4-rename-folder): Ditto.
2543
2544         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
2545         folder string itself.
2546         (elmo-dop-list-deleted): New function.
2547         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
2548         killed.
2549
2550         * elmo-util.el (elmo-string-rassoc-all): New function.
2551
2552 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
2553
2554         * elmo-version.el (elmo-version): Up to 2.5.3.
2555
2556         * elmo-net.el (elmo-network-get-session): Changed logic for
2557         checking process status.
2558
2559         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
2560         process is nil;
2561         Changed logic for checking process status.
2562
2563 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
2564
2565         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
2566         before greeting.
2567         (elmo-network-setup-session): Set UIDL hash size according to
2568         the length of list response.
2569         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
2570         according to the length of list response;
2571         Return the length of list response.
2572         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
2573
2574 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
2575
2576         * elmo-imap4.el (toplevel): Require 'ssl.
2577         Add autoload 'starttls.
2578         * elmo-pop3.el (toplevel): Ditto.
2579         * elmo-nntp.el (toplevel): Ditto.
2580
2581 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2582
2583         * elmo-imap4.el (toplevel): defun at compile time.
2584         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
2585         sasl-next-step, sasl-step-data, sasl-step-set-data.
2586         * elmo-pop3.el (toplevel): Ditto.
2587
2588 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2589
2590         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
2591
2592 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2593
2594         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
2595         if error.
2596         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
2597         and `elmo-pop-auth-apop'.
2598
2599 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2600
2601         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
2602
2603 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2604
2605         * elmo-pop3.el (elmo-network-authenticate-session): Split
2606         encoded response value.
2607
2608 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2609
2610         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
2611         `elmo-pop3-force-login'.
2612         Redefine `sasl-mechanisms'.
2613         * elmo-vars.el (elmo-pop3-force-login): Ditto.
2614
2615 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2616
2617         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
2618         Delete `elmo-imap4-authenticator-alist'.
2619         (elmo-imap4-auth-cram-md5): Delete.
2620         (elmo-imap4-auth-digest-md5): Delete.
2621
2622 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2623
2624         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
2625         (elmo-pop3-auth-scram-md5): Ditto.
2626         (elmo-pop3-auth-cram-md5): Ditto.
2627
2628 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
2629
2630         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
2631         Delete `elmo-pop3-authenticator-alist'.
2632
2633 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
2634
2635         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
2636         new SASL API.
2637         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
2638
2639 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
2640
2641         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
2642
2643 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
2644
2645         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
2646         Fixed problem when `elmo-pop3-use-uidl' is nil.
2647         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
2648
2649 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
2650
2651         * elmo-version.el (elmo-version): Up to 2.5.2.
2652
2653 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
2654
2655         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
2656         New function.
2657         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
2658         (elmo-pop3-msgdb-create-as-numlist): Use it.
2659
2660         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
2661         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
2662
2663         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
2664         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
2665
2666 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
2667
2668         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
2669         when elmo-mark-as-read is called with second argument nil.
2670
2671 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
2672
2673         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
2674         Moved to elmo-util.el.
2675
2676         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
2677         Moved from elmo-pipe.el
2678
2679         * elmo-archive.el (elmo-archive-call-process): Enclose with
2680         static-if.
2681
2682         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
2683         "RFC822" (because RFC822.PEEK is obsolete).
2684         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
2685
2686 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
2687
2688         * elmo-archive.el (elmo-archive-call-process): Don't check for
2689         the exit status when Nemacs is running.
2690
2691 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
2692
2693         * elmo-net.el (elmo-network-session-password-key): Don't set default to
2694         'plain.
2695
2696         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
2697         (elmo-pop3-get-spec): Set default of auth to 'user.
2698
2699         * elmo-imap4.el (elmo-imap4-session-check):
2700         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
2701         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
2702         (elmo-imap4-auth-login): New function; Revival.
2703         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
2704         `elmo-imap4-auth-login'.
2705
2706 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2707
2708         * elmo2.el (toplevel): Move `product-provide' declare.
2709         * mmelmo.el (toplevel): Ditto.
2710
2711 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
2712
2713         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
2714
2715 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
2716
2717         * elmo-util.el (elmo-folder-get-store-type): New function.
2718         (elmo-folder-direct-copy-p): Use it.
2719
2720 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
2721
2722         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
2723         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
2724         and result of `elmo-imap4-use-flag-p'.
2725         (elmo-imap4-fetch-callback-1): Set mark according to
2726         the result of `elmo-imap4-use-flag-p'.
2727
2728 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
2729
2730         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
2731         (elmo-generic-list-folder-unread): Ditto.
2732         (elmo-folder-get-info): Ditto.
2733         (elmo-folder-set-info-max-by-numdb): Ditto.
2734         (elmo-folder-get-info-max): Ditto.
2735         (elmo-folder-get-info-length): Ditto.
2736         (elmo-folder-get-info-unread): Ditto.
2737         (elmo-folder-info-make-hashtb): Ditto.
2738
2739         * elmo2.el: Removed above functions.
2740
2741 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
2742
2743         * elmo-imap4.el (toplevel): Require 'ssl.
2744         Add autoload 'starttls.
2745         * elmo-pop3.el (toplevel): Ditto.
2746         * elmo-nntp.el (toplevel): Ditto.
2747
2748 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2749
2750         * elmo-imap4.el (toplevel): defun at compile time.
2751         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
2752         sasl-next-step, sasl-step-data, sasl-step-set-data.
2753         * elmo-pop3.el (toplevel): Ditto.
2754
2755 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2756
2757         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
2758
2759 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2760
2761         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
2762         if error.
2763         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
2764         and `elmo-pop-auth-apop'.
2765
2766 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2767
2768         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
2769
2770 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2771
2772         * elmo-pop3.el (elmo-network-authenticate-session): Split
2773         encoded response value.
2774
2775 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2776
2777         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
2778         `elmo-pop3-force-login'.
2779         Redefine `sasl-mechanisms'.
2780         * elmo-vars.el (elmo-pop3-force-login): Ditto.
2781
2782 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2783
2784         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
2785         Delete `elmo-imap4-authenticator-alist'.
2786         (elmo-imap4-auth-cram-md5): Delete.
2787         (elmo-imap4-auth-digest-md5): Delete.
2788
2789 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
2790
2791         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
2792         (elmo-pop3-auth-scram-md5): Ditto.
2793         (elmo-pop3-auth-cram-md5): Ditto.
2794
2795 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
2796
2797         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
2798         Delete `elmo-pop3-authenticator-alist'.
2799
2800 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
2801
2802         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
2803         new SASL API.
2804         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
2805
2806 \f
2807 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
2808
2809         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
2810
2811 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
2812
2813         * elmo-nntp.el (elmo-nntp-get-folders-info):
2814         Fixed problem when '\' character is contained in user-id.
2815         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
2816
2817 \f
2818 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
2819
2820         * elmo-imap4.el (elmo-imap4-delete-folder):
2821         Send "close" before "delete" (Use commented out line).
2822         (elmo-imap4-rename-folder): Ditto.
2823
2824         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
2825         folder string itself.
2826         (elmo-dop-list-deleted): New function.
2827         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
2828         killed.
2829
2830         * elmo-util.el (elmo-string-rassoc-all): New function.
2831
2832         * elmo-version.el (elmo-version): Up to 2.5.1.
2833
2834 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
2835
2836         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
2837
2838         * elmo-internal.el (elmo-internal-search): Fix last change.
2839
2840 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
2841
2842         * elmo-internal.el (elmo-internal-search): Rewrite.
2843         (Fixed problem which is pointed out by Akihiro MOTOKI
2844         <motoki@da.jp.nec.com>)
2845
2846         * elmo-version.el (elmo-version): Up to 2.5.0.
2847
2848 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
2849
2850         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
2851
2852 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
2853
2854         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
2855         non-nil, make hierarchy.
2856
2857 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
2858
2859         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
2860         `elmo-pop3-use-uidl' must be bound to nil.
2861         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
2862
2863 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
2864
2865         * elmo-util.el (elmo-copy-file): Don't cause an error after
2866         `add-name-to-file' failed.
2867
2868         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
2869         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
2870
2871 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2872
2873         * elmo-version.el (elmo-version): Up to 2.3.93.
2874
2875 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
2876
2877         * elmo-util.el (elmo-flatten): New function.
2878
2879 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2880
2881         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
2882         sync Author header.
2883         * elmo-cache.el (toplevel): Ditto.
2884         * elmo-database.el (toplevel): Ditto.
2885         * elmo-date.el (toplevel): Ditto.
2886         * elmo-dop.el (toplevel): Ditto.
2887         * elmo-filter.el (toplevel): Ditto.
2888         * elmo-imap4.el (toplevel): Ditto.
2889         * elmo-internal.el (toplevel): Ditto.
2890         * elmo-localdir.el (toplevel): Ditto.
2891         * elmo-localnews.el (toplevel): Ditto.
2892         * elmo-maildir.el (toplevel): Ditto.
2893         * elmo-msgdb.el (toplevel): Ditto.
2894         * elmo-multi.el (toplevel): Ditto.
2895         * elmo-net.el (toplevel): Ditto.
2896         * elmo-nntp.el (toplevel): Ditto.
2897         * elmo-pipe.el (toplevel): Ditto.
2898         * elmo-pop3.el (toplevel): Ditto.
2899         * elmo-util.el (toplevel): Ditto.
2900         * elmo-vars.el (toplevel): Ditto.
2901         * elmo2.el (toplevel): Ditto.
2902         * mmelmo-imap4.el (toplevel): Ditto.
2903         * mmelmo.el (toplevel): Ditto.
2904
2905         * elmo-version.el (elmo-version): Move to top.
2906
2907         * elmo-cache.el (toplevel): Fixed multiple Author header format.
2908         * elmo-imap4.el (toplevel): Ditto.
2909         * elmo-localdir.el (toplevel): Ditto.
2910         * elmo-msgdb.el (toplevel): Ditto.
2911         * elmo-nntp.el (toplevel): Ditto.
2912         * elmo-pop3.el (toplevel): Ditto.
2913         * elmo-version.el (toplevel): Ditto.
2914
2915         * elmo-localnews.el (toplevel): Added Keyword header.
2916
2917 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
2918
2919         * elmo-version.el (product-version-as-string): Defined using
2920         `defun-maybe'.
2921         (toplevel): Use it.
2922
2923         * elmo-localdir.el (toplevel): Updated copyright notice.
2924         * elmo-version.el (toplevel): Ditto.
2925         * elmo-msgdb.el (toplevel): Ditto.
2926         * elmo-imap4.el (toplevel): Ditto.
2927         * elmo-nntp.el (toplevel): Ditto.
2928         * elmo-pop3.el (toplevel): Ditto.
2929
2930 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
2931
2932         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
2933         messages.
2934
2935         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
2936         parameter value (It sometimes contains raw kanji).
2937
2938 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
2939
2940         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
2941         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
2942
2943 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
2944
2945         * elmo-imap4.el (elmo-network-initialize-session): Fix.
2946
2947 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
2948
2949         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
2950         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
2951
2952 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
2953
2954         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
2955         value if selecting folder succceeded.
2956         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
2957
2958 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2959
2960         * elmo-util.el (elmo-make-directory): Fixed permission lateral
2961         representation.
2962
2963         * elmo-util.el (elmo-string-matched-member): New function.
2964
2965 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
2966
2967         * elmo-util.el (elmo-unintern): New macro.
2968         (elmo-number-set-member): Fixed docstring.
2969
2970         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
2971         tag token.
2972
2973 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
2974
2975         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
2976         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
2977
2978 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
2979
2980         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
2981         `no-error'.
2982         Added docstring.
2983         Return non-nil if selecting folder succeeded.
2984         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
2985
2986 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
2987
2988         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
2989         `file-name-completion' returns t.
2990         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
2991         (elmo-maildir-set-mark): Put `info' part to the files in the cur
2992         directory if it does not exist.
2993         (elmo-maildir-update-current): Use `while' instead of `mapcar'
2994         for iteration.
2995
2996 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
2997
2998         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
2999         enclosure (It's harmful in unplugged status).
3000
3001         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
3002
3003         * mmelmo-1.el: Removed.
3004
3005         * mmelmo-2.el: Ditto.
3006
3007         * mmelmo-imap4-1.el: Ditto.
3008
3009         * mmelmo-imap4-2.el: Ditto.
3010
3011         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
3012
3013         * mmelmo.el: Merged mmelmo-2.el.
3014
3015         * elmo-version.el (elmo-version): Up to 2.3.92.
3016
3017 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3018
3019         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
3020         elmo-update-number): Remove last period in "...done." message.
3021         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3022         Ditto.
3023         * elmo-cache.el (elmo-cache-expire-by-size,
3024         elmo-cache-get-sorted-cache-file-list,
3025         elmo-cache-msgdb-create-as-numlist): Ditto.
3026         * elmo-dop.el (elmo-dop-save-pending-messages,
3027         (elmo-dop-flush-pending-append-operations): Ditto.
3028         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
3029         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
3030         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
3031         (elmo-localdir-pack-number): Ditto.
3032         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
3033         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
3034         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
3035         mime-write-entity-content): Ditto.
3036         * pldap.el (ldap-search-basic): Ditto.
3037
3038 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
3039
3040         * elmo-version.el (elmo-version): Up to 2.3.91.
3041
3042         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
3043         Only when filter is 'last'.
3044
3045         * elmo-util.el (elmo-condition-atom-regexp): New constant.
3046         (elmo-condition-parse-search-value): Use it.
3047         (elmo-read-search-condition-internal): Quote value only when
3048         it is not an atom.
3049
3050 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
3051
3052         * elmo2.el (elmo-generic-folder-diff): Fix.
3053
3054 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
3055
3056         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
3057         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
3058         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
3059         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
3060         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
3061         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
3062
3063 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
3064
3065         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
3066         extra-fields.
3067
3068 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
3069
3070         * elmo-version.el (elmo-version): Up to 2.3.90.
3071
3072         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
3073         (elmo-imap4-list-folder-important): Ditto.
3074
3075 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
3076
3077         * elmo-nntp.el (elmo-network-initialize-session): Fix.
3078
3079 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
3080
3081         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
3082
3083 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
3084
3085         * elmo-nntp.el (elmo-network-initialize-session):
3086         Add starttls negotiation.
3087
3088 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
3089
3090         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
3091         response.
3092         (elmo-network-setup-session): Define.
3093         Call `elmo-nntp-send-mode-reader' when session opened.
3094
3095 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
3096
3097         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
3098
3099 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
3100
3101         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
3102         an invalid SPACE character ahead of `SEARCH' command.  Move
3103         a valid SPACE character following `SEARCH' from conditional
3104         `format' arguments to control-strings.
3105
3106 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
3107
3108         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
3109         was succeeded.
3110
3111         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
3112
3113 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
3114
3115         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
3116         `w32-get-true-file-link-count' as t.
3117
3118         * elmo-imap4.el (elmo-imap4-read): Abolished.
3119         (Renamed to `elmo-read' and moved to elmo-util.el)
3120         All other related portions are changed.
3121
3122         * elmo-util.el (elmo-read): New function.
3123         (elmo-condition-parse-search-value): Use it.
3124
3125 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
3126
3127         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
3128
3129         * elmo-nntp.el (elmo-nntp-session): Define.
3130         (elmo-nntp-setting): Abolished.
3131         All other related portions are changed.
3132         (elmo-nntp-get-server-command): Changed argument.
3133         (elmo-nntp-set-server-command): Ditto.
3134         (elmo-nntp-xover-p): Ditto.
3135         (elmo-nntp-set-xover): Ditto.
3136         (elmo-nntp-listgroup-p): Ditto.
3137         (elmo-nntp-set-listgroup): Ditto.
3138         (elmo-nntp-list-active-p): Ditto.
3139         (elmo-nntp-set-list-active): Ditto.
3140         (elmo-nntp-xhdr-p): Ditto.
3141         (elmo-nntp-set-xhdr): Ditto.
3142         (elmo-nntp-flush-connection): Abolished.
3143         (elmo-nntp-get-connection): Abolished.
3144         (elmo-nntp-get-session): New function.
3145         (elmo-network-initialize-session): Defined.
3146         (elmo-network-authenticate-session): Ditto.
3147         (elmo-nntp-send-mode-reader): Changed argument.
3148         (elmo-nntp-send-command): Changed argument.
3149         All other related portions are changed.
3150         (elmo-nntp-read-response): Ditto.
3151         (elmo-nntp-read-raw-response): Ditto.
3152         (elmo-nntp-read-contents): Ditto.
3153         (elmo-nntp-read-body): Ditto.
3154         (elmo-nntp-goto-folder): Abolished.
3155         (elmo-nntp-select-group): New function.
3156         All other related portions are changed.
3157         (This function substitutes `elmo-nntp-goto-folder')
3158         (elmo-nntp-msgdb-create-by-header): Rewrite.
3159         (elmo-nntp-get-overview): Eliminated.
3160         (elmo-nntp-get-message): Ditto.
3161         (elmo-nntp-open-connection) Abolished.
3162         (elmo-nntp-read-msg): Rewrite.
3163         (elmo-nntp-post): Ditto.
3164         (elmo-nntp-send-data): Abolished.
3165         (elmo-nntp-send-buffer): New function.
3166         (elmo-nntp-send-data-line): Define as inline function.
3167         (elmo-nntp-get-folders-info-prepare): Use session as key.
3168         (elmo-nntp-groups-read-response): Changed argument.
3169         (elmo-nntp-retrieve-headers): Ditto.
3170         (elmo-nntp-msgdb-create-message): Ditto.
3171
3172         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
3173         when searching by 'since' or 'before'.
3174
3175 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3176
3177         * elmo-version.el (toplevel): Use product-version-as-string for set
3178         verstion-string, if defined.
3179
3180 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
3181
3182         * elmo-util.el: Doc fixes.
3183
3184 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3185
3186         * elmo-archive.el (toplevel): Use product-provide.
3187         * elmo-cache.el (toplevel): Ditto.
3188         * elmo-database.el (toplevel): Ditto.
3189         * elmo-date.el (toplevel): Ditto.
3190         * elmo-dop.el (toplevel): Ditto.
3191         * elmo-filter.el (toplevel): Ditto.
3192         * elmo-imap4.el (toplevel): Ditto.
3193         * elmo-internal.el (toplevel): Ditto.
3194         * elmo-localdir.el (toplevel): Ditto.
3195         * elmo-localnews.el (toplevel): Ditto.
3196         * elmo-maildir.el (toplevel): Ditto.
3197         * elmo-msgdb.el (toplevel): Ditto.
3198         * elmo-multi.el (toplevel): Ditto.
3199         * elmo-net.el (toplevel): Ditto.
3200         * elmo-nntp.el (toplevel): Ditto.
3201         * elmo-pipe.el (toplevel): Ditto.
3202         * elmo-pop3.el (toplevel): Ditto.
3203         * elmo-util.el (toplevel): Ditto.
3204         * elmo-vars.el (toplevel): Ditto.
3205         * elmo2.el (toplevel): Ditto.
3206         * mmelmo-1.el (toplevel): Ditto.
3207         * mmelmo-2.el (toplevel): Ditto.
3208         * mmelmo-imap4-1.el (toplevel): Ditto.
3209         * mmelmo-imap4-2.el (toplevel): Ditto.
3210         * mmelmo-imap4.el (toplevel): Ditto.
3211         * mmelmo.el (toplevel): Ditto.
3212
3213 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
3214
3215         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
3216         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
3217
3218 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
3219
3220         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
3221         before splitting.
3222         (elmo-multi-split-number-alist): Ditto.
3223
3224 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3225
3226         * elmo-version.el: New file.  Use product.el.
3227         * elmo2.el: Add (require 'elmo-version).
3228         * elmo-vars.el (elmo-appname, elmo-version): Move to
3229         elmo-version.el
3230
3231 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
3232
3233         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
3234         `elmo-msgdb-expand-path'.
3235         (elmo-msgdb-load): Ditto.
3236         Abolished 2nd argument. If 1st argument is not string, treat as spec.
3237         (elmo-generic-list-folder-unread): Rewrite.
3238         (elmo-generic-list-folder-important): Changed argument.
3239         (elmo-list-folder-unread): Ditto.
3240         (elmo-list-folder-important): Ditto.
3241         (elmo-folder-diff): Rewrite.
3242         (elmo-generic-folder-diff): New function.
3243         (elmo-multi-get-number-alist-list): Abolished
3244         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
3245         (elmo-multi-folder-diff): Moved to elmo-multi.el
3246         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
3247
3248         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
3249         `elmo-msgdb-expand-path'.
3250         (elmo-pop3-msgdb-create-as-numlist): Ditto.
3251         (elmo-pop3-read-msg): Ditto.
3252         (elmo-pop3-delete-msgs): Ditto.
3253         (elmo-pop3-folder-diff): New alias.
3254
3255         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
3256         `elmo-msgdb-expand-path'.
3257         (elmo-pipe-list-folder-unread): Changed arguments.
3258         (elmo-pipe-list-folder-important): Ditto.
3259         (elmo-pipe-folder-diff): New alias.
3260
3261         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
3262         `elmo-msgdb-expand-path'.
3263         (elmo-nntp-max-of-folder): Ditto.
3264         (elmo-nntp-msgdb-create): Ditto.
3265         (elmo-nntp-delete-msgs): Ditto.
3266         (elmo-nntp-folder-diff): New alias.
3267
3268         * elmo-multi.el (elmo-multi-folder-diff): New function.
3269         (elmo-multi-split-mark-alist): Ditto.
3270         (elmo-multi-split-number-alist): Ditto.
3271         (elmo-multi-mark-alist-list): Abolished (Renamed to
3272         elmo-multi-split-mark-alist).
3273         (elmo-multi-list-folder-unread): Rewrite.
3274         (elmo-multi-list-folder-important): Ditto.
3275         (elmo-multi-list-folder): Set `spec' as 1st argument for
3276         `elmo-msgdb-expand-path'.
3277         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
3278         instead of `elmo-multi-get-number-alist-list'.
3279
3280         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
3281         If 1st argument is not string, treat as spec.
3282         (elmo-list-folder-by-location): Set `spec' as 1st argument for
3283         `elmo-msgdb-expand-path'.
3284         (elmo-msgdb-flist-load): Ditto.
3285         (elmo-msgdb-flist-save): Ditto.
3286         (elmo-msgdb-delete-path): Ditto.
3287         (elmo-msgdb-rename-path): Ditto.
3288
3289         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
3290         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
3291         (elmo-maildir-delete-mark-msgs): Ditto.
3292         (elmo-maildir-msgdb-create): Ditto.
3293         (elmo-maildir-read-msg): Ditto.
3294         (elmo-maildir-delete-msgs): Ditto.
3295         (elmo-maildir-list-folder-subr): Ditto.
3296         (elmo-maildir-search): Ditto.
3297         (elmo-maildir-get-msg-filename): Ditto.
3298         (elmo-maildir-pack-number): Ditto.
3299         (elmo-maildir-folder-diff): New alias.
3300
3301         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
3302
3303         * elmo-localdir.el (elmo-localdir-list-folder-subr):
3304         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
3305         (elmo-localdir-folder-diff): New alias.
3306
3307         * elmo-internal.el (elmo-internal-list-folder-subr):
3308         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
3309         (elmo-internal-list-folder-by-location): Ditto.
3310         (elmo-internal-msgdb-create): Ditto.
3311         (elmo-internal-delete-msgs): Ditto.
3312         (elmo-internal-read-msg): Ditto.
3313         (elmo-internal-folder-diff): New alias.
3314
3315         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
3316         (elmo-imap4-list-folder): Set `spec' as 1st argument for
3317         `elmo-msgdb-expand-path'.
3318         (elmo-imap4-list-folder-unread): Changed arguments.
3319         (elmo-imap4-list-folder-important): Ditto.
3320
3321         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
3322         (elmo-filter-list-folder-important): Ditto.
3323         (elmo-filter-folder-diff): New function.
3324
3325         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
3326
3327         * elmo-cache.el (elmo-cache-list-folder):
3328         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
3329         (elmo-cache-copy-msgs): Ditto.
3330         (elmo-cache-folder-diff): New alias.
3331
3332         * elmo-archive.el (elmo-archive-list-folder-subr):
3333         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
3334         (elmo-archive-get-archive-name): Ditto.
3335         (elmo-archive-create-file): Ditto.
3336         (elmo-archive-append-msg): Ditto.
3337         (elmo-archive-copy-msgs): Ditto.
3338         (elmo-archive-copy-msgs-froms): Ditto.
3339         (elmo-archive-get-msg-filename): Ditto.
3340         (elmo-archive-folder-diff): New alias.
3341
3342 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
3343
3344         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
3345         (elmo-pop3-stream-type-alist): New variable.
3346         (elmo-nntp-stream-type-alist): New variable.
3347
3348         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
3349         (elmo-kill-buffer): Ditto.
3350         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
3351         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
3352         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
3353         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
3354         (elmo-imap4-get-spec): Take into account
3355         `elmo-imap4-stream-type-alist'.
3356
3357 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
3358
3359         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
3360         (elmo-nntp-list-folders-get-cache): Ditto.
3361
3362 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
3363
3364         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
3365         character before 'uid'.
3366
3367 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
3368
3369         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
3370
3371         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
3372
3373         * elmo-util.el (elmo-number-set-member): New function.
3374         (elmo-number-set-append-list): Ditto.
3375         (elmo-number-set-append): Ditto.
3376
3377         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
3378         Use `elmo-number-set-member'.
3379         (elmo-living-messages): Ditto.
3380         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
3381         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
3382
3383         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
3384         (elmo-imap4-add-to-cont-list): Abolished.
3385         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
3386         instead of elmo-imap4-add-to-cont-list.
3387
3388         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
3389         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
3390
3391         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
3392
3393 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
3394
3395         * elmo-util.el (elmo-condition-parse-search-value):
3396         Fixed date parsing.
3397
3398 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
3399
3400         * elmo-util.el (elmo-condition-find-key-internal): New function.
3401         (elmo-condition-find-key): Ditto.
3402
3403         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
3404         (elmo-msgdb-search-internal): Ditto.
3405         (elmo-msgdb-search): Ditto.
3406
3407 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
3408
3409         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
3410         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
3411
3412         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
3413         (elmo-nntp-search-primitive): Fixed problem when condition is
3414         'unmatch'.
3415
3416         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
3417
3418         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
3419         (elmo-nntp-xhdr-p): New macro.
3420         (elmo-nntp-set-xhdr): Ditto.
3421         (elmo-nntp-parse-xhdr-response): New function.
3422         (elmo-nntp-retrieve-field): Ditto.
3423         (elmo-nntp-search-primitive): Ditto.
3424         (elmo-nntp-search): Implemented.
3425
3426         * elmo-date.el (elmo-date-make-sortable-string): New macro.
3427
3428         * elmo-archive.el (elmo-archive-search): Set all number list to
3429         `elmo-archive-field-condition-match'
3430
3431         * elmo-localdir.el (elmo-localdir-search): Likewise.
3432
3433         * elmo-maildir.el (elmo-maildir-search): Likewise.
3434
3435 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
3436
3437         * elmo-msgdb.el (elmo-living-messages): New function.
3438         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
3439         * elmo-cache.el (elmo-cache-list-folder): Ditto.
3440         * elmo-dop.el (elmo-dop-list-folder): Ditto.
3441         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
3442         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
3443         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
3444         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
3445         * elmo-multi.el (elmo-multi-list-folder): Ditto.
3446         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
3447         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
3448         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
3449
3450 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
3451
3452         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
3453
3454         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
3455
3456         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
3457
3458         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
3459         arguments for `SEARCH' command.
3460         (elmo-imap4-parse-string): Set `POS' argument for char-after.
3461         All other related portions are changed.
3462
3463         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
3464
3465         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
3466         (elmo-list-folder-unread): Rewrite.
3467         (elmo-list-folder-important): Ditto.
3468
3469         * elmo-util.el (elmo-filter-get-spec): Rewrite.
3470         (elmo-condition-parse-error): New inline function.
3471         (elmo-read-search-condition): New function.
3472         (elmo-read-search-condition-internal): Ditto.
3473         (elmo-parse-search-condition): Rewrite.
3474         (elmo-condition-parse): New function.
3475         (elmo-condition-parse-or-expr): Ditto.
3476         (elmo-condition-parse-and-expr): Ditto.
3477         (elmo-condition-parse-primitive): Ditto.
3478         (elmo-condition-parse-search-value): Ditto.
3479         (elmo-buffer-field-primitive-condition-match): Ditto.
3480         (elmo-buffer-field-condition-match): Rewrite.
3481         (elmo-file-field-condition-match): Ditto.
3482
3483         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
3484         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
3485
3486         * elmo-internal.el (elmo-internal-search): Set `number' and
3487         `number-list' argument of `elmo-file-field-condition-match'.
3488
3489         * elmo-maildir.el (elmo-maildir-search): Ditto.
3490
3491         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
3492         `msgdb' as argument instead of `mark-alist'.
3493         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
3494         `overview'.
3495
3496         * elmo-multi.el: Likewise.
3497
3498         * elmo-pipe.el: Likewise.
3499
3500         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
3501         (elmo-imap4-search-internal): Rewrite.
3502         (elmo-imap4-search): Ditto.
3503
3504         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
3505         (elmo-filter-list-folder-unread): Ditto.
3506         (elmo-filter-list-folder-important): Ditto.
3507         (elmo-filter-search): Rewrite.
3508
3509         * elmo-cache.el (elmo-cache-search-all): Set `number' and
3510         `number-list' argument of `elmo-file-field-condition-match'.
3511         (elmo-cache-search): Ditto.
3512
3513         * elmo-localdir.el: Likewise.
3514
3515         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
3516         number-list and pass it to `elmo-buffer-field-condition-match'.
3517         (elmo-archive-field-condition-match): Pass `number-list' to
3518         `elmo-archive-field-condition-match'
3519
3520 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3521
3522         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
3523         `listgroup'.
3524
3525         * elmo2.el (elmo-folder-diff-async-callback): New variable.
3526         (elmo-folder-diff-async-callback-data): Ditto.
3527         (elmo-folder-diff-async): New function.
3528
3529         * elmo-net.el (elmo-network-session-name-prefix): New variable.
3530         (elmo-network-session-cache-key): Use it as a prefix of the session
3531         name.
3532         (elmo-network-open-session): Ditto.
3533
3534         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
3535         (elmo-imap4-status-callback-data): Ditto.
3536         (elmo-imap4-server-diff-async-callback): New variable.
3537         (elmo-imap4-server-diff-async-callback-data): Ditto.
3538         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
3539         `elmo-imap4-status-callback-data'.
3540         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
3541         `elmo-imap4-status-callback-data' as nil.
3542         (elmo-imap4-server-diff): Ditto.
3543         (elmo-imap4-server-diff-async-callback-1): New function.
3544         (elmo-imap4-server-diff-async): Ditto.
3545         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
3546
3547 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
3548
3549         * elmo-util.el (elmo-list-delete): Doc fix.
3550         (elmo-delete-lists): Abolish.
3551         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
3552         instead of `elmo-delete-lists'.
3553
3554 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3555
3556         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
3557         before `sort'.
3558
3559 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
3560
3561         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
3562         `elmo-imap4-literal-subr'.
3563         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
3564         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
3565
3566 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
3567
3568         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
3569         (elmo-archive-list-folder): Fix.
3570         (elmo-archive-max-of-folder): Fix.
3571
3572 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
3573
3574         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
3575          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
3576         (elmo-localdir-append-msg): Ditto.
3577         (elmo-localdir-list-folder): Fix for `nonsort'.
3578         (elmo-localdir-list-folder-subr): Fix for `killed'.
3579         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
3580         (elmo-maildir-list-folder-subr): Ditto.
3581         * elmo-archive.el (elmo-archive-list-folder): Ditto.
3582         (elmo-archive-list-folder-subr): Ditto.
3583         * elmo-internal.el (elmo-internal-list-folder): Ditto.
3584         (elmo-internal-list-folder-subr): Ditto.
3585
3586 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
3587
3588         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
3589
3590 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
3591
3592         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
3593
3594 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
3595
3596         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
3597         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
3598
3599         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
3600         before greeting.
3601         (elmo-imap4-read-part): Use "body.peek" to fetch part.
3602         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
3603
3604 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
3605
3606         * mmelmo-imap4-2.el (mime-entity-children): Defined.
3607
3608         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
3609         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
3610         before STORE command.
3611
3612 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
3613
3614         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
3615
3616         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
3617         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
3618         of `response'.
3619         (elmo-imap4-list-folders): Removed unused local variable.
3620         (elmo-network-initialize-session): Ditto.
3621         (elmo-imap4-delete-msg-by-id): Ditto.
3622         (elmo-imap4-parse-fetch): Ditto.
3623         (elmo-imap4-copy-msgs): Ditto.
3624         Use `dst-spec' instead of `dst-folder'.
3625         (elmo-network-authenticate-session): Check authenticate type `plain'.
3626
3627 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
3628
3629         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
3630         garbage checking.
3631         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
3632         `elmo-imap4-response-value'.
3633         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
3634
3635 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
3636
3637         * elmo-imap4.el (elmo-imap4-send-command):
3638         Cause elmo-imap4-bye-error when current response is BYE.
3639         (elmo-imap4-arrival-filter): Changed greeting response value.
3640
3641         * elmo2.el (elmo-imap4-bye-error): Define.
3642
3643         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
3644         (elmo-imap4-server-diff): Ditto.
3645         (elmo-imap4-response-bye-p): New macro.
3646         (elmo-imap4-response-error-text): Get text from BYE response.
3647         (elmo-imap4-read-response): Return if BYE response.
3648         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
3649         (elmo-imap4-folder-exists-p): Ditto.
3650         (elmo-imap4-commit): Do nothing when different mailbox is selected.
3651         (elmo-imap4-parse-bye): New function.
3652         (elmo-imap4-parse-response): Remove needless let.
3653         Call `elmo-imap4-parse-bye'.
3654
3655 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
3656
3657         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
3658         the mailbox does not exist.
3659         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
3660
3661 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
3662
3663         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
3664
3665 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
3666
3667         * elmo-vars.el (elmo-search-mime-charset): Abolished.
3668
3669         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
3670         (elmo-network-initialize-session-buffer): Defined.
3671
3672         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
3673         Abolished.
3674         (mmelmo-imap4-get-mime-entity): Rewrite.
3675
3676         * elmo2.el (elmo-error): Capitalize error message.
3677
3678         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
3679         (elmo-network-session-buffer): New macro.
3680         (elmo-network-open-session): Use it.
3681
3682         * elmo-imap4.el: Rewrite.
3683
3684 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
3685
3686         * elmo-nntp.el (Toplevel): Require 'elmo-net.
3687
3688 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
3689
3690         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
3691         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
3692         (elmo-imap4-create-msgdb-from-overview-string): Use
3693         `elmo-msgdb-create-overview-from-buffer'.
3694
3695 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
3696
3697         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
3698         (elmo-imap4-default-hierarchy-delimiter): New variable.
3699         (elmo-imap4-list-folders): Use it.
3700
3701 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3702
3703         * elmo-net.el (elmo-network-open-session): Add user and
3704         stream-type for process-buffer name.
3705
3706         * elmo-pop3.el (elmo-network-initialize-session): Call
3707         buffer-disable-undo.
3708
3709         * elmo-imap4.el (elmo-network-initialize-session):
3710         Set current-buffer as an argument for `buffer-disable-undo'.
3711
3712         * elmo-pop3.el (elmo-network-close-session): Don't use
3713         `process-live-p'.
3714
3715         * elmo-vars.el (elmo-default-pop3-authenticate-type):
3716         Set default as 'user.
3717
3718         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
3719
3720         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
3721         and `elmo-imap4-flush-connection'.
3722
3723         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
3724         (elmo-pop3-get-spec): Assume auth as symbol.
3725         (elmo-open-network-stream): Moved to `elmo-net'.
3726
3727         * elmo-pop3.el (toplevel): Require 'elmo-net.
3728         Define `sasl-cram-md5' to silence byte compilier.
3729         (elmo-pop3-connection-cache) Abolished.
3730         (elmo-pop3-authenticator-alist) New variable.
3731         (elmo-pop3-session): Define.
3732         (elmo-pop3-connection-get-process): Abolished.
3733         (elmo-pop3-connection-get-buffer): Ditto.
3734         (elmo-pop3-close-connection): Ditto.
3735         (elmo-pop3-flush-connection): Ditto.
3736         (elmo-pop3-get-connection): Ditto.
3737         (elmo-pop3-get-session): New function.
3738         (Replacement for `elmo-pop3-get-connection').
3739         All other related modules are changed.
3740         (elmo-network-close-session): Define.
3741         (elmo-pop3-send-command): Abolished argument `buffer'.
3742         All other related modules are changed.
3743         (elmo-pop3-read-response): Likewise.
3744         (elmo-pop3-open-connection): Abolished.
3745         (elmo-pop3-auth-user): New function.
3746         (elmo-pop3-auth-apop): Ditto.
3747         (elmo-pop3-auth-cram-md5): Ditto.
3748         (elmo-pop3-auth-scram-md5): Ditto.
3749         (elmo-pop3-auth-digest-md5): Ditto.
3750         (elmo-network-initialize-session): Define.
3751         (elmo-network-authenticate-session): Ditto.
3752         (elmo-network-setup-session): Ditto.
3753
3754         * elmo-imap4.el (toplevel): Require 'elmo-net.
3755         (elmo-imap4-session): Define.
3756         (elmo-imap4-connection-cache): Abolished.
3757         (elmo-imap4-password-key): Ditto.
3758         (elmo-imap4-flush-connection): Ditto.
3759         (elmo-imap4-get-connection): Ditto.
3760         All other related modules are changed.
3761         (elmo-imap4-get-session): New function
3762         (Replacement for `elmo-imap4-get-connection').
3763         (elmo-imap4-read-response): Abolished argument `buffer'.
3764         All other related modules are changed.
3765         (elmo-imap4-send-command): Likewise.
3766         (elmo-imap4-select-folder): Abolished.
3767         All other related modules are changed.
3768         (elmo-imap4-select-mailbox): New function.
3769         (Replacement for `elmo-imap4-select-folder').
3770         (elmo-imap4-auth-login): Simplify.
3771         (Assume current buffer as process buffer)
3772         (elmo-imap4-auth-cram-md5): Ditto.
3773         (elmo-imap4-auth-digest-md5): Ditto.
3774         (elmo-imap4-login): Ditto.
3775         (elmo-imap4-open-connection): Abolished.
3776         (elmo-imap4-open-connection-1): Abolished.
3777         (elmo-network-initialize-sessoin): Define.
3778         (elmo-network-authenticate-session): Ditto.
3779         (elmo-network-setup-session): Ditto.
3780
3781         * elmo-net.el: New module.
3782
3783 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
3784
3785         * elmo-util.el (elmo-define-error): New function.
3786
3787         * elmo2.el (elmo-error): Define.
3788         (elmo-open-error): Define.
3789         (elmo-authenticate-error): Define.
3790
3791         * elmo-imap4.el (elmo-imap4-error): Abolish.
3792         (elmo-imap4-error-type): Abolish.
3793         (elmo-imap4-error-process): Abolish.
3794         (elmo-imap4-error-message): Abolish
3795         (elmo-imap4-list-folders): Don't quote lambda.
3796         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
3797         (elmo-imap4-parse-namespace): Ditto.
3798         (elmo-imap4-open-connection): Rewrite.
3799         (elmo-imap4-open-connection-1): Simplified (authenticate only).
3800         (elmo-imap4-get-connection): Abolish local variable `result'.
3801
3802 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
3803
3804         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
3805         wrong-type-argument error when auth is nil.
3806
3807 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
3808
3809         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
3810         (elmo-default-nntp-stream-type): Ditto.
3811         (elmo-default-pop3-stream-type): Ditto.
3812         (elmo-network-stream-type-alist): Ditto.
3813         (elmo-default-imap4-ssl): Abolished.
3814         (elmo-default-nntp-ssl): Ditto.
3815         (elmo-default-pop3-ssl): Ditto.
3816
3817         * elmo-util.el: (toplevel): Removed needless requires.
3818         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
3819         (elmo-open-network-stream): Open network stream according to
3820         the value of `elmo-network-stream-type-alist'.
3821         (elmo-get-network-stream-type): New function.
3822         (elmo-network-stream-type-spec-string): New macro.
3823         (elmo-network-stream-type-symbol): Ditto.
3824         (elmo-network-stream-type-function): Ditto.
3825
3826         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
3827         network-stream-type. All other related portions are changed.
3828         (elmo-pop3-open-connection): Ditto.
3829
3830         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
3831         network-stream-type. All other related portions are changed.
3832
3833         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
3834         network-stream-type.All other related portions are changed.
3835         (elmo-imap4-error): New macro.
3836         (elmo-imap4-error-type): Ditto.
3837         (elmo-imap4-error-process): Ditto.
3838         (elmo-imap4-error-message): Ditto.
3839         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
3840         (elmo-imap4-auth-cram-md5): Ditto.
3841         (elmo-imap4-auth-digest-md5): Ditto.
3842         (elmo-imap4-login): Ditto.
3843         (elmo-imap4-open-connection): Remove password entry if authentication
3844         was in vain.
3845         (elmo-imap4-user-at-host): Abolished.
3846         (elmo-imap4-password-key): New buffer local variable.
3847         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
3848         using protocol, port, auth and stream-type.
3849
3850         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
3851
3852 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
3853
3854         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
3855
3856         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
3857
3858         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
3859         (elmo-imap4-authenticator-alist): New variable.
3860         (elmo-imap4-open-connection-1): Rename from
3861         elmo-imap4-open-connection.
3862         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
3863         only wraps elmo-imap4-open-connection-1.
3864         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
3865         user-at-host.
3866         (elmo-imap4-auth-login): New function.
3867         (elmo-imap4-auth-cram-md5): New function.
3868         (elmo-imap4-auth-digest-md5): New function.
3869         (elmo-imap4-login): New function.
3870
3871 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
3872
3873         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
3874         function `error'.
3875
3876 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
3877
3878         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
3879
3880 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
3881
3882         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
3883
3884 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
3885
3886         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
3887         for server responses, quote `*' regardless of where it appears.
3888
3889 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
3890
3891         * elmo-maildir.el (elmo-maildir-commit): New alias.
3892
3893 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
3894
3895         * elmo-util.el (elmo-display-progress):
3896                 Use `progress-feedback-with-label'.
3897
3898 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
3899
3900         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
3901         (elmo-imap4-non-atom-char-regex): Ditto.
3902         (elmo-imap4-non-text-char-regex): Ditto.
3903         (elmo-imap4-literal-threshold): Ditto.
3904         (elmo-imap4-atom-p): New function.
3905         (elmo-imap4-quotable-p): Ditto.
3906         (elmo-imap4-nil): Ditto.
3907         (elmo-imap4-atom): Ditto.
3908         (elmo-imap4-quoted): Ditto.
3909         (elmo-imap4-literal-subr): Ditto.
3910         (elmo-imap4-literal): Ditto.
3911         (elmo-imap4-buffer-literal): Ditto.
3912         (elmo-imap4-string-subr): Ditto.
3913         (elmo-imap4-string): Ditto.
3914         (elmo-imap4-buffer-string): Ditto.
3915         (elmo-imap4-astring-subr): Ditto.
3916         (elmo-imap4-astring): Ditto.
3917         (elmo-imap4-buffer-astring): Ditto.
3918         (elmo-imap4-nstring): Ditto.
3919         (elmo-imap4-buffer-nstring): Ditto.
3920         (elmo-imap4-mailbox): New alias.
3921         (elmo-imap4-field-body): Ditto.
3922         (elmo-imap4-userid): Ditto.
3923         (elmo-imap4-password): Ditto.
3924         (elmo-imap4-format-quoted): New function.
3925         (elmo-imap4-send-command): Rewritten.  Accept a list of command
3926         arguments and handle "atom", "quoted" and "literal" string here.
3927         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
3928         `elmo-imap4-send-command'.
3929         (elmo-imap4-folder-exists-p): Likewise.
3930         (elmo-imap4-create-folder): Likewise.
3931         (elmo-imap4-delete-folder): Likewise.
3932         (elmo-imap4-rename-folder): Likewise.
3933         (elmo-imap4-max-of-folder): Likewise.
3934         (elmo-imap4-check-validity): Likewise.
3935         (elmo-imap4-sync-validity): Likewise.
3936         (elmo-imap4-server-diff): Likewise.
3937         (elmo-imap4-select-folder): Likewise.
3938         (elmo-imap4-copy-msgs): Likewise.
3939         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
3940         (elmo-imap4-mark-set-on-msgs): Likewise.
3941         (elmo-imap4-read-part): Likewise.
3942         (elmo-imap4-read-msg): Likewise.
3943         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
3944         `elmo-imap4-password' for `elmo-imap4-send-command'.
3945         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
3946         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
3947         `elmo-imap4-buffer-literal'.
3948         (elmo-imap4-append-msg): Likewise.
3949
3950         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
3951         `delete' for removing dead connection from the connection cache.
3952         Move deletion of the process buffer after that.
3953         (elmo-imap4-list): Change `defsubst' to `defun'.
3954         (elmo-imap4-commit): Make error message verbose.
3955         (elmo-imap4-search): Ditto.
3956         (elmo-imap4-list): Ditto.
3957         (elmo-imap4-select-folder): Ditto.
3958         (elmo-imap4-copy-msgs): Ditto.
3959         (elmo-imap4-delete-msg-by-id): Ditto.
3960         (elmo-imap4-append-msg-by-id): Ditto.
3961         (elmo-imap4-append-msg): Ditto.
3962
3963 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
3964
3965         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
3966         when dired is used on XEmacs.
3967
3968 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
3969
3970         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
3971         instead of `append'.
3972         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
3973         `elmo-plugged-p' directly.
3974         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
3975         of `elmo-plugged-p' directly.
3976
3977         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
3978         Eliminate unused variable.  Use `memq' for checking a process status.
3979         Use `cons' instead of `append' for updating the connection cache.
3980         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
3981         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
3982
3983 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
3984
3985         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
3986         `elmo-imap4-read-point' exactly.
3987
3988         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
3989         the local variable `folder' to `mailbox'.
3990         Rename the argument `fld' to `folder'.
3991
3992 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
3993
3994         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
3995         * elmo-imap4.el (elmo-imap4-commit): Ditto.
3996
3997 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
3998
3999         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
4000         (elmo-pop3-number-uidl-hash): New buffer-local variable.
4001         (elmo-pop3-uidl-number-hash): Ditto.
4002         (elmo-pop3-size-hash): Ditto.
4003         (elmo-pop3-uidl-done): Ditto.
4004         (elmo-pop3-list-done): Ditto.
4005         (elmo-pop3-connection-get-process): New defmacro.
4006         (elmo-pop3-connection-get-buffer): Ditto.
4007         (elmo-pop3-close-connection): Delete buffer and process.
4008         (elmo-pop3-flush-connection): Don't delete buffer and process.
4009         (elmo-pop3-get-connection): Added optional argument `if-exists'.
4010         Setup UIDL and size hash.
4011         (elmo-pop3-send-command-no-erase): Deleted
4012         (elmo-pop3-send-command): Added optional argument `no-erase'.
4013         (elmo-pop3-parse-uidl-response): New function.
4014         (elmo-pop3-parse-list-response): Set size hash.
4015         (elmo-pop3-list-location): New function.
4016         (elmo-pop3-list-by-uidl-subr): Ditto.
4017         (elmo-pop3-list-by-list): Ditto.
4018         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
4019         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
4020         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
4021         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
4022         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
4023         Use uidl.
4024         (elmo-pop3-uidl-to-number): New function.
4025         (elmo-pop3-number-to-uidl): Ditto.
4026         (elmo-pop3-number-to-size): Ditto.
4027         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
4028         Set number by use of uidl.
4029         (elmo-pop3-msgdb-create-message): Likewise.
4030         Set size, loc-alist in msgdb.
4031         (elmo-pop3-read-msg): Set number by use of uidl.
4032         Added optional argument `msgdb'.
4033         (elmo-pop3-delete-msg): Ditto.
4034         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
4035         (elmo-pop3-commit): Close connection.
4036
4037         * elmo-pipe.el (elmo-pipe-max-of-folder):
4038         Bind `elmo-pop3-use-uidl' as nil.
4039         (elmo-pipe-drain): Ditto.
4040         Call `elmo-commit'.
4041
4042         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
4043         (elmo-msgdb-overview-entity-set-size): New defsubst.
4044
4045 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4046
4047         * elmo-vars.el (elmo-use-killed-list): New variable
4048         (Renamed from `elmo-nntp-use-killed-list').
4049         (elmo-nntp-use-killed-list): Eliminated.
4050
4051         * elmo-msgdb.el (elmo-msgdb-expand-path):
4052         Changed expanding msgdb path for elmo-multi.
4053
4054         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
4055         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
4056         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
4057         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
4058         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
4059         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
4060         (toplevel): Deleted time-stamp line.
4061
4062         * elmo2.el (elmo-clear-killed ): Defined as function
4063         (Abolished defining as a backend function).
4064         All other related modules are changed.
4065
4066 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
4067
4068         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
4069
4070 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4071
4072         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
4073
4074 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4075
4076         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
4077
4078 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
4079
4080         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
4081         asynchronous folder check.
4082
4083         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
4084
4085         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
4086         `elmo-nntp-use-killed-list'.
4087         (elmo-nntp-list-folder): Use killed list.
4088         (elmo-nntp-max-of-folder): Ditto.
4089         (elmo-nntp-msgdb-create): Set killed list.
4090
4091         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
4092
4093         * elmo2.el (elmo-clear-killed): New backend function.
4094         All other related modules are changed.
4095
4096 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
4097
4098         * elmo-util.el (elmo-imap4-spec-folder): Use
4099         `elmo-imap4-spec-mailbox'; Mark as obsolete.
4100         All callers changed.
4101
4102 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
4103
4104         * mmelmo-2.el (initialize-instance):
4105         Use `mime-buffer-entity-buffer-internal' instead of
4106         `mime-entity-buffer'.
4107
4108         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
4109         (mime-entity-body): Implemented.
4110         (mime-goto-header-start-point): Deleted.
4111         (mime-goto-body-end-point): Ditto.
4112         (mime-entity-point-min): Ditto.
4113         (mime-entity-point-max): Ditto.
4114         (mime-entity-children): Ditto.
4115         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
4116         instead of `mime-entity-buffer'.
4117         (mime-entity-header-buffer): Ditto.
4118         (mime-entity-body-buffer): Ditto.
4119         (mime-write-entity-content): Ditto.
4120
4121         * pldap.el (ldap-static-if): New macro.
4122         (toplevel): Use it instead of `static-if'.
4123
4124 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
4125
4126         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
4127         included in `attrs' argument.
4128
4129 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
4130
4131         * elmo-util.el (elmo-get-passwd): Use old backquote style.
4132
4133         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
4134         (ldap-ldif-safe-init-char-regexp): Ditto.
4135         (ldap-ldif-safe-string-regexp): Ditto.
4136         (ldap/ldif-safe-string-p): New macro.
4137         (ldap/ldif-insert-field): Ditto.
4138         (ldap-modify): Use it.
4139         (ldap-add): Ditto.
4140         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
4141         (ldap-decode-attribute): Decode only when `attr' is consp.
4142         (ldap-delete): Bind `ret'.
4143         (toplevel): Require 'cl at compile time.
4144         Removed (require 'poe) and (require 'std11).
4145         (pldap-version): Eliminated.
4146         (ldap-search-basic): Removed auth and dn binding.
4147         (ldap-ldif-field-name-regexp): New constant.
4148         (ldap-ldif-field-head-regexp): Ditto.
4149         (ldap-ldif-next-field-head-regexp): Ditto.
4150         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
4151         (ldap/field-end): New function.
4152         (ldap/field-body): Use it.
4153         (ldap/collect-field): Ditto.
4154         (ldap-search-basic): Use `ldap/field-body'.
4155
4156 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
4157
4158         * pldap.el (ldap-default-attribute-encoder): New user option.
4159         (ldap/field-body): Decode base64 string.
4160         (ldap/collect-field): Ditto.
4161         (ldap-encode-attribute): New function.
4162         (ldap-add-entries): Use it.
4163         (ldap-modify-entries): Ditto.
4164         (ldap-search-entries): Enclosed decoding function with
4165         `with-temp-buffer' and set as unibyte.
4166         (ldap-search-basic): Set process buffer as unibyte.
4167
4168         * elmo-util.el (elmo-folder-identical-system-p):
4169         Eliminated name space checking.
4170
4171         * pldap.el: New module.
4172         toplevel: Changed condition to detect built-in ldap feature.
4173         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
4174         (ldap-add): Added error handling.
4175         (ldap-modify): Ditto.
4176         (ldap-delete): Ditto.
4177
4178 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
4179
4180         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
4181         Initialize local variables with `let'.  Inline a temporary
4182         variable for the progress percentage.  Sort `setq' to reduce
4183         function call in the while-loop.
4184
4185         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
4186         into the conditional branch.
4187
4188 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
4189
4190         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
4191         Move a conditional out of the while-loop.
4192
4193 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4194
4195         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
4196         elmo-msgdb-overview-get-entity-by-number.
4197         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
4198         throw.
4199
4200 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
4201
4202         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
4203         the local variable for a packed number self descriptively.
4204
4205 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4206
4207         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
4208         * elmo-localdir.el (elmo-localdir-pack-number): Use
4209         `elmo-msgdb-overview-get-entity' instead of
4210         `elmo-msgdb-overview-get-entity-by-number'.
4211         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
4212         (elmo-msgdb-search-overview-entity): Removed.
4213         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
4214         by message-id or number.
4215         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
4216         instead of `elmo-msgdb-overview-get-entity-by-number'.
4217
4218 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4219
4220         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
4221         non-nil, use hash table for overview.
4222         (elmo-hash-maximum-size): New variable.
4223         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
4224         (elmo-msgdb-make-overview-hashtb): New function.
4225         (elmo-msgdb-clear-overview-hashtb): New function.
4226         (elmo-clear-hash-val): New macro.
4227         All other related modules are changed.
4228
4229 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
4230
4231         * elmo2.el (elmo-move-msgs): If there's other message with
4232         same message-id, don't use cache.
4233
4234 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
4235
4236         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
4237         number is already packed.
4238
4239 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
4240
4241         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
4242
4243 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4244
4245         * elmo-vars.el (elmo-display-progress-threshold): New variable.
4246         All other related modules are changed.
4247
4248 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
4249
4250         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
4251         of refiling failure on Maildir.
4252
4253 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4254
4255         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
4256         decoded mime-charset with cache.
4257         (elmo-msgdb-overview-entity-get-from): Ditto.
4258         (elmo-msgdb-overview-entity-get-subject): Ditto.
4259         * elmo-vars.el (elmo-use-decoded-cache): New variable.
4260
4261 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
4262
4263         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
4264         (elmo-remove-passwd): Fill password with 0 before erase.
4265         * elmo-vars.el (elmo-passwd-life-time): New variable.
4266
4267 \f
4268 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
4269
4270         * elmo-cache.el (elmo-buffer-cache-add):
4271         Set message cache buffer as unibyte.
4272
4273 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
4274
4275         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
4276         become nil.
4277
4278 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
4279
4280         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
4281         when display is finished.
4282         (elmo-nntp-msgdb-create): Ditto.
4283         (elmo-nntp-groups-read-response): Ditto.
4284         (elmo-nntp-retrieve-headers): Ditto.
4285         (elmo-nntp-msgdb-create-message): Ditto.
4286         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
4287         (elmo-pop3-msgdb-create-message): Ditto.
4288
4289 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
4290
4291         * elmo-maildir.el (elmo-maildir-msgdb-create):
4292         Use `elmo-msgdb-sort-by-date'.
4293
4294 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
4295
4296         * elmo2.el (elmo-read-msg-no-cache):
4297         Eliminated arguments after `outbuf'.
4298         Don't use cache even if it exists.
4299         (elmo-read-msg): Don't pass arguments after `outbuf' to
4300         `elmo-read-msg-no-cache'.
4301
4302 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
4303
4304         * elmo-archive.el (elmo-archive-list-folders):
4305         Use `file-name-directory' if base folder does not exist.
4306
4307 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
4308
4309         * elmo-archive.el (elmo-archive-list-folders): Don't use
4310         `file-name-directory'.
4311
4312 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
4313
4314         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
4315         If `force' is non-nil, try flushing all operation queues.
4316
4317 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
4318
4319         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
4320         as-binary-process.
4321
4322 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
4323
4324         * elmo-util.el (elmo-display-progress): Fixed.
4325
4326 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
4327
4328         * elmo-util.el (elmo-display-progress): New function.
4329         All other related modules are changed.
4330