Fix a speed regression based in methods that were similar weren't the same.
[gnus] / lisp / ChangeLog
index 76e9b4b..c115bba 100644 (file)
@@ -1,5 +1,169 @@
+2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus.el (gnus-similar-server-opened): Refactor a bit and add
+       comments.
+       (gnus-methods-sloppily-equal): New function.
+
+       * gnus-start.el (gnus-get-unread-articles): Make sure that we call
+       `gnus-open-server' on each method before trying to scan them etc.  This
+       ensures that all the backend parameters are set correctly.
+
+       * nnimap.el (nnimap-authenticator): New variable.
+       (nnimap-open-connection): Allow anonymous login.
+       (nnimap-transform-headers): The chars header is called Chars not
+       Bytes.
+       (nnimap-wait-for-response): Don't infloop if the IMAP connection
+       drops.
+
+       * gnus-art.el (gnus-article-describe-briefly): Fix up typo in last
+       patch, found by Knut Anders Hatlen.
+
+2010-09-19  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * gnus-agent.el (gnus-agent-batch-confirmation)
+       (gnus-agent-expire-group, gnus-agent-expire): Pass proper format string
+       to gnus-message.
+       * gnus-art.el (gnus-article-describe-briefly): Likewise.
+       * gnus-group.el (gnus-group-list-groups, gnus-group-describe-group)
+       (gnus-group-edit-global-kill, gnus-group-describe-briefly): Likewise.
+       * gnus-int.el (gnus-open-server): Likewise.
+       * gnus-score.el (gnus-score-edit-current-scores, gnus-score-edit-file)
+       (gnus-score-check-syntax): Likewise.
+       * gnus-srvr.el (gnus-browse-describe-briefly): Likewise.
+       * gnus-start.el (gnus-read-active-file-1, gnus-read-active-file-1):
+       Likewise.
+       * gnus-sum.el (gnus-summary-describe-briefly): Likewise.
+
+2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-html.el (gnus-html-prefetch-images): Fix up the url-retrieve
+       calling conventions so that prefetch doesn't bug out.
+
+2010-09-19  Julien Danjou  <julien@danjou.info>
+
+       * gnus-sum.el (gnus-summary-update-mark): Use `subst-char-in-string'
+       rather than `subst-char-in-region' in order to be able to replace ASCII
+       char by UTF-8 ones.
+
+       * gnus-html.el (gnus-html-prefetch-images): Use `url-retrieve' rather
+       than curl.
+       (gnus-html-image-fetched): Fix `gnus-html-put-image' call not setting
+       the right URL and ALT text on images.
+       (gnus-html-wash-tags): Fix tag case.
+       Add support for `s' and `ins' tags. Use gnus-emphasis-* faces.
+       (gnus-article-html): Add -o display_ins_del=2 option.
+       (gnus-html-wash-tags): Add better support for <ul> tags symbols.
+
+2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnheader.el (nnheader-insert-nov): Protect against junk appearing in
+       the extra mail headers, which sometimes seem to happen for unknown
+       reasons.
+
+       * mail-parse.el (mail-header-encode-parameter): Define as
+       rfc2045-encode-string instead of as rfc2231-encode-string, since some
+       (or most, perhaps?) mail readers don't understand the latter, but do
+       understand the former.
+
+       * gnus-agent.el (gnus-agent-auto-agentize-methods): Switch the default
+       to nil, so that no methods are automatically agentized.  I think this
+       is probably what most users want.
+
+       * gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors
+       from url-retrieve, for instance about invalid URLs.
+
+       * nnimap.el (nnimap-finish-retrieve-group-infos): Protect against
+       groups that have no articles.
+       (nnimap-request-article): Check that we really got an article when we
+       requested one.
+
+       * gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file
+       doesn't exist.
+
+       * nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the
+       nntp buffer so the agent can save it.
+       (nnimap-open-shell-stream): Bind `process-connection-type' to nil, so
+       that CRLF doesn't get translated to \n.
+       (nnimap-open-connection): Don't make 'shell commands only send \n.
+
+2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * nnml.el (nnml-files): Add prefix to dynamic var `files'.
+       (nnml-generate-nov-databases-directory, nnml-generate-active-info):
+       Update var name.
+       (nnml-generate-nov-file): Use dolist.
+       (nnml-directory-articles, nnml-current-group-article-to-file-alist):
+       Use with-current-buffer.
+
+2010-09-18  Julien Danjou  <julien@danjou.info>
+
+       * gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in
+       parallel.
+
+2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-update-info): When doing partial marks update, get
+       the range update right.
+       (nnimap-request-group): Don't make `M-g' bug out on group with no
+       marks.
+       (nnoo): Required, so that other packages can require nnimap.
+       (nnimap-wait-for-response): Be a bit more lax in finding the end of the
+       command we're looking for.  This helps when the server sends more
+       responses after we've gotten everything we expected.
+       (nnimap): Add a `newlinep' field to keep track of end-of-line
+       conventions.
+       Don't send CRLF to things that don't want it.
+       (nnimap-request-accept-article): Ditto.
+
+2010-09-18  Julien Danjou  <julien@danjou.info>
+
+       * gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather
+       than curl to retrieve images.
+
+2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-update-info): Extend the info so that we can set
+       the marks.
+       (nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
+       (nnimap-wait-for-connection): New function.
+       (nnimap-open-connection): If we have PREAUTH, don't query for login
+       credentials.
+       (nnimap-update-info): Fix off-by-one error when concatenating ranges
+       when doing a partial update.
+
+2010-09-18  Julien Danjou  <julien@danjou.info>
+
+       * gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML
+       tags.
+
 2010-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nnimap.el (nnimap-credentials): New function.
+       (nnimap-open-connection): Use the new function to look for credentials
+       also on the numeric equivalents of "imap" and "imaps".
+
+       * gnus-start.el (gnus-activate-group): Send the info to
+       gnus-request-group.
+
+       * nnimap.el (nnimap-request-group): Have the "check" version of the
+       function parse flags and update the info, so that a `M-g' get a total
+       resync of all flags from the group.
+
+       * gnus-int.el (gnus-request-group): Take an optional `info' parameter
+       to allow backends to alter the info on group selection.  Also alter all
+       the backend -request-group functions to take the parameter.
+
+       * nnimap.el (nnimap-store-info): New function.
+       (nnimap-update-info): Store the info for later usage.
+       (nnimap-request-group): Use the stored info for the dont-check case, so
+       that we don't retrieve all marks when we enter a group.
+
+       * nnimap.el: Use deffoo instead of defun for interface functions.
+
+       * gnus-start.el (gnus-get-unread-articles): Allow the backends to
+       update the group info.  This makes the nndraft groups, for instance, go
+       back to their old behaviour.
+
        * gnus-sum.el (gnus-select-newsgroup): Indent.
 
        * nnimap.el (nnimap-possibly-change-group): Return nil if we can't log
        * gnus-int.el (gnus-finish-retrieve-group-infos)
        (gnus-retrieve-group-data-early): New functions.
 
+2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * nnrss.el (nnrss-retrieve-headers, nnrss-request-list-newsgroups)
+       (nnrss-retrieve-groups):
+       * pop3.el (pop3-open-server, pop3-read-response, pop3-list, pop3-retr)
+       (pop3-quit): Use with-current-buffer.
+
 2010-09-17  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * pop3.el (pop3-wait-for-messages): Use pop3-accept-process-output