* elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
[elisp/wanderlust.git] / elmo / ChangeLog
1 2007-04-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
2
3         * elmo-imap4.el (elmo-folder-delete): Don't call close for mailbox
4         with \Noselect attribute.
5
6 2007-04-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
7
8         * elmo-imap4.el (elmo-folder-list-subfolders): Fix handling of
9         hierarchical folder structure with UW-imapd.
10
11 2007-02-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
12
13         * elmo-imap4.el (elmo-imap4-clear-login): Don't send LOGIN command
14         when the LOGINDISABLED capability is advertised.
15
16 2007-01-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
17
18         * elmo-msgdb.el (elmo-msgdb-extra-fields): Make it non-destructive.
19
20 2007-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
21
22         * elmo-shimbun.el (elmo-shimbun-update-overview): Add argnument
23         `entity'.
24         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview' only
25         if the message entity is exists.
26
27 2007-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
28
29         * elmo-util.el (elmo-msgdb-insert-file-header): Call
30         `elmo-delete-cr-buffer'.
31
32         * elmo-localdir.el (elmo-message-fetch-internal): Use
33         `insert-file-contents-as-raw-text' instead of
34         `insert-file-contents-as-binary'.
35
36         * elmo-maildir.el (elmo-map-message-fetch): Ditto.
37
38 2006-12-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
39
40         * elmo-imap4.el (elmo-network-initialize-session): Check to
41         retrieve a whole greeting message.
42
43 2006-11-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
44
45         * elmo-flag.el (elmo-folder-commit): Encode `.minfo' at save.
46
47 2006-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
48
49         * elmo-util.el (elmo-safe-plist-get): New alias or macro.
50         (elmo-progress-notify): Use it instead of `plist-get'.
51
52 2006-11-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
53
54         * elmo.el (elmo-generic-folder-append-messages): Remove unused
55         variable `table'.
56
57 2006-11-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
58
59         * elmo-pipe.el (elmo-folder-set-plugged): Define.
60
61 2006-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
62
63         * elsp-bsfilter.el (elmo-spam-bsfilter-use-remote): New user option.
64         (elmo-spam-list-spam-messages): Check it option.
65
66 2006-11-08  Tetsurou Okazaki  <okazaki@be.to>
67
68         * elmo-util.el (elmo-with-progress-display): Return the value
69         of the last form in `body'.
70
71 2006-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
72
73         * elmo-util.el (elmo-progress-start): Accept nil for `total'.  Set
74         `elmo-progress-counter' as t when a query callback returns nil.
75         (elmo-progress-clear): New function.
76         (elmo-progress-done): Split into `elmo-progress-clear'.
77         (elmo-progress-notify): Update a total slot when it is nil.
78         (elmo-with-progress-display): Call `elmo-progress-clear' in
79         unwind-protect and move calling `elmo-progress-done' to outside.
80
81         * elmo-imap4.el (elmo-imap4-find-next-line): Call
82         `elmo-progress-notify' with :total parameter instead of
83         `elmo-progress-counter-set-total'.
84
85 2006-11-07  Tetsurou Okazaki  <okazaki@be.to>
86
87         * elmo-util.el (elmo-cache-expire-by-age): Add docstring.
88         Make it interactive.
89         (elmo-progress-start): Avoid updating `elmo-progress-counter'
90         when a query callback returns nil.  Return a progress counter
91         instead of t whenever a start callback was called.
92
93 2006-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
94
95         * elmo-imap4.el (elmo-imap4-session-capable-p): New macro.
96         (elmo-imap4-send-command): Use it.
97         (elmo-network-initialize-session): Ditto.
98         (elmo-network-setup-session): Ditto.
99         (elmo-folder-msgdb-create-plugged): Ditto.
100
101 2006-11-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
102
103         * elmo-util.el (elmo-progress-done): Fix a miss refer to
104         `elmo-progress-counter'.
105
106 2006-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
107
108         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Abolish.
109         (elsp-bsfilter-list-spam-filter): New function.
110         (elsp-bsfilter-start-list-spam): Ditto.
111         (elsp-bsfilter-read-list-spam): Ditto.
112         (elmo-spam-list-spam-messages): Use async process to display
113         progress message by each message.
114
115 2006-11-03  Yoichi NAKAYAMA  <yoichi@geiin.org>
116
117         * elmo-spam.el (elmo-spam-process-messages-as-mbox): Fix problem
118         of flushing previously inserted message contents.
119
120         * elmo-imap4.el (elmo-folder-search): Fix return value.
121
122 2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
123
124         * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
125         of reporter is enable or not.
126
127 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
128
129         * elmo-util.el (elmo-list-bigger-diff): Abolish.
130         (elmo-display-progress): Ditto.
131         (elmo-progress-counter-alist): Ditto.
132         (elmo-progress-set): Ditto.
133         (elmo-progress-clear): Ditto.
134         (elmo-progress-counter-all-value): Rename to
135         `elmo-progress-counter-total'.
136         (elmo-progress-counter-format): Rename to
137         `elmo-progress-counter-action'.
138         (elmo-progress-counter): New internal variable.
139         (elmo-progress-callback-function): Ditto.
140         (elmo-progress-counter-label): New function.
141         (elmo-progress-counter-set-total): Ditto.
142         (elmo-progress-counter-set-action): Ditto.
143         (elmo-progress-call-callback): Ditto.
144         (elmo-progress-start): Ditto.
145         (elmo-progress-done): Ditto.
146         (elmo-progress-notify): Rewrite.
147         (elmo-with-progress-display): Remove first argument
148         `condition'. Add optional argument `var' in `spec'.
149
150         * elmo-vars.el (elmo-display-progress-threshold): Abolish.
151         (elmo-display-retrieval-progress-threshold): Ditto.
152         (elmo-inhibit-display-retrieval-progress): Ditto.
153
154         * Replace all pair of `elmo-progress-set' and
155         `elmo-progress-clear' into `elmo-with-progress-display'.
156
157         * Replace to call `elmo-display-progress' into pair of
158         `elmo-progress-notify' and `elmo-with-progress-display'.
159
160         * elmo-version.el (elmo-version): Up to 2.15.5.
161
162 2006-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
163
164         * elmo-imap4.el (elmo-imap4-arrival-filter): Use `case' instead of
165         `cond'.
166
167 2006-10-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
168
169         * elmo-imap4.el (elmo-imap4-arrival-filter): Call delete-region in
170         cleanup-forms [wl:14027].
171
172 2006-10-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
173
174         * elmo-flag.el (elmo-global-flag-set-internal): Use
175         `elmo-copy-file' by priority when the message is a file.
176
177 2006-10-01  Yoichi NAKAYAMA  <yoichi@geiin.org>
178
179         * elmo.el: Fix typo: disptch -> dispatch.
180
181 2006-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
182
183         * elmo.el (elmo-file-tag): New class.
184         (elmo-append-messages-disptch-table): New constant.
185         (elmo-folder-type-p): New function.
186         (elmo-folder-append-messages): Redefine as function.
187
188         * elmo-null.el (elmo-folder-append-messages): Renamed from
189         `elmo-folder-append-messages'.
190
191         * elmo-maildir.el (elmo-maildir-folder): Inherit `elmo-file-tag'.
192         (elmo-folder-append-messages-*-maildir): Renamed from
193         `elmo-folder-append-messages'.
194
195         * elmo-localdir.el (elmo-localdir-folder): Inherit
196         `elmo-file-tag'.
197         (elmo-folder-append-messages-*-localdir): Renamed from
198         `elmo-folder-append-messages'.
199
200         * elmo-imap4.el (elmo-folder-append-messages-imap4-imap4): Renamed
201         from `elmo-folder-append-messages'.
202
203         * elmo-flag.el (elmo-folder-append-messages-*-flag): Renamed from
204         `elmo-folder-append-messages'.
205
206         * elmo-filter.el (elmo-folder-append-messages-filter-*): New
207         function.
208         (elmo-folder-append-messages-*-filter): Ditto.
209
210         * elmo-multi.el (elmo-folder-append-messages-multi-*): Ditto.
211
212         * elmo-pipe.el (elmo-folder-append-messages-pipe-*): Ditto.
213         (elmo-folder-append-messages-*-pipe): Renamed from
214         `elmo-folder-append-messages'.
215
216         * elmo-cache.el (elmo-cache-folder): Inherit `elmo-file-tag'.
217
218         * elmo-file.el (elmo-file-folder): Ditto.
219
220         * elmo-sendlog.el (elmo-sendlog-folder): Ditto.
221
222         * elmo-archive.el (elmo-folder-append-messages-*-archive): Renamed
223         from `elmo-folder-append-messages'
224
225 2006-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
226
227         * elmo-map.el (elmo-location-map-setup): Change an argument
228         `locations' to optional.
229         (elmo-location-map-clear): Abolish.
230         (elmo-folder-clear): Follow the API change.
231
232         * elmo-pop3.el (elmo-folder-clear): Ditto.
233
234         * elmo-pop3.el (toplevel): Require elmo-map.
235         (elmo-pop3-folder): Inherit elmo-location-map and abolish
236         location-alist slot (All other related portions are changed).
237         (elmo-pop3-folder-use-uidl): New function.
238         (elmo-folder-msgdb-create): Don't sort message entities.
239         (elmo-pop3-sort-msgdb-by-original-number): Abolish.
240         (elmo-pop3-number-to-size): Convert return value to number.
241         (elmo-pop3-msgdb-create-by-header): Use unwind-protect to delete a
242         working buffer.
243
244         * elmo-map.el: Use `location-map' as a variable name for instance
245         instead of `mapper'.
246         (elmo-location-map-setup): Return location alist.
247         (elmo-location-map-update): Ditto.
248
249 2006-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
250
251         * elmo-map.el (elmo-location-map): New class; split location and
252         number mapping from elmo-map-folder (All other related portions
253         are changed).
254
255         * elmo-shimbun.el (elmo-folder-open-internal): Follow the API
256         change.
257
258         * elmo-version.el (elmo-version): Up to 2.15.4.
259
260 2006-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
261
262         * elmo-vars.el (elmo-use-hardlink): New user option.
263
264         * elmo-util.el (elmo-add-name-to-file): Switch implementations by
265         `elmo-use-hardlink'.
266
267         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Keep the
268         killed-list.
269         (elmo-pipe-drain): Use `elmo-folder-open' and `elmo-folder-close'
270         instead of `*-internal'. Use `elmo-with-progress-display'.
271
272 2006-09-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
273
274         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages): Use
275         `elmo-spam-process-messages-as-mbox'.
276
277         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
278
279 2006-08-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
280
281         * elsp-bsfilter.el (elsp-bsfilter-list-spam-files): Fix the
282         argument BUFFER of `call-process'.
283
284 2006-08-27  Yoichi NAKAYAMA  <yoichi@geiin.org>
285
286         * elsp-bsfilter.el (elsp-bsfilter-call-bsfilter): Remove nil from
287         args.
288         (elsp-bsfilter-list-spam-files): Ditto.
289
290 2006-08-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
291
292         * elsp-bsfilter.el (elmo-spam-bsfilter-max-files-per-process)
293         (elmo-spam-bsfilter-max-messages-per-process): New use option.
294         (elmo-spam-bsfilter-debug): Fix a group.
295         (elsp-bsfilter-call-bsfilter): Don't use `delq' and add option
296         `--homedir'.
297         (elmo-spam-buffer-spam-p): Don't specify `--homedir' option.
298         (elsp-bsfilter-list-spam-files): New function.
299         (elmo-spam-list-spam-messages): Define.
300         (elsp-bsfilter-register-buffer): Add an optional argument `mbox'.
301         (elmo-spam-bsfilter-register-messages): New function.
302         (elmo-spam-register-spam-messages): Define.
303         (elmo-spam-register-good-messages): Ditto.
304
305         * elmo-spam.el (elmo-spam-process-messages-as-mbox): New function.
306
307         * elmo-util.el (elmo-flatten): Use `append' and `listp' instead of
308         `nconc' and `consp'.
309
310 2006-08-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
311
312         * elmo-map.el (elmo-map-folder-update-locations): Rewrite with
313         hash table to test whether a location is exists.
314
315 2006-08-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
316
317         * elmo-archive.el (elmo-folder-append-messages): Delete temp-dir
318         even if some error occurred.
319
320         * elmo-archive.el (elmo-archive-folder-append-buffer): Remove
321         meaningless unwind-protect.
322
323         * elmo-maildir.el (elmo-folder-message-make-temp-files): Respect
324         start-number correctly.
325         * elmo-search.el (elmo-folder-message-make-temp-files): Ditto.
326         * elmo-file.el (elmo-folder-message-make-temp-files): Ditto.
327
328 2006-08-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
329
330         * elmo-flag.el (elmo-flag-folder-set-minfo): New function.
331         (elmo-folder-initialize): Use it.
332         (elmo-global-flag-replace-referrer): New function.
333
334         * elmo.el (toplevel): Added autoload setting for
335         `elmo-global-flag-replace-referrer'.
336         (elmo-folder-rename): Rewrite the last change use
337         `elmo-global-flag-replace-referrer'.
338
339         * elmo-pipe.el (elmo-folder-rename): Call
340         `elmo-global-flag-replace-referrer'.
341
342 2006-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
343
344         * elmo.el (elmo-folder-rename): Set meta data for global flags
345         follow the rename.
346
347 2006-07-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
348
349         * elmo-filter.el (elmo-folder-initialize): Set slot `number-list'
350         as 'not-loaded.
351         (elmo-folder-close): Ditto.
352         (elmo-filter-folder-number-list-loaded-p): New function.
353         (elmo-filter-folder-number-list): Check whether loaded or not.
354         (elmo-folder-commit): Use `elmo-filter-folder-number-list' instead
355         of `elmo-filter-folder-number-list-internal'.
356         (elmo-folder-delete-messages): Ditto.
357         (elmo-folder-length): Check whether number-list is loaded or not.
358
359 2006-06-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
360
361         * modb-entity.el (modb-entity-field-extractor-alist): Add 3rd
362         field `real field' into each element of list.
363         (elmo-msgdb-create-message-entity-from-buffer): Follow the above change.
364         (elmo-msgdb-message-entity-field): Ditto.
365         (modb-entity-ml-info-real-fields): New function.
366
367         * elmo-msgdb.el (elmo-msgdb-extra-fields): New function.
368
369         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Use function
370         `elmo-msgdb-extra-fields'.
371
372 2006-05-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
373
374         * elmo-util.el (elmo-passwd-alist-load): Move point to min
375         position before read.
376
377 2006-05-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
378
379         * elmo-flag.el (elmo-folder-expand-msgdb-path): Translate path.
380         (elmo-global-flags-initialize): Ditto.
381
382 2006-05-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
383
384         * elmo-archive.el (toplevel): Don't require emu, std11
385         and elmo-localdir.
386
387         * elmo-localdir.el (elmo-message-file-name): Remove duplicate
388         definition.
389
390 2006-05-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
391
392         * elmo.el (elmo-folder-confirm-appends): Display folder name.
393
394 2006-04-29  Yoichi NAKAYAMA  <yoichi@geiin.org>
395
396         * elmo-imap4.el (elmo-imap4-send-command): Use non-synchronizing
397         literals.
398
399 2006-04-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
400
401         * elmo-maildir.el (elmo-maildir-list-location): Reduce
402         `elmo-get-last-modification-time' call.
403
404 2006-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
405
406         * elmo-maildir.el (elmo-maildir-list-location): Fixed a regular
407         expression.
408         (elmo-maildir-set-mark): Ditto.
409         (elmo-maildir-delete-mark): Ditto.
410
411 2006-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
412
413         * elmo-util.el (elmo-collect-separators-internal): Add 2nd
414         optional argument `separators'.
415
416 2006-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
417
418         * elmo.el (cache-changed): Abolish.
419         (status-changed): New signal.
420         (elmo-message-killed-p): New generic function and define for
421         elmo-folder.
422         (elmo-folder-recover-messages): Ditto.
423         (elmo-message-set-cached): Emit signal `status-changed' instead of
424         `cache-changed'.
425         (elmo-message-status): New macro.
426         (elmo-message-status-folder): Ditto.
427         (elmo-message-status-number): Ditto.
428         (elmo-message-status-set-flags): Ditto.
429         (elmo-message-status-set-killed): Ditto.
430         (elmo-message-status-flags): New function.
431         (elmo-message-status-cached-p): Ditto.
432         (elmo-message-status-killed-p): Ditto.
433
434         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
435         `status-changed' instead of `cache-changed'.
436         (elmo-folder-recover-messages): Define.
437         (elmo-message-killed-p): Ditto.
438
439         * elmo-filter.el (elmo-filter-connect-signals): Connect to signal
440         `status-changed' instead of `cache-changed'.
441
442         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
443         (elmo-message-killed-p): Define.
444         (elmo-folder-recover-messages): Ditto.
445
446         * elmo-version.el (elmo-version): Up to 2.15.3.
447
448 2006-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
449
450         * elmo-signal.el (elmo-signal-bindings): Use cons to append
451         element into list.
452         (elmo-define-signal-handler): Add docstring.
453         (elmo-define-signal-filter): Ditto.
454
455         * elmo-multi.el (elmo-multi-connect-signals): Fix the signal name.
456
457 2006-02-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
458
459         * elmo-util.el (elmo-flatten): Don't use recursive call.
460
461         * elmo-search.el (elmo-folder-msgdb-create): Remove an unnecessary
462         assignment.
463         (elmo-folder-message-make-temp-files): Use `number-to-string'
464         instead of `int-to-string'.
465
466 2006-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
467
468         * elmo-search.el (elmo-folder-delete-messages): Define.
469
470 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
471
472         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fixed
473         customization type.
474         (elmo-mailing-list-count-spec-list): Ditto.
475
476         * elmo-vars.el (elmo-mailing-list-name-spec-list): Merge entries
477         for `list-id'.
478
479 2006-01-22  Yoichi NAKAYAMA  <yoichi@geiin.org>
480
481         * elmo-vars.el (elmo-mailing-list-name-spec-list): Fix list-id
482         handling.
483
484 2006-01-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
485
486         * elmo-vars.el (elmo-mailing-list-name-spec-list): New user option.
487         (elmo-mailing-list-count-spec-list): Ditto.
488
489         * elmo-util.el (elmo-map-until-success): New function.
490         (elmo-string-match-substring): Ditto.
491         (elmo-find-list-match-value): Ditto.
492
493         * modb-entity.el (modb-entity-extract-ml-info-from-x-sequence):
494         Removed.
495         (modb-entity-extract-ml-info-from-subject): Ditto.
496         (modb-entity-extract-ml-info-from-return-path): Ditto.
497         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
498         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
499         (modb-entity-extract-ml-info-from-mailman): Ditto.
500         (modb-entity-extract-mailing-list-info-functions): Ditto.
501         (modb-entity-extract-mailing-list-info): Rewrite with
502         `elmo-find-list-match-value'.
503
504 2006-01-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
505
506         * elmo-net.el (elmo-network-session-retry-count): New user option.
507         (elmo-network-session-buffer-name): New internal function.
508         (elmo-network-session-buffer-create): Ditto.
509         (elmo-network-open-session): Retry open network session
510         `elmo-network-session-retry-count' times.
511
512 2005-12-16  Tetsurou Okazaki  <okazaki@be.to>
513
514         * elmo-util.el (elmo-list-filter): Rewritten.
515
516 2005-12-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
517
518         * elmo-util.el (elmo-string-member): Allow symbol element in list.
519
520 2005-11-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
521
522         * elmo-search.el (elmo-make-search-engine): Use prefix
523         `elmo-search-' for require symbol instead of `else-'.
524         (elmo-search-engine-extprog): New class.
525         (elmo-search-engine-do-search): Remove nil from argument
526         list. Added argument pattern to evaluate element as function.
527         (elmo-search-engine-local-file): Derived from
528         `elmo-search-engine-extprog'.
529         (elmo-search-engine-create-message-entity): Check existance of file.
530         (elmo-search-engine-fetch-message): Ditto.
531         (elmo-search-namazu-index): Follow the API change.
532         (elmo-search-grep-target): Ditto.
533
534 2005-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
535
536         * elmo-spam.el (elmo-spam-message-fetch): Disable multibyte
537         characters of working buffer.
538
539         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
540         Does not bind `default-mime-charset'.
541         (elmo-msgdb-create-message-entity-from-buffer): Removed
542         unnecessary local bind.
543
544         * modb-entity.el (modb-entity-extract-ml-info-from-mailman): New
545         function.
546         (modb-entity-extract-mailing-list-info-functions): Added it.
547
548 2005-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
549
550         * modb-legacy.el (elmo-msgdb-append-entity): Execute the process
551         when number and message-id are non-nil.
552
553         * modb-standard.el (elmo-msgdb-append-entity): Ditto.
554
555         * elmo-pop3.el (elmo-pop3-auth-user): Refactoring nested
556         conditional steatment.
557         (elmo-pop3-auth-apop): Likewise.
558         (elmo-network-authenticate-session): Likewise.
559
560 2005-11-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
561
562         * elmo-mime.el (elmo-mime-header-max-column): Set default value as
563         symbol `fill-column'.
564         (elmo-mime-insert-header-from-buffer): Rewrite; ignore errors in
565         decode field value.
566
567         * elmo-util.el (elmo-mime-string): Ignore errors in eword decode.
568         (elmo-decoded-field-body): Ditto.
569
570 2005-11-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
571
572         * elmo-net.el (elmo-net-folder-set-parameters): Rename argument
573         `tokens' to `params'.
574
575 2005-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
576
577         * elmo-split.el (elmo-split-subr): Disable multibyte characters of
578         working buffer.
579
580 2005-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
581
582         * elmo-search.el (elmo-search-namazu-index): Fixed the order to
583         decide index.
584
585 2005-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
586
587         * elmo-search.el (elmo-search-engine-alist): Define with defvar;
588         Set default value as nil.
589         (toplevel): Register search engines by
590         `elmo-search-register-engine' if there are not defined.
591
592         * elmo.el (autoload): Added autoload setting for
593         `elmo-search-register-engine'.
594
595 2005-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
596
597         * elmo.el (toplevel): `[' is redefined as the prefix of the search
598         folder instead of nmz folder.
599         (elmo-nmz-default-index-path): Added obsolete variable setting.
600         (elmo-nmz-index-alias-alist): Ditto.
601         (elmo-nmz-use-drive-letter): Ditto.
602
603         * elmo-search.el (elmo-search-register-engine): New function.
604
605         * elmo-nmz.el: Removed.
606
607         * elmo-version.el (elmo-version): Up to 2.15.2.
608
609 2005-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
610
611         * elmo-search.el: New file.
612
613 2005-09-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
614
615         * modb-entity.el (elmo-msgdb-message-match-condition): Add new
616         condition `larger' and `smaller'.
617
618 2005-07-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
619
620         * elmo-util.el (elmo-safe-filename): Rewrite to replace
621         `"' (double quote) into "_Q_".
622
623 2005-07-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
624
625         * elmo-net.el (elmo-net-quote-chars): Abolish.
626         (elmo-net-format-quoted): Ditto.
627
628 2005-06-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
629
630         * elmo.el (elmo-get-folder-function): New variable.
631         (elmo-get-folder): New function.
632         (elmo-folder-rename): Call `elmo-make-folder' with specified
633         mime-charset.
634
635         * elmo-split.el (elmo-split): Use `elmo-get-folder' instead of
636         `elmo-make-folder'.
637         (elmo-split-subr): Ditto.
638
639         * elmo-multi.el (elmo-folder-initialize): Ditto.
640
641         * elmo-internal.el (elmo-folder-list-subfolders): Ditto.
642
643         * elmo-flag.el (elmo-flag-folder-delete-message): Ditto.
644         (elmo-flag-get-folder): Ditto.
645
646         * elmo-filter.el (elmo-folder-initialize): Ditto.
647
648         * elmo-access.el (elmo-folder-initialize): Ditto.
649         (elmo-access-folder-update-children): Ditto.
650
651         * elmo-dop.el (elmo-dop-queue-flush): Ditto.
652         (elmo-dop-queue-flush): Ditto.
653         (elmo-folder-append-buffer-dop-delayed): Ditto.
654         (elmo-dop-spool-folder): Call `elmo-make-folder' with specified
655         mime-charset.
656
657         * elmo-pipe.el (elmo-folder-initialize): Use `elmo-get-folder'
658         instead of `elmo-make-folder'.
659         (elmo-folder-rename): Ditto.  Use `elmo-folder-rename' to
660         destination folder instead of send `elmo-folder-rename-internal'.
661
662         * elmo-shimbun.el (elmo-folder-list-subfolders): Use `shimbun'
663         slot of subfolder instead of create it.
664
665 2005-06-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
666
667         * elmo-util.el (elmo-collect-separators): New function.
668         (elmo-collect-separators-internal): Ditto.
669         (elmo-collect-trail-separators): Ditto.
670         (elmo-parse-separated-tokens): Ditto.
671         (elmo-parse-separated-tokens-internal): Ditto.
672         (elmo-quote-syntactical-element): Ditto.
673
674         * elmo-pop3.el (elmo-pop3-folder-name-syntax): New constant.
675         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
676
677         * elmo-nntp.el (elmo-nntp-folder-name-syntax): New constant.
678         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
679         (elmo-nntp-folder-list-subfolders): Quote a user name.
680
681         * elmo-net.el (elmo-net-folder-name-syntax): New constant.
682         (elmo-net-parse-network): Abolish.
683         (elmo-net-folder-set-parameters): New function.
684         (elmo-folder-initialize): Follow the above change.
685
686         * elmo-imap4.el (elmo-imap4-folder-name-syntax): New constant.
687         (elmo-folder-initialize): Rewrite by `elmo-parse-separated-tokens'.
688         (elmo-folder-list-subfolders): Use
689         `elmo-quote-syntactical-element' instead of
690         `elmo-net-format-quoted' to quote mailbox and user name.
691
692 2005-06-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
693
694         * elmo-util.el (elmo-token-valid-p): New function.
695         (elmo-parse-token): Add optional argument `requirement'.
696         (elmo-parse-prefixed-element): Likewise.
697
698         * elmo-net.el (elmo-net-quote-chars): Renamed from
699         `elmo-net-quote-chars-regexp'.
700         (elmo-net-format-quoted): Add optional argument `extra-chars'.
701
702         * elmo-pop3.el (elmo-folder-initialize): Fix the token separators
703         by info document. Check token `uidl' is started an alphabet.
704
705         * elmo-nntp.el (elmo-folder-initialize): Fix the token separators
706         by info document. Check token `user' is started an alphabet.
707
708         * elmo-imap4.el (elmo-folder-initialize): Ditto.
709         (elmo-folder-list-subfolders): Quote user.
710
711 2005-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
712
713         * elmo-util.el (elmo-quoted-specials-list): New constant.
714         (elmo-quoted-token): New function.
715
716         * elmo-net.el (elmo-net-quote-chars-regexp): New constant.
717         (elmo-net-format-quoted): New function.
718         (elmo-net-parse-network): Ditto.
719         (elmo-folder-initialize): Use it.
720
721         * elmo-nntp.el (elmo-folder-initialize): Use
722         `elmo-net-parse-network' to parse network specification instead of
723         `elmo-folder-initialize#elmo-net'.
724
725         * elmo-pop3.el (elmo-folder-initialize): Ditto.
726
727         * elmo-imap4.el (elmo-folder-initialize): Ditto.
728         (elmo-folder-list-subfolders): Quote folder name by
729         `elmo-net-format-quoted'.
730
731 2005-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
732
733         * elmo-nntp.el (elmo-nntp-use-server-search-p): New function.
734         (elmo-folder-search): Use it.
735
736 2005-04-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
737
738         * modb-standard.el (modb-standard-loaded-message-id): Use
739         `elmo-msgdb-message-entity-field'.
740
741 2005-04-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
742
743         * elmo-util.el (elmo-object-load): Call `elmo-set-auto-coding'
744         without filename.
745
746 2005-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
747
748         * elmo-util.el (elmo-set-auto-coding): New function.
749         (elmo-object-load): Use it.
750
751 2005-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
752
753         * elmo-date.el (elmo-time-less-p): Renamed from `elmo-time<'.
754         (elmo-time<): Define as alias of `elmo-time-less-p'.
755         (elmo-time-to-datevec): New function.
756
757         * elmo-date.el (elmo-time-to-days): New function.
758
759 2005-04-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
760
761         * elmo-util.el (elmo-map-recursive): Call `function' if `object'
762         is not cons cell.
763
764 2005-04-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
765
766         * modb-entity.el (modb-entity-encode-string-recursive): Fixed
767         parenthesis.
768
769         * elmo-util.el (elmo-map-recursive): New function.
770
771         * modb-entity.el (modb-entity-decode-string-recursive): Use it.
772         (modb-entity-encode-string-recursive): Ditto.
773
774 2005-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
775
776         * elmo-maildir.el (elmo-maildir-sequence-number): New function.
777         (elmo-maildir-make-unique-string): Throw Emacs 18 away.
778         (elmo-maildir-list-location): Use `elmo-maildir-sequence-number' to
779         compare sequence number when last modified time is nil.
780
781 2005-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
782
783         * elmo-maildir.el (elmo-folder-msgdb-create): Don't sort by date.
784
785         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
786
787 2005-04-01  Yuuichi Teranishi  <teranisi@gohome.org>
788
789         * elmo-maildir.el (elmo-maildir-list-location): Sort by last
790         modification time of the file.
791
792 2005-03-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
793
794         * elmo-util.el (elmo-condition-optimize): Discriminated against
795         preserved fields, extra fields and the other weight.
796
797 2005-03-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
798
799         * modb-entity.el (initialize-instance): Define.
800         (modb-entity-handler-mime-charset): New internal function.
801         (modb-standard-entity-set-field): Use it.
802         (elmo-msgdb-message-entity-field): Ditto.
803         (elmo-msgdb-message-entity-field): Ditto.
804
805         * modb.el (elmo-msgdb-match-condition): Rewrite with
806         `elmo-condition-match'.
807         (elmo-msgdb-match-condition-primitive): New function.
808
809         * modb-entity.el (elmo-msgdb-message-match-condition): Removed
810         arguments `flags' and `numbers'.
811         (elmo-msgdb-match-condition-primitive): Abolished (merged to
812         `elmo-msgdb-message-match-condition').
813         (modb-buffer-entity-handler): New class.
814
815         * elmo.el (elmo-folder-search): Optimize condition to use
816         `elmo-condition-optimize'.
817         (elmo-message-buffer-match-condition): New function.
818         (elmo-message-match-condition): Use
819         `elmo-message-buffer-match-condition' instead of
820         `elmo-buffer-field-condition-match'.
821
822         * elmo-util.el (elmo-condition-match): New function.
823         (elmo-condition-optimize): Ditto.
824         (elmo-buffer-field-primitive-condition-match): Abolish.
825         (elmo-buffer-field-condition-match): Ditto.
826
827         * elmo-archive.el (elmo-archive-field-condition-match): Use
828         `elmo-message-buffer-match-condition' instead of
829         `elmo-buffer-field-condition-match'.
830
831 2005-03-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
832
833         * elmo-flag.el (elmo-global-flags-initialize): Check the
834         existence of the flag directory.
835
836 2005-03-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
837
838         * elmo-access.el (elmo-folder-initialize): Call
839         `elmo-multi-connect-signals'.
840
841         * elmo-pipe.el (elmo-folder-close): Define.
842
843         * elmo-multi.el (elmo-folder-close): Call `elmo-folder-close' with
844         children folders.
845
846         * elmo-filter.el (elmo-folder-close): Call `elmo-folder-close'
847         with target folder.
848
849         * modb-entity.el (elmo-msgdb-message-entity-set-number): Return
850         `number'.
851
852         * elmo-multi.el (elmo-message-entity): Don't use return value of
853         `elmo-message-entity-set-number'.
854
855 2005-03-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
856
857         * modb.el (modb-generic): Added slot `mime-charset'.
858
859         * modb-standard.el (modb-standard): Added slot `overview-handler'.
860         (modb-standard-save-entity-1): Use `modb-entity-handler-equal-p'
861         and `modb-entity-handler-dump-parameters'.
862         (modb-standard-default-entity-handler): Abolish.
863         (elmo-msgdb-message-entity-handler): Save created handler by
864         instance slot.
865
866         * modb-entity.el (modb-entity-handler): Added slot `mime-charset'.
867         (modb-entity-handler-list-parameters): New method.
868         (modb-entity-handler-equal-p): New function.
869         (modb-entity-handler-dump-parameters): Ditto.
870         (modb-entity-parse-address-string): Encode return value.
871         (modb-entity-make-address-string): Decode argument value.
872         (modb-entity-decode-string-recursive): New function.
873         (modb-entity-encode-string-recursive): Ditto.
874         (modb-standard-entity-normalizer): Set to encode field value.
875         (modb-standard-entity-specializer): Follow the above change.
876         (modb-standard-entity-set-field): Bind `elmo-mime-charset' by
877         mime-charset of handler.
878         (elmo-msgdb-message-entity-field): Ditto.
879         (elmo-msgdb-copy-message-entity): Fixed reference to internal
880         structure.
881         (modb-entity-make-mailing-list-info-string): Decode `ml-name'.
882
883         * elmo.el (elmo-folder): Added slot `mime-charset'.
884         (elmo-make-folder): Added argument `mime-charset'.
885         (elmo-folder-msgdb-load): Call `elmo-load-msgdb' with
886         `mime-charest'.
887
888         * elmo-msgdb.el (elmo-load-msgdb): Added argument `mime-charset'.
889         (elmo-make-msgdb): Likewise.
890
891         * elmo-internal.el (elmo-internal-folder-initialize): Call
892         `luna-make-entity' with :mime-charset parameter.
893
894 2005-03-21  Yuuichi Teranishi  <teranisi@gohome.org>
895
896         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Decode
897         encoded words in `from' and `subject' field.
898
899 2005-03-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
900
901         * modb.el (elmo-msgdb-message-field): Add argument `type'.
902         (elmo-msgdb-match-condition): Get handler from entity instead of
903         msgdb.
904
905         * modb-standard.el (modb-standard-economize-entity-size): Abolish.
906         (modb-standard-load-entity): Treat new file format.
907         (modb-standard-save-entity-1): Save as new file format.
908         (modb-standard-save-entity): Split messages into section here.
909         (elmo-msgdb-message-field): Follow the API change.
910         (modb-standard-default-entity-handler): New internal variable.
911         (elmo-msgdb-message-entity-handler): Define.
912
913         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
914         to `elmo-vars.el'.
915         (modb-entity-field-extractor-alist): New user option.
916         (elmo-msgdb-message-entity-field): Removed argument `decode' and
917         added argument `type'.
918         (elmo-msgdb-copy-message-entity): Add optional argument
919         `make-handler'.
920         (modb-set-field-converter): New function.
921         (modb-convert-field-value): Ditto.
922         (modb-entity-string-decoder): Ditto.
923         (modb-entity-string-encoder): Ditto.
924         (modb-entity-parse-date-string): Ditto.
925         (modb-entity-make-date-string): Ditto.
926         (modb-entity-mime-decoder): Ditto.
927         (modb-entity-mime-encoder): Ditto.
928         (modb-entity-address-list-decoder): Ditto.
929         (modb-entity-address-list-encoder): Ditto.
930         (modb-entity-parse-address-string): Ditto.
931         (modb-entity-make-address-string): Ditto.
932         (modb-entity-create-field-indices): Ditto.
933         (modb-legacy-entity-field-slots): New constant.
934         (modb-legacy-entity-field-indices): Ditto.
935         (modb-legacy-entity-normalizer): New variable.
936         (modb-legacy-entity-specializer): Ditto.
937         (modb-legacy-entity-field-index): New macro.
938         (modb-legacy-entity-set-field): New function.
939         (modb-legacy-make-message-entity): Rewrite.
940         (elmo-msgdb-create-message-entity-from-buffer): Use
941         `elmo-msgdb-get-references-from-buffer'. Use
942         `elmo-decoded-field-body' instead of `elmo-unfold-field-body'.
943         Use `modb-legacy-entity-set-field' instead of
944         `elmo-msgdb-message-entity-set-field'.
945         (elmo-msgdb-message-entity-field): Rewrite.
946         (elmo-msgdb-message-entity-set-field): Ditto.
947         (elmo-msgdb-copy-message-entity): Make new entity by
948         `make-handler' if it specified.
949         (elmo-msgdb-message-match-condition): Define a method of
950         `modb-entity-handler' and follow the API change.
951         (modb-standard-entity-handler): New class.
952         (modb-entity-extract-ml-info-from-x-sequence): New function.
953         (modb-entity-extract-ml-info-from-subject): Ditto.
954         (modb-entity-extract-ml-info-from-return-path): Ditto.
955         (modb-entity-extract-ml-info-from-delivered-to): Ditto.
956         (modb-entity-extract-ml-info-from-mailing-list): Ditto.
957         (modb-entity-extract-mailing-list-info): Ditto.
958         (modb-entity-extract-mailing-list-info-functions): New variable.
959
960         * elmo.el (elmo-message-field): Add optional argument `type'.
961
962         * elmo-vars.el (elmo-msgdb-prefer-in-reply-to-for-parent): Moved
963         from `modb-entity.el'.
964
965         * elmo-util.el (elmo-object-load): Decode by coding-system from
966         `set-auto-coding-function'.
967         (elmo-object-save): Use `detect-mime-charset-region' and add
968         coding cookie if encode.
969         (elmo-msgdb-get-references-from-buffer): New function.
970         (elmo-parse-addresses): Ditto (renamed from `wl-parse-addresses').
971
972         * elmo-spam.el (elmo-spam-message-spam-p): Follow the API change.
973
974         * elmo-shimbun.el (elmo-shimbun-parse-time-string): Removed.
975         (elmo-shimbun-entity-to-header): Use `shimbun-create-header'
976         instead of `shimbun-make-header' and follow the API change.
977         (elmo-shimbun-update-overview): Follow the API change.
978         (elmo-map-folder-list-message-locations): Ditto.
979
980         * elmo-pipe.el (elmo-message-field): Ditto.
981
982         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
983         Ditto.
984
985         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
986
987         * elmo-multi.el (elmo-message-field): Ditto.
988
989         * elmo-msgdb.el (elmo-message-entity-field): Ditto.
990         (elmo-msgdb-sort-by-date): Ditto.
991         (elmo-msgdb-flag-table): Use `elmo-msgdb-message-field' instead of
992         `elmo-message-entity-field'.
993         (elmo-msgdb-overview-entity-get-from-no-decode): Follow the API
994         change.
995         (elmo-msgdb-overview-entity-get-from): Ditto.
996         (elmo-msgdb-overview-entity-get-subject): Ditto.
997         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
998         (elmo-msgdb-overview-entity-get-date): Ditto.
999         (elmo-msgdb-overview-entity-get-to): Ditto.
1000         (elmo-msgdb-overview-entity-get-cc): Ditto.
1001
1002         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1003         (elmo-mime-collect-message/partial-pieces): Ditto.
1004
1005         * elmo-filter.el (elmo-message-field): Ditto.
1006
1007         * elmo-date.el (elmo-datevec-to-time): New function.
1008         (elmo-time-parse-date-string): Ditto.
1009         (elmo-time-make-date-string): Ditto.
1010         (elmo-time<): Ditto.
1011
1012         * elmo-version.el (elmo-version): Up to 2.15.1.
1013
1014 2005-03-14  Yoichi NAKAYAMA  <yoichi@geiin.org>
1015
1016         * elmo-flag.el (elmo-global-flags-initialize): Don't include
1017         member of elmo-local-flags.
1018
1019 2005-03-13  Yuuichi Teranishi  <teranisi@gohome.org>
1020
1021         * elmo-version.el (elmo-version): Up to 2.15.0.
1022
1023 2005-03-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1024
1025         * elmo.el (elmo-folder-synchronize): Ignore `mask' when
1026         `ignore-msgdb' is non-nil.
1027
1028 2005-03-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1029
1030         * elmo-util.el (elmo-condition-in-msgdb-p-internal): Removed.
1031         (elmo-condition-in-msgdb-p): Ditto.
1032         (elmo-file-field-primitive-condition-match): Ditto.
1033         (elmo-file-field-condition-match): Ditto.
1034
1035         * elmo-localdir.el (elmo-localdir-field-condition-match): Ditto.
1036
1037 2005-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1038
1039         * elmo-flag.el (elmo-folder-list-subfolders): Don't list from
1040         subdirectories here.
1041         (elmo-global-flags-initialize): New function.
1042
1043         * elmo.el (toplevel): Added autoload setting for
1044         `elmo-global-flags-initialize'.
1045
1046 2005-03-07  Yoichi NAKAYAMA  <yoichi@geiin.org>
1047
1048         * elmo.el (message-number-changed): Define new signal.
1049         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Emit
1050         message-number-changed signal.
1051         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
1052         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
1053         Respect `elmo-pack-number-check-strict'.
1054
1055 2005-03-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
1056
1057         * elmo-signal.el (elmo-connect-signal): Document.
1058         (elmo-emit-signal): Ditto.
1059         (elmo-emit-signal): It should pass source argument to filter and
1060         handler, not slot-source.
1061
1062 2005-03-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1063
1064         * modb.el (elmo-msgdb-update-entity): New API and define generic
1065         implement.
1066
1067         * modb-standard.el (elmo-msgdb-update-entity): Define.
1068
1069         * modb-entity.el (elmo-msgdb-message-entity-update-fields): New
1070         API and define generic implement.
1071
1072         * elmo.el (update-overview): New singnal.
1073
1074         * elmo-shimbun.el (elmo-shimbun-update-overview): Rewrite use
1075         `elmo-msgdb-update-entity' and emit signal `update-overview'.
1076         (elmo-message-entity-parent): Define.
1077
1078         * elmo-pipe.el (elmo-pipe-connect-signals): Connect to signal
1079         `update-overview'.
1080
1081         * elmo-multi.el (elmo-multi-connect-signals): Ditto.
1082
1083         * elmo-filter.el (elmo-filter-connect-signals): Ditto.
1084
1085 2005-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
1086
1087         * elmo.el (elmo-folder-synchronize): Sort the return value of
1088         `elmo-list-diff'.
1089
1090         * elmo-util.el (elmo-list-diff): Don't care the order of the returned
1091         list.
1092
1093 2005-02-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1094
1095         * elmo-util.el (elmo-with-enable-multibyte): Don't bind
1096         `default-enable-multibyte-characters'.
1097         (elmo-object-load): Use `with-temp-buffer' instead of
1098         `elmo-set-work-buf'.
1099         (elmo-object-save): Ditto.
1100         (elmo-mime-string): Use `elmo-with-enable-multibyte' instead of
1101         `elmo-set-work-buf'.
1102         (elmo-decoded-field-body): Ditto.
1103
1104         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Ditto.
1105
1106         * elmo-sendlog.el (elmo-sendlog-folder-list-message-locations):
1107         Use `with-temp-buffer' instead of `elmo-set-work-buf'.
1108
1109         * elmo-version.el (elmo-version): Up to 2.13.3.
1110
1111 2005-02-27  Tetsurou Okazaki  <okazaki@be.to>
1112
1113         * elmo-util.el (elmo-list-diff): Fix the last change.
1114         Reverse order of result lists.
1115
1116 2005-02-26  Yuuichi Teranishi  <teranisi@gohome.org>
1117
1118         * modb-standard.el (elmo-msgdb-set-flag): Use
1119         `elmo-list-diff-nonsortable' instead of `elmo-list-diff'.
1120         (elmo-msgdb-unset-flag): Ditto.
1121
1122         * elmo.el (elmo-strict-folder-diff): Don't use third argument of
1123         `elmo-list-diff'.
1124
1125         * elmo-util.el (elmo-list-diff): Rewrite.
1126         (elmo-list-diff-nonsortable): New function.
1127
1128 2005-02-26  Tetsurou Okazaki  <okazaki@be.to>
1129
1130         * elmo-util.el (elmo-multibyte-buffer-name): Renamed from
1131         `elmo-multibypte-buffer-name'.  All referers are updated.
1132
1133 2005-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1134
1135         * elmo-mime.el (elmo-mime-entity-reassembled-p): New method.
1136         (elmo-mime-entity-fragment-p): New function.
1137         (mime-elmo-buffer-entity): Added slot `reassembled'.
1138         (elmo-message-mime-entity): Added 4th argument `reassemble'.
1139         (elmo-message-mime-entity-internal): New function (renamed from
1140         `elmo-message-mime-entity').
1141         (elmo-mime-inherit-field-list-from-enclosed): New constant.
1142         (elmo-mime-make-reassembled-mime-entity): New function.
1143         (elmo-message-reassembled-mime-entity): Ditto.
1144         (elmo-mime-collect-message/partial-pieces): Ditto.
1145
1146 2005-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1147
1148         * elmo.el (elmo-message-fetch-string): Disable multibyte.
1149
1150         * elmo-util.el (elmo-multibypte-buffer-name): New constant.
1151         (elmo-with-enable-multibyte): New macro.
1152
1153         * modb-entity.el (elmo-msgdb-get-decoded-cache): Use it.
1154
1155 2005-02-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1156
1157         * elmo-filter.el (elmo-filter-add-flag-count): Removed unused
1158         argument `number'.
1159         (elmo-filter-connect-signals): Follow the above change.
1160
1161 2005-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
1162
1163         * modb-standard.el (elmo-msgdb-unset-flag): Bind inhibit-quit.
1164
1165         * elmo-maildir.el (elmo-folder-append-messages): Fix the problem
1166         that only the first flag is used.
1167
1168 2005-02-17  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
1169
1170         * elmo-shimbun.el (elmo-folder-exists-p): Use `shimbun-group-p' 
1171         if available.
1172
1173 2005-02-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1174
1175         * elmo-signal.el: New file.
1176
1177         * elmo.el (toplevel): Require elmo-signal.
1178         (flag-changing, flag-changed, cache-changed): New signal.
1179         (elmo-folder): Remove slog `handlers'.
1180         (elmo-message-set-cached): Use `elmo-emit-signal' instead of
1181         `elmo-folder-notify-event'.
1182         (elmo-folder-set-flag): Likewise. Emit signal `flag-changing'.
1183         (elmo-folder-unset-flag): Ditto.
1184         (elmo-event-handler): Abolish.
1185         (elmo-event-handler-flag-changed): Ditto.
1186         (elmo-event-handler-cache-changed): Ditto.
1187         (elmo-folder-add-handler): Ditto.
1188         (elmo-folder-remove-handler): Ditto.
1189         (elmo-folder-notify-event): Ditto.
1190
1191         * elmo-pipe.el (toplevel): Require elmo-signal.
1192         (elmo-folder-initialize): Call `elmo-pipe-connect-signals'.
1193         (elmo-pipe-connect-signals): New function.
1194         (elmo-message-fetch): Does not call `elmo-folder-notify-event'.
1195         (elmo-folder-set-flag): Ditto.
1196         (elmo-folder-unset-flag): Ditto.
1197         (elmo-message-set-cached): Ditto.
1198
1199         * elmo-multi.el (toplevel): Require elmo-signal.
1200         (elmo-folder-initialize): Call `elmo-multi-connect-signals'.
1201         (elmo-multi-connect-signals): New function.
1202         (elmo-multi-map-numbers): Ditto.
1203         (elmo-message-set-cached): Does not call `elmo-folder-notify-event'.
1204         (elmo-message-fetch): Ditto.
1205         (elmo-folder-set-flag): Ditto.
1206         (elmo-folder-unset-flag): Ditto.
1207
1208         * elmo-filter.el (toplevel): Require elmo-signal.
1209         (elmo-folder-initialize): Call `elmo-filter-connect-signals'.
1210         (elmo-filter-connect-signals): New function.
1211         (elmo-filter-add-flag-count): Ditto.
1212         (elmo-message-fetch): Does not call
1213         `elmo-filter-folder-countup-message-flags' and
1214         `elmo-folder-notify-event'.
1215         (elmo-message-set-cached): Ditto.
1216         (elmo-folder-set-flag): Ditto.
1217         (elmo-folder-unset-flag): Ditto.
1218
1219         * elmo-version.el (elmo-version): Up to 2.13.2.
1220
1221 2005-02-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1222
1223         * elmo-imap4.el (elmo-imap4-flags-to-imap): Preserve argument
1224         `flags'.
1225
1226 2005-02-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1227
1228         * elmo-filter.el (elmo-message-set-cached): Call
1229         `elmo-folder-notify-event' with event `cache-changed'.
1230
1231         * elmo-multi.el (elmo-message-set-cached): Ditto.
1232
1233         * elmo-pipe.el (elmo-message-set-cached): Ditto.
1234
1235 2005-02-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
1236
1237         * elmo.el (elmo-folder-encache): Abolish.
1238
1239 2005-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
1240
1241         * elmo-dop.el (elmo-folder-delete-messages-dop): Delete 'Append' queue.
1242         (elmo-folder-next-message-number-dop): Return appropriate negative
1243         integer.
1244
1245 2005-02-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1246
1247         * elmo-dop.el (elmo-dop-queue-flush): Remove files in dop spool on
1248         clearing pending operations.
1249         (elmo-folder-next-message-number-dop): Return appropriate negative
1250         integer.
1251
1252 2005-02-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1253
1254         * elmo.el (toplevel): Added autoload setting for `md5'.
1255         (elmo-msgdb-path-encode-threshold): New user option.
1256         (elmo-folder-msgdb-path): Encode msgdb path if its length is
1257         longer than `elmo-msgdb-path-encode-threshold'.
1258
1259         * elmo-flag.el (elmo-global-mark-migrate): Use
1260         `elmo-folder-expand-msgdb-path' instead of
1261         `elmo-folder-msgdb-path'.
1262
1263 2005-02-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1264
1265         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when the
1266         element of the difference is nil.
1267
1268 2005-02-11  Yuuichi Teranishi  <teranisi@gohome.org>
1269
1270         * elmo-maildir.el (elmo-maildir-separator): Added some OS types
1271         to the check logic of file systems which are weak in colon character.
1272
1273 2005-02-11  Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
1274
1275         * elmo-maildir.el (elmo-maildir-move-file): Simplify.
1276
1277 2005-02-10  Yuuichi Teranishi  <teranisi@gohome.org>
1278
1279         * elmo-maildir.el (elmo-maildir-move-file): New function.
1280         (elmo-folder-append-buffer): Use it.
1281         (elmo-folder-append-messages): Ditto.
1282         (These changes are based on Ron Isaacson's patch [wl-en: 01205])
1283
1284         * elmo-imap4.el (elmo-imap4-decode-folder-string): Call `utf7-decode'.
1285         (elmo-imap4-encode-folder-string): Call `utf7-encode'.
1286
1287         * elmo-maildir.el (elmo-maildir-separator): New user option.
1288         (elmo-maildir-adjust-separator): New macro.
1289         (elmo-maildir-list-location): Use it.
1290         (elmo-maildir-update-current): Ditto.
1291         (elmo-maildir-set-mark): Ditto.
1292         (elmo-maildir-delete-mark): Ditto.
1293         (These changes are based on Hiroya Murata's patch [wl: 13437])
1294
1295 2005-02-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1296
1297         * elmo-nntp.el (elmo-nntp-server-command-index): Add entry `xhdr'.
1298
1299 2005-02-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1300
1301         * elmo-flag.el (elmo-flag-valid-p): Simplify.
1302         (elmo-folder-list-subfolders): Copy `elmo-global-flags'.
1303         (elmo-folder-delete): Update `elmo-global-flag-folder-alist'.
1304
1305 2005-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
1306
1307         * elmo-util.el (elmo-passwd-alist-load, elmo-passwd-alist-save):
1308         Use `with-temp-buffer'.
1309
1310 2005-01-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1311
1312         * elmo-flag.el (elmo-folder-initialize): Fixed the last change.
1313
1314         * elmo-util.el (elmo-read-search-condition): Eliminate (renamed to
1315         `wl-read-search-condition').
1316         (elmo-read-search-condition-internal): Likewise.
1317
1318         * elmo-flag.el (elmo-flag-char-regexp): New constant.
1319         (elmo-flag-valid-p): New function.
1320         (elmo-folder-initialize): Check flag name is valid.
1321
1322 2005-01-26  Yuuichi Teranishi  <teranisi@gohome.org>
1323
1324         * elmo-imap4.el (elmo-folder-list-subfolders): Use root mailbox without
1325         delimiter to obtain root mailbox itself.
1326
1327 2005-01-25  Tetsurou Okazaki  <okazaki@be.to>
1328
1329         * elmo-net.el (elmo-network-session-idle-timeout): Fix customization
1330         type mismatch.
1331
1332 2005-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
1333
1334         * elmo-mime.el (elmo-mime-entity-display): Bind elmo-message-displaying
1335         as t.
1336
1337 2005-01-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1338
1339         * elmo-shimbun.el (toplevel): Require cl at compile.
1340
1341         * elmo-nntp.el (toplevel): Ditto.
1342
1343         * elmo-nmz.el (toplevel): Ditto.
1344
1345         * elmo-multi.el (toplevel): Ditto.
1346
1347         * elmo-file.el (toplevel): Ditto.
1348
1349         * elmo-dop.el (toplevel): Ditto.
1350
1351         * elmo-archive.el (toplevel): Likewise elmo and cl (at compile).
1352
1353 2005-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
1354
1355         * mmimap.el (mmimap-make-mime-entity): Set children's top node number
1356         as nil.
1357
1358         * elmo.el (elmo-message-fetch): Return t even when the output buffer
1359         size of elmo-message-fetch-internal is 0 byte.
1360
1361 2005-01-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1362
1363         * elmo-maildir.el (elmo-map-message-fetch): Fixed last change.
1364
1365 2005-01-13  Yoichi NAKAYAMA  <yoichi@geiin.org>
1366
1367         * elmo-shimbun.el (elmo-folder-plugged-p): Treat "@" as
1368         always plugged.
1369
1370 2005-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1371
1372         * elmo-maildir.el (elmo-map-message-fetch): Call
1373         `elmo-map-folder-set-flag'.
1374
1375         * elmo.el (elmo-message-fetch-with-cache-process): Abolish.
1376         (elmo-message-fetch): Merge from
1377         `elmo-message-fetch-with-cache-process'.
1378
1379         * elmo-sendlog.el (elmo-message-fetch-with-cache-process): Abolish.
1380         (elmo-message-fetch): Define.
1381
1382         * elmo-nntp.el (elmo-message-fetch): Renamed from
1383         `elmo-message-fetch-with-cache-process'.
1384
1385         * elmo-cache.el (elmo-message-fetch-with-cache-process): Abolish.
1386         (elmo-message-fetch): Define.
1387
1388         * elmo-util.el (elmo-condition-parse-primitive): Downcase
1389         search-key.
1390
1391         * elmo-shimbun.el (shimbun-mua-search-id): Use
1392         `elmo-message-entity' instead of `elmo-msgdb-message-entity'.
1393         (elmo-shimbun-folder-shimbun-header): Ditto.
1394         (elmo-shimbun-get-headers): Ditto.
1395         (elmo-shimbun-update-overview): Ditto.
1396
1397         * elmo-pipe.el (elmo-folder-detach-messages): Define.
1398
1399         * elmo-net.el (elmo-folder-list-messages-unplugged): Use
1400         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1401
1402 2005-01-13  Yuuichi Teranishi  <teranisi@gohome.org>
1403
1404         * elmo.el (elmo-message-fetch): Unset unread flag on server when
1405         message is cached.
1406         (elmo-message-fetch-string): Fixed argument.
1407
1408 2005-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1409
1410         * elmo.el (elmo-message-fetch): Removed argument `outbuf' and
1411         exchange order of arguments `section' and `unread'.
1412         (elmo-message-encache): Follow the API change.
1413         (elmo-message-match-condition): Ditto.
1414         (elmo-generic-folder-append-messages): Ditto.
1415         (elmo-message-fetch-string): New function.
1416
1417         * elmo-split.el (elmo-split-subr): Ditto.
1418
1419         * elmo-spam.el (elmo-spam-message-fetch): Ditto.
1420
1421         * elmo-pipe.el (elmo-message-fetch): Ditto.
1422
1423         * elmo-multi.el (elmo-message-fetch): Ditto.
1424
1425         * elmo-mime.el (elmo-message-mime-entity): Ditto.
1426
1427         * elmo-flag.el (elmo-global-flag-set-internal): Ditto.
1428
1429         * elmo-filter.el (elmo-message-fetch): Ditto.
1430
1431         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
1432
1433         * elmo-imap4.el (mime-imap-location-section-body): Use
1434         `elmo-message-fetch-string' instead of `elmo-message-fetch' and
1435         follow the API change.
1436
1437 2005-01-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1438
1439         * elmo-access.el: New file.
1440
1441         * elmo-null.el: Ditto.
1442
1443         * elmo-internal.el (elmo-internal-folder-list): Added `null'.
1444
1445 2005-01-08  Yuuichi Teranishi  <teranisi@gohome.org>
1446
1447         * elmo-net.el (elmo-network-session-idle-timeout): New option.
1448         (elmo-network-session): New attribute `last-accessed'.
1449         (elmo-network-get-session): Discard network cache if elapsed time
1450         since last-accessed is larger than elmo-network-session-idle-timeout.
1451
1452 2005-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1453
1454         * elmo.el (elmo-find-fetch-strategy): Removed argument `entity'
1455         and added `number', `require-entireness'.
1456         (elmo-find-fetch-strategy): Rewrite.
1457         (elmo-message-fetch): Unset `unread' flag when argument unread is
1458         non-nil.
1459
1460         * elmo-spam.el (elmo-spam-message-fetch): Follow the API change.
1461
1462         * elmo-multi.el (elmo-find-fetch-strategy): Ditto.
1463         (elmo-message-fetch): Notify event `flag-changed'.
1464
1465         * elmo-pipe.el: Likewise.
1466
1467         * elmo-mime.el (elmo-mime-entity): New class.
1468         (elmo-mime-entity-display-p): New generic function.
1469         (elmo-mime-entity-display): Ditto.
1470         (elmo-mime-entity-display-as-is): Ditto.
1471         (mime-elmo-buffer-entity, mime-elmo-imap-entity): Inherit
1472         elmo-mime-entity.
1473         (elmo-make-mime-message-location): Removed.
1474         (elmo-mime-message-display): Ditto.
1475         (elmo-mime-display-as-is): Ditto.
1476         (elmo-message-mime-entity): New function.
1477
1478         * elmo-imap4.el (elmo-find-fetch-strategy): Rewrite.
1479
1480         * elmo-filter.el (elmo-find-fetch-strategy): Follow the API
1481         change.
1482         (elmo-message-fetch): Re-count flagged message number and notify
1483         event `flag-changed'.
1484
1485         * elmo-version.el (elmo-version): Up to 2.13.1.
1486
1487 2005-01-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1488
1489         * elmo-filter.el (elmo-message-field): Define.
1490         (elmo-message-set-field): Ditto.
1491
1492 2004-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1493
1494         * elmo.el (elmo-message-set-cached): Call
1495         `elmo-folder-notify-event' with cache-changed.
1496         (elmo-event-handler-cache-changed): New generic function.
1497
1498 2004-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
1499
1500         * elmo-maildir.el (elmo-folder-append-buffer): Use elmo-copy-file
1501         instead of elmo-add-name-to-file.
1502         (elmo-folder-append-messages): Ditto.
1503
1504 2004-12-21  Yoichi NAKAYAMA  <yoichi@geiin.org>
1505
1506         * elmo.el (elmo-folder-update-threshold): Add nil to range.
1507
1508 2004-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
1509
1510         * elmo-version.el (elmo-version): Up to 2.13.0.
1511
1512         * elmo-vars.el (elmo-msgdb-convert-type): Changed default value to
1513         `auto'.
1514
1515         * modb-standard.el (modb-standard-economize-entity-size): Changed
1516         default value to `t'.
1517
1518         * elmo-vars.el (elmo-msgdb-default-type): Changed default value to
1519         `standard'.
1520
1521         * elmo-imap4.el (elmo-network-initialize-session): Erase buffer
1522         after parsing greeting string.
1523
1524 2004-11-23  Daishi Kato <daishi@axlight.com>
1525
1526         * elsp-spamoracle.el (elmo-spam-spamoracle-spam-header-regexp):
1527         New user option.
1528         (elmo-spam-spamoracle-call): Use it.
1529
1530 2004-11-23  Yoichi NAKAYAMA  <yoichi@geiin.org>
1531
1532         * elmo.el (elmo-message-accessible-p): Message in dop spool
1533         is accessible.
1534
1535 2004-11-23  Daishi Kato <daishi@axlight.com>
1536
1537         * elsp-spamoracle.el: New file.
1538
1539 2004-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1540
1541         * elmo.el (elmo-message-flags-for-append): New function.
1542         (elmo-generic-folder-append-messages): Use it.
1543
1544         * elmo-split.el (elmo-split-subr): Ditto.
1545
1546         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Add argument
1547         `flags' and use elmo-folder-append-buffer instead of
1548         write-region-as-binary.
1549         (elmo-dop-filter-pending-messages): New function.
1550         (elmo-folder-append-buffer-dop): Call
1551         elmo-dop-spool-folder-append-buffer with `flag'.
1552         (elmo-folder-set-flag-dop): Filter messages by
1553         elmo-dop-filter-pending-messages.
1554         (elmo-folder-unset-flag-dop): Ditto.
1555         (elmo-folder-append-buffer-dop-delayed): Use
1556         elmo-message-flags-for-append to get flags of the message and
1557         simplify.
1558
1559 2004-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
1560
1561         * elmo-mime.el (elmo-mime-display-as-is): Treat ignore-cache argument.
1562
1563 2004-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1564
1565         * elmo.el (elmo-folder): Added handlers slot.
1566         (elmo-event-handler): New class.
1567         (elmo-event-handler-flag-changed): New API.
1568         (elmo-folder-add-handler): New function.
1569         (elmo-folder-remove-handler): Ditto.
1570         (elmo-folder-notify-event): Ditto.
1571         (elmo-folder-set-flag): Call `elmo-folder-notify-event' with event
1572         `flag-changed'.
1573         (elmo-folder-unset-flag): Ditto.
1574
1575         * elmo-pipe.el (elmo-folder-set-flag): Ditto.
1576         (elmo-folder-unset-flag): Ditto.
1577
1578         * elmo-multi.el (elmo-folder-set-flag): Ditto.
1579         (elmo-folder-unset-flag): Ditto.
1580
1581         * elmo-filter.el (elmo-folder-set-flag): Ditto.
1582         (elmo-folder-unset-flag): Ditto.
1583
1584         * elmo-version.el (elmo-version): Up to 2.11.33.
1585
1586 2004-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1587
1588         * modb-legacy.el (elmo-msgdb-unset-flag): Accept flag `all'.
1589
1590 2004-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1591
1592         * elmo-multi.el (elmo-folder-unset-flag): Ignore errors.
1593
1594         * elmo-flag.el (elmo-folder-unset-flag): Define.
1595         (elmo-global-flag-detach): Do process when the flag is not target
1596         flag.
1597
1598 2004-10-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1599
1600         * modb-entity.el (elmo-msgdb-prefer-in-reply-to-for-parent): New
1601         variable.
1602         (elmo-msgdb-create-message-entity-from-buffer): Use it.
1603
1604 2004-10-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1605
1606         * elmo-filter.el (elmo-filter-folder-copy-flag-count): New
1607         function.
1608         (elmo-folder-delete-messages): Detach messages before delete
1609         messages from target folder.
1610         (elmo-folder-detach-messages): Set updated number-list to slot.
1611
1612 2004-10-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1613
1614         * elmo-filter.el (elmo-folder-detach-messages): Always return t.
1615
1616 2004-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1617
1618         * elmo.el (elmo-generic-folder-commit): Fixed parenthesis.
1619
1620 2004-10-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1621
1622         * elmo.el (elmo-folder-delete-messages-internal): New API (for
1623         internal use only).
1624         (elmo-generic-folder-commit): Save `killed-list' even if msgdb is
1625         not modified.
1626         (elmo-folder-delete-messages): Define.
1627         (elmo-folder-move-messages): Don't call
1628         `elmo-folder-detach-messages'.
1629         (elmo-folder-synchronize): Rewrite.
1630         (elmo-folder-detach-messages): Delete numbers from `killed-list'.
1631
1632         * elmo-util.el (elmo-last): New function.
1633         (elmo-set-list): Ditto.
1634         (elmo-number-set-delete-list): Ditto.
1635         (elmo-number-set-delete): Ditto.
1636
1637         * elmo-shimbun.el (elmo-folder-delete-messages): Define.
1638
1639         * elmo-map.el (elmo-folder-delete-messages-internal): Renamed from
1640         `elmo-folder-delete-messages' and don't delete location map.
1641         (elmo-folder-detach-messages): Define.
1642
1643         * elmo-imap4.el (elmo-folder-delete): Use
1644         `elmo-folder-delete-messages-internal' instead of
1645         `elmo-folder-delete-messages'.
1646
1647         * elmo-filter.el (elmo-folder-delete-messages): Call
1648         `elmo-folder-detach-messages'.
1649         (elmo-folder-detach-messages): Don't call
1650         `elmo-folder-detach-messages' for target folder.
1651
1652         * elmo-cache.el (elmo-map-folder-delete-messages): Return t when
1653         message deletion is succeeded.
1654
1655         * elmo-maildir.el (elmo-map-folder-delete-messages): Ditto.
1656
1657         * elmo-archive.el (elmo-folder-delete-messages-internal): Renamed
1658         from `elmo-folder-delete-messages'.
1659
1660         * elmo-flag.el (elmo-folder-delete-messages-internal): Ditto.
1661
1662         * elmo-localdir.el (elmo-folder-delete-messages-internal): Ditto.
1663
1664         * elmo-net.el (elmo-folder-delete-messages-internal): Ditto.
1665
1666         * elmo-version.el (elmo-version): Up to 2.11.32.
1667
1668 2004-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
1669
1670         * elmo.el (autoload): Added autoload setting for `elmo-local-flag-p'.
1671         (elmo-global-flag-list): Added obsolete variable setting.
1672
1673         * elmo-vars.el (elmo-preserved-flags): Fixed docstring.
1674
1675         * elmo-mime.el (elmo-mime-display-header-analysis): New variable.
1676         (elmo-mime-insert-header-from-buffer): Don't decode header content when
1677         `elmo-mime-display-header-analysis' is nil.
1678
1679         * elmo-flag.el (elmo-global-flags): Renamed from
1680         `elmo-global-flag-list' (All other related portions are changed).
1681         (elmo-local-flags): New variable.
1682         (elmo-local-flag-p): New function.
1683         (elmo-global-flag-set-internal): Cause an error when flag is not
1684         global.
1685
1686 2004-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
1687
1688         * elmo-util.el (elmo-concat-path): Treat empty path.
1689
1690 2004-10-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1691
1692         * elmo-split.el (elmo-split-address-equal): Fixed typo (field =>
1693         field-or-fields).
1694         (elmo-split-address-match): Ditto.
1695         (elmo-split-equal): Ditto.
1696         (elmo-split-match): Ditto.
1697
1698 2004-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
1699
1700         * elmo.el (elmo-message-flags): Abolish optional argument `msgid'.
1701         (elmo-generic-folder-append-messages): If src message exists but
1702         has no flag, pass (read) for the FLAG argument of
1703         `elmo-folder-append-buffer'. Otherwise, pass nil.
1704
1705         * elmo-split.el (elmo-split-subr): Likewise.
1706
1707         * elmo-pipe.el (elmo-message-flags): Abolish optional argument `msgid'.
1708
1709         * elmo-multi.el (elmo-message-flags): Ditto.
1710
1711         * elmo-filter.el (elmo-message-flags): Ditto.
1712
1713         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1714         (elmo-generic-folder-append-messages): If elmo-message-flags return nil,
1715         pass (read) for the FLAG argument of elmo-folder-append-buffer.
1716         
1717 2004-10-02  Yoichi NAKAYAMA  <yoichi@geiin.org>
1718
1719         * elmo-split.el (elmo-split-rule): Update comment.
1720         (elmo-split-address-equal): Allow 2nd argument to be a list.
1721         (elmo-split-address-match): Ditto.
1722         (elmo-split-equal): Ditto.
1723         (elmo-split-match): Ditto.
1724
1725 2004-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
1726
1727         * elmo.el (elmo-folder-append-buffer): Fix docstring.
1728         (elmo-folder-append-msgdb): Don't treat `read'.
1729         (elmo-message-flags): Don't return `read'.
1730
1731         * elmo-dop.el (elmo-folder-set-read-delayed): Don't treat `read'.
1732         (elmo-folder-unset-read-delayed): Ditto.
1733
1734         * elmo-imap4.el (elmo-imap4-flags-to-imap): Ditto.
1735
1736 2004-09-26  Yoichi NAKAYAMA  <yoichi@geiin.org>
1737
1738         * elmo-imap4.el (elmo-folder-delete): Clear current-mailbox after
1739         deletion.
1740
1741 2004-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
1742
1743         * elmo-mime.el (elmo-mime-display-as-is-internal): Insert decoded
1744         header.
1745
1746 2004-09-23  Yuuichi Teranishi  <teranisi@gohome.org>
1747
1748         * modb-standard.el (modb-standard-load-entity): Don't bind inhibit-quit
1749         here.
1750         (elmo-msgdb-save): Bind inhibit-quit.
1751         (modb-standard-message-entity): Ditto.
1752
1753 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1754
1755         * elmo-database.el: No need to require elmo-msgdb.
1756
1757 2004-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1758
1759         * elmo-nmz.el (elmo-folder-list-subfolders): Use `directory-files'
1760         instead of `elmo-list-subdirectories'.
1761
1762 2004-09-20  Yoichi NAKAYAMA  <yoichi@geiin.org>
1763
1764         * elmo-nmz.el (elmo-folder-initialize): Enable "[" for access
1765         group entry.
1766         (elmo-folder-exists-p): "[" is empty.
1767         (elmo-folder-list-subfolders): Define.
1768         (elmo-folder-have-subfolder-p): Ditto.
1769
1770 2004-09-19  Yoichi NAKAYAMA  <yoichi@geiin.org>
1771
1772         * elmo-flag.el (elmo-folder-delete): Update elmo-global-flag-list.
1773
1774 2004-09-14  Tetsurou Okazaki  <okazaki@be.to>
1775
1776         * elmo-filter.el (elmo-folder-local-p): Define.
1777
1778 2004-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1779
1780         * modb-standard.el (modb-standard-loaded-message-id): Return nil
1781         when entity is garbaged.
1782         (modb-standard-save-entity-1): Don't modify the original entity.
1783
1784 2004-09-13  Tetsurou Okazaki  <okazaki@be.to>
1785
1786         * elmo-util.el (elmo-delete-if): Reduce loop strength in a while loop.
1787
1788 2004-09-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1789
1790         * elmo.el (elmo-strict-folder-diff): Use
1791         `elmo-folder-list-messages' instead of `elmo-msgdb-list-messages'.
1792
1793 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1794
1795         * modb.el (elmo-msgdb-flag-available-p): New generic function.
1796         (elmo-msgdb-message-number): Ditto.
1797         (elmo-msgdb-message-field): Ditto.
1798
1799         * modb-standard.el (modb-standard-economize-entity-size): New user
1800         option.
1801         (modb-standard-loaded-message-id): New inline function.
1802         (modb-standard-load-entity): Use it.
1803         (modb-standard-save-entity-1): If `modb-standard-economize-entity-size',
1804         throw message-id string away.
1805         (elmo-msgdb-flag-available-p): Define.
1806         (elmo-msgdb-message-number): Ditto.
1807         (elmo-msgdb-message-field): Ditto.
1808
1809         * modb-legacy.el (modb-legacy-flag-list): Fix typo
1810         (suppoted -> supported).
1811         (modb-legacy-supported-flag-p): Ditto.
1812         (elmo-msgdb-set-flag): Ditto.
1813         (elmo-msgdb-unset-flag): Ditto.
1814         (elmo-msgdb-flag-available-p): Define.
1815
1816         * modb-entity.el (elmo-message-entity-handler): If CAR element of entity
1817         is `t', treat it as legacy entity.
1818         
1819         * elmo.el (elmo-message-flag-available-p): New generic function.
1820         (elmo-message-number): Ditto.
1821         (elmo-message-field): Use `elmo-msgdb-message-field'.
1822
1823         * elmo-vars.el (elmo-preserved-flags): Added `forwarded'.
1824
1825         * elmo-pipe.el (elmo-message-flag-available-p): Define.
1826         (elmo-message-number): Ditto.
1827
1828         * elmo-multi.el (elmo-message-number): Define.
1829         (elmo-message-flag-available-p): Ditto.
1830
1831         * elmo-filter.el (elmo-message-flag-available-p): Define.
1832         (elmo-message-number): Ditto.
1833
1834         * elmo-flag.el (elmo-flag-folder): Added slot `max-number'.
1835         (elmo-folder-initialize): Load `max-number'.
1836         (elmo-folder-commit): Save it.
1837         (elmo-folder-list-global-flag-messages): Use `elmo-message-number'.
1838         (elmo-global-flag-set-internal): Set up max-number slot.
1839
1840 2004-09-12  Yuuichi Teranishi  <teranisi@gohome.org>
1841
1842         * elmo-version.el (elmo-version): Up to 2.11.31.
1843
1844 2004-09-09  Yuuichi Teranishi  <teranisi@gohome.org>
1845
1846         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Use
1847         unibyte string of the current buffer for the argument of `md5'
1848         (Reported by Yoichi NAKAYAMA <yoichi@geiin.org>).
1849
1850 2004-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1851
1852         * modb-legacy.el (modb-legacy-flag-list): New constant.
1853         (modb-legacy-suppoted-flag-p): New internal function.
1854         (elmo-msgdb-set-flag): Cause error when `flag' is not supported.
1855         (elmo-msgdb-unset-flag): Ditto.
1856
1857 2004-09-05  Yuuichi Teranishi  <teranisi@gohome.org>
1858
1859         * elmo.el (elmo-make-folder): Remove text properties for prefix.
1860
1861         * elmo-flag.el (elmo-folder-list-subfolders): Fetch flag names
1862         from msgdb.
1863
1864 2004-08-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1865
1866         * elmo-multi.el (elmo-folder-count-flags): Changed return value
1867         (follow the API change).
1868
1869         * elmo-filter.el (elmo-folder-count-flags): Ditto.
1870
1871 2004-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
1872
1873         * modb-standard.el (modb-standard-digest-flags): Abolish.
1874         (elmo-msgdb-list-flagged): Use elmo-digest-flags instead.
1875
1876         * elmo-vars.el (elmo-digest-flags): New variable.
1877         (elmo-preserved-flags): Moved from elmo-flag.el.
1878
1879         * elmo-imap4.el (elmo-imap4-flag-to-imap-search-key): New function.
1880         (elmo-imap4-flag-to-imap-criteria): Ditto.
1881         (elmo-imap4-folder-list-flagged): Use it.
1882
1883         * elmo-flag.el (elmo-preserved-flags): Moved to elmo-vars.el.
1884
1885         * elmo.el (elmo-folder-count-flags): Changed return value.
1886
1887         * elmo-flag.el (elmo-preserved-flags): New variable.
1888         (elmo-get-global-flags): Use it.
1889
1890         * modb-standard.el (modb-standard-digest-flags): New variable.
1891         (elmo-msgdb-list-flagged): Use it for `digest'; Add `uncached';
1892         Changed behavior of `any'.
1893
1894         * elmo-imap4.el (elmo-imap4-flag-specs): Added keyword flags
1895         which are defined the Internet draft
1896         (draft-melnikov-imap-keywords-03.txt).
1897         (elmo-imap4-flags-to-imap): New function.
1898         (elmo-folder-append-buffer): Use it.
1899
1900         * modb-legacy.el (modb-legacy-answered-uncached-mark): Fixed typo
1901         in the docstring.
1902
1903         * utf7.el (utf7-fragment-encode): Don't use narrow-to-region to
1904         avoid the bug of Emacs 21.3.
1905
1906 2004-08-31  Yoichi NAKAYAMA  <yoichi@geiin.org>
1907
1908         * utf7.el (utf7-utf-16-coding-system): Avoid error when the
1909         function find-coding-system does not exist.
1910
1911 2004-08-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1912
1913         * elmo-util.el (elmo-condition-parse-search-value): Fixed atom
1914         parsing.
1915
1916 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1917
1918         * elmo-pop3.el (elmo-pop3-read-response): Refined the regexp for
1919         response codes.
1920
1921 2004-08-09  Yuuichi Teranishi  <teranisi@gohome.org>
1922
1923         * elmo-pop3.el (elmo-pop3-read-response): Treat response codes.
1924         (elmo-network-close-session): Follow the changes in
1925         `elmo-pop3-read-response'.
1926         (elmo-pop3-auth-user): Ditto.
1927         (elmo-pop3-auth-apop): Ditto.
1928         (elmo-network-initialize-session): Ditto.
1929         (elmo-network-authenticate-session): Ditto.
1930         (elmo-network-setup-session): Ditto.
1931         (elmo-folder-status): Ditto.
1932         (elmo-message-fetch-plugged): Ditto.
1933         (elmo-pop3-delete-msg): Ditto.
1934
1935 2004-07-15  Yoichi NAKAYAMA  <yoichi@geiin.org>
1936
1937         * elmo-archive.el (elmo-archive-folder-append-buffer): Return nil
1938         on failure.
1939
1940 2004-07-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1941
1942         * elmo-util.el (elmo-set-work-buf): Define edebug spec and indent
1943         style.
1944         (elmo-bind-directory): Ditto.
1945
1946 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
1947
1948         * elmo.el (elmo-folder-append-messages): Note on return value.
1949         * elmo-archive.el (elmo-folder-append-messages): Don't return
1950         message numbers which could not be appended.
1951
1952 2004-07-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
1953
1954         * elmo.el (elmo-message-fetch-threshold): Add nil to its range.
1955
1956 2004-06-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
1957
1958         * elmo-version.el (elmo-version): Up to 2.11.30.
1959
1960 2004-06-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1961
1962         * elmo.el (elmo-folder-synchronize): Add 5th optional argument
1963         `mask'.
1964
1965         * elmo-pipe.el (elmo-folder-synchronize): Follow the API chagne.
1966
1967         * elmo-multi.el (elmo-folder-synchronize): Likewise.
1968         (elmo-multi-split-numbers): Add elmo-folder object into each
1969         element of return value at first.
1970         (elmo-folder-delete-messages): Follow the above change.
1971         (elmo-folder-detach-messages): Ditto.
1972
1973         * elmo-filter.el (elmo-folder-synchronize): Minimize message
1974         number which is synchronized in target folder.
1975
1976 2004-05-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1977
1978         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list):
1979         Change default value to symbol `all'.
1980         (elmo-map-message-fetch): Change condition to update overview
1981         follow the above.
1982
1983 2004-05-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
1984
1985         * elmo-shimbun.el (elmo-map-message-fetch): Change default
1986         behavior to update overview.
1987         (elmo-shimbun-update-overview-folder-list): Note it.
1988
1989 2004-05-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1990
1991         * modb-standard.el (modb-standard-message-entity): Avoid infinite
1992         recursive call.
1993
1994 2004-05-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
1995
1996         * elmo-spam.el (elmo-spam-register-good-messages): Don't call
1997         buffer-disable-undo, it is unnecessary.
1998         (elmo-spam-register-good-messages): Ditto.
1999
2000         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2001         Ditto.
2002
2003         * elsp-sa.el (elmo-spam-spamassassin-register-messages): Ditto.
2004
2005 2004-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2006
2007         * elmo-util.el (elmo-set-buffer-multibyte): Abolish.
2008         (elmo-set-work-buf): Use set-buffer-multibyte instead of
2009         elmo-set-buffer-multibyte.
2010         (elmo-object-load): Ditto.
2011         (elmo-save-buffer): Ditto.
2012         (elmo-delete-char): Ditto.
2013         (elmo-file-field-primitive-condition-match): Ditto.
2014         (elmo-mime-string): Ditto.
2015
2016         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Ditto.
2017         (elmo-archive-field-condition-match): Ditto.
2018
2019         * elmo-imap4.el (elmo-imap4-setup-send-buffer): Ditto.
2020
2021         * elmo-net.el (elmo-network-initialize-session-buffer): Ditto.
2022
2023         * elmo-nntp.el (elmo-nntp-parse-overview-string): Ditto.
2024         (elmo-nntp-msgdb-create-message): Ditto.
2025
2026         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
2027
2028         * elmo.el (elmo-message-match-condition): Ditto.
2029         (elmo-message-match-condition): Ditto.
2030
2031         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2032         Ditto.
2033
2034         * elmo-version.el (elmo-version): Up to 2.11.29.
2035
2036         * elmo-spam.el (elmo-spam-scheme): Add `header' as a candidate.
2037         (elsp-header): New backend.
2038
2039         * elmo-util.el (elmo-decoded-field-body): New function.
2040
2041 2004-05-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2042
2043         * elmo-version.el (elmo-version): Up to 2.11.28.
2044
2045 2004-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2046
2047         * elmo-filter.el: Rewrite.
2048
2049         * elmo-version.el (elmo-version): Up to 2.11.27.
2050
2051 2004-05-05  Yuuichi Teranishi  <teranisi@gohome.org>
2052
2053         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Changed
2054         msgdb path for the localdir folder with absolute path.
2055
2056         * utf7.el: Synch up with latest gnus/utf7.el;
2057         Modified for latest Emacs.
2058
2059 2004-05-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2060
2061         * elmo-shimbun.el (elmo-folder-initialize): Set a dummy when the
2062         shimbun backend couldn't open.
2063
2064 2004-04-25  Tetsurou Okazaki  <okazaki@be.to>
2065
2066         * elmo-pipe.el (elmo-message-folder): Call `elmo-message-folder' recursively.
2067         (elmo-folder-diff): Avoid error `wrong-type-argument number-or-marker-p nil'
2068         when a destination folder is a filter folder.
2069
2070 2004-04-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2071
2072         * elmo.el (elmo-message-flags): Add optional argument `msgid'.
2073         (elmo-generic-folder-append-messages): Call elmo-message-flags
2074         with argument `msgid'.
2075
2076         * elmo-split.el (elmo-split-subr): Ditto.
2077
2078         * elmo-pipe.el (elmo-message-flags): Follow the API change.
2079
2080         * elmo-multi.el (elmo-message-flags): Ditto.
2081
2082 2004-04-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2083
2084         * elmo.el (elmo-folder): Add new slot `flag-table'.
2085         (elmo-folder-flag-table): New API.
2086         (elmo-folder-close-flag-table): Ditto.
2087         (elmo-folder-preserve-flags): New function.
2088         (elmo-generic-folder-append-messages): Use
2089         `elmo-folder-flag-table' and `elmo-folder-close-flag-table'.
2090         Flag of a non-registered message, it sets to nil.
2091         Does not set flag to flag-table.
2092
2093         * elmo-maildir.el (elmo-folder-append-buffer): Use
2094         `elmo-folder-preserve-flags'.
2095         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2096         `elmo-folder-close-flag-table'.
2097
2098         * elmo-archive.el (elmo-folder-append-buffer): Fix interface.
2099         (elmo-archive-folder-append-buffer): Use
2100         `elmo-folder-preserve-flags'.
2101
2102         * elmo-cache.el (elmo-folder-append-buffer): Ditto.
2103
2104         * elmo-imap4.el (elmo-folder-append-buffer): Ditto.
2105
2106         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2107         (elmo-folder-append-messages): Use `elmo-folder-flag-table' and
2108         `elmo-folder-close-flag-table'.
2109
2110         * elmo-version.el (elmo-version): Up to 2.11.26.
2111
2112 2004-04-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2113
2114         * elmo-vars.el (elmo-network-stream-type-alist): Add direct.
2115
2116         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): Don't use
2117         md5's 4th and 5th argument (non-existent in flim one).
2118
2119 2004-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2120
2121         * elmo-split.el (elmo-split-subr): Flag of a non-registered
2122         message, It sets to nil.
2123
2124 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2125
2126         * elmo.el (elmo-folder-list-messages): Merge lists only if both
2127         list is non-nil.
2128
2129 2004-04-16  YAMASHITA Junji <ysjj@unixuser.org>
2130
2131         * elmo.el (elmo-folder-list-messages): Use elmo-uniq-sorted-list.
2132
2133         * elmo-nntp.el (elmo-nntp-make-msglist): Use elmo-make-number-list.
2134
2135         * elmo-util.el (elmo-uniq-sorted-list): New function.
2136         (elmo-make-number-list): Ditto.
2137         (elmo-number-set-to-number-list): Use elmo-make-number-list
2138         and don't use nreverse.
2139
2140 2004-04-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2141
2142         * elmo-version.el (elmo-version): Up to 2.11.25.
2143
2144 2004-04-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2145
2146         * elmo-util.el (elmo-msgdb-get-message-id-from-buffer): If date
2147         field not exists in message, Use md5 message digest of header.
2148
2149 2004-04-11  Yoichi NAKAYAMA  <yoichi@geiin.org>
2150
2151         * elmo.el (elmo-folder-append-buffer): Add note on return value.
2152         * elmo-cache.el (elmo-folder-append-buffer): Return nil on failure.
2153         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
2154         * elmo-split.el (elmo-split-subr): Check return value of
2155         elmo-folder-append-buffer.
2156
2157         * elmo-localdir.el (elmo-folder-append-buffer): Create flag-table.
2158         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2159
2160         * elmo-cache.el (elmo-folder-append-buffer): Check existence of
2161         message-id.
2162
2163 2004-04-10  Yoichi NAKAYAMA  <yoichi@geiin.org>
2164
2165         * elmo-split.el (elmo-split-subr): Append message with flag.
2166
2167         * elmo-localdir.el (elmo-folder-append-buffer): Fix interface.
2168         * elmo-flag.el (elmo-folder-append-buffer): Ditto.
2169         * elmo-maildir.el (elmo-folder-append-buffer): Ditto.
2170
2171 2004-04-03  Tetsurou Okazaki  <okazaki@be.to>
2172
2173         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use `elmo-delete-cr-buffer'.
2174         * elmo-nntp.el (elmo-nntp-retrieve-headers): Ditto.
2175         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
2176
2177 2004-03-29  Tetsurou Okazaki  <okazaki@be.to>
2178
2179         * elmo-pop3.el (elmo-pop3-read-contents): Replace an argument `buffer'
2180         with a function call of `process-buffer'.  All callers are updated.
2181         (elmo-pop3-retrieve-headers): Likewise.  Move `process' to the 1st argument.
2182         Remove redundant `set-buffer' in a while loop.
2183
2184 2004-03-28  Tetsurou Okazaki  <okazaki@be.to>
2185
2186         * elmo-pop3.el (elmo-pop3-send-command): Combine `process-send-string'
2187         calls.
2188
2189 2004-03-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2190
2191         * elsp-spamfilter.el (elmo-spam-buffer-spam-p): Call
2192         elsp-spamfilter-register-buffer-internal with current buffer.
2193         (elmo-spam-register-spam-buffer): Ditto.
2194         (elmo-spam-register-good-buffer): Ditto.
2195
2196 2004-03-15  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
2197
2198         * elmo-imap4.el (elmo-folder-list-subfolders): Add root mailbox
2199         if it is not contained in the response(A workaround for courier-imap).
2200
2201 2004-03-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2202
2203         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fix mismatched
2204         parenthesis.
2205
2206 2004-03-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2207
2208         * elmo-vars.el (elmo-msgdb-default-type): Remove generic from the
2209         range.
2210
2211 2004-03-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2212
2213         * modb-standard.el (elmo-msgdb-list-flagged): Use append instead
2214         of nconc.
2215
2216         * modb-entity.el (elmo-msgdb-match-condition-primitive): Added
2217         argument handler.
2218         (elmo-msgdb-message-match-condition): Follow the change above.
2219
2220 2004-02-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2221
2222         * elmo-flag.el (elmo-folder-initialize): Complete abbreviated
2223         folder name.
2224
2225 2004-02-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2226
2227         * elmo.el (elmo-folder-kill-messages): Don't use msgdb directly.
2228
2229 2004-02-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2230
2231         * elmo.el (elmo-folder-kill-messages): Fix to update killed list.
2232
2233 2004-02-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2234
2235         * elmo-file.el (elmo-file-find): Fixed the problem when file is
2236         not found.
2237
2238 2004-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
2239
2240         * elmo-file.el (elmo-file-find): Use expand-file-name for return
2241         value.
2242         (elmo-file-command-argument): Undo last change for cygwin.
2243         (elmo-file-detect-content-type): Renamed from elmo-file-detect-format;
2244         Don't return nil.
2245         (elmo-map-message-fetch): Use elmo-file-detect-content-type.
2246
2247 2004-02-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2248
2249         * elmo-file.el (elmo-file-command-argument): Fixed problem when a
2250         value returned from elmo-file-find is nil.
2251
2252 2004-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
2253
2254         * elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
2255         to elmo-vars.el.
2256
2257         * elmo.el (elmo-message-match-condition): Use elmo-message-fetch
2258         instead of insert-file-contents-as-binary.
2259         (elmo-message-set-field): New generic function.
2260
2261         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Follow the
2262         behavior change on `split-string'.
2263
2264         * elmo-file.el (elmo-file-find): New function.
2265         (elmo-file-command): New user option.
2266         (elmo-file-command-argument): Ditto.
2267         (elmo-file-fetch-max-size): Ditto.
2268         (elmo-file-detect-format): New function.
2269         (elmo-map-message-fetch): Use elmo-file-fetch-max-size;
2270         Use elmo-file-detect-format.
2271         (elmo-map-folder-list-message-locations): Don't treat directories.
2272
2273 2004-02-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2274
2275         * elmo-util.el (elmo-string-partial-p): Removed unused function.
2276         (elmo-passwd-alist-clear): Shred password before clear.
2277         (elmo-remove-passwd): Remove all mached pair.
2278
2279 2004-02-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
2280
2281         * elmo.el (elmo-folder-synchronize): Fix description of the return
2282         value.
2283
2284 2004-02-16  Yuuichi Teranishi  <teranisi@gohome.org>
2285
2286         * elmo.el (elmo-message-fetch-bodystructure): New method.
2287         (elmo-message-fetch-bodystructure): Define default.
2288
2289         * elmo-imap4.el (mime-imap-location-bodystructure): Call
2290         elmo-message-fetch-bodystructure.
2291         (elmo-message-fetch-bodystructure): Define.
2292
2293         * elmo-filter.el (elmo-message-fetch-bodystructure): Define.
2294
2295 2004-02-15  Tetsurou Okazaki  <okazaki@be.to>
2296
2297         * elmo-filter.el (elmo-message-folder): Define.
2298
2299 2004-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
2300
2301         * elmo.el (elmo-message-fetch-with-cache-process): Don't call
2302         elmo-delete-cr-buffer.
2303
2304         * elmo-imap4.el (elmo-imap4-message-fetch): Call elmo-delete-cr-buffer.
2305
2306         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
2307
2308         * elmo-nntp.el (elmo-nntp-read-body): Ditto.
2309
2310         * elmo-file.el (elmo-map-message-fetch): Decode body only when content
2311         type seems to be a text.
2312
2313 2004-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
2314
2315         * elsp-sa.el (elmo-spam-register-spam-buffer): Don't specify '--forget'.
2316         (elmo-spam-register-good-buffer): Ditto.
2317         (elmo-spam-spamassassin-register-messages): Ditto.
2318
2319         * elmo-util.el (elmo-string-member-ignore-case): Define with
2320         static-cond.
2321
2322 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
2323
2324         * elmo.el (elmo-folder-type): Undo last change.
2325
2326         * slp.el (slp-exec-wait): Avoid byte-compile warnings.
2327
2328         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Avoid byte-compile
2329         warnings.
2330
2331         * elmo-file.el: New file.
2332         
2333         * modb-standard.el (elmo-msgdb-list-flagged): Treat keyword flags.
2334
2335         * elsp-sa.el (elmo-spam-spamassassin-max-messages-per-process): New
2336         variable.
2337         (elmo-spam-spamassassin-register-messages): New inline function.
2338         (elmo-spam-register-spam-messages): Define.
2339         (elmo-spam-register-good-messages): Ditto.
2340
2341         * elsp-bogofilter.el (elmo-spam-bogofilter-max-messages-per-process):
2342         Fixed typo.
2343
2344         * elmo.el (toplevel): Added autoload setting for
2345         `elmo-get-global-flags'.
2346         (elmo-message-has-global-flag-p): New function.
2347         (elmo-message-set-global-flags): Ditto.
2348         (elmo-folder-type): Improvement for name: format.
2349
2350         * elmo-imap4.el (elmo-imap4-session-flag-available-p): Check
2351         availability of keyword flags.
2352         (elmo-imap4-folder-list-flagged): Treat keyword flags.
2353         (elmo-folder-list-flagged-plugged): Renamed from
2354         elmo-folder-list-flagged-unplugged.
2355         (elmo-imap4-set-flag): If "\*" is treated as permanent flag,
2356         accept any flag as keyword flag.
2357         (elmo-folder-set-flag-plugged): Accept keyword flags.
2358         (toplevel): Added autoload setting for `elmo-get-global-flags'.
2359
2360         * elmo-flag.el (elmo-get-global-flags): New function.
2361
2362         * elmo-filter.el (elmo-folder-diff): Fix total number for filter
2363         folders.
2364
2365         * elmo-version.el (elmo-version): Up to 2.11.24.
2366
2367 2004-02-08  Yoichi NAKAYAMA  <yoichi@geiin.org>
2368
2369         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
2370         elmo-multiple-field-body instead of std11-field-body to check all
2371         headers.
2372
2373 2004-02-07  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2374
2375         * elmo-util.el (elmo-cache-expire): Completion require match "age"
2376         or "size".
2377
2378 2004-01-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2379
2380         * elmo-util.el (elmo-get-hash-val): Check symbol is bound if
2381         unintern is unbound.
2382
2383 2004-01-25  Yoichi NAKAYAMA  <yoichi@geiin.org>
2384
2385         * elsp-bogofilter.el (elmo-spam-bogofilter-register-messages):
2386         Protect from infinite loop.
2387
2388 2004-01-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2389
2390         * elsp-bogofilter.el
2391         (elmo-spam-bogofilter-max-messages-per-process): New user option.
2392         (elmo-spam-bogofilter-register-messages): New internal function.
2393         (elmo-spam-register-spam-messages): Define.
2394         (elmo-spam-register-good-messages): Ditto.
2395
2396 2004-01-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2397
2398         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2399         Added "-vv" if elmo-spam-bogofilter-debug is non-nil.
2400         (elmo-spam-bogofilter-call): Fixed the last change.
2401         (elmo-spam-bogofilter-arguments): Ditto.
2402
2403         * elsp-bogofilter.el (elmo-spam-bogofilter-arguments-alist):
2404         Follow the options change of latest bogofilter.
2405
2406         * elsp-bogofilter.el (elmo-spam-bogofilter-spam-switch): Abolish.
2407         (elmo-spam-bogofilter-good-switch): Ditto.
2408         (elmo-spam-bogofilter-arguments-alist): New user option.
2409         (elmo-spam-bogofilter-debug): Ditto.
2410         (elmo-spam-bogofilter-call): Renamed from
2411         `elsp-bogofilter-call-bogofilter'. If elmo-spam-bogofilter-debug
2412         is non-nil, insert output in buffer for debug.
2413         (elmo-spam-bogofilter-arguments): New macro.
2414         (elmo-spam-buffer-spam-p): Use it.
2415         (elsp-bogofilter-register-buffer): Ditto.
2416
2417 2004-01-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2418
2419         * elmo-cache.el (elmo-folder-list-subfolders): Fix directory-files
2420         regexp.
2421
2422 2004-01-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2423
2424         * elsp-bsfilter.el (elmo-spam-bsfilter-shell-program): Set default
2425         value as "ruby".
2426         (elmo-spam-bsfilter-shell-switch): Set default value as nil.
2427         (elmo-spam-bsfilter-program): Set default value as full path for
2428         `bsfilter'.
2429         (elmo-spam-bsfilter-debug): New user option.
2430         (elsp-bsfilter-call-bsfilter): If elmo-spam-bsfilter-debug is
2431         non-nil, insert output in buffer for debug. Fix treating of
2432         argument.
2433
2434 2004-01-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2435
2436         * elmo-maildir.el (elmo-map-folder-set-flag): Use cdr of
2437         `elmo-maildir-flag-specs' element instead of one.
2438         (elmo-map-folder-unset-flag): Ditto.
2439         (Reported by Ken Makimura <macky@astem.or.jp>)
2440
2441         * elmo-imap4.el (elmo-folder-set-flag-plugged): Fixed.
2442         (elmo-folder-unset-flag-plugged): Ditto.
2443
2444 2004-01-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2445
2446         * elmo-nntp.el (elmo-folder-list-flagged): Return a list according
2447         to `reads' slot only if `in-msgdb' is nil.
2448
2449 2004-01-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2450
2451         * elmo-nntp.el (elmo-folder-list-flagged): Undo the last change
2452         and complement argument list.
2453
2454 2004-01-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
2455
2456         * elmo-nntp.el (elmo-folder-list-flagged-internal): Define this
2457         instead of elmo-folder-list-flagged.
2458
2459 2004-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2460
2461         * elmo-spam.el (elmo-spam-scheme): Add 'bsfilter' as a candidate.
2462
2463         * elsp-bsfilter.el: New file.
2464
2465         * elmo-pipe.el (elmo-folder-list-unreads,
2466         elmo-folder-list-answereds,
2467         elmo-folder-list-importants,
2468         elmo-folder-flag-as-important,
2469         elmo-folder-unflag-important,
2470         elmo-folder-flag-as-read,
2471         elmo-folder-unflag-read,
2472         elmo-folder-flag-as-answered,
2473         elmo-folder-unflag-answered): Remove.
2474         (elmo-folder-set-flag): Define.
2475         (elmo-folder-unset-flag): Ditto.
2476
2477         * elmo-nntp.el (elmo-folder-flag-as-read): Remove.
2478         (elmo-folder-set-flag): Define.
2479         (elmo-folder-unset-flag): Ditto.
2480         (elmo-folder-list-unreads): Remove.
2481         (elmo-folder-list-flagged): Define.
2482
2483         * elmo-net.el (elmo-folder-list-flagged-internal): Define.
2484         (elmo-folder-list-unreads,
2485         elmo-folder-list-importants,
2486         elmo-folder-list-answereds,
2487         elmo-folder-list-unreads-plugged,
2488         elmo-folder-list-importants-plugged,
2489         elmo-folder-list-answereds-plugged): Remove.
2490         (elmo-folder-list-flagged-plugged): New method.
2491         (elmo-folder-unflag-important,
2492         elmo-folder-flag-as-important,
2493         elmo-folder-unflag-read,
2494         elmo-folder-flag-as-read,
2495         elmo-folder-unflag-answered,
2496         elmo-folder-flag-as-answered,
2497         elmo-folder-flag-as-read-unplugged,
2498         elmo-folder-unflag-read-unplugged,
2499         elmo-folder-flag-as-important-unplugged,
2500         elmo-folder-unflag-important-unplugged,
2501         elmo-folder-flag-as-answered-unplugged,
2502         elmo-folder-unflag-answered-unplugged): Remove.
2503         (elmo-folder-set-flag): Define.
2504         (elmo-folder-unset-flag): Ditto.
2505         (elmo-folder-set-flag-unplugged): Ditto.
2506         (elmo-folder-unset-flag-unplugged): Ditto.
2507
2508         * elmo-multi.el (elmo-folder-list-unreads,
2509         elmo-folder-list-answereds,
2510         elmo-folder-list-importants,
2511         elmo-folder-flag-as-important,
2512         elmo-folder-unflag-important,
2513         elmo-folder-flag-as-read,
2514         elmo-folder-unflag-read,
2515         elmo-folder-flag-as-answered,
2516         elmo-folder-unflag-answered): Remove.
2517         (elmo-folder-set-flag): Define.
2518         (elmo-folder-unset-flag): Ditto.
2519
2520         * elmo-map.el (elmo-map-folder-unflag-important,
2521         elmo-map-folder-flag-as-important,
2522         elmo-map-folder-unflag-read,
2523         elmo-map-folder-flag-as-read,
2524         elmo-map-folder-unflag-answered,
2525         elmo-map-folder-flag-as-answered): Remove.
2526         (elmo-map-folder-set-flag): New method.
2527         (elmo-map-folder-unset-flag): Ditto.
2528         (elmo-map-folder-list-unreads,
2529         elmo-map-folder-list-importants,
2530         elmo-map-folder-list-answereds): Remove.
2531         (elmo-folder-list-flagged-internal): Define.
2532         (elmo-map-folder-list-flagged): New method.
2533
2534         * elmo-maildir.el (elmo-maildir-flag-specs): New internal variable.
2535         (elmo-map-folder-list-unreads,
2536         elmo-map-folder-list-importants,
2537         elmo-map-folder-list-flagged): Remove.
2538         (elmo-map-folder-list-flagged): Define.
2539         (elmo-map-folder-flag-as-important,
2540         elmo-map-folder-unflag-important,
2541         elmo-map-folder-flag-as-read,
2542         elmo-map-folder-unflag-read,
2543         elmo-map-folder-flag-as-answered,
2544         elmo-map-folder-unflag-answered): Remove.
2545         (elmo-maildir-set-mark-messages): New internal function.
2546         (elmo-map-folder-set-flag): Define.
2547         (elmo-map-folder-unset-flag): Ditto.
2548
2549         * elmo.el (toplevel): Added autoload setting for
2550         `elmo-folder-list-global-flag-messages'.
2551         (elmo-folder-list-unreads,
2552         elmo-folder-list-importants,
2553         elmo-folder-list-answereds): Remove.
2554         (elmo-folder-list-flagged): Use `elmo-folder-list-flagged-internal'.
2555         Return a list whitch merged with messages have global flag.
2556         (elmo-folder-list-flagged-internal): New method.
2557         (elmo-folder-unflag-important,
2558         elmo-folder-flag-as-important,
2559         elmo-folder-unflag-read,
2560         elmo-folder-flag-as-read,
2561         elmo-folder-unflag-answered,
2562         elmo-folder-flag-as-answered): Remove.
2563         (elmo-folder-set-flag): New method.
2564         (elmo-folder-unset-flag): Ditto.
2565         (elmo-message-set-flag):Use `elmo-folder-set-flag'.
2566         (elmo-message-unset-flag):Use `elmo-folder-unset-flag'.
2567
2568         * elmo-imap4.el (elmo-imap4-flag-specs): New internal variable.
2569         (elmo-folder-list-unreads-plugged,
2570         elmo-folder-list-importants-plugged,
2571         elmo-folder-list-answereds-plugged,
2572         elmo-folder-list-flagged-unplugged,
2573         elmo-folder-unflag-important-plugged,
2574         elmo-folder-flag-as-important-plugged,
2575         elmo-folder-unflag-read-plugged,
2576         elmo-folder-flag-as-read-plugged,
2577         elmo-folder-unflag-answered-plugged,
2578         elmo-folder-flag-as-answered-plugged): Remove.
2579         (elmo-folder-set-flag-plugged,
2580         elmo-folder-unset-flag-plugged): Define.
2581
2582         * elmo-flag.el (elmo-folder-initialize): Register to
2583         `elmo-global-flag-list' if flag is not global.
2584         (elmo-folder-append-messages): Set flag to source messages.
2585
2586         * elmo-filter.el (elmo-filter-folder-list-unreads,
2587         elmo-folder-list-unreads,
2588         elmo-filter-folder-list-importants,
2589         elmo-folder-list-importants,
2590         elmo-folder-flag-as-read,
2591         elmo-folder-unflag-read,
2592         elmo-folder-flag-as-important,
2593         elmo-folder-unflag-important,
2594         elmo-folder-flag-as-answered,
2595         elmo-folder-unflag-answered): Remove.
2596         (elmo-folder-set-flag): Define.
2597         (elmo-folder-unset-flag): Ditto.
2598
2599         * elmo-dop.el (elmo-folder-flag-as-read-dop,
2600         elmo-folder-unflag-read-dop,
2601         elmo-folder-flag-as-important-dop,
2602         elmo-folder-unflag-important-dop,
2603         elmo-folder-flag-as-answered-dop,
2604         elmo-folder-unflag-answered-dop): Remove.
2605         (elmo-folder-set-flag-dop,
2606         elmo-folder-unset-flag-dop,
2607         elmo-folder-set-important-delayed,
2608         elmo-folder-unset-important-delayed,
2609         elmo-folder-set-read-delayed,
2610         elmo-folder-unset-read-delayed,
2611         elmo-folder-set-answered-delayed,
2612         elmo-folder-unset-answered-delayed): New function.
2613         (elmo-dop-queue-merge-method-list): Follow the above chagned.
2614         (elmo-dop-queue-method-name-alist): Ditto.
2615
2616         * elmo-version.el (elmo-version): Up to 2.11.23.
2617
2618 2004-01-11  Yuuichi Teranishi  <teranisi@gohome.org>
2619
2620         * elmo-spam.el (elmo-spam-scheme): Add 'sa' as a candidate.
2621
2622         * elsp-sa.el: New file.
2623
2624 2003-12-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2625
2626         * modb-standard.el (modb-standard-message-entity): New function.
2627         (elmo-msgdb-message-entity): Use it.
2628
2629 2003-12-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2630
2631         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite; Fixed
2632         behavior when one-level is nil.
2633
2634         * elmo-flag.el (elmo-folder-list-subfolders): Defined.
2635
2636         * elmo-sendlog.el (elmo-folder-have-subfolder-p): Ditto.
2637
2638 2003-12-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2639
2640         * elmo.el (elmo-folder-set-info-max-by-numdb): Don't use `sort' to
2641         get max number.
2642         (elmo-generic-folder-diff): Ditto.
2643
2644         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Ditto.
2645         (elmo-folder-update-number): Ditto.
2646
2647         * elmo-dop.el (elmo-folder-status-dop): Ditto.
2648         (elmo-folder-next-message-number-dop): Ditto.
2649
2650 2003-12-04  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2651
2652         * elmo-filter.el (elmo-folder-msgdb-create): Use
2653         `elmo-message-entity' and `elmo-message-flags' instead of
2654         `elmo-msgdb-message-entity' and `elmo-msgdb-flags'.
2655
2656 2003-11-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2657
2658         * elmo-spam.el (elmo-spam-processor): Added 3rd argument
2659         `if-exists'.
2660
2661 2003-11-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2662
2663         * elmo-multi.el (elmo-folder-newsgroups): Simplify.
2664
2665         * elmo-pipe.el (elmo-folder-get-primitive-list): Likewise.
2666
2667         * elmo-filter.el (elmo-folder-get-primitive-list): Fixed.
2668
2669 2003-11-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2670
2671         * elmo-version.el (elmo-version): Up to 2.11.22.
2672
2673 2003-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2674
2675         * modb-standard.el (elmo-msgdb-delete-messages): Always return t.
2676
2677 2003-11-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2678
2679         * modb-standard.el (elmo-msgdb-delete-messages): Dose not process
2680         if the message dose not exist.
2681
2682 2003-11-18  Tetsurou Okazaki  <okazaki@be.to>
2683
2684         * elmo-version.el (elmo-version): Up to 2.11.21.
2685
2686 2003-11-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2687
2688         * modb-standard.el (toplevel): Don't require mime.
2689
2690 2003-11-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2691
2692         * elsp-bogofilter.el (toplevel): Don't require path-util.
2693         (elmo-spam-bogofilter-program): Don't use `exec-installed-p'.
2694         (elmo-spam-bogofilter-header): Abolish.
2695         (elmo-spam-bogofilter-bogosity-positive-spam-header): Ditto.
2696         (elmo-spam-bogofilter-args): New user option.
2697         (elsp-bogofilter-call-bogofilter): New internal function.
2698         (elmo-spam-buffer-spam-p): Use it.
2699         (elsp-bogofilter-register-buffer): Renamed from
2700         `elmo-spam-bogofilter-register-buffer';
2701         Use `elsp-bogofilter-call-bogofilter'.
2702         (elmo-spam-register-spam-buffer): Follow the change above.
2703         (elmo-spam-register-good-buffer): Ditto.
2704
2705 2003-11-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2706
2707         * modb-standard.el (elmo-msgdb-append-entity): If entity or
2708         message-id is nil do nothing.
2709
2710 2003-11-10  Yuuichi Teranishi  <teranisi@gohome.org>
2711
2712         * elmo-imap4.el (elmo-imap4-disuse-server-flag-mailbox-regexp):
2713         Revival.
2714         (elmo-imap4-session): Removed use-flag slot.
2715         (elmo-imap4-session-select-mailbox): Undo last change.
2716         (elmo-folder-use-flag-p): Use
2717         elmo-imap4-disuse-server-flag-mailbox-regexp.
2718
2719 2003-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
2720
2721         * elmo-imap4.el (elmo-imap4-session): Added use-flag slot.
2722         (elmo-imap4-session-select-mailbox): Set it up.
2723         (elmo-folder-use-flag-p): Return value of use-flag slot.
2724
2725 2003-11-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2726
2727         * elmo-msgdb.el (elmo-msgdb-flag-table): Fixed problem when
2728         message-id is nil.
2729         (Reported by MAKINO Takashi <makino@digitalway.co.jp>)
2730
2731         * modb-entity.el (elmo-message-entity-handler): Likewise.
2732
2733 2003-11-07  Yuuichi Teranishi  <teranisi@gohome.org>
2734
2735         * elmo.el (toplevel): Remove setting of autoloding for
2736         elmo-global-flag-initialize.
2737         (elmo-init): Don't call elmo-global-flag-initialize.
2738         (toplevel): Added autoload setting for elmo-global-mark-migrate.
2739
2740         * elmo-flag.el (elmo-global-flag-initialize): Abolish.
2741         (elmo-global-mark-migrate): Don't call it.
2742         (elmo-global-mark-upgrade): Ditto.
2743
2744 2003-11-06  Yuuichi Teranishi  <teranisi@gohome.org>
2745
2746         * elmo-internal.el (elmo-internal-obsolete-folder-list): New variable.
2747         (elmo-folder-initialize): Raise a warning when obsolete folder is used.
2748
2749         * elmo-vars.el (elmo-init-hook): New user option.
2750
2751         * elmo.el (elmo-init): Run the elmo-init-hook.
2752
2753         * elmo-flag.el (elmo-global-mark-migrate): New function.
2754
2755 2003-11-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2756
2757         * modb-standard.el (elmo-msgdb-set-flag): Simplify;
2758         Undo last change (move to elmo-msgdb-unset-flag).
2759         (elmo-msgdb-unset-flag): Simplify; Unset 'new flag when unread
2760         flag is unset.
2761
2762 2003-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
2763
2764         * modb-standard.el (elmo-msgdb-set-flag): Unset 'new flag when
2765         read flag is set.
2766         (elmo-msgdb-set-flag): Don't remove 'new flag unconditionally.
2767         (elmo-msgdb-unset-flag): Ditto.
2768
2769 2003-11-05  Andreas Fuchs <asf@boinkor.net>
2770
2771         * elmo-split.el (elmo-split): Return split message count.
2772
2773 2003-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2774
2775         * elmo-msgdb.el (elmo-flag-table-get): Check cached if saved flags
2776         is nil.
2777
2778 2003-11-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2779
2780         * elmo.el (elmo-folder-unflag-important): Call
2781         `elmo-global-flag-detach' with 4th argument delete-if-none that is
2782         a symbol `always'.
2783
2784         * elmo-flag.el (elmo-flag-folder-delete-message): Clear hash value
2785         before unset flag.
2786         (elmo-global-flag-detach): Delete the message from flag folder, if
2787         `delete-if-none' is a symbol `always'.
2788
2789 2003-11-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2790
2791         * elsp-spamfilter.el (elsp-spamfilter-decode-buffer): Renamed from
2792         `elmo-spam-spamfilter-decode-buffer'.
2793         (elsp-spamfilter-register-buffer-internal): New internal function.
2794         (elmo-spam-buffer-spam-p): Use it; Follow the API change.
2795         (elmo-spam-register-spam-buffer): Ditto.
2796         (elmo-spam-register-good-buffer): Ditto.
2797
2798         * elsp-bogofilter.el (elmo-spam-buffer-spam-p): Follow the API
2799         change.
2800         (elmo-spam-bogofilter-register-buffer): Added argument `restore'.
2801         (elmo-spam-register-spam-buffer): Follow the API change.
2802         (elmo-spam-register-good-buffer): Ditto.
2803
2804         * elmo-split.el (toplevel): Require elmo-spam when copmile.
2805         (elmo-split-spam-p): Added argument plist; Call
2806         `elmo-spam-buffer-spam-p' with new argument register.
2807
2808         * elmo-spam.el (elmo-spam-buffer-spam-p): Added optional argument
2809         `register'.
2810         (elmo-spam-message-spam-p): Ditto.
2811         (elmo-spam-register-spam-buffer): Added optional argument
2812         `restore'.
2813         (elmo-spam-register-good-buffer): Ditto.
2814         (elmo-spam-register-spam-messages): Ditto.
2815         (elmo-spam-register-good-messages): Ditto.
2816
2817 2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2818
2819         * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
2820         register into good corpus.
2821         (elmo-spam-register-good-buffer): Fixed to register into bad
2822         corpus.
2823
2824 2003-10-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2825
2826         * elmo-version.el (elmo-version): Up to 2.11.20.
2827
2828         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed last
2829         change.
2830
2831         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Determine new
2832         flag without depending on \Recent flag.
2833
2834 2003-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2835
2836         * elsp-spamfilter.el (elsp-spamfilter): Added new slot `modified'.
2837         (elmo-spam-modified-p): Defined.
2838         (elmo-spam-save-status): Set `modified' slot to nil.
2839         (elmo-spam-register-spam-buffer): Set `modified' slot to non nil.
2840         (elmo-spam-register-good-buffer): Ditto.
2841
2842         * elmo-spam.el (elmo-spam-modified-p): New API.
2843
2844 2003-10-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2845
2846         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Abolish
2847         duplicate definition.
2848
2849         * elmo-util.el (elmo-unfold-field-body): New function.
2850         (elmo-msgdb-get-message-id-from-buffer): Use it.
2851
2852         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2853         Fixed the last change; Use elmo-unfold-field-body.
2854
2855 2003-10-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2856
2857         * modb-entity.el (elmo-msgdb-create-message-entity-from-buffer):
2858         Unfold date value.
2859
2860 2003-10-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2861
2862         * elmo-spam.el (elmo-spam-save-status): New API.
2863
2864         * elsp-spamfilter.el: New file.
2865
2866 2003-10-21  TAKAHASHI Kaoru  <kaoru@kaisei.org>
2867
2868         * elmo-split.el (toplevel): Add `elmo-spam-processor' args.
2869
2870 2003-10-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2871
2872         * elmo-split.el (elmo-split-spam-p): New function.
2873
2874         * elmo-spam.el: New file.
2875
2876         * elsp-bogofilter.el: Ditto.
2877
2878 2003-10-15  Yuuichi Teranishi  <teranisi@gohome.org>
2879
2880         * elmo.el (elmo-folder-next-message-number): New API.
2881         (elmo-folder-next-message-number): Define.
2882         (elmo-message-field): Don't check folder length.
2883
2884         * elmo-net.el (elmo-folder-next-message-number): Define.
2885         (elmo-folder-next-message-number-unplugged): Define.
2886
2887         * elmo-map.el (elmo-folder-next-message-number): Define.
2888         (elmo-folder-delete-messages): Clear hash value.
2889
2890         * elmo-imap4.el (elmo-folder-next-message-number-plugged): Define.
2891
2892         * elmo-dop.el (elmo-folder-next-message-number-dop): New function.
2893         (elmo-folder-delete-messages-dop-delayed): Always return t.
2894
2895         * elmo-version.el (elmo-version): Up to 2.11.19.
2896
2897 2003-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2898
2899         * modb-legacy.el (elmo-msgdb-append-entity): Fixed the last
2900         change.
2901
2902         * modb-legacy.el (elmo-msgdb-append-entity): Registered an
2903         identical cons cell into the mark-alist and the hash table.
2904
2905 2003-10-08  Yuuichi Teranishi  <teranisi@gohome.org>
2906
2907         * elmo-pipe.el (elmo-pipe-folder-list-target-messages): Call
2908         elmo-folder-list-messages with argument `visible-only' as t.
2909
2910         * elmo-filter.el (elmo-folder-search-requires-msgdb-p): Define.
2911         (elmo-folder-msgdb-create): Check the target folder.
2912
2913 2003-10-07  Yuuichi Teranishi  <teranisi@gohome.org>
2914
2915         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Use
2916         `permanentflag' instead of `flags'.
2917         (elmo-folder-open): Ditto.
2918         (elmo-imap4-set-flag): Treat \Deleted flag as an exception.
2919         (elmo-imap4-disuse-server-flag-mailbox-regexp): Abolish.
2920         (elmo-folder-use-flag-p): Always return t.
2921         (elmo-imap4-session-select-mailbox): Use value of `flags' if
2922         `permanentflags' does not exist.
2923         (elmo-folder-open): Ditto.
2924
2925 2003-10-06  Yuuichi Teranishi  <teranisi@gohome.org>
2926
2927         * modb-legacy.el (elmo-msgdb-message-entity): Return nil when key
2928         is nil.
2929         * modb-standard.el (elmo-msgdb-message-entity): Ditto.
2930
2931         * elmo-imap4.el (elmo-imap4-session): Added new slot `flags'.
2932         (elmo-imap4-session-select-mailbox): Set it according to the SELECT
2933         response.
2934         (elmo-folder-open): Ditto.
2935         (elmo-imap4-set-flag): Send store flag command only when the `flags'
2936         slot of the session includes the flag.
2937         (elmo-imap4-session-flag-available-p): New function.
2938         (elmo-imap4-folder-list-flagged): Ditto.
2939         (elmo-folder-list-unreads-plugged): Use it.
2940         (elmo-folder-list-importants-plugged): Ditto.
2941         (elmo-folder-list-answereds-plugged): Ditto.
2942         (elmo-imap4-search-internal-primitive): Ditto.
2943         (elmo-imap4-folder-list-any-plugged,
2944         elmo-imap4-folder-list-digest-plugged): Abolish.
2945
2946         * elmo-filter.el (elmo-folder-search): Don't call elmo-list-filter
2947         if numbers is nil.
2948
2949 2003-10-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
2950
2951         * elmo-util.el (toplevel): Require emu for char-list-to-string.
2952
2953 2003-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
2954
2955         * elmo-util.el (elmo-get-hash-val): Simplify.
2956         (elmo-set-hash-val): Rewrite.
2957
2958 2003-09-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2959
2960         * elmo.el (elmo-folder-list-messages): Append killed messages into
2961         result if `visible-only' is nil and `in-msgdb' is non-nil.
2962
2963         * elmo-util.el (elmo-uniq-list): Added optional argument
2964         `delete-function'.
2965
2966         * modb.el (elmo-msgdb-flag-count): New API.
2967
2968         * modb-standard.el (modb-standard): Added slot flag-count.
2969         (modb-standard-countup-flags): New function.
2970         (modb-standard-load-flag): Call it.
2971         (elmo-msgdb-append): Ditto.
2972         (elmo-msgdb-clear): Clear slot flag-count.
2973         (elmo-msgdb-set-flag): Call modb-standard-countup-flags.
2974         (elmo-msgdb-unset-flag): Treat `all' flag and call
2975         modb-standard-countup-flags.
2976         (elmo-msgdb-flag-count): Define.
2977         (elmo-msgdb-append-entity): Call modb-standard-countup-flags.
2978         (elmo-msgdb-delete-messages): Ditto.
2979
2980         * modb-legacy.el (elmo-msgdb-unset-flag): Treat `all' flag.
2981         (elmo-msgdb-flag-count): Define.
2982
2983         * elmo.el (elmo-folder-list-messages): Undo last change.
2984         (elmo-folder-count-flags): Use elmo-msgdb-flag-count.
2985         (elmo-folder-kill-messages): Unset all flags to numbers.
2986
2987         * elmo-sendlog.el (elmo-folder-delete-messages): Rewrite; use
2988         elmo-folder-kill-messages.
2989
2990         * elmo-nntp.el (elmo-folder-delete-messages): Ditto.
2991         (elmo-nntp-folder-delete-messages): Abolish.
2992
2993         * elmo-version.el (elmo-version): Up to 2.11.18.
2994
2995 2003-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
2996
2997         * elmo.el (elmo-folder-kill-messages-before): Abolish.
2998         (elmo-folder-kill-messages-range): New function.
2999         (elmo-folder-synchronize): Use elmo-folder-kill-messages-range
3000         instead of elmo-folder-kill-messages-before.
3001
3002 2003-09-26  Yuuichi Teranishi  <teranisi@gohome.org>
3003
3004         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Use
3005         elmo-imap4-current-msgdb to decide entity handler.
3006
3007 2003-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
3008
3009         * elmo-dop.el (elmo-dop-msgdb): Rewrite.
3010
3011         * modb-legacy.el (elmo-msgdb-overview-entity-get-id-internal): New
3012         inline function.
3013         (elmo-msgdb-overview-entity-get-number-internal): Ditto.
3014         (elmo-msgdb-overview-entity-set-number,
3015         elmo-msgdb-overview-entity-get-references,
3016         elmo-msgdb-overview-entity-set-references,
3017         elmo-msgdb-overview-entity-get-from-no-decode,
3018         elmo-msgdb-overview-entity-get-from,
3019         elmo-msgdb-overview-entity-set-from,
3020         elmo-msgdb-overview-entity-get-subject,
3021         elmo-msgdb-overview-entity-get-subject-no-decode,
3022         elmo-msgdb-overview-entity-set-subject,
3023         elmo-msgdb-overview-entity-get-date,
3024         elmo-msgdb-overview-entity-set-date,
3025         elmo-msgdb-overview-entity-get-to,
3026         elmo-msgdb-overview-entity-get-cc,
3027         elmo-msgdb-overview-entity-get-size,
3028         elmo-msgdb-overview-entity-set-size,
3029         elmo-msgdb-overview-entity-get-extra,
3030         elmo-msgdb-overview-entity-set-extra,
3031         elmo-msgdb-overview-entity-get-extra-field,
3032         elmo-msgdb-overview-entity-set-extra-field): Moved to elmo-msgdb.el.
3033         (elmo-msgdb-make-index): Use
3034         `elmo-msgdb-overview-entity-get-number-internal'.
3035         (elmo-msgdb-clear-index): Ditto.
3036         (elmo-msgdb-append-entity): Ditto;
3037         Use `elmo-msgdb-overview-entity-get-id-internal'.
3038
3039         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-number,
3040         elmo-msgdb-overview-entity-set-number,
3041         elmo-msgdb-overview-entity-get-references,
3042         elmo-msgdb-overview-entity-set-references,
3043         elmo-msgdb-overview-entity-get-from-no-decode,
3044         elmo-msgdb-overview-entity-get-from,
3045         elmo-msgdb-overview-entity-set-from,
3046         elmo-msgdb-overview-entity-get-subject,
3047         elmo-msgdb-overview-entity-get-subject-no-decode,
3048         elmo-msgdb-overview-entity-set-subject,
3049         elmo-msgdb-overview-entity-get-date,
3050         elmo-msgdb-overview-entity-set-date,
3051         elmo-msgdb-overview-entity-get-to,
3052         elmo-msgdb-overview-entity-get-cc,
3053         elmo-msgdb-overview-entity-get-size,
3054         elmo-msgdb-overview-entity-set-size,
3055         elmo-msgdb-overview-entity-get-extra,
3056         elmo-msgdb-overview-entity-set-extra,
3057         elmo-msgdb-overview-entity-get-extra-field,
3058         elmo-msgdb-overview-entity-set-extra-field): Moved from modb-legacy.el
3059         and rewrote for backward compatibility.
3060
3061 2003-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3062
3063         * elmo.el (elmo-message-entity-number,
3064         elmo-message-entity-set-number,
3065         elmo-message-entity-field,
3066         elmo-message-entity-set-field): Moved to elmo-msgdb.el.
3067
3068         * elmo-msgdb.el (elmo-message-entity-number,
3069         elmo-message-entity-set-number,
3070         elmo-message-entity-field,
3071         elmo-message-entity-set-field): Moved from elmo.el.
3072
3073 2003-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
3074
3075         * elmo.el (toplevel): Changed definition orders.
3076
3077 2003-09-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3078
3079         * modb.el (elmo-msgdb-search): New API .
3080         (elmo-msgdb-match-condition): Ditto.
3081
3082         * modb-standard.el (elmo-msgdb-search): Define.
3083
3084         * modb-legacy.el (elmo-msgdb-search): Ditto.
3085
3086         * modb-entity.el (elmo-msgdb-message-match-condition): Renamed
3087         from elmo-msgdb-match-condition-internal.
3088
3089         * elmo.el (elmo-folder-search-fast): Abolish.
3090         (elmo-folder-search): Use elmo-msgdb-search and
3091         elmo-with-progress-display.
3092
3093         * elmo-msgdb.el (elmo-msgdb-match-condition): Removed; redefined
3094         as msgdb API.
3095
3096         * elmo.el (elmo-folder): Remove slot message-modified and
3097         flag-modified.
3098         (elmo-folder-set-message-modified): Abolish.
3099         (elmo-generic-folder-commit): Follow the change above.
3100         (elmo-folder-synchronize): Ditto.
3101
3102         * elmo-pipe.el (elmo-folder-set-message-modified): Abolish.
3103
3104         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3105
3106         * elmo-filter.el (elmo-folder-set-message-modified): Ditto.
3107
3108 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3109
3110         * modb-standard.el (modb-standard-make-message-entity,
3111         elmo-msgdb-make-message-entity,
3112         elmo-msgdb-create-message-entity-from-buffer,
3113         elmo-msgdb-message-entity-number,
3114         elmo-msgdb-message-entity-set-number,
3115         elmo-msgdb-message-entity-field,
3116         elmo-msgdb-message-entity-set-field,
3117         elmo-msgdb-copy-message-entity,
3118         elmo-msgdb-match-condition-internal): Remove.
3119
3120         * modb-entity.el: New file (again).
3121
3122         * modb.el (toplevel): Require modb-entity.
3123         (elmo-msgdb-message-entity-handler): New method.
3124
3125         * modb-standard.el (modb-standard-entity-id): Use
3126         elmo-message-entity-handler.
3127         (modb-standard-load-entity): Ditto.
3128         (elmo-msgdb-append-entity): Ditto.
3129         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3130
3131         * modb-legacy.el (elmo-msgdb-get-decoded-cache,
3132         elmo-msgdb-decoded-cache-hashtb,
3133         (modb-legacy-make-message-entity,
3134         elmo-msgdb-make-message-entity,
3135         elmo-msgdb-create-message-entity-from-buffer,
3136         elmo-msgdb-message-entity-number,
3137         elmo-msgdb-message-entity-set-number,
3138         elmo-msgdb-message-entity-field,
3139         elmo-msgdb-message-entity-set-field,
3140         elmo-msgdb-copy-message-entity,
3141         elmo-msgdb-match-condition-internal,
3142         elmo-msgdb-match-condition-primitive): Moved to modb-entity.el.
3143
3144         * elmo.el (elmo-message-copy-entity): Use elmo-message-entity-handler.
3145         (elmo-message-entity-set-number): Ditto.
3146         (elmo-message-entity-field): Ditto.
3147         (elmo-message-entity-set-field): Ditto.
3148
3149         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Ditto.
3150
3151         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3152
3153         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3154
3155         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3156         (elmo-nntp-msgdb-create-message): Ditto.
3157
3158         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Ditto.
3159         (elmo-folder-msgdb-create): Add unread flag.
3160
3161         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3162
3163         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Ditto.
3164
3165         * elmo-imap4.el (elmo-imap4-fetch-callback-1): Ditto.
3166
3167         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3168
3169         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Call
3170         elmo-msgdb-messge-entity-handler.
3171         * elmo-version.el (elmo-version): Up to 2.11.17.
3172
3173 2003-09-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3174
3175         * elmo-shimbun.el (elmo-shimbun-update-overview): Fixed the last
3176         change.
3177
3178 2003-09-22  Yuuichi Teranishi  <teranisi@gohome.org>
3179
3180         * elmo.el (elmo-message-field): Use elmo-message-entity-field.
3181
3182         * elmo-msgdb.el (elmo-msgdb-get-number): Abolish.
3183         (elmo-msgdb-get-parent-entity): Use elmo-message-entity-field.
3184         (elmo-msgdb-flag-table): Ditto.
3185         (elmo-msgdb-sort-by-date): Ditto.
3186
3187         * modb.el (elmo-msgdb-create-message-entity-from-file): Define.
3188
3189         * modb-standard.el (toplevel): Require mime.
3190         (modb-standard-entity-id): Use elmo-msgdb-message-entity-field.
3191         (modb-standard-load-entity): Use elmo-msgdb-message-entity-field and
3192         elmo-msgdb-message-entity-number.
3193         (elmo-msgdb-append-entity): Ditto.
3194         (elmo-msgdb-create-message-entity-from-file): Remove.
3195         (elmo-msgdb-create-message-entity-from-buffer): Use msgdb which 
3196         corresponds to the entity.
3197         (elmo-msgdb-message-entity-number): Do nothing currently.
3198         (elmo-msgdb-message-entity-field): Ditto.
3199         (elmo-msgdb-message-entity-set-field): Ditto.
3200         (elmo-msgdb-copy-message-entity): Ditto.
3201         (elmo-msgdb-match-condition-internal): Ditto.
3202
3203         * modb-legacy.el (elmo-msgdb-insert-file-header): Moved to
3204         elmo-util.el.
3205         (elmo-msgdb-create-message-entity-from-file): Remove.
3206
3207         * elmo-util.el (elmo-msgdb-insert-file-header): Moved from
3208         modb-legacy.el.
3209         (elmo-multiple-field-body): Moved from elmo-msgdb.el.
3210
3211         * elmo-msgdb.el (elmo-multiple-field-body): Moved to elmo-util.el.
3212
3213 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3214
3215         * modb.el (elmo-msgdb-make-message-entity): Define simple one.
3216         (elmo-msgdb-message-entity-field): Ditto.
3217         (elmo-msgdb-message-entity-number): Ditto.
3218
3219 2003-09-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3220
3221         * modb-standard.el (elmo-msgdb-create-message-entity-from-buffer): 
3222         Fixed how to set extra field into entity.
3223         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3224         symbol.
3225
3226         * modb-legacy.el (elmo-msgdb-create-message-entity-from-buffer):
3227         Fixed how to set extra field into entity.
3228         (elmo-msgdb-message-entity-set-field): Fixed mistake string for
3229         symbol.
3230
3231 2003-09-21  Yuuichi Teranishi  <teranisi@gohome.org>
3232
3233         * modb.el (elmo-message-entity-db): New function.
3234         (elmo-msgdb-make-message-entity): New API.
3235         (elmo-msgdb-message-entity-number): Ditto.
3236         (elmo-msgdb-message-entity-set-number): Ditto.
3237         (elmo-msgdb-message-entity-field): Ditto.
3238         (elmo-msgdb-message-entity-set-field): Ditto.
3239         (elmo-msgdb-copy-message-entity): Ditto.
3240         (elmo-msgdb-create-message-entity-from-file): Ditto.
3241         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3242         (elmo-msgdb-match-condition-internal): Ditto.
3243
3244         * modb-standard.el (modb-legacy): Require modb-legacy.
3245         (modb-standard-make-message-entity): New inline function.
3246         (elmo-msgdb-make-message-entity): Define.
3247         (elmo-msgdb-create-message-entity-from-file): Ditto.
3248         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3249         (elmo-msgdb-message-entity-field): Ditto.
3250         (elmo-msgdb-message-entity-set-field): Ditto.
3251         (elmo-msgdb-copy-message-entity): Ditto.
3252         (elmo-msgdb-match-condition-internal): Ditto.
3253
3254         * modb-legacy.el: Don't require modb-entity.
3255         (elmo-msgdb-decoded-cache-hashtb): Moved from elmo-msgdb.el
3256         (elmo-msgdb-match-condition-primitive): Ditto.
3257         (elmo-msgdb-get-decoded-cache): Ditto.
3258         (elmo-msgdb-overview-entity-get-id): Ditto.
3259         (elmo-msgdb-overview-entity-get-number): Ditto.
3260         (elmo-msgdb-overview-entity-set-number): Ditto.
3261         (elmo-msgdb-overview-entity-get-references): Ditto.
3262         (elmo-msgdb-overview-entity-set-references): Ditto.
3263         (elmo-msgdb-overview-entity-get-from-no-decode): Ditto.
3264         (elmo-msgdb-overview-entity-get-from): Ditto.
3265         (elmo-msgdb-overview-entity-set-from): Ditto.
3266         (elmo-msgdb-overview-entity-get-subject): Ditto.
3267         (elmo-msgdb-overview-entity-get-subject-no-decode): Ditto.
3268         (elmo-msgdb-overview-entity-set-subject): Ditto.
3269         (elmo-msgdb-overview-entity-get-date): Ditto.
3270         (elmo-msgdb-overview-entity-set-date): Ditto.
3271         (elmo-msgdb-overview-entity-get-to): Ditto.
3272         (elmo-msgdb-overview-entity-get-cc): Ditto.
3273         (elmo-msgdb-overview-entity-get-size): Ditto.
3274         (elmo-msgdb-overview-entity-set-size): Ditto.
3275         (elmo-msgdb-overview-entity-get-extra): Ditto.
3276         (elmo-msgdb-overview-entity-set-extra): Ditto.
3277         (elmo-msgdb-overview-entity-get-extra-field): Ditto.
3278         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
3279         (elmo-msgdb-number-load): Ditto.
3280         (elmo-msgdb-overview-load): Ditto.
3281         (elmo-msgdb-mark-load): Ditto.
3282         (elmo-msgdb-number-save): Ditto.
3283         (elmo-msgdb-mark-save): Ditto.
3284         (elmo-msgdb-overview-save): Ditto.
3285         (modb-legacy-make-message-entity): New inline function.
3286         (elmo-msgdb-insert-file-header): Ditto.
3287         (elmo-msgdb-make-message-entity): Define.
3288         (elmo-msgdb-create-message-entity-from-file): Ditto.
3289         (elmo-msgdb-create-message-entity-from-buffer): Ditto.
3290         (elmo-msgdb-message-entity-number): Ditto.
3291         (elmo-msgdb-message-entity-set-number): Ditto.
3292         (elmo-msgdb-message-entity-field): Ditto.
3293         (elmo-msgdb-message-entity-set-field): Ditto.
3294         (elmo-msgdb-copy-message-entity): Ditto.
3295         (elmo-msgdb-match-condition-internal): Ditto.
3296
3297         * elmo.el (elmo-find-fetch-strategy): Use elmo-message-entity-field.
3298         (elmo-message-copy-entity): Rewrite.
3299         (elmo-message-entity-number): Ditto.
3300         (elmo-message-entity-set-number): Ditto.
3301         (elmo-message-entity-field): Use elmo-message-entity-db.
3302         (elmo-message-entity-set-field): Ditto.
3303         (elmo-message-field): Rewrite.
3304
3305         * elmo-util.el (elmo-msgdb-get-last-message-id): Moved from
3306         elmo-msgdb.el
3307         (elmo-msgdb-get-message-id-from-buffer): Ditto.
3308
3309         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3310         elmo-message-entity-field.
3311         (elmo-shimbun-folder-shimbun-header): Ditto.
3312         (elmo-shimbun-entity-to-header): Ditto.
3313         (elmo-folder-msgdb-create): Ditto.
3314         (elmo-shimbun-msgdb-create-entity): Ditto;
3315         Use elmo-msgdb-create-message-entity-from-buffer.
3316         (elmo-shimbun-update-overview): Use elmo-message-entity-set-field.
3317         (elmo-map-folder-list-message-locations): elmo-message-entity-field.
3318
3319         * elmo-sendlog.el (elmo-folder-msgdb-create): Use
3320         elmo-msgdb-create-message-entity-from-file and 
3321         elmo-message-entity-field.
3322
3323         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3324         elmo-message-entity-number.
3325         (elmo-pop3-msgdb-create-message): Use
3326         elmo-msgdb-create-message-entity-from-buffer,
3327         elmo-message-entity-set-field, elmo-message-entity-number and
3328         elmo-message-entity-set-number.
3329
3330         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Follow
3331         the API change in elmo-msgdb-make-message-entity.
3332         (elmo-nntp-msgdb-create-message): Use
3333         elmo-msgdb-create-message-entity-from-buffer.
3334
3335         * elmo-nmz.el (elmo-nmz-msgdb-create-entity): Use
3336         elmo-message-entity-field and
3337         elmo-msgdb-create-message-entity-from-file.
3338
3339         * elmo-msgdb.el (toplevel): Don't require modb-entity.
3340         (elmo-msgdb-get-field): Abolish.
3341         (elmo-msgdb-get-number): Rewrite.
3342         (elmo-msgdb-sort-by-date): Use elmo-message-entity-field.
3343         (elmo-msgdb-flag-table): Ditto.
3344         (elmo-msgdb-get-last-message-id,
3345         elmo-msgdb-number-load, elmo-msgdb-overview-load,
3346         elmo-msgdb-mark-load, elmo-msgdb-number-save,
3347         elmo-msgdb-mark-save, elmo-msgdb-overview-save): Moved to modb-legacy.
3348         (elmo-msgdb-create-overview-from-buffer,
3349         elmo-msgdb-overview-get-parent-entity): Abolish.
3350
3351         * elmo-mime.el (elmo-mime-display-as-is): Use
3352         elmo-message-entity-field.
3353
3354         * elmo-map.el (elmo-folder-pack-numbers): Use
3355         elmo-message-entity-set-number.
3356
3357         * elmo-maildir.el (elmo-folder-msgdb-create): 
3358         elmo-msgdb-create-message-entity-from-file instead of
3359         elmo-msgdb-create-overview-entity-from-file.
3360
3361         * elmo-localdir.el (elmo-localdir-msgdb-create-entity): Added argument
3362         msgdb.
3363         (elmo-folder-msgdb-create): Use elmo-message-entity-field.
3364         (elmo-folder-pack-numbers): Use elmo-message-entity-set-number.
3365
3366         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Use
3367         elmo-messge-entity-field and elmo-message-entity-number.
3368         (elmo-imap4-fetch-callback-1): Call
3369         elmo-msgdb-create-message-entity-from-buffer instead of
3370         elmo-msgdb-create-overview-from-buffer. 
3371         (elmo-folder-msgdb-create-plugged): Use elmo-messge-entity-field.
3372         (elmo-find-fetch-strategy): Likewise.
3373
3374         * elmo-flag.el (elmo-folder-msgdb-create): Call 
3375         elmo-localdir-msgdb-create-entity with argument msgdb.
3376
3377         * elmo-dop.el (elmo-dop-msgdb): Use elmo-message-entity-number
3378         and elmo-message-entity-set-number.
3379
3380         * elmo-cache.el (elmo-folder-msgdb-create): Use
3381         elmo-message-entity-field.
3382         (elmo-folder-msgdb-create): Call
3383         elmo-msgdb-create-message-entity-from-file instead of
3384         elmo-msgdb-create-overview-entity-from-file.
3385
3386         * elmo-archive.el (elmo-archive-msgdb-create-entity-subr): Added
3387         argument msgdb; Call elmo-msgdb-create-message-from-buffer
3388         instead of elmo-msgdb-create-overview-from-buffer.
3389         (elmo-archive-msgdb-create-entity): Ditto.
3390         (elmo-archive-msgdb-create-as-numlist-subr1): Use
3391         elmo-message-entity-field.
3392         (elmo-archive-parse-mmdf): Ditto.
3393
3394         * modb-entity.el: Removed.
3395
3396         * elmo-version.el (elmo-version): Up to 2.11.16.
3397
3398 2003-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
3399
3400         * elmo-map.el (elmo-folder-unflag-answered): Added optional argument
3401         `is-local'.
3402         (elmo-folder-flag-as-answered): Ditto.
3403
3404 2003-09-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3405
3406         * modb-standard.el: New file.
3407
3408         * elmo.el (elmo-folder-clear): Reconstruct msgdb if
3409         elmo-msgdb-convert-type is `sync'.
3410
3411         * elmo-vars.el (elmo-msgdb-default-type): Added `standard'.
3412         (elmo-msgdb-convert-type): New user option.
3413
3414         * elmo-msgdb.el (elmo-msgdb-load-priorities): New internal variable.
3415         (elmo-load-msgdb): Auto detect saved type.
3416
3417         * elmo-version.el (elmo-version): Up to 2.11.15.
3418
3419 2003-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
3420
3421         * elmo-flag.el (elmo-folder-list-global-flag-messages): New function.
3422
3423         * elmo.el (elmo-folder-delete-messages): Added notice in docstring.
3424         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages
3425         with argument `delete-if-none' when dst-folder is 'null.
3426
3427         * elmo-flag.el (elmo-folder-append-messages): Defined.
3428         (elmo-global-flag-detach-messages): Added argumnet `delete-if-none'.
3429
3430 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3431
3432         * elmo-flag.el (elmo-folder-initialize): Fixed ("/.minfo"->".minfo").
3433
3434 2003-09-18  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3435
3436         * elmo-flag.el (elmo-folder-expand-msgdb-path): Define.
3437         (elmo-folder-initialize): Use `elmo-folder-msgdb-path'.
3438         (elmo-folder-commit): Ditto.
3439
3440 2003-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
3441
3442         * elmo-flag.el: New file.
3443
3444         * elmo-mark.el: Removed.
3445
3446         * modb-legacy.el (modb-legacy-new-mark,
3447         modb-legacy-unread-uncached-mark,
3448         modb-legacy-unread-cached-mark,
3449         modb-legacy-read-uncached-mark,
3450         modb-legacy-answered-cached-mark,
3451         modb-legacy-answered-uncached-mark,
3452         modb-legacy-important-mark): New constants (Moved from elmo-msgdb.el);
3453         All other related portions are changed.
3454
3455         * elmo.el (luna-define-class): Changed mark-modified to flag-modified.
3456         (elmo-folder-list-messages-with-global-mark): Abolish.
3457         (elmo-folder-unflag-important): Renamed from `mark' to `flag'.
3458         (elmo-folder-flag-as-important): Ditto.
3459         (elmo-folder-unflag-read): Ditto.
3460         (elmo-folder-flag-as-read): Ditto.
3461         (elmo-folder-unflag-answered): Ditto.
3462         (elmo-folder-flag-as-answered): Ditto.
3463         (elmo-message-encache): Return the cache path.
3464         (elmo-folder-move-messages): Call elmo-global-flag-detach-messages.
3465         (elmo-message-set-flag): Transitional implementation.
3466         (elmo-message-unset-flag): Ditto.
3467         (elmo-folder-unflag-important): Call elmo-global-flag-detach.
3468         (elmo-folder-flag-as-important): Call elmo-global-flag-set.
3469         (elmo-init): Call elmo-global-flag-initialize.
3470         (toplevel): Added autoload settings for elmo-flag.
3471
3472         * elmo-vars.el (elmo-msgdb-global-mark-filename): Abolished.
3473
3474         * elmo-util.el: Removed all elmo-msgdb-global-mark stuff.
3475         (elmo-file-cache-delete): Don't treat global-mark.
3476
3477         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3478
3479         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3480
3481         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Call
3482         `elmo-global-flags-set'.
3483
3484         * elmo-pipe.el (elmo-folder-flag-as-read): Renamed from `mark' to
3485         `flag'.
3486         (elmo-folder-unflag-read): Ditto.
3487         (elmo-folder-unflag-important): Ditto.
3488         (elmo-folder-flag-as-important): Ditto.
3489         (elmo-folder-unflag-answered): Ditto.
3490         (elmo-folder-flag-as-answered): Ditto.
3491
3492         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Call
3493         `elmo-global-flags-set'.
3494         (elmo-folder-flag-as-read): Renamed from `mark' to `flag'.
3495
3496         * elmo-nmz.el (elmo-folder-msgdb-create): Always put `new' flag.
3497
3498         * elmo-net.el (elmo-folder-unflag-important): Renamed from `mark' to
3499         `flag'.
3500         (elmo-folder-flag-as-important): Ditto.
3501         (elmo-folder-unflag-important): Ditto.
3502         (elmo-folder-flag-as-important): Ditto.
3503         (elmo-folder-unflag-read): Ditto.
3504         (elmo-folder-flag-as-read): Ditto.
3505         (elmo-folder-unflag-answered): Ditto.
3506         (elmo-folder-flag-as-answered): Ditto.
3507
3508         * elmo-multi.el (elmo-folder-list-importants): Don't call
3509         elmo-folder-list-messages-with-global-mark.
3510         (elmo-folder-flag-as-important): Renamed from `mark' to `flag'.
3511         (elmo-folder-unflag-important): Ditto.
3512         (elmo-folder-flag-as-read): Ditto.
3513         (elmo-folder-unflag-read): Ditto.
3514         (elmo-folder-flag-as-answered): Ditto.
3515         (elmo-folder-unflag-answered): Ditto.
3516
3517         * elmo-msgdb.el (elmo-msgdb-new-mark,
3518         elmo-msgdb-unread-uncached-mark, elmo-msgdb-unread-cached-mark,
3519         elmo-msgdb-read-uncached-mark, elmo-msgdb-answered-cached-mark,
3520         elmo-msgdb-answered-uncached-mark, elmo-msgdb-important-mark): Removed
3521         (Moved to modb-legacy.el).
3522         (elmo-flag-table-get): Treat important flag too.
3523
3524         * elmo-map.el (elmo-map-folder-unflag-important): Renamed from
3525         `mark' to `flag'.
3526         (elmo-map-folder-flag-as-important): Ditto.
3527         (elmo-map-folder-unflag-read): Ditto.
3528         (elmo-map-folder-flag-as-read): Ditto.
3529         (elmo-map-folder-unflag-answered): Ditto.
3530         (elmo-map-folder-flag-as-answered): Ditto.
3531         (elmo-folder-unflag-important): Ditto.
3532         (elmo-folder-flag-as-important): Ditto.
3533         (elmo-folder-unflag-read): Ditto.
3534         (elmo-folder-flag-as-read): Ditto.
3535         (elmo-folder-unflag-answered): Ditto.
3536         (elmo-folder-flag-as-answered): Ditto.
3537
3538         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3539         (elmo-map-folder-flag-as-important): Renamed from `mark' to
3540         `flag'.
3541         (elmo-map-folder-unflag-important): Ditto.
3542         (elmo-map-folder-flag-as-read): Ditto.
3543         (elmo-map-folder-unflag-read): Ditto.
3544         (elmo-map-folder-flag-as-answered): Ditto.
3545         (elmo-map-folder-unflag-answered): Ditto.
3546
3547         * elmo-localdir.el (elmo-folder-msgdb-create): Call
3548         `elmo-global-flags-set'.
3549         (elmo-global-flags-set): Added autoload setting.
3550
3551         * elmo-internal.el (elmo-internal-folder-list): Changed `mark' to
3552         `flag'.
3553
3554         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Don't call
3555         `elmo-msgdb-global-mark-set'.
3556         (elmo-folder-msgdb-create-plugged): Changed callback-data structure;
3557         Call `elmo-global-flags-set'.
3558         (elmo-folder-unflag-important-plugged): Renamed from `mark' to
3559         `flag'.
3560         (elmo-folder-flag-as-important-plugged): Ditto.
3561         (elmo-folder-unflag-read-plugged): Ditto.
3562         (elmo-folder-flag-as-read-plugged): Ditto.
3563         (elmo-folder-unflag-answered-plugged): Ditto.
3564         (elmo-folder-flag-as-answered-plugged): Ditto.
3565         (elmo-global-flags-set): Added autoload setting.
3566
3567         * elmo-filter.el (elmo-folder-flag-as-read): Renamed from `mark' to
3568         `flag'.
3569         (elmo-folder-unflag-read): Ditto.
3570         (elmo-folder-flag-as-important): Ditto.
3571         (elmo-folder-unflag-important): Ditto.
3572         (elmo-folder-flag-as-answered): Ditto.
3573         (elmo-folder-unflag-answered): Ditto.
3574
3575         * elmo-dop.el (elmo-dop-queue-merge-method-list): Follow the API
3576         change of `mark'->`flag'.
3577         (elmo-dop-queue-method-name-alist): Ditto.
3578         (elmo-folder-flag-as-read-dop): Renamed from `mark' to `flag'.
3579         (elmo-folder-unflag-read-dop): Ditto.
3580         (elmo-folder-flag-as-important-dop): Ditto.
3581         (elmo-folder-unflag-important-dop): Ditto.
3582         (elmo-folder-flag-as-answered-dop): Ditto.
3583         (elmo-folder-unflag-answered-dop): Ditto.
3584
3585         * elmo-cache.el (elmo-folder-msgdb-create): Call
3586         `elmo-global-flags-set'.
3587
3588         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3589         Call `elmo-global-flags-set'.
3590         (elmo-archive-msgdb-create-as-numlist-subr2): Call
3591         elmo-archive-parse-mmdf with argument `folder'.
3592         (elmo-archive-parse-mmdf): Added argument `folder';
3593         Call `elmo-global-flags-set'.
3594
3595         * elmo-version.el (elmo-version): Up to 2.11.14.
3596
3597 2003-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3598
3599         * modb.el (elmo-msgdb-length): Define.
3600
3601         * elmo.el (elmo-make-folder): Fixed.
3602         (elmo-generic-folder-append-messages): Follow the API change.
3603
3604         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Follow the
3605         API change.
3606
3607 2003-09-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3608
3609         * modb.el: New file.
3610
3611         * modb-entity.el: Ditto.
3612
3613         * modb-legacy.el: Ditto.
3614
3615         * elmo-msgdb.el (elmo-make-msgdb): Added 2nd argument `type'.
3616         (elmo-msgdb-get-number): Use `elmo-msgdb-message-entity' instead
3617         of `elmo-msgdb-overview-get-entity'.
3618         (elmo-msgdb-get-field): Ditto.
3619         (elmo-msgdb-merge): Moved to `elmo.el'.
3620         (elmo-msgdb-length): Removed; redefine as modb method.
3621         (elmo-msgdb-change-mark): Abolish.
3622         (elmo-msgdb-out-of-date-messages): Rewrite; don't use it.
3623         (elmo-msgdb-match-condition): Don't use mark.
3624         (elmo-msgdb-overview-get-entity): Abolish.
3625         Split modb part into `modb*.el'.
3626
3627         * elmo-vars.el (elmo-msgdb-default-type): New user option.
3628
3629         * elmo-shimbun.el (shimbun-mua-search-id): Use
3630         `elmo-msgdb-message-entity' instead of
3631         `elmo-msgdb-overview-get-entity'.
3632         (elmo-shimbun-folder-shimbun-header): Ditto.
3633         (elmo-shimbun-get-headers): Ditto.
3634         (elmo-shimbun-update-overview): Ditto.
3635
3636         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
3637
3638         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3639
3640         * elmo.el (elmo-folder-list-messages-with-global-mark): Ditto.
3641         (elmo-msgdb-merge): Moved from `elmo-msgdb.el'.
3642
3643         * elmo-mark.el (elmo-mark-folder-msgdb-create): Don't use
3644         `elmo-msgdb-mark-to-flags'.
3645
3646         * elmo-map.el (elmo-folder-pack-numbers): Don't use
3647         `elmo-msgdb-set-path'.
3648
3649         * elmo-localdir.el (elmo-folder-pack-numbers): Ditto.
3650  
3651         * elmo-version.el (elmo-version): Up to 2.11.13.
3652
3653         * elmo.el (elmo-generic-folder-commit): Don't load msgdb.
3654
3655         * elmo-mark.el (elmo-mark-folder-msgdb-create): Use flag instead
3656         of mark.
3657
3658 2003-09-14  TAKAHASHI Kaoru  <kaoru@kaisei.org>
3659
3660         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Fixed paren
3661         mismatch.
3662
3663 2003-09-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3664
3665         * elmo.el (elmo-message-cached-p): Use `elmo-message-flagged-p'
3666         instead of `elmo-msgdb-get-cached'.
3667         (elmo-message-set-cached): Don't use `elmo-msgdb-set-cached'.
3668
3669         * elmo-msgdb.el (elmo-msgdb-get-cached): Abolish.
3670         (elmo-msgdb-set-cached): Ditto.
3671         (elmo-msgdb-set-flag): Rewrite.
3672         (elmo-msgdb-unset-flag): Ditto.
3673
3674         * elmo-msgdb.el: Rewrite with luna.
3675
3676         * elmo.el (elmo-folder-msgdb-load): Renamed from `elmo-msgdb-load'.
3677         (elmo-folder-msgdb): Follow the change above.
3678         (elmo-generic-folder-commit): Use `elmo-msgdb-save'.
3679         (elmo-folder-unmark-important): Follow the API change.
3680         (elmo-folder-mark-as-important): Ditto.
3681         (elmo-folder-unmark-read): Ditto.
3682         (elmo-folder-mark-as-read): Ditto.
3683         (elmo-folder-unmark-answered): Ditto.
3684         (elmo-folder-mark-as-answered): Ditto.
3685         (elmo-folder-clear): Likewise.
3686
3687         * elmo-imap4.el (elmo-folder-open): Use `elmo-folder-msgdb-load'
3688         instead of `elmo-msgdb-load' (renamed).
3689
3690         * elmo-version.el (elmo-version): Up to 2.11.12.
3691
3692 2003-09-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3693
3694         * elmo.el (elmo-generic-folder-append-messages): Follow the API
3695         change.
3696         (elmo-message-mark): Abolish.
3697         (elmo-folder-synchronize): Use `elmo-msgdb-out-of-date-messages'
3698         instead of `elmo-msgdb-change-mark'.
3699
3700         * elmo-pipe.el (elmo-message-mark): Abolish.
3701
3702         * elmo-multi.el (elmo-message-mark): Ditto.
3703
3704         * elmo-msgdb.el (elmo-msgdb-new-mark): Changed to constant.
3705         (elmo-msgdb-unread-uncached-mark): Ditto.
3706         (elmo-msgdb-unread-cached-mark): Ditto.
3707         (elmo-msgdb-read-uncached-mark): Ditto.
3708         (elmo-msgdb-answered-cached-mark): Ditto.
3709         (elmo-msgdb-answered-uncached-mark): Ditto.
3710         (elmo-msgdb-important-mark): Ditto.
3711         (elmo-msgdb-flags-to-mark): Remove arguments `cached' and
3712         `use-cache'.
3713         (elmo-msgdb-append-entity): Changed 3rd arg from `mark' to
3714         `flags'.
3715         (elmo-flag-table-load): Changed flag to list of flag.
3716         (elmo-flag-table-set): If flags is nil, set read flag.
3717         (elmo-flag-table-get): Return derived flags from global mark,
3718         cache status and saved flags.
3719         (elmo-msgdb-flag-table): Follow the change above.
3720         (elmo-msgdb-out-of-date-messages): New function.
3721
3722         * elmo-shimbun.el (elmo-folder-msgdb-create): Follow the API change.
3723
3724         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3725
3726         * elmo-pop3.el (elmo-pop3-msgdb-create-message): Ditto.
3727
3728         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
3729         (elmo-nntp-msgdb-create-message): Ditto.
3730
3731         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3732
3733         * elmo-maildir.el (elmo-maildir-list-location): Treat flags as
3734         independent.
3735         (elmo-folder-msgdb-create): Follow the API change.
3736
3737         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3738         (elmo-folder-append-messages): Ditto.
3739
3740         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3741         (elmo-folder-append-buffer): Ditto.
3742
3743         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3744
3745         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3746
3747         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
3748         (elmo-archive-parse-mmdf): Ditto.
3749
3750         * elmo-version.el (elmo-version): Up to 2.11.11.
3751
3752 2003-09-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3753
3754         * elmo.el (elmo-message-flags): Use `elmo-msgdb-flags' instead of
3755         `elmo-msgdb-mark'.
3756
3757         * elmo-util.el (elmo-with-progress-display): Fixed edebug spec.
3758
3759         * elmo-pipe.el (elmo-message-flags): Defined.
3760
3761         * elmo-multi.el (elmo-message-flags): Ditto.
3762
3763 2003-09-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3764
3765         * elmo-msgdb.el (elmo-msgdb-delete-messages): Renamed from
3766         `elmo-msgdb-delete-msgs'.
3767
3768         * elmo.el (elmo-folder-count-flags): Don't use
3769         `elmo-msgdb-get-mark-alist'.
3770         (elmo-folder-detach-messages): Follow the API change.
3771
3772         * elmo.el (elmo-folder-list-messages): Append killed messages into
3773         result if `visible-only' is nil.
3774
3775         * elmo-nntp.el (elmo-nntp-catchup-msgdb): Return a list of
3776         canceled messages.
3777         (elmo-nntp-folder-msgdb-create): Kill messages which already canceled.
3778         (elmo-folder-update-number): Likewise.
3779
3780         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number): Abolish.
3781         (elmo-pop3-sort-msgdb-by-original-number): Use
3782         `elmo-msgdb-sort-entities'.
3783
3784         * elmo-msgdb.el (elmo-msgdb-sort-entities): New function.
3785         (elmo-msgdb-sort-by-date): Use it.
3786         (elmo-msgdb-overview-sort-by-date): Abolish.
3787
3788         * elmo-dop.el (elmo-folder-status-dop): Fixed.
3789
3790         * elmo-msgdb.el (elmo-msgdb-list-messages): Undo last change.
3791         (elmo-msgdb-flags): New function.
3792         (elmo-msgdb-merge): Use elmo-msgdb-append.
3793
3794         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed the last
3795         change.
3796
3797         * elmo-map.el (elmo-folder-pack-numbers): Ditto.
3798
3799         * elmo-dop.el (elmo-folder-status-dop): Use
3800         elmo-folder-list-messages instead of elmo-msgdb-list-messages.
3801
3802 2003-09-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3803
3804         * elmo-map.el (elmo-folder-pack-numbers): Rewrite.
3805
3806         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed last change.
3807
3808         * elmo-msgdb.el (elmo-msgdb-append-entity): Fixed.
3809
3810         * elmo-util.el (elmo-with-progress-display): New macro.
3811
3812         * elmo-localdir.el (elmo-folder-pack-numbers): Rewrite.
3813
3814 2003-09-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3815
3816         * elmo-shimbun.el (elmo-shimbun-folder-entity-hash): Use
3817         `elmo-folder-list-message-entities' instead of
3818         `elmo-msgdb-get-overview'.
3819         (elmo-map-folder-list-message-locations): Ditto.
3820
3821         * elmo-msgdb.el (elmo-msgdb-append): Rewrite (use interface
3822         methods instead of treat directly).
3823         (elmo-msgdb-clear): Ditto.
3824         (elmo-msgdb-delete-msgs): Ditto.
3825         (elmo-msgdb-sort-by-date): Ditto.
3826
3827         * elmo-nntp.el (elmo-nntp-msgdb-create-message): Removed unused
3828         local variables.
3829         (elmo-nntp-folder-msgdb-create): Follow the API change.
3830
3831         * elmo-version.el (elmo-version): Up to 2.11.10.
3832
3833 2003-08-30  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3834
3835         * elmo-msgdb.el (elmo-msgdb-mark-to-flags): New function.
3836         (elmo-msgdb-flags-to-mark): Ditto.
3837         (elmo-msgdb-append-entity): Ditto.
3838
3839         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
3840         Use `elmo-msgdb-append-entity' instead of construct msgdb.
3841         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
3842         (elmo-archive-parse-mmdf): Ditto.
3843
3844         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
3845
3846         * elmo-filter.el (elmo-folder-msgdb-create): Ditto.
3847
3848         * elmo-localdir.el (elmo-folder-msgdb-create): Ditto.
3849
3850         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
3851
3852         * elmo-mark.el (elmo-mark-folder-msgdb-create): Ditto.
3853
3854         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
3855
3856         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
3857
3858         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
3859
3860         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Ditto.
3861         (elmo-folder-msgdb-create-plugged): Set elmo-imap4-current-msgdb
3862         to empty msgdb.
3863
3864         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Use
3865         `elmo-msgdb-make-message-entity' and `elmo-msgdb-append-entity'
3866         instead of directly construction.
3867         (elmo-nntp-msgdb-create-message): Use `elmo-msgdb-append-entity'
3868         instead of construct msgdb.
3869
3870         * elmo-pop3.el (elmo-pop3-sort-msgdb-by-original-number): Use
3871         `elmo-msgdb-set-overview' instead of reconstruct msgdb.
3872         (elmo-pop3-msgdb-create-message): Use `elmo-msgdb-append-entity'
3873         instead of construct msgdb.
3874
3875 2003-08-28  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3876
3877         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Decode value
3878         when field is from or subject.
3879
3880 2003-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
3881
3882         * elmo-multi.el (elmo-message-entity-parent): Define.
3883         (elmo-folder-search): Rewrite.
3884
3885 2003-08-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3886
3887         * elmo-multi.el (elmo-message-cached-p): Define.
3888
3889         * elmo.el (elmo-message-cached-p): New method.
3890         (elmo-message-accessible-p): Use it instead of msgdb API directly.
3891         (elmo-message-flags): New method.
3892         (elmo-message-flagged-p): New function.
3893
3894         * elmo-version.el (elmo-version): Up to 2.11.9.
3895
3896 2003-08-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3897
3898         * elmo-version.el (elmo-version): Up to 2.11.8.
3899
3900         * elmo.el (elmo-folder-move-messages): Removed unused arguments.
3901
3902         * elmo-pipe.el (elmo-pipe-drain): Follow the change above.
3903
3904 2003-08-14  Yuuichi Teranishi  <teranisi@gohome.org>
3905
3906         * elmo.el (elmo-folder-detach-messages): Undo last change.
3907
3908 2003-08-13  Yuuichi Teranishi  <teranisi@gohome.org>
3909
3910         * elmo.el (elmo-folder-detach-messages): Don't load msgdb if empty.
3911
3912         * elmo-pipe.el (elmo-pipe-drain): Bind elmo-inhibit-number-mapping
3913         only when src folder type is pop3.
3914
3915 2003-08-12  Yuuichi Teranishi  <teranisi@gohome.org>
3916
3917         * elmo-msgdb.el (elmo-msgdb-make-index): Use
3918         elmo-msgdb-overview-entity-get-number instead of
3919         elmo-message-entity-number.
3920
3921 2003-08-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3922
3923         * elmo-version.el (elmo-version): Up to 2.11.7.
3924
3925 2003-08-07  Yuuichi Teranishi  <teranisi@gohome.org>
3926
3927         * elmo.el (elmo-folder-append-msgdb): Rewrite and define as an inline
3928         function.
3929
3930         * elmo-msgdb.el (elmo-msgdb-append): Use elmo-msgdb-make-index-return.
3931         (elmo-msgdb-merge): New function.
3932         (elmo-msgdb-make-index-return): Renamed from elmo-msgdb-make-index.
3933         (elmo-msgdb-make-index): Rewrite.
3934
3935         * elmo-version.el (elmo-version): Up to 2.11.6.
3936
3937         * elmo-msgdb.el (elmo-msgdb-list-messages): If argument is a string,
3938         use it as a the path for loading message entities.
3939
3940         * elmo-dop.el (elmo-folder-status-dop): Use elmo-msgdb-list-messages.
3941
3942 2003-08-05  Yuuichi Teranishi  <teranisi@gohome.org>
3943
3944         * elmo-filter.el (elmo-folder-set-message-modified): Set 
3945         message-modified slot of itself if it does not require target msgdb.
3946
3947         * elmo-mime.el (elmo-mime-message-display): Display message entirely
3948         if folder length is zero.
3949         (elmo-mime-display-as-is): Ditto.
3950
3951         * elmo-filter.el (elmo-folder-set-message-modified): Define.
3952
3953         * elmo-multi.el (elmo-folder-set-message-modified): Ditto.
3954
3955 2003-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3956
3957         * elmo.el (elmo-folder-set-message-modified): New method.
3958         (elmo-generic-folder-commit): Use it.
3959         (elmo-folder-synchronize): Ditto.
3960
3961         * elmo-pipe.el (elmo-folder-set-message-modified): Define.
3962         (elmo-folder-commit): Remove duplicate definition.
3963
3964 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3965
3966         * elmo.el (elmo-folder-list-message-entities): Ignore killed-list.
3967
3968 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
3969
3970         * elmo.el (elmo-msgdb-load): Use elmo-msgdb-list-messages.
3971         (elmo-strict-folder-diff): Ditto.
3972         (elmo-folder-set-info-max-by-numdb): Simplify.
3973
3974         * elmo-nntp.el (elmo-nntp-folder-msgdb-create): Use
3975         elmo-msgdb-list-messages.
3976
3977         * elmo-msgdb.el (elmo-msgdb-seen-save): Abolish.
3978         (elmo-msgdb-list-flagged): Fixed problem when `flag' is `read'.
3979
3980 2003-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
3981
3982         * elmo.el (elmo-folder-list-messages): Treat killed-list only when
3983         visible-only is non-nil.
3984         (elmo-folder-confirm-appends): Changed message.
3985         (elmo-folder-synchronize): Added argument disable-killed.
3986
3987         * elmo-multi.el (elmo-folder-synchronize): Added argument
3988         disable-killed.
3989
3990         * elmo-pipe.el (elmo-folder-synchronize): Ditto.
3991
3992         * elmo-version.el (elmo-version): Up to 2.11.5.
3993
3994         * elmo-multi.el (elmo-folder-search): Use nil for 1st argument of
3995         elmo-list-filter.
3996
3997         * elmo-util.el (elmo-list-filter): Simplify.
3998
3999         * elmo.el (elmo-generic-folder-commit): Use elmo-folder-list-messages.
4000         (elmo-folder-set-info-max-by-numdb): Changed argument to number list.
4001         (elmo-generic-folder-diff): Abolish argument.
4002         (elmo-msgdb-load): Don't use number-alist.
4003
4004         * elmo-filter.el (elmo-folder-diff): Abolish argument.
4005
4006         * elmo-pipe.el (elmo-folder-diff): Ditto.
4007
4008         * elmo-nmz.el (elmo-folder-diff): Ditto.
4009
4010         * elmo-net.el (elmo-folder-diff): Ditto.
4011
4012         * elmo-maildir.el (elmo-folder-diff): Ditto.
4013
4014         * elmo-imap4.el (elmo-folder-diff-async): Ditto.
4015
4016         * elmo-multi.el (elmo-folder-diff): Ditto
4017         (elmo-multi-folder-diff): Rewrite.
4018
4019 2003-08-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4020
4021         * elmo-pipe.el (elmo-folder-msgdb): Define.
4022
4023 2003-08-01  Yuuichi Teranishi  <teranisi@gohome.org>
4024
4025         * elmo.el (elmo-message-set-cached): Define as a method.
4026
4027         * elmo-pipe.el (elmo-message-set-cached): Define.
4028         (elmo-find-fetch-strategy): Ditto.
4029
4030         * elmo-multi.el (elmo-message-set-cached): Define.
4031         (elmo-find-fetch-strategy): Rewrite.
4032
4033         * elmo-mime.el (elmo-mime-message-display): Use elmo-message-entity.
4034
4035         * elmo-pipe.el (elmo-message-folder): Fixed definition.
4036
4037 2003-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
4038
4039         * elmo-msgdb.el (elmo-msgdb-list-messages): Use number of overviews
4040         instead of number-alist.
4041
4042         * elmo-localdir.el (elmo-folder-append-messages): Don't refer
4043         mark nor message-id when msgdb of source folder is not loaded.
4044
4045         * elmo.el (elmo-generic-folder-append-messages): Ditto.
4046
4047         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
4048
4049 2003-07-29  Yuuichi Teranishi  <teranisi@gohome.org>
4050
4051         * elmo.el (elmo-folder-length): Don't require msgdb.
4052
4053 2003-07-28  Yuuichi Teranishi  <teranisi@gohome.org>
4054
4055         * elmo.el (elmo-message-mark): Cause an error when empty folder.
4056         (elmo-message-field): Ditto.
4057
4058         * elmo-maildir.el (luna-define-class): Added slot `answered-locations'.
4059         (elmo-map-folder-list-message-locations): Setup `answered-locations'
4060         slot.
4061         (elmo-map-folder-list-answereds): Define.
4062         (elmo-maildir-list-location): Treat 'R' info.
4063         (elmo-folder-msgdb-create): Treat flag-table.
4064         (elmo-folder-append-messages): Save flag-table.
4065
4066 2002-05-05  David Smith <ultrasoul@ultrasoul.com>
4067
4068         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): 
4069         Use SELECT when elmo-imap4-use-select-to-update-status is t.
4070
4071 2003-07-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4072
4073         * elmo.el (elmo-generic-folder-append-messages): Fixed last change.
4074
4075         * elmo-localdir.el (elmo-folder-append-messages): Set flag as
4076         'read when mark is null.
4077
4078 2003-07-24  Yuuichi Teranishi  <teranisi@gohome.org>
4079
4080         * elmo-version.el (elmo-version): Up to 2.11.4.
4081
4082 2003-07-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4083
4084         * elmo-pipe.el (elmo-folder-unmark-answered): Define.
4085         (elmo-folder-mark-as-answered): Ditto.
4086
4087 2003-07-22  Yuuichi Teranishi  <teranisi@gohome.org>
4088
4089         * elmo-pop3.el (elmo-pop3-exists-exactly): Set default value as nil.
4090         (elmo-pop3-get-session): Make msgdb directory after session.
4091         (elmo-folder-exists-p): Check exactly at the first time even when the
4092         elmo-pop3-exists-exactly is nil.
4093
4094         * elmo-pipe.el (elmo-folder-open-internal): Don't drain here.
4095         (elmo-folder-list-messages): Define instead of
4096         elmo-folder-list-messages-internal.
4097         (elmo-folder-check): Check destination folder.
4098         (elmo-folder-synchronize): Drain the pipe.
4099
4100         * elmo-localdir.el (elmo-folder-append-messages): Don't cause an error
4101         when msgdb is not loaded.
4102
4103         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): Abolish.
4104
4105         * elmo-imap4.el (elmo-folder-list-messages-plugged): Fixed.
4106         (elmo-imap4-folder-diff-plugged): Use uidnext to calculate number of
4107         messages.
4108
4109         * elmo.el (elmo-folder-kill-messages-before): New function.
4110         (elmo-folder-kill-messages): Ditto.
4111         (elmo-folder-synchronize): Use elmo-folder-kill-messages-before.
4112
4113         * elmo-imap4.el (elmo-folder-list-messages-plugged): 
4114         Don't use elmo-msgdb-max-of-killed. It is harmful when messages are
4115         killed not by synchronize (e.g. scoring).
4116
4117 2003-07-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4118
4119         * elmo.el (elmo-folder-search-fast): Return t if condition is not
4120         treated.
4121         (elmo-folder-search): Follow the change above.
4122
4123         * elmo-util.el (elmo-read-search-condition-internal): Add `Flag'
4124         into the candidates of search field.
4125
4126 2003-07-21  Yuuichi Teranishi  <teranisi@gohome.org>
4127
4128         * elmo-msgdb.el (elmo-msgdb-set-flag): Overwrite answered flag.
4129         (elmo-msgdb-unset-flag): Ditto.
4130
4131         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Precedes Seen flag.
4132
4133 2003-07-19  Yuuichi Teranishi  <teranisi@gohome.org>
4134
4135         * elmo-pipe.el (elmo-folder-msgdb-create): Don't define.
4136         (elmo-folder-commit): Define.
4137         (elmo-folder-synchronize): Ditto.
4138         (elmo-folder-list-flagged): Ditto.
4139         (elmo-folder-commit): Ditto.
4140         (elmo-folder-length): Ditto.
4141         (elmo-folder-count-flags): Ditto.
4142         (elmo-message-mark): Ditto.
4143         (elmo-message-field): Ditto.
4144         (elmo-message-entity): Ditto.
4145         (elmo-message-folder): Ditto.
4146
4147 2003-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
4148
4149         * elmo.el (elmo-message-field): Define as a method.
4150
4151         * elmo-multi.el (elmo-message-entity): Fixed bug when no entity found.
4152         (elmo-message-field): Define.
4153
4154         * elmo.el (elmo-folder-list-unreads): Don't use msgdb API.
4155         (elmo-folder-list-importants): Ditto.
4156         (elmo-folder-list-answereds): Ditto.
4157
4158         * elmo-multi.el (elmo-folder-mark-as-important): Remove :before
4159         qualifier.
4160         (elmo-folder-mark-as-read): Ditto.
4161         (elmo-folder-unmark-read): Ditto.
4162         (elmo-folder-mark-as-answered): Ditto.
4163         (elmo-folder-unmark-answered): Ditto.
4164         (elmo-folder-list-flagged): Define.
4165         (elmo-folder-commit): Ditto.
4166         (elmo-folder-length): Ditto.
4167         (elmo-folder-count-flags): Ditto.
4168
4169 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4170
4171         * elmo.el (elmo-folder-detach-messages): New method.
4172         (elmo-folder-move-messages): Use it.
4173         (elmo-folder-synchronize): Ditto.
4174
4175         * elmo-multi.el (elmo-folder-detach-messages): Define.
4176
4177         * elmo.el (elmo-message-copy-entity): New function.
4178         (elmo-message-entity-set-number): Ditto.
4179         (elmo-message-mark): Define as method.
4180
4181         * elmo-multi.el (elmo-multi-real-folder-number): Changed position.
4182         (elmo-folder-synchronize): Return 0 (Should be reconsider).
4183         (elmo-message-entity): Fixed last change.
4184         (elmo-message-mark): Define.
4185         (elmo-folder-msgdb-create): Abolish.
4186         (elmo-multi-folder-append-msgdb): Ditto.
4187         (elmo-multi-folder-diff): Fixed.
4188         (elmo-multi-split-number-alist): Removed.
4189         (elmo-multi-split-mark-alist): Removed.
4190         (elmo-folder-list-messages): Define.
4191         (elmo-folder-list-messages-internal): Removed.
4192
4193         * elmo-localdir.el (elmo-folder-append-messages): Treat flags for
4194         local file messages.
4195         (elmo-folder-msgdb-create): Fixed read mark.
4196
4197 2003-07-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4198
4199         * elmo.el (elmo-generic-folder-append-messages): Set flag as nil
4200         if mark is nil.
4201
4202 2003-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
4203
4204         * elmo.el (elmo-folder-list-message-entities): Define as inline
4205         function.
4206         (elmo-folder-messages): Abolish.
4207
4208         * elmo-multi.el (elmo-folder-check): Call elmo-folder-check for each
4209         folder.
4210         (elmo-folder-synchronize): Define.
4211         (elmo-message-entity): Define.
4212
4213 2003-07-16  Yuuichi Teranishi  <teranisi@gohome.org>
4214
4215         * elmo-imap4.el (elmo-folder-delete-messages-plugged): Call
4216         elmo-imap4-session-select-mailbox.
4217
4218         * elmo.el (elmo-folder-move-messages): Don't display any message.
4219
4220         * elmo-imap4.el (elmo-imap4-send-command): Accept process output when
4221         parsing.
4222         (elmo-imap4-session-check): Don't wait CHECK response.
4223         (elmo-folder-delete-messages-plugged): Don't wait EXPUNGE response.
4224
4225 2003-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
4226
4227         * elmo.el (elmo-folder-synchronize): Fixed bug when sync-all.
4228
4229 2003-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
4230
4231         * elmo-multi.el (elmo-folder-process-crosspost): Follow the change in
4232         API.
4233         * elmo-nntp.el (elmo-folder-process-crosspost): Ditto.
4234
4235
4236         * elmo.el (elmo-folder-process-crosspost): Remove optional argument.
4237         (elmo-folder-list-message-entities): Added argument in-msgdb and
4238         numbers.
4239         (elmo-folder-synchronize): Define as a method.
4240
4241         * elmo-nntp.el (elmo-folder-initialize): Don't use
4242         elmo-nntp-default-user if zero-length username is specified
4243         explicitly.
4244
4245 2003-07-06  Yoichi NAKAYAMA  <yoichi@geiin.org>
4246
4247         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't omit
4248         server name in case with username.
4249         (XXX: this is ad-hoc fix against username includes "@", it
4250         should be solved fundamentally)
4251
4252 2003-07-05  Yoichi NAKAYAMA  <yoichi@geiin.org>
4253
4254         * elmo-nntp.el (elmo-nntp-debug): New function.
4255         (elmo-nntp-send-command, elmo-nntp-process-filter): Call it.
4256         (elmo-network-authenticate-session): Hide auth-info from the log.
4257
4258         * elmo-nntp.el (elmo-nntp-folder-list-subfolders): Don't append
4259         user name if it is equal to elmo-nntp-default-user.
4260
4261 2003-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
4262
4263         * elmo-shimbun.el (elmo-shimbun-get-headers): Use shimbun-server
4264         instead of shimbun-server-internal;
4265         Use shimbun-current-group instead of shimbun-current-group-internal.
4266         (elmo-folder-plugged-p): Use shimbun-server instead of
4267         shimbun-server-internal.
4268         (elmo-folder-set-plugged): Ditto.
4269         (elmo-net-port-info): Ditto.
4270         (elmo-folder-check): Ditto.
4271         (elmo-folder-expand-msgdb-path): Ditto.
4272         (elmo-folder-list-subfolders): Ditto.
4273
4274 2003-05-18  Yoichi NAKAYAMA  <yoichi@geiin.org>
4275
4276         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra-field):
4277         Convert field-name to lower case.
4278         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
4279
4280 2003-05-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
4281
4282         * acap.el, elmo-imap4.el, elmo-nntp.el, elmo-util.el, pldap.el:
4283         `message' and `error' take format string.
4284
4285 2003-04-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4286
4287         * elmo-pipe.el (elmo-folder-clear): Implemented clear copied-list.
4288
4289 2003-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4290
4291         * elmo-msgdb.el (elmo-msgdb-message-entity-field): Don't use self
4292         recursive call (can't byte compile on emacs 20.7).
4293
4294 2003-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
4295
4296         * elmo.el (elmo-folder-list-messages): Redefine as a luna method.
4297         (elmo-folder-list-message-entities): New API.
4298         (elmo-message-entity): Ditto.
4299         (elmo-message-entity-parent): Ditto.
4300         (elmo-folder-do-each-message-entity): Ditto.
4301         (elmo-message-entity-number): Ditto.
4302         (elmo-message-entity-field): Ditto.
4303         (elmo-message-entity-set-field): Ditto.
4304         (elmo-folder-count-flags): Ditto.
4305         (elmo-folder-length): Ditto.
4306
4307         * elmo-util.el (elmo-get-hash-val): Check whether hashtable is nil or
4308         not.
4309
4310         * elmo-msgdb.el (elmo-msgdb-list-messages): New function.
4311         (elmo-msgdb-count-marks): Abolish.
4312         (elmo-msgdb-make-entity): Ditto.
4313         (elmo-msgdb-do-each-entity): Ditto.
4314         (elmo-msgdb-message-entity): New inline function.
4315         (elmo-msgdb-message-entity-field): Ditto.
4316         (elmo-msgdb-message-entity-set-field): Ditto.
4317         (elmo-msgdb-make-message-entity): New function.
4318
4319 2003-03-25  Yuuichi Teranishi  <teranisi@gohome.org>
4320
4321         * elmo.el (elmo-folder-append-buffer): Changed argument from unread 
4322         to flag. (All other related portions are changed.)
4323         (elmo-folder-msgdb-create): Likewise.
4324         (elmo-generic-folder-append-messages): Use flag-table instead of
4325         seen-list.
4326         (elmo-folder-move-messages): Removed redundant process.
4327         (elmo-folder-synchronize): Likewise.
4328
4329         * elmo-msgdb.el (elmo-flag-table-get): New function.
4330         (elmo-flag-table-save): Fixed.
4331         (elmo-msgdb-length): New inline function.
4332         (elmo-msgdb-flag-table): New function.
4333         (elmo-msgdb-mark): Add optional argument new.
4334         (elmo-msgdb-add-msgs-to-seen-list): Abolish.
4335         (elmo-msgdb-seen-list): Ditto.
4336         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
4337
4338
4339 2003-03-24  Yuuichi Teranishi  <teranisi@gohome.org>
4340
4341         * elmo.el (elmo-message-set-mark): Abolish.
4342         (elmo-folder-unmark-important): Added optional argument `ignore-flag'.
4343         (All related portions are changed.)
4344
4345         * elmo-msgdb.el (toplevel): Added comment.
4346         (elmo-load-msgdb): Added 4th element `path'.
4347         (elmo-msgdb-append): Follow the change above.
4348         (elmo-msgdb-clear): Ditto.
4349         (elmo-msgdb-delete-msgs): Ditto.
4350         (elmo-msgdb-get-path): New inline function.
4351         (elmo-msgdb-set-path): Ditto.
4352         (elmo-flag-table-filename): New variable.
4353         (elmo-flag-table-load): New function.
4354         (elmo-flag-table-set): Ditto.
4355         (elmo-flag-table-save): Ditto.
4356         (elmo-msgdb-get-field-value): Abolish.
4357         (elmo-msgdb-overview-get-entity-by-number): Ditto.
4358
4359 2003-03-30  Yoichi NAKAYAMA  <yoichi@geiin.org>
4360
4361         * elmo.el (elmo-folder-delete): Confirm deletion here, return t if
4362         the folder has been deleted successfully.
4363         * elmo-imap4.el (elmo-folder-delete): Ditto.
4364         * elmo-archive.el (elmo-folder-delete): Ditto.
4365         * elmo-localdir.el (elmo-folder-delete): Ditto.
4366         * elmo-maildir.el (elmo-folder-delete): Ditto.
4367
4368 2003-03-27  Tetsurou Okazaki  <okazaki@be.to>
4369
4370         * elmo-util.el (elmo-string-member-ignore-case): New function.
4371         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Use it.
4372         (elmo-imap4-fetch-callback-1-subr): Likewise.
4373
4374 2003-03-27  Kimura Fuyuki <fuyuki@hadaly.org>
4375
4376         * elmo-imap4.el (elmo-imap4-response-get-selectable-mailbox-list): Fix
4377         the case of the name attribute "\Noselect".
4378
4379 2003-02-16  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4380
4381         * elmo.el (elmo-folder-rename-internal): New method to cause error.
4382
4383         * elmo-localdir.el (elmo-folder-pack-numbers): onum, a member of
4384         flist, is not always a member of onum-alist.
4385
4386 2003-02-14  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4387
4388         * elmo-version.el (elmo-version): Up to 2.11.3.
4389
4390 2003-02-10  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4391
4392         * elmo-maildir.el (elmo-folder-rename-internal): New method,
4393         copied from localdir's one.
4394
4395         * elmo-pipe.el (elmo-folder-rename): New method, rename
4396         destination folder with leaving source folder as it is.
4397
4398 2003-02-08  KAMO Tomoyuki  <kamo@ITmanage.co.jp>
4399
4400         * elmo-nntp.el (elmo-nntp-get-folders-info): Don't use
4401         replace-regexp.
4402
4403 2003-02-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4404
4405         * elmo-version.el (elmo-version): Up to 2.11.2.
4406
4407 2003-02-05  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4408
4409         * elmo-shimbun.el (elmo-folder-initialize): Do not call
4410         shimbun-open in case of "@".
4411         (elmo-folder-open-internal): Cope with shimbun = nil case.
4412         (elmo-folder-plugged-p): Ditto.
4413         (elmo-folder-list-subfolders): Make list for "@/" group.
4414
4415 2003-01-31  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4416
4417         * elmo-imap4.el (elmo-folder-expand-msgdb-path): Don't expand
4418         mailbox (e.g. for %~/something).
4419
4420 2003-01-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4421
4422         * elmo-localdir.el (elmo-folder-rename-internal): Referctoring;
4423         Replace nested conditional with guard clauses.
4424
4425 2003-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
4426
4427         * pldap.el (ldap-search-basic): Don't treat exit status 32 as an
4428         error [wl:11327].
4429
4430         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Bind print-level,
4431         print-depth.
4432
4433 2003-01-30  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4434
4435         * elmo-archive.el (elmo-folder-rename-internal): Referctoring;
4436         Replace nested conditional with guard clauses.
4437
4438 2003-01-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4439
4440         * elmo-util.el (elmo-object-save): Bind print-level, print-length.
4441         (elmo-passwd-alist-save): Ditto.
4442         * elmo-database.el (elmo-database-msgid-put): Bind print-length.
4443
4444 2003-01-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4445
4446         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Expand
4447         dir-name only if it is absolute path.
4448         (TODO: distinguish +/something and +something)
4449
4450 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4451
4452         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Correct msgdb
4453         path for "+~/something".
4454
4455 2003-01-15  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4456
4457         * elmo-localdir.el (elmo-folder-rename-internal): If new-dir exist
4458         as non-directory, cause error before rename-file.
4459         * elmo-archive.el (elmo-folder-rename-internal): Create directory
4460         apropriately, mimic localdir's one.
4461         Based on the patch from KAMO Tomoyuki <kamo@ITmanage.co.jp>.
4462
4463 2003-01-10  Tsutomu OKADA  <okada@furuno.co.jp>
4464
4465         * elmo-map.el (elmo-folder-pack-numbers): Fix name of the function.
4466
4467 2003-01-06  Yuuichi Teranishi  <teranisi@gohome.org>
4468
4469         * elmo-msgdb.el: Moved global mark handling stuffs to elmo-util.el.
4470
4471         * elmo-util.el: Moved global mark handling stuffs from elmo-msgdb.el.
4472         
4473         * elmo-util.el (elmo-file-cache-delete): Check whether the cache file
4474         is included in the global-mark or not.
4475
4476 2002-12-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4477
4478         * utf7.el (toplevel): Avoid error when the function
4479         find-coding-system does not exist.
4480
4481 2002-12-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4482
4483         * elmo-nntp.el (elmo-folder-search): Body search is to search from
4484         cache even if the folder is plugged.
4485         (elmo-nntp-search-primitive): Do nothing when body search is
4486         invoked (although it is not used by the change above).
4487         * elmo-multi.el (elmo-folder-search): Don't ignore error anymore.
4488
4489 2002-12-20  Kenichi OKADA  <okada@opaopa.org>
4490
4491         * elmo-version.el (elmo-version): Up to 2.11.1.
4492
4493 2002-12-10  Kenichi OKADA  <okada@opaopa.org>
4494
4495         * elmo-archive.el: Specify charset.
4496
4497 2002-12-04  Yuuichi Teranishi  <teranisi@gohome.org>
4498
4499         * elmo-pop3.el (elmo-pop3-process-filter): Check whether the pop3
4500         process buffer lives or not.
4501
4502         * elmo-dop.el (elmo-dop-queue-flush): Don't append to the dop-queue
4503         while flushing queues (It causes infinite loop).
4504
4505 2002-11-26  Yuuichi Teranishi  <teranisi@gohome.org>
4506
4507         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed last change.
4508
4509 2002-11-24  Yuuichi Teranishi  <teranisi@gohome.org>
4510
4511         * utf7.el (toplevel): Check the ucs features dynamically.
4512         (Advice from Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>)
4513
4514         * elmo-pipe.el (elmo-folder-creatable-p): Don't check whether the
4515         folder is creatabe or not if it already exists.
4516
4517 2002-11-21  Yuuichi Teranishi  <teranisi@gohome.org>
4518
4519         * elmo-nntp.el (elmo-nntp-search-primitive): Revert the last change.
4520
4521         * elmo-multi.el (elmo-folder-search): Ignore errors while search.
4522
4523         * elmo-imap4.el (elmo-imap4-response-garbage-p): New macro.
4524         (elmo-imap4-read-response): Take care of garbage response.
4525
4526 2002-11-20  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4527
4528         * elmo-nntp.el (elmo-nntp-search-primitive): Fix the last change,
4529         just return nil instead of error.
4530
4531 2002-11-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4532
4533         * elmo-nntp.el (elmo-nntp-search-primitive): Cause error when the
4534         search-key is "body".
4535
4536 2002-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
4537
4538         * elmo-imap4.el (elmo-folder-list-subfolders): Check the return value
4539         of elmo-string-matched-assoc to use match-data.
4540         (Thanks to Mito <mito@mxa.nes.nec.co.jp>)
4541
4542 2002-11-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4543
4544         * elmo-split.el (elmo-split->): New function.
4545         (elmo-split-<): Ditto.
4546
4547 2002-11-14  Yuuichi Teranishi  <teranisi@gohome.org>
4548
4549         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Added
4550         workaround for invalid message-id.
4551
4552 2002-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
4553
4554         * elmo-pop3.el (elmo-pop3-get-session): If if-exists is 'any-exists,
4555         return normal pop3 session or pop3 biff session.
4556
4557 2002-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
4558
4559         * elmo-maildir.el (elmo-maildir-update-current): Don't append
4560         info part to the cur files when the new files already have it.
4561         (Adviced by Jared Rhine <jared@wordzoo.com>)
4562
4563 2002-11-06  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4564
4565         * elmo-split.el (elmo-split-default-action): New variable.
4566         (elmo-split-subr): Use it if all other conditions are passed.
4567         Extend `fname' and rename it as `action'. (implemented
4568         Teranishi-san's idea in [wl:10800])
4569
4570 2002-10-29  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4571
4572         * elmo-imap4.el: Remove Nemacs hack, replace `elmo-read' by `read'.
4573         * elmo-util.el: Ditto.
4574
4575 2002-10-28  Yuuichi Teranishi  <teranisi@gohome.org>
4576
4577         * elmo.el (elmo-message-accessible-p): Renamed from
4578         elmo-message-cached-p and rewritten.
4579
4580 2002-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
4581
4582         * elmo.el (elmo-folder-list-flagged): New generic function.
4583         (elmo-folder-list-importants): New implementation.
4584         (elmo-folder-list-answereds): Ditto.
4585         (elmo-folder-search-fast):  Use 'flag' instead of 'mark';
4586         Added 'digest'.
4587         (elmo-message-cached-p): New function.
4588         (elmo-message-set-flag): Ditto (no content).
4589         (elmo-message-unset-flag): Ditto.
4590         (elmo-folder-list-messages-mark-match): Abolish.
4591
4592         * elmo-util.el (elmo-regexp-opt): New function.
4593
4594         * elmo-msgdb.el (elmo-msgdb-get-cached): New function.
4595         (elmo-msgdb-match-condition-primitive): Use 'flag' instead of 'mark';
4596         Added 'digest'.
4597         (elmo-msgdb-list-flagged): New function.
4598
4599         * elmo-imap4.el (elmo-imap4-folder-list-digest-plugged): New function.
4600         (elmo-imap4-search-internal-primitive): Use 'flag' instead of 'mark';
4601         Added 'digest'.
4602
4603         * elmo-filter.el (elmo-folder-diff): Use 'flag' instead of 'mark'.
4604
4605 2002-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
4606
4607         * elmo-version.el (elmo-version): Up to 2.11.0.
4608
4609 2002-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4610
4611         * elmo-msgdb.el (elmo-msgdb-set-flag): Use
4612         `elmo-file-cache-exists-p'; use proper mark that depends on
4613         `use-cache'.
4614         (elmo-msgdb-unset-flag): Ditto.
4615         (elmo-msgdb-set-cached): Ditto. added argument `use-cache'.
4616
4617         * elmo.el (elmo-message-set-cached): Call `elmo-msgdb-set-cached'
4618         with 4th argument `use-cache'.
4619
4620 2002-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
4621
4622         * elmo.el (elmo-folder-unmark-important): Follow the changes above.
4623         (elmo-folder-mark-as-important): Ditto.
4624         (elmo-folder-unmark-read): Ditto.
4625         (elmo-folder-mark-as-read): Ditto.
4626         (elmo-folder-unmark-answered): Ditto.
4627         (elmo-folder-mark-as-answered): Ditto.
4628
4629         * elmo-msgdb.el (elmo-msgdb-set-cached): Use the term 'flag' for
4630         message status.
4631         (elmo-msgdb-mark): Likewise.
4632         (elmo-msgdb-set-flag): Renamed from elmo-msgdb-set-status.
4633         (elmo-msgdb-unset-flag): Likewise.
4634
4635         * elmo.el (elmo-generic-folder-diff): Avoid byte-compile warning.
4636
4637 2002-10-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4638
4639         * elmo-filter.el (elmo-folder-diff): Fixed condition checking
4640         `last:' filter.
4641
4642 2002-10-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4643
4644         * elmo-dop.el (elmo-folder-status-dop): If spool-folder is absent,
4645         set spool-length to 0.
4646
4647 2002-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4648
4649         * elmo-dop.el (elmo-dop-queue-flush): Check obsolete at first.
4650         (elmo-dop-queue-flush): Fixed last change.
4651
4652 2002-10-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4653
4654         * elmo-filter.el (elmo-folder-list-unreads): Call generic method
4655         if require-msgdb slot is nil.
4656         (elmo-folder-list-importants): Likewise.
4657
4658 2002-09-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4659
4660         * elmo.el (elmo-message-set-cached): Set mark-modified slot if
4661         mark is changed.
4662
4663         * elmo-msgdb.el (elmo-msgdb-set-mark): Return t.
4664         (elmo-msgdb-set-cached): Undo last change; return non-nil if mark
4665         is changed.
4666
4667 2002-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
4668
4669         * elmo-msgdb.el (elmo-msgdb-set-cached): Set mark-modified slot.
4670
4671 2002-09-24  Yuuichi Teranishi  <teranisi@gohome.org>
4672
4673         * elmo-msgdb.el (elmo-msgdb-unset-status): Set mark-modified slot.
4674
4675         * elmo-multi.el (elmo-folder-close): Set msgdb of children as nil.
4676
4677 2002-09-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4678
4679         * elmo-msgdb.el (elmo-msgdb-set-status): Fixed logic (new to read).
4680         (elmo-msgdb-uncached-marks): Added elmo-msgdb-new-mark.
4681
4682 2002-09-24  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4683
4684         * elmo.el: Add autoload setting for elmo-nntp-post, fix against
4685         the problem reported by Sean Rima [wl-en:180].
4686
4687 2002-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
4688
4689         * elmo-filter.el (elmo-folder-diff): Treat 'mark:' filter.
4690
4691         * elmo.el (elmo-folder-unmark-read): Added argument `ignore-flag'.
4692
4693         * elmo-filter.el (elmo-folder-unmark-read): Ditto.
4694
4695         * elmo-map.el (elmo-folder-unmark-read): Ditto.
4696
4697         * elmo-multi.el (elmo-folder-unmark-read): Ditto.
4698
4699         * elmo-net.el (elmo-folder-unmark-read): Ditto.
4700
4701         * elmo-pipe.el (elmo-folder-unmark-read): Ditto.
4702
4703 2002-09-18  Yuuichi Teranishi  <teranisi@gohome.org>
4704
4705         * elmo-imap4.el (elmo-imap4-parse-status): Skip white spaces after
4706         status number.
4707
4708 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4709
4710         * elmo.el (elmo-folder-mark-as-read): Added argument `ignore-flag'.
4711         (elmo-folder-mark-as-read): Follow the API change.
4712         (elmo-message-set-cached): New function.
4713
4714         * elmo-pipe.el (elmo-folder-mark-as-read): Follow the API change.
4715
4716         * elmo-nntp.el (elmo-folder-mark-as-read): Set :before qualifier.
4717
4718         * elmo-net.el (elmo-folder-unmark-important): Set :before qualifier.
4719         (elmo-folder-mark-as-important): Ditto.
4720         (elmo-folder-unmark-read): Ditto.
4721         (elmo-folder-mark-as-read): Ditto.
4722         (elmo-folder-unmark-answered): Ditto.
4723         (elmo-folder-mark-as-answered): Ditto.
4724
4725         * elmo-multi.el (elmo-folder-mark-as-important): Set :before qualifier.
4726         (elmo-folder-unmark-important): Ditto.
4727         (elmo-folder-mark-as-read): Ditto.
4728         (elmo-folder-unmark-read): Ditto.
4729         (elmo-folder-mark-as-answered): Ditto.
4730         (elmo-folder-unmark-answered): Ditto.
4731
4732         * elmo-mark.el (toplevel): Removed some mark method definitions.
4733
4734         * elmo-map.el (elmo-map-folder-unmark-answered): New method.
4735         (elmo-map-folder-mark-as-answered): Ditto.
4736         (elmo-folder-unmark-important): Add :before qualifier.
4737         (elmo-folder-mark-as-important): Ditto.
4738         (elmo-folder-unmark-read): Ditto.
4739         (elmo-folder-mark-as-read): Ditto.
4740         (elmo-folder-unmark-answered): Define.
4741         (elmo-folder-mark-as-answered): Ditto.
4742
4743         * elmo-maildir.el (elmo-map-folder-mark-as-answered): Define.
4744         (elmo-map-folder-unmark-answered): Ditto.
4745
4746         * elmo-filter.el (elmo-folder-mark-as-read): Follow the API change.
4747
4748         * elmo-net.el (elmo-folder-unmark-important): Added :around qualifier.
4749         (elmo-folder-mark-as-important): Ditto.
4750         (elmo-folder-unmark-read): Ditto.
4751         (elmo-folder-mark-as-read): Ditto.
4752         (elmo-folder-unmark-answered): Ditto.
4753         (elmo-folder-mark-as-answered): Ditto.
4754
4755         * elmo-msgdb.el (elmo-msgdb-match-condition-primitive): Added argument
4756         `mark'; evaluate mark condition.
4757         (elmo-msgdb-match-condition-internal): New function.
4758         (elmo-msgdb-match-condition): Call it; changed argument.
4759
4760         * elmo.el (elmo-folder-search): Follow the API change on
4761         `elmo-msgdb-match-condition'.
4762
4763 2002-09-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
4764
4765         * elmo-filter.el (elmo-folder-msgdb-create): Add to mark-alist if
4766         original mark is non-nil.
4767
4768 2002-09-17  Yuuichi Teranishi  <teranisi@gohome.org>
4769
4770         * elmo-map.el (elmo-map-folder-list-unreads): Define default behavior.
4771         (elmo-map-folder-list-answereds): New method.
4772         (elmo-folder-list-unreads): Add :around qualifier.
4773         (elmo-folder-list-importants): Ditto.
4774         (elmo-folder-list-answereds): Ditto.
4775
4776 2002-09-16  Yuuichi Teranishi  <teranisi@gohome.org>
4777
4778         * elmo-msgdb.el (elmo-msgdb-mark): New inline function.
4779
4780         * elmo-filter.el (elmo-folder-msgdb-create): Call target-folder's
4781         method if msgdb is not required.
4782         (elmo-filter-folder-list-importants): Don't treat global-mark.
4783
4784         * elmo.el (elmo-folder-list-importants): Ditto.
4785
4786         * elmo-net.el (elmo-folder-list-importants): Ditto.
4787
4788         * elmo-map.el (elmo-folder-list-importants): Ditto.
4789
4790         * elmo-msgdb.el (elmo-msgdb-seen-list): Use `elmo-msgdb-unread-marks'
4791
4792         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Set answered mark.
4793         (elmo-imap4-folder-list-any-plugged): New function.
4794         (elmo-imap4-search-internal-primitive): Use it.
4795
4796         * elmo-filter.el (elmo-folder-check): Synchronize original folder
4797         only when require-msgdb slot is non-nil.
4798         (elmo-folder-close): Clear target folder's msgdb.
4799
4800 2002-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
4801
4802         * elmo-pop3.el (elmo-folder-msgdb-create): Follow the API change.
4803         (elmo-pop3-msgdb-create-by-header): Ditto.
4804         (elmo-pop3-msgdb-create-message): Ditto.
4805
4806         * elmo-shimbun.el (elmo-folder-msgdb-create): Ditto.
4807
4808         * elmo-sendlog.el (elmo-folder-msgdb-create): Ditto.
4809
4810         * elmo-nmz.el (elmo-folder-msgdb-create): Ditto.
4811
4812         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string): Ditto.
4813         (elmo-folder-msgdb-create): Ditto.
4814         (elmo-nntp-folder-msgdb-create): Ditto.
4815         (elmo-nntp-msgdb-create-by-header): Ditto.
4816         (elmo-nntp-msgdb-create-message): Ditto.
4817         (elmo-folder-list-unreads): Define.
4818
4819         * elmo-pipe.el (elmo-folder-msgdb-create): Ditto.
4820         (elmo-folder-append-messages): Ditto.
4821         (elmo-folder-list-unreads): Define.
4822         (elmo-folder-list-importants): Ditto.
4823         (elmo-folder-list-answereds): Ditto.
4824
4825         * elmo-net.el (elmo-folder-list-unreads): Define.
4826         (elmo-folder-list-importants): Ditto.
4827         (elmo-folder-list-answereds): Ditto.
4828         (elmo-folder-list-answereds-plugged): Ditto.
4829         (elmo-folder-msgdb-create): Follow the API change.
4830         (elmo-folder-msgdb-create-unplugged): Ditto.
4831         (elmo-folder-unmark-answered): Define.
4832         (elmo-folder-mark-as-answered-unplugged): Ditto.
4833         (elmo-folder-unmark-answered-unplugged): Ditto.
4834
4835         * elmo-msgdb.el (elmo-msgdb-new-mark): New user option.
4836         (elmo-msgdb-unread-uncached-mark): Ditto.
4837         (elmo-msgdb-unread-cached-mark): Ditto.
4838         (elmo-msgdb-read-uncached-mark): Ditto.
4839         (elmo-msgdb-answered-cached-mark): Ditto.
4840         (elmo-msgdb-answered-uncached-mark): Ditto.
4841         (elmo-msgdb-important-mark): Ditto.
4842         (elmo-msgdb-set-mark): Rewrite.
4843         (elmo-msgdb-count-marks): Rewrite.
4844         (elmo-msgdb-mark-alist-set): Abolish.
4845         (elmo-msgdb-seen-list): Removed argument `seen-marks'.
4846         (elmo-msgdb-add-msgs-to-seen-list): Likewise.
4847
4848         * elmo-multi.el (elmo-folder-check): Call elmo-folder-synchronize.
4849         (elmo-folder-close): Define.
4850         (elmo-folder-msgdb-create): Follow the API change.
4851         (elmo-folder-list-unreads): Rewrite.
4852         (elmo-folder-mark-as-important): Ditto.
4853         (elmo-folder-unmark-important): Ditto.
4854         (elmo-folder-mark-as-read): Ditto.
4855         (elmo-folder-unmark-read): Ditto.
4856         (elmo-folder-mark-as-answered): Define.
4857         (elmo-folder-unmark-answered): Ditto.
4858
4859         * elmo-localdir.el (elmo-folder-msgdb-create): Follow the API change.
4860         (elmo-folder-append-messages): Ditto.
4861
4862         * elmo-mark.el (elmo-folder-msgdb-create): Ditto.
4863
4864         * elmo-map.el (elmo-folder-list-unreads): Ditto.
4865         (elmo-folder-list-importants): Ditto.
4866
4867         * elmo-maildir.el (elmo-folder-msgdb-create): Ditto.
4868         (elmo-folder-append-messages): Ditto.
4869
4870         * elmo-imap4.el (elmo-imap4-fetch-callback-1-subr): Follow the API
4871         change.
4872         (elmo-folder-msgdb-create-plugged): Ditto.
4873         (elmo-folder-append-messages): Ditto.
4874         (elmo-folder-list-answereds-plugged): Define.
4875         (elmo-imap4-search-internal-primitive): Add `mark' processing.
4876         (elmo-folder-unmark-answered-plugged): Define.
4877         (elmo-folder-mark-as-answered-plugged): Ditto.
4878         (elmo-folder-search-requires-msgdb-p): Ditto.
4879
4880         * elmo-filter.el (elmo-filter-folder): Added new slot 'require-msgdb'.
4881         (elmo-folder-initialize): Set it.
4882         (elmo-folder-msgdb): Define.
4883         (elmo-folder-check): Call elmo-folder-synchronize.
4884         (elmo-folder-close): Define.
4885         (elmo-folder-commit): Ditto.
4886         (elmo-folder-msgdb-create): Rewrite.
4887         (elmo-folder-list-unreads): Ditto.
4888         (elmo-folder-list-importants): Ditto.
4889         (elmo-folder-mark-as-read): Ditto.
4890         (elmo-folder-unmark-read): Ditto.
4891         (elmo-folder-mark-as-important): Ditto.
4892         (elmo-folder-unmark-important): Ditto.
4893         (elmo-folder-mark-as-answered): Define.
4894         (elmo-folder-unmark-answered): Ditto.
4895
4896         * elmo-dop.el (elmo-dop-queue-merge-method-list): Added
4897         elmo-folder-mark-as-answered, elmo-folder-unmark-answered.
4898         (elmo-dop-queue-method-name-alist): Likewise.
4899         (elmo-folder-mark-as-answered-dop): New inline function.
4900         (elmo-folder-unmark-answered-dop): Ditto.
4901         (elmo-folder-status-dop): Treat spool-length as 0 if it does not exist.
4902
4903         * elmo-archive.el (elmo-folder-append-messages): Follow the API change.
4904         (elmo-folder-msgdb-create): Ditto.
4905         (elmo-archive-msgdb-create-as-numlist-subr1): Ditto.
4906         (elmo-archive-msgdb-create-as-numlist-subr2): Ditto.
4907         (elmo-archive-parse-mmdf): Ditto.
4908
4909         * elmo-cache.el (elmo-folder-msgdb-create): Ditto.
4910         (elmo-folder-list-unreads-internal): Ditto.
4911
4912         * elmo.el (elmo-folder-msgdb): Define as generic function.
4913         (elmo-folder-list-messages): Added argument `in-msgdb'.
4914         (elmo-folder-list-unreads): Define as generic function.
4915         (elmo-folder-list-importants): Ditto.
4916         (elmo-folder-list-answereds): Ditto.
4917         (elmo-folder-list-messages-with-global-mark): New function.
4918         (elmo-folder-msgdb-create): Removed mark arguments.
4919         (elmo-folder-unmark-answered): New generic function.
4920         (elmo-folder-mark-as-answered): Ditto.
4921         (elmo-folder-append-messages): Removed argunment `unread-marks'
4922         (elmo-folder-list-unreads-internal): Abolish.
4923         (elmo-folder-list-importants-internal): Ditto.
4924         (elmo-folder-search-requires-msgdb-p): New generic function.
4925         (elmo-folder-search-requires-msgdb-p-internal): New function.
4926         (elmo-generic-folder-open): Call elmo-folder-msgdb instead of
4927         elmo-msgdb-load.
4928         (elmo-folder-search-fast): Added key 'mark'.
4929         (elmo-generic-folder-append-messages): Use elmo-msgdb-unread-marks
4930         instead of unread-marks argument.
4931         (elmo-folder-move-messages): Removed argunment `unread-marks'
4932         (elmo-folder-unmark-important): Define.
4933         (elmo-folder-mark-as-important): Ditto.
4934         (elmo-folder-unmark-read): Ditto.
4935         (elmo-folder-mark-as-read): Ditto.
4936         (elmo-folder-unmark-answered): Ditto.
4937         (elmo-folder-mark-as-answered): Ditto.
4938         (elmo-folder-replace-marks): Abolish.
4939         (elmo-generic-folder-append-msgdb): Append msgdb before checking
4940         duplicates.
4941         (elmo-folder-synchronize): Removed mark arguments;
4942         return crosspost only number.
4943
4944 2002-09-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4945
4946         * elmo-dop.el (elmo-dop-queue-flush): Remove unused argument.
4947         Remove redundunt connectivity check.
4948
4949 2002-09-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
4950
4951         * elmo-dop.el (elmo-dop-queue-flush): Perform plugged ones only so
4952         as not to clear queue unexpectedly. (Ref. [wl:9778],[wl:10493])
4953
4954 2002-09-03  Yuuichi Teranishi  <teranisi@gohome.org>
4955
4956         * pldap.el (ldap-decode-string): Return string as-is if
4957         `ldap-coding-system' is nil.
4958         (ldap-encode-string): Ditto.
4959         (ldap-search-entries): Encode filter string with `ldap-encode-string'.
4960         (ldap-default-host): Fixed docstring.
4961
4962 2002-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
4963
4964         * elmo-util.el (elmo-warning): Define as a macro which uses
4965         `display-warning' if it is defined as a function.
4966
4967         * elmo-split.el (elmo-split-fetch-decoded-field): New function.
4968         (elmo-split-equal): Use it.
4969         (elmo-split-match): Ditto.
4970         (elmo-split-message-entity): New buffer-local variable.
4971         (elmo-split-subr): Set it.
4972
4973         * elmo-version.el (elmo-version): Up to 2.9.15.
4974
4975 2002-08-18  Kenichi OKADA  <okada@opaopa.org>
4976
4977         * elmo-imap4.el (elmo-network-initialize-session):
4978         Check capability after starttls.
4979
4980 2002-08-06  Yuuichi Teranishi  <teranisi@gohome.org>
4981
4982         * elmo-util.el (elmo-list-delete): Added optional argument
4983         DELETE-FUNCTION.
4984
4985         * elmo-vars.el (elmo-imap4-default-mailbox): Abolished.
4986
4987         * elmo-util.el (elmo-warning): Ignore errors while recenter.
4988
4989         * elmo-msgdb.el (elmo-msgdb-do-each-entity): New macro.
4990
4991         * elmo-imap4.el (elmo-folder-initialize): Don't use
4992         elmo-imap4-default-mailbox.
4993
4994 2002-07-24  TAKAHASHI Kaoru  <kaoru@kaisei.org>
4995
4996         * elmo-split.el (toplevel): Use `product-provide'.
4997         (elmo-split): Checkdoc.
4998
4999 2002-07-21  Tetsurou Okazaki  <okazaki@be.to>
5000
5001         * elmo-imap4.el (elmo-imap4-debug, elmo-imap4-debug-1):
5002         Split `elmo-imap4-debug' into the macro `elmo-imap4-debug' and
5003         the function `elmo-imap4-debug-1'.
5004
5005 2002-07-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5006
5007         * elmo-split.el (elmo-split): Moved to run hooks and to show
5008         message from elmo-split-subr.
5009         (elmo-split-subr): Follow the change above.
5010
5011         * elmo-split.el (elmo-split-subr): New function (renamed from
5012         elmo-split-subr).
5013         (elmo-split): Changed to call elmo-split-subr by element of
5014         elmo-split-folder.
5015         (elmo-split-folder): Changed customization type to choice.
5016
5017 2002-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5018
5019         * elmo-split.el (elmo-split-and): Fixed condition.
5020
5021 2002-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
5022
5023         * elmo-split.el: New file.
5024         (elmo-split): Fixed logic.
5025         Display "Test:" instead of "Folder:" when reharsal.
5026
5027         * elmo-imap4.el (elmo-folder-append-buffer): Set flag as empty
5028         explicitly.
5029
5030         * elmo-version.el (elmo-version): Up to 2.9.14.
5031
5032         * elmo-util.el (elmo-expand-newtext): New function (renamed from
5033         wl-expand-newtext).
5034
5035 2002-06-10  Kenichi Sato <ksato@sonycom.com>
5036
5037         * elmo-msgdb.el (elmo-msgdb-get-message-id-from-buffer): Fix for
5038         message with no message-id field.
5039
5040 2002-05-20  Yuuichi Teranishi  <teranisi@gohome.org>
5041
5042         * elmo-version.el (elmo-version): Up to 2.9.13.
5043
5044         * elmo-dop.el (elmo-folder-status-dop): Fix.
5045
5046 2002-05-19  Yuuichi Teranishi  <teranisi@gohome.org>
5047
5048         * elmo-util.el (elmo-disk-usage): Return 0 if invalid file attribute.
5049
5050         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Avoid
5051         changing default value of default-mime-charset.
5052         (elmo-msgdb-create-overview-from-buffer): Remove TAB character.
5053
5054         * elmo-imap4.el (elmo-folder-open): Fixed NO response check.
5055
5056         * elmo-dop.el (elmo-dop-queue-merge-method-list): New variable.
5057         (elmo-dop-queue-merge): Use elmo-dop-queue-merge-method-list
5058         instead of elmo-dop-queue-method-name-alist to check merging queue.
5059         (elmo-folder-delete-messages-dop): Delete from queue if negative
5060         message number.
5061         (elmo-folder-append-buffer-dop-delayed): Treat as success if queue
5062         file is already removed.
5063
5064 2002-05-10  Katsumi Yamaoka  <yamaoka@jpl.org>
5065
5066         * elmo-vars.el: Bind colon keywords for old Emacsen.
5067
5068 2002-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5069
5070         * elmo-msgdb.el (elmo-msgdb-create-overview-from-buffer): Protect
5071         against non-exsisting charset.
5072
5073 2002-05-09  Yuuichi Teranishi  <teranisi@gohome.org>
5074
5075         * elmo-util.el (elmo-mime-string): Eliminate needless binding;
5076         Use eword-decode-and-unfold-unstructured-field-body.
5077
5078         * elmo-msgdb.el (elmo-msgdb-make-entity): New function.
5079         (elmo-msgdb-create-overview-from-buffer): Use document charset if
5080         exists to decode raw subject string.
5081         (toplevel): Require 'mime.
5082
5083         * elmo-version.el (elmo-version): Up to 2.9.12.
5084
5085 2002-05-02  Yuuichi Teranishi  <teranisi@gohome.org>
5086
5087         * elmo-msgdb.el (elmo-msgdb-get-mark): Fix docstring.
5088         (elmo-msgdb-set-mark): Ditto.
5089
5090         * elmo-version.el (elmo-version): Up to 2.9.11.
5091
5092 2002-05-01  Yuuichi Teranishi  <teranisi@gohome.org>
5093
5094         * elmo-util.el (elmo-delete-match-files): New function.
5095
5096         * elmo-localdir.el (elmo-folder-delete): Use elmo-delete-match-files
5097         instead of elmo-delete-directory.
5098
5099         * elmo-shimbun.el (elmo-shimbun-get-headers): Bind
5100         elmo-hash-minimun-size as 63.
5101
5102         * elmo-multi.el (elmo-multi-folder-diff): Use elmo-diff-new if
5103         elmo-diff-unread is nil.
5104
5105         * elmo-imap4.el (elmo-folder-open): Fix.
5106
5107         * elmo.el (elmo-message-mark): Rewrite.
5108         (elmo-message-field): Ditto.
5109         (elmo-message-set-mark): Ditto.
5110         (elmo-folder-replace-marks): New function.
5111         (elmo-generic-folder-append-msgdb): Removed third argument for
5112         elmo-msgdb-append.
5113         (elmo-folder-synchronize): Use elmo-msgdb-seen-list.
5114         (elmo-msgdb-load): New implementation.
5115
5116         * elmo-vars.el (elmo-use-overview-hashtb): Removed.
5117
5118         * elmo-util.el (elmo-list-insert): New implementation.
5119
5120         * elmo-multi.el (elmo-multi-folder-append-msgdb): Removed third
5121         argument for elmo-msgdb-append.
5122         
5123
5124         * elmo-msgdb.el (elmo-load-msgdb): New function.
5125         (elmo-make-msgdb): Ditto.
5126         (elmo-msgdb-get-index): New inline function.
5127         (elmo-msgdb-set-index): Ditto.
5128         (elmo-msgdb-get-entity-hashtb): Ditto.
5129         (elmo-msgdb-get-mark-hashtb): Ditto.
5130         (elmo-msgdb-get-mark): Ditto.
5131         (elmo-msgdb-set-mark): Ditto.
5132         (elmo-msgdb-count-marks): Ditto.
5133         (elmo-msgdb-get-number): Ditto.
5134         (elmo-msgdb-get-field): Ditto.
5135         (elmo-msgdb-seen-list): Ditto.
5136         (elmo-msgdb-mark-alist-set): Renamed from elmo-msgdb-mark-set.
5137         (elmo-msgdb-delete-msgs): Follow the changes above.
5138         (elmo-msgdb-overview-get-entity): Ditto.
5139         (elmo-msgdb-add-msgs-to-seen-list): Ditto.
5140         (elmo-msgdb-clear-index): Renamed from elmo-msgdb-clear-overview-hastb
5141         and rewritten.
5142         (elmo-msgdb-make-index): Likewise.
5143         (elmo-msgdb-append): Removed third argument.
5144         (elmo-msgdb-clear): Clear index as nil.
5145         (elmo-folder-set-info-hashtb): Removed.
5146         (elmo-folder-set-info-max-by-numdb): Ditto.
5147         (elmo-folder-info-make-hashtb): Ditto.
5148
5149         * elmo-localdir.el (elmo-folder-pack-numbers): Use elmo-make-msgdb.
5150
5151         * elmo-map.el (elmo-folder-pack-number): Ditto.
5152
5153 2002-04-30  Yuuichi Teranishi  <teranisi@gohome.org>
5154
5155         * elmo-version.el (elmo-version): Up to 2.9.10.
5156
5157         * elmo-util.el (elmo-get-hash-val): Check the 1st argument is string.
5158
5159         * elmo-msgdb.el (elmo-msgdb-get-parent-entity): New inline function.
5160
5161 2002-04-26  Kenichi OKADA  <okada@opaopa.org>
5162
5163         * elmo-utils.el (elmo-make-directory): Add option.
5164         Default file mode is 700.
5165
5166 2002-04-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5167
5168         * elmo-shimbun.el (elmo-folder-local-p): Defined.
5169
5170 2002-04-15  Yuuichi Teranishi  <teranisi@gohome.org>
5171
5172         * elmo-shimbun.el (elmo-shimbun-entity-to-header): Decode by
5173         mime-charset.
5174
5175         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added "larger"
5176         and "smaller".
5177
5178 2002-04-14  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5179
5180         * elmo-shimbun.el (elomo-shimbun-folder): Added entity-hash slot.
5181         (elmo-shimbun-folder-entity-hash): New function.
5182         (elmo-shimbun-folder-shimbun-header): Ditto.
5183         (elmo-shimbun-entity-to-header): Ditto.
5184         (elmo-shimbun-msgdb-to-headers): Removed.
5185         (elmo-shimbun-folder-setup): Ditto.
5186         (elmo-shimbun-folder-header-hash-setup): Don't use x-shimbun-id
5187         for hash key.
5188         (elmo-shimbun-get-headers): Set new headers only to slot. Don't
5189         call `elmo-shimbun-folder-header-hash-setup' if headers is nil.
5190         Removed useless local bind.
5191         (elmo-folder-open-internal): Don't call
5192         `elmo-shimbun-folder-setup'.
5193         (elmo-folder-close-internal): Clear entity-hash slot.
5194         (elmo-folder-clear): Ditto.
5195         (elmo-shimbun-msgdb-create-entity): Use
5196         `elmo-shimbun-folder-shimbun-header'.
5197         (elmo-map-message-fetch): Ditto.
5198         (elmo-shimbun-update-overview): Use overview entity instead of
5199         shimbun header to lookup id by references.
5200         (elmo-map-folder-list-message-locations): Use not only headers but
5201         also overviews to list locations.
5202
5203 2002-04-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5204
5205         * elmo-net.el (elmo-folder-exists-p): If unplugged, guessed by
5206         msgdb path.
5207
5208         * elmo-pop3.el (elmo-folder-exists-p): Ditto.
5209
5210 2002-04-08  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5211
5212         * elmo-util.el (elmo-read-search-condition-internal): Give default
5213         value for date.
5214
5215 2002-04-04  Mito  <mito@mxa.nes.nec.co.jp>
5216
5217         * elmo-util.el (elmo-condition-parse-search-value): Accept
5218         YYYY-MM-DD format to search.
5219         * elmo-date.el (elmo-date-get-datevec): Likewise.
5220
5221 2002-04-04  Kenichi OKADA  <okada@opaopa.org>
5222
5223         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Delete
5224         debugging code.
5225
5226 2002-04-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5227
5228         * elmo.el (elmo-folder-creatable-p): Changed default value to nil
5229         from t.
5230
5231         * elmo-pop3.el (elmo-folder-exists-p): Return nil if unplugged.
5232
5233         * elmo-nntp.el (elmo-folder-exists-p-plugged): Divided plugged
5234         case from `elmo-folder-exists-p'.
5235         (elmo-folder-exists-p): Removed.
5236         (elmo-folder-creatable-p) Ditto.
5237
5238         * elmo-net.el (elmo-folder-create): Defined.
5239         (elmo-folder-create-unplugged): New function.
5240         (elmo-folder-exists-p): Changed default value to nil from t.
5241
5242         * elmo-imap4.el (elmo-folder-creatable-p): Defined.
5243         (elmo-folder-create-plugged): Renamed from `elmo-folder-create'.
5244
5245         * elmo-dop.el (elmo-folder-create-dop): Renamed from
5246         `elmo-create-folder-dop' and append queue
5247         'elmo-folder-create-dop-delayed instead of 'elmo-folder-create.
5248         (elmo-folder-create-dop-delayed): New function.
5249
5250         * elmo-cache.el (elmo-folder-creatable-p): Ditto.
5251
5252         * elmo-shimbun.el (elmo-folder-creatable-p): Ditto.
5253
5254         * elmo-sendlog.el (elmo-folder-creatable-p): Ditto.
5255         (elmo-folder-writable-p) : Ditto.
5256
5257         * elmo-version.el (elmo-version): Up to 2.9.9.
5258
5259 2002-03-26  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5260
5261         * elmo.el (elmo-find-fetch-strategy): Don't use file cache when
5262         `elmo-message-use-cache-p' returns nil.
5263         * elmo-mime.el (elmo-mime-display-as-is): Ditto.
5264         (ignore cache file and refer the substance in local folders)
5265
5266 2002-03-12  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5267
5268         * elmo-version.el (elmo-version): Up to 2.9.8.
5269
5270 2002-02-19  Yuuichi Teranishi  <teranisi@gohome.org>
5271
5272         * elmo-version.el (elmo-version): Up to 2.9.7.
5273
5274         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed logic.
5275
5276 2002-02-18  Daiki Ueno  <ueno@unixuser.org>
5277
5278         * elmo-nntp.el (elmo-nntp-send-mode-reader): Don't throw an error.
5279
5280 2002-02-12  Yuuichi Teranishi  <teranisi@gohome.org>
5281
5282         * elmo-nmz.el (elmo-nmz-args): Changed default argumnet to --late
5283         from --early.
5284         (elmo-map-folder-list-message-locations): Reverse location list.
5285
5286 2002-02-01  Kenichi OKADA  <okada@opaopa.org>
5287
5288         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Fix.
5289
5290 2002-01-31  Yuuichi Teranishi  <teranisi@gohome.org>
5291
5292         * elmo-nntp.el (elmo-nntp-list-folders-get-cache): Use group and server
5293         as a key.
5294         (elmo-nntp-folder-list-subfolders): Follow the change above.
5295
5296 2002-01-27  Takaaki MORIYAMA  <aka@iris.eonet.ne.jp>
5297
5298         * elmo-imap4.el (elmo-folder-list-subfolders): Don't omit user
5299         name if authentication type is specified.
5300
5301 2002-01-28  Yuuichi Teranishi  <teranisi@gohome.org>
5302
5303         * elmo.el (elmo-default-imap4-stream-type): Define as obsolete
5304         variable.
5305         (elmo-default-nntp-stream-type): Ditto.
5306         (elmo-default-pop3-stream-type): Ditto.
5307
5308 2002-01-25  ARISAWA Akihiro  <ari@mbf.sphere.ne.jp>
5309
5310         * elmo.el (elmo-generic-folder-append-messages): Disable multibyte.
5311
5312 2002-01-23  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5313
5314         * elmo-localnews.el (elmo-localnews-folder-path): Moved from
5315         elmo-vars.el.
5316         * elmo-maildir.el (elmo-maildir-folder-path): Ditto.
5317
5318         * elmo-vars.el (elmo-localnews-folder-path): Removed.
5319         (elmo-maildir-folder-path): Ditto.
5320         (elmo-maildir-list): Ditto (abolished).
5321
5322 2002-01-23  Kenichi OKADA  <okada@opaopa.org>
5323
5324         * elmo-version.el (elmo-version): Up to 2.9.6.
5325
5326 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5327
5328         * elmo-vars.el (elmo-localnews-folder-path): Make customizable.
5329         (elmo-maildir-folder-path): Ditto.
5330         (elmo-msgdb-directory): Ditto.
5331         (elmo-passwd-life-time): Ditto.
5332         (elmo-msgdb-extra-fields): Ditto.
5333         (elmo-enable-disconnected-operation): Ditto.
5334
5335 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5336
5337         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5338         other choices.
5339         (elmo-pop3-default-authenticate-type): Ditto.
5340
5341 2002-01-22  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5342
5343         * elmo-vars.el (elmo-imap4-default-authenticate-type): Give
5344         choices for custom.
5345         (elmo-pop3-default-authenticate-type): Ditto.
5346
5347 2002-01-22  Kenichi OKADA  <okada@opaopa.org>
5348
5349         * elmo-imap4.el (elmo-folder-rename-internal): Change current
5350         mailbox to new-folder.
5351
5352 2002-01-21  Yuuichi Teranishi  <teranisi@gohome.org>
5353
5354         * elmo-imap4.el (elmo-imap4-folder-diff-plugged): If unread is
5355         less than new, set new as unread.
5356
5357         * elmo-util.el (elmo-string): Don't put text-property if nil.
5358
5359 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5360
5361         * elmo-imap4.el (elmo-folder-list-subfolders): Case sensitive.
5362         * elmo-nntp.el (elmo-folder-list-subfolders): Ditto.
5363
5364 2002-01-21  Kenichi OKADA  <okada@opaopa.org>
5365
5366         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5367         is nil on `completing-read'.
5368
5369 2002-01-20  Yuuichi Teranishi  <teranisi@gohome.org>
5370
5371         * elmo-imap4.el (elmo-imap4-extra-namespace-alist): Added grouping
5372         for namespace part.
5373         (elmo-imap4-parse-namespace-subr): Ditto.
5374         (elmo-folder-list-subfolders): Append a delimiter when the specified
5375         folder path is a root with namespace and does not end with delimiter.
5376
5377 2002-01-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5378
5379         * elmo.el (elmo-folder-search-fast): Moved upwards rather than it
5380         was used.
5381
5382 2002-01-19  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5383
5384         * elmo-util.el (elmo-save-buffer): The first argument of message
5385         is a format control string.
5386
5387 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5388
5389         * elmo.el (elmo-diff-new): Fixed (Adapted to doc-string of
5390         `elmo-folder-diff').
5391         (elmo-diff-unread): Likewise.
5392
5393 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5394
5395         * elmo-utils.el (elmo-read-search-condition-internal): REQUIRE-MATCH
5396         is t on `completing-read'.
5397
5398 2002-01-19  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5399
5400         * elmo-filter.el (elmo-filter-folder-list-unreads-internal): Call
5401         method of target folder with self mark-alist if MARK-ALIST is nil.
5402
5403 2002-01-19  Kenichi OKADA  <okada@opaopa.org>
5404
5405         * elmo-version.el (elmo-version): Up to 2.9.5.
5406
5407 2002-01-17  Kenichi OKADA  <okada@opaopa.org>
5408
5409         * elmo-dop.el (elmo-dop-queue-merge): Implement.
5410         (elmo-dop-merge-funcs): Remove.
5411
5412 2002-01-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5413
5414         * elmo-util.el (elmo-file-cache-delete): Fixed last change;
5415         Return t if PATH is directory, too.
5416         Use `dolist' instead of while loop.
5417
5418 2002-01-11  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5419
5420         * elmo-util.el (elmo-file-cache-delete): Return t if a cache file
5421         is deleted.
5422
5423 2002-01-07  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5424
5425         * elmo-net.el (elmo-folder-list-messages-plugged): Changed default
5426         return value to t.
5427         (elmo-folder-list-messages-unplugged): Return t if
5428         elmo-enable-disconnected-operation is nil.
5429
5430         * elmo-pop3.el (elmo-folder-list-messages-plugged): Renamed from
5431         `elmo-folder-list-messages-internal'.
5432
5433 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5434
5435         * elmo-nntp.el (elmo-nntp-read-response): Added `error-msg' argument.
5436         Change to looking-at `[23][0-9]+'.
5437         (elmo-network-initialize-session): Use 'error-msg'
5438         * elmo-net.el (elmo-network-open-session): Set unplugged
5439         if elmo-network-initialize-session returns 'elmo-open-err.
5440
5441 2002-01-07  Kenichi OKADA  <okada@opaopa.org>
5442
5443         * elmo-version.el (elmo-version): Up to 2.9.4.
5444
5445 2002-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
5446
5447         * elmo-nntp.el (elmo-folder-list-messages-plugged): Renamed from
5448         `elmo-folder-list-messages-internal'.
5449
5450 2002-01-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5451
5452         * elmo.el (elmo-folder-search): Defined. Fixed docstring.
5453         (elmo-message-match-condition): New method.
5454         (elmo-folder-search-fast): New inline function.
5455         (elmo-msgdb-search): Removed.
5456
5457         * elmo-filter.el (elmo-folder-msgdb-create): Create from msgdb of
5458         target folder if it is unplugged.
5459         (elmo-folder-list-messages-internal): Return t if target folder is
5460         unplugged and itself is persistent; In this case, use list be
5461         searched already.
5462
5463         * elmo-msgdb.el (elmo-msgdb-search-internal): Removed.
5464         (elmo-msgdb-search-internal-primitive): Ditto.
5465         (elmo-msgdb-match-condition): New function.
5466         (elmo-msgdb-match-condition-primitive): Ditto.
5467
5468         * elmo-util.el (elmo-filter-condition-p): New macro.
5469
5470         * elmo-cache.el (elmo-folder-search): Removed.
5471
5472         * elmo-localdir.el (elmo-folder-search): Ditto.
5473
5474         * elmo-maildir.el (elmo-folder-search): Ditto.
5475
5476         * elmo-mark.el (elmo-folder-search): Ditto.
5477
5478         * elmo-nmz.el (elmo-folder-search): Ditto.
5479
5480         * elmo-sendlog.el (elmo-folder-search): Ditto.
5481
5482         * elmo-shimbun.el (elmo-folder-search): Ditto.
5483
5484         * elmo-imap4.el (elmo-folder-search): Call method of parent class
5485         if folder is unplugged.
5486
5487         * elmo-nntp.el (elmo-folder-search): Likewise.
5488         (elmo-nntp-search-internal): New function.
5489
5490         * elmo-version.el (elmo-version): Up to 2.9.3.
5491
5492 2001-12-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5493
5494         * elmo.el (elmo-message-fetch-with-cache-process): Fixed typo.
5495
5496 2001-12-27  Tetsurou Okazaki  <okazaki@be.to>
5497
5498         * elmo-vars.el (elmo-nntp-default-user): Customization Type fix.
5499
5500 2001-12-27  Taiji Can  <Taiji.Can@grd.advantest.co.jp>
5501
5502         * elmo-nntp.el (elmo-network-initialize-session): Fixed for NNTP response.
5503
5504 2001-12-27  Yuuichi Teranishi  <teranisi@gohome.org>
5505
5506         * elmo-nmz.el (elmo-nmz-use-drive-letter): New variable.
5507         (elmo-map-folder-list-message-locations): Do drive letter conversion
5508         on Windows environment.
5509         (elmo-nmz-msgdb-create-entity): Use expand-file-name.
5510         (elmo-map-message-fetch): Ditto.
5511
5512 2001-12-27  Kenichi OKADA  <okada@opaopa.org>
5513
5514         * elmo-nntp.el (elmo-nntp-read-response): Fixed for Response '400'
5515         (elmo-network-initialize-session): Ditto.
5516
5517 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5518
5519         * elmo-imap4.el (elmo-imap4-message-fetch): Fixed '100%' message.
5520
5521         * elmo-pop3.el (elmo-message-fetch-plugged): Ditto.
5522
5523         * elmo-util.el (elmo-progress-clear): Ditto.
5524
5525         * elmo-date.el (elmo-date-get-datevec): Fix timezone of
5526         `DD-Mon-YYYY' type date.
5527
5528 2001-12-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5529
5530         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Use
5531         `elmo-date-make-sortable-string' instead of
5532         `timezone-make-date-sortable'.
5533
5534         * elmo-date.el (elmo-date-make-sortable-string): Use
5535         `timezone-make-time-string'.
5536
5537 2001-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
5538
5539         * elmo.el (elmo-folder-synchronize): Delete important messages too.
5540
5541         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed
5542         `since'; Fix timezone.
5543
5544         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Ditto.
5545
5546         * elmo-nntp.el (elmo-nntp-search-primitive): Likewise.
5547
5548 2001-12-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5549
5550         * elmo.el (elmo-message-fetch-with-cache-process): Rewrite.
5551
5552 2001-12-23  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5553
5554         * elmo.el (elmo-generic-folder-append-messages): Make
5555         fetch-strategy with `use-cache' as 'maybe. Check return value of
5556         `elmo-message-fetch'.
5557         (elmo-message-fetch): Return return value of
5558         `elmo-message-fetch-with-cache-process'.
5559         (elmo-message-fetch-with-cache-process): Return non-nil if
5560         fetching was succeed. Load cache when fetching was failed and
5561         fetch-strategy-use-cache is 'maybe.
5562
5563         * elmo-util.el (elmo-file-cache-load): New function.
5564
5565         * elmo-multi.el (elmo-message-use-cache-p): Remove duplicated
5566         defun.
5567
5568         * elmo-archive.el (elmo-archive-message-fetch-internal): Return
5569         non-nil if fetching was succeed.
5570
5571         * elmo-imap4.el (elmo-imap4-message-fetch): Likewise.
5572
5573         * elmo-nmz.el (elmo-map-message-fetch): Likewise.
5574
5575         * elmo-nntp.el (elmo-nntp-read-body): Likewise.
5576         (elmo-message-fetch-with-cache-process): Likwise.
5577
5578         * elmo-pop3.el (elmo-pop3-read-body): Likewise.
5579
5580         * elmo-shimbun.el (elmo-map-message-fetch): Likewise.
5581
5582         * elmo-version.el (elmo-version): Up to 2.9.2.
5583
5584 2001-12-23  Yuuichi Teranishi  <teranisi@gohome.org>
5585
5586         * elmo.el (elmo-folder-delete): Delete msgdb path.
5587
5588         * elmo-archive.el (elmo-folder-delete): Added `:before' qualifier.
5589
5590         * elmo-maildir.el (elmo-folder-delete): Ditto.
5591
5592         * elmo-localdir.el (elmo-folder-delete): Ditto.
5593
5594         * elmo-imap4.el (elmo-folder-delete): Ditto.
5595
5596 2001-12-19  Yuuichi Teranishi  <teranisi@gohome.org>
5597
5598         * elmo.el (luna-define-class): Added `biff' slot.
5599
5600         * elmo-pop3.el (elmo-pop3-debug): Split biff log.
5601         (elmo-pop3-debug-inhibit-logging): Abolished.
5602         (elmo-network-close-session): Eliminated needless let.
5603         (elmo-pop3-get-session): Set prefix 'BIFF' if biff folder.
5604         (elmo-pop3-send-command): Added `no-log' argument.
5605         (elmo-pop3-process-filter): Use `with-current-buffer'.
5606         (elmo-pop3-auth-user): Set `no-log' argument; Delete process
5607         if login failure.
5608         (elmo-pop3-auth-apop): Likewise.
5609         (elmo-network-authenticate-session): Likewise.
5610
5611         * elmo-nntp.el (elmo-nntp-get-session): Set prefix 'BIFF'
5612         if biff folder.
5613
5614         * elmo-net.el (elmo-network-session-password-key): Use class symbol
5615         string to determine protocol.
5616         (elmo-network-session-name-prefix): Abolished.
5617         (elmo-network-session-cache-key): Follow the change above.
5618         (elmo-network-open-session): Ditto.
5619
5620         * elmo-imap4.el (elmo-imap4-send-command): Modified error message.
5621         (elmo-imap4-get-session): Set prefix 'BIFF' if biff folder.
5622
5623         * elmo-version.el (elmo-version): Up to 2.9.1.
5624
5625         * elmo-util.el (elmo-file-field-primitive-condition-match): Fixed
5626         unmatch condition checking.
5627
5628         * elmo-localdir.el (elmo-folder-search): Don't short cut if unmatch
5629         condition.
5630
5631 2001-12-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5632
5633         * elmo.el (elmo-folder-confirm-appends): Fixed docstring.
5634
5635 2001-12-17  Yuuichi Teranishi  <teranisi@gohome.org>
5636
5637         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
5638         test for while loop to execute at least one SEARCH command.
5639
5640 2001-12-15  Yuuichi Teranishi  <teranisi@gohome.org>
5641
5642         * elmo-version.el (elmo-version): Up to 2.9.0.
5643
5644 2001-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
5645
5646         * elmo-archive.el (elmo-archive-folder): Added `dir-name' slot.
5647         (elmo-archive-folder-path): Define.
5648         (elmo-folder-initialize): Setup `dir-name' slot.
5649         (elmo-archive-folder-list-subfolders): Fixed problem when `name' is "".
5650         Use `dir-name' as prefix of each subfolders.
5651         (Applyed patch from Takaaki MORIYAMA <taka@arcadia.co.jp>)
5652
5653 2001-12-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5654
5655         * elmo-pipe.el (elmo-pipe-folder-copied-filename): New variable.
5656         (elmo-pipe-folder-list-target-messages): New internal function.
5657         (elmo-pipe-drain): Use new argument `ignore-list' instead of
5658         `killed-list'.
5659         (elmo-pipe-folder-copied-list-load): New function.
5660         (elmo-pipe-folder-copied-list-save): Ditto.
5661         (elmo-folder-open-internal): Follow the change above.
5662         (elmo-folder-status): Fixed for copy.
5663
5664 2001-12-13  Yuuichi Teranishi  <teranisi@gohome.org>
5665
5666         * elmo-shimbun.el (elmo-folder-creatable-p): Define.
5667
5668 2001-12-12  Yuuichi Teranishi  <teranisi@gohome.org>
5669
5670         * elmo-localdir.el (elmo-folder-message-make-temp-files): Use
5671         elmo-copy-file instead of elmo-add-name-to-file.
5672
5673         * elmo-nmz.el (elmo-folder-message-make-temp-files): Ditto.
5674
5675         * elmo-nmz.el (elmo-map-folder-list-message-locations): Allow
5676         "file://..." index.
5677
5678         * elmo-pop3.el (elmo-pop3-read-response): Set timeout argument
5679         of accept-process-output as 1.
5680         (elmo-pop3-read-contents): Ditto.
5681         (elmo-pop3-read-body): Ditto.
5682
5683 2001-12-12  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5684
5685         * elmo-version.el (product-version-as-string): Remove define.
5686
5687 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5688
5689         * elmo-imap4.el (elmo-imap4-number-set-chop-length): New variable.
5690         (elmo-imap4-copy-messages): Chop number set using
5691         `elmo-imap4-number-set-chop-length'.
5692         (elmo-imap4-set-flag): Ditto.
5693         (elmo-imap4-search-internal-primitive): Ditto.
5694
5695 2001-12-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5696
5697         * elmo.el (elmo-folder-make-temporary-directory): Renamed from
5698         `elmo-folder-make-temp-dir'
5699
5700         * elmo-vars.el (elmo-cache-directory): New variable.
5701         (elmo-cache-dir): Abolished.
5702         (elmo-msgdb-directory): Renamed from `elmo-msgdb-dir'.
5703
5704         * elmo-version.el (elmo-version): Up to 2.7.7.
5705
5706 2001-12-11  Yuuichi Teranishi  <teranisi@gohome.org>
5707
5708         * elmo-util.el (elmo-obsolete-variable-show-warnings): Define with
5709         defcustom; Set default value as t.
5710
5711 2001-12-10  Yuuichi Teranishi  <teranisi@gohome.org>
5712
5713         * pldap.el (ldap-ldif-field-name-regexp): Changed regexp.
5714         (ldap-search-program-arguments): Changed default value.
5715         (ldap-search-basic): Accept exit status 4.
5716         (ldap/field-body): Parse options.
5717         (ldap/collect-field): Ditto.
5718         (According to the advise from Mito <mito@mxa.nes.nec.co.jp>)
5719
5720         * elmo-imap4.el (elmo-imap4-process-bye): New function.
5721         (elmo-imap4-send-command): Call elmo-imap4-process-bye.
5722         (elmo-imap4-accept-ok): Ditto.
5723         (elmo-imap4-session-select-mailbox): If argument `no-error' equals to
5724         'notify-bye, only BYE error is reported.
5725         (elmo-folder-exists-p-plugged): Set no-error argument of
5726         `elmo-imap4-session-select-mailbox' as 'notify-bye.
5727
5728         * elmo.el (elmo-imap4-bye-error): Changed message.
5729
5730         * elmo-dop.el (elmo-dop-queue-flush): Fixed obsolete version message.
5731         (elmo-dop-queue-flush): Don't append to the dop-queue while flushing
5732         queues (It causes infinite loop).
5733
5734 2001-12-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
5735
5736         * elmo.el (elmo-folder-diff): Fixed docstring for IMAP4
5737         (RECENT UNSEEN MESSAGES) extension.
5738
5739 2001-12-07  Mito <mito@mxa.nes.nec.co.jp>
5740
5741         * elmo-nntp.el (elmo-nntp-create-msgdb-from-overview-string):
5742         Check number of overview fields.
5743
5744 2001-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
5745
5746         * elmo.el (elmo-folder-confirm-appends): Changed message.
5747         (elmo-folder-confirm-appends): Ditto.
5748
5749         * elmo-archive.el (elmo-archive-exec-msgs-subr1): Use
5750         `with-temp-buffer'.
5751         (According to the advise from Nishimoto Masaki <nishimoto@gaju.org>)
5752
5753 2001-12-06  Hiroshi Tsutsui  <tsutsui@easter.kuee.kyoto-u.ac.jp>
5754
5755         * elmo.el (elmo-folder-confirm-appends): Check whether the value
5756         of elmo-folder-update-threshold is nil, which can be set by
5757         wl-summary-update-confirm-threshold.
5758
5759 2001-12-05  Yuuichi Teranishi  <teranisi@gohome.org>
5760
5761         * elmo-nmz.el (elmo-nmz-default-index-path): Allow path list.
5762         (elmo-nmz-index-alias-alist): Ditto.
5763         (elmo-map-folder-list-message-locations): Follow the change above.
5764
5765 2001-12-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5766
5767         * elmo-filter.el (elmo-folder-list-subfolders): Defined.
5768
5769         * elmo-archive.el (elmo-archive-call-process): Ignore nemacs.
5770
5771         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Ditto.
5772
5773         * elmo-util.el (elmo-read): Ditto.
5774         (elmo-display-error): Ditto.
5775
5776         * elmo-vars.el (elmo-date-match): Ditto.
5777
5778         * pldap.el (ldap-coding-system): Ditto.
5779
5780         * elmo-pipe.el (elmo-pipe-drain): If `copy' is non-nil, bind
5781         `elmo-inhibit-number-mapping' as nil.
5782
5783 2001-11-30  Tatsuya Kinoshita  <tats@iris.ne.jp>
5784
5785         * elmo-pop3.el (elmo-pop3-parse-list-response): Allow multiple
5786         space delimiter for list response.
5787
5788 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5789
5790         * elmo-sendlog.el (elmo-sendlog-buffer-name): Deleted.
5791
5792 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5793
5794         * elmo-sendlog.el (elmo-folder-delete-messages): Added.
5795         (elmo-map-message-fetch): Fix.
5796         * elmo-map.el (elmo-folder-status): Fix for killed.
5797
5798 2001-12-02  Kenichi OKADA  <okada@opaopa.org>
5799
5800         * elmo-sendlog.el: New file.
5801         * elmo-internal.el (elmo-internal-folder-list): Added 'sendlog.
5802
5803 2001-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
5804
5805         * acap.el (acap-logging-out): New buffer local variable.
5806         (acap-close): Set it.
5807         (acap-wait-for-response): If acap-logging-out is non-nil, don't cause
5808         an error.
5809
5810 2001-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
5811
5812         * acap.el (acap-response-bye-p): New function.
5813         (acap-response-bye-message): Ditto.
5814         (acap-wait-for-response): If bye response is received, cause an error.
5815         (acap-parse-response): Make bye response when 'Bye' is received.
5816
5817 2001-11-23  Kenichi OKADA  <okada@opaopa.org>
5818
5819         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5820
5821 2001-11-21  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5822
5823         * elmo-util.el (elmo-copy-file): Added argument
5824         `ok-if-already-exists'.
5825         (elmo-copy-file): Fixed typo.
5826
5827 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5828
5829         * elmo-pipe.el (elmo-pipe-drain): Load killed-list.
5830
5831 2001-11-21  Kenichi OKADA  <okada@opaopa.org>
5832
5833         * elmo-pipe.el (elmo-pipe-drain): Save killed-list.
5834
5835 2001-11-20  Kenichi OKADA  <okada@opaopa.org>
5836
5837         * elmo-pipe.el (elmo-pipe-drain): Append copied messages
5838         to killed-list.
5839
5840 2001-11-19  Kenichi OKADA  <okada@opaopa.org>
5841
5842         * elmo-pipe.el (elmo-pipe-folder): Add `copy'.
5843         (elmo-folder-initialize): Fix for `copy'.
5844         (elmo-pipe-drain): Ditto.
5845         (elmo-folder-open-internal): Ditto.
5846         (elmo-folder-newsgroups): Fix.
5847
5848 2001-11-19  Yuuichi Teranishi  <teranisi@gohome.org>
5849
5850         * elmo-maildir.el (elmo-folder-append-messages): Make temporal filename
5851         for each message.
5852
5853         * elmo-multi.el (elmo-multi-folder-diff): Fixed problem when
5854         recent value is returned from imap folder.
5855
5856         * elmo.el (elmo-folder-newsgroups): New generic function.
5857
5858         * elmo-localnews.el (elmo-localnews-folder): Added `group' slot.
5859         (elmo-folder-initialize): Set it.
5860         (elmo-folder-expand-msgdb-path): Use it.
5861         (elmo-folder-newsgroups): Define.
5862
5863         * elmo-filter.el (elmo-folder-newsgroups): Define.
5864
5865         * elmo-pipe.el (elmo-folder-newsgroups): Ditto.
5866
5867         * elmo-nntp.el (elmo-folder-newsgroups): Ditto.
5868
5869         * elmo-multi.el (elmo-folder-newsgroups): Ditto.
5870
5871 2001-11-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5872
5873         * elmo-shimbun.el (elmo-shimbun-update-overview-folder-list): New
5874         user option.
5875         (elmo-shimbun-header-extra-field): New inline function.
5876         (elmo-shimbun-header-set-extra-field): Ditto.
5877         (elmo-shimbun-folder-header-hash-setup): Ditto.
5878         (elmo-shimbun-update-overview): Ditto.
5879         (elmo-shimbun-msgdb-to-headers): Set extra field `x-shimbun-id'.
5880         (elmo-shimbun-folder-setup): Use
5881         `elmo-shimbun-folder-header-hash-setup' to be setup hash table.
5882         (elmo-shimbun-get-headers): Ditto.
5883         (elmo-map-message-fetch): Call `elmo-shimbun-update-overview';
5884         Insert `X-Shimbun-Id:' header if extra field is set.
5885         (elmo-map-folder-list-message-locations): Return `x-shimbun-id'
5886         field's value instead of `shimbun-header-id'.
5887
5888         * elmo-msgdb.el (elmo-msgdb-overview-entity-set-references): New
5889         inline function.
5890         (elmo-msgdb-overview-entity-set-date): Ditto.
5891         (elmo-msgdb-overview-entity-set-extra-field): Ditto.
5892
5893 2001-11-09  Yuuichi Teranishi  <teranisi@gohome.org>
5894
5895         * mmimap.el (mmimap-entity-section): Changed body node number from
5896         "0" to "1".
5897
5898 2001-11-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5899
5900         * elmo-pop3.el (elmo-folder-delete-messages-plugged): Renamed from
5901         `elmo-folder-delete-messages'.
5902
5903         * elmo-nmz.el (elmo-nmz-index-alias-alist): New user option.
5904         (elmo-folder-initialize): Changed to expand alias into index path.
5905
5906         * elmo-mime.el (elmo-mime-insert-sorted-header): Call
5907         `elmo-mime-insert-header-from-buffer' with 6th arg
5908         `sorted-fields'.
5909
5910 2001-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
5911
5912         * mmimap.el (mmimap-entity-section): If node-id is nil, return "0".
5913
5914         * elmo.el (elmo-diff-new): New inline function.
5915         (elmo-diff-unread): Ditto.
5916         (elmo-diff-all): Ditto.
5917
5918         * elmo-imap4.el (elmo-imap4-server-diff-async-callback-1): Get recent
5919         value from responseb.
5920         (elmo-imap4-folder-diff-plugged): Ditto.
5921         (elmo-imap4-server-diff-async): Added recent argument.
5922         (elmo-server-diff-async): Ditto.
5923         (elmo-imap4-folder-diff-plugged): Ditto.
5924
5925         * elmo-version.el (elmo-version): Up to 2.7.6.
5926
5927 2001-11-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5928
5929         * elmo-util.el (elmo-parse-token): Fixed how to treat quoted-pair
5930         in quoted-stirng.
5931
5932 2001-11-05  Yuuichi Teranishi  <teranisi@gohome.org>
5933
5934         * elmo-pop3.el (elmo-folder-initialize): Rewrite.
5935
5936         * elmo-imap4.el (elmo-folder-initialize): Ditto.
5937
5938         * elmo-nntp.el (elmo-folder-initialize): Ditto.
5939
5940         * elmo-multi.el (elmo-folder-initialize): Ditto.
5941
5942         * elmo-util.el (elmo-parse-token): New function.
5943         (elmo-parse-prefixed-element): Ditto.
5944
5945 2001-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
5946
5947         * elmo-imap4.el (elmo-imap4-send-command): If BYE response is detected,
5948         delete process.
5949         (elmo-imap4-accept-ok): Ditto.
5950
5951 2001-10-25  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5952
5953         * mmimap.el (mime-imap-entity-header-string): Don't check first
5954         element of node-id is `0' (Follow last change).
5955
5956 2001-10-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5957
5958         * mmimap.el (mmimap-make-mime-entity): Fixed problem to be
5959         assigned irregular node-id to nested multipart section.
5960         (initialize-instance): Followed above change.
5961
5962 2001-10-17  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5963
5964         * elmo-shimbun.el (elmo-shimbun-get-headers): Don't call
5965         `shimbun-open-group' (Moved to `elmo-folder-open-internal').
5966         (elmo-folder-open-internal): Call `shimbun-open-group' (Moved from
5967         `elmo-shimbun-get-headers');
5968         Call `elmo-shimbun-folder-setup' if headers is empty (An entity of
5969         visible article on summary exists in headers).
5970         (elmo-map-message-fetch): Cause an error when folder is unplugged.
5971
5972 2001-10-17  Yoichi NAKAYAMA  <yoichi@eken.phys.nagoya-u.ac.jp>
5973
5974         * elmo-shimbun.el (elmo-shimbun-use-cache): Fix typo in the
5975         definition.
5976
5977 2001-10-16  Yuuichi Teranishi  <teranisi@gohome.org>
5978
5979         * elmo-localnews.el (elmo-folder-expand-msgdb-path): Define.
5980
5981 2001-10-13  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5982
5983         * elmo-msgdb.el (elmo-msgdb-insert-file-header): Moved searching
5984         header separator into loop condition.
5985
5986 2001-10-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
5987
5988         * elmo-imap4.el (elmo-folder-list-subfolders): Fixed problem;
5989         Return duplicate folder if it has subfolder.
5990
5991 2001-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
5992
5993         * elmo.el (elmo-make-folder): Add folder name error check.
5994
5995         * elmo-nntp.el (elmo-nntp-group-coding-system): New variable.
5996         (elmo-nntp-encode-group-string): New inline function.
5997         (elmo-nntp-decode-group-string): Ditto.
5998         (elmo-folder-initialize): Use elmo-nntp-encode-group-string.
5999         (elmo-nntp-folder-list-subfolders): Set processing buffer as unibyte;
6000         Use `not' instead of `null';
6001         Use elmo-nntp-decode-group-string.
6002
6003         * elmo-imap4.el (elmo-folder-list-subfolders): Don't append delimiter.
6004
6005         * elmo-version.el (elmo-version): Up to 2.7.5.
6006
6007 2001-10-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6008
6009         * elmo-pipe.el (elmo-pipe-drain): Use `unwind-protect';
6010         Hide progress gauge if `elmo-folder-move-messages' exits
6011         nonlocally.
6012
6013 2001-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
6014
6015         * elmo-imap4.el (elmo-folder-initialize): Use
6016         `elmo-imap4-encode-folder-string' for folder name.
6017
6018 2001-10-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6019
6020         * elmo.el (elmo-folder-move-messages): Removed arguments `all' and
6021         `done'.
6022
6023 2001-10-06  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6024
6025         * elmo-util.el (elmo-progress-counter-alist): New internal
6026         variable.
6027         (elmo-progress-counter-value): New macro.
6028         (elmo-progress-counter-all-value): Ditto.
6029         (elmo-progress-counter-format): Ditto.
6030         (elmo-progress-counter-set-value): Ditto.
6031         (elmo-progress-set): New function.
6032         (elmo-progress-clear): Ditto.
6033         (elmo-progress-notify): Ditto.
6034
6035         * elmo-pipe.el (elmo-pipe-drain): Setup and clear progress
6036         counter.
6037
6038         * elmo.el (elmo-generic-folder-append-messages): Call
6039         `elmo-progress-notify'.
6040         (elmo-folder-move-messages): Don't call `elmo-display-progress'.
6041
6042         * elmo-archive.el (elmo-folder-append-messages): Call
6043         `elmo-progress-notify'.
6044
6045         * elmo-imap4.el (elmo-folder-append-messages): Ditto.
6046
6047         * elmo-localdir.el (elmo-folder-append-messages): Ditto.
6048
6049         * elmo-maildir.el (elmo-folder-append-messages): Ditto.
6050
6051 2001-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
6052
6053         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed 'Encache' and
6054         'Create'.
6055         (elmo-message-encache-dop): Added argument `read'.
6056
6057         * elmo-shimbun.el (elmo-message-encache): Ditto.
6058
6059         * elmo-net.el (elmo-message-encache): Ditto.
6060
6061         * elmo-imap4.el (elmo-imap4-seen-messages): New buffer local variable.
6062         (elmo-imap4-fetch-callback-1-subr): Save important message numbers to
6063         elmo-imap4-seen-messages.
6064         (elmo-folder-msgdb-create-plugged): Initialize
6065         elmo-imap4-seen-messages;
6066         Set seen mark on elmo-imap4-seen-messages.
6067
6068         * elmo-pipe.el (elmo-folder-message-file-p): Define.
6069
6070         * elmo.el (elmo-generic-folder-append-messages): Check return value of
6071         elmo-folder-append-buffer.
6072         (elmo-folder-encache): Added optional argument `read'.
6073         (elmo-message-encache): Ditto.
6074
6075         * elmo-dop.el (elmo-folder-append-buffer-dop-delayed): Ditto.
6076
6077         * elmo-localdir.el (elmo-folder-append-buffer): Ditto.
6078
6079         * elmo-archive.el (elmo-archive-folder-append-buffer): Return t
6080         if append buffer content succeds.
6081
6082 2001-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
6083
6084         * elmo-pop3.el (elmo-message-fetch-plugged): Fixed label for
6085         elmo-display-progress.
6086
6087         * elmo-mime.el (elmo-mime-message-display): Added argument keymap;
6088         Set 4th argument of mime-display-message.
6089         (elmo-mime-display-as-is): Ditto.
6090
6091 2001-10-01  Yuuichi Teranishi  <teranisi@gohome.org>
6092
6093         * elmo-nmz.el (toplevel): Require 'mime-edit.
6094         (elmo-nmz-content-type-alist): Abolished.
6095         (elmo-nmz-msgdb-create-entity): Add From: and Subject: field if
6096         content is not a message.
6097         (elmo-map-message-fetch): Changed behavior exept for message content;
6098         Detect mime-charset automatically, Use `mime-find-file-type' to detect
6099         content-type, Add From: and Subject: field.
6100
6101 2001-09-29  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6102
6103         * elmo-nmz.el (elmo-nmz-content-type-alist): New variable.
6104         (elmo-map-message-fetch): Add `Content-Type' field if contents is
6105         not a message.
6106
6107 2001-09-20  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6108
6109         * elmo.el (elmo-folder-writable-p): Changed default value to nil.
6110         (elmo-folder-move-messages): Check `elmo-folder-writable-p'.
6111
6112         * elmo-archive.el (elmo-folder-writable-p): Defined.
6113
6114         * elmo-cache.el (elmo-folder-writable-p): Ditto.
6115
6116         * elmo-filter.el (elmo-folder-writable-p): Ditto.
6117
6118         * elmo-imap4.el (elmo-folder-writable-p): Ditto.
6119
6120         * elmo-localdir.el (elmo-folder-writable-p): Ditto.
6121
6122         * elmo-maildir.el (elmo-folder-writable-p): Ditto.
6123
6124         * elmo-mark.el (elmo-folder-writable-p): Ditto.
6125
6126         * elmo-pipe.el (elmo-folder-writable-p): Ditto.
6127
6128         * elmo-nntp.el (elmo-folder-writable-p): Eliminated.
6129
6130 2001-09-20  Yuuichi Teranishi  <teranisi@gohome.org>
6131
6132         * elmo-util.el (elmo-address-quote-specials): New function;
6133         Renamed from `wl-address-quote-specials'.
6134
6135 2001-09-18  TAKAHASHI Kaoru  <kaoru@kaisei.org>
6136
6137         * elmo-version.el (elmo-version): Up to 2.7.4.
6138
6139 2001-09-14  Yuuichi Teranishi  <teranisi@gohome.org>
6140
6141         * elmo.el (elmo-quit): Call `elmo-dop-queue-save'.
6142
6143 2001-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
6144
6145         * acap.el (acap-read-passphrase): Always autoload ange-ftp for
6146         both compile-time and run-time to avoid byte-compile warning.
6147
6148 2001-09-13  Kenichi OKADA  <okada@opaopa.org>
6149
6150         * elmo-nntp.el (elmo-nntp-post): Fix for `elmo-nntp-default-stream-type'.
6151
6152 2001-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
6153
6154         * elmo-mime.el (elmo-mime-display-as-is-coding-system): New user
6155         option.
6156         (elmo-mime-display-as-is-internal): Use it.
6157
6158         * acap.el (acap-read-passphrase): Use `ange-ftp-read-passwd'
6159         if `read-passwd' is not defined.
6160
6161 2001-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
6162
6163         * elmo-pop3.el (elmo-pop3-list-location): Sort locations
6164         by original number.
6165         (elmo-folder-status): Call `elmo-folder-open-internal';
6166         Call `elmo-folder-close-internal' instead of `elmo-folder-close'.
6167         (elmo-folder-close-internal): Set location-alist as nil.
6168         (elmo-folder-clear): Define.
6169         (elmo-folder-check): Don't set location-alist as nil.
6170
6171         * elmo-dop.el (elmo-dop-queue-method-name-alist): Fixed symbols.
6172
6173 2001-09-10  Yuuichi Teranishi  <teranisi@gohome.org>
6174
6175         * elmo-util.el (elmo-msgid-to-cache): Enclose with `save-match-data'.
6176         (Pointed out by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>)
6177
6178         * mmimap.el (mime-imap-entity::requested): New slot.
6179         (mime-imap-location-fetch-entity-p): New generic function.
6180         (mime-decode-parameters): Define using `defun-maybe'.
6181         (mmimap-make-mime-entity): Use `make-mime-content-type' to make
6182         content-type structure.
6183         (mime-entity-body): Return empty body if
6184         `mime-imap-location-fetch-entity-p' returns nil in the first request.
6185
6186         * elmo.el (elmo-message-displaying): New variable.
6187
6188         * elmo-mime.el (elmo-mime-message-display): Bind
6189         elmo-message-displaying as t.
6190
6191         * elmo-imap4.el (mime-imap-location-fetch-entity-p): Define.
6192
6193 2001-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
6194
6195         * acap.el (acap-open): erase buffer before starting network process.
6196         (acap-store): Rewrite.
6197
6198 2001-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
6199
6200         * elmo-imap4.el (elmo-imap4-default-mailbox,
6201         elmo-imap4-default-server
6202         elmo-imap4-default-authenticate-type,
6203         elmo-imap4-default-user,
6204         elmo-imap4-default-port,
6205         elmo-imap4-default-stream-type,
6206         elmo-imap4-stream-type-alist): Moved to elmo-vars.el.
6207
6208         * elmo-pop3.el (elmo-pop3-default-user,
6209         elmo-pop3-default-server,
6210         elmo-pop3-default-authenticate-type,
6211         elmo-pop3-default-port,
6212         elmo-pop3-default-stream-type,
6213         elmo-pop3-stream-type-alist): Ditto.
6214
6215         * elmo-nntp.el (elmo-nntp-default-server,
6216         elmo-nntp-default-user,
6217         elmo-nntp-default-port,
6218         elmo-nntp-default-stream-type,
6219         elmo-nntp-stream-type-alist): Ditto.
6220
6221         * elmo-vars.el: Follow changes above.
6222         (elmo-setting): New custom group; added 'elmo-setting group to
6223         above variables.
6224
6225         * elmo-version.el (elmo-version): Up to 2.7.3.
6226
6227         * acap.el (acap-parse-response): Don't delete process when BYE
6228         response (It causes hang-up on slow network environment).
6229         (toplevel): Added comment.
6230
6231 2001-08-28  Yuuichi Teranishi  <teranisi@gohome.org>
6232
6233         * slp.el (slp-exec-wait): Use `slp-program-arguments'.
6234
6235         * acap.el (acap-parse-return-metadata-or-return-metalist): Fix for
6236         parsing NIL.
6237         (acap-parse-return-metadata): Ditto.
6238
6239         * slp.el: New file.
6240         (toplevel): Fixed typo.
6241
6242         * acap.el: New file.
6243         (acap-network-stream-open): Show "Connecting..." message.
6244         (acap-parse-response): Fixed problem for BYE untagged response.
6245         (acap-open): Changed argument (Use `acap-default-user' if user is nil).
6246         (toplevel): Added tiny comments.
6247
6248 2001-08-20  Tatsuya Kinoshita <tats@iris.ne.jp>
6249
6250         * elmo-pop3.el (elmo-pop3-parse-uidl-response): Allow multiple
6251         space delimiter for uidl response.
6252
6253 2001-08-20  Yuuichi Teranishi  <teranisi@gohome.org>
6254
6255         * elmo-vars.el (elmo-use-semi): Eliminated.
6256
6257         * elmo-util.el (elmo-string-assoc-all): New function.
6258
6259 2001-08-16  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6260
6261         * elmo-mime.el (elmo-mime-display-as-is-internal): Put text
6262         property 'mime-preview-situation for `mime-preview-quit'.
6263
6264 2001-08-15  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6265
6266         * elmo.el (elmo-message-fetch-with-cache-process): Call
6267         elmo-message-fetch-internal instead of causing an error when fetch
6268         strategy is 'entire but only 'section cache is available.
6269
6270 2001-08-15  Yuuichi Teranishi  <teranisi@gohome.org>
6271
6272         * elmo-version.el (elmo-version): Up to 2.7.2.
6273
6274         * elmo.el (elmo-generic-folder-append-messages): Make
6275         fetch-strategy with `use-cache'.
6276
6277         * elmo-dop.el (elmo-dop-queue-method-name-alist): New variable.
6278         (elmo-dop-queue-method-name): New macro.
6279
6280 2001-08-03  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6281
6282         * elmo-archive.el (elmo-archive-get-archive-name): Fixed
6283         unbalanced parenthesis.
6284
6285 2001-08-03  YAMASHITA Junji <ysjj@unixuser.org>
6286
6287         * elmo-localdir.el (elmo-folder-rename-internal): Fixed typo.
6288
6289 2001-08-03  Yuuichi Teranishi  <teranisi@gohome.org>
6290
6291         * elmo-archive.el (elmo-archive-get-archive-name): Fixed logic.
6292         (Advised by YAMASHITA Junji <ysjj@unixuser.org>.)
6293
6294 2001-08-02  Yuuichi Teranishi  <teranisi@gohome.org>
6295
6296         * elmo-shimbun.el (elmo-folder-msgdb-create): Bind unbound
6297         local variables.
6298
6299 2001-07-30  Yuuichi Teranishi  <teranisi@gohome.org>
6300
6301         * elmo-shimbun.el (elmo-shimbun-use-cache): New user option.
6302         (elmo-message-use-cache-p): Define.
6303         (elmo-folder-msgdb-create): Treat cache.
6304
6305 2001-07-28  Kenichi OKADA  <okada@opaopa.org>
6306
6307         * elmo-nntp.el (elmo-network-initialize-session): Call
6308         `elmo-nntp-send-mode-reader'.
6309         (elmo-network-setup-session): Remove `elmo-nntp-send-mode-reader'.
6310
6311 2001-07-26  Yuuichi Teranishi  <teranisi@gohome.org>
6312
6313         * elmo-shimbun.el (elmo-shimbun-index-range-alist): Changed to regexp
6314         alist.
6315         (elmo-folder-initialize): Use elmo-string-matched-assoc instead of
6316         assoc.
6317
6318         * elmo-net.el (elmo-network-get-session): Set stream-type argument
6319         for `elmo-plugged-p'.
6320         (elmo-open-network-stream): Fixed stream-type argument.
6321
6322 2001-07-25  Yuuichi Teranishi  <teranisi@gohome.org>
6323
6324         * elmo-archive.el (elmo-archive-get-archive-name): Cause an error when
6325         unknown archive type is specified.
6326
6327 2001-07-23  Yuuichi Teranishi  <teranisi@gohome.org>
6328
6329         * elmo-shimbun.el (elmo-folder-open-internal): Fixed.
6330
6331         * elmo.el (elmo-generic-folder-open): Bind inhibit-quit as t
6332         while loading msgdb.
6333
6334         * elmo-shimbun.el (elmo-shimbun-folder-setup): New function.
6335         (elmo-folder-open-internal): Rewrite.
6336
6337 2001-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
6338
6339         * elmo-mime.el (elmo-mime-display-as-is-internal):
6340         Adjust buffer-multibyte status.
6341
6342 2001-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
6343
6344         * elmo.el (elmo-msgdb-search): Use elmo-condition-in-msgdb-p instead
6345         of elmo-condition-find-key.
6346
6347         * elmo-util.el (elmo-condition-in-msgdb-p-internal): New function.
6348         (elmo-condition-in-msgdb-p): Ditto.
6349         (elmo-read-search-condition-internal): Don't set REQUIRE-MATCH
6350         argument.
6351
6352 2001-07-12  Yuuichi Teranishi  <teranisi@gohome.org>
6353
6354         * elmo-pipe.el (elmo-folder-pack-numbers): Define.
6355
6356 2001-07-05  Yuuichi Teranishi  <teranisi@gohome.org>
6357
6358         * elmo-imap4.el (elmo-imap4-find-next-line): Fixed
6359         label for elmo-display-progress.
6360
6361 2001-07-02  Yuuichi Teranishi  <teranisi@gohome.org>
6362
6363         * elmo.el (elmo-folder-clear): New method.
6364         (elmo-folder-clear): Define.
6365         (elmo-folder-synchronize): Call `elmo-folder-clear'.
6366
6367         * elmo-shimbun.el (elmo-folder-check): Rewrite.
6368         (elmo-folder-clear): Define.
6369
6370         * elmo-map.el (elmo-folder-clear): Define.
6371
6372         * elmo-version.el (elmo-version): Up to 2.7.1.
6373
6374 2001-06-26  Yuuichi Teranishi  <teranisi@gohome.org>
6375
6376         * elmo.el (elmo-folder-synchronize): Return list of nil when no
6377         updates.
6378
6379 2001-06-21  Yuuichi Teranishi  <teranisi@gohome.org>
6380
6381         * elmo.el (elmo-generic-folder-append-messages): Fixed logic.
6382         (Detected by NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>)
6383
6384 2001-06-20  Yuuichi Teranishi  <teranisi@gohome.org>
6385
6386         * elmo-util.el (elmo-get-network-stream-type): Moved to elmo-net.el.
6387
6388         * elmo-net.el (elmo-get-network-stream-type): Moved from elmo-util.el
6389         and re-written.
6390
6391         * elmo-imap4.el (elmo-folder-initialize): Use
6392         elmo-get-network-stream-type.
6393
6394         * elmo-nntp.el (elmo-folder-initialize): Ditto.
6395
6396         * elmo-pop3.el (elmo-folder-initialize): Ditto.
6397
6398 2001-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
6399
6400         * elmo.el (elmo-message-encache): Set unread argument for
6401         elmo-message-fetch.
6402
6403         * elmo-shimbun.el (elmo-dop): Require 'elmo-dop.
6404
6405         * elmo.el (elmo-net-port-info): New method.
6406
6407         * elmo-shimbun.el (elmo-net-port-info): Define.
6408         (elmo-message-encache): Ditto.
6409
6410         * elmo-net.el (elmo-net-port-info): Define as method.
6411
6412         * elmo.el (elmo-generic-folder-append-messages): Find cache file in
6413         unplugged status when elmo-enable-disconnected-operation is t.
6414
6415         * elmo-dop.el (elmo-dop-spool-folder-append-buffer): Check existence
6416         of spool folder before checking new number.
6417
6418 2001-06-18  Yuuichi Teranishi  <teranisi@gohome.org>
6419
6420         * elmo-pop3.el (elmo-network-close-session): Removed 3rd argument.
6421         (elmo-network-setup-session): Ditto.
6422         (elmo-message-fetch-plugged): Ditto.
6423         (elmo-pop3-send-command): Don't call elmo-pop3-lock.
6424         (elmo-network-initialize-session): Ditto.
6425         (elmo-pop3-read-response): Abolish 3rd argument.
6426         (elmo-pop3-read-response): Don't call elmo-pop3-unlock.
6427         (elmo-pop3-read-contents): Ditto.
6428         (elmo-pop3-read-body): Ditto.
6429         (elmo-folder-status): Call elmo-folder-close.
6430         (elmo-pop3-lock): Abolish.
6431         (elmo-pop3-unlock): Ditto.
6432         (elmo-pop3-locked-p): Ditto.
6433         (elmo-folder-check): Don't call elmo-pop3-locked-p.
6434
6435 2001-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
6436
6437         * elmo-version.el (elmo-version): Up to 2.7.0.
6438
6439         * elmo-pop3.el (elmo-pop3-debug): New variable.
6440         (elmo-pop3-debug-inhibit-logging): Ditto.
6441         (elmo-pop3-debug): New function.
6442         (elmo-pop3-send-command): Call elmo-pop3-debug.
6443         (elmo-pop3-read-response): Added keep-lock optional argument;
6444         Don't unlock if keep-lock is non-nil.
6445         (elmo-pop3-process-filter): Call elmo-pop3-debug.
6446         (elmo-network-authenticate-session): Bind
6447         elmo-pop3-debug-inhibit-logging as t.
6448         (elmo-network-setup-session): Call elmo-pop3-read-response with
6449         keep-lock argument.
6450         (elmo-pop3-read-msg): Ditto.
6451         (elmo-pop3-locked-p): Call elmo-pop3-debug.
6452         (elmo-pop3-read-body): Call elmo-pop3-unlock.
6453         (elmo-network-initialize-session): Call elmo-pop3-lock.
6454         (elmo-folder-close-internal): Don't clear location-alist slot.
6455         (elmo-folder-check): Clear location-alist slot.
6456
6457 2001-06-13  Yuuichi Teranishi  <teranisi@gohome.org>
6458
6459         * elmo-pop3.el (elmo-pop3-lock): New buffer local variable.
6460         (elmo-pop3-send-command): Call elmo-pop3-lock.
6461         (elmo-pop3-read-response): Call elmo-pop3-unlock.
6462         (elmo-pop3-read-contents): Ditto.
6463         (elmo-pop3-lock): New function.
6464         (elmo-pop3-unlock): Ditto.
6465         (elmo-pop3-locked-p): Ditto.
6466         (elmo-folder-check): Don't delete process if elmo-pop3-locked-p
6467         returns t.
6468
6469 2001-06-11  Yuuichi Teranishi  <teranisi@gohome.org>
6470
6471         * elmo-shimbun.el (elmo-shimbun-msgdb-to-headers): Inverted logic.
6472
6473         * elmo-util.el (elmo-file-field-primitive-condition-match):
6474         New inline function (Don't fetch file content if "first" or "last").
6475         (elmo-file-field-condition-match): Use
6476         elmo-file-field-primitive-condition-match.
6477
6478         * elmo-localdir.el (elmo-folder-search): Speed up simple "last" and
6479         "first".
6480
6481         * elmo-pop3.el (elmo-pop3-process-filter): Don't use floor nor float.
6482         (elmo-message-fetch-plugged): Fixed.
6483
6484         * elmo-imap4.el (elmo-imap4-find-next-line): Ditto.
6485
6486 2001-06-10  Yuuichi Teranishi  <teranisi@gohome.org>
6487
6488         * elmo.el (elmo-folder-move-messages): Bind
6489         elmo-inhibit-display-retrieval-progress as t while moving messages.
6490
6491         * elmo-vars.el (elmo-display-retrieval-progress-threshold):
6492         New variable.
6493         (elmo-inhibit-display-retrieval-progress): Ditto.
6494
6495         * elmo-pop3.el (elmo-pop3-process-filter): Use elmo-display-progress
6496         for retrieval progress;
6497         Don't display progress when total buffer size is smaller than
6498         elmo-display-retrieval-progress-threshold.
6499         (elmo-message-fetch-plugged): Don't display progress when
6500         elmo-inhibit-display-retrieval-progress is non-nil.
6501
6502         * elmo-imap4.el (elmo-imap4-find-next-line): Use elmo-display-progress
6503         for retrieval progress;
6504         Don't display progress when literal size is smaller than
6505         elmo-display-retrieval-progress-threshold.
6506         (elmo-imap4-message-fetch): Don't display progress when
6507         elmo-inhibit-display-retrieval-progress is non-nil.
6508
6509 2001-06-07  Yuuichi Teranishi  <teranisi@gohome.org>
6510
6511         * elmo-imap4.el (elmo-imap4-display-literal-progress): New variable.
6512         (elmo-imap4-find-next-line): Display progress whille literal fetching.
6513         (elmo-imap4-message-fetch): Likewise.
6514
6515         * elmo-shimbun.el (elmo-shimbun-default-index-range): New user option.
6516         (elmo-shimbun-index-range-alist): Ditto.
6517         (elmo-shimbun-use-entire-index): Abolish.
6518         (shimbun-mua-use-entire-index): Ditto.
6519         (elmo-shimbun-folder): Added new slot `range'.
6520         (elmo-folder-initialize): Setup slot `range'.
6521
6522 2001-06-06  Yuuichi Teranishi  <teranisi@gohome.org>
6523
6524         * elmo-shimbun.el (elmo-shimbun-parse-time-string): New function.
6525         (elmo-shimbun-msgdb-to-headers): Added `expire-days' argument.
6526         (elmo-shimbun-get-headers): Use return value of
6527         `shimbun-article-expiration-days'.
6528         (elmo-folder-close-internal): Clean up last-check slot.
6529
6530         * elmo-pop3.el (elmo-pop3-process-filter): Show retrieve progress.
6531         (elmo-pop3-total-size): New variable.
6532         (elmo-message-fetch-plugged): Bind elmo-pop3-total-size while fetching.
6533
6534         * elmo.el (elmo-folder-reserve-status-p): New method.
6535
6536         * elmo-shimbun.el (elmo-shimbun-headers-cache): Abolish.
6537         (elmo-shimbun-use-entire-index): New user option.
6538         (shimbun-elmo-mua): New class.
6539         (shimbun-mua-search-id): Define.
6540         (shimbun-mua-use-entire-index): Ditto.
6541         (elmo-shimbun-folder:last-check): New slot.
6542         (elmo-shimbun-headers-cache-header-list): Abolish.
6543         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6544         (elmo-shimbun-headers-cache-header-hash): Ditto.
6545         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6546         (elmo-shimbun-headers-cache-last-check): Ditto.
6547         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6548         (elmo-shimbun-headers-check-p): Rewrite.
6549         (elmo-shimbun-msgdb-to-headers): New function.
6550         (elmo-shimbun-get-headers): Rewrite.
6551         (elmo-folder-initialize): Set 1st argument of `shimbun-open'.
6552         (elmo-folder-open-internal): Get headers only if
6553         `elmo-shimbun-headers-check-p' is non-nil.
6554         (elmo-folder-check): Check only if `elmo-shimbun-headers-check-p'
6555         is non-nil.
6556         (elmo-shimbun-msgdb-create-entity): Re-use old msgdb entities.
6557         (elmo-quit): Removed.
6558
6559         * elmo-msgdb.el (elmo-msgdb-overview-entity-get-extra): New inline
6560         function.
6561         (elmo-msgdb-overview-entity-set-extra): Ditto.
6562         (elmo-msgdb-make-overview-hashtb): Make hash if overview is non-nil.
6563
6564         * elmo-map.el (elmo-folder-status): Don't call
6565         elmo-folder-close-internal if `elmo-folder-reserve-status-p'
6566         is non-nil.
6567
6568 2001-06-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6569
6570         * elmo-msgdb.el (elmo-msgdb-search-internal): Call itself instead
6571         of `elmo-msgdb-search-internal-primitive' when condition's car is
6572         `and' or `or'.
6573
6574 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
6575
6576         * elmo-nntp.el (elmo-nntp-get-newsgroup-by-msgid): Fix for luna.
6577
6578 2001-05-22  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6579
6580         * elmo-pipe.el (elmo-folder-open-internal): Check plugged before
6581         call `elmo-pipe-drain'.
6582
6583 2001-05-19  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6584
6585         * elmo-mark.el (elmo-message-fetch-with-cache-process): Fixed
6586         typo. (elmo-cache-folder -> elmo-mark-folder)
6587
6588 2001-05-11  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6589
6590         * elmo-net.el (elmo-message-fetch-unplugged): Don't call
6591         `elmo-message-fetch'.
6592
6593 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6594
6595         * elmo-net.el (elmo-message-encache): Fixed typo.
6596         (elmo-message-fetch-unplugged): Changed call
6597         `elmo-message-fetch-internal' without argument `outbuf'.
6598
6599 2001-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
6600
6601         * elmo.el (elmo-message-encache): Define as generic function.
6602         (elmo-message-fetch-field): New generic function.
6603         (elmo-message-fetch-with-cache-process): Cause an error when
6604         fetch strategy is 'entire but only 'section cache is available.
6605         (toplevel): Fixed nmz folder definition.
6606
6607         * elmo-vars.el (elmo-msgdb-lock-list-filename): Removed.
6608         (elmo-msgdb-resume-list-filename): Ditto.
6609         (elmo-queue-filename): Ditto.
6610         (elmo-enable-disconnected-operation): Changed default value to t.
6611
6612         * elmo-util.el (elmo-cache-path-section-p): New function.
6613         (elmo-file-cache-get): Use it.
6614         (elmo-dop-queue-filename): Moved from elmo-dop.el.
6615         (elmo-dop-queue-load): Moved from elmo-msgdb.el.
6616         (elmo-dop-queue-save): Ditto.
6617
6618         * elmo-net.el (elmo-folder-status-unplugged): Call
6619         elmo-folder-status-dop.
6620         (elmo-folder-list-messages-unplugged): Implemented.
6621         (elmo-folder-delete-messages-unplugged): Define.
6622         (elmo-folder-msgdb-create): Define.
6623         (elmo-folder-msgdb-create-unplugged): Define.
6624         (elmo-folder-mark-as-read-unplugged): Ditto.
6625         (elmo-folder-unmark-read-unplugged): Ditto.
6626         (elmo-folder-mark-as-important-unplugged): Ditto.
6627         (elmo-folder-unmark-important-unplugged): Ditto.
6628         (elmo-message-encache): Ditto.
6629
6630         * elmo-msgdb.el (elmo-dop-queue-load): Moved to elmo-util.el.
6631         (elmo-dop-queue-save): Ditto.
6632
6633         * elmo-imap4.el (elmo-folder-msgdb-create-plugged): Renamed from
6634         `elmo-folder-msgdb-create'.
6635         (elmo-folder-append-buffer): Implemented unplugged operation.
6636         (elmo-folder-append-messages): Call parent method in unplugged status.
6637         (elmo-message-fetch-unplugged): Removed definition.
6638         (elmo-message-fetch-field): Implemented.
6639
6640         * elmo-dop.el (toplevel): Require 'elmo-localdir.
6641         (elmo-dop-folder): Removed variable definition.
6642         (elmo-dop-queue-append): Changed argument `fname' to `folder'.
6643         (elmo-dop-queue-flush): Implemented.
6644         (elmo-dop-queue-merge): Removed definition (TODO).
6645         (elmo-dop-spool-folder): New function.
6646         (elmo-dop-spool-folder-append-buffer): Ditto.
6647         (elmo-dop-spool-folder-list-messages): Ditto.
6648         (elmo-dop-list-deleting-messages): Ditto.
6649         (elmo-folder-append-buffer-dop): Ditto.
6650         (elmo-folder-delete-messages-dop): Ditto.
6651         (elmo-message-encache-dop): New inline function.
6652         (elmo-create-folder-dop): Ditto.
6653         (elmo-folder-mark-as-read-dop): Ditto.
6654         (elmo-folder-unmark-read-dop): Ditto.
6655         (elmo-folder-mark-as-important-dop): Ditto.
6656         (elmo-folder-unmark-important-dop): Ditto.
6657         (elmo-folder-status-dop): Fixed.
6658         (elmo-folder-append-buffer-dop-delayed): New function.
6659         (elmo-folder-delete-messages-dop-delayed): Ditto.
6660         (elmo-dop-msgdb): Ditto.
6661
6662 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6663
6664         * elmo-localdir.el (elmo-folder-pack-numbers): Fixed.
6665
6666 2001-05-10  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6667
6668         * elmo.el (elmo-folder-move-messages): Fixed problem when
6669         `dst-folder' is 'null.
6670
6671 2001-05-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6672
6673         * elmo.el (elmo-folder-list-importants): Rewirte. Use global mark
6674         instead of current mark.
6675
6676         * elmo-multi.el (elmo-folder-list-importants-internal): No
6677         operation if importants is not list.
6678
6679         * elmo-filter.el (elmo-filter-folder-list-importants-internal):
6680         Return t if importants is not list.
6681
6682         * elmo-map.el (elmo-map-folder-list-importants): Define.
6683         (elmo-folder-list-importants-internal): Check return value of
6684         `elmo-map-folder-list-importants-internal'.
6685
6686         * elmo-cache.el (elmo-folder-list-importants-internal): Eliminated.
6687
6688         * elmo-mark.el (elmo-folder-list-importants-internal): Ditto.
6689
6690         * elmo-nmz.el (elmo-folder-list-importants-internal): Ditto.
6691
6692         * elmo-shimbun.el (elmo-folder-list-importants-internal): Ditto.
6693
6694 2001-05-08  Yuuichi Teranishi  <teranisi@gohome.org>
6695
6696         * elmo.el (elmo-message-fetch-confirm): Fixed docstring.
6697         (Patch is provided by <kita@coe.nttdata.co.jp>).
6698
6699 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6700
6701         * elmo.el (elmo-folder-synchronize): Don't check important mark in
6702         mark folder.
6703
6704 2001-05-08  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6705
6706         * elmo.el (elmo-message-fetch): Define.
6707         (elmo-message-fetch-with-cache-process): New generic method.
6708         (elmo-message-fetch-internal): New generic method.
6709         (elmo-folder-synchronize):
6710
6711         * elmo-archive.el (elmo-message-fetch-internal): Define.
6712         (elmo-message-fetch): Eliminated.
6713
6714         * elmo-localdir.el (elmo-message-fetch-internal): Define.
6715         (elmo-message-fetch): Eliminated.
6716
6717         * elmo-map.el (elmo-map-message-fetch): Eliminated optional
6718         argument OUTBUF.
6719         (elmo-message-fetch-internal): Define (Renamed from `elmo-message-fetch').
6720
6721         * elmo-cache.el (elmo-message-fetch-with-cache-process): Define.
6722         (elmo-map-message-fetch): Merged with elmo-cache-folder-map-message-fetch.
6723
6724         * elmo-mark.el (elmo-message-fetch-with-cache-process): Define.
6725         (elmo-map-message-fetch): Merged with `elmo-mark-folder-map-message-fetch'.
6726
6727         * elmo-maildir.el (elmo-map-message-fetch): Rewrite.
6728
6729         * elmo-nmz.el (elmo-map-message-fetch): Ditto.
6730
6731         * elmo-shimbun.el (elmo-map-message-fetch): Ditto.
6732
6733         * elmo-net.el (elmo-message-fetch-plugged): Remove cache process.
6734         (elmo-message-fetch-unplugged): New generic method.
6735         (elmo-message-fetch-internal): Remove cache process (Renamed from
6736         `elmo-message-fetch').
6737
6738         * elmo-nntp.el (elmo-message-fetch-with-cache-process): Define.
6739         (elmo-message-fetch): Eliminated.
6740         (elmo-message-fetch-unplugged): Ditto.
6741
6742         * elmo-imap4.el (elmo-message-fetch-unplugged): Remove cache process.
6743
6744 2001-05-02  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6745
6746         * elmo-multi.el (elmo-multi-folder-append-msgdb): Fixed structure
6747         of `to-be-deleted' from number-alist to number-list.
6748
6749 2001-04-26  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6750
6751         * elmo-pipe.el (elmo-folder-unmark-important): Fixed typo.
6752         (elmo-folder-mark-as-important): Ditto.
6753
6754 2001-04-26  Yuuichi Teranishi  <teranisi@gohome.org>
6755
6756         * elmo.el (elmo-folder): Added process-duplicates slot.
6757
6758         * elmo-pipe.el (elmo-folder-mark-as-read): Define.
6759         (elmo-folder-unmark-read): Ditto.
6760         (elmo-folder-unmark-important): Ditto.
6761         (elmo-folder-mark-as-important): Ditto.
6762
6763         * elmo-multi.el (elmo-multi-folder-append-msgdb): Implemented
6764         duplicated message processing.
6765
6766         * elmo.el (elmo-generic-folder-append-msgdb): Ditto.
6767
6768 2001-04-24  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6769
6770         * elmo-util.el (elmo-list-subdirectories-1): New function.
6771         (elmo-list-subdirectories): Use `elmo-list-subdirectories-1'.
6772         (elmo-mapcar-list-of-list): New function.
6773
6774         * elmo-archive.el (elmo-archive-folder-list-subfolders): Use
6775         `elmo-mapcar-list-of-list' instead of `mapcar'.
6776
6777         * elmo-localdir.el (elmo-folder-list-subfolders): Ditto.
6778
6779         * elmo-maildir.el (elmo-folder-list-subfolders): Ditto. Bind
6780         `elmo-have-link-count'. Return the fully qualified folder name.
6781
6782 2001-04-23  Yuuichi Teranishi  <teranisi@gohome.org>
6783
6784         * elmo-shimbun.el (elmo-shimbun-check-interval): New user option.
6785         (elmo-shimbun-headers-cache): New internal variable.
6786         (elmo-shimbun-headers-cache-header-list): New inline function.
6787         (elmo-shimbun-headers-cache-set-header-list): Ditto.
6788         (elmo-shimbun-headers-cache-header-hash): Ditto.
6789         (elmo-shimbun-headers-cache-set-header-hash): Ditto.
6790         (elmo-shimbun-headers-cache-last-check): Ditto.
6791         (elmo-shimbun-headers-cache-set-last-check): Ditto.
6792         (elmo-shimbun-lapse-seconds): Ditto.
6793         (elmo-shimbun-headers-cache-check-p): Ditto.
6794         (elmo-shimbun-get-headers): New function.
6795         (elmo-folder-open-internal): Call it.
6796         (elmo-quit): Define (Clear headers-cache).
6797
6798 2001-04-18  Yuuichi Teranishi  <teranisi@gohome.org>
6799
6800         * elmo-nntp.el (elmo-folder-initialize): Fixed typo (folder->name).
6801
6802         * elmo-msgdb.el (elmo-msgdb-flist-load): Use elmo-mime-charset.
6803         (elmo-msgdb-flist-save): Ditto.
6804
6805         * elmo-shimbun.el (elmo-folder-list-subfolders):
6806         Use `shimbun-groups' instead of `shimbun-groups-internal'.
6807         (elmo-folder-exists-p): Ditto.
6808
6809         * elmo-shimbun.el (elmo-shimbun-msgdb-create-entity): Set `shimbun'
6810         argument for `shimbun-header-insert'.
6811
6812 2001-04-17  Yuuichi Teranishi  <teranisi@gohome.org>
6813
6814         * elmo-multi.el (elmo-multi-folder-diff): Use dummy number list
6815         at first time.
6816
6817         * elmo-util.el (toplevel): Require 'mcharset and 'pces.
6818         (With a little help from 'NAKAJIMA Mikio <minakaji@osaka.email.ne.jp>')
6819
6820 2001-04-16  Yuuichi Teranishi  <teranisi@gohome.org>
6821
6822         * elmo-shimbun.el (elmo-folder-open-internal): Do nothing if unplugged.
6823         (elmo-folder-plugged-p): Define.
6824         (elmo-folder-set-plugged): Ditto.
6825         (elmo-shimbun-msgdb-create-entity): Do nothing if there's no header.
6826         (elmo-folder-list-messages-internal): Return t if unplugged.
6827         (elmo-folder-initialize): Fixed for "@gnome.gnome-1.4-list".
6828
6829         * elmo-multi.el (elmo-folder-list-messages-internal): Fixed problem
6830         when elmo-folder-list-messages-internal method of children returns t.
6831
6832         * elmo-map.el (elmo-map-folder-update-locations): Fixed problem when
6833         pair is nil.
6834         (elmo-folder-open-internal): Don't update if unplugged status.
6835
6836 2001-04-13  Yuuichi Teranishi  <teranisi@gohome.org>
6837
6838         * elmo.el (elmo-folder-synchronize): Fixed problem when there's no
6839         new message.
6840
6841 2001-04-12  Yuuichi Teranishi  <teranisi@gohome.org>
6842
6843         * elmo-util.el (elmo-file-cache-save): Ignore errors.
6844
6845         * elmo-net.el (elmo-message-fetch): Check cache-path is non-nil before
6846         saving.
6847
6848 2001-04-09  Yuuichi Teranishi  <teranisi@gohome.org>
6849
6850         * elmo.el (elmo-folder-synchronize): Added optional no-check argument.
6851
6852         * elmo-shimbun.el (elmo-shimbun-folder): Added headers slot.
6853         (elmo-folder-open-internal): Set up headers slot.
6854         (elmo-folder-check): Call elmo-folder-close-internal and
6855         elmo-folder-open-internal.
6856         (elmo-folder-close-internal): Clean up headers slot.
6857
6858 2001-04-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
6859
6860         * elmo-archive.el (elmo-archive-folder-list-subfolders): Match
6861         exactly folder list.
6862         (elmo-folder-append-messages): Fixed append archive with prefix.
6863
6864         * elmo-localdir.el (elmo-folder-message-make-temp-files): Fixed
6865         make temp files with start-number.
6866
6867         * elmo-pipe.el (elmo-folder-message-make-temp-file-p): Fixed typo.
6868
6869 2001-04-05  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
6870
6871         * elmo.el (elmo-folder-list-messages-internal): Fixed lucking optional
6872         argument `visible-only'.
6873         (elmo-generic-folder-append-messages): Fixed condition. Use `unless'
6874         instead of `if'.
6875
6876         * elmo-pop3.el (elmo-folder-open-internal): Check
6877         `elmo-inhibit-number-mapping' is non-nil.
6878
6879         * elmo-pipe.el (elmo-folder-status): Fixed.
6880
6881 2001-04-05  Yuuichi Teranishi  <teranisi@gohome.org>
6882
6883         * elmo.el (elmo-dop-queue-flush): Added autload setting.
6884
6885         * elmo-shimbun.el (elmo-shimbun-folder): Added `header-hash' slot.
6886         (elmo-folder-open-internal): Setup `header-hash' slot.
6887         (elmo-shimbun-msgdb-create-entity): Use `header-hash' to get header
6888         information.
6889         (elmo-map-message-fetch): Ditto.
6890
6891 2001-04-04  Yuuichi Teranishi  <teranisi@gohome.org>
6892
6893         * shimbun.el, sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6894         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6895         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6896         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el, sb-tcup.el: Removed.
6897
6898         * elmo-util.el (elmo-resque-obsolete-variable): Fix.
6899
6900 2001-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
6901
6902         * sb-airs.el: Added footer.
6903
6904         * shimbun.el (shimbun-article): Define as luna-method.
6905
6906         * sb-tcup.el: New file.
6907
6908         * sb-airs.el (toplevel): Require 'sb-mhonarc.
6909         (According to the report from ABE Yasushi <yasushi@indigo.co.jp>)
6910
6911 2001-04-02  Yuuichi Teranishi  <teranisi@gohome.org>
6912
6913         * sb-asahi.el (shimbun-index-url): Removed redundant '/' in URL string.
6914         (shimbun-get-headers): Ditto.
6915
6916         * elmo.el: Moved obsolete variable definitions from
6917         elmo-imap4.el, elmo-nntp.el and elmo-pop3.el.
6918
6919         * sb-asahi.el (shimbun-asahi-groups): Deleted "feneral" and "personal"
6920         groups.
6921
6922         * shimbun.el: New file.
6923
6924         * elmo-shimbun.el: New file.
6925
6926         * sb-airs.el, sb-asahi.el, sb-bbdb-ml.el, sb-cnet.el,
6927         sb-fml.el, sb-lump.el, sb-mew.el, sb-mhonarc.el,
6928         sb-netbsd.el, sb-sponichi.el, sb-text.el, sb-wired.el,
6929         sb-xemacs.el, sb-yomiuri.el, sb-zdnet.el: New files.
6930
6931 2001-03-27  Kenichi OKADA  <okada@opaopa.org>
6932
6933         * elmo-imap4.el (elmo-imap4-list-folders): Fixed problem when
6934         hierarchy is t.
6935
6936 2001-03-12  Yuuichi Teranishi  <teranisi@gohome.org>
6937
6938         * elmo.el (elmo-folder-msgdb): Define as macro.
6939         (elmo-folder-open): Added argument `load-msgdb'.
6940         (elmo-generic-folder-open): Ditto.
6941         (elmo-folder-encache): New function.
6942
6943         * elmo-dop.el (elmo-dop-queue): Moved from elmo-dop.el.
6944
6945         * elmo-net.el (elmo-message-fetch): Check the cache path is non-nil.
6946
6947         * elmo-msgdb.el (elmo-msgdb-delete-msgs):
6948         Eliminated argument FOLDER and added argument MSGDB.
6949         (elmo-dop-queue-load): Moved from elmo-dop.el.
6950         (elmo-dop-queue-save): Ditto.
6951
6952         * elmo-map.el (elmo-map-folder-update-locations): Sort by number.
6953
6954         * elmo-imap4.el (elmo-folder-open): Added argument load-msgdb.
6955
6956         * elmo-filter.el (elmo-filter-folder-list-unreads-internal):
6957         Use elmo-folder-msgdb instead of elmo-folder-msgdb-internal.
6958         (elmo-filter-folder-list-importants-internal): Ditto.
6959
6960         * elmo-map.el (elmo-folder-pack-number): Ditto.
6961
6962         * elmo-mime.el (elmo-mime-message-display): Ditto.
6963
6964         * elmo.el (elmo-generic-folder-commit): Ditto.
6965         (elmo-folder-list-unreads): Ditto.
6966         (elmo-folder-list-importants): Ditto.
6967         (elmo-generic-folder-commit): Ditto.
6968         (elmo-message-set-mark): Ditto.
6969         (elmo-generic-folder-append-msgdb): Ditto.
6970         (elmo-folder-synchronize): Ditto.
6971         (elmo-folder-messages): Ditto.
6972         (elmo-init): Call elmo-dop-queue-load.
6973         (elmo-folder-list-messages): Ditto.
6974
6975         * elmo-nntp.el (elmo-folder-update-number): Ditto.
6976         (elmo-nntp-folder-process-crosspost): Ditto.
6977         (elmo-folder-list-unreads-internal): Ditto.
6978
6979         * elmo-dop.el: Removed old functions.
6980
6981 2001-03-05  Yuuichi Teranishi  <teranisi@gohome.org>
6982
6983         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument from
6984         `folder' to `msgdb'.
6985
6986 2001-03-01  Yuuichi Teranishi  <teranisi@gohome.org>
6987
6988         * mmimap.el (mmimap-parse-parameters-from-list): Define as alias for
6989         `mime-decode-parameters' instead of `mime-decode-parameter-plist'.
6990
6991         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Bind
6992         case-fold-search.
6993
6994 2001-02-28  Yuuichi Teranishi  <teranisi@gohome.org>
6995
6996         * elmo-util.el (elmo-resque-obsolete-variable): Use defvaralias if
6997         defined.
6998
6999         * mmimap.el (toplevel): Require 'mime-parse and 'static.
7000         (mmimap-parse-parameters-from-list): Define as alias for
7001         `mime-decode-parameter-plist' if it is defined as function.
7002         (mmimap-make-mime-entity): Added argument `number'.
7003         (initialize-instance): Set `number' argument of mmimap-make-mime-entity
7004         as 0.
7005         (mime-imap-entity-header-string): Arrange node-id for rfc2060 section.
7006
7007         * elmo.el (elmo-folder-have-subfolder-p): New generic function.
7008
7009         * elmo-mark.el (elmo-folder-have-subfolder-p): Define.
7010
7011         * elmo-internal.el (elmo-folder-list-subfolders): Rewrite.
7012
7013 2001-02-27  Yuuichi Teranishi  <teranisi@gohome.org>
7014
7015         * elmo-maildir.el (elmo-folder-msgdb-create): Fixed.
7016
7017         * elmo-imap4.el (elmo-folder-initialize): Fixed problem
7018         when elmo-imap4-default-authenticate-type is nil.
7019         (elmo-folder-list-subfolders): Ditto
7020         (According to the reported of Bun Mizuhara <mizuhara@acm.org>)
7021         (elmo-imap4-fetch-callback-1-subr): Renamed from
7022         `elmo-imap4-fetch-callback-1' and define as inline function.
7023         (elmo-imap4-fetch-callback-1):
7024         Renamed from `elmo-imap4-fetch-callback'.
7025         (elmo-imap4-parse-fetch): Funcall `elmo-imap4-fetch-callback'.
7026
7027         * elmo-localdir.el (elmo-folder-expand-msgdb-path): Fixed
7028         msgdb path (To keep compatibility with main trunk).
7029
7030         * elmo-vars.el (elmo-inhibit-number-mapping): New variable.
7031
7032         * elmo-util.el (elmo-make-file-cache): Moved position of
7033         some macros.
7034
7035         * elmo-pop3.el (elmo-pop3-inhibit-uidl): Eliminated.
7036         (elmo-pop3-get-session): Use `elmo-inhibit-number-mapping'
7037         instead of `elmo-pop3-inhibit-uidl'.
7038         (elmo-folder-exists-p): Ditto.
7039         (elmo-pop3-folder-list-messages): Ditto.
7040
7041         * elmo-pipe.el (elmo-pipe-drain): Use `elmo-inhibit-number-mapping'
7042         instead of `elmo-pop3-inhibit-uidl'.
7043         (elmo-folder-status): Ditto.
7044
7045         * elmo-dop.el (elmo-dop-folder): New variable.
7046         (elmo-dop-lock-message): Eliminated.
7047         (elmo-dop-unlock-message): Ditto.
7048         (elmo-dop-lock-list-load): Ditto.
7049         (elmo-dop-lock-list-save): Ditto.
7050         (elmo-dop-delete-folder): Ditto.
7051         (elmo-dop-rename-folder): Ditto.
7052
7053         * elmo.el: Removed incomplete commentary.
7054
7055 2001-02-25  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7056
7057         * elmo.el (toplevel): Require 'elmo-version first;
7058         for little `recursive-load-depth' settings.
7059         Fix "ends here" comment.
7060
7061 2001-02-23  Yuuichi Teranishi  <teranisi@gohome.org>
7062
7063         * elmo-util.el (toplevel): Require 'poem;
7064         Some functions are moved from elmo-cache.el.
7065
7066         * elmo-net.el (toplevel): Require 'elmo-cache.
7067
7068         * elmo-msgdb.el (toplevel): Don't require 'elmo-cache.
7069
7070         * elmo.el (toplevel): Ditto.
7071
7072         * elmo-cache.el: Rewrite with luna;
7073         Some functions are moved to elmo-util.el.
7074
7075         * elmo-internal.el (elmo-internal-folder-list): New variable.
7076         (elmo-internal-folder-initialize): Rewrite.
7077         (elmo-folder-list-subfolders): Ditto.
7078
7079         * elmo-cache.el (elmo-cache-search-all): Eliminated.
7080         (elmo-cache-collect-sub-directories): Ditto.
7081
7082 2001-02-22  Yuuichi Teranishi  <teranisi@gohome.org>
7083
7084         * elmo-version.el (elmo-version): Up to 2.5.8.
7085
7086         * elmo.el (elmo-folder-list-messages-mark-match): New function.
7087
7088         * elmo-util.el (elmo-list-insert): New function.
7089
7090 2001-02-21  Yuuichi Teranishi  <teranisi@gohome.org>
7091
7092         * elmo.el (elmo-init): New function.
7093         (elmo-quit): Call `elmo-crosspost-message-alist-save'.
7094
7095         * elmo-vars.el (elmo-msgdb-file-header-chop-length): New variable
7096         (Renamed from `elmo-localdir-header-chop-length').
7097
7098         * elmo-pop3.el (elmo-pop3-use-cache,
7099         elmo-pop3-send-command-synchronously): Moved from `elmo-vars.el'.
7100
7101         * elmo-nntp.el (elmo-message-fetch): Define.
7102         (elmo-message-fetch-unplugged): Ditto.
7103         (elmo-nntp-overview-fetch-chop-length): Moved from `elmo-vars.el'.
7104         (elmo-nntp-use-cache): Ditto.
7105         (elmo-nntp-max-number-precedes-list-active): Ditto.
7106
7107         * elmo-multi.el (elmo-multi-divide-number): Moved from `elmo-vars.el'.
7108
7109         * elmo-msgdb.el (elmo-localdir-insert-header): Renamed to
7110         `elmo-msgdb-insert-file-header'.
7111         Use `elmo-msgdb-file-header-chop-length'.
7112
7113         * elmo-localdir.el (elmo-localdir-lockfile-list): Moved from
7114         `elmo-vars.el'.
7115
7116         * elmo-cache.el (elmo-cache-insert-header): Eliminated.
7117         (elmo-cache-msgdb-create-overview-entity-from-file): Use
7118         `elmo-msgdb-insert-file-header'.
7119
7120         * elmo-imap4.el, elmo-nntp.el, elmo-pop3.el:
7121         Use new variable;
7122         Define obsolete variables with `elmo-define-obsolete-variable',
7123
7124         * elmo-util.el (elmo-warning-buffer-name): New constant.
7125         (elmo-warning): New function.
7126         (elmo-obsolete-variable-alist): New variable.
7127         (elmo-obsolete-variable-show-warnings): New variable.
7128         (elmo-define-obsolete-variable): New function.
7129         (elmo-resque-obsolete-variable): Ditto.
7130         (elmo-resque-obsolete-variables): Ditto.
7131
7132 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7133
7134         * elmo-vars.el (elmo-use-buffer-cache, elmo-buffer-cache-size):
7135         Eliminated.
7136
7137         * elmo-pop3.el, elmo-nntp.el: Use custom.
7138
7139 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7140
7141         * elmo-imap4.el (elmo-network-authenticate-session): Fix.
7142         * elmo-pop3.el (elmo-network-authenticate-session): Add comments.
7143
7144 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7145
7146         * Luna-fy Kenichi OKADA's following changes.
7147         * elmo.el (elmo-folder-list-messages-internal): Added optional argument
7148         `nohide'.
7149         (elmo-folder-synchronize): Changed meaning of argument `ignore-msgdb'.
7150
7151 2001-02-21  OKAZAKI Tetsurou  <okazaki@be.to>
7152
7153         * elmo-util.el (elmo-display-progress): Prefer
7154         `progress-feedback-with-label' to `lprogress-display'.
7155
7156 2000-02-20  Kenichi OKADA  <okada@opaopa.org>
7157
7158         * elmo-imap4.el (elmo-imap4-list-folder): Added 'uid'
7159
7160 2000-02-19  Kenichi OKADA  <okada@opaopa.org>
7161
7162         * elmo2.el (elmo-list-folder): Added optional argument `nohide'.
7163         * elmo-imap4.el (elmo-imap4-list-folder): Added optional argument `nohide'.
7164         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
7165         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
7166         * elmo-localdir.el (elmo-localdir-list-folder): Ditto.
7167         * elmo-localnews.el (elmo-localnews-list-folder): Ditto.
7168         * elmo-archive.el (elmo-archive-list-folder): Ditto.
7169         * elmo-filter.el (elmo-filter-list-folder): Ditto.
7170         * elmo-internal.el (elmo-internal-list-folder): Ditto.
7171         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
7172         * elmo-multi.el (elmo-multi-list-folder): Ditto.
7173         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
7174         * elmo-dop.el (elmo-dop-list-folder): Ditto.
7175
7176 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7177
7178         * elmo-msgdb.el (elmo-msgdb-max-of-killed): New function.
7179         * elmo-imap4.el (elmo-imap4-list-folder): Use killed-list.
7180
7181 2001-02-20  Yuuichi Teranishi  <teranisi@gohome.org>
7182
7183         * elmo.el (elmo-folder-process-crosspost): New generic method.
7184         (elmo-folder-writable-p): Ditto.
7185         (elmo-folder-message-appendable-p): Eliminated.
7186         (elmo-generic-folder-append-msgdb): Rewrite.
7187         (elmo-newsgroups-hashtb): New internal variable.
7188         (elmo-crosspost-message-set): Eliminated.
7189         (elmo-crosspost-message-delete): Ditto.
7190         (elmo-setup-subscribed-newsgroups): New function.
7191         (elmo-crosspost-message-alist-modified): New internal variable.
7192         (elmo-crosspost-message-alist-load): New function (Renamed from
7193         `wl-crosspost-alist-load').
7194         (elmo-crosspost-message-alist-save): Ditto (Renamed from
7195         `wl-crosspost-alist-save').
7196
7197         * elmo-util.el (elmo-parse): New function (Renamed from `wl-parse').
7198
7199         * elmo-nntp.el (elmo-nntp-folder): New slots `temp-crosses' and
7200         `unreads'.
7201         (elmo-nntp-groups-hashtb): Eliminated (Renamed to
7202         elmo-newsgroups-hashtb).
7203         (elmo-nntp-message-fetch): Call `elmo-nntp-setup-crosspost-buffer',
7204         `elmo-nntp-folder-update-crosspost-message-alist'.
7205         (elmo-nntp-get-folders-info): Use `elmo-newsgroups-hashtb' instead of
7206         `elmo-nntp-groups-hashtb'.
7207         (elmo-nntp-make-groups-hashtb): Eliminated.
7208         (elmo-nntp-parse-newsgroups): New function (Renamed from
7209         `wl-parse-newsgroups').
7210         (elmo-folder-creatable-p, elmo-folder-writable-p,
7211         elmo-folder-close-internal, elmo-folder-mark-as-read,
7212         elmo-folder-process-crosspost, elmo-folder-list-unreads-internal):
7213         Define.
7214         (elmo-nntp-folder-update-crosspost-message-alist): New function.
7215
7216         * elmo-net.el (elmo-message-fetch): Check buffer size.
7217
7218         * elmo-multi.el (elmo-multi-split-number-alist): New function.
7219
7220         * elmo-localdir.el (elmo-folder-append-buffer): Fixed logic.
7221
7222         * elmo-imap4.el (elmo-folder-rename-internal): Send `select' command
7223         before `close' command.
7224
7225         * elmo.el (elmo-folder-list-unreads-internal): Added argument
7226         `mark-alist' (All other related portions are changed).
7227
7228 2001-02-13  Yuuichi Teranishi  <teranisi@gohome.org>
7229
7230         * elmo-util.el (elmo-create-hash-size): Eliminated.
7231         (elmo-make-hash) Make a hash with `one less than a power of two'
7232         length.
7233
7234         * elmo-vars.el (elmo-hash-minimum-size): New variable.
7235         (elmo-hash-maximum-size): Changed value.
7236
7237 2001-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
7238
7239         * elmo-mime.el (elmo-mime-message-display): Added argument `unread'.
7240         (elmo-mime-message-display-as-is): Ditto.
7241
7242 2001-02-07  Yuuichi Teranishi  <teranisi@gohome.org>
7243
7244         * elmo-pipe.el (elmo-pipe-drain): Eliminated needless bindings;
7245         Use `elmo-folder-close-internal' instead of `elmo-folder-close'.
7246
7247 2001-02-06  Yuuichi Teranishi  <teranisi@gohome.org>
7248
7249         * elmo-mark.el: New file.
7250
7251         * elmo-internal.el: Rewrite (Almost empty).
7252
7253 2001-02-05  Yuuichi Teranishi  <teranisi@gohome.org>
7254
7255         * mmimap.el (mmimap-make-mime-entity): Consider message/rfc822.
7256         (mime-imap-entity-header-string): Ditto.
7257         (mmimap-entity-section): Rewrite.
7258
7259 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7260
7261         * elmo-nmz.el: New file.
7262
7263         * elmo-pipe.el: Rewrite with luna.
7264
7265 2001-01-29  Yuuichi Teranishi  <teranisi@gohome.org>
7266
7267         * elmo-archive.el: Rewrite with luna.
7268
7269         * elmo-multi.el (elmo-folder-list-unreads-internal): Fixed.
7270         (elmo-folder-list-importants-internal): Ditto.
7271
7272 2001-01-24  Yuuichi Teranishi  <teranisi@gohome.org>
7273
7274         * elmo-archive.el (elmo-archive-version): Abolish.
7275         (toplevel) Removed `boso' comment.
7276
7277 2001-01-23  Yuuichi Teranishi  <teranisi@gohome.org>
7278
7279         * elmo-msgdb.el (elmo-msgdb-add-msgs-to-seen-list): Renamed from
7280         elmo-msgdb-add-msgs-to-seen-list-subr;
7281         Changed argument seen-marks to unread-marks.
7282
7283         * elmo-nntp.el: Rewrite with luna.
7284
7285 2001-01-22  Yuuichi Teranishi  <teranisi@gohome.org>
7286
7287         * elmo-filter.el: Rewrite with luna.
7288
7289 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7290
7291         * elmo-pop3.el: Rewrite with luna.
7292
7293 2001-01-17  Yuuichi Teranishi  <teranisi@gohome.org>
7294
7295         * elmo-multi.el: Rewrite with luna.
7296
7297         * elmo-vars.el (elmo-use-killed-list): Abolish.
7298         All other related portions are changed.
7299         (elmo-filename-replace-string-alist): Renamed from
7300         elmo-msgid-replace-string-alist.
7301
7302 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7303
7304         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Changed argument.
7305
7306         * elmo-map.el: New file.
7307         * elmo-maildir.el: Rewrite with luna.
7308
7309 2001-01-14  Yuuichi Teranishi  <teranisi@gohome.org>
7310
7311         * elmo.el: Changed meaning of `elmo-folder-commit'.
7312         * elmo-mime.el (elmo-mime-display-as-is-internal): New function.
7313
7314 2001-01-07  Yuuichi Teranishi  <teranisi@gohome.org>
7315
7316         * elmo.el (elmo-folder-append-buffer): New function.
7317         (Renamed from `elmo-append-msg')
7318
7319 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7320
7321         * elmo-mime.el: New file.
7322
7323 2000-12-14  Yuuichi Teranishi  <teranisi@gohome.org>
7324
7325         * elmo-cache.el: Rewrite.
7326
7327 2000-02-17  Kenichi OKADA  <okada@opaopa.org>
7328
7329         * elmo-pop3.el (elmo-network-authenticate-session): Bind `sasl-mechanisms'
7330
7331 2000-12-08  Yuuichi Teranishi  <teranisi@gohome.org>
7332
7333         * elmo-vars.el (elmo): New group.
7334         (elmo-strict-diff-folder-regexp): New variable.
7335
7336         * elmo-util.el (elmo-call-func): Abolish.
7337         (elmo-folder-get-type): Ditto.
7338         (elmo-*-get-spec): Ditto.
7339         (elmo-*-spec-*): Ditto.
7340         (elmo-imap4-identical-name-space-p): Ditto.
7341         (elmo-folder-identical-system-p): Ditto.
7342         (elmo-folder-direct-copy-alist): Ditto.
7343         (elmo-folder-direct-copy-p): Ditto.
7344
7345         * elmo-pipe.el (elmo-pipe-folder): New luna class.
7346         (elmo-folder-initialize): Define.
7347         (elmo-folder-get-primitive-list): Ditto.
7348
7349         * elmo-nntp.el (elmo-nntp-folder): New luna class.
7350         (elmo-folder-initialize): Define.
7351         Renamed `elmo-network-session-host-internal' to
7352         `elmo-network-session-server-internal'.
7353
7354         * elmo-multi.el (elmo-multi-folder): New luna class.
7355         (elmo-folder-initialize): Define.
7356         (elmo-folder-get-primitive-list): Ditto.
7357         (elmo-folder-contains-type): Ditto.
7358         (elmo-message-use-cache-p): Ditto.
7359
7360         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolish.
7361         Use `elmo-folder-msgdb-path' instead of `elmo-msgdb-expand-path'.
7362
7363         * elmo-maildir.el (elmo-maildir-folder): New luna class.
7364         (elmo-folder-initialize): Define.
7365
7366         * elmo-filter.el (elmo-filter-folder): New luna class.
7367         (elmo-folder-initialize): Define.
7368         (elmo-folder-get-primitive-list): Ditto.
7369         (elmo-folder-contains-type): Ditto.
7370
7371 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7372
7373         * elmo-imap4.el: Rewrite with luna.
7374
7375         * mmimap.el: New file.
7376
7377         * mmelmo.el, mmelmo-imap4.el: Removed.
7378
7379         * elmo-net.el: Ditto.
7380
7381         * elmo-pop3.el (elmo-pop3-folder): New luna class.
7382         (elmo-folder-initialize): Define.
7383
7384         * elmo-archive.el (elmo-archive-folder): New luna class.
7385         (elmo-folder-initialize): Define.
7386
7387         * elmo-dop.el: Rename `elmo-msgdb-expand-path' to
7388         `elmo-folder-msgdb-path'.
7389         (elmo-dop-queue-append): Use `elmo-folder-name-internal' and
7390         `elmo-make-folder'.
7391
7392 2000-12-06  Yuuichi Teranishi  <teranisi@gohome.org>
7393
7394         * elmo.el: New file.
7395
7396         * elmo2.el: Renamed to elmo.el.
7397
7398 \f
7399 2001-02-01  OKAZAKI Tetsurou  <okazaki@be.to>
7400
7401         * elmo-cache.el (elmo-cache-expire-by-size): Count
7402         a disk usage for a cache file entry in KB even when
7403         its kind is a directory.
7404
7405 2001-02-01  Yuuichi Teranishi  <teranisi@gohome.org>
7406
7407         * elmo-version.el (elmo-version): Up to 2.5.7.
7408
7409 2001-01-23  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7410
7411         * elmo-version.el (elmo-version): Up to 2.5.6.
7412
7413 2001-01-18  Yuuichi Teranishi  <teranisi@gohome.org>
7414
7415         * elmo-version.el (elmo-version): Up to 2.5.5.
7416
7417 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7418
7419         * elmo-imap4.el (elmo-network-authenticate-session):
7420         Fixed a logic for response checking.
7421
7422 2000-12-15   Daiki Ueno  <ueno@unixuser.org>
7423
7424         * elmo-net.el: Add autoload settings for `starttls-negotiate',
7425         `sasl-find-mechanism', `sasl-make-client', `sasl-mechanism-name',
7426         `sasl-next-step', `sasl-step-data' and `sasl-step-set-data'; bind
7427         `sasl-mechanisms'.
7428
7429         * elmo-imap4.el: Don't require `sasl'; remove autoload settings
7430         for `starttls-open-stream' and `starttls-negotiate'.
7431
7432         * elmo-nntp.el: Remove autoload settings for
7433         `starttls-open-stream' and `starttls-negotiate'.
7434
7435         * elmo-pop3.el: Don't require `sasl'; remove autoload settings
7436         for `starttls-open-stream' and `starttls-negotiate'; don't enclose
7437         `luna-define-class' with `eval-and-compile'.
7438
7439 2000-12-01  Kenichi OKADA  <okada@opaopa.org>
7440
7441         * elmo-util.el (elmo-read-search-condition-internal):
7442         Require an element of table for searching field.
7443
7444 2000-11-30  Yuuichi Teranishi  <teranisi@gohome.org>
7445
7446         * elmo-version.el (elmo-version): Up to 2.5.4.
7447
7448 2000-11-26  Kenichi OKADA  <okada@opaopa.org>
7449
7450         * elmo-nntp.el (elmo-network-initialize-session): Accept response 20[01].
7451
7452 2000-11-24  Kenichi OKADA  <okada@opaopa.org>
7453
7454         * elmo-nntp.el (elmo-network-initialize-session): omitted.
7455
7456 2000-11-22  Kenichi OKADA  <okada@opaopa.org>
7457
7458         * elmo-nntp.el (elmo-network-initialize-session): Skip garbage output
7459         before greeting.
7460
7461 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7462
7463         * elmo-imap4.el (elmo-imap4-delete-folder):
7464         Send "close" before "delete" (Use commented out line).
7465         (elmo-imap4-rename-folder): Ditto.
7466
7467         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7468         folder string itself.
7469         (elmo-dop-list-deleted): New function.
7470         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7471         killed.
7472
7473         * elmo-util.el (elmo-string-rassoc-all): New function.
7474
7475 2000-11-22  Yuuichi Teranishi  <teranisi@gohome.org>
7476
7477         * elmo-version.el (elmo-version): Up to 2.5.3.
7478
7479         * elmo-net.el (elmo-network-get-session): Changed logic for
7480         checking process status.
7481
7482         * elmo-pop3.el (elmo-network-close-session): Do nothing if session
7483         process is nil;
7484         Changed logic for checking process status.
7485
7486 2000-11-20  Yuuichi Teranishi  <teranisi@gohome.org>
7487
7488         * elmo-pop3.el (elmo-network-initialize-session): Skip garbage output
7489         before greeting.
7490         (elmo-network-setup-session): Set UIDL hash size according to
7491         the length of list response.
7492         (elmo-pop3-parse-list-response): Setup elmo-pop3-size-hash
7493         according to the length of list response;
7494         Return the length of list response.
7495         (Adviced by OKAZAKI Tetsurou <okazaki@be.to>)
7496
7497 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7498
7499         * elmo-imap4.el (toplevel): Require 'ssl.
7500         Add autoload 'starttls.
7501         * elmo-pop3.el (toplevel): Ditto.
7502         * elmo-nntp.el (toplevel): Ditto.
7503
7504 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7505
7506         * elmo-imap4.el (toplevel): defun at compile time.
7507         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7508         sasl-next-step, sasl-step-data, sasl-step-set-data.
7509         * elmo-pop3.el (toplevel): Ditto.
7510
7511 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7512
7513         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7514
7515 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7516
7517         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7518         if error.
7519         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7520         and `elmo-pop-auth-apop'.
7521
7522 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7523
7524         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7525
7526 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7527
7528         * elmo-pop3.el (elmo-network-authenticate-session): Split
7529         encoded response value.
7530
7531 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7532
7533         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7534         `elmo-pop3-force-login'.
7535         Redefine `sasl-mechanisms'.
7536         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7537
7538 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7539
7540         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7541         Delete `elmo-imap4-authenticator-alist'.
7542         (elmo-imap4-auth-cram-md5): Delete.
7543         (elmo-imap4-auth-digest-md5): Delete.
7544
7545 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7546
7547         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7548         (elmo-pop3-auth-scram-md5): Ditto.
7549         (elmo-pop3-auth-cram-md5): Ditto.
7550
7551 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7552
7553         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7554         Delete `elmo-pop3-authenticator-alist'.
7555
7556 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7557
7558         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7559         new SASL API.
7560         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7561
7562 2001-01-30  Yuuichi Teranishi  <teranisi@gohome.org>
7563
7564         * elmo-util.el (elmo-folder-local-p): Treat pipe and filter.
7565
7566 2001-01-19  Yuuichi Teranishi  <teranisi@gohome.org>
7567
7568         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7569         Fixed problem when `elmo-pop3-use-uidl' is nil.
7570         (Reported by Takenobu Sugiyama <sugiyama@ae.advantest.co.jp>)
7571
7572 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7573
7574         * elmo-version.el (elmo-version): Up to 2.5.2.
7575
7576 2001-01-16  Yuuichi Teranishi  <teranisi@gohome.org>
7577
7578         * elmo-pop3.el (elmo-pop3-sort-overview-by-original-number):
7579         New function.
7580         (elmo-pop3-sort-msgdb-by-original-number): Ditto.
7581         (elmo-pop3-msgdb-create-as-numlist): Use it.
7582
7583         * elmo-imap4.el (elmo-imap4-arrival-filter): Check process-buffer.
7584         (Based on the report by AMAKAWA Shuhei <sa264@cam.ac.uk>)
7585
7586         * elmo-pop3.el (elmo-pop3-msgdb-create-as-numlist): Sort msgdb by date.
7587         (Pointed out by Mikiya Tani <m-tani@hml.cl.nec.co.jp>)
7588
7589 2001-01-13 Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
7590
7591         * elmo2.el (elmo-make-folder-numbers-list): Fixed problem
7592         when elmo-mark-as-read is called with second argument nil.
7593
7594 2001-01-12  Yuuichi Teranishi  <teranisi@gohome.org>
7595
7596         * elmo-pipe.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7597         Moved to elmo-util.el.
7598
7599         * elmo-util.el (elmo-pipe-spec-src, elmo-pipe-spec-dst):
7600         Moved from elmo-pipe.el
7601
7602         * elmo-archive.el (elmo-archive-call-process): Enclose with
7603         static-if.
7604
7605         * elmo-imap4.el (elmo-imap4-read-msg): Use "BODY[]" instead of
7606         "RFC822" (because RFC822.PEEK is obsolete).
7607         (Adviced by IMAI Takeshi <imai@on.rim.or.jp>)
7608
7609 2001-01-10  Katsumi Yamaoka    <yamaoka@jpl.org>
7610
7611         * elmo-archive.el (elmo-archive-call-process): Don't check for
7612         the exit status when Nemacs is running.
7613
7614 2001-01-09  Yuuichi Teranishi  <teranisi@gohome.org>
7615
7616         * elmo-net.el (elmo-network-session-password-key): Don't set default to
7617         'plain.
7618
7619         * elmo-util.el (elmo-imap4-get-spec): Set default of auth to 'clear.
7620         (elmo-pop3-get-spec): Set default of auth to 'user.
7621
7622         * elmo-imap4.el (elmo-imap4-session-check):
7623         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
7624         (elmo-imap4-clear-login): New function; Renamed from `elmo-imap4-login'.
7625         (elmo-imap4-auth-login): New function; Revival.
7626         (elmo-network-authenticate-session): Use `elmo-imap4-clear-login' and
7627         `elmo-imap4-auth-login'.
7628
7629 2000-12-29  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7630
7631         * elmo2.el (toplevel): Move `product-provide' declare.
7632         * mmelmo.el (toplevel): Ditto.
7633
7634 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7635
7636         * elmo-util.el (elmo-folder-get-store-type): Rewrite.
7637
7638 2000-12-26  OKAZAKI Tetsurou <okazaki@be.to>
7639
7640         * elmo-util.el (elmo-folder-get-store-type): New function.
7641         (elmo-folder-direct-copy-p): Use it.
7642
7643 2000-12-26  Yuuichi Teranishi  <teranisi@gohome.org>
7644
7645         * elmo-imap4.el (elmo-imap4-msgdb-create): Set
7646         `elmo-imap4-fetch-callback-data' as a cons cell of `args'
7647         and result of `elmo-imap4-use-flag-p'.
7648         (elmo-imap4-fetch-callback-1): Set mark according to
7649         the result of `elmo-imap4-use-flag-p'.
7650
7651 2000-12-22  Yuuichi Teranishi  <teranisi@gohome.org>
7652
7653         * elmo-msgdb.el (elmo-generic-folder-diff): Moved from elmo2.el
7654         (elmo-generic-list-folder-unread): Ditto.
7655         (elmo-folder-get-info): Ditto.
7656         (elmo-folder-set-info-max-by-numdb): Ditto.
7657         (elmo-folder-get-info-max): Ditto.
7658         (elmo-folder-get-info-length): Ditto.
7659         (elmo-folder-get-info-unread): Ditto.
7660         (elmo-folder-info-make-hashtb): Ditto.
7661
7662         * elmo2.el: Removed above functions.
7663
7664 2000-11-21  Kenichi OKADA  <okada@opaopa.org>
7665
7666         * elmo-imap4.el (toplevel): Require 'ssl.
7667         Add autoload 'starttls.
7668         * elmo-pop3.el (toplevel): Ditto.
7669         * elmo-nntp.el (toplevel): Ditto.
7670
7671 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7672
7673         * elmo-imap4.el (toplevel): defun at compile time.
7674         sasl-find-mechanism, sasl-make-client, sasl-mechanism-name,
7675         sasl-next-step, sasl-step-data, sasl-step-set-data.
7676         * elmo-pop3.el (toplevel): Ditto.
7677
7678 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7679
7680         * elmo-imap4.el (elmo-network-authenticate-session): Use `elmo-imap4-login'
7681
7682 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7683
7684         * elmo-pop3.el (elmo-pop3-auth-apop): Signal `elmo-pop-auth-apop'
7685         if error.
7686         (elmo-network-authenticate-session): Use `elmo-pop-auth-user'
7687         and `elmo-pop-auth-apop'.
7688
7689 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7690
7691         * elmo-pop3.el (elmo-network-authenticate-session): Fix for `APOP'.
7692
7693 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7694
7695         * elmo-pop3.el (elmo-network-authenticate-session): Split
7696         encoded response value.
7697
7698 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7699
7700         * elmo-pop3.el (elmo-network-authenticate-session): Abolish
7701         `elmo-pop3-force-login'.
7702         Redefine `sasl-mechanisms'.
7703         * elmo-vars.el (elmo-pop3-force-login): Ditto.
7704
7705 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7706
7707         * elmo-imap4.el (toplevel): Delete defun-maybe for sasl-*.
7708         Delete `elmo-imap4-authenticator-alist'.
7709         (elmo-imap4-auth-cram-md5): Delete.
7710         (elmo-imap4-auth-digest-md5): Delete.
7711
7712 2000-11-20  Kenichi OKADA  <okada@opaopa.org>
7713
7714         * elmo-pop3.el (elmo-pop3-auth-digest-md5): Delete.
7715         (elmo-pop3-auth-scram-md5): Ditto.
7716         (elmo-pop3-auth-cram-md5): Ditto.
7717
7718 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7719
7720         * elmo-pop3.el (toplevel): Delete defun-maybe for sasl-*.
7721         Delete `elmo-pop3-authenticator-alist'.
7722
7723 2000-11-19  Kenichi OKADA  <okada@opaopa.org>
7724
7725         * elmo-pop3.el (elmo-network-authenticate-session): Rewrite for
7726         new SASL API.
7727         * elmo-imap4.el (elmo-network-authenticate-session): Ditto.
7728
7729 \f
7730 2000-12-18  Yuuichi Teranishi  <teranisi@gohome.org>
7731
7732         * elmo-nntp.el (elmo-nntp-get-folders-info): Fixed last change.
7733
7734 2000-12-01  Yuuichi Teranishi  <teranisi@gohome.org>
7735
7736         * elmo-nntp.el (elmo-nntp-get-folders-info):
7737         Fixed problem when '\' character is contained in user-id.
7738         (Reported by Yoichiro Okabe <okabe@wizsoft.co.jp>)
7739
7740 \f
7741 2000-11-28  Yuuichi Teranishi  <teranisi@gohome.org>
7742
7743         * elmo-imap4.el (elmo-imap4-delete-folder):
7744         Send "close" before "delete" (Use commented out line).
7745         (elmo-imap4-rename-folder): Ditto.
7746
7747         * elmo-dop.el (elmo-dop-queue-append): Use `elmo-string' to get
7748         folder string itself.
7749         (elmo-dop-list-deleted): New function.
7750         (elmo-dop-list-folder): Treat result of `elmo-dop-list-deleted' as
7751         killed.
7752
7753         * elmo-util.el (elmo-string-rassoc-all): New function.
7754
7755         * elmo-version.el (elmo-version): Up to 2.5.1.
7756
7757 2000-11-13  Yuuichi Teranishi  <teranisi@gohome.org>
7758
7759         * elmo-pop3.el (elmo-pop3-folder-exists-p): Don't use UIDL.
7760
7761         * elmo-internal.el (elmo-internal-search): Fix last change.
7762
7763 2000-11-08  Yuuichi Teranishi  <teranisi@gohome.org>
7764
7765         * elmo-internal.el (elmo-internal-search): Rewrite.
7766         (Fixed problem which is pointed out by Akihiro MOTOKI
7767         <motoki@da.jp.nec.com>)
7768
7769         * elmo-version.el (elmo-version): Up to 2.5.0.
7770
7771 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7772
7773         * elmo-imap4.el (elmo-imap4-list-folders): Append authenticate-type.
7774
7775 2000-11-06  Kenichi OKADA  <okada@opaopa.org>
7776
7777         * elmo-imap4.el (elmo-imap4-list-folders): When hierarchy is
7778         non-nil, make hierarchy.
7779
7780 2000-11-05  OKAZAKI Tetsurou  <okazaki@be.to>
7781
7782         * elmo-pipe.el (elmo-pipe-drain): When calling `elmo-list-folder',
7783         `elmo-pop3-use-uidl' must be bound to nil.
7784         (Pointed out by Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>)
7785
7786 2000-11-02  Yuuichi Teranishi  <teranisi@gohome.org>
7787
7788         * elmo-util.el (elmo-copy-file): Don't cause an error after
7789         `add-name-to-file' failed.
7790
7791         * elmo-pipe.el (elmo-pipe-drain): List folder before loading msgdb.
7792         (Fix by HIROSE Yuuji <yuuji@gentei.org>)
7793
7794 2000-11-01  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7795
7796         * elmo-version.el (elmo-version): Up to 2.3.93.
7797
7798 2000-11-01  Yuuichi Teranishi  <teranisi@gohome.org>
7799
7800         * elmo-util.el (elmo-flatten): New function.
7801
7802 2000-10-31  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7803
7804         * elmo-archive.el (toplevel): Added (C) to copyright notice, and
7805         sync Author header.
7806         * elmo-cache.el (toplevel): Ditto.
7807         * elmo-database.el (toplevel): Ditto.
7808         * elmo-date.el (toplevel): Ditto.
7809         * elmo-dop.el (toplevel): Ditto.
7810         * elmo-filter.el (toplevel): Ditto.
7811         * elmo-imap4.el (toplevel): Ditto.
7812         * elmo-internal.el (toplevel): Ditto.
7813         * elmo-localdir.el (toplevel): Ditto.
7814         * elmo-localnews.el (toplevel): Ditto.
7815         * elmo-maildir.el (toplevel): Ditto.
7816         * elmo-msgdb.el (toplevel): Ditto.
7817         * elmo-multi.el (toplevel): Ditto.
7818         * elmo-net.el (toplevel): Ditto.
7819         * elmo-nntp.el (toplevel): Ditto.
7820         * elmo-pipe.el (toplevel): Ditto.
7821         * elmo-pop3.el (toplevel): Ditto.
7822         * elmo-util.el (toplevel): Ditto.
7823         * elmo-vars.el (toplevel): Ditto.
7824         * elmo2.el (toplevel): Ditto.
7825         * mmelmo-imap4.el (toplevel): Ditto.
7826         * mmelmo.el (toplevel): Ditto.
7827
7828         * elmo-version.el (elmo-version): Move to top.
7829
7830         * elmo-cache.el (toplevel): Fixed multiple Author header format.
7831         * elmo-imap4.el (toplevel): Ditto.
7832         * elmo-localdir.el (toplevel): Ditto.
7833         * elmo-msgdb.el (toplevel): Ditto.
7834         * elmo-nntp.el (toplevel): Ditto.
7835         * elmo-pop3.el (toplevel): Ditto.
7836         * elmo-version.el (toplevel): Ditto.
7837
7838         * elmo-localnews.el (toplevel): Added Keyword header.
7839
7840 2000-10-31  Yuuichi Teranishi  <teranisi@gohome.org>
7841
7842         * elmo-version.el (product-version-as-string): Defined using
7843         `defun-maybe'.
7844         (toplevel): Use it.
7845
7846         * elmo-localdir.el (toplevel): Updated copyright notice.
7847         * elmo-version.el (toplevel): Ditto.
7848         * elmo-msgdb.el (toplevel): Ditto.
7849         * elmo-imap4.el (toplevel): Ditto.
7850         * elmo-nntp.el (toplevel): Ditto.
7851         * elmo-pop3.el (toplevel): Ditto.
7852
7853 2000-10-30  Yuuichi Teranishi  <teranisi@gohome.org>
7854
7855         * elmo-pipe.el (elmo-pipe-drain): Don't save msgdb after moving
7856         messages.
7857
7858         * mmelmo.el (mime-parse-parameters-from-list): Don't downcase
7859         parameter value (It sometimes contains raw kanji).
7860
7861 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7862
7863         * elmo-imap4.el (elmo-network-initialize-session): Check capability.
7864         * elmo-pop3.el (elmo-network-initialize-session): Ditto.
7865
7866 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7867
7868         * elmo-imap4.el (elmo-network-initialize-session): Fix.
7869
7870 2000-10-28  Kenichi OKADA  <okada@opaopa.org>
7871
7872         * elmo-imap4.el (elmo-network-initialize-session): Change error message.
7873         * elmo-pop3.el (elmo-network-initialize-session): Change error message.
7874
7875 2000-10-27  Yuuichi Teranishi  <teranisi@gohome.org>
7876
7877         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Return response
7878         value if selecting folder succceeded.
7879         (Advised by MII Kazuyoshi <mii@isl.ntt.co.jp> for prom-wl.)
7880
7881 2000-10-26  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7882
7883         * elmo-util.el (elmo-make-directory): Fixed permission lateral
7884         representation.
7885
7886         * elmo-util.el (elmo-string-matched-member): New function.
7887
7888 2000-10-26  Yuuichi Teranishi  <teranisi@gohome.org>
7889
7890         * elmo-util.el (elmo-unintern): New macro.
7891         (elmo-number-set-member): Fixed docstring.
7892
7893         * elmo-imap4.el (elmo-imap4-parse-response): Call `elmo-unintern' for
7894         tag token.
7895
7896 2000-10-25  OKAZAKI Tetsurou  <okazaki@be.to>
7897
7898         * elmo-imap4.el (elmo-imap4-client-eol): Remove duplicated defvar
7899         of `elmo-imap4-status' and `elmo-imap4-reached-tag'.
7900
7901 2000-10-24  Yuuichi Teranishi  <teranisi@gohome.org>
7902
7903         * elmo-imap4.el (elmo-imap4-session-select-mailbox): Added argument
7904         `no-error'.
7905         Added docstring.
7906         Return non-nil if selecting folder succeeded.
7907         (elmo-imap4-folder-exists-p): Call with argument 'no-error.
7908
7909 2000-10-23  Yuuichi Teranishi  <teranisi@gohome.org>
7910
7911         * elmo-maildir.el (elmo-maildir-get-filename): Fixed problem when
7912         `file-name-completion' returns t.
7913         (Reported by Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>)
7914         (elmo-maildir-set-mark): Put `info' part to the files in the cur
7915         directory if it does not exist.
7916         (elmo-maildir-update-current): Use `while' instead of `mapcar'
7917         for iteration.
7918
7919 2000-10-20  Yuuichi Teranishi  <teranisi@gohome.org>
7920
7921         * elmo-imap4.el (elmo-imap4-folder-exists-p): Removed `condition-case'
7922         enclosure (It's harmful in unplugged status).
7923
7924         * elmo-pop3.el (elmo-pop3-folder-exists-p): Ditto.
7925
7926         * mmelmo-1.el: Removed.
7927
7928         * mmelmo-2.el: Ditto.
7929
7930         * mmelmo-imap4-1.el: Ditto.
7931
7932         * mmelmo-imap4-2.el: Ditto.
7933
7934         * mmelmo-imap4.el: Merged mmelmo-imap4-2.el
7935
7936         * mmelmo.el: Merged mmelmo-2.el.
7937
7938         * elmo-version.el (elmo-version): Up to 2.3.92.
7939
7940 2000-10-19  TAKAHASHI Kaoru  <kaoru@kaisei.org>
7941
7942         * elmo2.el (elmo-move-msgs, elmo-msgdb-load, elmo-msgdb-save,
7943         elmo-update-number): Remove last period in "...done." message.
7944         * elmo-archive.el (elmo-archive-msgdb-create-as-numlist-subr1):
7945         Ditto.
7946         * elmo-cache.el (elmo-cache-expire-by-size,
7947         elmo-cache-get-sorted-cache-file-list,
7948         elmo-cache-msgdb-create-as-numlist): Ditto.
7949         * elmo-dop.el (elmo-dop-save-pending-messages,
7950         (elmo-dop-flush-pending-append-operations): Ditto.
7951         * elmo-imap4.el (elmo-imap4-msgdb-create): Ditto.
7952         * elmo-internal.el (elmo-internal-msgdb-create): Ditto.
7953         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist,
7954         (elmo-localdir-pack-number): Ditto.
7955         * elmo-maildir.el (elmo-maildir-msgdb-create): Ditto.
7956         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Ditto.
7957         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer,
7958         mime-write-entity-content): Ditto.
7959         * pldap.el (ldap-search-basic): Ditto.
7960
7961 2000-10-18  Yuuichi Teranishi  <teranisi@gohome.org>
7962
7963         * elmo-version.el (elmo-version): Up to 2.3.91.
7964
7965         * elmo-filter.el (elmo-filter-folder-diff): Use target folder's diff
7966         Only when filter is 'last'.
7967
7968         * elmo-util.el (elmo-condition-atom-regexp): New constant.
7969         (elmo-condition-parse-search-value): Use it.
7970         (elmo-read-search-condition-internal): Quote value only when
7971         it is not an atom.
7972
7973 2000-10-18  Kenichi OKADA  <okada@opaopa.org>
7974
7975         * elmo2.el (elmo-generic-folder-diff): Fix.
7976
7977 2000-10-17  Kenichi OKADA  <okada@opaopa.org>
7978
7979         * elmo-msgdb.el (elmo-msgdb-killed-list-length): New function.
7980         * elmo-localdir.el (elmo-localdir-list-folder-subr): Fix.
7981         * elmo-maildir.el (elmo-maildir-list-folder-subr): Fix.
7982         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
7983         * elmo-internal.el (elmo-internal-list-folder-subr): Fix.
7984         * elmo-imap4.el (elmo-imap4-max-of-folder): Fix.
7985
7986 2000-10-17  Akihiro MOTOKI <motoki@da.jp.nec.com>
7987
7988         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Search by
7989         extra-fields.
7990
7991 2000-10-17  Yuuichi Teranishi  <teranisi@gohome.org>
7992
7993         * elmo-version.el (elmo-version): Up to 2.3.90.
7994
7995         * elmo-imap4.el (elmo-imap4-list-folder-unread): Check plugged status.
7996         (elmo-imap4-list-folder-important): Ditto.
7997
7998 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
7999
8000         * elmo-nntp.el (elmo-network-initialize-session): Fix.
8001
8002 2000-10-16  Kenichi OKADA  <okada@opaopa.org>
8003
8004         * elmo-nntp.el (elmo-nntp-read-msg): Don't error.
8005
8006 2000-10-15  Kenichi OKADA  <okada@opaopa.org>
8007
8008         * elmo-nntp.el (elmo-network-initialize-session):
8009         Add starttls negotiation.
8010
8011 2000-10-15  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
8012
8013         * elmo-nntp.el (elmo-network-initialize-session): Read greeting
8014         response.
8015         (elmo-network-setup-session): Define.
8016         Call `elmo-nntp-send-mode-reader' when session opened.
8017
8018 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8019
8020         * elmo-multi.el (elmo-multi-list-folder-unread): Fixed.
8021
8022 2000-10-13  OKAZAKI Tetsurou  <okazaki@be.to>
8023
8024         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
8025         an invalid SPACE character ahead of `SEARCH' command.  Move
8026         a valid SPACE character following `SEARCH' from conditional
8027         `format' arguments to control-strings.
8028
8029 2000-10-13  Yuuichi Teranishi  <teranisi@gohome.org>
8030
8031         * elmo2.el (elmo-call-func-on-markable-msgs): Return t if marking
8032         was succeeded.
8033
8034         * elmo-util.el (elmo-folder-get-spec): Enclose with save-match-data.
8035
8036 2000-10-12  Yuuichi Teranishi  <teranisi@gohome.org>
8037
8038         * elmo-localdir.el (elmo-localdir-list-folders-subr): Bind
8039         `w32-get-true-file-link-count' as t.
8040
8041         * elmo-imap4.el (elmo-imap4-read): Abolished.
8042         (Renamed to `elmo-read' and moved to elmo-util.el)
8043         All other related portions are changed.
8044
8045         * elmo-util.el (elmo-read): New function.
8046         (elmo-condition-parse-search-value): Use it.
8047
8048 2000-10-11  Yuuichi Teranishi  <teranisi@gohome.org>
8049
8050         * elmo2.el (elmo-quit): Don't use `elmo-nntp-flush-connection'.
8051
8052         * elmo-nntp.el (elmo-nntp-session): Define.
8053         (elmo-nntp-setting): Abolished.
8054         All other related portions are changed.
8055         (elmo-nntp-get-server-command): Changed argument.
8056         (elmo-nntp-set-server-command): Ditto.
8057         (elmo-nntp-xover-p): Ditto.
8058         (elmo-nntp-set-xover): Ditto.
8059         (elmo-nntp-listgroup-p): Ditto.
8060         (elmo-nntp-set-listgroup): Ditto.
8061         (elmo-nntp-list-active-p): Ditto.
8062         (elmo-nntp-set-list-active): Ditto.
8063         (elmo-nntp-xhdr-p): Ditto.
8064         (elmo-nntp-set-xhdr): Ditto.
8065         (elmo-nntp-flush-connection): Abolished.
8066         (elmo-nntp-get-connection): Abolished.
8067         (elmo-nntp-get-session): New function.
8068         (elmo-network-initialize-session): Defined.
8069         (elmo-network-authenticate-session): Ditto.
8070         (elmo-nntp-send-mode-reader): Changed argument.
8071         (elmo-nntp-send-command): Changed argument.
8072         All other related portions are changed.
8073         (elmo-nntp-read-response): Ditto.
8074         (elmo-nntp-read-raw-response): Ditto.
8075         (elmo-nntp-read-contents): Ditto.
8076         (elmo-nntp-read-body): Ditto.
8077         (elmo-nntp-goto-folder): Abolished.
8078         (elmo-nntp-select-group): New function.
8079         All other related portions are changed.
8080         (This function substitutes `elmo-nntp-goto-folder')
8081         (elmo-nntp-msgdb-create-by-header): Rewrite.
8082         (elmo-nntp-get-overview): Eliminated.
8083         (elmo-nntp-get-message): Ditto.
8084         (elmo-nntp-open-connection) Abolished.
8085         (elmo-nntp-read-msg): Rewrite.
8086         (elmo-nntp-post): Ditto.
8087         (elmo-nntp-send-data): Abolished.
8088         (elmo-nntp-send-buffer): New function.
8089         (elmo-nntp-send-data-line): Define as inline function.
8090         (elmo-nntp-get-folders-info-prepare): Use session as key.
8091         (elmo-nntp-groups-read-response): Changed argument.
8092         (elmo-nntp-retrieve-headers): Ditto.
8093         (elmo-nntp-msgdb-create-message): Ditto.
8094
8095         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): Fixed problem
8096         when searching by 'since' or 'before'.
8097
8098 2000-10-11  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8099
8100         * elmo-version.el (toplevel): Use product-version-as-string for set
8101         verstion-string, if defined.
8102
8103 2000-10-11  OKAZAKI Tetsurou  <okazaki@be.to>
8104
8105         * elmo-util.el: Doc fixes.
8106
8107 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8108
8109         * elmo-archive.el (toplevel): Use product-provide.
8110         * elmo-cache.el (toplevel): Ditto.
8111         * elmo-database.el (toplevel): Ditto.
8112         * elmo-date.el (toplevel): Ditto.
8113         * elmo-dop.el (toplevel): Ditto.
8114         * elmo-filter.el (toplevel): Ditto.
8115         * elmo-imap4.el (toplevel): Ditto.
8116         * elmo-internal.el (toplevel): Ditto.
8117         * elmo-localdir.el (toplevel): Ditto.
8118         * elmo-localnews.el (toplevel): Ditto.
8119         * elmo-maildir.el (toplevel): Ditto.
8120         * elmo-msgdb.el (toplevel): Ditto.
8121         * elmo-multi.el (toplevel): Ditto.
8122         * elmo-net.el (toplevel): Ditto.
8123         * elmo-nntp.el (toplevel): Ditto.
8124         * elmo-pipe.el (toplevel): Ditto.
8125         * elmo-pop3.el (toplevel): Ditto.
8126         * elmo-util.el (toplevel): Ditto.
8127         * elmo-vars.el (toplevel): Ditto.
8128         * elmo2.el (toplevel): Ditto.
8129         * mmelmo-1.el (toplevel): Ditto.
8130         * mmelmo-2.el (toplevel): Ditto.
8131         * mmelmo-imap4-1.el (toplevel): Ditto.
8132         * mmelmo-imap4-2.el (toplevel): Ditto.
8133         * mmelmo-imap4.el (toplevel): Ditto.
8134         * mmelmo.el (toplevel): Ditto.
8135
8136 2000-10-10  Kenichi OKADA  <okada@opaopa.org>
8137
8138         * elmo-dop.el (elmo-dop-flush-pending-append-operations): Add no-see.
8139         (elmo-dop-call-func-on-msgs): Don't delete appends from msgs.
8140
8141 2000-10-10  Yuuichi Teranishi  <teranisi@gohome.org>
8142
8143         * elmo-multi.el (elmo-multi-split-mark-alist): Copy and sort alist
8144         before splitting.
8145         (elmo-multi-split-number-alist): Ditto.
8146
8147 2000-10-10  TAKAHASHI Kaoru  <kaoru@kaisei.org>
8148
8149         * elmo-version.el: New file.  Use product.el.
8150         * elmo2.el: Add (require 'elmo-version).
8151         * elmo-vars.el (elmo-appname, elmo-version): Move to
8152         elmo-version.el
8153
8154 2000-10-09  Yuuichi Teranishi  <teranisi@gohome.org>
8155
8156         * elmo2.el (elmo-copy-msgs): Set `spec' as 1st argument for
8157         `elmo-msgdb-expand-path'.
8158         (elmo-msgdb-load): Ditto.
8159         Abolished 2nd argument. If 1st argument is not string, treat as spec.
8160         (elmo-generic-list-folder-unread): Rewrite.
8161         (elmo-generic-list-folder-important): Changed argument.
8162         (elmo-list-folder-unread): Ditto.
8163         (elmo-list-folder-important): Ditto.
8164         (elmo-folder-diff): Rewrite.
8165         (elmo-generic-folder-diff): New function.
8166         (elmo-multi-get-number-alist-list): Abolished
8167         (Renamed to elmo-multi-split-number-alist and moved to elmo-multi.el)
8168         (elmo-multi-folder-diff): Moved to elmo-multi.el
8169         (toplevel): Removed autoload setting of `elmo-multi-folder-diff'.
8170
8171         * elmo-pop3.el (elmo-pop3-list-folder): Set `spec' as 1st argument for
8172         `elmo-msgdb-expand-path'.
8173         (elmo-pop3-msgdb-create-as-numlist): Ditto.
8174         (elmo-pop3-read-msg): Ditto.
8175         (elmo-pop3-delete-msgs): Ditto.
8176         (elmo-pop3-folder-diff): New alias.
8177
8178         * elmo-pipe.el (elmo-pipe-list-folder): Set `spec' as 1st argument for
8179         `elmo-msgdb-expand-path'.
8180         (elmo-pipe-list-folder-unread): Changed arguments.
8181         (elmo-pipe-list-folder-important): Ditto.
8182         (elmo-pipe-folder-diff): New alias.
8183
8184         * elmo-nntp.el (elmo-nntp-list-folder): Set `spec' as 1st argument for
8185         `elmo-msgdb-expand-path'.
8186         (elmo-nntp-max-of-folder): Ditto.
8187         (elmo-nntp-msgdb-create): Ditto.
8188         (elmo-nntp-delete-msgs): Ditto.
8189         (elmo-nntp-folder-diff): New alias.
8190
8191         * elmo-multi.el (elmo-multi-folder-diff): New function.
8192         (elmo-multi-split-mark-alist): Ditto.
8193         (elmo-multi-split-number-alist): Ditto.
8194         (elmo-multi-mark-alist-list): Abolished (Renamed to
8195         elmo-multi-split-mark-alist).
8196         (elmo-multi-list-folder-unread): Rewrite.
8197         (elmo-multi-list-folder-important): Ditto.
8198         (elmo-multi-list-folder): Set `spec' as 1st argument for
8199         `elmo-msgdb-expand-path'.
8200         (elmo-multi-sync-number-alist): Use `elmo-multi-split-number-alist'
8201         instead of `elmo-multi-get-number-alist-list'.
8202
8203         * elmo-msgdb.el (elmo-msgdb-expand-path): Abolished 2nd argument.
8204         If 1st argument is not string, treat as spec.
8205         (elmo-list-folder-by-location): Set `spec' as 1st argument for
8206         `elmo-msgdb-expand-path'.
8207         (elmo-msgdb-flist-load): Ditto.
8208         (elmo-msgdb-flist-save): Ditto.
8209         (elmo-msgdb-delete-path): Ditto.
8210         (elmo-msgdb-rename-path): Ditto.
8211
8212         * elmo-maildir.el (elmo-maildir-set-mark-msgs):
8213         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8214         (elmo-maildir-delete-mark-msgs): Ditto.
8215         (elmo-maildir-msgdb-create): Ditto.
8216         (elmo-maildir-read-msg): Ditto.
8217         (elmo-maildir-delete-msgs): Ditto.
8218         (elmo-maildir-list-folder-subr): Ditto.
8219         (elmo-maildir-search): Ditto.
8220         (elmo-maildir-get-msg-filename): Ditto.
8221         (elmo-maildir-pack-number): Ditto.
8222         (elmo-maildir-folder-diff): New alias.
8223
8224         * elmo-localnews.el (elmo-localnews-folder-diff): New alias.
8225
8226         * elmo-localdir.el (elmo-localdir-list-folder-subr):
8227         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8228         (elmo-localdir-folder-diff): New alias.
8229
8230         * elmo-internal.el (elmo-internal-list-folder-subr):
8231         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8232         (elmo-internal-list-folder-by-location): Ditto.
8233         (elmo-internal-msgdb-create): Ditto.
8234         (elmo-internal-delete-msgs): Ditto.
8235         (elmo-internal-read-msg): Ditto.
8236         (elmo-internal-folder-diff): New alias.
8237
8238         * elmo-imap4.el (elmo-imap4-folder-diff): New function.
8239         (elmo-imap4-list-folder): Set `spec' as 1st argument for
8240         `elmo-msgdb-expand-path'.
8241         (elmo-imap4-list-folder-unread): Changed arguments.
8242         (elmo-imap4-list-folder-important): Ditto.
8243
8244         * elmo-filter.el (elmo-filter-list-folder-unread): Changed arguments.
8245         (elmo-filter-list-folder-important): Ditto.
8246         (elmo-filter-folder-diff): New function.
8247
8248         * elmo-dop.el (elmo-dop-folder-exists-p): Check elmo directory first.
8249
8250         * elmo-cache.el (elmo-cache-list-folder):
8251         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8252         (elmo-cache-copy-msgs): Ditto.
8253         (elmo-cache-folder-diff): New alias.
8254
8255         * elmo-archive.el (elmo-archive-list-folder-subr):
8256         Set `spec' as 1st argument for `elmo-msgdb-expand-path'.
8257         (elmo-archive-get-archive-name): Ditto.
8258         (elmo-archive-create-file): Ditto.
8259         (elmo-archive-append-msg): Ditto.
8260         (elmo-archive-copy-msgs): Ditto.
8261         (elmo-archive-copy-msgs-froms): Ditto.
8262         (elmo-archive-get-msg-filename): Ditto.
8263         (elmo-archive-folder-diff): New alias.
8264
8265 2000-10-06   Daiki Ueno  <ueno@unixuser.org>
8266
8267         * elmo-vars.el (elmo-imap4-stream-type-alist): New variable.
8268         (elmo-pop3-stream-type-alist): New variable.
8269         (elmo-nntp-stream-type-alist): New variable.
8270
8271         * elmo-util.el (elmo-buffer-exists-p): Rewrite as function.
8272         (elmo-kill-buffer): Ditto.
8273         (elmo-get-network-stream-type): Add 2nd argument `stream-type-alist'.
8274         (elmo-network-get-spec): Add 5th argument `stream-type-alist'.
8275         (elmo-nntp-get-spec): Take into account `elmo-nntp-stream-type-alist'.
8276         (elmo-pop3-get-spec): Take into account `elmo-pop3-stream-type-alist'.
8277         (elmo-imap4-get-spec): Take into account
8278         `elmo-imap4-stream-type-alist'.
8279
8280 2000-10-06  Kenichi OKADA  <okada@opaopa.org>
8281
8282         * elmo-nntp.el (elmo-nntp-list-folders): Fix for `-/'
8283         (elmo-nntp-list-folders-get-cache): Ditto.
8284
8285 2000-10-05  Yuuichi Teranishi  <teranisi@gohome.org>
8286
8287         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Added space
8288         character before 'uid'.
8289
8290 2000-10-04  Yuuichi Teranishi  <teranisi@gohome.org>
8291
8292         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Don't save location data.
8293
8294         * elmo-nntp.el (elmo-nntp-max-of-folder): Fixed.
8295
8296         * elmo-util.el (elmo-number-set-member): New function.
8297         (elmo-number-set-append-list): Ditto.
8298         (elmo-number-set-append): Ditto.
8299
8300         * elmo-msgdb.el (elmo-msgdb-killed-message-p):
8301         Use `elmo-number-set-member'.
8302         (elmo-living-messages): Ditto.
8303         (elmo-msgdb-set-as-killed): Use `elmo-number-set-append'.
8304         (elmo-msgdb-append-to-killed-list): Use `elmo-number-set-append-list'.
8305
8306         * elmo-imap4.el (elmo-imap4-folder-exists-p): Rewrite.
8307         (elmo-imap4-add-to-cont-list): Abolished.
8308         (elmo-imap4-make-number-set-list): Use `elmo-number-set-append'
8309         instead of elmo-imap4-add-to-cont-list.
8310
8311         * elmo2.el (elmo-msgdb-search): Moved from elmo-msgdb.el.
8312         (toplevel): Removed autoload setting for `elmo-imap4-get-connection'.
8313
8314         * elmo-msgdb.el (elmo-msgdb-search): Moved to elmo2.el.
8315
8316 2000-10-03  Hiroya Murata      <lapis-lazuli@pop06.odn.ne.jp>
8317
8318         * elmo-util.el (elmo-condition-parse-search-value):
8319         Fixed date parsing.
8320
8321 2000-10-03  Yuuichi Teranishi  <teranisi@gohome.org>
8322
8323         * elmo-util.el (elmo-condition-find-key-internal): New function.
8324         (elmo-condition-find-key): Ditto.
8325
8326         * elmo-msgdb.el (elmo-msgdb-search-internal-primitive): New function.
8327         (elmo-msgdb-search-internal): Ditto.
8328         (elmo-msgdb-search): Ditto.
8329
8330 2000-10-02  Yuuichi Teranishi  <teranisi@gohome.org>
8331
8332         * elmo-util.el (elmo-cross-device-link-error-p): Abolished.
8333         (elmo-copy-file): Uncheck error condition for `add-name-to-file'.
8334
8335         * elmo-nntp.el (elmo-nntp-search-primitive): Decode header field.
8336         (elmo-nntp-search-primitive): Fixed problem when condition is
8337         'unmatch'.
8338
8339         * elmo-util.el (elmo-buffer-field-primitive-condition-match): Fixed.
8340
8341         * elmo-nntp.el (elmo-nntp-default-use-xhdr): New variable.
8342         (elmo-nntp-xhdr-p): New macro.
8343         (elmo-nntp-set-xhdr): Ditto.
8344         (elmo-nntp-parse-xhdr-response): New function.
8345         (elmo-nntp-retrieve-field): Ditto.
8346         (elmo-nntp-search-primitive): Ditto.
8347         (elmo-nntp-search): Implemented.
8348
8349         * elmo-date.el (elmo-date-make-sortable-string): New macro.
8350
8351         * elmo-archive.el (elmo-archive-search): Set all number list to
8352         `elmo-archive-field-condition-match'
8353
8354         * elmo-localdir.el (elmo-localdir-search): Likewise.
8355
8356         * elmo-maildir.el (elmo-maildir-search): Likewise.
8357
8358 2000-10-01  OKAZAKI Tetsurou  <okazaki@be.to>
8359
8360         * elmo-msgdb.el (elmo-living-messages): New function.
8361         * elmo-archive.el (elmo-archive-list-folder-subr): Use it.
8362         * elmo-cache.el (elmo-cache-list-folder): Ditto.
8363         * elmo-dop.el (elmo-dop-list-folder): Ditto.
8364         * elmo-imap4.el (elmo-imap4-list-folder): Ditto.
8365         * elmo-internal.el (elmo-internal-list-folder-subr): Ditto.
8366         * elmo-localdir.el (elmo-localdir-list-folder-subr): Ditto.
8367         * elmo-maildir.el (elmo-maildir-list-folder-subr): Ditto.
8368         * elmo-multi.el (elmo-multi-list-folder): Ditto.
8369         * elmo-nntp.el (elmo-nntp-list-folder): Ditto.
8370         * elmo-pipe.el (elmo-pipe-list-folder): Ditto.
8371         * elmo-pop3.el (elmo-pop3-list-folder): Ditto.
8372
8373 2000-09-29  Yuuichi Teranishi  <teranisi@gohome.org>
8374
8375         * elmo-maildir.el (elmo-maildir-pack-number): Implemented.
8376
8377         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Save location data.
8378
8379         * elmo2.el (elmo-pack-number): Added 'maildir as allowd type.
8380
8381         * elmo-imap4.el (elmo-imap4-search-internal-primitive): Fixed
8382         arguments for `SEARCH' command.
8383         (elmo-imap4-parse-string): Set `POS' argument for char-after.
8384         All other related portions are changed.
8385
8386         * elmo-cache.el (elmo-cache-search-all): Added argument `from-msgs'.
8387
8388         * elmo2.el (elmo-generic-list-folder-unread): Rewrite.
8389         (elmo-list-folder-unread): Rewrite.
8390         (elmo-list-folder-important): Ditto.
8391
8392         * elmo-util.el (elmo-filter-get-spec): Rewrite.
8393         (elmo-condition-parse-error): New inline function.
8394         (elmo-read-search-condition): New function.
8395         (elmo-read-search-condition-internal): Ditto.
8396         (elmo-parse-search-condition): Rewrite.
8397         (elmo-condition-parse): New function.
8398         (elmo-condition-parse-or-expr): Ditto.
8399         (elmo-condition-parse-and-expr): Ditto.
8400         (elmo-condition-parse-primitive): Ditto.
8401         (elmo-condition-parse-search-value): Ditto.
8402         (elmo-buffer-field-primitive-condition-match): Ditto.
8403         (elmo-buffer-field-condition-match): Rewrite.
8404         (elmo-file-field-condition-match): Ditto.
8405
8406         * elmo-msgdb.el (elmo-msgdb-expand-path): Use
8407         `elmo-replace-msgid-as-filename' instead of `elmo-safe-filename'.
8408
8409         * elmo-internal.el (elmo-internal-search): Set `number' and
8410         `number-list' argument of `elmo-file-field-condition-match'.
8411
8412         * elmo-maildir.el (elmo-maildir-search): Ditto.
8413
8414         * elmo-imap4.el (elmo-imap4-list-folder-unread): Use
8415         `msgdb' as argument instead of `mark-alist'.
8416         (elmo-imap4-list-folder-important): Use `msgdb' as argument instead of
8417         `overview'.
8418
8419         * elmo-multi.el: Likewise.
8420
8421         * elmo-pipe.el: Likewise.
8422
8423         * elmo-imap4.el (elmo-imap4-search-internal-primitive): New function.
8424         (elmo-imap4-search-internal): Rewrite.
8425         (elmo-imap4-search): Ditto.
8426
8427         * elmo-filter.el (elmo-filter-list-folder): Rewrite.
8428         (elmo-filter-list-folder-unread): Ditto.
8429         (elmo-filter-list-folder-important): Ditto.
8430         (elmo-filter-search): Rewrite.
8431
8432         * elmo-cache.el (elmo-cache-search-all): Set `number' and
8433         `number-list' argument of `elmo-file-field-condition-match'.
8434         (elmo-cache-search): Ditto.
8435
8436         * elmo-localdir.el: Likewise.
8437
8438         * elmo-archive.el (elmo-archive-field-condition-match): Added argument
8439         number-list and pass it to `elmo-buffer-field-condition-match'.
8440         (elmo-archive-field-condition-match): Pass `number-list' to
8441         `elmo-archive-field-condition-match'
8442
8443 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
8444
8445         * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
8446         `listgroup'.
8447
8448         * elmo2.el (elmo-folder-diff-async-callback): New variable.
8449         (elmo-folder-diff-async-callback-data): Ditto.
8450         (elmo-folder-diff-async): New function.
8451
8452         * elmo-net.el (elmo-network-session-name-prefix): New variable.
8453         (elmo-network-session-cache-key): Use it as a prefix of the session
8454         name.
8455         (elmo-network-open-session): Ditto.
8456
8457         * elmo-imap4.el (elmo-imap4-status-callback): New local variable.
8458         (elmo-imap4-status-callback-data): Ditto.
8459         (elmo-imap4-server-diff-async-callback): New variable.
8460         (elmo-imap4-server-diff-async-callback-data): Ditto.
8461         (elmo-imap4-local-variables): Added `elmo-imap4-status-callback' and
8462         `elmo-imap4-status-callback-data'.
8463         (elmo-imap4-max-of-folder): Set `elmo-imap4-status-callback' and
8464         `elmo-imap4-status-callback-data' as nil.
8465         (elmo-imap4-server-diff): Ditto.
8466         (elmo-imap4-server-diff-async-callback-1): New function.
8467         (elmo-imap4-server-diff-async): Ditto.
8468         (elmo-imap4-parse-status): Call `elmo-imap4-status-callback'.
8469
8470 2000-09-24  OKAZAKI Tetsurou  <okazaki@be.to>
8471
8472         * elmo-util.el (elmo-list-delete): Doc fix.
8473         (elmo-delete-lists): Abolish.
8474         * elmo2.el (elmo-crosspost-message-delete): Use `elmo-list-delete'
8475         instead of `elmo-delete-lists'.
8476
8477 2000-09-19  Yuuichi Teranishi  <teranisi@gohome.org>
8478
8479         * elmo-imap4.el (elmo-imap4-make-number-set-list): Copy `msg-list'
8480         before `sort'.
8481
8482 2000-09-18  OKAZAKI Tetsurou  <okazaki@be.to>
8483
8484         * elmo-imap4.el (elmo-imap4-literal-1): Renamed from
8485         `elmo-imap4-literal-subr'.
8486         (elmo-imap4-string-1): Renamed from `elmo-imap4-string-subr'.
8487         (elmo-imap4-astring-1): Renamed from `elmo-imap4-astring-subr'.
8488
8489 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8490
8491         * elmo-archive.el (elmo-archive-list-folder-subr): Fix.
8492         (elmo-archive-list-folder): Fix.
8493         (elmo-archive-max-of-folder): Fix.
8494
8495 2000-09-15  Kenichi OKADA  <okada@opaopa.org>
8496
8497         * elmo-localdir.el (elmo-localdir-copy-msgs): Use
8498          `elmo-localdir-max-of-folder' instead of 'elmo-localdir-list-folder-subr'.
8499         (elmo-localdir-append-msg): Ditto.
8500         (elmo-localdir-list-folder): Fix for `nonsort'.
8501         (elmo-localdir-list-folder-subr): Fix for `killed'.
8502         * elmo-maildir.el (elmo-maildir-list-folder): Ditto.
8503         (elmo-maildir-list-folder-subr): Ditto.
8504         * elmo-archive.el (elmo-archive-list-folder): Ditto.
8505         (elmo-archive-list-folder-subr): Ditto.
8506         * elmo-internal.el (elmo-internal-list-folder): Ditto.
8507         (elmo-internal-list-folder-subr): Ditto.
8508
8509 2000-09-13  Yuuichi Teranishi  <teranisi@gohome.org>
8510
8511         * elmo-imap4.el (elmo-imap4-parse-flag-list): Rewrite.
8512
8513 2000-09-12  Katsumi Yamaoka    <yamaoka@jpl.org>
8514
8515         * elmo-util.el (elmo-delete-plugged): Fix parenthesis.
8516
8517 2000-09-11  Yuuichi Teranishi  <teranisi@gohome.org>
8518
8519         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity):
8520         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8521
8522         * elmo-imap4.el (elmo-network-initialize-session): Skip garbage output
8523         before greeting.
8524         (elmo-imap4-read-part): Use "body.peek" to fetch part.
8525         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'.
8526
8527 2000-09-06  Yuuichi Teranishi  <teranisi@gohome.org>
8528
8529         * mmelmo-imap4-2.el (mime-entity-children): Defined.
8530
8531         * elmo-imap4.el (elmo-imap4-mark-set-on-msgs):
8532         Clear `elmo-imap4-fetch-callback' and `elmo-imap4-fetch-callback-data'
8533         before STORE command.
8534
8535 2000-09-04  Yuuichi Teranishi  <teranisi@gohome.org>
8536
8537         * elmo2.el (elmo-multi-folder-diff): Fixed problem of filter folder.
8538
8539         * elmo-imap4.el (elmo-imap4-authenticator-alist): Added `plain' entry.
8540         (elmo-imap4-send-command): Use `elmo-imap4-current-response' instead
8541         of `response'.
8542         (elmo-imap4-list-folders): Removed unused local variable.
8543         (elmo-network-initialize-session): Ditto.
8544         (elmo-imap4-delete-msg-by-id): Ditto.
8545         (elmo-imap4-parse-fetch): Ditto.
8546         (elmo-imap4-copy-msgs): Ditto.
8547         Use `dst-spec' instead of `dst-folder'.
8548         (elmo-network-authenticate-session): Check authenticate type `plain'.
8549
8550 2000-09-01  Yuuichi Teranishi  <teranisi@gohome.org>
8551
8552         * elmo-imap4.el (elmo-imap4-parse-response): Use string-match for
8553         garbage checking.
8554         (elmo-imap4-read-part): Use `elmo-imap4-response-value-all' instead of
8555         `elmo-imap4-response-value'.
8556         (elmo-imap4-parse-response): Return value of `EXPUNGE'.
8557
8558 2000-08-31  Yuuichi Teranishi  <teranisi@gohome.org>
8559
8560         * elmo-imap4.el (elmo-imap4-send-command):
8561         Cause elmo-imap4-bye-error when current response is BYE.
8562         (elmo-imap4-arrival-filter): Changed greeting response value.
8563
8564         * elmo2.el (elmo-imap4-bye-error): Define.
8565
8566         * elmo-imap4.el (elmo-imap4-list): Don't call `elmo-imap4-commit'.
8567         (elmo-imap4-server-diff): Ditto.
8568         (elmo-imap4-response-bye-p): New macro.
8569         (elmo-imap4-response-error-text): Get text from BYE response.
8570         (elmo-imap4-read-response): Return if BYE response.
8571         (elmo-imap4-accept-ok): Cause elmo-imap4-bye-error when BYE response.
8572         (elmo-imap4-folder-exists-p): Ditto.
8573         (elmo-imap4-commit): Do nothing when different mailbox is selected.
8574         (elmo-imap4-parse-bye): New function.
8575         (elmo-imap4-parse-response): Remove needless let.
8576         Call `elmo-imap4-parse-bye'.
8577
8578 2000-08-30  Yuuichi Teranishi  <teranisi@gohome.org>
8579
8580         * elmo-imap4.el (elmo-imap4-folder-exists-p): Don't cause an error when
8581         the mailbox does not exist.
8582         (elmo-imap4-parse-namespace): Copy `elmo-imap4-extra-namespace-alist'.
8583
8584 2000-08-30  OKAZAKI Tetsurou  <okazaki@be.to>
8585
8586         * elmo-imap4.el (elmo-imap4-send-command): Remove unused local variable.
8587
8588 2000-08-29  Yuuichi Teranishi  <teranisi@gohome.org>
8589
8590         * elmo-vars.el (elmo-search-mime-charset): Abolished.
8591
8592         * elmo-pop3.el (elmo-pop3-local-variables): New variable.
8593         (elmo-network-initialize-session-buffer): Defined.
8594
8595         * mmelmo-imap4-2.el (mmelmo-imap4-parse-bodystructure-string):
8596         Abolished.
8597         (mmelmo-imap4-get-mime-entity): Rewrite.
8598
8599         * elmo2.el (elmo-error): Capitalize error message.
8600
8601         * elmo-net.el (elmo-network-initialize-session-buffer): New method.
8602         (elmo-network-session-buffer): New macro.
8603         (elmo-network-open-session): Use it.
8604
8605         * elmo-imap4.el: Rewrite.
8606
8607 2000-08-27 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
8608
8609         * elmo-nntp.el (Toplevel): Require 'elmo-net.
8610
8611 2000-08-27   Daiki Ueno  <ueno@unixuser.org>
8612
8613         * elmo-imap4.el (elmo-imap4-make-address): Abolish.
8614         (elmo-imap4-msgdb-create): Don't request ENVELOPE.
8615         (elmo-imap4-create-msgdb-from-overview-string): Use
8616         `elmo-msgdb-create-overview-from-buffer'.
8617
8618 2000-08-26   Daiki Ueno  <ueno@unixuser.org>
8619
8620         * elmo-imap4.el (elmo-imap4-parse-namespace): Tolerate INBOX regexp.
8621         (elmo-imap4-default-hierarchy-delimiter): New variable.
8622         (elmo-imap4-list-folders): Use it.
8623
8624 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
8625
8626         * elmo-net.el (elmo-network-open-session): Add user and
8627         stream-type for process-buffer name.
8628
8629         * elmo-pop3.el (elmo-network-initialize-session): Call
8630         buffer-disable-undo.
8631
8632         * elmo-imap4.el (elmo-network-initialize-session):
8633         Set current-buffer as an argument for `buffer-disable-undo'.
8634
8635         * elmo-pop3.el (elmo-network-close-session): Don't use
8636         `process-live-p'.
8637
8638         * elmo-vars.el (elmo-default-pop3-authenticate-type):
8639         Set default as 'user.
8640
8641         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rewrite.
8642
8643         * elmo2.el (elmo-quit): Don't use `elmo-pop3-flush-connection'
8644         and `elmo-imap4-flush-connection'.
8645
8646         * elmo-util.el (toplevel): Removed workaround for timezone y2k.
8647         (elmo-pop3-get-spec): Assume auth as symbol.
8648         (elmo-open-network-stream): Moved to `elmo-net'.
8649
8650         * elmo-pop3.el (toplevel): Require 'elmo-net.
8651         Define `sasl-cram-md5' to silence byte compilier.
8652         (elmo-pop3-connection-cache) Abolished.
8653         (elmo-pop3-authenticator-alist) New variable.
8654         (elmo-pop3-session): Define.
8655         (elmo-pop3-connection-get-process): Abolished.
8656         (elmo-pop3-connection-get-buffer): Ditto.
8657         (elmo-pop3-close-connection): Ditto.
8658         (elmo-pop3-flush-connection): Ditto.
8659         (elmo-pop3-get-connection): Ditto.
8660         (elmo-pop3-get-session): New function.
8661         (Replacement for `elmo-pop3-get-connection').
8662         All other related modules are changed.
8663         (elmo-network-close-session): Define.
8664         (elmo-pop3-send-command): Abolished argument `buffer'.
8665         All other related modules are changed.
8666         (elmo-pop3-read-response): Likewise.
8667         (elmo-pop3-open-connection): Abolished.
8668         (elmo-pop3-auth-user): New function.
8669         (elmo-pop3-auth-apop): Ditto.
8670         (elmo-pop3-auth-cram-md5): Ditto.
8671         (elmo-pop3-auth-scram-md5): Ditto.
8672         (elmo-pop3-auth-digest-md5): Ditto.
8673         (elmo-network-initialize-session): Define.
8674         (elmo-network-authenticate-session): Ditto.
8675         (elmo-network-setup-session): Ditto.
8676
8677         * elmo-imap4.el (toplevel): Require 'elmo-net.
8678         (elmo-imap4-session): Define.
8679         (elmo-imap4-connection-cache): Abolished.
8680         (elmo-imap4-password-key): Ditto.
8681         (elmo-imap4-flush-connection): Ditto.
8682         (elmo-imap4-get-connection): Ditto.
8683         All other related modules are changed.
8684         (elmo-imap4-get-session): New function
8685         (Replacement for `elmo-imap4-get-connection').
8686         (elmo-imap4-read-response): Abolished argument `buffer'.
8687         All other related modules are changed.
8688         (elmo-imap4-send-command): Likewise.
8689         (elmo-imap4-select-folder): Abolished.
8690         All other related modules are changed.
8691         (elmo-imap4-select-mailbox): New function.
8692         (Replacement for `elmo-imap4-select-folder').
8693         (elmo-imap4-auth-login): Simplify.
8694         (Assume current buffer as process buffer)
8695         (elmo-imap4-auth-cram-md5): Ditto.
8696         (elmo-imap4-auth-digest-md5): Ditto.
8697         (elmo-imap4-login): Ditto.
8698         (elmo-imap4-open-connection): Abolished.
8699         (elmo-imap4-open-connection-1): Abolished.
8700         (elmo-network-initialize-sessoin): Define.
8701         (elmo-network-authenticate-session): Ditto.
8702         (elmo-network-setup-session): Ditto.
8703
8704         * elmo-net.el: New module.
8705
8706 2000-08-22   Daiki Ueno  <ueno@unixuser.org>
8707
8708         * elmo-util.el (elmo-define-error): New function.
8709
8710         * elmo2.el (elmo-error): Define.
8711         (elmo-open-error): Define.
8712         (elmo-authenticate-error): Define.
8713
8714         * elmo-imap4.el (elmo-imap4-error): Abolish.
8715         (elmo-imap4-error-type): Abolish.
8716         (elmo-imap4-error-process): Abolish.
8717         (elmo-imap4-error-message): Abolish
8718         (elmo-imap4-list-folders): Don't quote lambda.
8719         (elmo-imap4-create-msgdb-from-overview-string): Ditto.
8720         (elmo-imap4-parse-namespace): Ditto.
8721         (elmo-imap4-open-connection): Rewrite.
8722         (elmo-imap4-open-connection-1): Simplified (authenticate only).
8723         (elmo-imap4-get-connection): Abolish local variable `result'.
8724
8725 2000-08-21  Kaoru Takahashi  <kaoru@kaisei.org>
8726
8727         * elmo-imap4.el (elmo-imap4-open-connection-1): Fixed probrem
8728         wrong-type-argument error when auth is nil.
8729
8730 2000-08-21  Yuuichi Teranishi  <teranisi@gohome.org>
8731
8732         * elmo-vars.el (elmo-default-imap4-stream-type): New variable.
8733         (elmo-default-nntp-stream-type): Ditto.
8734         (elmo-default-pop3-stream-type): Ditto.
8735         (elmo-network-stream-type-alist): Ditto.
8736         (elmo-default-imap4-ssl): Abolished.
8737         (elmo-default-nntp-ssl): Ditto.
8738         (elmo-default-pop3-ssl): Ditto.
8739
8740         * elmo-util.el: (toplevel): Removed needless requires.
8741         (elmo-network-get-spec): Use `elmo-network-stream-type-alist'.
8742         (elmo-open-network-stream): Open network stream according to
8743         the value of `elmo-network-stream-type-alist'.
8744         (elmo-get-network-stream-type): New function.
8745         (elmo-network-stream-type-spec-string): New macro.
8746         (elmo-network-stream-type-symbol): Ditto.
8747         (elmo-network-stream-type-function): Ditto.
8748
8749         * elmo-pop3.el (elmo-pop3-get-connection): Follow up changes for
8750         network-stream-type. All other related portions are changed.
8751         (elmo-pop3-open-connection): Ditto.
8752
8753         * elmo-nntp.el (elmo-nntp-setting): Follow up changes for
8754         network-stream-type. All other related portions are changed.
8755
8756         * elmo-imap4.el (elmo-imap4-get-connection): Follow up changes for
8757         network-stream-type.All other related portions are changed.
8758         (elmo-imap4-error): New macro.
8759         (elmo-imap4-error-type): Ditto.
8760         (elmo-imap4-error-process): Ditto.
8761         (elmo-imap4-error-message): Ditto.
8762         (elmo-imap4-auth-login): Use `elmo-imap4-error'.
8763         (elmo-imap4-auth-cram-md5): Ditto.
8764         (elmo-imap4-auth-digest-md5): Ditto.
8765         (elmo-imap4-login): Ditto.
8766         (elmo-imap4-open-connection): Remove password entry if authentication
8767         was in vain.
8768         (elmo-imap4-user-at-host): Abolished.
8769         (elmo-imap4-password-key): New buffer local variable.
8770         (elmo-imap4-open-connection-1): Set value of `elmo-imap4-password-key'
8771         using protocol, port, auth and stream-type.
8772
8773         * elmo-dop.el (elmo-dop-list-folder): Use killed list.
8774
8775 2000-08-13   Daiki Ueno  <ueno@unixuser.org>
8776
8777         * elmo-vars.el (elmo-default-imap4-authenticate-type): Default to nil.
8778
8779         * elmo-util.el (elmo-imap4-get-spec): Assume auth as symbol.
8780
8781         * elmo-imap4.el (elmo-imap4-user-at-host): New variable.
8782         (elmo-imap4-authenticator-alist): New variable.
8783         (elmo-imap4-open-connection-1): Rename from
8784         elmo-imap4-open-connection.
8785         (elmo-imap4-open-connection): Abolish 5th argument `passphrase';
8786         only wraps elmo-imap4-open-connection-1.
8787         (elmo-imap4-get-connection): Abolish local variable buffer, proc-stat,
8788         user-at-host.
8789         (elmo-imap4-auth-login): New function.
8790         (elmo-imap4-auth-cram-md5): New function.
8791         (elmo-imap4-auth-digest-md5): New function.
8792         (elmo-imap4-login): New function.
8793
8794 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8795
8796         * elmo-maildir.el (elmo-maildir-delete-folder): Set argument of the
8797         function `error'.
8798
8799 2000-08-12  Kenichi OKADA  <okada@opaopa.org>
8800
8801         * elmo-pop3.el (elmo-pop3-get-connection): Add `signal'.
8802
8803 2000-08-08  Yuuichi Teranishi  <teranisi@gohome.org>
8804
8805         * elmo2.el (elmo-move-msgs): Set value of `unseen'.
8806
8807 2000-08-06  OKAZAKI Tetsurou  <okazaki@be.to>
8808
8809         * elmo-imap4.el (elmo-imap4-parse-overview-string): In regexps
8810         for server responses, quote `*' regardless of where it appears.
8811
8812 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8813
8814         * elmo-maildir.el (elmo-maildir-commit): New alias.
8815
8816 2000-08-03  Kenichi OKADA  <okada@opaopa.org>
8817
8818         * elmo-util.el (elmo-display-progress):
8819                 Use `progress-feedback-with-label'.
8820
8821 2000-08-02  OKAZAKI Tetsurou  <okazaki@be.to>
8822
8823         * elmo-imap4.el (elmo-imap4-quoted-specials-list): New constant.
8824         (elmo-imap4-non-atom-char-regex): Ditto.
8825         (elmo-imap4-non-text-char-regex): Ditto.
8826         (elmo-imap4-literal-threshold): Ditto.
8827         (elmo-imap4-atom-p): New function.
8828         (elmo-imap4-quotable-p): Ditto.
8829         (elmo-imap4-nil): Ditto.
8830         (elmo-imap4-atom): Ditto.
8831         (elmo-imap4-quoted): Ditto.
8832         (elmo-imap4-literal-subr): Ditto.
8833         (elmo-imap4-literal): Ditto.
8834         (elmo-imap4-buffer-literal): Ditto.
8835         (elmo-imap4-string-subr): Ditto.
8836         (elmo-imap4-string): Ditto.
8837         (elmo-imap4-buffer-string): Ditto.
8838         (elmo-imap4-astring-subr): Ditto.
8839         (elmo-imap4-astring): Ditto.
8840         (elmo-imap4-buffer-astring): Ditto.
8841         (elmo-imap4-nstring): Ditto.
8842         (elmo-imap4-buffer-nstring): Ditto.
8843         (elmo-imap4-mailbox): New alias.
8844         (elmo-imap4-field-body): Ditto.
8845         (elmo-imap4-userid): Ditto.
8846         (elmo-imap4-password): Ditto.
8847         (elmo-imap4-format-quoted): New function.
8848         (elmo-imap4-send-command): Rewritten.  Accept a list of command
8849         arguments and handle "atom", "quoted" and "literal" string here.
8850         (elmo-imap4-list-folders): Use `elmo-imap4-mailbox' for
8851         `elmo-imap4-send-command'.
8852         (elmo-imap4-folder-exists-p): Likewise.
8853         (elmo-imap4-create-folder): Likewise.
8854         (elmo-imap4-delete-folder): Likewise.
8855         (elmo-imap4-rename-folder): Likewise.
8856         (elmo-imap4-max-of-folder): Likewise.
8857         (elmo-imap4-check-validity): Likewise.
8858         (elmo-imap4-sync-validity): Likewise.
8859         (elmo-imap4-server-diff): Likewise.
8860         (elmo-imap4-select-folder): Likewise.
8861         (elmo-imap4-copy-msgs): Likewise.
8862         (elmo-imap4-search-internal): Use `elmo-imap4-astring'.
8863         (elmo-imap4-mark-set-on-msgs): Likewise.
8864         (elmo-imap4-read-part): Likewise.
8865         (elmo-imap4-read-msg): Likewise.
8866         (elmo-imap4-open-connection): Use `elmo-imap4-userid' and
8867         `elmo-imap4-password' for `elmo-imap4-send-command'.
8868         (elmo-imap4-delete-msg-by-id): Use `elmo-imap4-field-body'.
8869         (elmo-imap4-append-msg-by-id): Use `elmo-imap4-mailbox' and
8870         `elmo-imap4-buffer-literal'.
8871         (elmo-imap4-append-msg): Likewise.
8872
8873         * elmo-imap4.el (elmo-imap4-get-connection): Use `delq' instead of
8874         `delete' for removing dead connection from the connection cache.
8875         Move deletion of the process buffer after that.
8876         (elmo-imap4-list): Change `defsubst' to `defun'.
8877         (elmo-imap4-commit): Make error message verbose.
8878         (elmo-imap4-search): Ditto.
8879         (elmo-imap4-list): Ditto.
8880         (elmo-imap4-select-folder): Ditto.
8881         (elmo-imap4-copy-msgs): Ditto.
8882         (elmo-imap4-delete-msg-by-id): Ditto.
8883         (elmo-imap4-append-msg-by-id): Ditto.
8884         (elmo-imap4-append-msg): Ditto.
8885
8886 2000-07-26  Takaaki MORIYAMA <taka@airlab.cs.ritsumei.ac.jp>
8887
8888         * elmo-archive.el (elmo-archive-get-archive-name): Fixed problem
8889         when dired is used on XEmacs.
8890
8891 2000-07-25  OKAZAKI Tetsurou  <okazaki@be.to>
8892
8893         * elmo-imap4.el (elmo-imap4-process-folder-list): Use `nconc'
8894         instead of `append'.
8895         (elmo-imap4-commit): Use `elmo-imap4-plugged-p' instead of
8896         `elmo-plugged-p' directly.
8897         * elmo-pop3.el (elmo-pop3-commit): Use `elmo-pop3-plugged-p' instead
8898         of `elmo-plugged-p' directly.
8899
8900         * elmo-pop3.el (elmo-pop3-get-connection): Split temporary variable.
8901         Eliminate unused variable.  Use `memq' for checking a process status.
8902         Use `cons' instead of `append' for updating the connection cache.
8903         * elmo-nntp.el (elmo-nntp-get-connection): Likewise.
8904         * elmo-imap4.el (elmo-imap4-get-connection): Likewise.
8905
8906 2000-07-22  OKAZAKI Tetsurou  <okazaki@be.to>
8907
8908         * elmo-imap4.el (elmo-imap4-read-bytes): Advance
8909         `elmo-imap4-read-point' exactly.
8910
8911         * mmelmo-imap4-2.el (mmelmo-imap4-get-mime-entity): Rename
8912         the local variable `folder' to `mailbox'.
8913         Rename the argument `fld' to `folder'.
8914
8915 2000-07-20  Kenichi OKADA  <okada@opaopa.org>
8916
8917         * elmo-pop3.el (elmo-pop3-commit): Do nothing when unplugged.
8918         * elmo-imap4.el (elmo-imap4-commit): Ditto.
8919
8920 2000-07-18  Yuuichi Teranishi  <teranisi@gohome.org>
8921
8922         * elmo-pop3.el (elmo-pop3-use-uidl): New variable.
8923         (elmo-pop3-number-uidl-hash): New buffer-local variable.
8924         (elmo-pop3-uidl-number-hash): Ditto.
8925         (elmo-pop3-size-hash): Ditto.
8926         (elmo-pop3-uidl-done): Ditto.
8927         (elmo-pop3-list-done): Ditto.
8928         (elmo-pop3-connection-get-process): New defmacro.
8929         (elmo-pop3-connection-get-buffer): Ditto.
8930         (elmo-pop3-close-connection): Delete buffer and process.
8931         (elmo-pop3-flush-connection): Don't delete buffer and process.
8932         (elmo-pop3-get-connection): Added optional argument `if-exists'.
8933         Setup UIDL and size hash.
8934         (elmo-pop3-send-command-no-erase): Deleted
8935         (elmo-pop3-send-command): Added optional argument `no-erase'.
8936         (elmo-pop3-parse-uidl-response): New function.
8937         (elmo-pop3-parse-list-response): Set size hash.
8938         (elmo-pop3-list-location): New function.
8939         (elmo-pop3-list-by-uidl-subr): Ditto.
8940         (elmo-pop3-list-by-list): Ditto.
8941         (elmo-pop3-list-folder): Call `elmo-pop3-commit'.
8942         Call `elmo-pop3-list-by-uidl-subr' or `elmo-pop3-list-by-list'.
8943         (elmo-pop3-max-of-folder): Call `elmo-pop3-commit'.
8944         Call `elmo-pop3-list-by-uidl-subr' if `elmo-pop3-use-uidl' is non-nil.
8945         (elmo-pop3-msgdb-create-as-numlist): Added optional argument `msgdb'.
8946         Use uidl.
8947         (elmo-pop3-uidl-to-number): New function.
8948         (elmo-pop3-number-to-uidl): Ditto.
8949         (elmo-pop3-number-to-size): Ditto.
8950         (elmo-pop3-msgdb-create-by-header): Added argument `loc-alist'.
8951         Set number by use of uidl.
8952         (elmo-pop3-msgdb-create-message): Likewise.
8953         Set size, loc-alist in msgdb.
8954         (elmo-pop3-read-msg): Set number by use of uidl.
8955         Added optional argument `msgdb'.
8956         (elmo-pop3-delete-msg): Ditto.
8957         (elmo-pop3-delete-msgs): Added optional argument `msgdb'.
8958         (elmo-pop3-commit): Close connection.
8959
8960         * elmo-pipe.el (elmo-pipe-max-of-folder):
8961         Bind `elmo-pop3-use-uidl' as nil.
8962         (elmo-pipe-drain): Ditto.
8963         Call `elmo-commit'.
8964
8965         * elmo-msgdb.el (elmo-msgdb-delete-msgs): Delete location too.
8966         (elmo-msgdb-overview-entity-set-size): New defsubst.
8967
8968 2000-07-17  Yuuichi Teranishi  <teranisi@gohome.org>
8969
8970         * elmo-vars.el (elmo-use-killed-list): New variable
8971         (Renamed from `elmo-nntp-use-killed-list').
8972         (elmo-nntp-use-killed-list): Eliminated.
8973
8974         * elmo-msgdb.el (elmo-msgdb-expand-path):
8975         Changed expanding msgdb path for elmo-multi.
8976
8977         * elmo-archive.el, elmo-cache.el, elmo-database.el, elmo-date.el,
8978         elmo-dop.el, elmo-filter.el, elmo-imap4.el, elmo-internal.el,
8979         elmo-localdir.el, elmo-localnews.el, elmo-maildir.el, elmo-msgdb.el,
8980         elmo-multi.el, elmo-nntp.el, elmo-pipe.el, elmo-pop3.el,
8981         elmo-util.el, elmo-vars.el, elmo2.el, mmelmo-1.el, mmelmo-2.el,
8982         mmelmo-imap4-1.el, mmelmo-imap4-2.el, mmelmo-imap4.el, mmelmo.el
8983         (toplevel): Deleted time-stamp line.
8984
8985         * elmo2.el (elmo-clear-killed ): Defined as function
8986         (Abolished defining as a backend function).
8987         All other related modules are changed.
8988
8989 2000-07-14  Hiroshi Tsutsui <tsutsui@easter.kuee.kyoto-u.ac.jp>
8990
8991         * elmo-cache.el (elmo-cache-clear-killed): Fixed.
8992
8993 2000-07-13  Yuuichi Teranishi  <teranisi@gohome.org>
8994
8995         * elmo-msgdb.el (elmo-msgdb-append-to-killed-list): New function.
8996
8997 2000-07-12  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
8998
8999         * elmo-pop3.el (elmo-pop3-clear-killed): New alias.
9000
9001 2000-07-11  Yuuichi Teranishi  <teranisi@gohome.org>
9002
9003         * elmo-nntp.el (elmo-nntp-max-of-folder): Use killed list in
9004         asynchronous folder check.
9005
9006         * elmo2.el (elmo-move-msgs): Don't move message when buffer-size is 0.
9007
9008         * elmo-nntp.el (elmo-nntp-delete-msgs): Check the value of
9009         `elmo-nntp-use-killed-list'.
9010         (elmo-nntp-list-folder): Use killed list.
9011         (elmo-nntp-max-of-folder): Ditto.
9012         (elmo-nntp-msgdb-create): Set killed list.
9013
9014         * elmo-vars.el (elmo-nntp-use-killed-list): New user option.
9015
9016         * elmo2.el (elmo-clear-killed): New backend function.
9017         All other related modules are changed.
9018
9019 2000-07-07  OKAZAKI Tetsurou  <okazaki@be.to>
9020
9021         * elmo-util.el (elmo-imap4-spec-folder): Use
9022         `elmo-imap4-spec-mailbox'; Mark as obsolete.
9023         All callers changed.
9024
9025 2000-06-22  Yuuichi Teranishi  <teranisi@gohome.org>
9026
9027         * mmelmo-2.el (initialize-instance):
9028         Use `mime-buffer-entity-buffer-internal' instead of
9029         `mime-entity-buffer'.
9030
9031         * mmelmo-imap4-2.el (mmelmo-imap4-mime-entity-buffer): New function.
9032         (mime-entity-body): Implemented.
9033         (mime-goto-header-start-point): Deleted.
9034         (mime-goto-body-end-point): Ditto.
9035         (mime-entity-point-min): Ditto.
9036         (mime-entity-point-max): Ditto.
9037         (mime-entity-children): Ditto.
9038         (mime-insert-header): Use `mime-buffer-entity-buffer-internal'
9039         instead of `mime-entity-buffer'.
9040         (mime-entity-header-buffer): Ditto.
9041         (mime-entity-body-buffer): Ditto.
9042         (mime-write-entity-content): Ditto.
9043
9044         * pldap.el (ldap-static-if): New macro.
9045         (toplevel): Use it instead of `static-if'.
9046
9047 2000-06-19  Yuuichi Teranishi  <teranisi@gohome.org>
9048
9049         * pldap.el (ldap-search-basic): Don't collect 'dn' value even if it is
9050         included in `attrs' argument.
9051
9052 2000-06-16  Yuuichi Teranishi  <teranisi@gohome.org>
9053
9054         * elmo-util.el (elmo-get-passwd): Use old backquote style.
9055
9056         * pldap.el (ldap-ldif-safe-char-regexp): New constant.
9057         (ldap-ldif-safe-init-char-regexp): Ditto.
9058         (ldap-ldif-safe-string-regexp): Ditto.
9059         (ldap/ldif-safe-string-p): New macro.
9060         (ldap/ldif-insert-field): Ditto.
9061         (ldap-modify): Use it.
9062         (ldap-add): Ditto.
9063         (ldap-search-basic): Consider `attrsonly' also when `attrs' is nil.
9064         (ldap-decode-attribute): Decode only when `attr' is consp.
9065         (ldap-delete): Bind `ret'.
9066         (toplevel): Require 'cl at compile time.
9067         Removed (require 'poe) and (require 'std11).
9068         (pldap-version): Eliminated.
9069         (ldap-search-basic): Removed auth and dn binding.
9070         (ldap-ldif-field-name-regexp): New constant.
9071         (ldap-ldif-field-head-regexp): Ditto.
9072         (ldap-ldif-next-field-head-regexp): Ditto.
9073         (ldap/collect-field): Use `ldap-ldif-field-head-regexp'.
9074         (ldap/field-end): New function.
9075         (ldap/field-body): Use it.
9076         (ldap/collect-field): Ditto.
9077         (ldap-search-basic): Use `ldap/field-body'.
9078
9079 2000-06-15  Yuuichi Teranishi  <teranisi@gohome.org>
9080
9081         * pldap.el (ldap-default-attribute-encoder): New user option.
9082         (ldap/field-body): Decode base64 string.
9083         (ldap/collect-field): Ditto.
9084         (ldap-encode-attribute): New function.
9085         (ldap-add-entries): Use it.
9086         (ldap-modify-entries): Ditto.
9087         (ldap-search-entries): Enclosed decoding function with
9088         `with-temp-buffer' and set as unibyte.
9089         (ldap-search-basic): Set process buffer as unibyte.
9090
9091         * elmo-util.el (elmo-folder-identical-system-p):
9092         Eliminated name space checking.
9093
9094         * pldap.el: New module.
9095         toplevel: Changed condition to detect built-in ldap feature.
9096         (ldap-delete): Enclosed call-process with `with-temp-buffer'.
9097         (ldap-add): Added error handling.
9098         (ldap-modify): Ditto.
9099         (ldap-delete): Ditto.
9100
9101 2000-06-03  OKAZAKI Tetsurou  <okazaki@be.to>
9102
9103         * elmo-localdir.el (elmo-localdir-msgdb-create-as-numlist):
9104         Initialize local variables with `let'.  Inline a temporary
9105         variable for the progress percentage.  Sort `setq' to reduce
9106         function call in the while-loop.
9107
9108         * mmelmo.el (mmelmo-get-original-buffer): Move `save-excursion'
9109         into the conditional branch.
9110
9111 2000-05-30  OKAZAKI Tetsurou  <okazaki@be.to>
9112
9113         * elmo2.el (elmo-move-msgs): Replace `append' with `nconc'.
9114         Move a conditional out of the while-loop.
9115
9116 2000-05-27  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9117
9118         * elmo-msgdb.el (elmo-msgdb-overview-get-entity): Use
9119         elmo-msgdb-overview-get-entity-by-number.
9120         (elmo-msgdb-overview-get-entity-by-number): Don't use catch and
9121         throw.
9122
9123 2000-05-26  OKAZAKI Tetsurou  <okazaki@be.to>
9124
9125         * elmo-localdir.el (elmo-localdir-pack-number): Renamed
9126         the local variable for a packed number self descriptively.
9127
9128 2000-05-21  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9129
9130         * elmo2.el (elmo-msgdb-load): Remove elmo-msgdb-overview-hashtb.
9131         * elmo-localdir.el (elmo-localdir-pack-number): Use
9132         `elmo-msgdb-overview-get-entity' instead of
9133         `elmo-msgdb-overview-get-entity-by-number'.
9134         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): Removed.
9135         (elmo-msgdb-search-overview-entity): Removed.
9136         (elmo-msgdb-overview-get-entity): Change argument. Get overview entity
9137         by message-id or number.
9138         (elmo-msgdb-delete-msgs): Use `elmo-msgdb-overview-get-entity'
9139         instead of `elmo-msgdb-overview-get-entity-by-number'.
9140
9141 2000-05-20  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9142
9143         * elmo-vars.el (elmo-use-overview-hashtb): New variable. If
9144         non-nil, use hash table for overview.
9145         (elmo-hash-maximum-size): New variable.
9146         * elmo-msgdb.el (elmo-msgdb-overview-hashtb): New variable.
9147         (elmo-msgdb-make-overview-hashtb): New function.
9148         (elmo-msgdb-clear-overview-hashtb): New function.
9149         (elmo-clear-hash-val): New macro.
9150         All other related modules are changed.
9151
9152 2000-05-18  Yuuichi Teranishi  <teranisi@gohome.org>
9153
9154         * elmo2.el (elmo-move-msgs): If there's other message with
9155         same message-id, don't use cache.
9156
9157 2000-05-18  Nishimoto Masaki <nishimoto@gaju.org>
9158
9159         * elmo-localdir.el (elmo-localdir-pack-number): Fixed problem when
9160         number is already packed.
9161
9162 2000-05-15  OKAZAKI Tetsurou  <okazaki@be.to>
9163
9164         * elmo-vars.el: Doc fixes. Trim trailing whitespace.
9165
9166 2000-05-12  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9167
9168         * elmo-vars.el (elmo-display-progress-threshold): New variable.
9169         All other related modules are changed.
9170
9171 2000-05-11  Yuuichi Teranishi  <teranisi@gohome.org>
9172
9173         * elmo-msgdb.el (elmo-msgdb-sort-by-date): Fixed a problem
9174         of refiling failure on Maildir.
9175
9176 2000-05-10  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9177
9178         * elmo-msgdb.el (elmo-msgdb-get-decoded-cache): get string of
9179         decoded mime-charset with cache.
9180         (elmo-msgdb-overview-entity-get-from): Ditto.
9181         (elmo-msgdb-overview-entity-get-subject): Ditto.
9182         * elmo-vars.el (elmo-use-decoded-cache): New variable.
9183
9184 2000-05-10  Kenichi OKADA  <okada@opaopa.org>
9185
9186         * elmo-utils.el (elmo-get-passwd): Set timeout of password.
9187         (elmo-remove-passwd): Fill password with 0 before erase.
9188         * elmo-vars.el (elmo-passwd-life-time): New variable.
9189
9190 \f
9191 2000-05-10  Yuuichi Teranishi  <teranisi@gohome.org>
9192
9193         * elmo-cache.el (elmo-buffer-cache-add):
9194         Set message cache buffer as unibyte.
9195
9196 2000-05-07  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
9197
9198         * elmo-archive.el (elmo-archive-list-folders): Fix base-folder
9199         become nil.
9200
9201 2000-04-28  Yuuichi Teranishi  <teranisi@gohome.org>
9202
9203         * elmo-nntp.el (elmo-nntp-list-folders): Remove progress gauge
9204         when display is finished.
9205         (elmo-nntp-msgdb-create): Ditto.
9206         (elmo-nntp-groups-read-response): Ditto.
9207         (elmo-nntp-retrieve-headers): Ditto.
9208         (elmo-nntp-msgdb-create-message): Ditto.
9209         * elmo-pop3.el (elmo-pop3-retrieve-headers): Ditto.
9210         (elmo-pop3-msgdb-create-message): Ditto.
9211
9212 2000-04-24  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9213
9214         * elmo-maildir.el (elmo-maildir-msgdb-create):
9215         Use `elmo-msgdb-sort-by-date'.
9216
9217 2000-04-20  Yuuichi Teranishi  <teranisi@gohome.org>
9218
9219         * elmo2.el (elmo-read-msg-no-cache):
9220         Eliminated arguments after `outbuf'.
9221         Don't use cache even if it exists.
9222         (elmo-read-msg): Don't pass arguments after `outbuf' to
9223         `elmo-read-msg-no-cache'.
9224
9225 2000-04-15  Yuuichi Teranishi  <teranisi@elmo.dq.isl.ntt.co.jp>
9226
9227         * elmo-archive.el (elmo-archive-list-folders):
9228         Use `file-name-directory' if base folder does not exist.
9229
9230 2000-04-14  Nishimoto Masaki <nishimoto@gaju.org>
9231
9232         * elmo-archive.el (elmo-archive-list-folders): Don't use
9233         `file-name-directory'.
9234
9235 2000-04-07  Yuuichi Teranishi  <teranisi@gohome.org>
9236
9237         * elmo-dop.el (elmo-dop-queue-flush): Add optional argument `force'.
9238         If `force' is non-nil, try flushing all operation queues.
9239
9240 2000-04-03  Yuuichi Teranishi  <teranisi@gohome.org>
9241
9242         * elmo-pop3.el (elmo-pop3-open-connection): Enclose with
9243         as-binary-process.
9244
9245 2000-03-29  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9246
9247         * elmo-util.el (elmo-display-progress): Fixed.
9248
9249 2000-03-27  Daiki Ueno <ueno@kiss.kake.info.waseda.ac.jp>
9250
9251         * elmo-util.el (elmo-display-progress): New function.
9252         All other related modules are changed.