(shr-insert): Rework the line-breaking algorithm.
[gnus] / lisp / ChangeLog
index 6a994a2..ee85479 100644 (file)
@@ -1,3 +1,263 @@
+2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-render-td): Use a cache for the table rendering function
+       to avoid getting an exponential rendering behaviour in nested tables.
+       (shr-insert): Rework the line-breaking algorithm.
+
+2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-gravatar.el (gnus-gravatar-too-ugly): New user option.
+       (gnus-gravatar-transform-address): Don't show avatars of people of
+       which mail addresses match gnus-gravatar-too-ugly.
+
+2010-10-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-table-widths): Expand TD elements to fill available
+       space.
+
+2010-10-07  Julien Danjou  <julien@danjou.info>
+
+       * nnimap.el (nnimap-request-rename-group): Add this method.
+
+2010-10-07  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-html.el (gnus-html-schedule-image-fetching): Remove function
+       name from XEmacs' function-arglist.
+
+       * gnus-gravatar.el (gnus-gravatar-insert): Don't add properties to
+       gravatar under XEmacs.
+
+2010-10-07  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * auth-source.el: Update docs with TODO items.
+
+       * gnus-sync.el: Update docs to explain state and plans.
+
+       * gnus-int.el (gnus-after-set-mark-hook, gnus-before-update-mark-hook):
+       Hooks for mark updates.
+       (gnus-request-set-mark, gnus-request-update-mark): Use them.
+
+       * gnus-util.el (gnus-run-hooks-with-args): Convenience function to run
+       hooks with arguments, which is needed for mark update hooks.
+
+2010-10-06  Julien Danjou  <julien@danjou.info>
+
+       * sieve-manage.el: Update example in `Commentary'.
+
+       * sieve.el (sieve-open-server): Use sieve-manage-authenticate.
+
+       * sieve-manage.el (sieve-manage-open): Use sieve-manage-default-port,
+       not 2000.
+       (sieve-manage-authenticate): Re-add function.
+
+2010-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-insert): Get 'space transition right.
+       (shr-render-td): Only delete space at the end of the TD.
+
+       * nnimap.el (nnimap-open-connection): Prepare to support
+       open-gnutls-stream.
+
+       * shr.el: Rearrange function order to be more logical.
+
+2010-10-06  Julien Danjou  <julien@danjou.info>
+
+       * nnrss.el (nnrss-check-group): Remove 404 URL in comment.
+       (nnrss-discover-feed): Remove 404 URL in docstring.
+
+       * nnir.el: Fix Swish-E URL.
+       Fix Namazu URL.
+
+       * message.el (message-change-subject): Remove 404 URL in a comment.
+
+2010-10-06  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * gnus-art.el (gnus-mime-view-part-as-type): Make it work when being
+       called interactively.
+
+       * gnus-util.el (gnus-remove-if): Allow hash table.
+       (gnus-remove-if-not): New function.
+
+       * gnus-art.el (gnus-mime-view-part-as-type)
+       * gnus-score.el (gnus-summary-score-effect)
+       * gnus-sum.el (gnus-read-move-group-name):
+       Replace remove-if-not with gnus-remove-if-not.
+
+       * gnus-group.el (gnus-group-completing-read):
+       Regard collection as a hash table if it is not a list.
+
+2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-render-td): Allow blank/missing <TD>s.
+
+       * shr.el: Document the table-rendering algorithm.
+
+2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * dgnushack.el (dgnushack-compile): Exclude shr.el from being compiled
+       for Emacsen having no `libxml-parse-html-region' support.
+
+2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-html.el (gnus-html-schedule-image-fetching): Protect against
+       invalid URLs.
+
+       * shr.el (shr-tag-img): Shorten ALT texts and allow them to be
+       line-broken.
+       (shr-tag-img): Ignore image fetching errors.
+       (shr-overlays-in-region): Compute overlay positions correctly.
+
+       * mm-decode.el (mm-shr): Require shr.
+
+       * gnus-art.el (gnus-blocked-images): Move variable here.
+
+       * shr.el (shr-insert-table): Bind free variable.
+
+       * mm-decode.el (mm-shr): Bind shr-content-function.
+
+       * shr.el (shr-content-function): New variable.
+
+       * gnus-sum.el (gnus-article-sort-by-most-recent-date): New function,
+       added for symmetry.
+
+       * nnir.el (nnir-retrieve-headers): Don't bug out on invalid data.
+
+       * gnus-group.el (gnus-group-make-group): Doc fix.
+
+       * nnimap.el (nnimap-request-newgroups): Return success.
+
+       * shr.el (shr-find-elements): New function.
+       (shr-tag-table): Put all the images after the table.
+       (shr-tag-table): Really inhibit images inside the table.
+       (shr-collect-overlays): Copy over overlays from the TD elements to the
+       main document.
+
+       * mm-decode.el (mm-shr): Bind shr-blocked-images to
+       gnus-blocked-images.
+
+2010-10-05  Julien Danjou  <julien@danjou.info>
+
+       * sieve-manage.el (sieve-sasl-auth): Use auth-source to authenticate.
+
+       * gnus-html.el (gnus-html-wash-images): Rescale image from cid too.
+       (gnus-html-maximum-image-size): Add this function.
+       (gnus-html-put-image): Use gnus-html-maximum-image-size.
+
+       * sieve-manage.el (sieve-manage-capability): Do not bug out when the
+       server-value of the capability is nil.
+
+2010-10-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-tag-em): Add <EM> tag.
+
+2010-10-05  Florian Ragwitz  <rafl@debian.org>  (tiny change)
+
+       * sieve-manage.el (sieve-manage-default-stream): Make default stream
+       customizable.
+
+       * gnus-html.el (gnus-html-wash-tags): Decode URL entities to avoid
+       handing broken links to browse-url.
+
+2010-10-05  Julien Danjou  <julien@danjou.info>
+
+       * gnus-util.el (gnus-emacs-completing-read)
+       (gnus-iswitchb-completing-read): Use autoload rather than require.
+
+2010-10-05  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * lpath.el: Fbind libxml-parse-html-region and shr-insert-document for
+       Emacs 22 and XEmacs; fbind help-function-arglist for XEmacs 21.4 and
+       SXEmacs; fbind ido-completing-read, and bind iswitchb-mode and
+       iswitchb-temp-buflist for XEmacs.
+
+       * gnus-util.el (gnus-completing-read-function): Exclude
+       gnus-icompleting-read and gnus-ido-completing-read from candidates for
+       XEmacs since iswitchb.el is very old and ido.el is unavailable in
+       XEmacs.
+
+       * gnus-registry.el (gnus-registry-install-nnregistry): Rewrite so as
+       not to use `delete-dups' that is unavailable in XEmacs 21.4.
+
+       * gnus-html.el: Don't require help-fns under XEmacs.
+       (gnus-html-schedule-image-fetching): Work for XEmacs.
+
+       * mm-decode.el (mm-shr): Decode contents by charset.
+
+2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-open-connection): Give an error if nnimap-stream is
+       unknown.
+
+       * shr.el (shr-tag-blockquote): Ensure paragraph after quote, too.
+       (shr-get-image-data): Ensure against the cache file missing.
+
+       * nnimap.el (nnimap-finish-retrieve-group-infos): Message while waiting
+       for data.
+
+       * spam-report.el (spam-report-url-ping-plain): Don't query about
+       killing the process.
+
+       * shr.el (shr-render-td): Protect against too-wide text.
+
+2010-10-04  Julien Danjou  <julien@danjou.info>
+
+       * mml-smime.el (mml-smime-openssl-encrypt-query): Fix choices.
+       (mml-smime-openssl-sign-query): Fix gnus-completing-read call.
+
+       * gravatar.el (gravatar-retrieved): Kill buffer when gravatar has been
+       retrieved.
+
+2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (browse-url): Required.
+       (shr-ensure-paragraph): Don't insert a new newline after empty-ish
+       lines.
+       (shr-show-alt-text, shr-browse-image): New commands.
+       (shr-browse-url, shr-copy-url): New commands.
+
+       * gnus-sum.el (gnus-widen-article-window): New variable.
+       (gnus-summary-select-article-buffer): Use it.
+
+       * message.el (message-idna-to-ascii-rhs-1): Don't bug out on addresses
+       without @ signs.
+
+2010-10-04  Michael Welsh Duggan  <md5i@md5i.com>  (tiny change)
+
+       * nnir.el (nnir-run-imap): Remove spurious space in search string.
+
+2010-10-04  Julien Danjou  <julien@danjou.info>
+
+       * gnus-util.el (gnus-emacs-completing-read): Mapcar collection to list,
+       for XEmacs.
+
+2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-salt.el: Remove all gnus-carpal stuff -- it's not useful.
+
+       * nnimap.el (nnimap-open-connection): Allow tls as a synonym for ssl.
+       (nnimap-close-server): Implement.
+
+       * dgnushack.el (iswitchb): Require to shut up the compiler.
+
+       * shr.el (shr-ensure-paragraph): Fix the non-empty line case.
+       (shr-insert): Tweak line breaking.
+       (shr-insert): Handle <pre> better.
+       (shr-tag-li): Get <li> indentation right.
+       (shr-tag-li): Get <li> indentation even righter.
+       (shr-tag-blockquote): Ensure paragraph start.
+       (shr-make-table): Tweak table generation.
+       (shr-make-table): Fix typo.
+
+       * shr.el: Implement table rendering.
+
+2010-10-04  Julien Danjou  <julien@danjou.info>
+
+       * gnus-html.el (gnus-html-put-image): Fix resize image code.
+
+2010-10-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-insert): Use string anchors instead of line anchors.
+
 2010-10-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * shr.el: Add headings.
@@ -7,6 +267,9 @@
        (shr-tag-p): Collapse subsequent <p>s.
        (shr-ensure-paragraph): Don't insert double line feeds after blank
        lines.
+       (shr-insert): \t is also space.
+       (shr-tag-s): Fix "s" tag name function.
+       (shr-tag-s): Fix face prop name.
 
 2010-10-03  Julien Danjou  <julien@danjou.info>
 
        Rename tag functions to shr-tag-* for enhanced security.
        (shr-tag-ul, shr-tag-ol, shr-tag-li, shr-tag-br): New functions.
 
+2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
+
+       * shr.el (shr-insert):
+       * pop3.el (pop3-movemail):
+       * gnus-html.el (gnus-html-wash-tags): Don't use plusp, as cl may not be
+       loaded.
+
 2010-10-03  Glenn Morris  <rgm@gnu.org>
 
        * nnmairix.el (nnmairix-replace-illegal-chars): Drop Emacs 20 code.