Split -request-update-info into -request-marks and -update-info.
[gnus] / lisp / ChangeLog
index b167a2f..78809c3 100644 (file)
@@ -1,9 +1,334 @@
+2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-start.el (gnus-get-unread-articles): Allow backends to update
+       the info.
+       (gnus-get-unread-articles): Only call updatep on backends that support
+       it.
+
+       * nnweb.el (nnweb-request-update-info): NOOP.
+
+       * nnmaildir.el (nnmaildir-request-marks): Renamed from -update-info.
+
+       * nnfolder.el (nnfolder-request-marks): Renamed from -update-info,
+       since it only deals with marks.
+
+       * gnus-int.el (gnus-request-marks): Renamed gnus-request-update-info to
+       gnus-request-marks, and make a new gnus-request-update-info.
+
+       * nnimap.el (nnimap-update-info): When UIDNEXT is present, use that for
+       the active instead of the high number, which is usually too low.
+
+2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * netrc.el (netrc-parse): Remove encrypt.el mentions.
+       * encrypt.el: Removed.
+
+2010-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-update-info): Sync non-standard flags from the
+       server in symbolic form.
+
+       * gnus-html.el (gnus-max-image-proportion): Increase proportion to
+       0.9.
+
+2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-parse-flags): Parse the data in any order.
+       (nnimap-update-info): Fix up code slightly.
+
+       * gnus-int.el (gnus-open-server): Add tracing for performance
+       debugging.
+
+       * gnus-group.el (gnus-group-highlight-line): Typo fix: beg, not start.
+       (gnus-group-insert-group-line): Pass the real group name so that it
+       gets the right data.
+
+       * gnus-start.el (gnus-get-unread-articles): Don't have
+       `gnus-get-unread-articles-in-group' update info, since that can be
+       really slow and doesn't seem to be needed?
+
+2010-09-22  Dan Christensen  <jdc@uwo.ca>
+
+       * time-date.el (date-to-time): Try using parse-time-string first before
+       using the slower timezone-make-date-arpa-standard.
+
+2010-09-22  Julien Danjou  <julien@danjou.info>
+
+       * gnus-group.el (gnus-group-insert-group-line): Call
+       gnus-group-highlight-line.
+       (gnus-group-update-hook): Remove gnus-group-highlight-line from the
+       default hook list.
+       (gnus-group-update-eval-form): Add new function.
+       (gnus-group-highlight-line): Use gnus-group-update-eval-form.
+       (gnus-group-get-icon): Use gnus-group-update-eval-form.
+
+2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-request-expire-articles): If nnmail-expiry-wait is
+       immediate, then expire all articles.
+       (nnimap-update-info): Fix off-by-one errors.
+       (nnimap-flags-to-marks): Would return no marks lists for group with no
+       flags.  Instead return the other data.
+
+2010-09-22  Julien Danjou  <julien@danjou.info>
+
+       * gnus-group.el (gnus-group-get-icon): Renamed gnus-group-add-icon that
+       Only return an icon.
+       (gnus-group-insert-group-line): Compute icon to return.
+
+       * gnus-html.el (gnus-html-image-automatic-caching): Add custom
+       variable.
+       (gnus-html-image-fetched): Only cache if
+       gnus-html-image-automatic-caching is set.
+       (gnus-html-image-fetched): Check for errors.
+
+2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-start.el (gnus-read-active-for-groups): Only run -request-scan
+       once per method on `g'.  This ensures that backends like nnfolder don't
+       open all their folders.
+
+       * nnimap.el (nnimap-split-incoming-mail): Delete 'junk.
+       (nnimap-request-list): Nix out group in the correct buffer.
+       (nnimap-parse-flags): Implement by using `read' instead of
+       hand-parsing.
+       (nnimap-flags-to-marks): Pass on permanent-flags.
+       (nnimap-make-process-buffer): Record the server name.
+       (nnimap-parse-flags): Fix typo.
+       (nnimap-request-scan): Run split on the server in general, not just a
+       single group.
+
+       * nnmail.el (nnmail-split-incoming): Take an optional junk-func
+       parameter, and propagate this downwards.
+
+       * nnimap.el (nnimap-request-list): Set the current nnimap group to nil,
+       since EXAMINE changes it on the server.
+
+       * gnus-int.el (gnus-request-expire-articles): Inhibit the daemon, since
+       this command might take a while.
+
+2010-09-22  Julien Danjou  <julien@danjou.info>
+
+       * gnus-html.el (gnus-html-rescale-image): Use window-inside-pixel-edges
+       rather than window-pixel-edges.
+       (gnus-html-put-image): Stop using markers. They are harmful if you have
+       2 images side-by-side, they can't be properly update on text deletion.
+       Using text-property is safer here.
+       (gnus-html-image-fetched): Search also for \r\n\r\n to get the start of
+       data.
+
+2010-09-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-expunge-inbox): Removed.
+       (nnimap-mark-and-expunge-incoming): Use nnimap-expunge instead.
+       (nnimap-expunge): Flip default to t.
+
+       * gnus.el (gnus-method-to-server): Don't push things to the cache
+       unless it's unique.
+       (gnus-server-to-method): Ditto.
+
+2010-09-22  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * nnimap.el (nnimap-delete-article): Tell user if expunge won't happen.
+
+2010-09-22  Julien Danjou  <julien@danjou.info>
+
+       * gnus-html.el (gnus-html-get-image-data): Search also for \r\n\r\n to
+       get the start of data.
+       (gnus-html-encode-url): Add this function to encode special chars in
+       URL.
+       (gnus-html-wash-images): Use gnus-html-encode-url to encode URL.
+       (gnus-html-prefetch-images): Use gnus-html-encode-url to encode URL.
+
+       * gnus-group.el (gnus-group-update-hook): Call gnus-group-add-icon by
+       default.
+       (gnus-group-add-icon): Move to gnus-group.el, and rewrite so it works.
+
+       * gnus-html.el (gnus-html-wash-images): Use xml-substitute-special on
+       images alt-text.
+       (gnus-html-put-image): Put alt-text as help-echo.
+
+2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * mailcap.el (mailcap-parse-mailcap, mailcap-parse-mimetypes)
+       * mm-util.el (mm-decompress-buffer)
+       * nnir.el (nnir-run-find-grep)
+       * pop3.el (pop3-list): Use 3rd arg of split-string.
+
+       * time-date.el (format-seconds): Comment fix.
+
+       * dgnushack.el (toplevel): Don't advise byte-optimize-form-code-walker
+       and byte-optimize-form-code-walker.
+       (dgnushack-make-auto-load): Don't advise make-autoload.
+
+       * lpath.el: Remove Emacs 21 stuff.
+
+2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-sum.el (gnus-update-marks): Add sanity check to not delete marks
+       outside the active range.  Suggested by Dan Christensen.
+
+       * gnus-start.el (gnus-get-unread-articles): Get the extended method
+       slightly later to avoid double-getting it.
+
+       * nnml.el (nnml-generate-nov-file): Fix variable name clobbering from
+       previous patch.
+
+       * gnus-sum.el (gnus-adjust-marked-articles): Fix another typo.
+
+2010-09-21  Adam Sjøgren  <asjo@koldfront.dk>
+
+       * gnus-sum.el (gnus-adjust-marked-articles): Fix typo.
+
+2010-09-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-int.el (gnus-open-server): Give a better error message in the
+       "go offline" case.
+
+       * gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting
+       marks for nnimap, which is seldom the right thing to do.
+
+       * gnus.el (gnus-sloppily-equal-method-parameters): Refactor out.
+       (gnus-same-method-different-name): New function.
+
+       * nnimap.el (parse-time): Require.
+
+       * gnus-start.el (gnus-get-unread-articles): Fix the prefixed select
+       method in the presence of many similar methods.
+
+       * nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract.
+
+       * nnimap.el (nnimap-find-expired-articles): Don't refer to
+       nnml-inhibit-expiry.
+
+       * gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to
+       find out whether methods are equal.
+
+       * nnimap.el (nnimap-find-expired-articles): New function.
+       (nnimap-process-expiry-targets): New function.
+       (nnimap-request-move-article): Request the article before looking at
+       what the Message-ID is.  Fix found by Andrew Cohen.
+       (nnimap-mark-and-expunge-incoming): Wait for the last sequence.
+
+       * nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time
+       for oldness in addition to being a predicate.
+
+       * nnimap.el (nnimap-request-group): When we have zero articles, return
+       the right data to Gnus.
+       (nnimap-request-expire-articles): Only delete articles immediately if
+       the target is 'delete.
+
+       * gnus-sum.el (gnus-summary-move-article): When respooling to the same
+       method, this would bug out.
+
+       * gnus-group.el (gnus-group-expunge-group): Renamed from
+       gnus-group-nnimap-expunge, and implemented as a normal interface
+       function.
+
+       * gnus-int.el (gnus-request-expunge-group): New function.
+
+       * nnimap.el (nnimap-request-create-group): Implement.
+       (nnimap-request-expunge-group): New function.
+
+2010-09-21  Julien Danjou  <julien@danjou.info>
+
+       * gnus-html.el (gnus-html-image-cache-ttl): Add new variable.
+       (gnus-html-cache-expired): Add new function.
+       (gnus-html-wash-images): Use `gnus-html-cache-expired' to check
+       wethever we should display image for fetch it.
+       Compute alt-text earlier to pass it to the fetching function too.
+       (gnus-html-schedule-image-fetching): Change function argument to only
+       get one image at a time, not a list.
+       (gnus-html-image-fetched): Use `url-store-in-cache' to store image in
+       cache.
+       (gnus-html-get-image-data): New function to retrieve image data from
+       cache.
+       (gnus-html-put-image): Change buffer argument to use image data rather
+       than file, and place image above region rather than inserting a new
+       one. Do not take alt-text as argument, since it's useless now: we place
+       the image above alt-text.
+       (gnus-html-prune-cache): Remove.
+       (gnus-html-show-images): Start to fetch image when we find one, do not
+       push into a temporary list.
+       (gnus-html-prefetch-images): Only fetch image if they have expired.
+       (gnus-html-browse-image): Fix, use 'gnus-image-url.
+       (gnus-html-image-map): Add "v" to browse-url on undisplayed image.
+
+2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * rfc2047.el (rfc2047-encode-parameter): Doc fix.
+
+2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen)
+       spec inser "*" if the group isn't active instead of 0.
+
+       * nnimap.el (nnimap-request-group): Don't select the imap buffer before
+       opening the server.
+       (nnimap-request-delete-group): Implement group deletion.
+       (nnimap-transform-headers): Return the size of the entire message in
+       the Bytes header, not just the size of the first part.
+       (nnimap-request-move-article): When moving an article from nnimap,
+       request the article first so the accepting form has an article to
+       accept.  Reported by Dan Christensen.
+       (nnimap-command): Make sure that the error message doesn't error out.
+
+2010-09-20  David Edmondson  <dme@dme.org>  (tiny change)
+
+       * nnimap.el (nnimap-request-set-mark): Don't wait for a response when
+       we haven't requested anything.
+
+2010-09-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-fetch-inbox): Use "[]" as the parameter instead of
+       "".  Fix found by Andrew Cohen.
+
+       * mail-parse.el (mail-header-encode-parameter): Use -encode-parameter
+       instead of -encode-string.
+
+2010-09-20  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-html.el (gnus-html-image-fetched): Pass arg to kill-buffer.
+
+       * gnus-sum.el (gnus-summary-update-mark): Replace subst-char-in-string
+       by mm-subst-char-in-string.
+
 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nnimap.el (nnimap-wait-for-connection): Avoid a race condition while
+       waiting for the connection string.
+
+       * gnus-html.el (gnus-html-image-fetched): Protect against the data not
+       arriving.
+
+       * gnus-start.el (gnus-ignored-newsgroups): Remove [] from the list of
+       bogus characters.  This allows selecting certain Gmail groups.
+
+       * nnimap.el (nnimap-find-wanted-parts-1): New function.
+       (nnimap-fetch-partial-articles): New variable.
+       (nnimap-open-connection): When looking for credentials, also use the
+       nnimap-server-port.
+       (nnimap-request-article): Return the group/article number, so that Gnus
+       `^' works as expected.
+       (nnimap-find-wanted-parts-1): Return the MIME parts as IMAP wants
+       them.
+
+       * gnus.el (gnus-similar-server-opened): Refactor a bit and add
+       comments.
+       (gnus-methods-sloppily-equal): New function.
+       (gnus): When using the development version of Gnus, load the gnus-load
+       file.
+
+       * 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.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.
 
        * gnus-art.el (gnus-article-describe-briefly): Fix up typo in last
        patch, found by Knut Anders Hatlen.
 
 2010-09-19  Julien Danjou  <julien@danjou.info>
 
 
 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.
        * 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.
+       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.
 
        (gnus-article-html): Add -o display_ins_del=2 option.
        (gnus-html-wash-tags): Add better support for <ul> tags symbols.
 
 
        * dgnushack.el: Define netrc-credentials.
 
 
        * dgnushack.el: Define netrc-credentials.
 
-2010-09-17  Julien Danjou  <julien@danjou.info>  (tiny fix)
+2010-09-17  Julien Danjou  <julien@danjou.info>
 
        * mm-decode.el (mm-text-html-renderer): Document gnus-article-html.
 
 
        * mm-decode.el (mm-text-html-renderer): Document gnus-article-html.
 
 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-html.el (gnus-html-wash-tags): Don't show images that are really
 2010-09-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-html.el (gnus-html-wash-tags): Don't show images that are really
-       small. They're probably tracking images.
+       small.  They're probably tracking images.
        (gnus-html-wash-tags): Remove all <pre_int> place holders.
        (gnus-html-rescale-image): Yet another try at getting the image sizing
        right.
        (gnus-html-wash-tags): Remove all <pre_int> place holders.
        (gnus-html-rescale-image): Yet another try at getting the image sizing
        right.
 
        * gnus-sum.el: As per discussion 3 years, 8 weeks, 3 days, 9 hours, 57
        minutes, 56 seconds ago on the ding list, remove the `w' and `i'
 
        * gnus-sum.el: As per discussion 3 years, 8 weeks, 3 days, 9 hours, 57
        minutes, 56 seconds ago on the ding list, remove the `w' and `i'
-       bindings, as they aren't useful at all. `w' is moved to `W w'.
+       bindings, as they aren't useful at all.  `w' is moved to `W w'.
 
        * gnus-move.el: Removed file, since it doesn't really work.
 
        * gnus-html.el (gnus-article-html): Tell w3m that the input is
 
        * gnus-move.el: Removed file, since it doesn't really work.
 
        * gnus-html.el (gnus-article-html): Tell w3m that the input is
-       UTF-8. This seems to fix problems with some German web feeds.
+       UTF-8.  This seems to fix problems with some German web feeds.
 
        * gnus.el (gnus-group-startup-message): Put the xpm version of the logo
        at the top so that the proper colours are applied.
 
        * gnus.el (gnus-group-startup-message): Put the xpm version of the logo
        at the top so that the proper colours are applied.
        (nntp-wait-for, nntp-retrieve-articles, nntp-async-trigger)
        (nntp-retrieve-headers-with-xover): Use nntp-insert-buffer-substring to
        copy data from unibyte buffer to multibyte current buffer.
        (nntp-wait-for, nntp-retrieve-articles, nntp-async-trigger)
        (nntp-retrieve-headers-with-xover): Use nntp-insert-buffer-substring to
        copy data from unibyte buffer to multibyte current buffer.
-       (nntp-retrieve-headers, nntp-retrieve-groups); Use nntp-copy-to-buffer
+       (nntp-retrieve-headers, nntp-retrieve-groups): Use nntp-copy-to-buffer
        to copy data from unibyte current buffer to multibyte buffer.
        (nntp-make-process-buffer): Make process buffer unibyte.
 
        to copy data from unibyte current buffer to multibyte buffer.
        (nntp-make-process-buffer): Make process buffer unibyte.