1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-17 03:10:58 -08:00
Commit graph

2198 commits

Author SHA1 Message Date
Glenn Morris
acab4d4b71 * lisp/gnus/mm-extern.el (message-goto-body): Update declaration. 2010-12-02 18:57:46 -08:00
Glenn Morris
a33a286825 Standardize license notices in new files. 2010-12-02 18:56:42 -08:00
Katsumi Yamaoka
78b1832ebf gnus-util.el (gnus-macroexpand-all): Fix last change. 2010-12-03 02:30:12 +00:00
Katsumi Yamaoka
d6f6af81e8 gnus-util.el (gnus-macroexpand-all): New function.
gnus-sum.el (gnus-summary-line-format-alist): Use gnus-macroexpand-all instead of macroexpand-all that is unavailable in XEmacs.
2010-12-03 02:17:23 +00:00
Katsumi Yamaoka
106c1842ea message.el (message-from-style): Fix previous commit. 2010-12-02 22:25:01 +00:00
Gnus developers
ed79719399 Merge changes made in Gnus trunk.
nnir.el: Batch header retrieval.
proto-stream.el: New library to provide protocol-specific TLS/STARTTLS connections for IMAP, NNTP, SMTP, POP3 and similar protocols.
nnimap.el (nnimap-open-connection): Use it.
proto-stream.el (open-proto-stream): Complete the documentation.
nnimap.el (nnimap-open-connection): Check for "OK" from the greeting.
nntp.el: Use proto-streams for the relevant connections types.
nntp.el (nntp-open-connection): Switch on STARTTLS on supported servers.
proto-stream.el (open-proto-stream): Add a way to specify what the end of a command is.
proto-stream.el (proto-stream-open-tls): Delete output from openssl if we're using tls.el.
proto-stream.el (proto-stream-open-network): If we don't have gnutls-cli or gnutls built in, then don't try to establish a STARTTLS connection.
color.el (color-lab->srgb): Fix function call name.
proto-stream.el: Fix the syntax in the comment.
nntp.el (nntp-open-connection): Fix the STARTTLS command syntax.
proto-stream.el (proto-stream-open-starttls): Actually implement the starttls.el STARTTLS.
proto-stream.el (proto-stream-always-use-starttls): New variable.
proto-stream.el (proto-stream-open-starttls): De-duplicate the starttls code.
proto-stream.el (proto-stream-open-starttls): Folded back into the main function.
proto-stream.el (proto-stream-command): Refactor out.
nnimap.el (nnimap-stream): Change default to `undecided'.
nnimap.el (nnimap-open-connection): If `nnimap-stream' is `undecided', try ssl first, and then network.
nnimap.el (nnimap-open-connection-1): Respect nnimap-server-port.
nnimap.el (nnimap-open-connection): Be more backwards-compatible.
proto-stream.el (open-protocol-stream): Renamed from open-proto-stream.
proto-stream.el (proto-stream-open-network): When doing opportunistic TLS upgrades we don't really care about the identity of the peer.
gnus.texi (Customizing the IMAP Connection): Note the new defaults.
gnus.texi (Direct Functions): Note the STARTTLS upgrade.
proto-stream.el (proto-stream-open-network): Force starttls.el to use gnutls-cli, since that what we've checked for.
proto-stream.el (proto-stream-always-use-starttls): Only default to t if open-gnutls-stream exists.
proto-stream.el (proto-stream-open-network): If STARTTLS failed, then just open a normal connection.
proto-stream.el (proto-stream-open-network): Wait until the greeting before doing STARTTLS.
nnimap.el (nnimap-open-connection-1): Always upgrade to STARTTLS (for backwards compatibility).
nnimap.el (nnimap-open-connection-1): Really respect nnimap-server-port.
nntp.el (nntp-open-connection): Provide a :success condition.
nnimap.el (nnimap-open-connection-1): Ditto.
proto-stream.el (proto-stream-open-network): See what the response to the STARTTLS command is.
proto-stream.el (proto-stream-open-network): Add some comments.
proto-stream.el: Fix example.
proto-stream.el (open-protocol-stream): Actually mention the STARTTLS upgrade.
nnir.el (nnir-get-active): Skip nnir-ignored-newsgroups when searching.
nnir.el (nnir-ignore-newsgroups): Fix default value.
nnir.el (nnir-run-gmane): Use mm-delete-duplicates instead of delete-dups that is not available in XEmacs 21.4.
mm-util.el (mm-delete-duplicates): Add comment.
gnus-sum.el (gnus-summary-delete-article): If delete fails don't change the registry.
nnimap.el (nnimap-open-connection-1): w32 open-network-stream doesn't seem to accept strings-with-numbers as port numbers.
color.el: fix docstring to use English rather than math notation for intervals.
shr.el (shr-find-fill-point): Don't break before apostrophes.
nnir.el (nnir-request-move-article): Bail out if no move support in group.
color.el (color-rgb->hsv): Fix docstring.
nnir.el (nnir-get-active): Improve active list retrieval.
shr.el (shr-find-fill-point): Work better for kinsoku chars and apostrophes.
gnus-gravatar.el (gnus-gravatar-size): Set gnus-gravatar-size to nil.
nnimap.el (nnimap-open-connection-1): Use gnus-string-match-p.
nnimap.el (nnimap-open-connection-1): Fix PREAUTH.
proto-stream.el (open-protocol-stream): All starttls connections are handled by the network handler.
gnus-gravatar.el (gnus-gravatar-insert): Delete unnecessary binding to t of inhibit-read-only since it is inside gnus-with-article-headers.
gnus-gravatar.el (gnus-gravatar-transform-address): Use mail-extract-address-components that supports non-ASCII names rather than mail-header-parse-addresses.
shr.el (shr-find-fill-point): Don't break line between kinsoku-bol characters.
gnus-gravatar.el (gnus-gravatar-insert): Allow LWSP in the middle of names.
nnmaildir.el (nnmaildir-request-set-mark): Add article to add-mark funcall.
gnus-msg.el: Remove nastygram thing.
message.el (message-from-style): Fix comment.
message.el (message-user-organization): Do not use gnus-local-organization.
gnus.el: Remove gnus-local-organization.
rtree.el: New file to handle range trees.
nnir.el, gnus-sum.el: Redo the way nnir handles registry updates.
rtree.el (rtree-extract): Simplify.
gnus-win.el (gnus-configure-windows): Remove Gnus 3.x setting support.
gnus-msg.el: Mark gnus-outgoing-message-group as obsolete.
gnus.texi (Archived Messages): Remove gnus-outgoing-message-group.
gnus-win.el (gnus-configure-frame): Remove old compatibility code.
rtree.el (rtree-memq): Rewrite it as a non-recursive function.
rtree.el (rtree-add, rtree-delq, rtree-length): Implement.
rtree.el (rtree-add): Make code slightly faster.
nnir.el: Allow modified summary-line-format in nnir summary buffers.
2010-12-02 22:21:31 +00:00
Chong Yidong
07976ae3b8 Merge changes from emacs-23 branch 2010-11-27 15:04:57 -05:00
Julien Danjou
f5462bae4e color.el: Rename various rgb functions to srgb. 2010-11-26 11:19:00 +00:00
Gnus developers
36af6c6577 nnimap.el (nnimap-request-set-mark): Remove left over.
nnimap.el (nnimap-get-groups): Allow non-quoted strings as mailbox names.
2010-11-26 11:03:16 +00:00
Katsumi Yamaoka
b40950bfce shr.el (shr-insert): Revert last change.
shr.el (shr-find-fill-point): Never leave point being at bol; relax the kinsoku limitation when rendering tables.
2010-11-26 07:35:42 +00:00
Lars Magne Ingebrigtsen
5be93fc846 nnmail.el (nnmail-expiry-target-group): Protect against degenerate results from -accept-article. 2010-11-26 02:37:23 +00:00
Lars Magne Ingebrigtsen
1e91d0eb70 gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
nnheader.el (nnheader-update-marks-actions): Fix typo in last checkin.
shr-color.el: Require cl when compiling.
2010-11-26 02:31:57 +00:00
Lars Magne Ingebrigtsen
57cc52bed4 nnimap.el (nnimap-request-set-mark): Add is "+", not "-". 2010-11-26 02:17:55 +00:00
Lars Magne Ingebrigtsen
5f285722b6 nnml.el, nnfolder.el, nntp.el (*-request-set-mark): Extend syntax with 'set.
nnheader.el, nntp.el, nnfolder.el, nnml.el (*-request-set-mark): Refactor out nnheader-update-marks-actions and use it throughout.
nnmaildir.el (nnmaildir-request-set-mark): Be explicit about 'set.
gnus-sum.el (gnus-summary-push-marks-to-backend): Use 'set instead of 'add and 'delete to set backend marks.
2010-11-26 02:11:40 +00:00
Lars Magne Ingebrigtsen
17dd22813f nnimap.el (nnimap-find-uid-response): The UID is the last element in the list. 2010-11-26 01:27:37 +00:00
Lars Magne Ingebrigtsen
cccb4b4ccd nnimap.el: Use the UID returned when copying and accepting articles, instead of searching for the ID (on the servers that support it).
nnimap.el (nnimap-get-groups): Reimplement to work with folded lines.
2010-11-26 01:14:40 +00:00
Lars Magne Ingebrigtsen
ae48954851 nnimap.el (nnimap-last-response-string): Remove the unfolding -- it introduces regressions in article selection. 2010-11-26 00:45:03 +00:00
Lars Magne Ingebrigtsen
733de8e2d0 nnimap.el (nnimap-last-response-string): Fix last unfolding fix. 2010-11-25 23:43:16 +00:00
Katsumi Yamaoka
443ecb08cd message.el (message-called-interactively-p): A temporary macro.
message.el (message-goto-body): Use it temporarily.
2010-11-25 23:20:19 +00:00
Lars Magne Ingebrigtsen
a56a1cce92 nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
nnimap.el (nnimap-last-response-string): Unfold quoted lines, if they exist.
2010-11-25 23:05:10 +00:00
Gnus developers
fd042993b7 shr.el (shr-insert): Fix the way to fold lines.
shr-color.el (shr-color->hexadecimal): Use color-rgb->hex
color.el: Rename from color-lab.el
 (color-rgb->hex): Add.
 (color-complement): Add.
 (color-complement-hex): Add.
2010-11-25 14:51:51 +00:00
Julien Danjou
d50717f030 gnus-sum.el (gnus-summary-widget-forward): Add, and bind to [tab]. 2010-11-25 11:14:14 +00:00
Lars Magne Ingebrigtsen
fded65c75a shr-color.el (shr-color-visible): Don't bug out if the colour names don't exist. 2010-11-25 07:46:51 +00:00
Katsumi Yamaoka
e4f123a402 mml.el (mml-preview): Make sure to bind gnus-displaying-mime to nil, assuming that article displaying or another mml-preview may be interrupted for an error or for the like. 2010-11-25 05:09:25 +00:00
Katsumi Yamaoka
bbf9f302f3 shr.el (shr-get-background): Fix argument name. 2010-11-25 01:13:37 +00:00
Gnus developers
144b7b5c83 Merge changes made in Gnus trunk.
shr-color.el (shr-color-visible): Really return original background if fixed.
shr.el (shr-insert-color-overlay): Replace deprecated syntax.
shr.el (shr-tag-body, shr-descend): Add background support.
shr.el (shr-tag-title): Add.
gnus-sum.el (gnus-summary-articles-in-thread): Fix a bug that causes this function to return incorrect results.
shr.el (shr-parse-style): Drop !important from styles.
message.el (message-goto-body): Remove the <#secure special-casing, which is too special.
mm-util.el (mm-enable-multibyte): Use `to' instead of t.  This fixes something or other in Emacs 23, and is backwards compatible.
message.el (message-goto-body): Use called-interactively-p.
message.el (message-in-body-p): message-goto-body returns point.
nnimap.el (nnimap-request-move-article): It's no longer necessary to clear marks before moving, since they're synced from the Gnus side first.
gnus-sum.el (gnus-summary-push-marks-to-backend): New function.
gnus-sum.el (gnus-summary-move-article): Copy over all marks before moving, so that IMAP doesn't think a new article has arrived.
message.el (message-goto-body): called-interactively-p needs a parameter, so use `any'.
gnus-cache.el (gnus-summary-insert-cached-articles): Use it.
gnus-sum.el (gnus-summary-include-articles): New function.
shr.el (shr-tag-table, shr-render-td): Add bgcolor support.
shr-color.el (shr-color-visible): Fix docstring.
shr.el (shr-insert-background-overlay): Fix typo.
shr.el (shr-render-td): Copy the background before rendering.
2010-11-24 22:54:47 +00:00
Julien Danjou
5b42dfdd64 color-lab: Require 'cl when compiling. 2010-11-24 12:56:50 +00:00
Gnus developers
67d43a1d2f color-lab.el: Fix all expt calls to use float type.
shr-color.el: only return hexadecimal part of colors.
shr.el: Protect against non-existant colour names.
2010-11-24 11:32:22 +00:00
Katsumi Yamaoka
69881db0cb shr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color expression to shr-color-check as is. 2010-11-24 06:50:28 +00:00
Katsumi Yamaoka
4b8b6f602a shr-color.el (shr-color->hexadecimal): Ignore case of color names. 2010-11-24 06:22:51 +00:00
Katsumi Yamaoka
463bcf116e color-lab.el: Add coding cookie.
color-lab.el (float-pi): Use eval-and-compile.
2010-11-24 01:28:37 +00:00
Lars Magne Ingebrigtsen
1110d53b4e shr.el (shr-tag-font): Resurrect shr-tag-font again, since it's needed to parse <font color="red"> entries. 2010-11-24 00:35:23 +00:00
Gnus developers
094ae2abf3 Merge changes made in Gnus trunk.
nnheader.el (nnheader-parse-head): Bug fix.  Properly position point when parsing headers.
nnspool.el (nnspool-insert-nov-head): Bug fix.  Make sure point is positioned properly when parsing headers.
shr-color.el (shr-color->hexadecimal): Add support for color names.
color-lab.el (boundp): Bind float-pi for Emacs < 23.3.
shr.el (shr-insert-color-overlay): Split stuff like "#444444 !important" to find the real colour.
2010-11-23 22:24:15 +00:00
Julien Danjou
a299480856 shr-color.el: fix several function calls.
shr.el: replace newline with space in style parsing
2010-11-23 10:22:49 +00:00
Lars Magne Ingebrigtsen
ebe7955725 shr.el (shr-color->hexadecimal): Autoload.
shr.el (shr-descend): Add color to all tags and remove the tag-font and tag-span functions.
2010-11-23 08:21:09 +00:00
Julien Danjou
ef6a29070d shr.el (shr-tag-color-check): Convert colors to hexadecimal with shr-color->hexadecimal.
shr-color.el (shr-color->hexadecimal): Add converting functions for RGB() or HSL() color representation.
shr.el (shr-tag-font): Add.
 (shr-tag-color-check): New function to get better colors.
 (shr-tag-insert-color-overlay): Factorize code between tag-font and tag-span.
shr-color.el: New file.
color-lab.el: New file.
2010-11-23 00:03:44 +00:00
Stefan Monnier
296a8e1909 * lisp/gnus/ChangeLog: Improve style. 2010-11-22 13:00:40 -05:00
Julien Danjou
440b1345f6 gnus-art.el (gnus-url-mailto): Do not downcase args. 2010-11-22 11:33:06 +00:00
Gnus developers
59e7588262 Merge changes made in Gnus trunk.
nnir.el: Fix typo in comments.
 (nnir-run-imap): Simplify code. No need to reverse artlist.
 (nnir-run-gmane): Use nnir-tmp-buffer for web results.
gnus-srvr.el (gnus-server-show-server): New command and keystroke.
nnimap.el (nnimap-get-capabilities): Refactor out.
 (nnimap-open-connection): Re-request capabilities after STARTTLS.
gnus.texi (Server Commands): Document gnus-server-show-server.
2010-11-21 22:46:16 +00:00
Ralf Angeli
034244e55b Gnus: Fix display of message insertion marks. 2010-11-21 09:51:04 +01:00
Lars Magne Ingebrigtsen
e39a5583ef nnimap.el (nnimap-unselect-group): Made into its own function.
(nnimap-request-rename-group): Unselect group before renaming.  This had gotten lost somewhere.
 (nnimap-request-accept-article): Keep track of examined groups, and unselect the group before APPENDing to read-only groups.
 (nnimap-request-move-article): Clear flags before moving so that they can be re-set later.
2010-11-21 07:11:35 +00:00
Glenn Morris
2f5e7c6fbb ChangeLog fixes prompted by M-x authors. 2010-11-20 14:25:56 -08:00
Katsumi Yamaoka
e7424f06c9 gnus-gravatar.el (gnus-gravatar-transform-address): Decode name again.
(gnus-gravatar-insert): Put avatar always in the beginning of the field.
2010-11-20 01:18:17 +00:00
Yuri Karaban
4b320a0146 * pop3.el (pop3-open-server): Read server greeting before starting TLS negotiation. 2010-11-19 11:25:09 -05:00
Katsumi Yamaoka
18c01d769b gnus-html.el (gnus-html-prefetch-images): Fix last change. 2010-11-19 05:11:59 +00:00
Katsumi Yamaoka
b59a9eefbc Assume that gnus-inhibit-images may be a group parameter.
gnus-art.el (gnus-mime-display-single)
gnus-html.el (gnus-html-wash-images, gnus-html-prefetch-images)
mm-decode.el (mm-shr): Assume that gnus-inhibit-images may be a group parameter.
2010-11-19 04:55:16 +00:00
Lars Magne Ingebrigtsen
d30987508c shr.el: Allow customizing the vertical table lines.
shr.el (shr-table-horizontal-line): Renamed from shr-table-line.
 (shr-table-vertical-line): New variable.
 (shr-insert-table): Use it.
2010-11-18 06:34:02 +00:00
Katsumi Yamaoka
6568a67db8 gnus-html.el: Don't display images if gnus-inhibit-images is non-nil.
(gnus-html-wash-images): Don't display images if gnus-inhibit-images is non-nil; register displayer for cid images.
(gnus-html-display-image): Work for cid image.
(gnus-html-insert-image): Allow arguments.
(gnus-html-put-image): Inhibit read-only.
(gnus-html-prefetch-images): Don't prefetch images if gnus-inhibit-images is non-nil.
2010-11-18 02:00:00 +00:00
Gnus developers
c0f9edcead Merge changes made in Gnus trunk.
nnir.el (nnir-run-imap): Order the article list separately for each group.
shr.el (shr-put-image): Break lines when inserting big pictures.
mml2015.el (mml2015-epg-encrypt): Fix two cons with missing sender.
2010-11-17 22:15:24 +00:00
Katsumi Yamaoka
f8d8a97bda shr.el (shr-image-displayer): Protect function against non-existent image source. 2010-11-17 08:28:15 +00:00