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