(auth-source-search): Only ask a single backend to create the credentials.
[gnus] / lisp / ChangeLog
index 7cb48a4..b7d4d00 100644 (file)
@@ -1,3 +1,171 @@
+2011-02-18  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * auth-source.el (auth-source-search): Don't try to create credentials
+       if the caller doesn't want that.
+       (auth-source-search): If we don't find a match, don't bug out on
+       non-bound variables.
+       (auth-source-search): Only ask a single backend to create the
+       credentials.
+
+       * nnimap.el (nnimap-log-command): Add a newline to the inhibited
+       logging.
+       (nnimap-credentials): Protect against auth-source-search returning nil.
+       (nnimap-request-list): Protect against not being able to open the
+       server.
+
+2011-02-17  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * auth-source.el (auth-source-search): Do a two-phase search, one with
+       no :create to get the responses from all backends.
+
+       * nnimap.el (nnimap-open-connection-1): Delete duplicate server names
+       when getting credentials.
+
+       * gnus-util.el (gnus-delete-duplicates): New function.
+
+2011-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * nnimap.el (nnimap-credentials): Instead of picking the first port as
+       a creation default, pass the whole port list down.  It will be
+       completed.
+
+       * auth-source.el (auth-source-search): Updated docs to talk about
+       multiple creation choices.
+       (auth-source-netrc-create): Accept a list as a value (from the search
+       parameters) and do completion on that list.  Keep a separate netrc line
+       with the password obscured for showing the user.
+
+       * nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the
+       first choice to `auth-source-search' so it will be used for entry
+       creation instead of the server's Gnus-specific name.
+       (nnimap-credentials): Rely on the auth-source library to select which
+       port is actually wanted in the new netrc entry, so don't override
+       `auth-source-creation-defaults'.
+
+       * auth-source.el (auth-source-netrc-parse): Use :port instead of
+       :protocol and accept a missing user, host, or port as a wildcard match.
+       (auth-source-debug): Default to off.
+
+       (auth-source-netrc-search, auth-source-netrc-create)
+       (auth-source-secrets-search, auth-source-secrets-create)
+       (auth-source-user-or-password, auth-source-backend, auth-sources)
+       (auth-source-backend-parse-parameters, auth-source-search): Use :port
+       instead of :protocol.
+
+       * nnimap.el (nnimap-credentials): Pass a port default to
+       `auth-source-search' in case an entry needs to be created.
+       (nnimap-open-connection-1): Use :port instead of :protocol.
+
+2011-02-17  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * auth-source.el: Bind load-path when loading EIEIO from
+       "gnus-fallback-lib/eieio"; don't pass more than two args, that XEmacs
+       21.4 doesn't support, to `require'.
+       (auth-source-secrets-search): Use mm-delete-duplicates instead of
+       delete-dups that is not available in XEmacs 21.4.
+
+2011-02-16  Raphael Kubo da Costa  <kubito@gmail.com>  (tiny change)
+
+       * auth-source.el: Correctly load EIEIO from "gnus-fallback-lib/eieio"
+       as EIEIO must also be loaded when auth-source.el is being
+       byte-compiled.
+
+2011-02-16  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * gnus-fallback-lib/eieio/eieio.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-speedbar.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-opt.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-datadebug.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-custom.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-comp.el: Copy from Emacs.
+
+       * gnus-fallback-lib/eieio/eieio-base.el: Copy from Emacs.
+
+       * auth-source.el: Load EIEIO from "gnus-fallback-lib/eieio" if
+       necessary.
+
+2011-02-16  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-propagate-marks): Change default to t again, since
+       nil means that nnimap doesn't get updated.
+
+2011-02-16  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * auth-source.el (auth-source-netrc-create): Return a synthetic search
+       result when the user doesn't want to write to the file.
+       (auth-source-netrc-search): Expect a synthetic result and proceed
+       accordingly.
+       (auth-source-cache-expiry): New variable to override
+       `password-cache-expiry'.
+       (auth-source-remember): Use it.
+
+       * nnimap.el (nnimap-credentials): Remove the `inhibit-create'
+       parameter.  Create entry if necessary by using :create t.
+       (nnimap-open-connection-1): Don't pass `inhibit-create'.
+
+2011-02-15  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * auth-source.el (auth-source-debug): Enable by default and don't
+       mention the obsolete `auth-source-hide-passwords'.
+       (auth-source-do-warn): New function to debug unconditionally.
+       (auth-source-do-debug): Use it.
+       (auth-source-backend-parse): Use it for invalid `auth-sources' entries
+       and for Secrets API entries when the secrets.el library is not
+       available.
+
+2011-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-propagate-marks): Default to nil.
+       (gnus-summary-exit): Kill the correct article buffer on exit from a
+       `C-d' group.
+
+       * gnus-start.el (gnus-use-backend-marks): Removed, since it duplicates
+       gnus-propagate-marks.
+
+       * gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf
+       before killing the buffers so that a non-full window conf gets handled
+       correctly.
+       (gnus-summary-exit): Ditto.
+       (gnus-summary-read-group-1): Ditto.
+
+       * nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part
+       async code again so that we can debug it properly.
+
+       * message.el (message-reply): Take an optional switch-buffer parameter
+       so that Gnus window confs are respected better.
+
+2011-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * auth-source.el (auth-source-backend-parse-parameters): Don't rely on
+       `plist-get' to accept non-list parameters (XEmacs issue).  Fix
+       docstring.
+       (auth-source-secrets-search): Use `delete-dups', `append mapcar', and
+       `butlast' instead of `remove-duplicates', `mapcan', and `subseq'.
+       (auth-sources, auth-source-backend-parse, auth-source-secrets-search):
+       Login collection is "Login" and not "login".
+
+2011-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-art.el (article-update-date-lapsed): Don't bug out when updating
+       multiple headers.
+
+       * nnimap.el (nnimap-inhibit-logging): New variable.
+       (nnimap-log-command): Don't log login commands.
+
+       * auth-source.el (auth-source-netrc-search): The asserts seem to want
+       to have more parameters.
+
+       * nnimap.el (nnimap-send-command): Mark the command time for each
+       command, so that we don't get NOOPs stepping on our toes.
+
+       * gnus-art.el (article-date-ut): Get the date from the Date header on
+       `t'.
+
 2011-02-14  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * auth-source.el (auth-source-search): Use copy-sequence instead of