gnus
10 years agoCompilation warning fix
Lars Magne Ingebrigtsen [Thu, 1 Aug 2013 21:06:26 +0000 (23:06 +0200)]
Compilation warning fix

* gnus-icalendar.el (gnus-icalendar-event:inline-reply-buttons):
Include `handle' parameter.

10 years ago* gnus-icalendar.el: New file.
Jan Tatarik [Thu, 1 Aug 2013 21:01:31 +0000 (23:01 +0200)]
* gnus-icalendar.el: New file.

10 years ago* gnus-int.el (gnus-warp-to-article): Mention that warp means jump.
Lars Magne Ingebrigtsen [Thu, 1 Aug 2013 16:17:41 +0000 (18:17 +0200)]
* gnus-int.el (gnus-warp-to-article): Mention that warp means jump.

10 years ago* gnus.texi (Basic Usage): Mention that warp means jump here.
Lars Magne Ingebrigtsen [Thu, 1 Aug 2013 16:16:44 +0000 (18:16 +0200)]
* gnus.texi (Basic Usage): Mention that warp means jump here.

10 years agoFix thread marking on dummy roots
Lars Magne Ingebrigtsen [Thu, 1 Aug 2013 16:04:06 +0000 (18:04 +0200)]
Fix thread marking on dummy roots

* gnus-uu.el (gnus-uu-mark-thread, gnus-uu-unmark-thread): Work with
dummy roots, too.

10 years ago(mml2015-epg-key-image-to-string): Protect against bugging out on ttys.
David Edmondson [Thu, 1 Aug 2013 14:27:17 +0000 (16:27 +0200)]
(mml2015-epg-key-image-to-string): Protect against bugging out on ttys.

10 years agoDribble save cleanup
Lars Magne Ingebrigtsen [Thu, 1 Aug 2013 14:22:35 +0000 (16:22 +0200)]
Dribble save cleanup

* gnus-start.el (gnus-dribble-save): Only save the dribble file if it's
not empty.

10 years ago* nnrss.el (nnrss-discover-feed): Indent.
Lars Magne Ingebrigtsen [Thu, 1 Aug 2013 11:08:58 +0000 (13:08 +0200)]
* nnrss.el (nnrss-discover-feed): Indent.

10 years agognus-util.el (gnus-emacs-completing-read): Isolate XEmacs stuff
Katsumi Yamaoka [Thu, 1 Aug 2013 03:51:45 +0000 (03:51 +0000)]
gnus-util.el (gnus-emacs-completing-read): Isolate XEmacs stuff

10 years ago* gnus-start.el (gnus-read-active-for-groups): Always mark the data as
Lars Magne Ingebrigtsen [Tue, 30 Jul 2013 14:53:53 +0000 (16:53 +0200)]
* gnus-start.el (gnus-read-active-for-groups): Always mark the data as
dirty to ensure nnimap data being saved.

10 years agoAdd possibility to show the current thread's total score.
Tassilo Horn [Tue, 30 Jul 2013 13:27:18 +0000 (15:27 +0200)]
Add possibility to show the current thread's total score.

* gnus-sum.el (gnus-summary-make-menu-bar): Add "Current thread score"
menu entry.

* gnus-score.el (gnus-summary-current-score): Use prefix arg to show
the current thread's total score instead of the current article's
score.

10 years agoMake subthread sorting customizable and add docs for it.
Tassilo Horn [Tue, 30 Jul 2013 07:52:15 +0000 (09:52 +0200)]
Make subthread sorting customizable and add docs for it.

* gnus-sum.el (gnus-subthread-sort-functions): New defcustom.
(gnus-sort-threads-recursively): Delete defcustom.
(gnus-sort-threads-recursive): Adapt accordingly.

* gnus.texi (Sorting the Summary Buffer): Document new defcustom
`gnus-subthread-sort-functions' and remove the obsolete documentation
of `gnus-sort-threads-recursively'.

10 years agoImprove subthread sorting.
Tassilo Horn [Tue, 30 Jul 2013 06:54:34 +0000 (08:54 +0200)]
Improve subthread sorting.

* gnus-sum.el (gnus-sort-subthreads-recursive): New function.
(gnus-sort-threads-recursive): Use it.
(gnus-sort-threads): Unconditionally call `gnus-sort-threads-recursive'
again.  Now that determines how to sort subthreads.

10 years agoFix typos in ChangeLogs
Juanma Barranquero [Sun, 28 Jul 2013 22:33:29 +0000 (22:33 +0000)]
Fix typos in ChangeLogs

10 years agoAdd option to sort threads non-recursively.
Tassilo Horn [Fri, 26 Jul 2013 13:38:08 +0000 (15:38 +0200)]
Add option to sort threads non-recursively.

* gnus-sum.el (gnus-sort-threads-recursively): New defcustom.
(gnus-sort-threads): Use it.

* gnus.texi (Sorting the Summary Buffer): Document new defcustom
`gnus-sort-threads-recursively'.

10 years agognus-art.el (gnus-button-url-regexp): Make it match url in which punctuation characte...
Andreas Schwab [Thu, 25 Jul 2013 23:40:38 +0000 (23:40 +0000)]
gnus-art.el (gnus-button-url-regexp): Make it match url in which punctuation characters follow parentheses (bug#14950)

10 years agoFix previous commit
Katsumi Yamaoka [Tue, 23 Jul 2013 07:03:58 +0000 (07:03 +0000)]
Fix previous commit

* gnus.el (gnus-continuum-version):
* gnus-msg.el (gnus-extended-version): Simplify.

* gnus.el (gnus-continuum-version-1): Remove.
* gnus-msg.el (gnus-bug): Revert.

10 years agoCalculate gnus-version correctly on Cygwin
Katsumi Yamaoka [Tue, 23 Jul 2013 05:21:35 +0000 (05:21 +0000)]
Calculate gnus-version correctly on Cygwin

* gnus.el (gnus-continuum-version): Do main calculations in integers.
  (gnus-continuum-version-1): New function, return a string.
* gnus-msg.el (gnus-extended-version, gnus-bug):
  Use gnus-continuum-version-1 instead of gnus-continuum-version.

10 years agoAllow using functions as treatment predicates.
Lars Magne Ingebrigtsen [Fri, 19 Jul 2013 14:01:28 +0000 (16:01 +0200)]
Allow using functions as treatment predicates.

10 years agoClean up newsrc cleanup
Lars Magne Ingebrigtsen [Thu, 18 Jul 2013 13:30:25 +0000 (15:30 +0200)]
Clean up newsrc cleanup

* gnus-start.el (gnus-clean-old-newsrc): Remove the newsrc cleanups
that were only relevant in a development version a long time ago.

10 years agognus-art.el (gnus-shr-put-image): Make it work as well for shr.el's that the old...
Katsumi Yamaoka [Thu, 18 Jul 2013 11:21:18 +0000 (11:21 +0000)]
gnus-art.el (gnus-shr-put-image): Make it work as well for shr.el's that the old Emacs 24s bundle

10 years agoregistry.el: Spelling fix for "does not exists"
Paul Eggert [Tue, 16 Jul 2013 06:31:34 +0000 (06:31 +0000)]
registry.el: Spelling fix for "does not exists"

10 years agognus-sum.el (gnus-newsgroup-unexist): Spelling fix
Paul Eggert [Sun, 14 Jul 2013 09:37:06 +0000 (09:37 +0000)]
gnus-sum.el (gnus-newsgroup-unexist): Spelling fix

10 years ago* gnus-start.el (gnus-clean-old-newsrc): Always remove 'unexist' marks
David Engster [Wed, 10 Jul 2013 19:02:59 +0000 (21:02 +0200)]
* gnus-start.el (gnus-clean-old-newsrc): Always remove 'unexist' marks
if `gnus-newsrc-file-version' does not match `gnus-version'.  This
fixes a bug in Emacs trunk where the 'unexist' marks were always
removed at startup because "Gnus v5.13" was considered smaller than
"Ma Gnus v0.03".

10 years agoDocfix.
Tassilo Horn [Wed, 10 Jul 2013 12:38:32 +0000 (14:38 +0200)]
Docfix.

* gnus.el (gnus-summary-line-format): Reference
`gnus-user-date-format-alist' for the &user-date; format, not
`gnus-summary-user-date-format-alist'.

10 years ago* nnml.el (nnml-request-compact-group): Don't bug out if we can't delete files
Lars Magne Ingebrigtsen [Mon, 8 Jul 2013 14:56:46 +0000 (16:56 +0200)]
* nnml.el (nnml-request-compact-group): Don't bug out if we can't delete files

 (bug#13481).

10 years agoAdd function to remove extra data from the registry.
Tassilo Horn [Mon, 8 Jul 2013 13:37:26 +0000 (15:37 +0200)]
Add function to remove extra data from the registry.

* gnus-registry.el (gnus-registry-remove-extra-data): New function.

* gnus.texi (lines): Correct description of
`gnus-registry-track-extra's default value.  Mention
`gnus-registry-remove-extra-data'.

10 years agoAllow nnrss to display images
Lars Ingebrigtsen [Sat, 6 Jul 2013 18:42:51 +0000 (20:42 +0200)]
Allow nnrss to display images

* gnus-art.el (gnus-block-private-groups): Allow `global' methods to
display images.

* gnus.el (gnus-valid-select-methods): Mark nnrss as global.

10 years agoDon't use "cmsg cancel", because some NNTP servers may not handle it
Lars Ingebrigtsen [Sat, 6 Jul 2013 18:21:25 +0000 (20:21 +0200)]
Don't use "cmsg cancel", because some NNTP servers may not handle it

* message.el (message-cancel-news): According to
<mailman.216.1372942181.12400.help-gnu-emacs@gnu.org>, "cancel" is
preferred over "cmsg cancel" in the Subject.

10 years agoTypo fix.
Lars Ingebrigtsen [Sat, 6 Jul 2013 17:59:40 +0000 (19:59 +0200)]
Typo fix.

10 years ago* gnus.texi (Group Parameters): Mention regexp substitutions(bug#11688).
Lars Ingebrigtsen [Sat, 6 Jul 2013 17:59:26 +0000 (19:59 +0200)]
* gnus.texi (Group Parameters): Mention regexp substitutions(bug#11688).

10 years ago* nnir.el (nnir-engines): Note that the group specs are regexps
Lars Ingebrigtsen [Sat, 6 Jul 2013 17:33:35 +0000 (19:33 +0200)]
* nnir.el (nnir-engines): Note that the group specs are regexps

(bug#13238).

10 years ago* gnus.texi (Generic Marking Commands): Fix grammar (bug#13368).
Nathan Trapuzzano [Sat, 6 Jul 2013 17:25:38 +0000 (19:25 +0200)]
* gnus.texi (Generic Marking Commands): Fix grammar (bug#13368).

10 years agoMake copying of read-only HTML text renderings work
Lars Ingebrigtsen [Sat, 6 Jul 2013 17:20:10 +0000 (19:20 +0200)]
Make copying of read-only HTML text renderings work

* gnus-msg.el (gnus-copy-article-buffer): If the article buffer has
gotten read-only text properties, ensure that those aren't heeded when
copying stuff over (bug#13434).

10 years ago* mm-view.el (mm-inline-text-html): Don't bug out on multipart messages
Lars Ingebrigtsen [Sat, 6 Jul 2013 16:26:06 +0000 (18:26 +0200)]
* mm-view.el (mm-inline-text-html): Don't bug out on multipart messages

10 years ago* gnus.texi (Emacsen): Fix version.
Lars Ingebrigtsen [Sat, 6 Jul 2013 15:48:11 +0000 (17:48 +0200)]
* gnus.texi (Emacsen): Fix version.

10 years ago* gnus-faq.texi (FAQ 1-6): Mention the correct Emacs version.
Lars Ingebrigtsen [Sat, 6 Jul 2013 15:46:04 +0000 (17:46 +0200)]
* gnus-faq.texi (FAQ 1-6): Mention the correct Emacs version.

10 years ago* gnus.texi (Top): Restrict "Other related manuals" to info output.
Glenn Morris [Sat, 6 Jul 2013 13:07:36 +0000 (13:07 +0000)]
* gnus.texi (Top): Restrict "Other related manuals" to info output.
  (Foreign Groups): Use @indicateurl for examples.
  (Direct Functions): Remove defunct URL.
  (RSS): Update URL.
* gnus-faq.texi (FAQ 5-8, FAQ 6-3): Remove defunct URLs.
  (FAQ 7-1): Update URL.

10 years agoauth-source.el (auth-source-netrc-parse-one): Allow empty strings again.
David Kastrup [Fri, 5 Jul 2013 17:42:08 +0000 (13:42 -0400)]
auth-source.el (auth-source-netrc-parse-one): Allow empty strings again.

10 years agognus-sum.el (gnus-summary-from-or-to-or-newsgroups): Revert 2013-01-14 change
Katsumi Yamaoka [Wed, 3 Jul 2013 04:15:22 +0000 (04:15 +0000)]
gnus-sum.el (gnus-summary-from-or-to-or-newsgroups): Revert 2013-01-14 change

10 years agomml2015: make key image extraction robuster
Daiki Ueno [Tue, 2 Jul 2013 02:15:15 +0000 (11:15 +0900)]
mml2015: make key image extraction robuster

* mml2015.el (mml2015-epg-key-image): Use 'gnus-create-image' instead
of 'create-image' for XEmacs compatibility; check errors when decoding
image.  Reported by Uwe Brauer.

10 years agolisp/ChangeLog (2013-06-17) : Spelling fix
Paul Eggert [Sun, 30 Jun 2013 23:37:25 +0000 (23:37 +0000)]
lisp/ChangeLog (2013-06-17) : Spelling fix

10 years agognus-art.el (gnus-article-extend-url-button): Make it work again with gnus-button...
Katsumi Yamaoka [Fri, 28 Jun 2013 08:01:06 +0000 (08:01 +0000)]
gnus-art.el (gnus-article-extend-url-button): Make it work again with gnus-button-push revised at 2011-01-19

10 years ago* eww.el, shr.el, shr-color.el: Removed from the Gnus repository.
Lars Magne Ingebrigtsen [Sun, 23 Jun 2013 18:15:22 +0000 (20:15 +0200)]
* eww.el, shr.el, shr-color.el: Removed from the Gnus repository.

They now live in the lisp/net Emacs 24 repository.

10 years ago* eww.el (eww-update-header-line-format): Quote % characters.
Lars Magne Ingebrigtsen [Fri, 21 Jun 2013 06:55:48 +0000 (08:55 +0200)]
* eww.el (eww-update-header-line-format): Quote % characters.

10 years agoconfigure.in: Work for term-mode running in Emacs
Katsumi Yamaoka [Thu, 20 Jun 2013 00:22:12 +0000 (00:22 +0000)]
configure.in: Work for term-mode running in Emacs

10 years agotexi/ChangeLog: Fix typo
Juanma Barranquero [Wed, 19 Jun 2013 22:48:25 +0000 (22:48 +0000)]
texi/ChangeLog: Fix typo

10 years agolisp/ChangeLog: Fix typo
Katsumi Yamaoka [Wed, 19 Jun 2013 22:31:24 +0000 (22:31 +0000)]
lisp/ChangeLog: Fix typo

10 years agolisp/ChangeLog: Fix typo
Katsumi Yamaoka [Wed, 19 Jun 2013 22:29:11 +0000 (22:29 +0000)]
lisp/ChangeLog: Fix typo

10 years agolisp/ChangeLog: Fix typos
Juanma Barranquero [Wed, 19 Jun 2013 22:20:01 +0000 (22:20 +0000)]
lisp/ChangeLog: Fix typos

10 years ago* eww.el (eww-process-text-input): Display passwords as asterisks.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 21:37:35 +0000 (23:37 +0200)]
* eww.el (eww-process-text-input): Display passwords as asterisks.

10 years agoProtect against invalid column-spans.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 21:01:09 +0000 (23:01 +0200)]
Protect against invalid column-spans.

10 years agoImprove prev/next link handling
Tom Tromey [Wed, 19 Jun 2013 19:30:04 +0000 (21:30 +0200)]
Improve prev/next link handling

* 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.

10 years ago(eww-tag-textarea): Implement <textarea>.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 19:11:51 +0000 (21:11 +0200)]
(eww-tag-textarea): Implement <textarea>.

10 years ago(eww-toggle-checkbox): Implement radio/checkboxes.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 18:49:43 +0000 (20:49 +0200)]
(eww-toggle-checkbox): Implement radio/checkboxes.

10 years ago(eww-change-select): Implement changing the select value.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 18:27:25 +0000 (20:27 +0200)]
(eww-change-select): Implement changing the select value.

10 years ago(eww-select-display): Display the correct selected item.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 17:34:59 +0000 (19:34 +0200)]
(eww-select-display): Display the correct selected item.

10 years ago(eww-submit): Rewrite to use the new-style form methods.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 17:09:13 +0000 (19:09 +0200)]
(eww-submit): Rewrite to use the new-style form methods.

10 years agoAllow editing text input fields again
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 16:31:54 +0000 (18:31 +0200)]
Allow editing text input fields again

(eww-process-text-input): New function to make text input field editing
work.

10 years ago(eww-self-insert): Implement entering commands in text fields.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 15:38:24 +0000 (17:38 +0200)]
(eww-self-insert): Implement entering commands in text fields.

10 years agoDon't use widgets in eww
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 15:12:16 +0000 (17:12 +0200)]
Don't use widgets in eww

* 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.

10 years agoMake links not shadow local commands
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 14:03:52 +0000 (16:03 +0200)]
Make links not shadow local commands

* shr.el (shr-map): Bind [down-mouse-1] to browse URLs.

* shr.el (shr-urlify): Use `keymap' instead of `local-map' so that we
don't shadow mode-specific bindings.

10 years agoMerge branch 'master' of https://git.gnus.org/gnus
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 13:55:35 +0000 (15:55 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus

10 years agognus-group.el (gnus-mark-article-as-read): Fix declaration
Glenn Morris [Wed, 19 Jun 2013 09:57:26 +0000 (09:57 +0000)]
gnus-group.el (gnus-mark-article-as-read): Fix declaration

10 years ago(eww-browse-url): Don't push stuff onto history if there's nothing to push.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 07:31:57 +0000 (09:31 +0200)]
(eww-browse-url): Don't push stuff onto history if there's nothing to push.

10 years ago* shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 07:04:17 +0000 (09:04 +0200)]
* shr.el (shr-map): Bind [down-mouse-1] to browse URLs.

10 years ago* auth-source.el (auth-source-netrc-parse-entries): Remove debugging.
Ted Zlatanov [Tue, 18 Jun 2013 18:54:56 +0000 (14:54 -0400)]
* auth-source.el (auth-source-netrc-parse-entries): Remove debugging.

10 years agoAllow not inserting horizontal space into a table
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 16:17:57 +0000 (18:17 +0200)]
Allow not inserting horizontal space into a table

(shr-insert-table-ruler): Respect the nil value.

10 years ago* shr.el (shr-make-table-1): Implement <td rowspan>.
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 15:32:59 +0000 (17:32 +0200)]
* shr.el (shr-make-table-1): Implement <td rowspan>.

10 years agoImplement <link> and <a rel> prev/next (etc.) motions
Tom Tromey [Tue, 18 Jun 2013 15:13:58 +0000 (17:13 +0200)]
Implement <link> and <a rel> prev/next (etc.) motions

* eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
New defvars.
(eww-open-file): New defun.
(eww-render): Initialize new variables.
(eww-display-html): Handle "link" and "a".
(eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
(eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
(eww-back-url): Rename from eww-previous-url.
(eww-next-url, eww-previous-url, eww-up-url, eww-top-url): New
defuns.

10 years agoUse one less than `window-width' as the width
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 15:00:54 +0000 (17:00 +0200)]
Use one less than `window-width' as the width

(shr-insert-document): Use one less than window width if `shr-width' is
nil, since otherwise things may get one character too wide.

10 years ago(shr-make-table-1): Implement <td colspan=> support.
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 14:56:16 +0000 (16:56 +0200)]
(shr-make-table-1): Implement <td colspan=> support.

10 years agoAdd support for <dl>, <dt> and <dd>.
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 11:15:32 +0000 (13:15 +0200)]
Add support for <dl>, <dt> and <dd>.

(shr-tag-dl, shr-tag-dt, shr-tag-dd): Add support for <dl>, <dt> and
<dd>.

10 years agoDon't colourise images from tables
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 10:08:14 +0000 (12:08 +0200)]
Don't colourise images from tables

* shr.el (shr-tag-table): Insert the images after the table, so that
they're not covered by the table coulorisation, which often looked
awkward.

10 years agoeww.el (eww-detect-charset): Improve regexp; move backward
Katsumi Yamaoka [Tue, 18 Jun 2013 09:27:19 +0000 (09:27 +0000)]
eww.el (eww-detect-charset): Improve regexp; move backward

10 years agoMerge changes made in Emacs trunk
Glenn Morris [Tue, 18 Jun 2013 08:51:57 +0000 (08:51 +0000)]
Merge changes made in Emacs trunk

mm-decode.el (widget-convert-button): Autoload.
sieve-manage.el (mm-enable-multibyte): Autoload.
shr.el (libxml-parse-html-region): Declare.
(shr-render-buffer): Explicit error if no libxml2 support.

10 years agoWhen a data token is "machine", abort parsing the current line.
Ted Zlatanov [Mon, 17 Jun 2013 23:24:59 +0000 (19:24 -0400)]
When a data token is "machine", abort parsing the current line.

10 years ago(eww-tag-input): Support <input type=image>.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 22:46:18 +0000 (00:46 +0200)]
(eww-tag-input): Support <input type=image>.

10 years ago(eww-convert-widgets): Fix last patch.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 21:59:46 +0000 (23:59 +0200)]
(eww-convert-widgets): Fix last patch.

10 years ago* eww.el (eww-tag-select): Don't render totally empty <select> forms.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 21:49:24 +0000 (23:49 +0200)]
* eww.el (eww-tag-select): Don't render totally empty <select> forms.

10 years agoMake input fields on their own lines work
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 21:48:00 +0000 (23:48 +0200)]
Make input fields on their own lines work

(shr-ensure-paragraph): Don't delete empty lines that have text
properties, because these may be input fields.

10 years ago(shr-tag-base): Protect against base specs that are degenerate.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 21:02:26 +0000 (23:02 +0200)]
(shr-tag-base): Protect against base specs that are degenerate.

10 years ago* shr.el (shr-insert-table): Respect border-collapse: collapse.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 20:29:01 +0000 (22:29 +0200)]
* shr.el (shr-insert-table): Respect border-collapse: collapse.

10 years agoFix syntax error
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 20:02:15 +0000 (22:02 +0200)]
Fix syntax error

10 years agoMake it possible to TAB to the form elements again
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 19:59:50 +0000 (21:59 +0200)]
Make it possible to TAB to the form elements again

* eww.el (eww-convert-widgets): Put `help-echo' on input fields so that
we can navigate to them.

(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.

10 years agoMake shr table rendering somewhat faster
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 19:42:29 +0000 (21:42 +0200)]
Make shr table rendering somewhat faster

(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%.

10 years ago* shr.el (shr-colorize-region): Put the colours over the entire region.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 15:08:11 +0000 (17:08 +0200)]
* shr.el (shr-colorize-region): Put the colours over the entire region.

10 years agoMake buttons prettier
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 11:07:46 +0000 (13:07 +0200)]
Make buttons prettier

* eww.el (eww-button): New face.
(eww-convert-widgets): Use it to make submit buttons more button-like.

10 years ago(mm-convert-shr-links): Override the shr local map, so that Gnus commands work.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 10:41:44 +0000 (12:41 +0200)]
(mm-convert-shr-links): Override the shr local map, so that Gnus commands work.

10 years ago* shr.el (shr-render-td): Support horizontal alignment.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 10:20:30 +0000 (12:20 +0200)]
* shr.el (shr-render-td): Support horizontal alignment.

10 years agoMake eww use `add-face-text-property', too.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 10:07:08 +0000 (12:07 +0200)]
Make eww use `add-face-text-property', too.

(shr-make-overlay): Obsolete function.

* eww.el (eww-put-color): Removed.
(eww-colorize-region): Use `add-face-text-property'.

10 years agoGet correct presedence for font data
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 09:55:17 +0000 (11:55 +0200)]
Get correct presedence for font data

* shr.el (shr-add-font): Append face data, so that we get the correct
presedence: The innermost value (which is applied first) wins.

10 years agomm-decode.el (shr-map): Silence the byte compiler
Katsumi Yamaoka [Mon, 17 Jun 2013 09:36:16 +0000 (09:36 +0000)]
mm-decode.el (shr-map): Silence the byte compiler

10 years agosieve.el (sieve-edit-script): Avoid beginning-of-buffer
Stefan Monnier [Mon, 17 Jun 2013 09:16:36 +0000 (09:16 +0000)]
sieve.el (sieve-edit-script): Avoid beginning-of-buffer
shr.el (browse-url): Require `url'
eww.el (url): Require format-spec

10 years agoConvert shr.el from using overlays into using text properties
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 09:04:25 +0000 (11:04 +0200)]
Convert shr.el from using overlays into using text properties

* 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.

10 years agoDon't add User-Agent.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 22:20:51 +0000 (00:20 +0200)]
Don't add User-Agent.

(eww-browse-url): Don't add a User-Agent header (twice), because that
makes Bing refuse connection.

10 years ago* eww.el (eww-display-html): Default to using the entire window width.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 20:14:22 +0000 (22:14 +0200)]
* eww.el (eww-display-html): Default to using the entire window width.

10 years agoSpeed up table rendering at bit
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 19:42:07 +0000 (21:42 +0200)]
Speed up table rendering at bit

* shr.el (shr-make-table): Cache the table rendering at the table
level, and not the <td> level.  This is a bit faster.

10 years agoSupport #anchors
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 18:14:40 +0000 (20:14 +0200)]
Support #anchors

* eww.el (eww-render): Go to the correct ID when given URLs ending with
#id.

(shr-descend): Allow marking elements that have certain IDs.

10 years ago(shr-descend): Respect display: none.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 18:00:17 +0000 (20:00 +0200)]
(shr-descend): Respect display: none.