]> granicus.if.org Git - neomutt/log
neomutt
7 years agoRevert "don't close the pager after a timeout"
Richard Russon [Thu, 6 Jul 2017 14:04:45 +0000 (15:04 +0100)]
Revert "don't close the pager after a timeout"

This reverts commit 5acd76ee270428302ec5e623a0cf743c17c4c05b.

7 years agoSupport Gmail's X-GM-RAW server-side search
Phil Pennock [Tue, 27 Jun 2017 00:34:02 +0000 (01:34 +0100)]
Support Gmail's X-GM-RAW server-side search

Let Gmail search filters be used from mutt with =/

Closes #644

7 years agofix gpgme S/MIME non-detached signature handling 662/head
Stefan Bühler [Tue, 4 Jul 2017 09:57:24 +0000 (11:57 +0200)]
fix gpgme S/MIME non-detached signature handling

- gpgsm ends the session after the decrypt error, so restart gpgsm when
  retrying with "maybe_signed".
- evolution sends encrypted + signed S/MIME mails with non-detached
  signatures

7 years agomerge: minor build improvements
Richard Russon [Thu, 6 Jul 2017 10:55:30 +0000 (11:55 +0100)]
merge: minor build improvements

 * move smime_keys into contrib
 * drop instdoc script
 * remove unnecessary steps
 * tidy makefile

7 years agobuild: tidy makefile 663/head
Richard Russon [Tue, 4 Jul 2017 22:16:17 +0000 (23:16 +0100)]
build: tidy makefile

This commit makes no changes to the build.
It simply tidies up the whitespace and some lists.

7 years agobuild: remove unnecessary steps
Richard Russon [Tue, 4 Jul 2017 16:14:19 +0000 (17:14 +0100)]
build: remove unnecessary steps

Three man pages were processed with sed, but it didn't alter the files.

7 years agobuild: drop instdoc script
Richard Russon [Tue, 4 Jul 2017 16:02:26 +0000 (17:02 +0100)]
build: drop instdoc script

This script performed some string substitutions in the files it was
installing.  This was already done by the Makefile.

7 years agobuild: move smime_keys into contrib
Richard Russon [Mon, 3 Jul 2017 15:19:47 +0000 (16:19 +0100)]
build: move smime_keys into contrib

7 years agomenu: fix the thread tree color
Fabrice Bellet [Wed, 10 May 2017 16:05:17 +0000 (18:05 +0200)]
menu: fix the thread tree color

The background tree color is really meaningless as it mixes with the
background color of indexes subject in unpleasant ways. We prefer to
create a new color based on the tree foreground color only.

7 years agobrowser tweak
Ian Zimmerman [Sun, 4 Jun 2017 17:08:24 +0000 (18:08 +0100)]
browser tweak

See issue #609

7 years agoUses CurrentFolder to populate LastDir with IMAP
Pierre-Elliott Bécue [Wed, 28 Jun 2017 15:58:20 +0000 (17:58 +0200)]
Uses CurrentFolder to populate LastDir with IMAP

 * Needs to rollback to !folder instead of !*LastDir
 * Closes issue #640

7 years agofix perms
Richard Russon [Fri, 30 Jun 2017 09:42:55 +0000 (10:42 +0100)]
fix perms

7 years agodon't close the pager after a timeout
Richard Russon [Sun, 2 Jul 2017 11:06:17 +0000 (12:06 +0100)]
don't close the pager after a timeout

Setting a timeout hook could cause the pager to automatically close
itself when viewing help or an attachment.

    timeout-hook 'exec sync mailbox'

The timeout was causing a fake keypress event which cause the pager to
quit.

Fixes #591

7 years agocolour emails with a '+' in them
Richard Russon [Sun, 2 Jul 2017 09:23:10 +0000 (10:23 +0100)]
colour emails with a '+' in them

The default highlighting for email addresses didn't recognise '+'
characters as being valid.

Fixes #496

7 years agosidebar: stabilise sort order
Richard Russon [Sun, 2 Jul 2017 09:00:37 +0000 (10:00 +0100)]
sidebar: stabilise sort order

When sorting by a numeric type, fallback to the path if the numbers are
the same.

Fixes #486

7 years agodoc: limitations of new-mail %f expando
Richard Russon [Sat, 1 Jul 2017 22:14:59 +0000 (23:14 +0100)]
doc: limitations of new-mail %f expando

7 years agodocs: escape <>'s in nested conditions
Richard Russon [Sat, 1 Jul 2017 19:42:19 +0000 (20:42 +0100)]
docs: escape <>'s in nested conditions

7 years agoAdd config vars for forwarded message attribution intro/trailer.
Kevin McCarthy [Sun, 2 Jul 2017 02:32:05 +0000 (19:32 -0700)]
Add config vars for forwarded message attribution intro/trailer.

Add $forward_attribution_intro and $forward_attribution_trailer to
allow the default strings to be overridden.

Fixes #522

7 years agodupe-string, don't destroy original
Richard Russon [Thu, 29 Jun 2017 13:40:19 +0000 (14:40 +0100)]
dupe-string, don't destroy original

7 years agofix the padding expando '%>'
Richard Russon [Thu, 29 Jun 2017 12:28:58 +0000 (13:28 +0100)]
fix the padding expando '%>'

Debian BTS 866366

The non-greedy '%>' has been broken since the introduction of the
nested-if patch.

The second command should create a line of dots ending in a ']'

    set index_format="%?M?collapsed%|.]&expanded?
    set index_format="%?M?collapsed%>.]&expanded?

7 years agomerge: add some colour schemes
Richard Russon [Sun, 2 Jul 2017 20:51:03 +0000 (21:51 +0100)]
merge: add some colour schemes

 * added neonwolf colorscheme
 * added black 256 solarized colorscheme
 * added zenburn colorscheme
 * added vombatidae colorscheme
 * removed note to use slang for neonwolf colorscheme
 * build: add colour schemes

7 years agobuild: add colour schemes
Richard Russon [Sun, 2 Jul 2017 13:45:24 +0000 (14:45 +0100)]
build: add colour schemes

Closes #340

7 years agoremoved note to use slang for neonwolf colorscheme
toogley [Sun, 29 Jan 2017 16:49:07 +0000 (17:49 +0100)]
removed note to use slang for neonwolf colorscheme

Thanks to @h3xx for the hint.

7 years agoadded vombatidae colorscheme
toogley [Sun, 29 Jan 2017 16:45:00 +0000 (17:45 +0100)]
added vombatidae colorscheme

Thanks to @octol

7 years agoadded zenburn colorscheme
toogley [Sun, 29 Jan 2017 13:33:22 +0000 (14:33 +0100)]
added zenburn colorscheme

Thanks to Renato Cunha

Source:
https://bitbucket.org/trovao/configs/src/c3413bafa5ba70da2329225a9009078b078ccee1/mutt-zenburn/dotmuttrc

7 years agoadded black 256 solarized colorscheme
toogley [Sun, 29 Jan 2017 13:26:53 +0000 (14:26 +0100)]
added black 256 solarized colorscheme

Thanks to @altercation

7 years agoadded neonwolf colorscheme
toogley [Sun, 29 Jan 2017 13:21:29 +0000 (14:21 +0100)]
added neonwolf colorscheme

Thanks to @h3xx for publishing it.

7 years agomerge: build fixes for Solaris
Richard Russon [Sun, 2 Jul 2017 20:44:55 +0000 (21:44 +0100)]
merge: build fixes for Solaris

 * Handle native Solaris GSSAPI.
 * Fix compilation error on Solaris.
 * Include term.h for tigetstr except for slang build.
 * Look for wide curses in libcurses itself.
 * Remove unneeded forward declarations.

7 years agoRemove unneeded forward declarations. 660/head
Thomas Klausner [Sat, 1 Jul 2017 09:48:34 +0000 (11:48 +0200)]
Remove unneeded forward declarations.

7 years agoLook for wide curses in libcurses itself.
Thomas Klausner [Sat, 1 Jul 2017 09:48:06 +0000 (11:48 +0200)]
Look for wide curses in libcurses itself.

NetBSD's curses library provides wide character support.

7 years agoInclude term.h for tigetstr except for slang build.
Thomas Klausner [Sat, 1 Jul 2017 09:46:23 +0000 (11:46 +0200)]
Include term.h for tigetstr except for slang build.

Fixes
curs_main.c:529:11: warning: implicit declaration of function ‘tigetstr’ [-Wimplicit-function-declaration]

Including it before header.h causes compilation errors because
of "int lines;" in header.h and
in term.h.

7 years agoFix compilation error on Solaris.
Thomas Klausner [Sat, 1 Jul 2017 09:39:14 +0000 (11:39 +0200)]
Fix compilation error on Solaris.

  resize.c: In function 'mutt_resize_screen':
  resize.c:38:18: error: storage size of 'w' isn't known
     struct winsize w;
                    ^
  resize.c:47:19: error: 'TIOCGWINSZ' undeclared (first use in this function)
       if (ioctl(fd, TIOCGWINSZ, &w) != -1)
                     ^

7 years agoHandle native Solaris GSSAPI.
Jonathan Perkin [Fri, 30 Jun 2017 10:56:30 +0000 (12:56 +0200)]
Handle native Solaris GSSAPI.

Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
7 years agoDo not set old flag if mark_old is false 651/head
Manos Pitsidianakis [Sun, 25 Jun 2017 12:56:44 +0000 (15:56 +0300)]
Do not set old flag if mark_old is false

If `mark_old` is false, unread mails will not be marked old after
they've been viewed. But they will be marked old if found in the `/cur`
subdirectory of the Maildir. This is inconsistent behaviour, since a
user with disabled `mark_old` will expect no old flags at all.

7 years agomerge: fix some leaks
Richard Russon [Wed, 28 Jun 2017 14:13:05 +0000 (15:13 +0100)]
merge: fix some leaks

 * fix some resource leaks
 * fix leaks in lua get/set options
 * fix dodgy buffers

7 years agofix dodgy buffers
Richard Russon [Wed, 28 Jun 2017 13:44:02 +0000 (14:44 +0100)]
fix dodgy buffers

7 years agofix leaks in lua get/set options
Richard Russon [Wed, 28 Jun 2017 11:51:42 +0000 (12:51 +0100)]
fix leaks in lua get/set options

7 years agofix some resource leaks
Richard Russon [Tue, 27 Jun 2017 13:39:58 +0000 (14:39 +0100)]
fix some resource leaks

- CID 169545
- CID 169546
- CID 171381
- CID 171382

7 years agoBlock SIGWINCH during connect(). (closes #3941)
Kevin McCarthy [Tue, 20 Jun 2017 22:09:43 +0000 (15:09 -0700)]
Block SIGWINCH during connect(). (closes #3941)

FreeBSD's connect() does not respect SA_RESTART, so a SIGWINCH will
end up interrupting the connect.

If this code is needed in other places, it should be moved into
signal.c.  For this one place, inlining the sigprocmask() seemed okay.

7 years agofix whitespace errors
Richard Russon [Wed, 28 Jun 2017 12:59:09 +0000 (13:59 +0100)]
fix whitespace errors

7 years agotidy the version strings
Richard Russon [Tue, 27 Jun 2017 13:27:56 +0000 (14:27 +0100)]
tidy the version strings

7 years agosync to upstream's "encrypt-to-self"
Richard Russon [Mon, 26 Jun 2017 14:09:06 +0000 (15:09 +0100)]
sync to upstream's "encrypt-to-self"

NeoMutt's variables:
    pgp_encrypt_self
    smime_encrypt_self

have been superceded by Mutt's:
    pgp_self_encrypt
    pgp_self_encrypt_as
    smime_self_encrypt
    smime_self_encrypt_as

Note: NeoMutt's variables will be deprecated at a later date.

7 years agoMore sophisticated check for BDB version + support for DB6 (non default) 632/head
Pietro Cerutti [Fri, 9 Jun 2017 12:53:24 +0000 (12:53 +0000)]
More sophisticated check for BDB version + support for DB6 (non default)

This commit enhances configure.ac to actually parse (as in CPP) and
extract the values of DB_VERSION_MAJOR and DB_VERSION_MINOR from the
Berkeley DB include files. The previous approach to just use grep failed
on some system where the includes are just wrappers around the real bdb
headers.

Also, add support for the current db6 version (6.2), although db5 is
still the first one looked for.

Issue #613

7 years agofix: initialise debug_file
Richard Russon [Mon, 26 Jun 2017 15:17:17 +0000 (16:17 +0100)]
fix: initialise debug_file

Make sure that `debug_file` is initialised early enough.
Also, call `mutt_expand_path()` to enable ~/ shortcuts.

Related to issue #654

7 years agocontrib: add Mutt logos
Richard Russon [Mon, 26 Jun 2017 08:46:53 +0000 (09:46 +0100)]
contrib: add Mutt logos

Issue #655

7 years agorevert part of 40f81d1 Add debug_level/debug_file options
Antonio Radici [Sun, 25 Jun 2017 22:47:11 +0000 (23:47 +0100)]
revert part of 40f81d1 Add debug_level/debug_file options

This patch moves the set_default/restore_default couple after the defaults have
been set by the init function; this was correctly placed in 1.7.2 and somehow it
got moved to the wrong place, which means that tmpdir (and many other variable)
are not correctly set with their new default value determined from environment
variables (or other logic), so when they get resetted with a 'reset all' call in
.muttrc, they will never have the correct default to fall back to and they will
use the wrong one in init.h

This patch fixes:
- http://bugs.debian.org/865822
- http://bugs.debian.org/865842

Issue #654

7 years agoscore address pattern do not match personal name
Antonio Radici [Tue, 23 Aug 2016 18:23:46 +0000 (20:23 +0200)]
score address pattern do not match personal name

Fixes #646
Debian BTS 383769

7 years agoopen attachments in read-only mode
Antonio Radici [Tue, 23 Aug 2016 18:21:37 +0000 (20:21 +0200)]
open attachments in read-only mode

Fixes #647
Debian BTS 528233
Mutt trac #3261

7 years agoAdd Cc, In-Reply-To, and References to default mailto_allow
Julian Andres Klode [Sun, 25 Jun 2017 09:15:54 +0000 (11:15 +0200)]
Add Cc, In-Reply-To, and References to default mailto_allow

These headers are quite useful for replying to mailing lists
via mailto links, as they don't break threading.

Debian has been shipping these in the /etc/Muttrc file since
September 2016 without much issues.

Fixes #115

7 years agomerge: trivial code changes
Richard Russon [Sun, 25 Jun 2017 12:40:58 +0000 (13:40 +0100)]
merge: trivial code changes

 * build: don't delete non-existent files
 * remove unused option
 * docs: fix typos
 * update mailmap

7 years agoupdate mailmap
Richard Russon [Sun, 18 Jun 2017 15:49:12 +0000 (16:49 +0100)]
update mailmap

7 years agodocs: fix typos
Regid Ichira [Sun, 25 Jun 2017 11:11:27 +0000 (12:11 +0100)]
docs: fix typos

Fixes #648

7 years agoremove unused option
Richard Russon [Sat, 24 Jun 2017 23:37:11 +0000 (00:37 +0100)]
remove unused option

7 years agobuild: don't delete non-existent files
Richard Russon [Wed, 14 Jun 2017 10:34:17 +0000 (11:34 +0100)]
build: don't delete non-existent files

7 years agomerge: upstream fixes (mutt/default)
Richard Russon [Sat, 24 Jun 2017 16:44:15 +0000 (17:44 +0100)]
merge: upstream fixes (mutt/default)

 * Change the compose menu fields to be dynamically padded.
 * Rename 'sign as' to 'Sign as'; makes compose menu more consistent.
 * Make GPGME key selection behavior the same as classic-PGP. (see #3950)
 * Force hard redraw after $sendmail instead of calling mutt_endwin. (closes #3952) (see #3948)
 * Enable all header fields in the compose menu to be translated.
 * Auto-pad translation for the GPGME key selection "verify key" headers.
 * Improve the L10N comment about Sign as.

7 years agoImprove the L10N comment about Sign as.
Kevin McCarthy [Sun, 18 Jun 2017 17:58:12 +0000 (10:58 -0700)]
Improve the L10N comment about Sign as.

Make it clearer what the indentation behavior is, and add suggestions
about the width.

Thanks to TAKAHASHI Tamotsu for the original patch suggesting changes
to the L10N comments.

7 years agoAuto-pad translation for the GPGME key selection "verify key" headers.
Kevin McCarthy [Thu, 15 Jun 2017 02:21:22 +0000 (19:21 -0700)]
Auto-pad translation for the GPGME key selection "verify key" headers.

Remove the ridiculous need for the translators to pad the translation
strings themselves.

7 years agoEnable all header fields in the compose menu to be translated.
Kevin McCarthy [Wed, 14 Jun 2017 22:12:45 +0000 (15:12 -0700)]
Enable all header fields in the compose menu to be translated.

While it is suggested they need not be, for some locales it might be
preferable to be able to localize the fields.

For instance, fr_FR may want to change the punctuation to have a space
in front of the colon.  ja_JP may be more comfortable with a native
character set description of the field when using it every day.

7 years agoForce hard redraw after $sendmail instead of calling mutt_endwin. (closes #3952)...
Kevin McCarthy [Tue, 13 Jun 2017 01:29:48 +0000 (18:29 -0700)]
Force hard redraw after $sendmail instead of calling mutt_endwin. (closes #3952) (see #3948)

Adding a mutt_endwin() seemed like a clean solution to allowing
ncurses pinentry for $sendmail, but it leaves other users watching a
blank screen.  This change is extremely likely to generate a large
number of complaints and bug reports.  So instead, force a hard
refresh afterwards.

7 years agoMake GPGME key selection behavior the same as classic-PGP. (see #3950)
Kevin McCarthy [Tue, 13 Jun 2017 00:57:05 +0000 (17:57 -0700)]
Make GPGME key selection behavior the same as classic-PGP. (see #3950)

Classic-PGP key selection auto-selected a match if there was a single
strong, valid, address-match result, even if there were other weak
matches.

GPGME was prompting in the same situation, if there were other weak
matches.

Change GPGME to match the classic behavior, as this is more useful and
matches the manual description.

7 years agoRename 'sign as' to 'Sign as'; makes compose menu more consistent.
Consus [Fri, 9 Jun 2017 18:31:06 +0000 (11:31 -0700)]
Rename 'sign as' to 'Sign as'; makes compose menu more consistent.

7 years agoChange the compose menu fields to be dynamically padded.
Kevin McCarthy [Fri, 9 Jun 2017 18:31:05 +0000 (11:31 -0700)]
Change the compose menu fields to be dynamically padded.

Pad based on the maximum width of the fields.  Note that this is a bit
of a mess, because some of the fields are translated while others are
not.

7 years agoUpdate documentation for modify-labels-then-hide
Julian Andres Klode [Sat, 24 Jun 2017 14:07:23 +0000 (16:07 +0200)]
Update documentation for modify-labels-then-hide

This is a follow up to #602, documenting the new
behavior.

7 years agomake modify-labels-then-hide hide or unhide 602/head
Julian Andres Klode [Thu, 1 Jun 2017 16:53:14 +0000 (18:53 +0200)]
make modify-labels-then-hide hide or unhide

If the message is no longer in the current query after modifying
the label it will be hidden as before, but if it is in the current
query (again), it will be unhidden.

Related to #601

7 years agoAdd reorganised collapse_flagged patch 592/head
Peter Lewis [Wed, 24 May 2017 07:39:48 +0000 (08:39 +0100)]
Add reorganised collapse_flagged patch

7 years agoDecode CRLF line endings to LF when copying headers 606/head
Julian Andres Klode [Sat, 3 Jun 2017 15:43:09 +0000 (17:43 +0200)]
Decode CRLF line endings to LF when copying headers

This fixes display issues with files that consist of CRLF
line endings rather than just LF line endings, for example,
emails exported directly from the gmail API.

This only kicks in when CH_DECODE is set which might be a bit
strange, because that does RFC2047 header decoding, but it seems
a safe place to place this line end decoding without potentially
affecting anything else.

7 years agoInclude pattern for broken threads 623/head
somini [Wed, 7 Jun 2017 15:03:17 +0000 (16:03 +0100)]
Include pattern for broken threads

References #616

From Frederic Duval:
http://cedricduval.free.fr/mutt/patches/download/patch-1.5.1.cd.pattern_broken.1

7 years agoImprove search for mime.types 637/head
Christopher John CZETTEL [Fri, 16 Jun 2017 22:03:07 +0000 (00:03 +0200)]
Improve search for mime.types

- Make the search order sane
- Print an error if mime.types is not found

Search order is:
    /etc/mime.types
    SYSCONFDIR/mime.types
    PKGDATADIR/mime.types
    ~/.mime.types

The last matching file wins.

7 years agofix: maildir creation 639/head
Christopher John CZETTEL [Mon, 19 Jun 2017 01:54:33 +0000 (03:54 +0200)]
fix: maildir creation

- added missing recursive directory creation after user prompt
- checked for trailing '/' when saving mbox

7 years agomerge: start tidying Buffy handling
Richard Russon [Sat, 24 Jun 2017 10:26:52 +0000 (11:26 +0100)]
merge: start tidying Buffy handling

 * tidy some buffy code
 * split mutt_parse_mailboxes into mutt_parse_unmailboxes
 * drop VirtIncoming

7 years agodrop VirtIncoming 641/head
Richard Russon [Tue, 20 Jun 2017 10:09:56 +0000 (11:09 +0100)]
drop VirtIncoming

Change the notmuch code to use Incoming rather than its own VirtIncoming.
These changes have no visible effect to the user.

This removes a lot of duplicate code and simplifies the logic in the
sidebar.

7 years agosplit mutt_parse_mailboxes into mutt_parse_unmailboxes
Richard Russon [Tue, 20 Jun 2017 09:55:11 +0000 (10:55 +0100)]
split mutt_parse_mailboxes into mutt_parse_unmailboxes

Split mutt_parse_mailboxes into two functions: one to add, one to remove.
There's not much overlap in the two functions and separating them
simplifies the logic.

Where unmailboxes used to use two loops, there's now only one.

7 years agotidy some buffy code
Richard Russon [Mon, 19 Jun 2017 18:40:15 +0000 (19:40 +0100)]
tidy some buffy code

As a prelude to some notmuch changes, tidy up some buffy-handling
functions.  There are no functional changes.

- rename some variables
- reduce the scope of variables
- add some bools

7 years agoCODE_OF_CONDUCT: remove jekyll code
toogley [Thu, 15 Jun 2017 11:18:20 +0000 (13:18 +0200)]
CODE_OF_CONDUCT: remove jekyll code

[ci skip]

7 years agodocs: add code of conduct
Richard Russon [Wed, 14 Jun 2017 23:03:15 +0000 (00:03 +0100)]
docs: add code of conduct

[ci skip]

7 years agomerge: trivial code changes
Richard Russon [Tue, 13 Jun 2017 13:59:38 +0000 (14:59 +0100)]
merge: trivial code changes

 * reduce scope of for loop variables
 * replace variables with bools
 * rename static function
 * strip out once-used macro
 * while (1) -> while (true)

7 years agofix mailmap
Richard Russon [Sun, 11 Jun 2017 09:41:29 +0000 (10:41 +0100)]
fix mailmap

7 years agowhile (1) -> while (true)
Richard Russon [Mon, 12 Jun 2017 17:36:14 +0000 (18:36 +0100)]
while (1) -> while (true)

7 years agostrip out once-used macro
Richard Russon [Mon, 12 Jun 2017 17:34:15 +0000 (18:34 +0100)]
strip out once-used macro

7 years agorename static function
Richard Russon [Mon, 12 Jun 2017 17:27:21 +0000 (18:27 +0100)]
rename static function

7 years agoreplace variables with bools
Richard Russon [Thu, 8 Jun 2017 20:23:58 +0000 (21:23 +0100)]
replace variables with bools

Each variable is limited to a single function.
Each was only set to 0 or 1.

Fucntions:
address_header_decode
alternative_handler
attach_forward_bodies
check_host
ci_send_message
clean_references
copy_clearsigned
crypt_getkeybyaddr
crypt_select_key
crypt_write_signed
disable_coredumps
display_line
do_uncolor
draw_sidebar
eat_message_range
eat_range
envelope_defaults
expand_aliases_r
get_token
handle_docline
imap_auth_sasl
imap_browse
imap_conn_find
imap_fast_trash
imap_fetch_message
imap_make_msg_set
imap_pretty_mailbox
imap_read_headers
imap_read_literal
init_common
init_menu
maildir_check_mailbox
main
mbox_check_mailbox
menu_redraw_index
mh_rewrite_message
mix_check_message
mix_make_chain
mutt_account_hook
mutt_alias_menu
mutt_attach_reply
mutt_body_handler
mutt_buffy_check
mutt_builtin_editor
mutt_check_simple
mutt_compose_attachment
mutt_copy_hdr
mutt_count_body_parts
mutt_display_message
mutt_draw_statusline
mutt_edit_attachment
mutt_edit_headers
mutt_expand_fmt
mutt_FormatString
mutt_index_menu
mutt_is_application_smime
mutt_multi_choice
mutt_pager
mutt_parse_color
mutt_parse_hook
mutt_parse_mono
mutt_parse_multipart
mutt_print_attachment
mutt_progress_update
mutt_remove_duplicates
mutt_sasl_start
mutt_signed_handler
mutt_view_attachment
mutt_write_fcc
mutt_write_rfc822_header
mutt_yesorno
nm_check_mailbox
nm_nonctx_get_count
nm_sync_mailbox
nntp_capabilities
nntp_hcache_update
nntp_newsrc_gen_entries
nntp_open_connection
parse_parameters
parse_pub_line
parse_regex
pgpring_dump_keyblock
pgp_application_pgp_handler
pgp_copy_clearsigned
pgp_decrypt_mime
pgp_find_keys
pgp_getkeybyaddr
pgp_getkeybystr
pgp_gpgme_application_handler
pgp_gpgme_decrypt_mime
pgp_read_packet
pgp_select_key
pgp_sign_message
pgp_traditional_encryptsign
pop_fetch_headers
print_smime_keyinfo
qp_decode_line
query_menu
reopen_mailbox
resolve_color
resolve_types
rfc1524_expand_filename
rfc2047_decode
rfc2231_decode_parameters
select_msg
show_one_sig_status
shrink_histfile
smime_getkeys
smime_select_key
ssl_init
tls_init
utf8_to_utf7
_mutt_expand_path
_mutt_parse_color
_mutt_traverse_thread

7 years agoreduce scope of for loop variables
Richard Russon [Thu, 8 Jun 2017 14:43:16 +0000 (15:43 +0100)]
reduce scope of for loop variables

Each change is limited to a single function:
    attach_forward_bodies
    attach_forward_msgs
    attach_reply_envelope_defaults
    check_all_msg
    find_parent
    mutt_attach_bounce
    mutt_attach_reply
    mutt_attach_resend
    mutt_builtin_editor
    mutt_gen_attach_list

7 years agotranslation: update Chinese (Simplified)
Richard Russon [Tue, 13 Jun 2017 11:20:10 +0000 (12:20 +0100)]
translation: update Chinese (Simplified)

7 years agoinit.c: allow sourcing of multiple files 626/head
toogley [Thu, 8 Jun 2017 22:39:37 +0000 (00:39 +0200)]
init.c: allow sourcing of multiple files

Credits: Cedric Duval,
http://cedricduval.free.fr/mutt/patches/download/patch-1.5.4.cd.source_multiple.2

Issue #616

7 years agodocs: fix ifdef examples
Richard Russon [Sun, 11 Jun 2017 09:47:20 +0000 (10:47 +0100)]
docs: fix ifdef examples

7 years agoFix trailing whitespaces
Zero King [Sun, 11 Jun 2017 01:28:13 +0000 (01:28 +0000)]
Fix trailing whitespaces

7 years agomerge: drop obsolete options / docs
Richard Russon [Sat, 10 Jun 2017 14:42:14 +0000 (15:42 +0100)]
merge: drop obsolete options / docs

7 years agoupdate gitignore 617/head
Richard Russon [Tue, 6 Jun 2017 00:11:39 +0000 (01:11 +0100)]
update gitignore

Update .gitignore to match all the latest build changes.

7 years agoCompletely remove dotlock
Richard Russon [Mon, 5 Jun 2017 18:07:17 +0000 (19:07 +0100)]
Completely remove dotlock

The last-ditch attempt to lock a file, dating back to the times when NFS
and SMB file-locking wasn't reliable.

7 years agodrop UPDATING files
Richard Russon [Tue, 6 Jun 2017 11:45:46 +0000 (12:45 +0100)]
drop UPDATING files

Drop:
    UPDATING    (from upstream)
    UPDATING.gz

The information in here is also in our ChangeLog.

7 years agoOne ChangeLog to bind them all
Richard Russon [Mon, 5 Jun 2017 22:51:38 +0000 (23:51 +0100)]
One ChangeLog to bind them all

Drop files:
    ChangeLog      (from upstream)
    ChangeLog.nntp

Rename:
    ChangeLog.neomutt -> ChangeLog.md

7 years agodrop configure options --enable-exact-address
Richard Russon [Mon, 5 Jun 2017 17:51:02 +0000 (18:51 +0100)]
drop configure options --enable-exact-address

Unused option.

7 years agodrop configure option --with-exec-shell
Richard Russon [Mon, 5 Jun 2017 17:40:55 +0000 (18:40 +0100)]
drop configure option --with-exec-shell

Using /bin/sh is safe.

7 years agodrop configure option --enable-nfs-fix
Richard Russon [Mon, 5 Jun 2017 16:31:01 +0000 (17:31 +0100)]
drop configure option --enable-nfs-fix

No longer needed.

7 years agodrop configure option --disable-warnings
Richard Russon [Mon, 5 Jun 2017 16:25:33 +0000 (17:25 +0100)]
drop configure option --disable-warnings

Always enable the warnings.

7 years agoremove stamp-h.in
Richard Russon [Mon, 5 Jun 2017 23:49:58 +0000 (00:49 +0100)]
remove stamp-h.in

This file is generated by configure and shouldn't be committed to the
repo.

7 years agoremove references to synonyms
Richard Russon [Mon, 5 Jun 2017 23:37:33 +0000 (00:37 +0100)]
remove references to synonyms

Undocumented           | Real variable
-----------------------|-------------------------
edit_hdrs              | edit_headers
envelope_from          | use_envelope_from
forw_decode            | forward_decode
forw_decrypt           | forward_decrypt
forw_format            | forward_format
forw_quote             | forward_quote
hdr_format             | index_format
indent_str             | indent_string
mime_fwd               | mime_forward
msg_format             | message_format
pgp_autoencrypt        | crypt_autoencrypt
pgp_autosign           | crypt_autosign
pgp_auto_traditional   | pgp_replyinline
pgp_create_traditional | pgp_autoinline
pgp_replyencrypt       | crypt_replyencrypt
pgp_replysign          | crypt_replysign
pgp_replysignencrypted | crypt_replysignencrypted
pgp_verify_sig         | crypt_verify_sig
post_indent_str        | post_indent_string
print_cmd              | print_command
smime_sign_as          | smime_default_key
xterm_icon             | ts_icon_format
xterm_set_titles       | ts_enabled
xterm_title            | ts_status_format

7 years agoRemove refs to deleted configure options
Richard Russon [Mon, 5 Jun 2017 22:21:21 +0000 (23:21 +0100)]
Remove refs to deleted configure options

Obsolete configure options:
    --enable-hcache
    --enable-imap
    --enable-mailtool
    --enable-nntp
    --enable-pop
    --enable-smtp
    --with-included-gettext
    --with-regex

7 years agocleanup hdr_format_str 627/head
Stefan Assmann [Fri, 9 Jun 2017 05:44:55 +0000 (07:44 +0200)]
cleanup hdr_format_str

Sort options in alphabetical order for better overview.
Also while at it, removed a few superfluous blank lines.

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
7 years agodoc: fix spaces in the manual
toogley [Sat, 10 Jun 2017 08:23:36 +0000 (10:23 +0200)]
doc: fix spaces in the manual

Thanks to Bo YU (@yuzibo) and Floyd Anderson (@floand)

These were introduced when `tidy` was run.