]> granicus.if.org Git - neomutt/log
neomutt
16 years agoMerge with Rocco
Brendan Cully [Sun, 31 Aug 2008 03:00:06 +0000 (20:00 -0700)]
Merge with Rocco

16 years agoRework timeout handling to support keepalive in the line editor.
Brendan Cully [Sun, 31 Aug 2008 02:59:42 +0000 (19:59 -0700)]
Rework timeout handling to support keepalive in the line editor.
Also allow keepalives of less than $timeout without returning before
$timeout, so people who don't want to be notified of new mail don't
have to be.

16 years agoManual: use $variable syntax, only quote non-variable links
Rocco Rutte [Sat, 30 Aug 2008 21:19:31 +0000 (23:19 +0200)]
Manual: use $variable syntax, only quote non-variable links

16 years agoManual: Various fixes+improvements in chapters 1+2
Rocco Rutte [Sat, 30 Aug 2008 20:08:11 +0000 (22:08 +0200)]
Manual: Various fixes+improvements in chapters 1+2

16 years agoManual: Layout functions as <function-name>, s/ESC/Esc/ for consistency
Rocco Rutte [Sat, 30 Aug 2008 19:25:25 +0000 (21:25 +0200)]
Manual: Layout functions as <function-name>, s/ESC/Esc/ for consistency

16 years agomakedoc: Add support for monospace fonts with \fC...\fP
Rocco Rutte [Sat, 30 Aug 2008 18:58:49 +0000 (20:58 +0200)]
makedoc: Add support for monospace fonts with \fC...\fP

16 years agoManual: trim trailing whitespace
Rocco Rutte [Sat, 30 Aug 2008 18:00:42 +0000 (20:00 +0200)]
Manual: trim trailing whitespace

16 years agoManual: Fix processing warnings by manually assigning missing id attributes
Rocco Rutte [Sat, 30 Aug 2008 17:17:43 +0000 (19:17 +0200)]
Manual: Fix processing warnings by manually assigning missing id attributes

16 years agoManual: Add a section on mutt core concepts as introduction
Rocco Rutte [Sat, 30 Aug 2008 16:36:21 +0000 (18:36 +0200)]
Manual: Add a section on mutt core concepts as introduction

16 years agoMake curses timeout the minimum of $timeout and $imap_keepalive.
Rado Smiljanic [Sat, 30 Aug 2008 06:10:50 +0000 (23:10 -0700)]
Make curses timeout the minimum of $timeout and $imap_keepalive.
Do keepalive in km_dokey instead of directly in menu. Closes #2747.

16 years agoDead code
Brendan Cully [Sat, 30 Aug 2008 05:40:19 +0000 (22:40 -0700)]
Dead code

16 years agoRemove redundant code
Brendan Cully [Sat, 30 Aug 2008 01:18:59 +0000 (18:18 -0700)]
Remove redundant code

16 years agoUse sorted headers in imap_exec_msgset. Fixes [e68f79fef249].
Brendan Cully [Fri, 29 Aug 2008 23:54:56 +0000 (16:54 -0700)]
Use sorted headers in imap_exec_msgset. Fixes [e68f79fef249].
Closes #3000 again.

16 years agoOnly consider empty files non-existent for buffy's purpose.
YONETANI Tomokazu [Fri, 29 Aug 2008 08:23:28 +0000 (10:23 +0200)]
Only consider empty files non-existent for buffy's purpose.

According to SUS, the st_size member of struct stat is undefined
for directories. In case a system reports 0, the newly_created
flag will be set for a directory and the magic will be cleared.

If the folder type is cleared, mutt won't check the folder for
new mail and thus will ignore MH and Maildir type folders on
such a fs completely (e.g. the HAMMER fs on DragonFly BSD).

16 years agoThe msgset changes seem buggy. Reverting pending further testing.
Brendan Cully [Thu, 28 Aug 2008 18:19:36 +0000 (11:19 -0700)]
The msgset changes seem buggy. Reverting pending further testing.

16 years agoSplit long IMAP commands for the benefit of lazy servers (closes #3000).
Brendan Cully [Thu, 28 Aug 2008 09:31:14 +0000 (02:31 -0700)]
Split long IMAP commands for the benefit of lazy servers (closes #3000).
Also touches lots of old, hairy code. Likely to wake sleeping dogs.

16 years agoProperly set the SASL external auth name when using SSL client certs.
Brendan Cully [Wed, 27 Aug 2008 06:09:13 +0000 (23:09 -0700)]
Properly set the SASL external auth name when using SSL client certs.
Also zero out the account structure before filling it with available
data. Client certificates + SASL EXTERNAL were only working by luck.

16 years agoRemove leftover IMAP IDLE handling from before [53d9210aa4ee].
Brendan Cully [Tue, 26 Aug 2008 09:07:21 +0000 (02:07 -0700)]
Remove leftover IMAP IDLE handling from before [53d9210aa4ee].

16 years agoIntroduce $imap_pipeline_depth.
Brendan Cully [Mon, 25 Aug 2008 07:52:17 +0000 (00:52 -0700)]
Introduce $imap_pipeline_depth.
This lets users control the number of commands that mutt will queue up
before sending them to the server. Setting this to 0 disables
pipelining, which should close #2892.

16 years agoRework IMAP command queueing to allow pipelining to be disabled.
Brendan Cully [Mon, 25 Aug 2008 07:16:30 +0000 (00:16 -0700)]
Rework IMAP command queueing to allow pipelining to be disabled.
IDLE handling has been better abstracted, and there are fewer entry
points to the IMAP command issuing machinery. Any commands that
are simply queued may be executed whenever the pipeline fills,
instead of requiring explicit handling in the caller.

Tested on my Cyrus server, but I wouldn't be surprise if this causes
new problems.

16 years agoManual: Fix DTD validation error and message header display section
Rocco Rutte [Sun, 24 Aug 2008 18:01:31 +0000 (20:01 +0200)]
Manual: Fix DTD validation error and message header display section

16 years agoManual: Fix typo
Rocco Rutte [Sun, 24 Aug 2008 15:06:30 +0000 (17:06 +0200)]
Manual: Fix typo

16 years agoManual: Fix style and typos.
Rocco Rutte [Sun, 24 Aug 2008 15:03:42 +0000 (17:03 +0200)]
Manual: Fix style and typos.
Noted by Vincent Lefevre, see #3109.

16 years agoWhitespace cleanup
Brendan Cully [Sat, 23 Aug 2008 22:25:49 +0000 (15:25 -0700)]
Whitespace cleanup

16 years agoFix infinite loop with "mutt -", introduced in [31c9e9727d42].
Brendan Cully [Sat, 23 Aug 2008 22:21:42 +0000 (15:21 -0700)]
Fix infinite loop with "mutt -", introduced in [31c9e9727d42].
Treats - as a non-option argument. It would be reasonable to treat it
as an error instead.

16 years agoHandle -- correctly with or without -a, closes #3097
Aron Griffis [Tue, 19 Aug 2008 20:44:26 +0000 (16:44 -0400)]
Handle -- correctly with or without -a, closes #3097

Prefix optstring with "+" to force POSIX behavior on GNU getopt, and thereby
prevent reordering argv.  This allows us to correctly handle mixed addresses,
attachments, options and the double-dash to signal end-of-options.

Signed-off-by: Aron Griffis <agriffis@n01se.net>
16 years agoManual: fix/improve markup/content, see #3109
Rocco Rutte [Fri, 22 Aug 2008 15:49:07 +0000 (17:49 +0200)]
Manual: fix/improve markup/content, see #3109

16 years agoClarify documentation for $config_charset.
Rocco Rutte [Thu, 21 Aug 2008 08:42:31 +0000 (10:42 +0200)]
Clarify documentation for $config_charset.
Closes #2021.

16 years agoImprove color/mono command synopsis.
Rocco Rutte [Thu, 21 Aug 2008 08:30:48 +0000 (10:30 +0200)]
Improve color/mono command synopsis.
Closes #2630.

16 years agoBetter document the effect of $thorough_search being unset.
Rocco Rutte [Thu, 21 Aug 2008 07:36:56 +0000 (09:36 +0200)]
Better document the effect of $thorough_search being unset.
Closes #3104.

16 years agoPort certificate host checking from msmtp to mutt.
Rocco Rutte [Thu, 21 Aug 2008 05:33:52 +0000 (07:33 +0200)]
Port certificate host checking from msmtp to mutt.
It supports IDN, wildcards and extracting the hostname from
subject alternative field as well as common name which should
be the same gnutls supports. Closes #3087.

16 years agoSilence an incorrect uninitialized variable warning.
Brendan Cully [Tue, 19 Aug 2008 20:17:18 +0000 (13:17 -0700)]
Silence an incorrect uninitialized variable warning.

16 years agoBetter documentation for how quote_regexp determines quote level.
Brendan Cully [Tue, 19 Aug 2008 20:14:51 +0000 (13:14 -0700)]
Better documentation for how quote_regexp determines quote level.
Closes #1463.

16 years agoMake text/enriched handler multibyte aware. Closes #3033.
Rocco Rutte [Tue, 19 Aug 2008 07:39:44 +0000 (09:39 +0200)]
Make text/enriched handler multibyte aware. Closes #3033.

16 years agoUpdated French translation.
Vincent Lefevre [Mon, 18 Aug 2008 20:08:43 +0000 (13:08 -0700)]
Updated French translation.

16 years agoIgnore zero width characters U+200B/U+FEFF which may garble the display. Closes ...
Rocco Rutte [Mon, 18 Aug 2008 08:24:20 +0000 (10:24 +0200)]
Ignore zero width characters U+200B/U+FEFF which may garble the display. Closes #3061, #3048.

16 years agoValidate charset names for all charset options.
Rocco Rutte [Mon, 18 Aug 2008 08:20:40 +0000 (10:20 +0200)]
Validate charset names for all charset options.
Validation is either done against mutt's table of IANA assigned names or local iconv
implementation (based on the assumption that iconv_open(charset,charset) fails if charset
is unknown to the implementation). Closes #1668.

16 years agoFix type-punning warning in sasl_getprop usage
Brendan Cully [Fri, 15 Aug 2008 18:53:14 +0000 (11:53 -0700)]
Fix type-punning warning in sasl_getprop usage

16 years agoFix a couple of compiler warnings introduced in [00ce81d778bf].
Brendan Cully [Fri, 15 Aug 2008 18:41:26 +0000 (11:41 -0700)]
Fix a couple of compiler warnings introduced in [00ce81d778bf].
Make the style of mutt_parse_references more pleasing to me.

16 years agoFix three bugs handling flags in mutt_copy_header
Aron Griffis [Thu, 10 Jul 2008 13:38:25 +0000 (09:38 -0400)]
Fix three bugs handling flags in mutt_copy_header

1. mutt_copy_header incorrectly tests CH_UPDATE to determine whether to write
   the In-Reply-To and References headers.  CH_UPDATE refers only to Status: and
   X-Status:

2. mutt_copy_header ignores CH_NOSTATUS which is supposed to indicate that the
   mailbox type doesn't use those headers.

3. mutt_copy_header tests h->env->irt_changed and h->env->refs_changed when it
   should be testing CH_UPDATE_IRT and CH_UPDATE_REFS, respectively.  Early in
   the function this happens:

    if (h->env)
      flags |= (h->env->irt_changed ? CH_UPDATE_IRT : 0)
        | (h->env->refs_changed ? CH_UPDATE_REFS : 0);

   This means that for most callers, the result is the same, but
   mutt_copy_header should be testing the flags because the caller might have
   set them explicitly without setting irt_changed/refs_changed.

Signed-off-by: Aron Griffis <agriffis@n01se.net>
16 years agoUnify parser for message-ids
Aron Griffis [Thu, 10 Jul 2008 23:30:00 +0000 (19:30 -0400)]
Unify parser for message-ids

Rewrite mutt_extract_message_id and change mutt_parse_references to us it.  The
parser in mutt_extract_message_id is looser than the old one in
mutt_parse_references; it just looks for <[^\s>]+> and doesn't worry about
@-signs.  Additionally it doesn't use strtok, so the input string can be const.

Closes #3090, #1935, #1116 (both the stated bug and the conversation following).

Signed-off-by: Aron Griffis <agriffis@n01se.net>
16 years agoPrefer "backtick" over "backtic" on comments and docs as it's more common, closes...
Rocco Rutte [Mon, 11 Aug 2008 14:42:06 +0000 (16:42 +0200)]
Prefer "backtick" over "backtic" on comments and docs as it's more common, closes #3101.

16 years agodoc: semi-colon needs quoting too
Aron Griffis [Sun, 27 Jul 2008 14:48:45 +0000 (10:48 -0400)]
doc: semi-colon needs quoting too

If semi-colon is bound or macro'd, it needs to be quoted like space, otherwise
mutt thinks it's separating commands.

Signed-off-by: Aron Griffis <agriffis@n01se.net>
16 years agoMerge with brendan
Rocco Rutte [Fri, 25 Jul 2008 17:24:22 +0000 (19:24 +0200)]
Merge with brendan

16 years agoDocument that my_ variables aren't expanded in backticks, too
Rocco Rutte [Fri, 25 Jul 2008 17:23:21 +0000 (19:23 +0200)]
Document that my_ variables aren't expanded in backticks, too

16 years agoFix typos in manual.xml.head and init.h. Closes #3096.
Vincent Lefevre [Tue, 22 Jul 2008 14:30:42 +0000 (16:30 +0200)]
Fix typos in manual.xml.head and init.h. Closes #3096.

16 years agonoop cleanup: move mutt_copy_header flags to copy.h
Aron Griffis [Mon, 21 Jul 2008 14:24:58 +0000 (10:24 -0400)]
noop cleanup: move mutt_copy_header flags to copy.h

Noticed while reading that these flags are better defined in copy.h than mutt.h.
Builds without warnings.

Signed-off-by: Aron Griffis <agriffis@n01se.net>
16 years agoFix m4 serial numbers to avoid aclocal 1.10 warnings
Brendan Cully [Thu, 24 Jul 2008 20:19:56 +0000 (16:19 -0400)]
Fix m4 serial numbers to avoid aclocal 1.10 warnings

16 years agoRemove variables no longer used since [7729b1ad530c]
Brendan Cully [Thu, 24 Jul 2008 16:15:29 +0000 (12:15 -0400)]
Remove variables no longer used since [7729b1ad530c]

16 years agoDisable GCC long long warnings with -pedantic. Closes #2823.
Brendan Cully [Thu, 24 Jul 2008 16:13:03 +0000 (12:13 -0400)]
Disable GCC long long warnings with -pedantic. Closes #2823.
Thanks to Aron Griffis for the suggestion.

16 years agoUse itemized lists for listing possible sort config settings.
Rocco Rutte [Mon, 21 Jul 2008 09:53:42 +0000 (11:53 +0200)]
Use itemized lists for listing possible sort config settings.

16 years agomakedoc: Add ".ie" and ".il" to support itemized lists.
Rocco Rutte [Mon, 21 Jul 2008 09:42:27 +0000 (11:42 +0200)]
makedoc: Add ".ie" and ".il" to support itemized lists.

Some settings docs use verbatim screen environments to print
lists while support for real lists will make it look nicer:
for docbook use <itemizedlist/>, \(hy for roff and '-' for text.

16 years agoDocument that account-hook is intended for connection-related settings only
Rocco Rutte [Mon, 21 Jul 2008 09:41:38 +0000 (11:41 +0200)]
Document that account-hook is intended for connection-related settings only

16 years agoManual: Use tables for message flags as it's more compact
Rocco Rutte [Mon, 21 Jul 2008 09:40:44 +0000 (11:40 +0200)]
Manual: Use tables for message flags as it's more compact

16 years agoManual: minor formatting tweaks
Rocco Rutte [Mon, 21 Jul 2008 09:40:07 +0000 (11:40 +0200)]
Manual: minor formatting tweaks

16 years agoEncode lines written to $alias_file in $config_charset if set. Closes #3095
Rocco Rutte [Mon, 21 Jul 2008 07:11:40 +0000 (09:11 +0200)]
Encode lines written to $alias_file in $config_charset if set. Closes #3095

16 years agoUnify mutt_write_references
Aron Griffis [Thu, 10 Jul 2008 13:38:25 +0000 (09:38 -0400)]
Unify mutt_write_references

copy.c and sendlib.c have independent and different implementations of writing
references to a file.  Choose the one in sendlib since it's conservative with
mallocs and supports trimming the list.

Signed-off-by: Aron Griffis <agriffis@n01se.net>
16 years agoClean up error handling in mutt_copy_header
Aron Griffis [Thu, 10 Jul 2008 13:38:25 +0000 (09:38 -0400)]
Clean up error handling in mutt_copy_header

mutt_copy_header unnecessarily tests the result of each fputc/fputs (well, most
of them anyway, it's not consistent).  This obfuscates the code and hides bugs.
Remove these extraneous checks since ferror/feof are checked at the bottom of
the function, and get rid of all the early returns.

Signed-off-by: Aron Griffis <agriffis@n01se.net>
16 years agoCleanup unused vars changeset ba0d96408425 didn't remove
Rocco Rutte [Thu, 17 Jul 2008 17:48:16 +0000 (19:48 +0200)]
Cleanup unused vars changeset ba0d96408425 didn't remove

16 years agoMention that @ can be used in usernames in URLs
Rocco Rutte [Fri, 11 Jul 2008 09:34:42 +0000 (11:34 +0200)]
Mention that @ can be used in usernames in URLs

16 years agoAllow UTF-8 charset to be misspelled as "utf8"
Rocco Rutte [Fri, 11 Jul 2008 09:33:13 +0000 (11:33 +0200)]
Allow UTF-8 charset to be misspelled as "utf8"

16 years agoVerify hostname in (Open)SSL certificate validation
Rocco Rutte [Fri, 11 Jul 2008 06:47:01 +0000 (08:47 +0200)]
Verify hostname in (Open)SSL certificate validation

This is based on the patch by gkloepfer attached to #3087 but passes the
proper connection as argument (avoiding adding hostname to struct
sslsockdata) and validates the hostname even in case OpenSSL cannot find
the local issuer certificate.  GnuTLS already supports hostname
checking. Closes #3087.

16 years agoPrevent some pointers of 'struct body' being saved to hcache
Rocco Rutte [Thu, 10 Jul 2008 20:02:47 +0000 (22:02 +0200)]
Prevent some pointers of 'struct body' being saved to hcache

This addresses the hcache safety issue but maybe doesn't fix it
completely, see #2942. This also prevents mutt from crashing when
using a hcache that was synced when syncing the mailbox (updating
changed and fully-parsed messages).

16 years agoRemove completely wrong comment regarding in-reply-to and references
Aron Griffis [Thu, 10 Jul 2008 19:46:05 +0000 (21:46 +0200)]
Remove completely wrong comment regarding in-reply-to and references

...plus fix one other comment and some whitespace.

16 years agoDocument redirection to trigger batch send mode in mutt(1) and mutt -h. Closes #2070.
Rocco Rutte [Wed, 9 Jul 2008 09:14:25 +0000 (09:14 +0000)]
Document redirection to trigger batch send mode in mutt(1) and mutt -h. Closes #2070.

16 years agoFix syntax error for strtok_r compatitility prototype
Ralf Wildenhues [Fri, 4 Jul 2008 07:09:43 +0000 (09:09 +0200)]
Fix syntax error for strtok_r compatitility prototype

16 years agoUse stat() instead of dirent->d_type to test for directory. Closes #3089.
Vladimir Marek [Wed, 2 Jul 2008 16:26:17 +0000 (18:26 +0200)]
Use stat() instead of dirent->d_type to test for directory. Closes #3089.

16 years agoCalculate menu->max after a possible resort in index
Rocco Rutte [Wed, 2 Jul 2008 16:23:30 +0000 (18:23 +0200)]
Calculate menu->max after a possible resort in index
(maybe changing number of messages). Closes #3088.

16 years agoFix casts for progress update to prevent -ftrapv aborts to trigger. Closes #3018.
Rocco Rutte [Wed, 2 Jul 2008 16:08:07 +0000 (18:08 +0200)]
Fix casts for progress update to prevent -ftrapv aborts to trigger. Closes #3018.

16 years agoOnly make LC_MESSAGES conditional on NLS in GPGME locale support.
Brendan Cully [Wed, 2 Jul 2008 15:56:00 +0000 (08:56 -0700)]
Only make LC_MESSAGES conditional on NLS in GPGME locale support.

16 years agoUse realpath() in mutt_pretty_mailbox() for paths that may need it.
Rocco Rutte [Wed, 2 Jul 2008 09:19:14 +0000 (11:19 +0200)]
Use realpath() in mutt_pretty_mailbox() for paths that may need it.
This requires to add the buffer size as parameter since the result may
be longer than the original but still fit in the buffer. Closes #2948.

16 years agoUse casts to avoid triggering integer overflow detection in hash function
Rocco Rutte [Wed, 2 Jul 2008 08:06:10 +0000 (10:06 +0200)]
Use casts to avoid triggering integer overflow detection in hash function

16 years agoClamp timeval math to unsigned int to match progress timestamps.
Vincent Lefevre [Wed, 2 Jul 2008 03:06:03 +0000 (20:06 -0700)]
Clamp timeval math to unsigned int to match progress timestamps.
This is fine since only relative differences matter. Closes #3018.

16 years agoSet GPGME locale on first attempt to create context.
Brendan Cully [Wed, 2 Jul 2008 01:29:47 +0000 (18:29 -0700)]
Set GPGME locale on first attempt to create context.
Closes #2913.

16 years agoStub in a gpgme version of extract-keys. It doesn't currently work
Brendan Cully [Wed, 2 Jul 2008 00:57:37 +0000 (17:57 -0700)]
Stub in a gpgme version of extract-keys. It doesn't currently work
right because apparently while gpg on the command line can parse a
whole message, we'll have to do it for gpgme. I really wonder about
the 'ME' part of GPGME sometimes.

16 years agoSupport displaying application/pgp-keys with GPGME.
Brendan Cully [Wed, 2 Jul 2008 00:20:02 +0000 (17:20 -0700)]
Support displaying application/pgp-keys with GPGME.
This was pretty convoluted because GPGME provides no way to examine a
key block without importing it. This code creates a temporary GPG home
in which to import the key in order to display it.

16 years agoHandle DONTHANDLEPGPKEYS in handler instead of crypto modules.
Brendan Cully [Tue, 1 Jul 2008 21:49:21 +0000 (14:49 -0700)]
Handle DONTHANDLEPGPKEYS in handler instead of crypto modules.
This lets gpgme and classic pgp share a bit of logic, and unbreaks key
extraction at least for classic PGP.

16 years agoBail out of copy if decryption is requested but the desired engine is missing.
Brendan Cully [Tue, 1 Jul 2008 20:32:33 +0000 (13:32 -0700)]
Bail out of copy if decryption is requested but the desired engine is missing.
This closes #2684, but handling of mixed crypto in a single message
needs more investigation.

16 years agoWhen deleting attachments, always print newline separating header from body.
Unknown [Tue, 1 Jul 2008 08:10:24 +0000 (01:10 -0700)]
When deleting attachments, always print newline separating header from body.
Closes #3085.

16 years agoImprove gpgme SMIME uid display: align each line by the length of the first.
Brendan Cully [Sun, 29 Jun 2008 08:09:33 +0000 (01:09 -0700)]
Improve gpgme SMIME uid display: align each line by the length of the first.

16 years agoShow more information about problematic SMIME signatures under gpgme.
Brendan Cully [Sun, 29 Jun 2008 07:31:42 +0000 (00:31 -0700)]
Show more information about problematic SMIME signatures under gpgme.
Also warn if the key is not known to be good. For some reason expired
keys in my environment are not flagged as expired in sig->status or
sig->summary.

16 years agoExtract CN from client certificate in gnutls.
Brendan Cully [Sun, 29 Jun 2008 03:33:01 +0000 (20:33 -0700)]
Extract CN from client certificate in gnutls.
Nothing currently uses it, but I suspect we should be using it as the
external auth name in mutt_sasl_client_new.

16 years agoBasic support for $ssl_client_cert when compiled with gnutls.
Brendan Cully [Sun, 29 Jun 2008 01:44:10 +0000 (18:44 -0700)]
Basic support for $ssl_client_cert when compiled with gnutls.
The key must not be encrypted. Closes #2911.

16 years agoUpdated Czech translation.
Petr Písař [Fri, 27 Jun 2008 19:04:48 +0000 (12:04 -0700)]
Updated Czech translation.

16 years agoMark new error message for translation.
Brendan Cully [Thu, 26 Jun 2008 19:52:20 +0000 (12:52 -0700)]
Mark new error message for translation.

16 years agoForce a resize event after calling an external editor. Closes #2207
Brendan Cully [Thu, 26 Jun 2008 19:47:22 +0000 (12:47 -0700)]
Force a resize event after calling an external editor. Closes #2207

16 years agofflush before fsync and close. Closes #2962 again.
Brendan Cully [Thu, 26 Jun 2008 19:15:18 +0000 (12:15 -0700)]
fflush before fsync and close. Closes #2962 again.

16 years agofsync maildir/mh messages on commit. Closes #2962.
Brendan Cully [Thu, 26 Jun 2008 07:18:02 +0000 (00:18 -0700)]
fsync maildir/mh messages on commit. Closes #2962.

16 years agoCheck S/MIME signing ID exists before attempting to use it.
Brendan Cully [Thu, 26 Jun 2008 06:40:39 +0000 (23:40 -0700)]
Check S/MIME signing ID exists before attempting to use it.
Closes #3069. Also make (s)ign automatically ask for a key if no
default is defined.

16 years agoMake $move default to no instead of ask-no. Closes #2945.
Brendan Cully [Thu, 26 Jun 2008 06:13:33 +0000 (23:13 -0700)]
Make $move default to no instead of ask-no. Closes #2945.

16 years agoDocument difference between index and pager search. Closes #2886.
Brendan Cully [Thu, 26 Jun 2008 05:58:21 +0000 (22:58 -0700)]
Document difference between index and pager search. Closes #2886.

16 years agoMake mutt_copy_message distinguish between fatal and non-fatal errors.
Brendan Cully [Thu, 26 Jun 2008 05:43:32 +0000 (22:43 -0700)]
Make mutt_copy_message distinguish between fatal and non-fatal errors.
Non-fatal errors should prevent moving messages, since they indicate
data loss. But mutt should still attempt to display them, since being
able to see some attachments is better than nothing.
Also stop printing out non-PGP material in application/pgp
attachments. Closes #2545, #2912.

16 years agoMake multipart decoding a little more forgiving.
Brendan Cully [Wed, 25 Jun 2008 06:12:02 +0000 (23:12 -0700)]
Make multipart decoding a little more forgiving.
First, ignore bad content-transfer-encoding in multipart sections.
Second, if an attachment fails to decode, print a warning and continue
instead of giving up on the entire message.

55 years agoTest that envelope from or from is set before attempting SMTP delivery.
Brendan Cully [Thu, 1 Jan 1970 00:00:00 +0000 (00:00 +0000)]
Test that envelope from or from is set before attempting SMTP delivery.
Closes #3079.

16 years agoDocument that From_ lines use asctime-style dates, not RFC2822 dates.
Christoph Berg [Sun, 15 Jun 2008 01:23:14 +0000 (18:23 -0700)]
Document that From_ lines use asctime-style dates, not RFC2822 dates.
Closes #3077.

16 years agoDo not attempt to close invalid descriptors. Closes #3075
Alexey I. Froloff [Thu, 12 Jun 2008 05:45:14 +0000 (22:45 -0700)]
Do not attempt to close invalid descriptors. Closes #3075

16 years agoWrap Fqdn in NONULL() to prevent crash with -d5 if Fqdn is NULL
Vladimir Marek [Thu, 5 Jun 2008 11:06:17 +0000 (13:06 +0200)]
Wrap Fqdn in NONULL() to prevent crash with -d5 if Fqdn is NULL

16 years agoAllow for printing variable values longer than 256 characters
Rocco Rutte [Mon, 2 Jun 2008 07:45:19 +0000 (09:45 +0200)]
Allow for printing variable values longer than 256 characters

16 years agoAllow for mail addresses longer than 256 characters (closes #3066).
Rocco Rutte [Mon, 2 Jun 2008 07:44:44 +0000 (09:44 +0200)]
Allow for mail addresses longer than 256 characters (closes #3066).

16 years agoDefine prototypes for compatibility functions in protos.h to silence compiler warnings
Rocco Rutte [Fri, 30 May 2008 14:14:57 +0000 (16:14 +0200)]
Define prototypes for compatibility functions in protos.h to silence compiler warnings