Based on PR 40021 by Makoto Fujiwara.
ChangeLog:
2007-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
* FLIM: Version 1.14.9 (Goj-Dò) released.-A
2006-12-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
* mime-def.el (mime-library-product): Update to 1.14.9.
2007-06-18 Wencheng Fang <wencheng.fang@spherenet.co.jp>
* mel.el (mime-write-decoded-region): Define method function that
uses built-in base64-decode-region. [cf. <emacs-mime-ja:02169>]
2006-12-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
* README.ja, README.en (Installation): Update required version of
APEL to 10.7 or later.
* FLIM-CFG (PACKAGEDIR): Use
`install-get-default-package-directory'.
2006-12-13 Katsumi Yamaoka <yamaoka@jpl.org>
* FLIM-CFG (PACKAGEDIR): Avoid an error with Emacs.
2006-12-12 Katsumi Yamaoka <yamaoka@jpl.org>
* FLIM-MK (compile-flim-package): Use
batch-update-directory-autoloads if it is available instead of
batch-update-directory.
2006-12-11 Katsumi Yamaoka <yamaoka@jpl.org>
* FLIM-CFG (PACKAGEDIR): Check for
(early|late|last)-package-hierarchies and configure-package-path
as well as (early|late|last)-packages.
2006-09-24 Daiki Ueno <ueno@unixuser.org>
* smtp.el (smtp-progress-message-format): Abolished; reverted the
change 2004-08-11 Katsumi Yamaoka <yamaoka@jpl.org>.
2006-09-24 Daiki Ueno <ueno@unixuser.org>
* smtp.el (smtp-end-of-line): Abolished; reverted the change
2002-07-24 Katsumi Yamaoka <yamaoka@jpl.org>.
2006-06-15 Yoichi NAKAYAMA <yoichi@geiin.org>
* smtp.el (smtp-submit-package): Ignore error in
`smtp-primitive-quit' where SMTP mail transaction is completed.
2006-06-12 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* mel-b-ccl.el (base64-ccl-insert-encoded-file): Use
`insert-file-contents-as-binary' instead of `insert-file-contents'.
* mel-q-ccl.el (quoted-printable-ccl-insert-encoded-file):
Likewise.
2006-02-18 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
* smtp.el (smtp-debug): New user option.
(smtp-read-response): Treat a line break code loosely. If
smtp-debug is non-nil, show an invalid response.
2005-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
* eword-decode.el: Change the way to decode successive
encoded-words: decode B- or Q-encoding in each encoded-word,
concatenate them, and decode it as charset. See the following
threads for more information:
http://news.gmane.org/group/gmane.emacs.pretest.bugs/thread=9541http://news.gmane.org/group/gmane.emacs.gnus.general/thread=61176
(eword-decode-allow-incomplete-encoded-text): New variable.
(eword-decode-encoded-words): New function.
(eword-decode-string): Use it.
(eword-decode-region): Use it.
(eword-analyze-encoded-word): Use it.
(eword-decode-encoded-word): Abolish.
(eword-decode-encoded-text): Abolish.
(eword-decode-encoded-word-error-handler): Abolish.
(eword-warning-face): Abolish.
(eword-decode-encoded-word-default-error-handler): Abolish.
2005-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
* FLIM: Version 1.14.8 (Shij-Dò) released.-A
2005-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
* mime-def.el (mime-library-product): Update to 1.14.8.
2005-11-13 Yoichi NAKAYAMA <yoichi@geiin.org>
* std11.el (std11-addr-to-string): Reconstruct domain literal.
From Yuuichi Teranishi [cf. <emacs-mime-ja:01956>]
2005-07-25 Daiki Ueno <ueno@unixuser.org>
* smtp.el (smtp-read-response): Signal an error if connection is
closed while reading response. From Hiroya Murata
<lapis-lazuli@pop06.odn.ne.jp> [cf. <emacs-mime-ja:01978>]
2004-11-20 Daiki Ueno <ueno@unixuser.org>
* ntlm.el (ntlm-ascii2unicode): Don't apply zerop to a character.
(ntlm-smb-hash): Ditto.
created or not. Packages that include other ELP's buildlink3.mk must define
EMACS_BUILDLINK. Other packages don't create wrappers, which reduces build
time a lot.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users. Be DEPENDS to it. This should
address pkg/37146 by Aleksey Cheusov.
While here convert some emacs lisp packages to user-destdir.
location for both emacs and xemacs.
* List the info files directly in the PLIST.
* Use EMACS_MODULES to deal with a possible xemacs-packages dependency.
makeinfo if no native makeinfo executable exists. Honor TEXINFO_REQD
when determining whether the native makeinfo can be used.
* Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo.
* Get rid of all the "split" argument deduction for makeinfo since
the PLIST module already handles varying numbers of split info files
correctly.
NOTE: Platforms that have "makeinfo" in the base system should check
that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are
correct.
Changes:
* mime-en.sgml, mime-ja.sgml (CVS based development): Remove the
description about developers' pserver access.
* sha1-dl.el: Don't provide the sha1-dl feature twice.
(sha1-region): Allow the optional argument `binary'.
(sha1): Ditto.
* smtp.el (smtp-parse-progress-message-format): Fix regexp usage.
* smtp.el (smtp-progress-message-format): New user option.
(smtp-primitive-data): Show progress message.
(smtp-parse-progress-message-format): New function.
(smtp-show-progress-message): New function.
(smtp-deduce-address-list): Use insert instead of insert-string.
* mel-g.el (gzip64-external-encoder): Change default value to
cause more recognizable error.
(gzip64-external-decoder): Ditto.
* std11.el (std11-parse-word-or-comment-or-period): Renamed from
`std11-parse-word-or-comment' and allow period.
(std11-parse-phrase): Allow parsing obs-phrase in rfc2822.
* mime-conf.el (mime-format-mailcap-command): Quote a file name
which may contain spaces using `shell-quote-argument' in order to
pass it to the shell safely.
* eword-encode.el (mime-encode-header-in-buffer): Don't ignore a
space char at the beginning of a field body in order to honor the
76-column rule which is described in RFC 2047 section 2.
* eword-decode.el (eword-decode-encoded-text): Fix bug when
`must-unfold' is specified; eliminate CR too when `must-unfold' is
specified.
* mel-u.el (mime-write-decoded-region): Use make-temp-file.
(uuencode-external-decode-region): Ditto.
* mel-u.el (mime-write-decoded-region): Use temporary filename.
* sha1-el.el (sha1-maximum-internal-length): Doc fix.
* lunit.el (lunit-make-test-suite-from-class): Fix regexp.
Use "^test" instead of "^test-".
* lunit.el (lunit-assert): Avoid double-eval `condtion-expr'.
Use ,(not (not condition)) instead of ,condition.
* lunit.el (lunit-make-test-suite-from-class): Restrict test
method name to test-*.
* smtp.el (smtp-starttls-program): New user option.
(smtp-starttls-extra-args): New user option.
(smtp-send-buffer): Bind starttls-program and starttls-extra-args.
* mel-q.el (quoted-printable-external-decoder-option-to-specify-file):
Accept nil.
(mime-write-decoded-region): If the value of the variable
`quoted-printable-external-decoder-option-to-specify-file' is nil,
write stdout to the output file.
* mel-b-el.el (base64-external-decoder-option-to-specify-file):
Accept nil.
(base64-write-decoded-region): If the value of the variable
`base64-external-decoder-option-to-specify-file' is nil, write
stdout to the output file.
* sasl.texi: Texinfo markup fixes. From Jesper Harder
<harder@ifa.au.dk>.
* sha1-el.el (sha1-string-external): Use with-temp-buffer.
* sha1-el.el (sha1-string-external): Make it can return a string
in binary form.
(sha1-region-external): Ditto.
(sha1-string-internal): Ditto.
(sha1-region-internal): Ditto.
(sha1-region): Ditto.
(sha1-string): Ditto.
(sha1): Ditto.
* sha1-el.el (autoload): Don't use ignore-errors.
(sha1-use-external): Use condition-case. Suggested by Katsumi
Yamaoka <yamaoka@jpl.org>.
* sha1-el.el (autoload): Ignore errors for
executable-find. (XEmacs ecrypto does not require sh-script where
executable.el is located.)
(sha1-use-external): Likewise.
* sha1-el.el (sha1): Add defgroup.
(sha1-maximum-internal-length, sha1-program, sha1-use-external)
(sha1-program): Use 'sha1sum' from GNU CoreUtils instead of OpenSSL.
(sha1): Autoload.
* sha1-el.el (sha1-use-external): New variable.
(sha1-region): Use it.
(sha1-string): Ditto.
* ntlm.el (ntlm-string-as-unibyte): New macro.
(ntlm-build-auth-response): Use it.
* ntlm.el: Fix namespace. Change smb-passwd-hash into
ntlm-smb-passwd-hash, smb-owf-encrypt into ntlm-smb-owf-encrypt,
smb-passwd-hash into ntlm-smb-passwd-hash, smbdes-e-p16 into
ntlm-smb-des-e-p16, smbdes-e-p24 into ntlm-smb-des-e-p24, smbhash
into ntlm-smb-hash, smb-sp8 into ntlm-smb-sp8, smb-str-to-key into
ntlm-smb-str-to-key, smb-dohash into ntlm-smb-dohash, smb-perm1
into ntlm-smb-perm1, smb-perm2 into ntlm-smb-perm2, smb-perm3 into
ntlm-smb-perm3, smb-perm4 into ntlm-smb-perm4, smb-perm5 into
ntlm-smb-perm5, smb-perm6 into ntlm-smb-perm6, smb-sc into
ntlm-smb-sc, smb-sbox into ntlm-smb-sbox, string-permute into
ntlm-string-permute, string-lshift into ntlm-string-lshift,
string-xor into ntlm-string-xor. Suggested by
Jesper Harder <harder@myrealbox.com>.
* ntlm.el: Don't include poem.
* md4.el (print-int32, print-string-hexa): Remove. Suggested by
Jesper Harder <harder@myrealbox.com>.
Changes:
* mime-def.el (mime-header-accept-quoted-encoded-words): Change
default value to nil.
* eword-decode.el (eword-analyze-quoted-string): Decode
quoted-encoded-words when
`mime-header-accept-quoted-encoded-words' is not nil.
* mime.el (mime-entity-filename): Decode quoted-encoded-words when
`mime-header-accept-quoted-encoded-words' is not nil.
* mime-def.el (mime-header-accept-quoted-encoded-words): New user
option.
* eword-encode.el (mime-header-charset-encoding-alist): Add
entry for iso-8859-1[45].
* FLIM-ELS (flim-modules): Install mel-b-el also for
mel-b-builtin case. (from Tatsuya Kinoshita)
* eword-encode.el (tm-eword::words-to-ruled-words): New
implementation for UTF-2000 implementations.
Changes from 1.14.4:
* smtp.el (smtp-send-buffer): Error if `smtp-server' is nil.
* FLIM-ELS (flim-version-specific-modules): Don't install mailcap.el.
* FLIM-MK (install-flim): Avoid creating empty directory.
* mime-parse.el (mime-parse-buffer): Require mmbuffer.
* luna.el (luna-define-method): Clear method cache of child
classes.
* mime-ja.texi (CVS): Escape @.
* luna.el (luna-define-method): Fix the bug that method cache is
not cleard.
* mime-en.texi (CVS): Fix Typo. (@ to @@).
mime-ja.texi (CVS): Ditto.
* std11.el: Update Copyright header.
* std11.el (std11-non-atom-regexp): New constant.
(std11-analyze-atom): New implementation to avoid error in current
XEmacs UTF-2000 [may be caused by a bug about regexp].
* smtp.el (smtp-open-connection-function): Add doc.
(smtp-end-of-line): Doc fix.
* smtp.el (smtp-end-of-line): New variable.
(smtp-read-response): Use it.
(smtp-send-command): Use it.
(smtp-send-data): Use it.
FLIM: Version 1.14.3
Merged MIME Parameter Value decoder.
* mime-parse.el (mime-decode-parameter-value): Use one temporary
buffer.
* eword-decode.el (eword-encoded-word-regexp): Match for language.
* mime-def.el (mime-charset-regexp): Updated for RFC2231.
* mime-parse.el (mime-decode-parameter-value): New
implementation; use temporary buffer for conversion.
* test/test-rfc2231.el (test-rfc2231-10, test-rfc2231-11,
test-rfc2231-12): New testcases for language info.
* mime-def.el (mime-content-type-parameter): Expand
`mime-content-type-parameters'.
* test/test-rfc2231.el: Made independent of internal
representation of Content-Type.
* FLIM-MK (check-flim): Limit filename of test files.
* test/test-rfc2231.el: New file.
* mime-parse.el (mime-decode-parameter-plist): Shortcut for
parameters without extensions.
* mime-def.el (make-mime-content-type): Don't reverse parameters.
(make-mime-content-disposition): New function.
(mime-decode-parameter-encode-segment): New function.
(mime-decode-parameter-plist): New implementation.
Switched from decode-then-concat to concat-then-decode model.
* lunit.el (lunit-test-listener-*): Abolish generic interface.
(lunit-test-result-notify): New function.
(lunit-create-index-function): New function.
* mel-b-dl.el: Don't do `dynamic-call' at compile-time.
(base64-dl-handle): Don't eval at compile-time.
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.
(hmac-md5-96): New function.
(hmac-sha1-96): New function.
* mime.el (mime-find-root-entity): Find root recursively.
MIME Parameter Value decoder support.
* mime-parse.el (mime-lexical-analyze): New function.
(mime-decode-parameter-value, mime-decode-parameter-plist,
mime-parse-alist-to-plist, mime-decode-parameter-alist):
New functions.
(mime-parse-parameters): New function.
(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.