Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 12:39:46 +0000 (13:39 +0100)]
Fix example.
Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 12:38:08 +0000 (13:38 +0100)]
(proto-stream-open-network): Add some comments.
Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 09:16:42 +0000 (10:16 +0100)]
See what the response to the STARTTLS command is.
Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 08:57:41 +0000 (09:57 +0100)]
(nnimap-open-connection-1): Really respect nnimap-server-port.
Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 03:40:56 +0000 (04:40 +0100)]
(nnimap-open-connection-1): Always upgrade to STARTTLS (for backwards compatibility).
Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 03:39:09 +0000 (04:39 +0100)]
(proto-stream-open-network): Wait until the greeting before doing STARTTLS.
Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 02:43:43 +0000 (03:43 +0100)]
If STARTTLS failed, then just open a normal connection.
Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 02:34:07 +0000 (03:34 +0100)]
Only do opportunistic STARTTLS upgrades if we have built-in TLS support.
It's too brittle otherwise.
Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 02:28:26 +0000 (03:28 +0100)]
Force starttls.el to use gnutls-cli, since that what we've checked for.
Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 02:23:22 +0000 (03:23 +0100)]
(Customizing the IMAP Connection): Note the new defaults.
(Direct Functions): Note the STARTTLS upgrade.
Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 02:10:13 +0000 (03:10 +0100)]
When doing opportunistic TLS upgrades we don't really care about the identity of the peer.
Lars Magne Ingebrigtsen [Sun, 28 Nov 2010 01:52:28 +0000 (02:52 +0100)]
(open-protocol-stream): Renamed from open-proto-stream.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 18:52:05 +0000 (19:52 +0100)]
Be more backwards-compatible.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 18:45:14 +0000 (19:45 +0100)]
Fix typo.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 18:44:16 +0000 (19:44 +0100)]
Try ssl first, and then network for IMAP connections.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 18:29:28 +0000 (19:29 +0100)]
Clean up the code slightly.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 18:22:08 +0000 (19:22 +0100)]
(proto-stream-open-network): Fix typo in the gnutls path.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 18:13:05 +0000 (19:13 +0100)]
(proto-stream-open-starttls): De-duplicate the starttls code.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 17:41:22 +0000 (18:41 +0100)]
* proto-stream.el (proto-stream-always-use-starttls): New variable.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 17:35:15 +0000 (18:35 +0100)]
(proto-stream-open-starttls): Actually implement the starttls.el STARTTLS.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 16:36:04 +0000 (17:36 +0100)]
Fix the syntax in the comment.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 16:08:29 +0000 (17:08 +0100)]
* color.el (color-lab->srgb): Fix function call name.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 15:57:33 +0000 (16:57 +0100)]
If we don't have gnutls-cli or gnutls built in, then don't try to establish a STARTTLS connection.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 15:53:28 +0000 (16:53 +0100)]
Delete output from openssl if we're using tls.el.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 15:30:29 +0000 (16:30 +0100)]
Switch on STARTTLS on NNTP servers that support it.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 15:09:11 +0000 (16:09 +0100)]
nntp.el: Use proto-streams for the relevant connections types.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 14:43:06 +0000 (15:43 +0100)]
(nnimap-open-connection): Check for "OK" from the greeting.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 14:36:34 +0000 (15:36 +0100)]
(proto-stream-open-network): Fix some typos.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 14:28:41 +0000 (15:28 +0100)]
Complete the proto-stream documentation and fix some typos.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 14:17:13 +0000 (15:17 +0100)]
proto-stream.el: New library to provide protocol-specific TLS/STARTTLS connections for IMAP, NNTP, SMTP, POP3 and similar protocols.
Lars Magne Ingebrigtsen [Sat, 27 Nov 2010 14:39:02 +0000 (15:39 +0100)]
Merge resolved.
Andrew Cohen [Sat, 27 Nov 2010 14:15:37 +0000 (09:15 -0500)]
nnir.el: Batch header retrieval.
Speeds up header retrieval of long article lists by an order of magnitude.
Julien Danjou [Fri, 26 Nov 2010 11:04:02 +0000 (12:04 +0100)]
Rename RGB to sRGB
Signed-off-by: Julien Danjou <julien@danjou.info>
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 10:41:13 +0000 (11:41 +0100)]
(nnimap-get-groups): Allow non-quoted strings as mailbox names.
Julien Danjou [Fri, 26 Nov 2010 08:27:51 +0000 (09:27 +0100)]
remove left over
Signed-off-by: Julien Danjou <julien@danjou.info>
Katsumi Yamaoka [Fri, 26 Nov 2010 07:34:22 +0000 (07:34 +0000)]
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.
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 02:33:00 +0000 (03:33 +0100)]
(nnmail-expiry-target-group): Protect against degenerate results from -accept-article.
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 02:29:50 +0000 (03:29 +0100)]
* shr-color.el: Require cl when compiling.
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 02:26:57 +0000 (03:26 +0100)]
* nnheader.el (nnheader-update-marks-actions): Fix typo in last checkin.
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 02:19:55 +0000 (03:19 +0100)]
* gnus-art.el (gnus-url-mailto): Unfold URLs before using them.
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 02:11:27 +0000 (03:11 +0100)]
* nnimap.el (nnimap-request-set-mark): Add is "+", not "-".
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 02:01:52 +0000 (03:01 +0100)]
Use 'set instead of 'add and 'delete to set backend marks.
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 01:59:55 +0000 (02:59 +0100)]
(nnmaildir-request-set-mark): Be explicit about 'set.
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 01:55:42 +0000 (02:55 +0100)]
Refactor out nnheader-update-marks-actions and use it throughout.
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 01:50:41 +0000 (02:50 +0100)]
(*-request-set-mark): Extend syntax with 'set.
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 01:21:38 +0000 (02:21 +0100)]
(nnimap-find-uid-response): The UID is the last element in the list.
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 01:00:28 +0000 (02:00 +0100)]
(nnimap-get-groups): Reimplement to work with folded lines.
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 00:54:05 +0000 (01:54 +0100)]
Use the UID returned when copying and accepting articles, instead of
searching for the ID (on the servers that support it).
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 00:39:13 +0000 (01:39 +0100)]
* nnimap.el (nnimap-last-response-string): Remove the unfolding -- it
introduces regressions in article selection.
Lars Magne Ingebrigtsen [Thu, 25 Nov 2010 23:27:16 +0000 (00:27 +0100)]
(nnimap-last-response-string): Fix last unfolding fix.
Katsumi Yamaoka [Thu, 25 Nov 2010 23:18:49 +0000 (23:18 +0000)]
message.el (message-called-interactively-p): A temporary macro.
message.el (message-goto-body): Use it temporarily.
Lars Magne Ingebrigtsen [Thu, 25 Nov 2010 22:56:47 +0000 (23:56 +0100)]
(nnimap-last-response-string): Unfold quoted lines, if they exist.
Lars Magne Ingebrigtsen [Thu, 25 Nov 2010 22:52:35 +0000 (23:52 +0100)]
* nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
Katsumi Yamaoka [Thu, 25 Nov 2010 14:41:22 +0000 (14:41 +0000)]
Merge branch 'master' of https://git.gnus.org/gnus
Katsumi Yamaoka [Thu, 25 Nov 2010 14:40:40 +0000 (14:40 +0000)]
shr.el (shr-insert): Fix the way to fold lines.
Julien Danjou [Thu, 25 Nov 2010 13:56:45 +0000 (14:56 +0100)]
color: add more function, use them in shr-color
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 25 Nov 2010 13:41:53 +0000 (14:41 +0100)]
color-lab: rename to color
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Thu, 25 Nov 2010 10:08:07 +0000 (11:08 +0100)]
gnus-sum: add gnus-summary-widget-forward
Signed-off-by: Julien Danjou <julien@danjou.info>
Lars Magne Ingebrigtsen [Thu, 25 Nov 2010 07:33:07 +0000 (08:33 +0100)]
(shr-color-visible): Don't bug out if the colour names don't exist.
Katsumi Yamaoka [Thu, 25 Nov 2010 05:08:50 +0000 (05:08 +0000)]
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.
Katsumi Yamaoka [Thu, 25 Nov 2010 01:12:39 +0000 (01:12 +0000)]
shr.el (shr-get-background): Fix argument name.
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 22:45:44 +0000 (23:45 +0100)]
Insert masses of cached articles faster.
Julien Danjou [Wed, 24 Nov 2010 22:43:57 +0000 (23:43 +0100)]
shr: copy bg before rendering td
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 22:32:12 +0000 (23:32 +0100)]
fix typo
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 22:30:30 +0000 (23:30 +0100)]
shr-color: fix docstring
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 22:01:37 +0000 (23:01 +0100)]
shr: add bgcolor support in td
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 21:57:10 +0000 (22:57 +0100)]
shr: add bgcolor support on table
Signed-off-by: Julien Danjou <julien@danjou.info>
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 22:07:52 +0000 (23:07 +0100)]
(message-goto-body): called-interactively-p needs a parameter, so use `any'.
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 22:03:25 +0000 (23:03 +0100)]
It's no longer necessary to clear marks before moving, since they're synced from the Gnus side first.
Julien Danjou [Wed, 24 Nov 2010 21:38:18 +0000 (22:38 +0100)]
Revert "message-goto-body: Really return point"
This reverts commit
4ec149e93d1e982f635cb961d99ce6a394c7f6e0.
Julien Danjou [Wed, 24 Nov 2010 21:21:29 +0000 (22:21 +0100)]
message-goto-body: Really return point
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 21:16:29 +0000 (22:16 +0100)]
message-in-body-p: message-goto-body return points
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 21:00:46 +0000 (22:00 +0100)]
message: use called-interactively-p
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 20:55:33 +0000 (21:55 +0100)]
Revert "message: skip <#secure"
This reverts commit
e2d0aa0ac0d807262cf496a5eab75b8164b1365f.
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 21:06:30 +0000 (22:06 +0100)]
(mm-enable-multibyte): Use `to' instead of t. This fixes Fixes something or other in Emacs 23, and is backwards compatible.
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 20:55:21 +0000 (21:55 +0100)]
Remove the <#secure special-casing, which is too special.
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 20:47:57 +0000 (21:47 +0100)]
* shr.el (shr-parse-style): Drop !important from styles.
Julien Danjou [Wed, 24 Nov 2010 20:26:25 +0000 (21:26 +0100)]
message: skip <#secure
Signed-off-by: Julien Danjou <julien@danjou.info>
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 20:23:47 +0000 (21:23 +0100)]
(gnus-summary-articles-in-thread): Fix a bug that causes this function to return incorrect results.
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 20:16:58 +0000 (21:16 +0100)]
Revert the <#secure change, since it made yanking functions not work.
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 19:46:40 +0000 (20:46 +0100)]
Fill.
Łukasz Stelmach [Tue, 23 Nov 2010 20:55:35 +0000 (21:55 +0100)]
message-goto-body after <#secure
The following patch makes message-goto-body function put cursor after
possible "<#secure" tag. This hits two birds with one stone: pressing
C-c C-b moves me where I can start typing and any citations that get
inserted into a new message buffer when replying (I have not tested
resending or forwarding yet but I suppose it works the same way) leave
the tag at the very begining of a message.
Why I wrote this? I've set up mml-secure-message-sign-pgpmime as a part
of message-setup-hook. I prefere this to putting it in message-send-hook
because I can decide whether to sign a message or not. And it works well
for a new message. However, it fails for replies because just before
citations are inserted message-goto-body sets point *brefore*
the <#secure tag that is there since message-setup-hook gets fired
before citations.
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 17:22:50 +0000 (18:22 +0100)]
shr: add shr-tag-title
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 17:09:45 +0000 (18:09 +0100)]
shr: add background support
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 16:22:10 +0000 (17:22 +0100)]
shr: replace deprecated syntax
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 16:13:23 +0000 (17:13 +0100)]
shr-color: really return background if fixed
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 12:41:34 +0000 (13:41 +0100)]
color-lab: Require 'cl when compiling
Signed-off-by: Julien Danjou <julien@danjou.info>
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 10:56:03 +0000 (11:56 +0100)]
Protect against non-existant colour names.
Julien Danjou [Wed, 24 Nov 2010 08:49:56 +0000 (09:49 +0100)]
shr-color: only return hexadecimal part of colors
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Wed, 24 Nov 2010 08:35:45 +0000 (09:35 +0100)]
color-lab: fix all expt calls to use float type
Signed-off-by: Julien Danjou <julien@danjou.info>
Katsumi Yamaoka [Wed, 24 Nov 2010 06:48:20 +0000 (06:48 +0000)]
shr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color expression to shr-color-check as is.
Katsumi Yamaoka [Wed, 24 Nov 2010 06:20:57 +0000 (06:20 +0000)]
shr-color.el (shr-color->hexadecimal): Ignore case of color names.
Katsumi Yamaoka [Wed, 24 Nov 2010 01:27:53 +0000 (01:27 +0000)]
color-lab.el: Add coding cookie.
color-lab.el (float-pi): Use eval-and-compile.
dgnushack.el (dgnushack-compile): Exclude shr-color.el from being compiled for Emacsen having no `libxml-parse-html-region' support.
Lars Magne Ingebrigtsen [Tue, 23 Nov 2010 23:54:19 +0000 (00:54 +0100)]
Resurrect shr-tag-font again, since it's needed to parse <font color="red"> entries.
Lars Magne Ingebrigtsen [Tue, 23 Nov 2010 19:26:49 +0000 (20:26 +0100)]
Split stuff like "#444444 !important" to find the real colour.
Julien Danjou [Tue, 23 Nov 2010 16:00:52 +0000 (17:00 +0100)]
color-lab find float-pi for old Emacs
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Tue, 23 Nov 2010 15:13:43 +0000 (16:13 +0100)]
shr-color: add support for color names
Signed-off-by: Julien Danjou <julien@danjou.info>
Andrew Cohen [Tue, 23 Nov 2010 13:10:39 +0000 (08:10 -0500)]
nnheader.el (nnheader-parse-head): Bug fix. Properly position point.
Julien Danjou [Tue, 23 Nov 2010 09:47:00 +0000 (10:47 +0100)]
shr: replace newline with space in style parsing
Signed-off-by: Julien Danjou <julien@danjou.info>
Julien Danjou [Tue, 23 Nov 2010 09:14:03 +0000 (10:14 +0100)]
shr-color: fix several function calls
Signed-off-by: Julien Danjou <julien@danjou.info>