Merge flim-1_14-rfc2231.
[elisp/flim.git] / ChangeLog
index 762590e..0488c4c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,417 @@
+2001-05-31  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       Merged MIME Parameter Value decoder.
+
+       * mime-parse.el (mime-decode-parameters): Renamed from
+       `mime-decode-parameter-plist'.
+       (mime-decode-parameter-alist): Removed.
+       (mime-decode-alist-to-plist): Ditto.
+
+       * FLIM-API.en (mime-entity-encoding): Abolish optional argument
+       `default-encoding'.
+       (mime-parse-Content-Tranfer-Encoding): Ditto.
+
+2001-05-02  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * eword-decode.el (eword-decode-encoded-word): Don't use `let'.
+
+       * mime-parse.el (mime-decode-parameter-plist): Modified
+       description of return value.
+       (mime-parse-Content-Type): Ditto.
+       (mime-read-Content-Type): Ditto.
+       (mime-parse-Content-Disposition): Ditto.
+       (mime-read-Content-Disposition): Ditto.
+       (mime-parse-Content-Transfer-Encoding): Ditto.
+       (mime-read-Content-Transfer-Encoding): Ditto.
+
+2001-05-01  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-parse.el (mime-parse-parameters): Don't use `equal' for
+       strings.
+       (mime-parse-Content-Type): Ditto.
+
+2001-04-30  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-parse.el (mime-decode-parameter-value): Use one temporary
+       buffer.
+       (mime-decode-parameter-plist): Changed internal data structure.
+
+2001-04-28  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * eword-decode.el (eword-encoded-word-regexp): Match for language.
+       (eword-decode-region): Refer the 7th parens, not 6th.
+       (eword-decode-encoded-word): Extract language information.
+       (eword-decode-encoded-text): New optional argument `language'.
+
+       * mime-def.el (mime-charset-regexp): Updated for RFC2231.
+
+       * mime-parse.el (mime-decode-parameter-plist): Fix regexp.
+       Use symbol for language information.
+
+       * tests/test-rfc2231.el: Renamed all testcases.
+
+2001-04-27  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-parse.el (mime-decode-parameter-value): Don't use
+       `int-char'.
+
+2001-04-27  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime.el (mime-entity-read-field): Would capitalize twice.
+
+       * mmbuffer.el (mime-entity-fetch-field): Ditto.
+
+       * mmexternal.el (mime-entity-fetch-field): Ditto.
+
+       * mmgeneric.el (mime-entity-fetch-field): Ditto.
+
+2001-04-26  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-parse.el (mime-decode-parameter-plist): Modified
+       description of return value.
+       (mime-parse-Content-Type): Ditto.
+       (mime-read-Content-Type): Ditto.
+       (mime-parse-Content-Disposition): Ditto.
+       (mime-read-Content-Disposition): Ditto.
+       (mime-read-Content-Transfer-Encoding): Ditto.
+
+2001-04-25  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-parse.el (mime-lexical-analyze): Removed comments.
+
+2001-04-22  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-parse.el (mime-decode-parameter-value): New
+       implementation; use temporary buffer for conversion.
+       (mime-decode-parameter-encode-segment): Ditto.
+       (mime-decode-parameter-plist): Would put empty language info.
+
+       * test/test-rfc2231.el (test-rfc2231-10, test-rfc2231-11,
+       test-rfc2231-12): New testcases for language info.
+
+2001-04-22  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-parse.el: Fixed comments.
+
+       * test/test-rfc2231.el (test-rfc2231-9): New testcase.
+
+2001-04-22  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * test/test-rfc2231.el (test-rfc2231-7, test-rfc2231-8):
+       New testcases.
+
+2001-04-22  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-def.el (mime-content-type-parameter): Expand
+       `mime-content-type-parameters'.
+
+       * mime-parse.el (mime-parse-Content-Disposition): Add
+       description of return value to the docstring.
+       (mime-parse-Content-Transfer-Encoding): Ditto.
+
+       * test/test-rfc2231.el: Made independent of internal
+       representation of Content-Type.
+
+2001-04-22  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * FLIM-MK (check-flim): Limit filename of test files.
+
+       * test/test-rfc2231.el: New file.
+
+2001-04-19  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-parse.el (mime-decode-parameter-plist): Shortcut for
+       parameters without extensions.
+
+2001-04-19  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-def.el (make-mime-content-type): Don't reverse parameters.
+       (make-mime-content-disposition): New function.
+
+       * mime-parse.el (mime-decode-parameter-value): Removed comments.
+       (mime-decode-parameter-encode-segment): New function.
+       (mime-decode-parameter-plist): New implementation.
+       Switched from decode-then-concat to concat-then-decode model.
+       (mime-parse-parameters): Strip quoted-pair in quoted-string.
+       (mime-parse-Content-Type): Use `make-mime-content-type'.
+       (mime-parse-Content-Disposition): Use
+       `make-mime-content-disposition'.
+
+2001-04-15  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * eword-decode.el (eword-lexical-analyze-internal):
+       Fix typo. [cf. <emacs-mime-ja:00425>]
+
+2001-04-11  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-parse.el (mime-decode-parameter-value): Allow lowercase.
+       (mime-decode-parameter-plist): Ditto.
+
+2001-04-10  Akihiro Arisawa  <ari@mbf.sphere.ne.jp>
+
+       * std11.el (std11-lexical-analyze): Fix typo.
+
+2001-04-01   Daiki Ueno  <ueno@unixuser.org>
+
+       * lunit.el (lunit-test-listener-*): Abolish generic interface.
+       (lunit-test-result-notify): New function.
+       (lunit-test-result-run): Use it.
+       (lunit-test-result-error): Use it.
+       (lunit-test-result-failure): Use it.
+       (lunit-create-index-function): New function.
+       (lunit-generate-template): New command.
+
+2001-03-19  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * hmac-md5.el, hmac-sha1.el: Revert to load-time check.
+       Don't require 'poe.
+
+2001-03-18  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mel-b-dl.el: Don't do `dynamic-call' at compile-time.
+       (base64-dl-handle): Don't eval at compile-time.
+
+2001-03-18  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * hmac-md5.el, sha1.el: Update Copyright header.
+
+2001-03-18  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       Support for built-in `md5' of Emacs 21.
+
+       * md5.el (md5-dl-module): Moved from md5-dl.el.
+       Use it for test whether to require 'md5-dl.
+
+       * md5-dl.el: Removed hack for compiler.
+       (md5-dl-handle): Do `dynamic-link' unconditionally.
+       (md5-region): Not interactive.
+       (md5): Removed autoload cookie.
+
+       * sha1.el: Removed hack for compiler.
+       Use `sha1-dl-module' for test whether to require 'sha1-dl.
+       (sha1-encode, sha1-encode-binary): Removed compatibility code
+       for another sha1.el since it was broken.
+
+       * sha1-dl.el: Removed hack for compiler.
+       (sha1-dl-handle): Do `dynamic-link' unconditionally.
+
+2001-03-18  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * hmac-md5.el: Require 'poe.
+       Provide 'md5 if built-in `md5' is found.
+       (md5-binary): Define with `defun-maybe-cond'.
+       (md5-binary) [v21]: Removed extra arguments.
+       (hmac-md5-96): New function.
+
+       * hmac-sha1.el: Require 'poe.
+       (sha1-binary): Define with `defun-maybe'.
+       (hmac-sha1-96): New function.
+
+2001-03-11  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mel-g.el: Update Copyright header.
+
+2001-03-09  Akihiro Arisawa  <ari@atesoft.advantest.co.jp>
+
+       * mime.el (mime-find-root-entity): Find root recursively.
+
+2001-02-26  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * hmac-md5.el, hmac-sha1.el: Modify comments.
+
+2001-02-25  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * hex-util.el, hmac-def.el, hmac-md5.el, hmac-sha1.el,
+       md5-dl.el, md5.el, sha1-dl.el, sha1-el.el, sha1.el:
+       Update Copyright header.
+
+2001-02-28  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-parse.el (mime-decode-parameter-plist,
+       mime-decode-parameter-alist, mime-decode-parameters):
+       Add doc string.
+
+2001-02-28  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * mime-parse.el (mime-decode-parameter-value): Decode MIME charset
+       in multibyte buffer. [cf. <emacs-mime-ja:00817>]
+       (mime-decode-parameter-plist): Downcase attributes.
+       [cf. <emacs-mime-ja:00816>]
+       (mime-decode-parameters): Alias for `mime-decode-parameter-plist'
+       instead of `mime-decode-parameter-alist'.
+       Add autoload cookie.
+       (mime-parse-parameters-from-list): Make obsolete.
+       (mime-parse-parameters): Return results as a plist.
+       (mime-parse-Content-Type, mime-read-Content-Type): Moved type check
+       to the caller side.
+       (mime-parse-Content-Disposition, mime-read-Content-Disposition):
+       Ditto.
+       (mime-parse-Content-Transfer-Encoding,
+       mime-read-Content-Transfer-Encoding): Ditto.
+
+2001-02-27  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       MIME Parameter Value decoder support.
+       
+       * mime-def.el (std11-quoted-pair-regexp, std11-non-qtext-char-list,
+       std11-qtext-regexp, std11-quoted-string-regexp): Removed.
+       (mime-media-type/subtype-regexp): Ditto.
+       (mime-attribute-char-regexp, mime-language-regexp,
+       mime-encoding-regexp): New constants.
+
+       * mime-parse.el (mime-lexical-analyze): New function.
+       (mime/content-parameter-value-regexp, mime::parameter-regexp):
+       Removed.
+       (mime-parse-parameter): Ditto.
+       (mime-decode-parameter-value, mime-decode-parameter-plist,
+       mime-parse-alist-to-plist, mime-decode-parameter-alist):
+       New functions.
+       (mime-parse-parameters-from-list): New alias for
+       `mime-decode-parameter-plist'.
+       (mime-decode-parameters): New alias for
+       `mime-decode-parameter-alist'.
+       (mime-parse-parameters): New function.
+       (mime-disposition-type-regexp): Removed.
+       (mime-parse-Content-Type, mime-parse-Content-Disposition,
+       mime-parse-Content-Transfer-Encoding): New implementation.
+       (mime-read-Content-Type, mime-read-Content-Disposition,
+       mime-read-Content-Transfer-Encoding): Ditto.
+       
+2001-02-26  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * hmac-md5.el, hmac-sha1.el: Modify comments.
+
+2001-02-25  Shuhei KOBAYASHI  <shuhei@aqua.ocn.ne.jp>
+
+       * hex-util.el, hmac-def.el, hmac-md5.el, hmac-sha1.el,
+       md5-dl.el, md5.el, sha1-dl.el, sha1-el.el, sha1.el:
+       Update Copyright header.
+
+2000-12-27  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * mime-conf.el (mime-mailcap-file): Turn to non user option.
+
+\f
+2000-12-25  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * FLIM: Version 1.14.2 (Yagi-Nishiguchi) released.
+
+2000-12-23  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * smtpmail.el (smtpmail-send-it): Use
+       `binary-write-decoded-region' instead of `binary-write-region'.
+
+       * mmexternal.el (mmexternal-require-buffer): Use
+       `binary-insert-encoded-file' instead of
+       `binary-insert-file-contents'.
+       (mime-write-entity-body): Use `binary-write-decoded-region'
+       instead of `binary-write-region'.
+
+       * mmbuffer.el (mime-write-entity-body): Use
+       `binary-write-decoded-region' instead of `binary-write-region'.
+
+       * mel.el: - Don't require `raw-io'.
+       (8bit-insert-encoded-file): New function.
+       (8bit-write-decoded-region): New function.
+       (7bit-insert-encoded-file): New alias.
+       (7bit-write-decoded-region): New alias.
+       (binary-insert-encoded-file): New alias.
+       (binary-find-file-noselect): New function.
+       (binary-funcall): New function.
+       (binary-to-text-funcall): New function.
+       (mime-insert-encoded-file of "base64"): Use
+       `binary-insert-encoded-file' instead of
+       `binary-insert-file-contents'.
+
+       * FLIM-API.en (base64-decode-string): New function.
+       (base64-encode-string): New function.
+       (ENCODING-write-decoded-region): New function.
+       (ENCODING-insert-encoded-file): New function.
+
+       * raw-io.el: Deleted.
+
+       * FLIM-ELS (flim-modules): Delete `raw-io'.
+
+2000-12-22  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * smtp.el (smtp-open-connection-function): Revert initial value to
+       `open-network-stream'.
+       (qmtp-open-connection): Use `binary-funcall'.
+
+       * qmtp.el (qmtp-open-connection-function): Revert initial value to
+       `open-network-stream'.
+       (qmtp-send-buffer): Use `binary-funcall'.
+       
+2000-12-23  OKAZAKI Tetsurou  <okazaki@be.to>
+
+       * FLIM-ELS (flim-modules): Delete `mmdbuffer'.
+
+\f
+2000-12-22  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * FLIM: Version 1.14.1 (Yagi) released.
+
+2000-12-22  Keiichi Suzuki  <keiichi@mdcnet.co.jp>
+
+       * mel-q.el: Require `poem' for `string-to-char-list' when
+       compiling.
+
+2000-12-22  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * eword-decode.el (eword-decode-header): Revert to obsolete alias.
+
+2000-12-22  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * mmgeneric.el: Add comment for eword-decode.
+
+2000-12-21  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * mailcap.el: Require `poe' for `define-obsolete-function-alias'.
+
+2000-12-21   Daiki Ueno  <ueno@unixuser.org>
+
+       * smtp.el (smtp-send-buffer): Add DOC.
+       (smtp-via-smtp): Add DOC.
+
+       * FLIM-API.en (QMTP): Remove section.
+       (smtp-send-buffer): Add description.
+       (smtp-via-smtp): Likewise.
+
+\f
+2000-12-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * FLIM: Version 1.14.0 (Ninokuchi) released.
+
+       * mime.el (mime-entity-media-type): Add DOC.
+       (mime-entity-media-subtype): Add DOC.
+       (mime-entity-parameters): Add DOC.
+       (mime-entity-type/subtype): Add DOC.
+
+       * FLIM-API.en: Add some usages.
+       (mime-entity-media-type): New description.
+       (mime-entity-media-subtype): Likewise.
+       (mime-entity-type/subtype): Likewise.
+       (mime-entity-parameters): Likewise.
+
+2000-12-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * eword-encode.el (eword-encode-text): Specify `mode' of
+       `encoded-text-encode-string'.
+
+       * mel.el (encoded-text-encode-string): Add optional argument
+       `mode'; use `base64-encode-string' directly for "B"-encoding.
+
+2000-12-20  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
+
+       * FLIM-API.en: Renamed from FLIM-1.14-API.en; reordered and add
+       some sections.
+
+       * mime.el (mime-entity-set-content-type): Add DOC.
+       (mime-entity-set-encoding): Add DOC.
+
+       * mime-def.el (mime-content-type-subtype): Fix DOC.
+       (mime-content-type-parameters): Fix DOC.
+
 2000-12-19  MORIOKA Tomohiko  <tomo@kanji.zinbun.kyoto-u.ac.jp>
 
        * FLIM-1.14-API.en: New file.