1. 13 Feb, 2011 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · b8e0f0cd
      Gnus developers authored
      auth.texi (Overview, Help for users, Help for developers): Update docs.
       (Help for users): Talk about spaces.
      sieve-manage.el: Autoload `auth-source-search'.
       (sieve-sasl-auth): Use it.
      nnimap.el: Autoload `auth-source-forget+'.
       (nnimap-open-connection-1): Use it if the connection fails.
      auth-source.el: Require `password-cache'.
       (auth-source-hide-passwords, auth-source-cache): Remove and mark obsolete.
       (auth-source-magic): Marker for `password-cache' keys.
       (auth-source-do-cache): Update docstring.
       (auth-source-search): Use and check cache.
       (auth-source-forget-all-cached, auth-source-remember)
       (auth-source-recall, auth-source-forget, auth-source-forget+)
       (auth-source-specmatchp): Caching support functions.
       (auth-source-forget-user-or-password, auth-source-forget-all-cached): Remove and obsolete.
       (auth-source-user-or-password): Remove caching to further discourage using it.  Always hide passwords.
      password-cache.el (password-cache-remove): Accept secrets that are not strings.
      mail-source.el: Autoload `auth-source-search'.
       (mail-source-keyword-map): Note order matters.
       (mail-source-set-1): Get all the mail-source source values and defaults and search auth-source on those if needed.  This can all probably be simplified.
      nnimap.el: Autoload `auth-source-search'.
       (nnimap-credentials): Use it.
       (nnimap-open-connection-1): Ask for the virtual server and physical address in one shot.
      nntp.el: Autoload `auth-source-search'.
       (nntp-send-authinfo): Use it.  Note TODO.
      auth-source.el (auth-source-secrets-search, auth-source-user-or-password): Use `append' instead of `nconc'.
       (auth-source-user-or-password): Build return list better and protect against nil :secret.
      auth-source.el (top): Require 'eieio unconditionally.  Autoload `secrets-get-attributes' instead of `secrets-get-attribute'.
       (auth-source-secrets-search): Limit search when `max' is greater than number of results.
      auth-source.el (auth-source-secrets-search): Add examples.
      auth-source.el (auth-sources): Allow for simpler defaults for Secrets API with a string "secrets:collection-name" and with 'default.
       (auth-source-backend-parse): Parse "secrets:collection-name" and 'default.  Recurse on parses instead of repeating code.  Use the Secrets API is the source is not nil and 'ignore otherwise.  Emit a message when ignoring a source.
       (auth-source-search): List ignored search keys at the top level.
       (auth-source-netrc-create): Use `case' instead of `cond'.
       (auth-source-secrets-search): Created with TODOs.
       (auth-source-secrets-create): Created with TODOs.
       (auth-source-retrieve, auth-source-create, auth-source-delete)
       (auth-source-protocol-defaults, auth-source-user-or-password-imap)
       (auth-source-user-or-password-pop3, auth-source-user-or-password-ssh)
       (auth-source-user-or-password-sftp)
       (auth-source-user-or-password-smtp): Removed.
       (auth-source-user-or-password): Deprecated and modified to be a wrapper around `auth-source-search'.  Not tested thoroughly.
      auth-source.el: Bring in assoc and eioeio libraries.
       (secrets-enabled): New variable to track the status of the Secrets API.
       (auth-source-backend): New EIOEIO class to represent a backend.
       (auth-source-creation-defaults): New variable to set prompt defaults during token creation (see the `auth-source-search' docstring for details).
       (auth-sources): Simplify to allow a simple string as a netrc backend spec.
       (auth-source-backend-parse): Parse a backend from an `auth-sources' spec.
       (auth-source-backend-parse-parameters): Fill in the backend parameters.
       (auth-source-search): Main auth-source API entry point.
       (auth-source-delete): Wrapper around `auth-source-search' for deletion.
       (auth-source-search-collection): Helper function for searching.
       (auth-source-netrc-parse, auth-source-netrc-normalize)
       (auth-source-netrc-search, auth-source-netrc-create): Netrc backend.  Supports search, create, and delete.
       (auth-source-secrets-search, auth-source-secrets-create): Secrets API backend stubs.
      (auth-source-user-or-password): Call `auth-source-search' but it's not ready yet.
      b8e0f0cd
  2. 25 Jan, 2011 1 commit
  3. 02 Jan, 2011 2 commits
    • Glenn Morris's avatar
      Add 2011 to FSF/AIST copyright years. · 5df4f04c
      Glenn Morris authored
      5df4f04c
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · bb7f5cbc
      Gnus developers authored
      mm-view.el (mml-smime): Require.
      mm-view.el (mm-view-pkcs7-decrypt): If mml-smime-use is set to 'epg, use EPG to decrypt S/MIME messages instead of openssl.
      nnimap.el (nnimap-request-group): Avoid double SELECT on `M-g'.
      gnus-group.el (gnus-group-kill-group): Don't try to update the group status is the group clearly is unreachable.
      auth-source.el (auth-source-create): Add the optional second parameter to `local-variable-p' to be compatible with XEmacs.
      nnml.el (nnml-request-article): Allow requesting by Message-ID to work when using a compressed nnml folder.
      gnus-sum.el (gnus-select-newsgroup): Don't propagate marks to backends after sanitising on entry, because this never makes sense: If the articles have gone missing, then the data no longer exists on the backend, and if they haven't, then Gnus is wrong, and shouldn't overwrite anything anyway.
      shr.el (shr-insert-document): Bind shr-width dynamically to window-width if it's nil.
      shr.el (shr-width, shr-insert-document): Allow nil as shr-width value with the meaning of using the full emacs window width for rendering.
      bb7f5cbc
  4. 16 Dec, 2010 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 549c9aed
      Gnus developers authored
      nnimap.el (nnimap-wait-for-response): Always look (at least) at the previous line.
      nnimap.el (nnimap-quirk): New function.
       (nnimap-retrieve-group-data-early): Use it.
       (nnimap-quirks): New alist.
      gnus.texi (Foreign Groups): Added clarification of foreign groups.
      gnus-sum.el (gnus-summary-push-marks-to-backend): Fix the logic for copying read-ness to the backends.
      gnus-group.el (gnus-group-kill-group): Notify the backend that the group has been killed.
       (gnus-group-yank-group): Ditto.
      gnus-start.el (gnus-subscribe-newsgroup): Notify the backend.
      nnir.el: Improve customizations.
      gnus.texi (Archived Messages): Removed outdated comment and text.
      nnfolder.el (nnfolder-save-all-buffers): Refactor out into its own function.
       (nnfolder-request-expire-articles): Save all the buffers after doing expiry.
      nnmail.el (nnmail-expiry-target-group): Revert the "all articles are the last article", since that led to serious performance regressions when expiring nnml groups.
      gnus-html.el (gnus-html-schedule-image-fetching): Make sure the HTML fetching stops when Gnus exits.
      gnus-srvr.el: Avoid passing nil regexp argument to delete-matching-lines.
      auth-source.el (auth-source-gpg-encrypt-to): New variable to set the list of recipient keys, or use symmetric encryption if not a list.
       (auth-source-create): Use it to make `epa-file-encrypt-to' local for an EPA override, replacing the call to `netrc-store-data'.
      549c9aed
  5. 10 Oct, 2010 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · dab0271f
      Gnus developers authored
      nnimap.el (nnimap-wait-for-response): If the user hits `C-g', kill the process, too.
      nnir.el (gnus-summary-nnir-goto-thread): Modify to work with imap.
      nnimap.el (nnimap-update-info): If the server doesn't return any useful info, just use the previous info.
      nnimap.el (nnimap-update-info): Prefer old info over start-article.
      nnimap.el (nnimap-update-qresync-info): Finish implementing QRESYNC.
      auth-source.el (auth-source-create): Use (user-login-name) for the user name default.
      nnimap.el (nnimap-open-connection): Use gnutls STARTTLS, if available.
      nnimap.el (nnimap-update-info): Rely more on the current active than the param active to avoid marking articles as read too much.
      gnus-sum.el (gnus-summary-set-local-parameters): Ignore the `active' non-variable, too.
      nnimap.el (nnimap-update-qresync-info): \Flagged messages are read for Gnus.
      nnimap.el (nnimap-retrieve-group-data-early): utf7-encode the group parameters.
      nnimap.el (nnimap-update-qresync-info): Mark \Seen articles as read.
      dab0271f
  6. 07 Oct, 2010 1 commit
  7. 26 Sep, 2010 2 commits
  8. 18 Sep, 2010 1 commit
    • Katsumi Yamaoka's avatar
      Merge changes made in Gnus trunk. · 20a673b2
      Katsumi Yamaoka authored
      Reimplement nnimap, and do tweaks to the rest of the code to support that.
      
      * gnus-int.el (gnus-finish-retrieve-group-infos)
      (gnus-retrieve-group-data-early): New functions.
      
      * gnus-range.el (gnus-range-nconcat): New function.
      
      * gnus-start.el (gnus-get-unread-articles): Support early retrieval of
      data.
      (gnus-read-active-for-groups): Support finishing the early retrieval of
      data.
      
      * gnus-sum.el (gnus-summary-move-article): Pass the move-to group name
      if the move is internal, so that nnimap can do fast internal moves.
      
      * gnus.el (gnus-article-special-mark-lists): Add uid/active tuples, for
      nnimap usage.
      
      * nnimap.el: Rewritten.
      
      * nnmail.el (nnmail-inhibit-default-split-group): New internal variable
      to allow the mail splitting to not return a default group.  This is
      useful for nnimap, which will leave unmatched mail in the inbox.
      
      * utf7.el (utf7-encode): Autoload.
      
      
      Implement shell connection.
      
      * nnimap.el (nnimap-open-shell-stream): New function.
      (nnimap-open-connection): Use it.
      
      
      Get the number of lines by using BODYSTRUCTURE.
      
      (nnimap-transform-headers): Get the number of lines in each message.
      (nnimap-retrieve-headers): Query for BODYSTRUCTURE so that we get the
      number of lines.
      
      
      Not all servers return UIDNEXT.  Work past this problem.
      
      
      Remove junk from end of file.
      
      
      Fix typo in "bogus" section.
      
      
      Make capabilties be case-insensitive.
      
      
      Require cl when compiling.
      
      
      Don't bug out if the LIST command doesn't have any parameters.
      
      2010-09-17  Knut Anders Hatlen  <kahatlen@gmail.com>  (tiny change)
      
      	    * nnimap.el (nnimap-get-groups): Don't bug out if the LIST command
      	    doesn't have any parameters.
      
      
      (mm-text-html-renderer): Document gnus-article-html.
      
      2010-09-17  Julien Danjou  <julien@danjou.info>  (tiny fix)
      
      	    * mm-decode.el (mm-text-html-renderer): Document gnus-article-html.
      
      
      * dgnushack.el: Define netrc-credentials.
      
      
      If the user doesn't have a /etc/services, supply some sensible port defaults.
      
      
      Have `unseen-or-unread' select an unread unseen article first.
      
      
      (nntp-open-server): Return whether the open was successful or not.
      
      
      Throughout all files, replace (save-excursion (set-buffer ...)) with (with-current-buffer ... ).
      
      
      Save result so that it doesn't say "failed" all the time.
      
      
      Add ~/.authinfo to the default, since that's probably most useful for users.
      
      
      Don't use the "finish" method when we're reading from the agent.
      
      
      Add some more nnimap-relevant agent stuff to nnagent.el.
      
      
      * nnimap.el (nnimap-with-process-buffer): Removed.
      
      
      Revert one line that was changed by mistake in the last checkin.
      
      
      (nnimap-open-connection): Don't error out when we can't make a connection
      
      
      nnimap-related changes to avoid bugging out if we can't contact a server.
      * gnus-start.el (gnus-get-unread-articles): Don't try to scan groups
       from methods that are denied.
      * nnimap.el (nnimap-possibly-change-group): Return nil if we can't log
       in.
      (nnimap-finish-retrieve-group-infos): Make sure we're not waiting for
       nothing.
      * gnus-sum.el (gnus-select-newsgroup): Indent.
      20a673b2
  9. 02 Sep, 2010 1 commit
  10. 15 Jun, 2010 1 commit
  11. 08 Jun, 2010 1 commit
    • Michael Albinus's avatar
      * auth-source.el (top): Autoload `secrets-list-collections', · 0e4966fb
      Michael Albinus authored
      `secrets-create-item', `secrets-delete-item'.
      (auth-sources): Fix tag string.
      (auth-get-source, auth-source-retrieve, auth-source-create)
      (auth-source-delete): New defuns.
      (auth-source-pick): Rewrite in order to avoid 2 passes.
      (auth-source-forget-user-or-password): New parameter USERNAME.
      (auth-source-user-or-password): New parameters CREATE-MISSING and
      DELETE-EXISTING.  Retrieve password interactively, if needed.
      0e4966fb
  12. 29 Mar, 2010 1 commit
  13. 28 Mar, 2010 1 commit
    • Katsumi Yamaoka's avatar
      2010-03-27 Teodor Zlatanov <tzz@lifelogs.com> · fb178e4c
      Katsumi Yamaoka authored
       * auth-source.el (auth-sources): Change default to be simpler.  Explain
       about Secret Service API sources.  Improve Customize options.
       (auth-source-pick): Change to accept any number of search parameters.
       Implement fallbacks iteratively, not recursively.  Add scoring on the
       second pass and sort by score.  Call Secret Service API when needed.
       (auth-source-user-or-password): Use it.  Call Secret Service API
       directly when needed to get the user name and the password.
      fb178e4c
  14. 23 Mar, 2010 1 commit
    • Katsumi Yamaoka's avatar
      Synch with Gnus trunk · ec7995fa
      Katsumi Yamaoka authored
      =====================
      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.
      
      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>
      
       * 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-verify-uidvalidity, nnimap-group-overview-filename)
       (nnimap-request-group): Use it.
       (nnimap-retrieve-groups, nnimap-verify-uidvalidity)
       (nnimap-update-unseen): Significantly improved speed of Gnus startup
       with many imap folders.  This is done by caching the group status from
       the imap server persistently in a group parameter `imap-status'. (This
       was cached before too if `nnimap-retrieve-groups-asynchronous' was set,
       but not persistently, so every Gnus startup was still very slow.)
      
      2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
      
       * auth-source.el: Set up autoloads.  Bump to 23.2 because of the
       secrets.el dependency.
       (auth-sources): Add optional user name.  Add secrets.el configuration
       choice (unused right now).
      
      2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
      
       * gnus-sum.el (gnus-summary-make-menu-bar): Let
       `gnus-registry-install-shortcuts' fill in the functions.
      
       * gnus-registry.el (gnus-summary-misc-menu): Declare to avoid
       warnings.
       (gnus-registry-misc-menus): Variable to hold registry mark menus.
       (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>
      
       * nnimap.el (nnimap-decode-group-name, nnimap-encode-group-name):
       In-place substitutions for the group name encoding/decoding.
       (nnimap-find-minmax-uid, nnimap-possibly-change-group)
       (nnimap-retrieve-headers-progress, nnimap-possibly-change-group)
       (nnimap-retrieve-headers-progress, nnimap-request-article-part)
       (nnimap-update-unseen, nnimap-request-list)
       (nnimap-retrieve-groups, nnimap-request-update-info-internal)
       (nnimap-request-set-mark, nnimap-split-to-groups)
       (nnimap-split-articles, nnimap-request-newgroups)
       (nnimap-request-create-group, nnimap-request-accept-article)
       (nnimap-request-delete-group, nnimap-request-rename-group)
       (nnimap-acl-get, nnimap-acl-edit): Use them.  Replace `mbx' with
       `encoded-mbx' for consistency.
       (nnimap-close-group): Call `imap-current-mailbox' instead of using the
       variable `imap-current-mailbox'.
      
       * 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>
      
       * 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)
      
       * nnir.el (nnir-get-article-nov-override-function): New function to
       override the normal NOV retrieval.
       (nnir-retrieve-headers): Use it.
      ec7995fa
  15. 19 Mar, 2010 1 commit
  16. 13 Jan, 2010 1 commit
  17. 17 Jul, 2009 1 commit
    • Katsumi Yamaoka's avatar
      Synch with Gnus trunk: · 554a69b8
      Katsumi Yamaoka authored
      2009-07-16  Katsumi Yamaoka  <yamaoka@jpl.org>
      * nnrss.el (nnrss-request-article): Allow mml-to-mime to generate MIME
      article without making inquiry to a user for unknown encoding.
      
      * nnmaildir.el (nnmaildir--group-maxnum, nnmaildir--new-number)
      (nnmaildir--scan): Assume i-node and device number that file-attributes
      returns might be cons-cell.
      
      2009-07-16  Teodor Zlatanov  <tzz@lifelogs.com>
      * auth-source.el: Remove docs now in auth.texi.  Don't use
      `gnus-message' for logging.  Add new variables `auth-source-debug' and
      `auth-source-hide-passwords' and use them.
      554a69b8
  18. 05 Feb, 2009 1 commit
  19. 19 Jan, 2009 1 commit
  20. 05 Jan, 2009 1 commit
  21. 06 Nov, 2008 1 commit
  22. 08 Jun, 2008 1 commit
  23. 22 May, 2008 1 commit
  24. 15 May, 2008 1 commit
  25. 10 May, 2008 1 commit
  26. 06 May, 2008 1 commit
  27. 26 Apr, 2008 1 commit
  28. 21 Apr, 2008 1 commit
  29. 29 Mar, 2008 1 commit
  30. 10 Mar, 2008 1 commit