]> granicus.if.org Git - neomutt/log
neomutt
12 years agoadd version.sh and check_sec.sh to EXTRA_DIST so they are including in the "make...
Michael Elkins [Fri, 21 Dec 2012 20:37:46 +0000 (12:37 -0800)]
add version.sh and check_sec.sh to EXTRA_DIST so they are including in the "make dist" output.

12 years agofix forgotten RETSIGTYPE change id [18a724e9eba0]
Michael Elkins [Fri, 21 Dec 2012 05:13:12 +0000 (21:13 -0800)]
fix forgotten RETSIGTYPE change id [18a724e9eba0]

12 years agoremove deprecated check for signal() return type
Michael Elkins [Fri, 21 Dec 2012 04:49:08 +0000 (20:49 -0800)]
remove deprecated check for signal() return type

12 years agoupdate configure.ac with autoupdate
Michael Elkins [Fri, 21 Dec 2012 04:45:05 +0000 (20:45 -0800)]
update configure.ac with autoupdate

12 years agochange AM_CONFIG_HEADER to AC_CONFIG_HEADERS and move it after the AM_INIT_AUTOMAKE...
Michael Elkins [Fri, 21 Dec 2012 04:34:21 +0000 (20:34 -0800)]
change AM_CONFIG_HEADER to AC_CONFIG_HEADERS and move it after the AM_INIT_AUTOMAKE.  config.h was not being generated from the dist package.

12 years agomodernize intialization of configure.ac
Michael Elkins [Fri, 21 Dec 2012 01:09:21 +0000 (17:09 -0800)]
modernize intialization of configure.ac

12 years agoFix 'make distcheck': missing txt2c* and po/mutt.pot cleanup
Matthias Andree [Thu, 20 Dec 2012 23:38:12 +0000 (00:38 +0100)]
Fix 'make distcheck': missing txt2c* and po/mutt.pot cleanup

12 years agoremove redundant #include statements
Michael Elkins [Thu, 20 Dec 2012 22:44:33 +0000 (14:44 -0800)]
remove redundant #include statements

12 years agoremove extern decl for Charset_is_utf8 since menu.c includes mbyte.h which has the...
Michael Elkins [Thu, 20 Dec 2012 22:40:41 +0000 (14:40 -0800)]
remove extern decl for Charset_is_utf8 since menu.c includes mbyte.h which has the same decl.

12 years agobackout out changeset 36b0cc717ecc
Michael Elkins [Thu, 20 Dec 2012 19:20:35 +0000 (11:20 -0800)]
backout out changeset 36b0cc717ecc

12 years agoallow for CRLF line endings when comparing for the OpenPGP block identifiers
Michael Elkins [Wed, 19 Dec 2012 23:26:21 +0000 (15:26 -0800)]
allow for CRLF line endings when comparing for the OpenPGP block identifiers

adapted from http://svnweb.freebsd.org/ports/head/mail/mutt/files/patch-pgp?revision=301308&view=markup

12 years agosupport nbsp in the pager.
Michael Elkins [Wed, 19 Dec 2012 22:52:59 +0000 (14:52 -0800)]
support nbsp in the pager.

imported from http://svnweb.freebsd.org/ports/head/mail/mutt/files/patch-nbsp?revision=301308&view=markup

12 years agodetect newer BDB versions up to 5.2
Michael Elkins [Wed, 19 Dec 2012 22:40:24 +0000 (14:40 -0800)]
detect newer BDB versions up to 5.2

imported from http://svnweb.freebsd.org/ports/head/mail/mutt/files/patch-bdb?revision=301308&view=markup

14 years agohttp://thread.gmane.org/gmane.mail.mutt.devel/15710
Fabian Groffen [Thu, 22 Jul 2010 18:06:33 +0000 (20:06 +0200)]
http://thread.gmane.org/gmane.mail.mutt.devel/15710

Interix doesn't have btowc, but it does have mbtowc.  Linux manpage also
discourages the use of btowc.

12 years agoupdated cs.po
Petr Pisar [Wed, 19 Dec 2012 21:29:29 +0000 (13:29 -0800)]
updated cs.po

12 years agouse WACS_* macros for printing wide versions of the line drawing characters when...
Michael Elkins [Wed, 19 Dec 2012 19:56:25 +0000 (11:56 -0800)]
use WACS_* macros for printing wide versions of the line drawing characters when linking against ncursesw.

This patch is based on http://prefix.gentooexperimental.org:8000/mutt-patches/file/fea851a2808f/solaris-ncurses-chars.patch

12 years agomake configure define _POSIX_C_SOURCE, _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to...
Michael Elkins [Wed, 19 Dec 2012 19:08:48 +0000 (11:08 -0800)]
make configure define _POSIX_C_SOURCE, _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED to comply with POSIX.1-2008 and XSI conforming applications.

12 years agoupdate ru.po
Vsevolod Volkov [Wed, 19 Dec 2012 14:57:04 +0000 (06:57 -0800)]
update ru.po

12 years agoremove duplicate const keyword
Vincent Lefevre [Wed, 19 Dec 2012 14:55:25 +0000 (06:55 -0800)]
remove duplicate const keyword

12 years agodisable tls v1.1/1.2 in mutt_ssl_starttls() based on $ssl_use_tlsv1_*
Michael Elkins [Wed, 19 Dec 2012 04:46:33 +0000 (20:46 -0800)]
disable tls v1.1/1.2 in mutt_ssl_starttls() based on $ssl_use_tlsv1_*

see #3571

12 years agoadd support for TLSv1.1/1.2 when using GNUTLS.
Michael Elkins [Wed, 19 Dec 2012 04:38:46 +0000 (20:38 -0800)]
add support for TLSv1.1/1.2 when using GNUTLS.

see #3571

12 years agoadd variables for disabling TLSv1.1/1.2 when compiled against OpenSSL 1.0.1
hncaldwell [Wed, 19 Dec 2012 03:44:57 +0000 (19:44 -0800)]
add variables for disabling TLSv1.1/1.2 when compiled against OpenSSL 1.0.1

see #3571

12 years agorename iswsp() to is_email_wsp()
Michael Elkins [Tue, 18 Dec 2012 21:50:20 +0000 (13:50 -0800)]
rename iswsp() to is_email_wsp()

add new inline funtion skip_email_wsp() to be used in lieu of SKIPWS() when parsing ASCII protocols rather than user input.

change use of SKIPWS() to skip_email_wsp() in places where it is likely to be a problem.

12 years agofix problem where mutt_substrdup() was called with the start
Michael Elkins [Tue, 18 Dec 2012 10:21:57 +0000 (02:21 -0800)]
fix problem where mutt_substrdup() was called with the start
pointer > end pointer, as a result of using SKIPWS().  This
occurred because the header field had an empty body, so the
trailing newline was skipped over.  The fix is to just skip over
ascii space and htab.

closes #3609

12 years agoif the peer's x.509 cert is not valid, we need to allow the user to inspect it even...
Honza Horak [Tue, 18 Dec 2012 09:53:08 +0000 (01:53 -0800)]
if the peer's x.509 cert is not valid, we need to allow the user to inspect it even if the digital signatures are valid

closes #3506

12 years agoupdated fr.po
Vincent Lefevre [Tue, 18 Dec 2012 04:42:30 +0000 (20:42 -0800)]
updated fr.po

12 years agofix segfault in pop driver. when rereading the message header, the ENVELOPE* struct...
Honza Horak [Tue, 18 Dec 2012 01:09:18 +0000 (17:09 -0800)]
fix segfault in pop driver.  when rereading the message header, the ENVELOPE* struct is freed, but ctx->subj_hash retains a pointer to env->real_subj, so the hash table entry must be deleted prior to calling mutt_free_envelope()

http://pkgs.fedoraproject.org/cgit/mutt.git/tree/mutt-1.5.21-pophash.patch?h=f18

12 years agoFix NULL pointer dereference in notation name
Petr Pisar [Tue, 18 Dec 2012 00:47:37 +0000 (16:47 -0800)]
Fix NULL pointer dereference in notation name

closes #3574

12 years agouse TLSv1.2 if available in the system OpenSSL when using starttls
Michael Elkins [Mon, 17 Dec 2012 18:39:46 +0000 (10:39 -0800)]
use TLSv1.2 if available in the system OpenSSL when using starttls

12 years agouse SSL_get_version() to display the actual SSL protocol used rather than the fixed...
Michael Elkins [Mon, 17 Dec 2012 18:09:55 +0000 (10:09 -0800)]
use SSL_get_version() to display the actual SSL protocol used rather than the fixed string SSL.

12 years agoCorrect typos
Andrew Gaul [Mon, 17 Dec 2012 04:23:17 +0000 (20:23 -0800)]
Correct typos

12 years agoupdate documentation for $pgp_getkeys_command to note that %r is replaced with the...
Michael Elkins [Mon, 17 Dec 2012 03:33:29 +0000 (19:33 -0800)]
update documentation for $pgp_getkeys_command to note that %r is replaced with the email address, not the public key ID

closes #1208

12 years agouse new function iswsp() in place of isspace() when testing for whitespace.
Michael Elkins [Sun, 16 Dec 2012 21:28:39 +0000 (13:28 -0800)]
use new function iswsp() in place of isspace() when testing for whitespace.

closes #3608
closes #2956

12 years agomake imap_private.h include message.h for IMAP_HEADER_DATA definition
Michael Elkins [Sat, 15 Dec 2012 15:48:45 +0000 (07:48 -0800)]
make imap_private.h include message.h for IMAP_HEADER_DATA definition

cast &ctx->data to IMAP_HEADER_DATA** to fix compiler warning

imap_free_header_data should check for *data being NULL, rather than "data"

12 years agoMake imap_free_header_data type-safe
Andrew Gaul [Mon, 10 Sep 2012 02:54:46 +0000 (19:54 -0700)]
Make imap_free_header_data type-safe

Also push conditional into function for safety and consistency with
other free functions.

12 years agoFix VPATH build by running txt2c.sh from ${srcdir} rather than ".".
Matthias Andree [Sat, 8 Dec 2012 11:31:11 +0000 (12:31 +0100)]
Fix VPATH build by running txt2c.sh from ${srcdir} rather than ".".

12 years agoinvoke gpgme_check_version() as required to initialize the library.
Michael Elkins [Fri, 7 Dec 2012 17:51:46 +0000 (09:51 -0800)]
invoke gpgme_check_version() as required to initialize the library.

move locale code to initialization function.

closes #3300

12 years agoadditional documentation for $editor. closes #3602
Michael Elkins [Thu, 6 Dec 2012 15:56:54 +0000 (07:56 -0800)]
additional documentation for $editor.  closes #3602

12 years agolist-reply documentation should mention its behavior wrt the List-Post header field.
Michael Elkins [Sat, 1 Dec 2012 22:48:27 +0000 (14:48 -0800)]
list-reply documentation should mention its behavior wrt the List-Post header field.

closes #3599

12 years agodon't perform rfc3676 space stuffing when recalling a postponed message where it...
Michael Elkins [Sat, 1 Dec 2012 22:32:48 +0000 (14:32 -0800)]
don't perform rfc3676 space stuffing when recalling a postponed message where it has already been done.

closes #3600

12 years agomake ascii_strcasecmp properly handle unequal length strings with the same prefix
Michael Elkins [Sat, 1 Dec 2012 22:31:42 +0000 (14:31 -0800)]
make ascii_strcasecmp properly handle unequal length strings with the same prefix

closes #3601

12 years agoAdd compiler and configure info to mutt -v output (closes #3537)
David Champion [Tue, 16 Oct 2012 23:13:13 +0000 (18:13 -0500)]
Add compiler and configure info to mutt -v output (closes #3537)

Makefile(.am) updated to produce conststrings.c, which contains
C strings representing:

* the compiler's own version information;
* the CFLAGS value from the Make environment
* the ./configure options

main.c is updated to print them when running 'mutt -v'.

txt2c.sh is added to produce conststrings.c. txt2c.sh uses a compiled
txt2c binary if possible, for complete fidelity to the source strings
in whatever encoding they may use.  If txt2c is not available (could
not be compiled, or was not compiled natively) it falls back on a shell
function to approximate the output using sed and tr.

12 years agomutt_buffer_init: just memset the buffer (closes #3588)
Brendan Cully [Sun, 22 Jul 2012 18:15:30 +0000 (11:15 -0700)]
mutt_buffer_init: just memset the buffer (closes #3588)

This was meant to be part of the previous commit.

12 years agoSplit mutt_buffer_new out of mutt_buffer_init.
Brendan Cully [Sun, 22 Jul 2012 02:51:31 +0000 (19:51 -0700)]
Split mutt_buffer_new out of mutt_buffer_init.

Currently, no callers were providing a non-NULL buffer to
mutt_buffer_init, and splitting it will allow more sane semantics for
buffer allocation, initialization, and destruction in a later patch.

12 years agoDo not use stack-allocated space for BUFFERs
Brendan Cully [Fri, 20 Jul 2012 19:32:44 +0000 (12:32 -0700)]
Do not use stack-allocated space for BUFFERs

It will cause mutt_buffer_* to segfault if it needs to grow the space.
Thanks to Steve Losh for discovering the issue. I have done some simple
grepping to find other cases, but some may remain.

12 years agoSet text_flowed after send-hook has been applied (closes #3550)
Dan Fandrich [Mon, 9 Jul 2012 05:40:06 +0000 (22:40 -0700)]
Set text_flowed after send-hook has been applied (closes #3550)

12 years agosilence some style warnings
Brendan Cully [Mon, 9 Jul 2012 05:27:10 +0000 (22:27 -0700)]
silence some style warnings

12 years agoFix some spelling errors (closes #3493)
Antonio Radici [Mon, 9 Jul 2012 00:34:56 +0000 (17:34 -0700)]
Fix some spelling errors (closes #3493)

12 years agognutls:tls_compare_certificates: check strstr for failure (closes #3547)
Brendan Cully [Mon, 9 Jul 2012 00:25:12 +0000 (17:25 -0700)]
gnutls:tls_compare_certificates: check strstr for failure (closes #3547)

A malformed certificate file could cause strstr to return an unhandled NULL.
Thanks to hhorak for the proposed patch. This one is similar but avoids using
memmem for the first time (I am not sure about its portability).

12 years agocheck_charset: check for NULL before calling strtok_r (closes #3326)
Antonio Radici [Sun, 8 Jul 2012 04:57:01 +0000 (21:57 -0700)]
check_charset: check for NULL before calling strtok_r (closes #3326)

Otherwise, if strtok_r cannot handle NULL an empty *charset setting will segfault

12 years agoDo not use SASL for login unless AUTH=LOGIN is advertised (closes #3556)
Brendan Cully [Sat, 7 Jul 2012 22:50:08 +0000 (15:50 -0700)]
Do not use SASL for login unless AUTH=LOGIN is advertised (closes #3556)

12 years agoUpdate Italian translation
Marco Paolone [Fri, 25 May 2012 20:30:47 +0000 (22:30 +0200)]
Update Italian translation

12 years agoRemove AM_C_PROTOTYPES from configure.ac (closes #3579)
Brendan Cully [Fri, 25 May 2012 05:02:57 +0000 (22:02 -0700)]
Remove AM_C_PROTOTYPES from configure.ac (closes #3579)

I doubt we have any users of that macro nowadays. It will be interesting to
hear about it if we do.

12 years agoSupport passwords of up to 127 characters.
Brendan Cully [Thu, 24 May 2012 03:29:37 +0000 (23:29 -0400)]
Support passwords of up to 127 characters.

I received a report on IRC of a failure due to a 64-byte password.

12 years agognutls: catch gnutls_init failures
Brendan Cully [Mon, 30 Apr 2012 05:15:19 +0000 (22:15 -0700)]
gnutls: catch gnutls_init failures

I haven't actually experienced these, but it seems like a good idea.

12 years agogive user time to read SASL init error message
Brendan Cully [Mon, 30 Apr 2012 05:14:22 +0000 (22:14 -0700)]
give user time to read SASL init error message

13 years agoUpdated Japanese translation
TAKAHASHI Tamotsu [Wed, 21 Dec 2011 06:24:35 +0000 (22:24 -0800)]
Updated Japanese translation

13 years agoDeclare many structures const (closes #3552)
Dan Fandrich [Sat, 3 Dec 2011 19:13:10 +0000 (11:13 -0800)]
Declare many structures const (closes #3552)

Many structs used in mutt are actually constant but are defined
without the 'const' keyword. This can slow initialization (slightly)
in some environments due to extra copying and increases the amount of
writable RAM required at run-time, which can be significant on non-MMU
systems. Using const can also increase the opportunities for compiler
optimization.

The attached patch marks many such structures as const. On my test x86
build, this reduces the size of .data by over 50%.

13 years agoInline some small, often-used functions (closes #3551)
Dan Fandrich [Sat, 3 Dec 2011 19:07:41 +0000 (11:07 -0800)]
Inline some small, often-used functions (closes #3551)

When I first sent this patch to the mailing list in 2008, my benchmarking found a
reduction in startup time of 15%.

13 years agobranch merge
Michael Elkins [Mon, 28 Nov 2011 17:47:44 +0000 (09:47 -0800)]
branch merge

13 years agomake kill-eow and kill-word consistent in considering words to consist only of alphan...
Michael Elkins [Mon, 28 Nov 2011 17:46:46 +0000 (09:46 -0800)]
make kill-eow and kill-word consistent in considering words to consist only of alphanumeric characters.  closes #3549.

13 years agoUpdated French translation
Vincent Lefevre [Sun, 27 Nov 2011 04:41:05 +0000 (20:41 -0800)]
Updated French translation

13 years agoCheck that $sendmail is set to avoid potential segfault. Closes #3548.
Michael Elkins [Fri, 25 Nov 2011 20:52:55 +0000 (12:52 -0800)]
Check that $sendmail is set to avoid potential segfault.  Closes #3548.

13 years agoInvalidate header caches when spam rules change. closes #3473
David Champion [Wed, 13 Jul 2011 16:05:37 +0000 (11:05 -0500)]
Invalidate header caches when spam rules change. closes #3473

User 'exg' on #mutt reported a problem when using header cache with IMAP
and spam rules.  Spam tags are retrieved from cache and not updated when
spam rules change.

1. Enable header caching in muttrc
2. Set spam rules in muttrc
3. Use IMAP (or POP or Maildir).  Your spam rules store spam tags into
   your message headers, and these get cached.
4. Quit mutt
5. Change your spam rules in muttrc
6. Relaunch mutt
7. Because of header caching, the rfc822 headers are not reparsed, and
   spam rules are not reapplied.  User has outdated spam tags.

Spam rules are applied during rfc822 header parsing because it's the
only time we get a full and unadulterated view of all headers.  Once
header parse is done we have only processed headers and 'user headers'
(X-headers).  We might do spam rule matching against the struct HEADER
copy of headers, except that:

a. the header might not be in HEADER if it's non-standard and not an
   X-header;
b. spam rules are regular expressions matching any arbitrary header
   line, and we would need to map these regexps to the header used to
   create the HEADER fields.  This would change the syntax and behavior
   of spam rules dramatically.

One solution, perhaps stopgap, is to invalidate the header cache when
spam rules change.  That's what this patch does.  It alters the hcache
versioning algorithm so that in addition to using the compiled-in
checksum of mutt's structures definitions, we also mix in the user's
runtime spam rules.  Any time spam rules change the hcachever hash value
changes, causing the hcache to be rewritten.

13 years agoUpdate ChangeLog
Brendan Cully [Sat, 2 Jul 2011 01:21:13 +0000 (18:21 -0700)]
Update ChangeLog

13 years agoversion.sh: fix(?) failure due to bizarre sh quoting rules
Brendan Cully [Sat, 2 Jul 2011 00:23:37 +0000 (17:23 -0700)]
version.sh: fix(?) failure due to bizarre sh quoting rules

I have not checked POSIX, and sh quoting always makes my head hurt, but this
seems to suffice for my sh (actually bash in sh mode) when HGROOT contains a space.

13 years agofolder_file: change type of new from short to int
Olaf Hering [Mon, 23 May 2011 11:22:33 +0000 (13:22 +0200)]
folder_file: change type of new from short to int

As requested by Rocco Rutte in bug #2421 increase the type to int.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in pgppubring.c
Olaf Hering [Mon, 23 May 2011 10:59:14 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in pgppubring.c

pgppubring.c: In function 'pgp_parse_pgp3_sig':
pgppubring.c:424:17: warning: variable 'hashalg' set but not used [-Wunused-but-set-variable]
pgppubring.c:423:17: warning: variable 'pkalg' set but not used [-Wunused-but-set-variable]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
13 years agoversion.sh: 1003.1 "-k" instead of obsolete "+" syntax (closes: #3528)
David Champion [Wed, 29 Jun 2011 17:01:14 +0000 (12:01 -0500)]
version.sh: 1003.1 "-k" instead of obsolete "+" syntax (closes: #3528)

13 years agoversion.sh: support building outside of source directory
David Champion [Wed, 29 Jun 2011 16:57:12 +0000 (11:57 -0500)]
version.sh: support building outside of source directory

Reported by Emanuele Giaquinta <e.giaquinta@glauco.it>. Thanks also
to Michael Elkins <me@sigpipe.org>.

13 years agoParentheses suggested
Brendan Cully [Sun, 26 Jun 2011 03:07:57 +0000 (20:07 -0700)]
Parentheses suggested

13 years agoDo not subscribe to \noselect mailboxes. Closes #3445
Brendan Cully [Sun, 26 Jun 2011 03:05:37 +0000 (20:05 -0700)]
Do not subscribe to \noselect mailboxes. Closes #3445

13 years agoAvoid creating sparse ctx array when fetch responses are ignored. Closes #3288.
Honza Horak [Sat, 25 Jun 2011 22:42:52 +0000 (15:42 -0700)]
Avoid creating sparse ctx array when fetch responses are ignored. Closes #3288.

13 years agoSilence some eclipse warnings
Brendan Cully [Sat, 25 Jun 2011 22:23:05 +0000 (15:23 -0700)]
Silence some eclipse warnings

13 years agorfc2047 encode recipient list in resent-to header field. closes #3512
Michael Elkins [Mon, 20 Jun 2011 23:39:27 +0000 (16:39 -0700)]
rfc2047 encode recipient list in resent-to header field.  closes #3512

13 years agocopy idn status when duplicating address object
Michael Elkins [Mon, 20 Jun 2011 23:33:07 +0000 (16:33 -0700)]
copy idn status when duplicating address object

13 years agofix regexp example in documentation
Unknown [Mon, 20 Jun 2011 23:07:27 +0000 (16:07 -0700)]
fix regexp example in documentation

13 years agoRemove the deprecated gnutls_certificate_verify_peers() in favour of the new
Unknown [Sun, 19 Jun 2011 04:29:04 +0000 (21:29 -0700)]
Remove the deprecated gnutls_certificate_verify_peers() in favour of the new
gnutls_certificate_veirfy_peers2()

Reported on http://bugs.debian.org/624085

closes #3516

13 years agoclear logging in message when login succeeded. closes #3524
Michael Elkins [Sun, 19 Jun 2011 04:07:46 +0000 (21:07 -0700)]
clear logging in message when login succeeded.  closes #3524

13 years agofix gcc 4.6 warning -Wunused-but-set-variable in smime.c
Olaf Hering [Mon, 23 May 2011 10:59:13 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in smime.c

smime.c: In function 'smime_handle_entity':
smime.c:1663:8: warning: variable 'last_pos' set but not used [-Wunused-but-set-variable]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in pgp.c
Olaf Hering [Mon, 23 May 2011 10:59:13 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in pgp.c

pgp.c: In function 'pgp_application_pgp_handler':
pgp.c:254:8: warning: variable 'start_pos' set but not used [-Wunused-but-set-variable]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in crypt-gpgme.c
Olaf Hering [Mon, 23 May 2011 10:59:12 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in crypt-gpgme.c

crypt-gpgme.c: In function 'show_one_sig_status':
crypt-gpgme.c:1311:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable]
crypt-gpgme.c: In function 'pgp_gpgme_application_handler':
crypt-gpgme.c:2285:27: warning: variable 'anywarn' set but not used [-Wunused-but-set-variable]
crypt-gpgme.c:2159:8: warning: variable 'start_pos' set but not used [-Wunused-but-set-variable]
crypt-gpgme.c: In function 'crypt_getkeybystr':
crypt-gpgme.c:4094:7: warning: variable 'match' set but not used [-Wunused-but-set-variable]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in rfc1524.c
Olaf Hering [Mon, 23 May 2011 10:59:12 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in rfc1524.c

rfc1524.c: In function 'rfc1524_expand_filename':
rfc1524.c:453:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in compose.c
Olaf Hering [Mon, 23 May 2011 10:59:11 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in compose.c

compose.c: In function 'redraw_crypt_lines':
compose.c:113:7: warning: variable 'off' set but not used [-Wunused-but-set-variable]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
13 years agofix gcc 4.6 warning -Wunused-but-set-variable in imap.c
Olaf Hering [Mon, 23 May 2011 10:59:11 +0000 (12:59 +0200)]
fix gcc 4.6 warning -Wunused-but-set-variable in imap.c

imap.c: In function 'imap_open_mailbox':
imap.c:558:15: warning: variable 'conn' set but not used [-Wunused-but-set-variable]
imap.c: In function 'imap_open_mailbox_append':
imap.c:777:15: warning: variable 'conn' set but not used [-Wunused-but-set-variable]
imap.c: In function 'imap_subscribe':
imap.c:1816:15: warning: variable 'conn' set but not used [-Wunused-but-set-variable]
imap.c: In function 'imap_complete':
imap.c:1944:15: warning: variable 'conn' set but not used [-Wunused-but-set-variable]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
13 years agoFix some minor warnings
Brendan Cully [Mon, 23 May 2011 05:13:45 +0000 (22:13 -0700)]
Fix some minor warnings

13 years agofix bug where SIGWICH is ignored when $imap_keepalive < $timeout
Michael Elkins [Wed, 30 Mar 2011 14:52:03 +0000 (07:52 -0700)]
fix bug where SIGWICH is ignored when $imap_keepalive < $timeout

closes #3507

13 years agoExtra information in mutt version string, redux.
David Champion [Mon, 7 Mar 2011 16:17:59 +0000 (10:17 -0600)]
Extra information in mutt version string, redux.

Restores [f1b4d1d17200] functionality with a slight change to keep
'make dist' working (see backout in [6b38124a5b81]).

Automake is too much voodoo for me at this time, so I let it keep
VERSION. mutt.h defined MUTT_VERSION as VERSION and the code used that,
so I removed MUTT_VERSION from mutt.h and put it into config.h via
configure.ac.  A couple of tweaks were needed elsewhere.  This restores
the fancy-versioning feature within mutt and keeps 'make dist' happy.

13 years agoBack out f1b4d1d17200. It is nice, but it breaks make dist.
Brendan Cully [Sun, 6 Mar 2011 15:31:28 +0000 (07:31 -0800)]
Back out f1b4d1d17200. It is nice, but it breaks make dist.

14 years agoInclude mq-based patches in the mutt patch list.
David Champion [Mon, 3 Jan 2011 19:19:51 +0000 (13:19 -0600)]
Include mq-based patches in the mutt patch list.

This augments the contents of the PATCHES file, so that mq-based builds
do not need to maintain that file.

14 years agoInclude extra information in mutt version string for developer builds.
David Champion [Mon, 3 Jan 2011 19:19:50 +0000 (13:19 -0600)]
Include extra information in mutt version string for developer builds.

When a build is based on an hg clone, include extra information about
the changeset node, distance from a tagged release, and mq applied patch
count.

For example, after this patch is applied my mutt build identifies itself
(in mutt -v and in <show-version>) as:

Mutt 1.5.21+26,mq+22 (7edc2073390d) (2010-09-15)

I have applied 26 changesets applied since 1.5.21 was tagged, 22 of
which are in my mq patch series.  A 1.5.21 release build that is not
mercurial-based would still appear simply as "1.5.21".

13 years agoLower $imap_keepalive default to 300 seconds
Brendan Cully [Tue, 22 Feb 2011 07:12:52 +0000 (23:12 -0800)]
Lower $imap_keepalive default to 300 seconds

14 years agoHandle missing : in write_one_header debug statement. Closes #3483
Brendan Cully [Thu, 30 Dec 2010 18:09:37 +0000 (10:09 -0800)]
Handle missing : in write_one_header debug statement. Closes #3483

14 years agofix a minor logic error in thread.c, and a dead code line
Ralf Wildenhues [Wed, 13 Oct 2010 14:38:30 +0000 (07:38 -0700)]
fix a minor logic error in thread.c, and a dead code line

14 years agoBacked out changeset 11399121296a
Michael Elkins [Mon, 11 Oct 2010 14:56:47 +0000 (07:56 -0700)]
Backed out changeset 11399121296a

14 years agosupport non-breakable space character in the pager
Michael Elkins [Thu, 7 Oct 2010 21:43:14 +0000 (14:43 -0700)]
support non-breakable space character in the pager

14 years agofix segfault when $message_cachedir is set and opening a POP3 mailbox.
Michael Elkins [Fri, 1 Oct 2010 14:14:24 +0000 (07:14 -0700)]
fix segfault when $message_cachedir is set and opening a POP3 mailbox.

fixes #3457

14 years agouse gpgme_strerror() in lieu of gpg_strerror()
Roman Kagan [Fri, 1 Oct 2010 01:11:35 +0000 (18:11 -0700)]
use gpgme_strerror() in lieu of gpg_strerror()

14 years agoAdd $reflow_text boolean, and $reflow_wrap variables to control display of format...
Michael Elkins [Wed, 29 Sep 2010 21:17:24 +0000 (14:17 -0700)]
Add $reflow_text boolean, and $reflow_wrap variables to control display of format=flowed text parts.

14 years agofix typoh in comment
Michael Elkins [Wed, 29 Sep 2010 20:19:55 +0000 (13:19 -0700)]
fix typoh in comment