]> granicus.if.org Git - neomutt/log
neomutt
7 years agomerge: rename functions/constants for consistency
Richard Russon [Mon, 17 Jul 2017 16:16:45 +0000 (17:16 +0100)]
merge: rename functions/constants for consistency

 * rename ESC_char
 * rename mutt_format_string and mutt_FormatString
 * rename SHA1_*
 * remove build constant SHA1HANDSOFF
 * #define constants in upper case

7 years ago#define constants in upper case
Richard Russon [Sat, 15 Jul 2017 08:44:21 +0000 (09:44 +0100)]
#define constants in upper case

7 years agoremove build constant SHA1HANDSOFF
Richard Russon [Sat, 15 Jul 2017 08:36:25 +0000 (09:36 +0100)]
remove build constant SHA1HANDSOFF

7 years agorename SHA1_*
Richard Russon [Sat, 15 Jul 2017 08:35:10 +0000 (09:35 +0100)]
rename SHA1_*

7 years agorename mutt_format_string and mutt_FormatString
Richard Russon [Fri, 14 Jul 2017 21:07:37 +0000 (22:07 +0100)]
rename mutt_format_string and mutt_FormatString

`mutt_format_string` and `mutt_FormatString` were much to similarly
named to be useful.  The first only does formatting.  The second uses
expandos to allow custom expansion.

To avoid future confusion, I've created new names that are distinct:
    mutt_format_string mutt_simple_format
    mutt_FormatString  mutt_expando_format

7 years agorename ESC_char
Richard Russon [Sat, 15 Jul 2017 08:32:53 +0000 (09:32 +0100)]
rename ESC_char

7 years agomerge: improve doxygen comments
Richard Russon [Mon, 17 Jul 2017 15:48:48 +0000 (16:48 +0100)]
merge: improve doxygen comments

 * name all enum types
 * fix all comments
 * fix colours and links
 * add file templates
 * add struct/enum/union templates
 * convert existing comments

7 years agodoxygen: convert existing comments
Richard Russon [Sun, 16 Jul 2017 19:49:10 +0000 (20:49 +0100)]
doxygen: convert existing comments

Lots of functions were already commented.
This commit re-formats the comments to be doxygen-compatible.

Despite the size of the commit, no code has changed.

7 years agodoxygen: add struct/enum/union templates
Richard Russon [Wed, 12 Jul 2017 11:28:47 +0000 (12:28 +0100)]
doxygen: add struct/enum/union templates

7 years agodoxygen: add file templates
Richard Russon [Wed, 12 Jul 2017 17:20:00 +0000 (18:20 +0100)]
doxygen: add file templates

7 years agodoxygen: fix colours and links
Richard Russon [Sat, 15 Jul 2017 16:24:23 +0000 (17:24 +0100)]
doxygen: fix colours and links

7 years agodoxygen: fix all comments
Richard Russon [Sat, 15 Jul 2017 09:08:59 +0000 (10:08 +0100)]
doxygen: fix all comments

7 years agoname all enum types
Richard Russon [Sun, 16 Jul 2017 12:04:20 +0000 (13:04 +0100)]
name all enum types

7 years agoonly match real mailboxes when looking for new mail
Richard Russon [Sat, 15 Jul 2017 15:42:41 +0000 (16:42 +0100)]
only match real mailboxes when looking for new mail

7 years agonntp: sync to upstream
Richard Russon [Mon, 26 Jun 2017 10:17:06 +0000 (11:17 +0100)]
nntp: sync to upstream

7 years agoNeoMutt 2017-07-14 (1.8.3) neomutt-20170714
Richard Russon [Fri, 14 Jul 2017 14:44:03 +0000 (15:44 +0100)]
NeoMutt 2017-07-14 (1.8.3)

7 years agomerge: sync to mutt/default
Richard Russon [Fri, 14 Jul 2017 14:43:25 +0000 (15:43 +0100)]
merge: sync to mutt/default

7 years agoupdate translations
Richard Russon [Fri, 14 Jul 2017 13:25:36 +0000 (14:25 +0100)]
update translations

7 years agoUpdate German translation
André Berger [Sun, 9 Jul 2017 22:01:26 +0000 (23:01 +0100)]
Update German translation

7 years agoclang-format
Richard Russon [Fri, 14 Jul 2017 13:15:08 +0000 (14:15 +0100)]
clang-format

7 years agodocs: update ChangeLog
Richard Russon [Fri, 14 Jul 2017 13:13:12 +0000 (14:13 +0100)]
docs: update ChangeLog

7 years agoversion: 2017-07-14
Richard Russon [Fri, 14 Jul 2017 12:06:58 +0000 (13:06 +0100)]
version: 2017-07-14

7 years agocoverity: fix two minor defects
Richard Russon [Fri, 14 Jul 2017 12:43:23 +0000 (13:43 +0100)]
coverity: fix two minor defects

7 years agodifferentiate hcaches
Richard Russon [Sun, 9 Jul 2017 21:38:25 +0000 (22:38 +0100)]
differentiate hcaches

7 years agofix hcachever.sh script
Richard Russon [Tue, 11 Jul 2017 13:33:48 +0000 (14:33 +0100)]
fix hcachever.sh script

This script stopped working when all the structs were renamed
(and lots of the moved out of mutt.h)

7 years agocompile-time output: use two lists 666/head
Thomas Adam [Sat, 8 Jul 2017 16:17:16 +0000 (17:17 +0100)]
compile-time output: use two lists

When asking NeoMutt for a list of compile-time features, the current
implementation assumes a mixture of options which can be enabled through
./configure, and some which default to on, without compile-time
exclusion.

Instead, separate this output in NeoMutt.

7 years agoconfigure: remove MUTTLIBS 665/head
Damien Riegel [Fri, 7 Jul 2017 21:55:21 +0000 (17:55 -0400)]
configure: remove MUTTLIBS

It's not clear to anyone why this variable existed in the first place,
so it was decided that it should be removed.

Most of the time, AC_CHECK_LIB and AC_SEARCH_LIBS will already alter
LIBS to prepend to it the found library, so there is no real reason to
duplicate this mechanism.

Some manual assignments have been kept because either the
action-if-found was set to no-op, or because new found libraries were
appended to MUTTLIBS, so this keeps the diff minimal with the same
"behaviour".

See issue #552

7 years agodocs: fix pattern typo
Richard Russon [Wed, 5 Jul 2017 16:34:35 +0000 (17:34 +0100)]
docs: fix pattern typo

Thanks to cybrNaut

7 years agomerge: upstream fixes (mutt/default)
Richard Russon [Fri, 14 Jul 2017 11:08:04 +0000 (12:08 +0100)]
merge: upstream fixes (mutt/default)

 * fix signed/unsigned comparison in longest_common_prefix
 * Fix crash when $postponed is on another server.
 * bcache: cast to avoid implicit signed/unsigned comparison in bcache_path
 * drop unused flags argument from imap_access

7 years agodrop unused flags argument from imap_access
Brendan Cully [Fri, 14 Jul 2017 05:05:28 +0000 (22:05 -0700)]
drop unused flags argument from imap_access

We are not using an actual interface so it is pointless.

7 years agobcache: cast to avoid implicit signed/unsigned comparison in bcache_path
Brendan Cully [Thu, 13 Jul 2017 04:20:24 +0000 (21:20 -0700)]
bcache: cast to avoid implicit signed/unsigned comparison in bcache_path

7 years agoFix crash when $postponed is on another server.
Kevin McCarthy [Wed, 12 Jul 2017 19:38:22 +0000 (12:38 -0700)]
Fix crash when $postponed is on another server.

imap_mxcmp() translates NULL to "INBOX".  When $postponed points to a
URL with an empty or "INBOX" path, this will end up matching against a
NULL idata->mailbox in imap_status().  This resulted in a crash
because idata->ctx is also NULL.

Thanks to Olaf Hering for the detailed bug report and suggested fix.

7 years agofix signed/unsigned comparison in longest_common_prefix
Brendan Cully [Sat, 8 Jul 2017 23:35:08 +0000 (16:35 -0700)]
fix signed/unsigned comparison in longest_common_prefix

7 years agodrop unused flags argument from imap_access
Brendan Cully [Fri, 14 Jul 2017 05:05:28 +0000 (22:05 -0700)]
drop unused flags argument from imap_access

We are not using an actual interface so it is pointless.

7 years agodoxygen: add config file
Richard Russon [Tue, 11 Jul 2017 15:56:38 +0000 (16:56 +0100)]
doxygen: add config file

7 years agodoxygen: tidy existing comments
Richard Russon [Thu, 13 Jul 2017 01:28:05 +0000 (02:28 +0100)]
doxygen: tidy existing comments

7 years agoname unnamed enums
Richard Russon [Thu, 13 Jul 2017 13:58:27 +0000 (14:58 +0100)]
name unnamed enums

7 years agorename some structs/enums/unions/constants
Richard Russon [Wed, 12 Jul 2017 14:40:21 +0000 (15:40 +0100)]
rename some structs/enums/unions/constants

struct/enum/union
    Capability_Aliases CapabilityAliases
    Capability_Alias   CapabilityAlias
    CryptKeyinfo       CryptKeyInfo
    div_type           DivType
    DnArrayS           DnArray
    FgetConvS          FgetConv
    format_flag        FormatFlag
    group_state_t      GroupState
    hash_key           HashKey
    hcache_ops_t       HcacheOps
    history_class_t    HistoryClass
    imap_auth_res_t    ImapAuthRes
    IMAP_COMMAND_TYPE  ImapCommandType
    key_cap_t          KeyCap
    mdb_txn_mode       MdbTxnMode
    NmCtxdata          NmCtxData
    NmHdrdata          NmHdrData
    NmHdrtag           NmHdrTag
    packet_tags        PacketTags
    pattern_exec_flag  PatternExecFlag
    pgp_ring_t         PgpRing
    pop_auth_res_t     PopAuthRes
    sb_src             SidebarSrc
    Sysexits           SysExits
    url_scheme         UrlScheme
    url_scheme_t       UrlScheme
    validate           Validate
    XDGType            XdgType

Constants
    kXDGConfigDirs     XDG_CONFIG_DIRS
    kXDGConfigHome     XDG_CONFIG_HOME
    ADDR               GS_ADDR
    NONE               GS_NONE
    RX                 GS_RX
    txn_read           TXN_READ
    txn_uninitialized  TXN_UNINITIALIZED
    txn_write          TXN_WRITE

Variables
    firstMessage       first_message
    hideQuoted         hide_quoted
    lastCached         last_cached
    lastLine           last_line
    lastLoaded         last_loaded
    lastMessage        last_message
    lineInfo           line_info
    maxLine            max_line
    newMailCount       new_mail_count
    QuoteList          quote_list
    SearchBack         search_back
    SearchCompiled     search_compiled
    searchDir          search_dir
    SearchFlag         search_flag
    SearchRE           search_re
    WrapMargin         wrap_margin

7 years agobcache: cast to avoid implicit signed/unsigned comparison in bcache_path
Brendan Cully [Thu, 13 Jul 2017 04:20:24 +0000 (21:20 -0700)]
bcache: cast to avoid implicit signed/unsigned comparison in bcache_path

7 years agomerge stable
Kevin McCarthy [Wed, 12 Jul 2017 19:39:28 +0000 (12:39 -0700)]
merge stable

7 years agoFix crash when $postponed is on another server.
Kevin McCarthy [Wed, 12 Jul 2017 19:38:22 +0000 (12:38 -0700)]
Fix crash when $postponed is on another server.

imap_mxcmp() translates NULL to "INBOX".  When $postponed points to a
URL with an empty or "INBOX" path, this will end up matching against a
NULL idata->mailbox in imap_status().  This resulted in a crash
because idata->ctx is also NULL.

Thanks to Olaf Hering for the detailed bug report and suggested fix.

7 years agofix signed/unsigned comparison in longest_common_prefix
Brendan Cully [Sat, 8 Jul 2017 23:35:08 +0000 (16:35 -0700)]
fix signed/unsigned comparison in longest_common_prefix

7 years agofix: stop allowing duplicate mailboxes
Richard Russon [Sat, 8 Jul 2017 11:40:15 +0000 (12:40 +0100)]
fix: stop allowing duplicate mailboxes

7 years agoupdate ChangeLog.md
Richard Russon [Fri, 7 Jul 2017 18:11:51 +0000 (19:11 +0100)]
update ChangeLog.md

7 years agoNeoMutt 2017-07-07 (1.8.3) neomutt-20170707
Richard Russon [Fri, 7 Jul 2017 17:16:05 +0000 (18:16 +0100)]
NeoMutt 2017-07-07 (1.8.3)

7 years agomerge: sync to mutt/default
Richard Russon [Fri, 7 Jul 2017 17:14:19 +0000 (18:14 +0100)]
merge: sync to mutt/default

7 years agoupdate translations
Richard Russon [Fri, 7 Jul 2017 17:07:44 +0000 (18:07 +0100)]
update translations

7 years agotidy whitespace
Richard Russon [Fri, 7 Jul 2017 16:54:41 +0000 (17:54 +0100)]
tidy whitespace

7 years agoclang-format
Richard Russon [Fri, 7 Jul 2017 16:49:19 +0000 (17:49 +0100)]
clang-format

7 years agoupdate mailmap
Richard Russon [Fri, 7 Jul 2017 14:31:40 +0000 (15:31 +0100)]
update mailmap

7 years agodocs: update credits
Richard Russon [Fri, 7 Jul 2017 14:50:24 +0000 (15:50 +0100)]
docs: update credits

7 years agoversion: 2017-07-07
Richard Russon [Fri, 7 Jul 2017 15:45:11 +0000 (16:45 +0100)]
version: 2017-07-07

7 years agomerge: translations
Richard Russon [Fri, 7 Jul 2017 11:36:30 +0000 (12:36 +0100)]
merge: translations

 * Update Chinese (Simplified) translation
 * Updated Danish translation.
 * Updated Japanese translation.

7 years agoUpdated Japanese translation.
TAKAHASHI Tamotsu [Sun, 18 Jun 2017 17:58:07 +0000 (10:58 -0700)]
Updated Japanese translation.

7 years agoUpdated Danish translation.
Morten Bo Johansen [Wed, 14 Jun 2017 22:23:07 +0000 (15:23 -0700)]
Updated Danish translation.

7 years agoUpdate Chinese (Simplified) translation
Bo YU [Wed, 14 Jun 2017 12:08:28 +0000 (20:08 +0800)]
Update Chinese (Simplified) translation

7 years agomerge: upstream fixes (mutt/default)
Richard Russon [Thu, 6 Jul 2017 14:15:31 +0000 (15:15 +0100)]
merge: upstream fixes (mutt/default)

 * Add more description for the %S and %Z $index_format characters.
 * Add L10N comments to the GNUTLS certificate prompt.
 * Add ~<() and ~>() immediate parent/children patterns. (closes #3144)

7 years agoAdd ~<() and ~>() immediate parent/children patterns. (closes #3144)
Kevin McCarthy [Thu, 6 Jul 2017 02:09:51 +0000 (19:09 -0700)]
Add ~<() and ~>() immediate parent/children patterns. (closes #3144)

Thanks to Jeremie Le Hen for the original patch, and for his
persistence in getting this feature merged.

7 years agoAdd L10N comments to the GNUTLS certificate prompt.
Kevin McCarthy [Tue, 4 Jul 2017 02:22:18 +0000 (19:22 -0700)]
Add L10N comments to the GNUTLS certificate prompt.

The prompts are shared with OpenSSL, and so the prompts end up being
separate from the action key strings.

7 years agoAdd more description for the %S and %Z $index_format characters.
Kevin McCarthy [Mon, 3 Jul 2017 00:53:32 +0000 (17:53 -0700)]
Add more description for the %S and %Z $index_format characters.

7 years agoflags: update the hdr message last
Fabrice Bellet [Wed, 28 Jun 2017 19:37:43 +0000 (21:37 +0200)]
flags: update the hdr message last

this allow the color of the message of a colapsed thread to reflect
changes that occured in the subthread, and commited by this depth
first search.

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 agoAdd ~<() and ~>() immediate parent/children patterns. (closes #3144)
Kevin McCarthy [Thu, 6 Jul 2017 02:09:51 +0000 (19:09 -0700)]
Add ~<() and ~>() immediate parent/children patterns. (closes #3144)

Thanks to Jeremie Le Hen for the original patch, and for his
persistence in getting this feature merged.

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 agoRemove stale certificate prompt translations.
Kevin McCarthy [Tue, 4 Jul 2017 02:22:25 +0000 (19:22 -0700)]
Remove stale certificate prompt translations.

With the OpenSSL changes, unmaintained translation prompts will not function properly.

Clear out the translation strings for those using different action keys.

This changeset does not touch the translation files that are actively
maintained.  They will be properly updated before the 1.9.0 release.

7 years agoUpdate po files.
Kevin McCarthy [Tue, 4 Jul 2017 02:22:23 +0000 (19:22 -0700)]
Update po files.

7 years agoAdd L10N comments to the GNUTLS certificate prompt.
Kevin McCarthy [Tue, 4 Jul 2017 02:22:18 +0000 (19:22 -0700)]
Add L10N comments to the GNUTLS certificate prompt.

The prompts are shared with OpenSSL, and so the prompts end up being
separate from the action key strings.

7 years agoAdd more description for the %S and %Z $index_format characters.
Kevin McCarthy [Mon, 3 Jul 2017 00:53:32 +0000 (17:53 -0700)]
Add more description for the %S and %Z $index_format characters.

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 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.

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>