2013-06-17 Lars Magne Ingebrigtsen * shr.el (shr-colorize-region): Put the colours over the entire region. * 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 * 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 * 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 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. * eww.el (eww-tag-textarea): Support