1. 01 Dec, 2013 6 commits
  2. 18 Sep, 2013 1 commit
  3. 16 Aug, 2013 1 commit
  4. 13 Aug, 2013 3 commits
  5. 06 Aug, 2013 2 commits
  6. 30 Jul, 2013 3 commits
  7. 19 Jul, 2013 2 commits
  8. 08 Jul, 2013 1 commit
  9. 30 Jun, 2013 1 commit
    • Lars Magne Ingebrigtsen's avatar
      Fix shr table rendering infloop · 2fae38e5
      Lars Magne Ingebrigtsen authored
      * net/shr.el (shr-make-table-1): Add a sanity check that allows
      progression on degenerate tables.
      (shr-rescale-image): ImageMagick animated images currently doesn't
      work.
      2fae38e5
  10. 28 Jun, 2013 1 commit
  11. 27 Jun, 2013 1 commit
  12. 25 Jun, 2013 1 commit
  13. 24 Jun, 2013 3 commits
  14. 23 Jun, 2013 1 commit
    • Lars Magne Ingebrigtsen's avatar
      Implement :max-width/:max-height for (ImageMagic) images · f3f9606c
      Lars Magne Ingebrigtsen authored
      * doc/lispref/display.texi (ImageMagick Images): Mention :max-width and
      :max-height.
      
      * lisp/net/shr.el (shr-rescale-image): Use the new
      :max-width/:max-height functionality.
      
      * src/image.c (compute_image_size): New function to implement
      :max-width and :max-height.
      (imagemagick_load_image): Use it.
      f3f9606c
  15. 19 Jun, 2013 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus master · 970ad972
      Gnus developers authored
      2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
      * net/eww.el (eww-process-text-input): Display passwords as asterisks.
      * net/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>
      * net/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>.
      * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that we
      don't shadow mode-specific bindings.
      * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
      nothing to push.
      * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
      970ad972
  16. 18 Jun, 2013 5 commits
  17. 17 Jun, 2013 4 commits
    • Lars Magne Ingebrigtsen's avatar
      lisp/gnus/{eww,shr}.el: Merge changes made in Gnus master · be2aa135
      Lars Magne Ingebrigtsen authored
      lisp/gnus/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.
      
      lisp/gnus/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.
      
      lisp/gnus/eww.el (eww-convert-widgets): Put `help-echo' on input fields so that we can navigate to them.
      
      lisp/gnus/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.
      
      lisp/gnus/eww.el (eww-button): New face.
      (eww-convert-widgets): Use it to make submit buttons more button-like.
      be2aa135
    • Lars Magne Ingebrigtsen's avatar
      lisp/gnus/mm-decode.el (mm-convert-shr-links): Override the shr local map, so... · 544d4594
      Lars Magne Ingebrigtsen authored
      lisp/gnus/mm-decode.el (mm-convert-shr-links): Override the shr local map, so that Gnus commands work
      
      lisp/gnus/shr.el (shr-render-td): Support horizontal alignment
      
      Make eww use `add-face-text-property', too
      lisp/gnus/shr.el (shr-make-overlay): Obsolete function
      lisp/gnus/eww.el (eww-put-color): Removed
      (eww-colorize-region): Use `add-face-text-property'
      
      Get correct presedence for font data
      lisp/gnus/shr.el (shr-add-font): Append face data, so that we get the correct presedence: The innermost value (which is applied first) wins
      544d4594
    • Lars Magne Ingebrigtsen's avatar
      Convert shr.el from using overlays into using text properties · 7304e4dd
      Lars Magne Ingebrigtsen authored
      * eww.el (eww-mode-map): Use `shr-next-link' (etc) instead of the
      widget commands, since we're no longer using widgets for links.
      
      * mm-decode.el (mm-convert-shr-links): New function to convert
      new-style shr URL links into widgets.
      (mm-shr): Use it.
      
      * 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.
      7304e4dd
    • Stefan Monnier's avatar
      * lisp/gnus/sieve.el (sieve-edit-script): Avoid beginning-of-buffer. · 7545bd25
      Stefan Monnier authored
      * lisp/gnus/shr.el (browse-url): Require `url'.
      * lisp/gnus/eww.el (url): Require format-spec.
      7545bd25
  18. 16 Jun, 2013 1 commit
    • Gnus developers's avatar
      2013-06-16 Lars Magne Ingebrigtsen <larsi@gnus.org> · c74cb344
      Gnus developers authored
      * eww.el (eww-display-html): Default to using the entire window width.
      * 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.
      * eww.el (eww-tag-textarea): Support <textarea>.
      
      2013-06-16 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
      * shr.el (shr-dom-to-xml): Fixed function call.
      * eww.el (eww): New group.
      (eww-header-line-format): New custom variable.
      (eww-current-title): New variable.
      (eww-display-html): Update header and handle title tag.
      (eww-update-header-line-format): New function.
      (eww-tag-title): New function.
      * shr.el (shr-dom-to-xml): (shr-dom-to-xml): New function.
      (shr-tag-svg): Add support for the SVG tag.
      (shr-bullet): New custom variable.
      (shr-tag-li): Support custom bullet in unordered lists.
      2013-06-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
      * shr.el (shr-expand-url): Respect // URLs.
      * eww.el (eww-tag-body): Override the shr body rendering so that we can
      put a background colour onto the entire buffer.
      (eww-render): When being redirected, use the redirect URL as the new
      base URL.
      * shr.el (shr-parse-base): Fix parsing error.
      * eww.el (eww-submit): Pass the base in to `shr-expand-url'.
      * shr.el (shr-parse-base): New function.
      (shr-expand-url): Use it to expand relative URLs reliably.
      c74cb344
  19. 14 Jun, 2013 2 commits