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.
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
Paul Eggert [Tue, 16 Jul 2013 06:31:34 +0000 (06:31 +0000)]
registry.el: Spelling fix for "does not exists"
Paul Eggert [Sun, 14 Jul 2013 09:37:06 +0000 (09:37 +0000)]
gnus-sum.el (gnus-newsgroup-unexist): Spelling fix
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".
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'.
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).
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'.
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.
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.
Lars Ingebrigtsen [Sat, 6 Jul 2013 17:59:40 +0000 (19:59 +0200)]
Typo fix.
Lars Ingebrigtsen [Sat, 6 Jul 2013 17:59:26 +0000 (19:59 +0200)]
* gnus.texi (Group Parameters): Mention regexp substitutions(bug#11688).
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).
Nathan Trapuzzano [Sat, 6 Jul 2013 17:25:38 +0000 (19:25 +0200)]
* gnus.texi (Generic Marking Commands): Fix grammar (bug#13368).
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).
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
Lars Ingebrigtsen [Sat, 6 Jul 2013 15:48:11 +0000 (17:48 +0200)]
* gnus.texi (Emacsen): Fix 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.
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.
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.
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
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.
Paul Eggert [Sun, 30 Jun 2013 23:37:25 +0000 (23:37 +0000)]
lisp/ChangeLog (2013-06-17) : Spelling fix
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
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.
Lars Magne Ingebrigtsen [Fri, 21 Jun 2013 06:55:48 +0000 (08:55 +0200)]
* eww.el (eww-update-header-line-format): Quote % characters.
Katsumi Yamaoka [Thu, 20 Jun 2013 00:22:12 +0000 (00:22 +0000)]
configure.in: Work for term-mode running in Emacs
Juanma Barranquero [Wed, 19 Jun 2013 22:48:25 +0000 (22:48 +0000)]
texi/ChangeLog: Fix typo
Katsumi Yamaoka [Wed, 19 Jun 2013 22:31:24 +0000 (22:31 +0000)]
lisp/ChangeLog: Fix typo
Katsumi Yamaoka [Wed, 19 Jun 2013 22:29:11 +0000 (22:29 +0000)]
lisp/ChangeLog: Fix typo
Juanma Barranquero [Wed, 19 Jun 2013 22:20:01 +0000 (22:20 +0000)]
lisp/ChangeLog: Fix typos
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 21:37:35 +0000 (23:37 +0200)]
* eww.el (eww-process-text-input): Display passwords as asterisks.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 21:01:09 +0000 (23:01 +0200)]
Protect against invalid column-spans.
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.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 19:11:51 +0000 (21:11 +0200)]
(eww-tag-textarea): Implement <textarea>.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 18:49:43 +0000 (20:49 +0200)]
(eww-toggle-checkbox): Implement radio/checkboxes.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 18:27:25 +0000 (20:27 +0200)]
(eww-change-select): Implement changing the select value.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 17:34:59 +0000 (19:34 +0200)]
(eww-select-display): Display the correct selected item.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 17:09:13 +0000 (19:09 +0200)]
(eww-submit): Rewrite to use the new-style form methods.
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.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 15:38:24 +0000 (17:38 +0200)]
(eww-self-insert): Implement entering commands in text fields.
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.
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.
Lars Magne Ingebrigtsen [Wed, 19 Jun 2013 13:55:35 +0000 (15:55 +0200)]
Merge branch 'master' of https://git.gnus.org/gnus
Glenn Morris [Wed, 19 Jun 2013 09:57:26 +0000 (09:57 +0000)]
gnus-group.el (gnus-mark-article-as-read): Fix declaration
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.
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.
Ted Zlatanov [Tue, 18 Jun 2013 18:54:56 +0000 (14:54 -0400)]
* auth-source.el (auth-source-netrc-parse-entries): Remove debugging.
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.
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 15:32:59 +0000 (17:32 +0200)]
* shr.el (shr-make-table-1): Implement <td rowspan>.
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.
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.
Lars Magne Ingebrigtsen [Tue, 18 Jun 2013 14:56:16 +0000 (16:56 +0200)]
(shr-make-table-1): Implement <td colspan=> support.
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>.
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.
Katsumi Yamaoka [Tue, 18 Jun 2013 09:27:19 +0000 (09:27 +0000)]
eww.el (eww-detect-charset): Improve regexp; move backward
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.
Ted Zlatanov [Mon, 17 Jun 2013 23:24:59 +0000 (19:24 -0400)]
When a data token is "machine", abort parsing the current line.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 22:46:18 +0000 (00:46 +0200)]
(eww-tag-input): Support <input type=image>.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 21:59:46 +0000 (23:59 +0200)]
(eww-convert-widgets): Fix last patch.
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.
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.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 21:02:26 +0000 (23:02 +0200)]
(shr-tag-base): Protect against base specs that are degenerate.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 20:29:01 +0000 (22:29 +0200)]
* shr.el (shr-insert-table): Respect border-collapse: collapse.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 20:02:15 +0000 (22:02 +0200)]
Fix syntax error
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.
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%.
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.
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.
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.
Lars Magne Ingebrigtsen [Mon, 17 Jun 2013 10:20:30 +0000 (12:20 +0200)]
* shr.el (shr-render-td): Support horizontal alignment.
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'.
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.
Katsumi Yamaoka [Mon, 17 Jun 2013 09:36:16 +0000 (09:36 +0000)]
mm-decode.el (shr-map): Silence the byte compiler
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
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.
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.
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.
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.
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.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 18:00:17 +0000 (20:00 +0200)]
(shr-descend): Respect display: none.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 17:41:20 +0000 (19:41 +0200)]
(shr-parse-base): Chop off the anchor before using.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 17:33:47 +0000 (19:33 +0200)]
(shr-expand-url): Respect #anchor links.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 17:29:29 +0000 (19:29 +0200)]
Make <li> rendering more compact
* shr.el (shr-tag-li): Don't require a new paragraph, since other
browsers don't.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 15:49:06 +0000 (17:49 +0200)]
Don't bug out on zero-length links
* eww.el (eww-tag-textarea): Use `text' instead of `editable-field'.
* shr.el (shr-expand-url): Don't bug out on zero-length links.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 15:42:37 +0000 (17:42 +0200)]
* eww.el (eww-tag-textarea): Support <textarea>.
Rüdiger Sonderfeld [Sun, 16 Jun 2013 15:30:45 +0000 (17:30 +0200)]
* shr.el (shr-dom-to-xml): Fixed function call.
Rüdiger Sonderfeld [Sun, 16 Jun 2013 14:23:23 +0000 (16:23 +0200)]
Put the <title> into a page header
* 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.
Rüdiger Sonderfeld [Sun, 16 Jun 2013 14:19:38 +0000 (16:19 +0200)]
Allow customizing the <li> "bullet"
(shr-bullet): New custom variable.
(shr-tag-li): Support custom bullet in unordered lists.
Rüdiger Sonderfeld [Sun, 16 Jun 2013 14:18:02 +0000 (16:18 +0200)]
Add support for SVG images
* shr.el (shr-dom-to-xml): (shr-dom-to-xml): New function.
(shr-tag-svg): Add support for the SVG tag.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 14:03:31 +0000 (16:03 +0200)]
Get the base URL right when being redirected
(eww-render): When being redirected, use the redirect URL as the new
base URL.
* shr.el (shr-expand-url): Respect // URLs.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 13:39:38 +0000 (15:39 +0200)]
Make <body> background colour rendering prettier.
* eww.el (eww-tag-body): Override the shr body rendering so that we can
put a background colour onto the entire buffer.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 13:20:21 +0000 (15:20 +0200)]
* shr.el (shr-parse-base): Fix parsing error.
Lars Magne Ingebrigtsen [Sun, 16 Jun 2013 12:14:34 +0000 (14:14 +0200)]
Expand relative URLs more correctly by using `url-generic-parse-url'
* 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.
Ted Zlatanov [Sat, 15 Jun 2013 08:03:04 +0000 (04:03 -0400)]
auth-source netrc backend: Support single-quoted strings, multiline entries.
Lars Magne Ingebrigtsen [Fri, 14 Jun 2013 10:58:57 +0000 (12:58 +0200)]
eww submit button logic
* eww.el (eww-submit): Get submit button logic right when hitting RET
on non-submit buttons.
* shr.el: Remove shr-preliminary-table-render, since that can't really
be used for anything in practice.
Katsumi Yamaoka [Fri, 14 Jun 2013 09:37:41 +0000 (09:37 +0000)]
lisp/ChangeLog: Add an entry for the recent change in sieve.el
Glenn Morris [Fri, 14 Jun 2013 09:33:32 +0000 (09:33 +0000)]
mml2015.el (mml2015-maximum-key-image-dimension): Add :version
Julien Danjou [Fri, 14 Jun 2013 07:28:20 +0000 (09:28 +0200)]
Merge remote-tracking branch 'tarleb/sieve'
Signed-off-by: Julien Danjou <julien@danjou.info>
Conflicts:
lisp/ChangeLog
David Edmondson [Thu, 13 Jun 2013 09:47:51 +0000 (10:47 +0100)]
mml2015.el: Limit the size of key images inserted into articles
* Add `mml2015-maximum-key-image-dimension', which specifies a limit
on the width or height of any key images that are inserted into the
article buffer.