1. 17 Dec, 2013 1 commit
  2. 16 Dec, 2013 1 commit
  3. 07 Dec, 2013 1 commit
  4. 01 Dec, 2013 6 commits
  5. 18 Sep, 2013 1 commit
  6. 16 Aug, 2013 1 commit
  7. 13 Aug, 2013 3 commits
  8. 06 Aug, 2013 2 commits
  9. 30 Jul, 2013 3 commits
  10. 19 Jul, 2013 2 commits
  11. 08 Jul, 2013 1 commit
  12. 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
  13. 28 Jun, 2013 1 commit
  14. 27 Jun, 2013 1 commit
  15. 25 Jun, 2013 1 commit
  16. 24 Jun, 2013 3 commits
  17. 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
  18. 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
  19. 18 Jun, 2013 5 commits
  20. 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