1. 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
  2. 28 Jun, 2013 1 commit
  3. 27 Jun, 2013 1 commit
  4. 25 Jun, 2013 1 commit
  5. 24 Jun, 2013 3 commits
  6. 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
  7. 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
  8. 18 Jun, 2013 5 commits
  9. 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
  10. 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
  11. 14 Jun, 2013 2 commits
  12. 13 Jun, 2013 1 commit
  13. 12 Jun, 2013 1 commit
  14. 10 Jun, 2013 3 commits
  15. 30 May, 2013 1 commit
  16. 19 May, 2013 1 commit
  17. 09 May, 2013 1 commit
    • Glenn Morris's avatar
      Fix a bunch of custom types (thank you cus-test.el) · a931698a
      Glenn Morris authored
      * lisp/bookmark.el (bookmark-search-delay):
      * lisp/cus-start.el (vertical-centering-font-regexp):
      * lisp/ps-mule.el (ps-mule-font-info-database-default):
      * lisp/ps-print.el (ps-default-fg, ps-default-bg):
      * lisp/type-break.el (type-break-good-break-interval):
      * lisp/whitespace.el (whitespace-indentation-regexp)
      (whitespace-space-after-tab-regexp):
      * lisp/emacs-lisp/testcover.el (testcover-1value-functions)
      (testcover-noreturn-functions, testcover-progn-functions)
      (testcover-prog1-functions):
      * lisp/emulation/viper-init.el (viper-emacs-state-cursor-color):
      * lisp/erc/erc-desktop-notifications.el (erc-notifications-icon):
      * lisp/eshell/em-glob.el (eshell-glob-translate-alist):
      * lisp/gnus/gnus-art.el (gnus-article-date-headers, gnus-blocked-images):
      * lisp/gnus/gnus-async.el (gnus-async-post-fetch-function):
      * lisp/gnus/gnus-gravatar.el (gnus-gravatar-size, gnus-gravatar-properties):
      * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl):
      * lisp/gnus/gnus-notifications.el (gnus-notifications-timeout):
      * lisp/gnus/gnus-picon.el (gnus-picon-properties):
      * lisp/gnus/gnus-util.el (gnus-completion-styles):
      * lisp/gnus/gnus.el (gnus-other-frame-resume-function):
      * lisp/gnus/message.el (message-user-organization-file)
      (message-cite-reply-position):
      * lisp/gnus/nnir.el (nnir-summary-line-format)
      (nnir-retrieve-headers-override-function):
      * lisp/gnus/shr-color.el (shr-color-visible-luminance-min):
      * lisp/gnus/shr.el (shr-blocked-images):
      * lisp/gnus/spam-report.el (spam-report-resend-to):
      * lisp/gnus/spam.el (spam-summary-exit-behavior):
      * lisp/mh-e/mh-e.el (mh-sortm-args, mh-default-folder-for-message-function):
      * lisp/play/tetris.el (tetris-tty-colors):
      * lisp/progmodes/cpp.el (cpp-face-default-list):
      * lisp/progmodes/flymake.el (flymake-allowed-file-name-masks):
      * lisp/progmodes/idlw-help.el (idlwave-help-browser-generic-program)
      (idlwave-help-browser-generic-args):
      * lisp/progmodes/make-mode.el (makefile-special-targets-list):
      * lisp/progmodes/python.el (python-shell-virtualenv-path):
      * lisp/progmodes/verilog-mode.el (verilog-active-low-regexp)
      (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
      (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
      (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
      * lisp/textmodes/reftex-vars.el (reftex-format-label-function):
      * lisp/textmodes/remember.el (remember-diary-file):
      Fix custom types.
      
      * lisp/cedet/semantic/db-find.el (semanticdb-find-throttle-custom-list):
      Fix value.
      
      * lisp/gnus/gnus-salt.el (gnus-selected-tree-face): Fix default.
      a931698a
  18. 16 Apr, 2013 1 commit
  19. 05 Mar, 2013 1 commit
  20. 04 Mar, 2013 1 commit
  21. 17 Feb, 2013 1 commit
  22. 16 Feb, 2013 1 commit
    • Glenn Morris's avatar
      Generalize "animated" images to "multi-frame" images · ed8d7fca
      Glenn Morris authored
      * lisp/image.el (image-animated-types): Remove.
      (image-multi-frame-p): Rename from image-animated-p, and generalize.
      (image-animated-p): Make obsolete alias.
      (image-animate, image-nth-frame, image-animate-timeout):
      Use image-multi-frame-p.
      (image-animate-timeout): If no delay, use image-default-frame-delay.
      
      * lisp/image-mode.el (image-mode, image-toggle-animation):
      Use image-multi-frame-p.
      (image-mode): Adjust startup message for a multi-frame image.
      
      * lisp/gnus/shr.el (shr-put-image): Only animate images that specify a delay.
      This is consistent with the old image-animated-p behavior.
      
      * etc/NEWS: Add placeholder for this.
      
      Fixes: debbugs:10739
      ed8d7fca
  23. 01 Jan, 2013 1 commit
  24. 25 Dec, 2012 1 commit
    • Gnus developers's avatar
      Merge changes made in Gnus master · cc21c235
      Gnus developers authored
      2012-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
      * gnus-sum.el (gnus-set-global-variables): Don't copy over the summary
        buffer to the article buffer here, because that clobbers multiple
        article buffers.
      * gnus-art.el (gnus-article-setup-buffer): Make sure that the article
        buffer always points to the right summary buffer.
      
      2012-12-25  John Wiegley  <jwiegley@gmail.com>
      * auth-source.el (auth-source-netrc-parse): Allow using "password" as
        the password (bug#12097).
      
      2012-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
      * shr.el (shr-tag-a): Don't tagify <A> elements that don't have HREFs
        (bug#13263).
      * gnus-salt.el (gnus-highlight-selected-tree): Check whether the Tree
        buffer exists before using it (bug#12475).
      * gnus-agent.el (gnus-agent-fetch-articles): Don't fetch articles from
        offline groups (bug#11937).
      * message.el (message-yank-original): When using customize to set the
        value of `message-cite-style', the variable it set to a symbol that's
        the name of the variable, which must then be dereferenced (bug#12616).
      
      2012-09-13  Wolfgang Jenkner  <wjenkner@inode.at>
      * lisp/gnus-spec.el (gnus-face-face-function): Initialize the value of
        the `face' property with a list whose car is the face specified in the
        format string and whose cdr is (nil).
      * lisp/gnus-util.el
        (gnus-put-text-property-excluding-characters-with-faces): Change
        accordingly.
        (gnus-get-text-property-excluding-characters-with-faces): New function.
      * lisp/gnus-sum.el (gnus-summary-highlight-line):
      * lisp/gnus-salt.el (gnus-tree-highlight-node):
      * lisp/gnus-group.el (gnus-group-highlight-line): Use it.
      cc21c235
  25. 24 Dec, 2012 1 commit
  26. 23 Dec, 2012 1 commit
  27. 09 Oct, 2012 1 commit
  28. 10 Jul, 2012 1 commit