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