Commit graph

110 commits

Author SHA1 Message Date
Lars Magne Ingebrigtsen
e8861cd2e4 Merge changes made in Gnus trunk.
nnimap.el (nnimap-finish-retrieve-group-infos): Return data in the nntp buffer so the agent can save it.
nnimap.el (nnimap-open-shell-stream): Bind `process-connection-type' to nil, so that CRLF doesn't get translated to \n; (nnimap-open-connection): Don't make 'shell commands only send \n.
nnimap.el (nnimap-request-group): Don't make `M-g' bug out on group with no marks.
gnus-agent.el (gnus-agent-load-alist): Nix out the alist if the file doesn't exist.
nnimap.el (nnimap-finish-retrieve-group-infos): Protect against groups that have no articles.
nnimap.el (nnimap-request-article): Check that we really got an article when we requested one.
gnus-html.el (gnus-html-schedule-image-fetching): Ignore all errors from url-retrieve, for instance about invalid URLs.
gnus-agent.el: Change default of gnus-agent-auto-agentize-methods to nil.
2010-09-19 10:45:51 +00:00
Lars Magne Ingebrigtsen
286c4fc2a9 Merge changes made in Gnus trunk.
nnimap.el (nnimap-request-group): Use the stored info for the dont-check case.
nnimap.el: Use deffoo instead of defun for interface functions.
gnus-int.el (gnus-request-group): Take an optional `info' parameter.
nnimap.el: Allow nnimap-request-group to do a complete marks sync on `M-g'.
nnimap.el: Get credentials for numerical equivalents of the port numbers.
gnus-html.el (gnus-html-wash-tags): Add support for i, b and u HTML tags.
nnimap.el (nnimap-update-info): Extend the info so that we can set the marks.
nnimap.el (nnimap-open-connection): Fix typo -- should be 'shell, not 'stream.
nnimap.el: Allow PREAUTH nnimap connections to log in without credentials.
nnimap.el (nnimap-update-info): Fix off-by-one error when concatenating ranges when doing a partial update.
gnus-html.el (gnus-html-schedule-image-fetching): Use `url' rather than curl to retrieve images.
nnimap.el (nnimap-update-info): When doing partial marks update, get the range update right.
nnimap.el (nnimap-wait-for-response): Be a bit more lax in finding the end of the command we're looking for.
nnimap.el: Allow sending \n instead of \r\n on 'shell streams.
gnus-html.el (gnus-html-schedule-image-fetching): Fetch all images in parallel.
2010-09-18 23:36:29 +00:00
Katsumi Yamaoka
f4530299d5 gnus-html.el: Replace process-kill-without-query by gnus-set-process-query-on-exit-flag. 2010-09-17 06:24:10 +00:00
Romain Francoise
eca7d7bfba gnus-html.el: Require gnus-art for `gnus-with-article-buffer'. 2010-09-17 05:38:38 +00:00
Lars Magne Ingebrigtsen
01e80360d0 Merge changes made in Gnus trunk.
imap.el: Revert back to version cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes seem problematic.

Fix up the w3m/curl dependencies.
mm-decode.el (mm-text-html-renderer): Don't have gnus-article-html depend on curl, which isn't essential.
gnus-html.el (gnus-html-schedule-image-fetching, gnus-html-prefetch-images): Check for curl before using it.
2010-09-14 23:14:44 +00:00
Lars Magne Ingebrigtsen
698ecd8250 gnus-html.el (gnus-html-wash-tags): Refactor out the image bit, and don't restrict end-tag searches to the end of the line. 2010-09-10 00:07:33 +00:00
Lars Magne Ingebrigtsen
9778a07a35 gnus-html (gnus-html-wash-tags): Search for images first, so that <a><img> works better; (gnus-html-displayed-image-map): Bind RET and TAB on images for better UX. 2010-09-09 00:08:06 +00:00
Lars Magne Ingebrigtsen
99fcd18012 gnus-html.el: Allow showing the ALT text of images and to browse the images themselves. 2010-09-08 23:59:52 +00:00
Katsumi Yamaoka
724d30bea0 gnus-html.el (gnus-html-schedule-image-fetching): Decode entities before feeding URLs to curl.
gnus-async.el (gnus-async-article-callback): Call `gnus-html-prefetch-images' unconditionally.
2010-09-08 23:51:10 +00:00
Katsumi Yamaoka
ecc74b38f3 gnus-html.el (gnus-html-wash-tags, gnus-html-put-image): Mark cid and internal images as deletable by `W D D'. 2010-09-07 06:23:16 +00:00
Lars Magne Ingebrigtsen
f9e506776a gnus-html.el (gnus-html-wash-tags): Limit end-tag matching to the current line to work around bugs in the output from w3m. 2010-09-07 00:08:33 +00:00
Lars Magne Ingebrigtsen
f39ccb2edd gnus-html.el (gnus-html-wash-tags): Remove <a name...> tags, which confuses the rest of the function. 2010-09-06 23:58:34 +00:00
Lars Magne Ingebrigtsen
29cd986b8b gnus-html.el (gnus-article-html): Allow calling without specifying the handle. In that case, dissect the buffer first. 2010-09-06 00:41:06 +00:00
Lars Magne Ingebrigtsen
f790bb74d8 (gnus-html-show-images): If there are no images to show, then say so instead of bugging out. 2010-09-04 15:28:57 +00:00
Lars Magne Ingebrigtsen
c25d60ab3b (gnus-article-copy-string): Say what data we copied; (gnus-html-wash-tags): Remove even more white space around <pre_int>; (gnus-agent-load-alist): Check whether the agentview files exist before trying to read them. 2010-09-04 15:24:35 +00:00
Katsumi Yamaoka
74d8321d0e Fix previous merge from Gnus trunk. 2010-09-04 00:50:02 +00:00
Lars Magne Ingebrigtsen
8fab3e398d gnus-html.el: Remove more white space before <pre_int> image spacers; Decode entities at the end. So that entities inside the tags don't mess up the rest of the "parsing". 2010-09-04 00:36:13 +00:00
Lars Magne Ingebrigtsen
25f28806d2 gnus-html.el: Add the new command gnus-html-show-images. 2010-09-04 00:30:49 +00:00
Lars Magne Ingebrigtsen
28e44fbf62 gnus-html.el: Fix up the logic that marks resized images for buffer deletion; Have the image insertion work even if the missing image is in an <a>. 2010-09-04 00:26:18 +00:00
Lars Magne Ingebrigtsen
10e91ca982 gnus-agent.el: Change the default so that nnimap methods aren't agentized by default. There's apparently many problems related to agent/imap behaviour; gnus-art.el: Don't reuse the 'gnus-data text property, but use a new property. This avoids stomping over other functions that use this for other things; gnus-html.el: Add a new `i' command to insert images. 2010-09-04 00:21:34 +00:00
Lars Magne Ingebrigtsen
7426b4f7d0 gnus-html: Comment fix.; gnus-art.el: Provide an u' command on urls and the like that copies the string over to the kill ring; Also have the u' command work for HTML links. 2010-09-04 00:12:44 +00:00
Katsumi Yamaoka
59f65f5c42 gnus-html.el (gnus-html-put-image): make avoidance of displaying small images work for XEmacs. 2010-09-03 06:10:04 +00:00
Katsumi Yamaoka
7313797194 Make gnus-html work for XEmacs. 2010-09-03 02:29:03 +00:00
Lars Magne Ingebrigtsen
5d97d03205 message.el (message-generate-hashcash): Change default to 'opportunistic if hashcash is installed; gnus-html.el (gnus-html-put-image): Only call image-size once, since it's somewhat time-consuming on remote X servers. 2010-09-03 00:55:58 +00:00
Lars Magne Ingebrigtsen
2e23878e5a gnus-html-rescale-image: Fix up typo in rescaling. 2010-09-02 14:10:03 +00:00
Katsumi Yamaoka
f68a93a990 gnus-html-put-image, gnus-html-rescale-image: Pass `file' argument. 2010-09-02 05:03:06 +00:00
Katsumi Yamaoka
60893e6f01 gnus-article-html: Make work buffer multibyte for decoded contents. 2010-09-02 03:47:31 +00:00
Lars Magne Ingebrigtsen
ae682ff5ae gnus-html.el (gnus-html-rescale-image): Yet another try at getting the image sizing right. 2010-09-02 01:46:34 +00:00
Lars Magne Ingebrigtsen
c9fc72fa5a Delete all trailing white space. 2010-09-02 01:42:32 +00:00
Lars Magne Ingebrigtsen
36a806f357 gnus-html.el (gnus-html-wash-tags): Remove all <pre_int> place holders. 2010-09-02 01:33:31 +00:00
Lars Magne Ingebrigtsen
a93b858c98 gnus-html.el (gnus-html-wash-tags): Don't show images that are really small. They're probably tracking images; nntp.el (nntp-request-set-mark): Refuse to do marks if nntp-marks-file-name is nil. 2010-09-02 01:29:42 +00:00
Lars Magne Ingebrigtsen
846daf20c2 gnus-html.el (gnus-html-rescale-image): The rescaling logic scaled down too much; nndoc.el (nndoc-type-alist): Added a new type for Google digests. 2010-09-02 01:24:21 +00:00
Teodor Zlatanov
2aafbe5a81 gnus-html.el: prefix log messages with function name 2010-09-02 01:18:45 +00:00
Lars Magne Ingebrigtsen
9a4b54dbe6 gnus-html.el (gnus-html-wash-tags): Check the value ofgnus-blocked-images in the summary buffer. 2010-09-02 01:14:38 +00:00
Teodor Zlatanov
9a047bac91 gnus-html.el: Doc fix for gnus-html-image-url-blocked-p. 2010-09-02 01:10:25 +00:00
Lars Magne Ingebrigtsen
5b77fa4d82 gnus-html.el (gnus-html-image-url-blocked-p): Say in the message what the regexp really is. 2010-09-02 01:06:36 +00:00
Lars Magne Ingebrigtsen
c6c815761c gnus-html.el (gnus-html-wash-tags): "A" is also used for links, just like "a", it seems like; (gnus-html-image-url-blocked-p): Take a parameter for blocked-images since it needs to be picked from the correct buffer. 2010-09-02 01:02:03 +00:00
Teodor Zlatanov
d743e0d118 gnus-html.el: add and use gnus-html-image-url-blocked-p 2010-09-02 00:17:40 +00:00
Lars Magne Ingebrigtsen
e5e2587e9e gnus-html.el: We can't rescale if we don't have the article buffer in a window. 2010-09-02 00:13:51 +00:00
Lars Magne Ingebrigtsen
1ee093a370 gnus-html.el: Try to get the rescaling logic right for images that are just wide and not tall. 2010-09-02 00:08:22 +00:00
Lars Magne Ingebrigtsen
075843d346 gnus.el, gnus-html.el: Use the deleted text as the image alt text. 2010-09-02 00:03:57 +00:00
Lars Magne Ingebrigtsen
7d7520b969 gnus-html.el: Rescale images in article buffers for Emacs versions that support this. This is currently only Emacs 24 compiled with imagemagick support. 2010-09-01 23:53:57 +00:00
Teodor Zlatanov
6ca07e4960 gnus-html.el: Add extra logging. 2010-09-01 23:46:59 +00:00
Lars Magne Ingebrigtsen
fe01e1a3a0 gnus-html.el: Delete the IMG_ALT region. 2010-09-01 23:40:39 +00:00
Katsumi Yamaoka
da43765da1 gnus-article-html: Decode contents by charset. 2010-09-01 06:04:49 +00:00
Katsumi Yamaoka
b0e3031077 gnus-html.el, message.el: Add custom version to new variables; gnus-sum.el: Bump custom version of gnus-auto-expirable-marks. 2010-09-01 04:44:25 +00:00
Katsumi Yamaoka
cd110b2b0c gnus-html-curl-sentinel: Replace process-get with gnus-process-get. 2010-09-01 04:28:56 +00:00
Katsumi Yamaoka
0a46a12f7a Fix previous merge from Gnus trunk. 2010-09-01 00:18:24 +00:00
Katsumi Yamaoka
51dee5ef43 gnus-html.el: Introduce a new variable, gnus-blocked-images, and use that instead of the w3m variable; by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-31 23:38:57 +00:00
Katsumi Yamaoka
2cdd366f84 gnus-ems.el: Provide compatibility functions for gnus-set-process-plist by Katsumi Yamaoka <yamaoka@jpl.org>; gnus-html.el: Use gnus-process-plist and friends for compatibility; gnus-cite.el: New function to guess whether a long line is natural text or not; message.el: Implement message-prune-recipient-rules; by Lars Magne Ingebrigtsen <larsi@gnus.org>. 2010-08-31 23:26:23 +00:00