* mml-sec.el (mml-secure-cust-record-keys): Make gnus-union use `equal' to compare items in lists.
Apply patch by Katsumi Yamaoka <yamaoka@jpl.org>
Refactor mml-smime.el, mml1991.el, mml2015.el Cf. discussion on ding mailing list, messages on 2015-10-16 and 2015-11-07. Common code from the three files mml-smime.el, mml1991.el, and mml2015.el is moved to mml-sec.el. Auxiliary functions are added to gnus-util.el. The code is supported by test cases with necessary test keys. Documentation in message.texi is updated.
Update copyright year to 2016
mml-sec.el (mml-secure-bcc-is-safe): Keep old Emacsen compatibility * mml-sec.el (mml-secure-bcc-is-safe): Don't use split-string with 4th arg for old Emacsen compatibility.
Identify unsafe combinations of Bcc and encryption * gnus-util.el (gnus-subsetp): New function. * mml-sec.el: Fix warnings by adding autoloads (bug#18718). (mml-secure-safe-bcc-list): New variable. (mml-secure-is-encrypted-p, mml-secure-bcc-is-safe): New functions.
Update copyright year to 2015
Update copyright year to 2014
Update copyright notices for 2013
Add 2012 to FSF copyright years for Emacs files.
Convert consecutive FSF copyright years to ranges.
Add 2011 to FSF/AIST copyright years.
Remove arch-tags from all files, since these are no longer needed.
(mml-secure-message-sign): Fix cut and paste error.
Synch with Emacs trunk ====================== 2010-03-23 Katsumi Yamaoka <yamaoka@jpl.org> * gnus-art.el (canlock-verify): Autoload it for Emacs 21. * message.el (ecomplete-setup): Autoload it for Emacs <23. * mml-sec.el (mml-secure-cache-passphrase): Default to t that is password-cache's default if it is not bound. (mml-secure-passphrase-cache-expiry): Default to 16 that is password-cache-expiry's default if it is not bound. * pop3.el (pop3-list): Don't use 3rd arg of `split-string' which is not available in Emacs 21. * lpath.el: Suppress compiler warnings for: canlock-insert-header and smtpmail-default-smtp-server for Emacs 21 and XEmacs; ecomplete-add-item, ecomplete-save, hashcash-wait-async, mail-add-payment, mail-add-payment-async, netrc-get, netrc-machine, netrc-machine-user-or-password and netrc-parse for Emacs 22 and XEmacs. 2010-03-19 Michael Albinus <michael.albinus@gmx.de> * auth-source.el (netrc-machine-user-or-password): Autoload. 2010-03-19 Glenn Morris <rgm@gnu.org> Stop message.el from loading about 40 libraries it doesn't always need. The general approach is to autoload rather than require, and to require in the specific functions rather than the file. (Bug#5642) * gmm-utils.el: Don't require wid-edit. (widget-create-child-value, widget-convert, widget-default-get): Autoload. * gnus-util.el: Don't require time-date, netrc. (message-fetch-field, gnus-group-name-decode): Declare rather than autoloading. (gnus-fetch-field): Require message. (gnus-decode-newsgroups): Require gnus-group. * ietf-drums.el: Don't require time-date. * message.el: Don't require hashcash, canlock, ecomplete. Do require mail-utils. Require nnheader only when compiling. (smtpmail-default-smtp-server): Remove declaration. (message-send-mail-function): Check smtpmail-default-smtp-server is bound rather than requiring smtpmail. (message-auto-save-directory, message-insert-signature): Use expand-file-name rather than nnheader-concat. (nnheader-insert-file-contents): Autoload. (hashcash-wait-async): Declare. (message-send-mail): Only call gnus-setup-posting-charset if gnus-group-posting-charset-alist is bound. Require hashcash if needed. (message-send-mail-with-sendmail): Require sendmail. (canlock-password, canlock-password-for-verify): Declare. (message-canlock-password): Require canlock. (nnheader-get-report): Autoload. (gnus-setup-posting-charset): Declare. (message-send-news): Require gnus-msg. (message-make-references, message-make-in-reply-to): Use mail-header-id rather than the alias mail-header-message-id. (ecomplete-add-item, ecomplete-save): Declare. (message-put-addresses-in-ecomplete): Require ecomplete. (ecomplete-display-matches): Autoload. * mm-decode.el: Don't require mailcap, gnus-util. (gnus-map-function, gnus-replace-in-string, gnus-read-shell-command) (message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info): Autoload. (mailcap-mime-extensions): Declare. * mm-encode.el: Don't require mailcap. (mailcap-extension-to-mime): Autoload. * mml-sec.el: Don't require password-cache. * mml.el (gnus-setup-posting-charset): Declare rather than autoload. (mailcap-parse-mimetypes, mailcap-mime-types): Declare. (mml-minibuffer-read-type): Require mailcap. (mml-preview): Require gnus-msg. * mml1991.el: Require password-cache. (password-cache-expiry): Remove declaration. * mml2015.el: Require password-cache. (password-cache-expiry): Remove declaration. * nneething.el (mailcap): Require mailcap. * nnheader.el: (declare-function): Add compatibility stub. (message-remove-header): Declare rather than autoload. (nnheader-replace-header): Require message. * nnimap.el (declare-function): Add compatibility stub. (netrc-parse, netrc-machine-user-or-password): Declare. (nnimap-open-connection): Require netrc. * nntp.el (declare-function): Add compatibility stub. (netrc-parse, netrc-machine, netrc-get): Declare. (nntp-send-authinfo): Require netrc. * rfc2047.el: Don't require qp. (quoted-printable-encode-region, quoted-printable-decode-string): Autoload. * sieve-mode.el: Don't require easymenu. (easy-menu-add-item): Autoload it. * spam-stat.el (time-to-number-of-days): Autoload it. 2010-03-19 Glenn Morris <rgm@gnu.org> * password-cache.el (password-cache, password-cache-expiry): Autoload.
Add 2010 to copyright years.
Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 1506-1507, 1512-1513, 1515, 1517, 1519-1520) - Update from CVS - Merge from gnus--devo--0 2009-01-06 Tassilo Horn <tassilo@member.fsf.org> * lisp/gnus-art.el (gnus-treat-display-face): Fix docstring link to point to `(gnus)Face', not `(gnus)X-Face'. 2009-01-03 Michael Olson <mwolson@gnu.org> * lisp/nnimap.el (nnimap-retrieve-headers-progress): Handle edge case where `headers' is nil. This can occur if the IMAP server does not have permissions to read messages from a folder, but can write new messages to the folder. (nnimap-request-article-part): Do not insert `data' if it is nil. * lisp/imap.el (imap-parse-fetch): Courier can insert spurious blank characters which will confuse `read', so skip past them. Revision: emacs@sv.gnu.org/gnus--devo--0--patch-574
Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 1144-1145, 1147, 1149, 1151, 1153, 1161, 1163, 1165, 1167-1168) - Update from CVS - Merge from gnus--devo--0 2008-05-19 Teodor Zlatanov <tzz@lifelogs.com> * contrib/mail/smtpmail.el: Add autoload for `auth-source-user-or-password'. (smtpmail-try-auth-methods): Use it. 2008-05-08 Stefan Monnier <monnier@iro.umontreal.ca> * lisp/rfc2104.el (rfc2104-hexstring-to-bitstring): Rename it back from rfc2104-hexstring-to-byte-list. Return a unibyte string. (rfc2104-hash): Use it. 2008-05-08 Juanma Barranquero <lekktu@gmail.com> * lisp/gnus-art.el (gnus-article-toggle-truncate-lines): Don't use `iff' in docstring. Revision: emacs@sv.gnu.org/gnus--devo--0--patch-497
Merge from emacs--devo--0, emacs--rel--22 Patches applied: * emacs--devo--0 (patch 1092-1093, 1095, 1097, 1099-1104, 1106, 1108, 1110, 1113, 1118-1119, 1121) - Update from CVS - Merge from emacs--rel--22 - Merge from gnus--devo--0 * emacs--rel--22 (patch 241-243, 245-246, 249, 254) - Update from CVS - Merge from gnus--rel--5.10 2008-04-22 Juri Linkov <juri@jurta.org> * lisp/mailcap.el (mailcap-file-default-commands): New function. 2008-04-08 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/compface.el (uncompface): Make buffer unibyte. 2008-04-05 Glenn Morris <rgm@gnu.org> * lisp/gnus-ems.el (mm-disable-multibyte): Autoload it. 2008-04-05 Stefan Monnier <monnier@iro.umontreal.ca> * lisp/mm-util.el (mm-with-unibyte-buffer, mm-with-multibyte-buffer): Prefer mm-(en|dis)able-multibyte to default-enable-multibyte-characters. * lisp/nnheader.el (nnheader-init-server-buffer): Change buffer's multibyteness after rather than before erasing it. * lisp/gnus-art.el (gnus-mime-replace-part): Remove unnecessary use of mm-with-multibyte. (gnus-request-article-this-buffer): Make sure the proper decoding is used if gnus-original-article-buffer happens to be unibyte. * lisp/gnus-ems.el (gnus-x-splash): Prefer mm-disable-multibyte to default-enable-multibyte-characters. * lisp/gnus-fun.el (gnus-display-x-face-in-from): Remove unnecessary use of default-enable-multibyte-characters. * lisp/mm-decode.el (mm-inline-media-tests): Add entry for x-diff. * lisp/nnweb.el (nnweb-init): Avoid nn-with-unibyte. 2008-03-31 Glenn Morris <rgm@gnu.org> * lisp/message.el (mml2015-use): Declare for compiler. (message-info): Require mml2015 when appropriate. 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca> * lisp/nntp.el (nntp-netcat-command): Rename from nntp-via-netcat-command. (nntp-netcat-switches): Rename from nntp-via-netcat-switches. (nntp-open-telnet, nntp-open-rlogin): Use with-current-buffer. (nntp-service-to-port): New function. (nntp-open-via-rlogin-and-netcat, nntp-open-via-telnet-and-telnet) (nntp-open-telnet-stream, nntp-open-via-rlogin-and-telnet): Use it. (nntp-open-netcat-stream): New function. (nntp-open-via-rlogin-and-netcat): Don't use a pty. 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca> * lisp/message.el (message-make-in-reply-to): Use mm-with-multibyte-buffer. 2008-03-28 Magnus Henoch <mange@freemail.hu> * lisp/net/dns.el (dns-write): Use set-buffer-multibyte. 2008-03-14 Stefan Monnier <monnier@iro.umontreal.ca> * texi/gnus.texi (Example Methods, Direct Functions, Indirect Functions) (Common Variables): Give precedence to the netcat methods over the telnet methods, and mention that they are more reliable. Revision: emacs@sv.gnu.org/gnus--devo--0--patch-481
Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 983-985, 987-988, 992, 997, 1001) - Update from CVS - Merge from gnus--devo--0 - Merge from emacs--rel--22 * emacs--rel--22 (patch 179-180) - Update from CVS Revision: emacs@sv.gnu.org/gnus--devo--0--patch-445