+2005-02-21 04:42:34 Alain Bench <messtic@oreka.com> (roessler)
+
+ * parse.c, pgp.c, sendlib.c: Bcc should be RFC2047-encoded, too.
+
2005-02-19 16:00:24 Thomas Roessler <roessler@does-not-exist.org> (roessler)
* sendlib.c: Fix Debian 295528.
Changes specific to mutt-ng:
-2004-02-21:
+2005-02-22:
+ * Merged mutt changes
+ * Sidebar now honors the imap_home_namespace
+
+2005-02-21:
* Merged past mutt changes
* Fixed a bug in mutt_FormatString regarding aligning the rest of a string to the right (%>)
* Added fix from jschmitt
-2004-02-16:
+2005-02-16:
* fixed segfault in curs_lib.c
* fixed names
rfc2047_decode_adrlist (e->from);
rfc2047_decode_adrlist (e->to);
rfc2047_decode_adrlist (e->cc);
+ rfc2047_decode_adrlist (e->bcc);
rfc2047_decode_adrlist (e->reply_to);
rfc2047_decode_adrlist (e->mail_followup_to);
rfc2047_decode_adrlist (e->return_path);
if (!(WithCrypto & APPLICATION_PGP))
return msg->security;
+
+ /* If autoinline and no crypto options set, then set inline. */
+ if (option (OPTPGPAUTOINLINE) &&
+ !((msg->security & APPLICATION_PGP) && (msg->security & (SIGN|ENCRYPT))))
+ msg->security |= INLINE;
snprintf (prompt, sizeof (prompt),
_("PGP (e)ncrypt, (s)ign, sign (a)s, (b)oth, %s, or (c)lear? "),
/* Take care of 8-bit => 7-bit conversion. */
rfc2047_encode_adrlist (env->to, "To");
rfc2047_encode_adrlist (env->cc, "Cc");
+ rfc2047_encode_adrlist (env->bcc, "Bcc");
rfc2047_encode_adrlist (env->from, "From");
rfc2047_encode_adrlist (env->mail_followup_to, "Mail-Followup-To");
rfc2047_encode_adrlist (env->reply_to, "Reply-To");
/* back conversions */
rfc2047_decode_adrlist (env->to);
rfc2047_decode_adrlist (env->cc);
+ rfc2047_decode_adrlist (env->bcc);
rfc2047_decode_adrlist (env->from);
rfc2047_decode_adrlist (env->reply_to);
rfc2047_decode (&env->subject);
if ( c ) entry = c;
entry[SidebarWidth] = 0;
for (; i < SidebarWidth; entry[i++] = ' ' );
+#if USE_IMAP
+ if (ImapHomeNamespace && strlen(ImapHomeNamespace)>0) {
+ if (strncmp(box,ImapHomeNamespace,strlen(ImapHomeNamespace))==0 && strcmp(box,ImapHomeNamespace)!=0) {
+ box+=strlen(ImapHomeNamespace)+1;
+ }
+ }
+#endif
i = strlen(box);
strncpy( entry, box, i < SidebarWidth ? i :SidebarWidth );