Protect against invalid column-spans.
[gnus] / lisp / ChangeLog
index e38e175..2b0ab1b 100644 (file)
@@ -1,5 +1,178 @@
+2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-make-table-1): Protect against invalid column-spans.
+
+2013-06-19  Tom Tromey  <tromey@redhat.com>
+
+       * net/eww.el (eww-top-url): Remove.
+       (eww-home-url, eww-start-url, eww-contents-url): New defvars.
+       (eww-render): Set new variables.  Don't set eww-top-url.
+       (eww-handle-link): Handle "prev", "home", and "contents".
+       Downcase the rel text.
+       (eww-top-url): Choose best top URL.
+
+2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * eww.el: Rewrite to implement form elements "by hand" instead of
+       relying in widget.el.  Using widget.el leads to too many
+       user interface inconsistencies.
+       (eww-self-insert): Implement entering commands in text fields.
+       (eww-process-text-input): New function to make text input field editing
+       work.
+       (eww-submit): Rewrite to use the new-style form methods.
+       (eww-select-display): Display the correct selected item.
+       (eww-change-select): Implement changing the select value.
+       (eww-toggle-checkbox): Implement radio/checkboxes.
+       (eww-update-field): Fix compilation error.
+       (eww-tag-textarea): Implement <textarea>.
+
+       * shr.el (shr-urlify): Use `keymap' instead of `local-map' so that we
+       don't shadow mode-specific bindings.
+
+       * eww.el (eww-browse-url): Don't push stuff onto history if there's
+       nothing to push.
+
+       * shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
+
+2013-06-19  Glenn Morris  <rgm@gnu.org>
+
+       * gnus-group.el (gnus-mark-article-as-read): Fix declaration.
+
+2013-06-18  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * auth-source.el (auth-source-netrc-parse-entries): Remove debugging.
+
+2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-make-table-1): Implement <td rowspan>.
+       (shr-table-horizontal-line): Allow nil as a value, and change the
+       default.
+       (shr-insert-table-ruler): Respect the nil value.
+
+2013-06-18  Tom Tromey  <tromey@barimba>
+
+       * eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
+       New defvars.
+       (eww-open-file): New defun.
+       (eww-render): Initialize new variables.
+       (eww-display-html): Handle "link" and "a".
+       (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
+       (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
+       (eww-back-url): Rename from eww-previous-url.
+       (eww-next-url, eww-previous-url, eww-up-url, eww-top-url): New
+       defuns.
+
+2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-tag-table): Insert the images after the table, so that
+       they're not covered by the table colourisation, which often looked
+       awkward.
+       (shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and
+       <dd>.
+       (shr-make-table-1): Implement <td colspan=> support.
+       (shr-insert-document): Use one less than window width if `shr-width' is
+       nil, since otherwise things may get one character too wide.
+
+2013-06-18  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * eww.el (eww-detect-charset): Improve regexp; move backward.
+
+2013-06-18  Glenn Morris  <rgm@gnu.org>
+
+       * mm-decode.el (widget-convert-button): Autoload.
+
+       * sieve-manage.el (mm-enable-multibyte): Autoload.
+
+       * shr.el (libxml-parse-html-region): Declare.
+       (shr-render-buffer): Explicit error if no libxml2 support.
+
+2013-06-17  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * auth-source.el (auth-source-current-line): New function.
+       (auth-source-netrc-parse-entries): When a data token is "machine",
+       assume we're in the wrong place and abort parsing the current line.
+
+2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * eww.el (eww-tag-select): Don't render totally empty <select> forms.
+       (eww-convert-widgets): Don't bug out if the first widget starts at the
+       beginning of the buffer.
+       (eww-convert-widgets): Fix last patch.
+       (eww-tag-input): Support <input type=image>.
+
+       * shr.el (shr-insert-table): Respect border-collapse: collapse.
+       (shr-tag-base): Protect against base specs that are degenerate.
+       (shr-ensure-paragraph): Don't delete empty lines that have text
+       properties, because these may be input fields.
+
+       * eww.el (eww-convert-widgets): Put `help-echo' on input fields so that
+       we can navigate to them.
+
+       * shr.el (shr-colorize-region): Put the colours over the entire region.
+       (shr-inhibit-decoration): New variable.
+       (shr-add-font): Use it to inhibit text property decorations while doing
+       preliminary table renderings.  This speeds up typical Wikipedia page
+       renderings by 15%.
+       (shr-tag-span): Don't respect the <title>, because that overwrites the
+       help-echo from links inside the spans.
+       (shr-next-link): Use `help-echo' for navigation, so that we can
+       navigate to form elements, too.
+
+       * eww.el (eww-button): New face.
+       (eww-convert-widgets): Use it to make submit buttons more button-like.
+
+       * mm-decode.el (mm-convert-shr-links): Override the shr local map, so
+       that Gnus commands work.
+
+       * shr.el (shr-render-td): Support horizontal alignment.
+
+       * eww.el (eww-put-color): Removed.
+       (eww-colorize-region): Use `add-face-text-property'.
+
+       * shr.el (shr-add-font): Append face data, so that we get the correct
+       presedence: The innermost value (which is applied first) wins.
+       (shr-make-overlay): Obsolete function.
+
+       * mm-decode.el (mm-convert-shr-links): New function to convert
+       new-style shr URL links into widgets.
+       (mm-shr): Use it.
+
+       * eww.el (eww-mode-map): Use `shr-next-link' (etc) instead of the
+       widget commands, since we're no longer using widgets for links.
+
+       * shr.el (shr-next-link): New command.
+       (shr-previous-link): New command.
+       (shr-urlify): Don't use `widget-convert', because that's slow.
+       (shr-put-color-1): Use `add-face-text-property' instead of overlays,
+       because collecting the overlays and reapplying them when generating
+       tables is slow.
+       (shr-insert-table): Ditto.
+
+2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * sieve.el (sieve-edit-script): Avoid beginning-of-buffer.
+       * shr.el (browse-url): Require `url'.
+       * eww.el (url): Require format-spec.
+
 2013-06-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * eww.el (eww-display-html): Default to using the entire window width.
+       (eww-browse-url): Don't add a User-Agent header (twice), because that
+       makes Bing refuse connection.
+
+       * shr.el (shr-make-table): Cache the table rendering at the table
+       level, and not the <td> level.  This is a bit faster.
+
+       * eww.el (eww-render): Go to the correct ID when given URLs ending with
+       #id.
+
+       * shr.el (shr-tag-li): Don't require a new paragraph, since other
+       browsers don't.
+       (shr-expand-url): Respect #anchor links.
+       (shr-parse-base): Chop off the anchor before using.
+       (shr-descend): Respect display: none.
+       (shr-descend): Allow marking elements that have certain IDs.
+
        * eww.el (eww-tag-textarea): Use `text' instead of `editable-field'.
 
        * shr.el (shr-expand-url): Don't bug out on zero-length links.