1. 03 Mar, 2011 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 71f8b7ed
      Gnus developers authored
      nnimap.el (nnimap-parse-flags): Add a workaround for FETCH lines with numbers too big to be `read'.
      password-cache.el (password-in-cache-p): Add autoload.
      message.el (message-options): Make buffer-local two ways to attempt to fix a XEmacs bug.
      71f8b7ed
  2. 25 Feb, 2011 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 003522ce
      Gnus developers authored
      auth-source.el (auth-source-save-behavior): New variable to replace `auth-source-never-create'.
       (auth-source-netrc-create): Use it.
       (auth-source-never-save): Remove.
      nnimap.el (nnimap-stream): Doc fix.
       (nnimap-open-connection-1): Reverse the order of the ports to that the prompted-for port is first.
      gnus-start.el (gnus-get-unread-articles): Don't clobber the async retrieval by the no-group selection.
      gnus-demon.el (gnus-demon-init): run-with-timer should be called with numerical parameters.
      auth-source.el (auth-source-creation-prompts): New variable to manage creation-time prompts.
       (auth-source-search): Document it.
       (auth-source-format-prompt): Add utility function.
       (auth-source-netrc-create): Don't default the user name to user-login-name.  Use `auth-source-creation-prompts' and some default prompts for user, host, port, and password (the default generic prompt remains ugly).
       (auth-source-never-save): Add customizable option to never save info.
       (auth-source-netrc-create): Use it and improve save prompts.  Fix help mode excursion.
      003522ce
  3. 23 Feb, 2011 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 4a3988d5
      Gnus developers authored
      auth.texi (Help for users): Mention ~/.netrc is also searched by default now.
      gnus-start.el (gnus-dribble-read-file): Set buffer-save-without-query, since we always want to save the dribble file, probably.
      nnmail.el (nnmail-article-group): Allow a final "" split to work on nnimap.
      gnus-sum.el (gnus-user-date-format-alist): Renamed back again from -summary- since it's a user-visible variable.
      nnimap.el (nnimap-retrieve-group-data-early): Don't do QRESYNC the first time you use the new Gnus.
      auth-source.el: Don't load netrc.el.
       (auth-sources): Search ~/.netrc as well by default.
       (auth-source-debug): Add 'trivia option for extra output.
       (auth-source-do-trivia): Use it.
       (auth-source-search): Simplify logic to use `auth-source-search-backends'.  Use `auth-source-do-trivia' where appropriate.  Don't keep a running count at this level.  Layer :create and :delete options appropriately on the first and second passes.  Don't track the backend with the search results.
       (auth-source-search-backends): New function to search a list of backends for a processed spec.
       (auth-source-netrc-parse): Cache all netrc files, making auth-source-netrc-cache an alist keyed by the file name and using the file mtime as the caching criterion.  Keep the obfuscated data secret with a lexical bind.
       (auth-source-netrc-search): Don't calculate the length of the results unnecessarily.
       (auth-source-search-backends): Fix bug.
       (auth-source-netrc-create): Rework prompts.
      nnir.el (nnir-imap-search-arguments,nnir-imap-default-search-key): Lower case names of search constraints.
       (nnir-run-query): Cache and reuse search constraints for all imap servers.
      gnus-msg.el (gnus-setup-message): Define missing variable from last checkin.
      4a3988d5
  4. 22 Feb, 2011 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 8e22bee0
      Gnus developers authored
      gnus.texi (Article Date): Clarify gnus-article-update-date-headers.
      gnus-msg.el (gnus-inews-add-send-actions): Restore the winconf name after exit.
      gnus-sum.el (gnus-summary-show-article): When called with t as the value, show the raw article.
      nnimap.el (nnimap-open-connection-1): Revert last change, since auth-source now accepts numbers.
      auth-source.el (auth-source-netrc-parse): Accept a number as the port spec, too.
       (auth-source-ensure-strings): New function.
      gnus-art.el (gnus-article-update-date-headers): Doc fix.
       (gnus-article-setup-buffer): Always restart the date timer so that user changes to the frequency is respected.
      nnimap.el (nnimap-open-connection-1): auth-source expects strings as port numbers, so make sure it gets that if nnimap-server-port is explicit.
      nnimap.el (nnimap-inbox): Doc fix.
      8e22bee0
  5. 20 Feb, 2011 1 commit
  6. 19 Feb, 2011 1 commit
  7. 18 Feb, 2011 1 commit
  8. 17 Feb, 2011 2 commits
    • Gnus developers's avatar
      Merge chagnes made in Gnus trunk. · 7ba93e94
      Gnus developers authored
      auth.texi (GnuPG and EasyPG Assistant Configuration): Mention the default now is to have two files in `auth-sources'.
      nnimap.el (nnimap-open-connection-1): Delete duplicate server names when getting credentials.
      gnus-util.el (gnus-delete-duplicates): New function.
      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 ne...
      7ba93e94
    • Ted Zlatanov's avatar
      auth.texi (Help for users): Use :port instead of :protocol for all auth-source docs. · 35123c04
      Ted Zlatanov authored
      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-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.
      35123c04
  9. 16 Feb, 2011 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 584c9d3f
      Gnus developers authored
      gnus-sum.el (gnus-propagate-marks): Change default to t again, since nil means that nnimap doesn't get updated.
      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'.
      584c9d3f
  10. 14 Feb, 2011 1 commit
    • Lars Ingebrigtsen's avatar
      nnimap.el (nnimap-inhibit-logging): New variable. · d5e9a4e9
      Lars Ingebrigtsen authored
       (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'.
      d5e9a4e9
  11. 13 Feb, 2011 2 commits
    • Gnus developers's avatar
      net/imap.el: Remove file. All the functionality is in nnimap.el. · 114fe546
      Gnus developers authored
      nnimap.el (nnimap-request-accept-article, nnimap-process-quirk): Fix Gcc processing on imap.
      114fe546
    • 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 ...
      b8e0f0cd
  12. 07 Feb, 2011 2 commits
  13. 03 Feb, 2011 2 commits
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 0d1c2cc8
      Gnus developers authored
      gnus-util.el: change default value of gnus-user-date-format-alist.
      gnus-art.el (gnus-article-jump-to-part): Remove useless sit-for.
      gnus-art.el: remove old FIXME.
      gnus.el (gnus-summary-line-format): Add missing semi-colon for user-date in docstring.
      message.el (message-setup-1): Always generate References first.
       (message-mail): Return the return value of message-setup, not always t.
      gnus-start.el (gnus-read-active-for-groups): This function is never called with a nil `infos', so clean that up.
       (gnus-get-unread-articles): Request active files from primary/secondary methods that have no groups (yet).
       (message-setup-1): Insert mail-header-separator with read-only and intangible properties set.
      gnus-draft.el: Remove progn around gnus-draft-setup.
      gnus-start.el (gnus-get-unread-articles): Fix the call to methods that have no groups.
      nnimap.el (nnimap-request-accept-article): Give an error message if the APPEND wasn't successful.
      0d1c2cc8
    • Glenn Morris's avatar
      Silence some compiler warnings. · 5a6a61f7
      Glenn Morris authored
      * lisp/gnus/nnheader.el (gnus-range-add, gnus-remove-from-range): Autoload.
      
      * lisp/gnus/nnimap.el (gnus-fetch-headers): Declare.
      5a6a61f7
  14. 31 Jan, 2011 1 commit
  15. 30 Jan, 2011 1 commit
  16. 25 Jan, 2011 2 commits
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 008cad90
      Gnus developers authored
      mm-view.el (mm-display-shell-script-inline): Fix typo in docstring.
       (mm-display-javascript-inline): New function.
      mm-decode.el (mm-inline-media-tests): Add application/javascript viewing function.
      nnimap.el (nnimap-open-connection-1): Store the actual stream type used.
       (nnimap-login): Prefer plain LOGIN if it's enabled (since it requires fewer round trips than CRAM-MD5, and it's less likely to be buggy), and we're using an encrypted connection.
      proto-stream.el: Alter the interface functions to also return the actual stream type used: network or tls.
      008cad90
    • Glenn Morris's avatar
      73b0cd50
  17. 11 Jan, 2011 1 commit
    • Lars Magne Ingebrigtsen's avatar
      proto-stream.el (open-protocol-stream): Protect against the low-level... · c516cd6d
      Lars Magne Ingebrigtsen authored
      proto-stream.el (open-protocol-stream): Protect against the low-level transport functions returning nil.
      gnus-sum.el (gnus-summary-next-article): Remove hack to reselect group window, because it does the wrong thing when a separate frame displays the group buffer.
      gnus-int.el (gnus-request-accept-article): Don't try to update marks and stuff if the backend didn't return the article number.  This fixes an Exchange-related nnimap bug.
      mm-decode.el (mm-preferred-alternative-precedence): Discourage showing empty parts.
      nnimap.el (nnimap-convert-partial-article): Protect against zero-length body parts.
      c516cd6d
  18. 02 Jan, 2011 3 commits
    • Glenn Morris's avatar
      Add 2011 to FSF/AIST copyright years. · 5df4f04c
      Glenn Morris authored
      5df4f04c
    • Lars Magne Ingebrigtsen's avatar
      nnimap.el (nnimap-login): Refactored out into own function, and implement CRAM-MD5. · 84d89ede
      Lars Magne Ingebrigtsen authored
       (nnimap-wait-for-line): Refactored out.
      shr.el (shr-rescale-image): Display all GIF images as animated images.
      nnimap.el (nnimap-login): Prefer AUTH=CRAM-MD5, if it's available.  This avoids sending passwords in plain text over non-encrypted channels.
      84d89ede
    • 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
  19. 17 Dec, 2010 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 70041e9a
      Gnus developers authored
      nnir.el (nnir-get-active): Ignore nnir-ignored-newsgroups if null.
      gnus-sum.el (gnus-summary-refer-thread): Simplify code. Restore gnus-use-agent.
       (gnus-get-newsgroup-headers): Avoid unwanted spaces at eol.
      gravatar.el (gravatar-retrieve-synchronously): New function.
       (gravatar-get-data): Make more robust.
      gnus-util.el (gnus-rescale-image): Allow to resize images even if they are from file. Can also scale up.
      nnimap.el (nnimap-retrieve-headers): Remove CRLF from the headers.
      nnir.el (nnir-mode): Make sure 'gnus-registry-install is bound.
      gnus-sum.el (gnus-get-newsgroup-headers): Revert the last change here, since it's up to the backends to do CRLF removal if their protocol has it.
      gnus-group.el (gnus-group-delete-articles): New command.
      70041e9a
  20. 16 Dec, 2010 2 commits
    • Lars Magne Ingebrigtsen's avatar
      nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really... · 59a7e27d
      Lars Magne Ingebrigtsen authored
      nnimap.el (nnimap-wait-for-response): Fix the end-point calculation to really consider the last line.
      59a7e27d
    • 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
  21. 15 Dec, 2010 1 commit
    • Gnus developers's avatar
      gnus-agent.el: Indent. · 156e3f9c
      Gnus developers authored
      gnus.texi: Fix a couple nnir -> @code{nnir} things.
      nnimap.el (nnimap-retrieve-group-data-early): Fix the syntax of the QRESYNC command by deleting a superfluous space which broke Cyrus servers.  This change will break other servers that are buggy the other way around.
      gnus.texi (The hyrex Engine): Say that this engine as obsolete.
      156e3f9c
  22. 07 Dec, 2010 1 commit
  23. 06 Dec, 2010 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · b31b26b4
      Gnus developers authored
      shr.el (shr-render-td): Render td content with shr-descend, so style will be applied to <td> too.
       (shr-colorize-region): Colorize region even if we only have a background.
       (shr-tag-body): Fix color and background color inheritance.
       (shr-tag-body): Do not recolorize after shr-generic.
       (shr-tag-font): Let shr-generic colorize via inheritance.
      shr.el (shr-descend): Only colorise something if we have a node that sets colors.
      gnus-int.el (gnus-request-thread): Rework to take a header instead of a Message-ID to avoid having nnimap depend on gnus-sum.
      shr.el (shr-tag-font): Colorize the region.
       (shr-tag-body): Ditto.
       (shr-tag-font): Actually let the styles be inherited instead of overwriting them.
       (shr-tag-font): Get the background color right.
       (shr-tag-style): Ignore all <style> tags for the moment.
      b31b26b4
  24. 05 Dec, 2010 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · 04db63bc
      Gnus developers authored
      nnir.el (nnir-categorize): Replace mapcar with mapc.
      shr.el (shr-urlify): Display the title in <a> tags.
      shr.el (shr-urlify): Show the URL before the title to avoid misleading URLs.
      gnus-sum.el (gnus-summary-show-article): Reverse the meanings of `C-u
      C-u g' and `C-u g' so that `C-u g' does what it traditionally did.
      gnus.texi (Paging the Article): Note the reverse meanings of `C-u C-u g'.
      gnus-html.el (gnus-html-put-image): Use widget instead of local maps
      so that TAB works.
      nnir.el (nnir-run-gmane): Use more careful test for gmane nntp server.
      nnimap.el (nnimap-process-expiry-targets): Avoid downloading articles
      unless necessary.
      gnus-util.el (gnus-output-to-mail): Require nnmail before using nnmail
      variables.
      shr.el (shr-stylesheet): New dynamic variable for cascading the styles.
       (shr-colorize-region): New function.
       (shr-insert-background-overlay): Remove.
       (shr-render-td): Background setting should be taken care of on a higher level.
       (shr-tag-body): Use post-hoc colorizations.
       (shr-descend): Only render color/background when they change.
       (shr-tag-body): Set up a style sheet based on bgcolor/fgcolor.
       (shr-put-color-1): Don't overwrite old colors.
       (shr-colorize-region): When the background color isn't explicit, use a fixed background.
      gnus.el (gnus-valid-select-methods): Allow nnimap to respool.
      nntp.el (nntp-snarf-error-message): nnheader-report takes a format string as the parameter.
      gnus-sum.el (gnus-summary-respool-article): The completion function expects a list instead of an alist.
      04db63bc
  25. 02 Dec, 2010 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus trunk. · ed797193
      Gnus developers authored
      nnir.el: Batch header retrieval.
      proto-stream.el: New library to provide protocol-specific TLS/STARTTLS connections for IMAP, NNTP, SMTP, POP3 and similar protocols.
      nnimap.el (nnimap-open-connection): Use it.
      proto-stream.el (open-proto-stream): Complete the documentation.
      nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.
      nntp.el: Use proto-streams for the relevant connections types.
      nntp.el (nntp-open-connection): Switch on STARTTLS on supported servers.
      proto-stream.el (open-proto-stream): Add a way to specify what the end of a command is.
      proto-stream.el (proto-stream-open-tls): Delete output from openssl if we're using tls.el.
      proto-stream.el (proto-stream-open-network): If we don't have gnutls-cli or gnutls built in, then don't try to establish a STARTTLS connection.
      color.el (color-lab->srgb): Fix function call name.
      proto-stream.el: Fix the syntax in the comment.
      nntp.el (nntp-open-connection): Fix the STARTTLS command syntax.
      proto-stream.el (...
      ed797193
  26. 26 Nov, 2010 6 commits
  27. 25 Nov, 2010 1 commit