1. 18 Jun, 2013 6 commits
  2. 17 Jun, 2013 6 commits
    • Ted Zlatanov's avatar
    • Lars Magne Ingebrigtsen's avatar
    • 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
  3. 16 Jun, 2013 2 commits
    • Lars Magne Ingebrigtsen's avatar
      lisp/gnus/eww.el (eww-browse-url): Don't add a User-Agent (twice), because... · 5c3087e9
      Lars Magne Ingebrigtsen authored
      lisp/gnus/eww.el (eww-browse-url): Don't add a User-Agent (twice), because that makes Bing refuse connection
      5c3087e9
    • 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
  4. 15 Jun, 2013 1 commit
  5. 14 Jun, 2013 4 commits
  6. 13 Jun, 2013 3 commits
  7. 12 Jun, 2013 2 commits
  8. 11 Jun, 2013 2 commits
    • Albert Krewinkel's avatar
      lisp/gnus/sievel-manage.el: fully support STARTTLS, fix bit rot · 8e16fb98
      Albert Krewinkel authored
      * Make sieve-manage-open work with STARTTLS: shorten stream managing
        functions by using open-protocol-stream to do most of the work.  Has
        the nice benefit of enabling STARTTLS.
      
      * Remove unneeded functions and options: the following functions and
        options are neither in the API, nor called by any other function, so
        they are deleted:
        - sieve-manage-network-p
        - sieve-manage-network-open
        - sieve-manage-starttls-p
        - sieve-manage-starttls-open
        - sieve-manage-forward
        - sieve-manage-streams
        - sieve-manage-stream-alist
      
        The options could not be applied in a meaningful way anymore; they
        didn't happen to have much effect before.
      
      * Cosmetic changes and code clean-up
      
      * Enable Multibyte for SieveManage buffers: The parser won't properly
        handle umlauts and line endings unless multibyte is turned on in the
        process buffer.
      
      * Wait for capabilities after STARTTLS: following RFC5804, the server
        sends new capabilities after successfully establishing a TLS
        connection with the client.  The client should update the cached list
        of capabilities, but we just ignore the answer for now.
      8e16fb98
    • Lars Magne Ingebrigtsen's avatar
      lisp/gnus/eww.el (eww-tag-input): Support password fields · d583b36b
      Lars Magne Ingebrigtsen authored
      (eww-submit): Support POST
      d583b36b
  9. 10 Jun, 2013 5 commits
  10. 06 Jun, 2013 1 commit
  11. 04 Jun, 2013 1 commit
  12. 02 Jun, 2013 1 commit
    • David Engster's avatar
      * registry.el (initialize-instance, registry-lookup) · f38a45fa
      David Engster authored
        (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
        (registry-lookup-secondary-value, registry-search, registry-delete)
        (registry-insert, registry-reindex, registry-size, registry-prune): Do
        not wrap methods in `eval-and-compile'.  This breaks due to latest
        changes in EIEIO (introduction of eieio-core.el).
      f38a45fa
  13. 30 May, 2013 3 commits
  14. 29 May, 2013 1 commit
    • Glenn Morris's avatar
      Silence some gnus compilation warnings · cf6a9685
      Glenn Morris authored
      * gnus/gnus-ems.el (set-process-plist): Every supported Emacs has this.
      
      * gnus/gnus-group.el (gnus-sequence-of-unread-articles)
      (gnus-summary-add-mark, gnus-mark-article-as-read)
      (gnus-group-make-articles-read): Declare.
      
      * gnus/gnus-sum.el (gnus-parameter-list-identifier)
      (gnus-article-stop-animations, gnus-stop-downloads)
      (gnus-article-only-boring-p, article-goto-body)
      (gnus-flush-original-article-buffer, article-narrow-to-head)
      (gnus-article-hidden-text-p, gnus-delete-wash-type)
      (gnus-summary-save-in-pipe, gnus-article-show-summary): Declare.
      
      * gnus/gnus.el: No need to eval-and-compile autoloads.
      
      * gnus/gravatar.el (help-function-arglist): Autoload.
      
      * gnus/nnimap.el (gnus-refer-thread-use-nnir): Declare.
      
      * gnus/nnmail.el (nnmail-fancy-expiry-target): Maybe use mail-dont-reply-to.
      
      * gnus/spam.el: No need to load spam-report when compiling.
      No need to eval-and-compile autoloads.
      (spam-report-resend-to): Declare.
      (spam-report-resend-register-routine): Require 'spam-report.
      cf6a9685
  15. 24 May, 2013 1 commit
  16. 23 May, 2013 1 commit
    • Glenn Morris's avatar
      Silence gnus-util compilation · f707048c
      Glenn Morris authored
      * lisp/gnus/gnus-util.el (rmail-swap-buffers-maybe)
      (rmail-maybe-set-message-counters, rmail-count-new-messages)
      (rmail-summary-exists, rmail-show-message, rmail-summary-displayed)
      (rmail-pop-to-buffer, rmail-maybe-display-summary): Declare.
      f707048c