* mime-image.el (mime-image-insert): Synch with the latest image.el.
[elisp/semi.git] / ChangeLog
1 2000-06-27   Daiki Ueno  <ueno@unixuser.org>
2
3         * mime-image.el (mime-image-insert): Synch with the latest image.el.
4         (mime-display-image): Don't pass underlying string "x".
5
6 2000-06-23  Yuuichi Teranishi  <teranisi@gohome.org>
7
8         * mime-edit.el (mime-edit-quitting-method):
9         Use mime-buffer-entity-buffer-internal instead of mime-entity-buffer.
10
11 2000-06-19  Yoshiki Hayashi  <yoshiki@xemacs.org>
12
13         * mime-view.el (mime-display-multipart/encrypted): New function.
14         * semi-setup.el: Set up multipart/encrypted.
15
16 2000-06-19  Yoshiki Hayashi  <yoshiki@xemacs.org>
17
18         * mime-edit.el (mime-edit-insert-file): Don't produce
19         charset=x-unknown.
20
21 2000-06-19  Yoshiki Hayashi  <yoshiki@xemacs.org>
22
23         * EMY 1.13.7 is released.
24
25 2000-06-16  Yoshiki Hayashi  <yoshiki@xemacs.org>
26
27         * mime-edit.el (mime-edit-insert-file): Make it work with Emacs.
28
29 2000-06-16  Yoshiki Hayashi  <yoshiki@xemacs.org>
30
31         * mime-edit.el (mime-edit-insert-text-file): New function.
32         (mime-file-types): Treat .htm as an HTML file.
33
34 2000-06-16  Yoshiki Hayashi  <yoshiki@xemacs.org>
35
36         * mime-edit.el (mime-edit-insert-user-agent-field): Defcustom.
37         (mime-edit-mime-version-field-for-message/partial): Removed.
38         (mime-edit-mime-partial-header): Use mime-edit-mime-version-value.
39         (mime-edit-insert-binary-string): New function.
40         (mime-edit-insert-file): Use it.
41         (mime-edit-set-parameter): Avoid duplicating same parameters.
42
43 2000-06-15  Yoshiki Hayashi  <yoshiki@xemacs.org>
44
45         * mail-mime-setup.el: Don't touch mail-signature.
46         * semi-setup.el (mime-setup-enable-inline-image): Don't check
47         window-system under XEmacs.
48         * semi-def.el (select-menu-alist): Use device-on-window-system-p
49         under XEmacs.
50
51 2000-06-14  Yoshiki Hayashi  <yoshiki@xemacs.org>
52
53         * mime-view.el (mime-view-unbuttonize): Remove invisible text
54         following XPM buttons.
55         * semi-def.el (mime-create-xpm-buttton): Make an extent start-open.
56         Put mime-button text-property for buttonize and unbuttonize.
57
58 2000-06-13  Yoshiki Hayashi  <yoshiki@xemacs.org>
59
60         * mime-edit.el (mime-transfer-level): Defcustomize.
61         (mime-edit-mime-version-field-for-message/partial):
62         Add an accidentally removed newline.
63
64 2000-06-07  Yoshiki Hayashi  <yoshiki@xemacs.org>
65
66         * mime-edit.el (mime-edit-yank-ignored-field-regexp): Removed.
67         (mime-edit-yank-ignored-field-list): Make this customizable.
68
69 2000-06-09   Daiki Ueno  <ueno@unixuser.org>
70
71         * mime-edit.el (mime-edit-insert-key): Insert a text tag when
72         the buffer has any trailing text.
73
74 2000-06-05  Shugo Maeda <shugo@ruby-lang.org>
75
76         * pgg-gpg.el (pgg-scheme-insert-key): Don't quote user id.
77
78 2000-05-29  Yoshiki Hayashi  <yoshiki@xemacs.org>
79
80         * mime-view.el (mime-view-mailcap-files): New variable.
81         (mime-view-mailcap-parsed-p): New variable.
82         (mime-view-parse-mailcap-files): New function.
83         (mime-view-parse-mailcap): New function.
84
85 2000-05-25  Tanaka Akira      <akr@m17n.org>
86
87         * README.en: Update for CVS via SSH.
88
89 2000-05-23  Yoshiki Hayashi  <yoshiki@xemacs.org>
90
91         * semi-def.el (mime-create-widget-button): Avoid truncating
92         extents.
93
94 2000-05-22  Katsumi Yamaoka   <yamaoka@jpl.org>
95
96         * semi-def.el (mime-create-xpm-button): Define it if the feature
97         `xpm' is provided even if the TTY frame is used; call
98         `mime-create-widget-button' if the TTY frame is used.
99         (mime-create-widget-button): Replace a string behind the widget
100         button with the entity info; add comment about it.
101         (mime-button-mouse-face): Refer to `widget-mouse-face' in doc.
102         (mime-button-face): Refer to `widget-button-face' in doc.
103
104 2000-05-21   Daiki Ueno  <ueno@unixuser.org>
105
106         * pgg-gpg.el (pgg-gpg-process-region): Abolish redundant nconc.
107
108 2000-05-22  Yoshiki Hayashi  <yoshiki@xemacs.org>
109
110         * mime-view.el: Merge WEMY.
111         * semi-def.el: Ditto.
112
113         * mime-view.el (mime-preview-toggle-button): Force hiding
114         a button when condition is 'hide.
115         (mime-preview-buttonize): Don't toggle button.
116         (mime-preview-unbuttonize): Ditto.
117
118         * semi-def.el (mime-use-widget): New variable.
119
120 2000-05-17  Yoshiki Hayashi  <yoshiki@xemacs.org>
121
122         * EMY 1.13.6 is released.
123
124 2000-05-16   Daiki Ueno  <ueno@unixuser.org>
125
126         * mime-image.el (mime-image-create) [XEmacs]: Don't call
127         `make-image-instance' directly.
128
129 2000-05-16  Yoshiki Hayashi  <yoshiki@xemacs.org>
130
131         * mime-edit.el (mime-edit-mime-version-field-for-message/partial):
132         Remove mime-edit-version.
133         (mime-edit-message-default-max-lines): Increment to 5000.
134         (mime-edit-split-and-send):
135         (mime-edit-exit):
136         Shut up byte compiler.
137
138 2000-05-16  Yoshiki Hayashi  <yoshiki@xemacs.org>
139
140         * mime-view.el (mime-view-automatic-conversion): New variable.
141         (mime-display-text): Decode CTE when FLIM 1.14.
142
143 2000-05-12  Yoshiki Hayashi  <yoshiki@xemacs.org>
144
145         * mime-view (mime-display-entity): Show header when message
146         is attachment.
147         (mime-display-text): Pass 7bit when no CTE is specified.
148         Use mime-entity-body if available.
149         (mime-display-message): Reconstruct list every time.
150
151 2000-05-02   Daiki Ueno  <ueno@unixuser.org>
152
153         * pgg-gpg.el (pgg-scheme-encrypt-region): Don't quote recipient;
154         concatenate all arguments destructively.
155
156 2000-04-17  Yoshiki Hayashi  <yoshiki@xemacs.org>
157
158         * EMY 1.13.5 is released.
159
160 2000-04-17  Yoshiki Hayashi  <yoshiki@xemacs.org>
161
162         * mime-view.el (mime-view-insert-entity-button): Don't pass
163         invisible to mime-insert-button.
164
165 2000-04-15  Yoshiki Hayashi  <yoshiki@xemacs.org>
166
167         * mime-view.el (mime-preview-text): Ask Content-Transfer-Encoding.
168         (mime-display-text): New function.
169
170 2000-04-14  Yoshiki Hayashi  <yoshiki@xemacs.org>
171
172         * mime-view.el (mime-display-gzipped): Use decode-coding-string.
173
174 2000-04-13   Daiki Ueno  <ueno@unixuser.org>
175
176         * pgg-gpg.el: Fix author's mailing address.
177         (pgg-gpg-process-region): Add --output option; set status fd to 2.
178         (pgg-gpg-possibly-cache-passphrase): New function.
179         (pgg-gpg-shell-file-name): Abolish.
180         (pgg-gpg-shell-command-switch): Abolish.
181         (pgg-scheme-lookup-key): Work on temp buffer.
182
183 2000-03-20  Yoshiki Hayashi  <yoshiki@xemacs.org>
184
185         * mime-view.el (mime-preview-follow-current-entity): Fix the bug
186         without header part.
187         (mime-preview-entity-boundary): Fix the case that last part
188         is composite type.
189
190 2000-03-18  Yoshiki Hayashi  <yoshiki@xemacs.org>
191
192         * mime-view.el (mime-display-gzipped): Temporaly hack for FSF Emacs
193         until new FLIM is released.
194
195 2000-03-16  Yoshiki Hayashi  <yoshiki@xemacs.org>
196
197         * mime-view.el (mime-display-gzipped): Make it FSF Emacs friendly.
198
199 2000-03-14  Yoshiki Hayashi  <yoshiki@xemacs.org>
200
201         * mime-view.el (mime-display-gzipped): Remove arguments.
202         autodetect coding system.
203
204 2000-03-01  Yoshiki Hayashi  <yoshiki@xemacs.org>
205
206         * mime-image.el (mime-display-image): Don't wait for redisplay.
207
208 2000-02-23   Daiki Ueno  <ueno@ueda.info.waseda.ac.jp>
209
210         * mime-image.el
211         (mime-image-normalize-xbm-buffer): New inline function.
212         (mime-image-create) [XEmacs || Emacs21]: Use it for XBM data.
213         (mime-display-image): Don't create temporary file.
214
215 2000-02-24  Mito  <mit@nines.nec.co.jp>
216
217         * mime-edit.el (mime-edit-normalize-body): Fix number of arguments
218         against enriched-encode.
219
220 2000-02-27  Yoshiki Hayashi  <yoshiki@xemacs.org>
221
222         * mime-view.el: Don't show a child entity of
223         message/external-body.
224
225 2000-02-21   Daiki Ueno  <ueno@ueda.info.waseda.ac.jp>
226
227         * pgg.el (pgg-temp-buffer-show-function): Use
228         `shrink-window-if-larger-than-buffer'.
229
230         * pgg-gpg.el (pgg-gpg-process-region): Fix cleanup form.
231
232         * pgg-pgp.el (pgg-pgp-process-region): Ditto.
233
234         * pgg-pgp5.el (pgg-pgp5-process-region): Ditto.
235
236         * semi-setup.el (mime-setup-enable-inline-image): Remove checking
237         of bitmap-mule; use `eval-after-load' instead of
238         `call-after-loaded' to require `mime-image'.
239
240         * mime-image.el (mime-display-image): Set default umask to 077.
241         (mime-image-create): Use `nothing-image-instance-p'.
242
243         * mime-pgp.el: When it is compiled, define `smime-output-buffer'
244         and `smime-errors-buffer' to avoid compiler warning.
245
246         * mime-edit.el: Ditto.
247
248         * mime-pgp.el
249         (mime-view-application/pkcs7-mime): Regard smime-type as
250         "enveloped-data" unless it is specified.
251
252         * smime.el (smime-directory-files): Abolish.
253         (smime-verify-region): Abolish local variable `args'.
254
255 2000-02-20   Daiki Ueno  <ueno@ueda.info.waseda.ac.jp>
256
257         * mime-image.el: Remove X-Face setting; require cl when compiling.
258         (mime-image-format-alist): Remove image/x-mag and image/x-pic.
259         (mime-image-type-available-p): New function.
260         (mime-image-create): New function.
261         (mime-image-insert): New function.
262         (mime-display-image): Rewrite.
263
264         * mime-edit.el
265         (mime-edit-define-charset): Handle 'mime-charset-comment.
266
267 2000-02-02  Nakagawa, Makoto  <Makoto.Nakagawa@jp.compaq.com>
268
269         * pgg-pgp5.el (pgg-scheme-verify-region): Copy the contents of
270         `pgg-errors-buffer' to `pgg-output-buffer'.
271
272 2000-02-21  Yoshiki Hayashi  <yoshiki@xemacs.org>
273
274         * EMY 1.13.4 is released.
275
276 2000-02-20  Yoshiki Hayashi  <yoshiki@xemacs.org>
277
278         * semi-def.el (mime-insert-button): Insert newline to avoid
279         face property concatenation.
280
281 2000-02-20  Yoshiki Hayashi  <yoshiki@xemacs.org>
282
283         * mime-view.el (mime-preview-toggle-button): New function.
284         (mime-view-define-keymap): Define C-h C-t b to
285         mime-preview-toggle-button.
286         (mime-preview-buttonize): Use it.
287         (mime-preview-unbuttonize): Ditto.
288         (mime-preview-type): Call mime-preview-toggle-body.
289
290 2000-02-20  Yoshiki Hayashi  <yoshiki@xemacs.org>
291
292         * mime-view.el (mime-preview-toggle-header): Add optional
293         argument show.  When show, always displays rather than toggle.
294         (mime-preview-toggle-all-header): Ditto.
295         (mime-preview-toggle-content): Ditto.
296
297 2000-02-20  Yoshiki Hayashi  <yoshiki@xemacs.org>
298
299         * mime-view.el (mime-preview-follow-current-entity):
300         Delete header and insert new one.
301         (mime-preview-toggle-header): Don't manipulate entity button.
302         (mime-preview-toggle-all-header): New function.
303
304 2000-02-16  Yoshiki Hayashi  <yoshiki@xemacs.org>
305
306         * mime-view.el (mime-preview-quit): Fix bug which unconditionally
307         removes preview-buffer.
308         From: Yuuichi Teranishi <teranisi@gohome.org>
309
310 2000-02-15  Yoshiki Hayashi  <yoshiki@xemacs.org>
311
312         * mime-view.el (mime-follow-current-entity): Try to be
313         compatible with FSF Emacs.
314
315 2000-02-14  Yoshiki Hayashi  <yoshiki@xemacs.org>
316
317         * EMY 1.13.3 is released.
318
319 2000-02-12  Yoshiki Hayashi  <yoshiki@xemacs.org>
320
321         * mime-view.el (mime-display-entity): Prefer visibility of
322         entity-button, not invisibility.
323         (mime-view-children-is-invisible): New macro.
324         (mime-display-entity): Check children can be shown.
325
326 2000-02-12  Yoshiki Hayashi  <yoshiki@xemacs.org>
327
328         * mime-view.el (mime-preview-toggle-header): New function.
329         (mime-preview-toggle-content): New function.
330         (mime-view-define-keymap): Bind C-c C-t C-h to
331         mime-preview-toggle-header, C-h C-t C-c to mime-preview-toggle-content.
332         Bind C-c C-e to mime-preview-extract-current-entity.
333
334 2000-02-12  Yoshiki Hayashi  <yoshiki@xemacs.org>
335
336         * mime-view.el (mime-preview-entity-boundary): New function.
337         (mime-preview-follow-current-entity): Use it.
338         (mime-view-button-is-visible): New macro.
339         (mime-view-body-is-visible): Ditto.
340
341 2000-02-10  MORIOKA Tomohiko  <tomo@m17n.org>
342
343         * mime-view.el (mime-display-message): Use `major-mode' of
344         current-buffer as default value of `original-major-mode'; don't
345         use `mime-entity-header-buffer'.
346         (mime-preview-follow-current-entity): Use `mime-insert-header' to
347         insert header; don't use `mime-entity-header-buffer',
348         `mime-entity-header-start-point' and
349         `mime-entity-header-end-point'.
350
351 2000-02-12  Yoshiki Hayashi  <yoshiki@xemacs.org>
352
353         * mime-view.el (mime-view-insert-entity-button): Add invisible
354         when body is invisible.
355
356 2000-02-11  Yoshiki Hayashi  <yoshiki@xemacs.org>
357
358         * mime-view.el (mime-preview-quit): Kill preview buffer
359         when mode-specific function is not found.
360
361 2000-02-11  Yoshiki Hayashi  <yoshiki@xemacs.org>
362
363         * Makefile (MAKEINFO): New variable.
364
365 2000-02-09  Yoshiki Hayashi  <yoshiki@xemacs.org>
366
367         * Makefile (distclean): New target.
368
369 2000-02-08  Yoshiki Hayashi  <yoshiki@xemacs.org>
370
371         * mime-view.el: Fix byte-compiler warnings.
372         * mime-play.el: Ditto.
373         (mime-preview-quitting-method-for-mime-show-message-mode):
374         Check whether raw-buffer exists.
375
376 2000-02-08  Yoshiki Hayashi  <yoshiki@xemacs.org>
377
378         * Makefile: (texinfmt, xtexinfmt): New rule to format Texinfo
379         file with Emacs and XEmacs.
380
381 2000-02-07  Yoshiki Hayashi  <yoshiki@xemacs.org>
382
383         * mime-edit.el: Fix doc string.
384         * mime-view.el: Ditto.
385         * pgg-gpg.el: Ditto.
386         * pgg-parse.el: Ditto.
387         * pgg-pgp.el: Ditto.
388         * pgg-pgp5.el: Ditto.
389         * pgg.el: Ditto.
390
391 2000-02-07  Yoshiki Hayashi  <yoshiki@xemacs.org>
392
393         * mime-view.el (mime-display-entity): Don't call
394         mime-goto-header-start-point.  Clean up and remove redundant
395         let clause.
396
397 2000-02-07  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
398
399         * EMY 1.13.2 is released.
400
401 2000-02-07  Yoshiki Hayashi  <yoshiki@xemacs.org>
402
403         * mime-view.el (mime-display-message): Add new local variable
404         line-move-ignore-invisible.  Bind it to t.
405
406 2000-02-06  Yoshiki Hayashi  <yoshiki@xemacs.org>
407
408         * pgg-def.el (pgg-default-scheme): Improve custom options.
409
410 2000-02-05  Yoshiki Hayashi  <yoshiki@xemacs.org>
411
412         * Makefile: Format Info file.
413
414 2000-02-04  Yoshiki Hayashi  <yoshiki@xemacs.org>
415
416         * mime-edit.el: Synch with EMIKO 1.13.11.
417         * mime-image.el: Ditto.
418         * mime-pgp.el: Ditto.
419         * semi-def.el: Ditto.
420         * semi-setup.el: Ditto.
421         * mime-ui-en.sgml: Ditto.
422         * mime-ui-en.texi: Ditto.
423         * mime-ui-ja.sgml: Ditto.
424         * mime-ui-ja.texi: Ditto.
425
426         * pgg-def.el: Synch with EMIKO 1.13.11.  New file.
427         * pgg-gpg.el: Ditto.
428         * pgg-parse.el: Ditto.
429         * pgg-pgp.el: Ditto.
430         * pgg-pgp5.el: Ditto.
431         * pgg.el: Ditto.
432         * smime.el: Ditto.
433
434 2000-02-03  Yoshiki Hayashi  <yoshiki@xemacs.org>
435
436         * mime-edit.el (mime-file-types): Defaults type of patch to
437         text/plain.  There's not much reason to use application/octet-stream.
438
439         * mime-view.el (mime-display-detect-application/octet-stream):
440         New function.
441         * mime-view.el (mime-display-gzipped): New function.
442         Ungzip content and inline it.  Requires external gzip program.
443
444 2000-01-31  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
445
446         * EMY 1.13.1 is released.
447
448 2000-01-31 Yoshiki Hayashi  <yoshiki@xemacs.org>
449
450         * emy.texi: Describe how to deal with broken message.
451
452 2000-01-31 Yoshiki Hayashi  <yoshiki@xemacs.org>
453
454         * mime-play.el (mime-save-content-for-broken-message): New function.
455
456 2000-01-28  Yoshiki Hayashi  <yoshiki@xemacs.org>
457
458         * mime-view.el (mime-display-entity): Clean up code.
459
460 2000-01-28  Yoshiki Hayashi  <yoshiki@xemacs.org>
461
462         * mime-view.el (mime-display-entity): Fix handling of
463         inline parameter of Content-Disposition.
464
465 2000-01-20  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
466
467         * mime-edit.el (mime-edit-user-agent-value): Add apel-version.
468
469 2000-01-14  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
470
471         * EMY 1.13.0 is released.
472
473 2000-01-05  Katsumi Yamaoka   <yamaoka@jpl.org>
474
475         * Makefile, README.en: Update for the new CVS server.
476
477 1999-12-13  Katsumi Yamaoka   <yamaoka@jpl.org>
478
479         * README.en: Update for the recent ML address and ftp site.
480
481 1999-12-15  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
482
483         * mime-w3.el (mime-w3-message-structure): Removed.
484         (mime-preview-text/html): Don't use mime-w3-message-structure.
485         (mime-find-root-entity): New function. Should be in flim.
486         (url-cid): Use it.
487
488 1999-12-14  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
489
490         * mime-view.el (mime-preview-inline): Avoid inheriting
491         text property.
492         (mime-preview-text): Ditto.
493         (mime-preview-type): Ditto.
494
495 1999-12-07  Yoshiki Hayashi  <t90553@mai.ecc.u-tokyo.ac.jp>
496
497         * mime-view.el (mime-preview-scroll-full-screen): New variable.
498         (mime-display-entiy): Fix attachment detection bug.
499
500 1999-12-06  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
501
502         * mime-view.el (mime-preview-buttonize): New function.
503         (mime-preview-unbuttionize): New function.
504
505 1999-12-06  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
506
507         * emy.texi: New file.
508
509 1999-12-06  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
510
511         * mime-view.el (mime-view-entity-type/subtype): New function
512         to workaround flim feature.
513
514 1999-12-06  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
515
516         * mime-view.el (mime-view-insert-entity-button): New optional
517         argument body-is-invisible.
518         (mime-display-entity): Use it.
519         (mime-view-button-place-alist): New variable.
520         (mime-view-entity-button-visible-p): Use it.
521
522 1999-12-05  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
523
524         * mime-view.el (mime-view-force-inline-types): New variable.
525         (mime-display-entity): Respect Content-Disposition type.
526         (mime-preview-condition): Treat unknown application subtype
527         as application/octet-stream.
528
529 1999-12-05  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
530
531         * mime-edit.el (mime-edit-attach-at-end-type): Changed
532         to use symbols instead of strings.
533
534 1999-12-04  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
535
536         * mime-view.el (mime-view-display): Always insert button
537         when body is not displayed.
538
539 1999-12-04  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
540
541         * mime-view.el (mime-display-text/x-rot13-47-48):
542         New function.
543
544 1999-12-03  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
545
546         * mime-view.el (mime-preview-text): Don't use DEFAULT
547         argument of read-coding-system. XEmacs 21.1 doesn't
548         accept that argument.
549
550 1999-11-29  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
551
552         * mime-edit.el (mime-edit-insert-file): Prompts for
553         content-disposition when verbose.
554         (mime-content-disposition-types): New variable.
555         (mime-prompt-for-disposition): New function
556
557 1999-11-29  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
558
559         * mime-view.el (mime-preview-type): New function.
560         (mim-display-entity): Use save-restriction instead of widen.
561
562 1999-11-28  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
563
564         * mime-edit.el (mime-edit-attach-at-end-type): New variable.
565         (mime-edit-insert-place): New macro.
566
567 1999-11-28  Yoshiki Hayashi  <t90553@mail.ecc.u-tokyo.ac.jp>
568
569         * mime-view.el (mime-preview-text): New function.
570         (mime-preview-inline): New function.
571         (mime-preview-type): New function.
572         (mime-display-entity): Handle a situation when body is invisible.