Synch with Emacs trunk
[gnus] / lisp / ChangeLog
index b4c3628..320c89f 100644 (file)
@@ -1,14 +1,36 @@
+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-23  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * auth-source.el (auth-sources): Fix up definition so extra parameters
        are always inline.
 
-2010-03-22  Martin Stjernholm <mast@lysator.liu.se>
+2010-03-22  Martin Stjernholm  <mast@lysator.liu.se>
 
        * nnimap.el (nnimap-verify-uidvalidity): Fixed bug where uidvalidity
        wasn't updated after mismatch.  Clear cached mailbox info correctly
        when uidvalidity changes.
-       (nnimap-group-prefixed-name): New function to avoid some code duplication.
+       (nnimap-group-prefixed-name): New function to avoid some code
+       duplication.
        (nnimap-verify-uidvalidity, nnimap-group-overview-filename)
        (nnimap-request-group): Use it.
        (nnimap-retrieve-groups, nnimap-verify-uidvalidity)
@@ -42,7 +64,7 @@
        (gnus-registry-install-shortcuts): Populate and use it in a
        `gnus-summary-menu-hook' lambda, under "Gnus"->"Registry Marks".
 
-2010-03-20  Martin Stjernholm <mast@lysator.liu.se>
+2010-03-20  Martin Stjernholm  <mast@lysator.liu.se>
 
        * nnimap.el (nnimap-decode-group-name, nnimap-encode-group-name):
        In-place substitutions for the group name encoding/decoding.
        * gnus-agent.el (gnus-agent-fetch-articles, gnus-agent-fetch-headers)
        (gnus-agent-regenerate-group): Use `gnus-agent-decoded-group-name'.
 
-2010-03-20  Bojan Petrovic <bpetrovi@f.bg.ac.rs>
+2010-03-20  Bojan Petrovic  <bpetrovi@f.bg.ac.rs>
 
        * pop3.el (pop3-display-message-size-flag): Display message size byte
        counts during POP3 download.
        (pop3-movemail): Use it.
        (pop3-list): Implement listing of available messages.
 
-2010-03-20  Mark Triggs <mst@dishevelled.net> (tiny change)
+2010-03-20  Mark Triggs  <mst@dishevelled.net>  (tiny change)
 
        * nnir.el (nnir-get-article-nov-override-function): New function to
        override the normal NOV retrieval.
        (nnir-retrieve-headers): Use it.
 
+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.
+
 2010-03-18  Glenn Morris  <rgm@gnu.org>
 
        * hashcash.el (declare-function): Remove duplicate definition.