]> granicus.if.org Git - neomutt/log
neomutt
7 years agobuild: lower the gettext requirement 0.18 -> 0.17
Richard Russon [Wed, 19 Apr 2017 20:13:42 +0000 (21:13 +0100)]
build: lower the gettext requirement 0.18 -> 0.17

RHEL6 only has gettext 0.17.

7 years agofix broken from_chars behaviour
Ian Zimmerman [Tue, 18 Apr 2017 22:01:36 +0000 (15:01 -0700)]
fix broken from_chars behaviour

Upstream adopted and extended the from_chars feature.
A couple of changes to the behaviour were introduced by the change:
- '\r' wasn't being recognised
- An unwanted space was being displayed

Fixes #533

7 years agomutt_envlist_set: change 1/0 int parameter to boolean (#537)
Tobias Angele [Thu, 20 Apr 2017 00:20:09 +0000 (02:20 +0200)]
mutt_envlist_set: change 1/0 int parameter to boolean (#537)

7 years agoRemove -Iimap from CFLAGS and include imap/imap.h explicitely (#536)
Pietro Cerutti [Wed, 19 Apr 2017 15:38:57 +0000 (16:38 +0100)]
Remove -Iimap from CFLAGS and include imap/imap.h explicitely (#536)

7 years agofix decode of encrypted mail
Richard Russon [Wed, 19 Apr 2017 12:32:06 +0000 (13:32 +0100)]
fix decode of encrypted mail

This one-char typo caused mutt to lock up when reading encrypted email.

7 years agoFix GPG_TTY to be added to envlist. (closes #3931)
Kevin McCarthy [Tue, 18 Apr 2017 19:25:17 +0000 (12:25 -0700)]
Fix GPG_TTY to be added to envlist. (closes #3931)

Changeset 37209157e33c converted filters to use the envlist.
Unfortunately, I missed that pgp.c sets GPG_TTY when using the GnuPG
agent.  Convert to add GPG_TTY to the envlist too.

7 years agomerge: upstream fixes (mutt/default)
Richard Russon [Tue, 18 Apr 2017 12:50:55 +0000 (13:50 +0100)]
merge: upstream fixes (mutt/default)

 * Add ifdefs around new mutt_resize_screen calls.
 * Add multiline and sigwinch handling to mutt_multi_choice. (see #3877)
 * Set pager's REDRAW_SIGWINCH when reflowing windows.
 * Add multiline and sigwinch handling to mutt_yesorno. (closes #3877)
 * Change the sort prompt to use (s)ort style prompts.
 * Handle the pager sort prompt inside the pager.

7 years agoHandle the pager sort prompt inside the pager.
Kevin McCarthy [Tue, 18 Apr 2017 00:40:15 +0000 (17:40 -0700)]
Handle the pager sort prompt inside the pager.

Display the prompt in the pager, so a multiline prompt or resize
doesn't refresh the index menu.  Then, bounce back through the index
to handle resorting and status line updates.

This also fixes cancelling to stay in the pager.

7 years agoChange the sort prompt to use (s)ort style prompts.
Kevin McCarthy [Tue, 18 Apr 2017 00:40:14 +0000 (17:40 -0700)]
Change the sort prompt to use (s)ort style prompts.

This is consistent with the rest of mutt, and in my opinion, more readable.

7 years agoAdd multiline and sigwinch handling to mutt_yesorno. (closes #3877)
Kevin McCarthy [Sun, 16 Apr 2017 21:38:40 +0000 (14:38 -0700)]
Add multiline and sigwinch handling to mutt_yesorno. (closes #3877)

Most of the yes/no and query_quadoption prompts are pretty short, but
for completeness add handling for those too.

7 years agoSet pager's REDRAW_SIGWINCH when reflowing windows.
Kevin McCarthy [Sat, 15 Apr 2017 19:56:46 +0000 (12:56 -0700)]
Set pager's REDRAW_SIGWINCH when reflowing windows.

So that all external reflow handling functions don't have to remember
to set the flag too.

7 years agoAdd multiline and sigwinch handling to mutt_multi_choice. (see #3877)
Kevin McCarthy [Sat, 15 Apr 2017 19:56:43 +0000 (12:56 -0700)]
Add multiline and sigwinch handling to mutt_multi_choice. (see #3877)

Resize the message window up to three lines to fix wide prompts.

Enable sigwinch processing and redraw the current menu as needed.

7 years agoAdd ifdefs around new mutt_resize_screen calls.
Kevin McCarthy [Sat, 15 Apr 2017 19:56:42 +0000 (12:56 -0700)]
Add ifdefs around new mutt_resize_screen calls.

Changeset 231fa2eff206 added sigwinch handling to _mutt_enter_string()
but neglected to add an ifdef check.

7 years agobuild: fix distcheck
Richard Russon [Tue, 18 Apr 2017 12:12:46 +0000 (13:12 +0100)]
build: fix distcheck

Fix the location of keymap_alldefs.h so the translations can be created.

7 years agoresync translations
Richard Russon [Mon, 17 Apr 2017 15:19:03 +0000 (16:19 +0100)]
resync translations

Some translations got lost in the move.
This commit restores them and updates all the file references.

7 years agobuild: restore po/mutt.pot
Richard Russon [Sat, 15 Apr 2017 16:27:54 +0000 (17:27 +0100)]
build: restore po/mutt.pot

This file is autogenerated from the the files listed in po/POTFILES.in
However, if it's missing it causes the build to regenerate ALL the .po
files every time there's a change to the code.  This is annoying.

If you want to update the .po files, try:
    make -C po update-po

7 years agofix: build of imap/auth_sasl.c
Richard Russon [Sat, 15 Apr 2017 16:08:07 +0000 (17:08 +0100)]
fix: build of imap/auth_sasl.c

Header file <sasl/sasl.h> doesn't seem to include a header defining
'size_t'.  Make sure we include <stddef.h> before it.

Closes #525

7 years agodocs: delete trailing whitespace
Richard Russon [Mon, 17 Apr 2017 12:17:43 +0000 (13:17 +0100)]
docs: delete trailing whitespace

This was left by tidy when the docs were reformatted.

7 years agouse w3m as default for generating UTF8 manual.txt (#491)
sassmann [Mon, 17 Apr 2017 12:15:56 +0000 (14:15 +0200)]
use w3m as default for generating UTF8 manual.txt (#491)

The input for manual.txt is manual.html which is UTF8 encoded. Now
forcing manual.txt to be ascii leads to all sorts of "?" in the ascii
file, which is not nice. If we have UTF8 input we should also use UTF8
for the output.
Moved w3m to be the default to generate UTF8 manual.txt. If you prefer
manual.txt to be ascii the fallbacks lynx or elinks will still produce
plain ascii.

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
7 years agoadd requets to be patient in IRC and eliminate warnings (#523)
Tobias Angele [Mon, 17 Apr 2017 12:15:15 +0000 (14:15 +0200)]
add requets to be patient in IRC and eliminate warnings (#523)

* README.md: add note to be patient when asking in IRC
* CONTRIBUTIONS.md: Please eliminate warnings the compilation tools produce.

[ci skip]

7 years agofill out .mailmap
Richard Russon [Sun, 16 Apr 2017 01:16:20 +0000 (02:16 +0100)]
fill out .mailmap

[ci skip]

7 years agomerge: upstream release 1.8.1 neomutt-20170414
Richard Russon [Thu, 13 Apr 2017 22:15:44 +0000 (23:15 +0100)]
merge: upstream release 1.8.1

 * automatic post-release commit for mutt-1.8.1
 * Added tag mutt-1-8-1-rel for changeset f44974c10990
 * mutt-1.8.1 signed

7 years agoupdate translation files
Richard Russon [Thu, 13 Apr 2017 12:26:45 +0000 (13:26 +0100)]
update translation files

7 years agoapply clang-format to the source code
Richard Russon [Wed, 12 Apr 2017 18:45:24 +0000 (19:45 +0100)]
apply clang-format to the source code

The source and headers have been treated slightly differently.

The source files (*.c) have had clang-format applied and it's expected
that this will become an automatic process in the future.  A few blocks
of source have been protected from change by special comments
    // clang-format off
    // clang-format on

The header files contain a lot of #define'd lists which contain a lot of
manually placed whitespace.  clang-format doesn't have an option to
align these as we'd like.

The compromise was to run clang-format on the headers, but cherry-pick
the formatting that was more human-friendly.  clang-format won't be
automatically run on the headers.

This commit also sorts out a few other formatting issues:
- All tabs have been expanded
- Tabs in translated strings have been expanded
  (this makes it easier to align translated strings)

7 years agoconvert .ja translation to utf-8
Richard Russon [Wed, 12 Apr 2017 20:39:09 +0000 (21:39 +0100)]
convert .ja translation to utf-8

7 years agobuild: rename files hyphen to underscore
Richard Russon [Wed, 12 Apr 2017 15:30:27 +0000 (16:30 +0100)]
build: rename files hyphen to underscore

7 years agorevert broken fix
Richard Russon [Thu, 13 Apr 2017 13:34:08 +0000 (14:34 +0100)]
revert broken fix

gpgme returns 0 on EOF which we shouldn't pass to fwrite().

7 years agorevert broken fix
Richard Russon [Thu, 13 Apr 2017 11:24:05 +0000 (12:24 +0100)]
revert broken fix

This IS the site of a possible bug, but this isn't the way to fix it.
Some paths through parse_set() will lead to (idx == -1) which will cause a
buffer underrun when used as an index to MuttVars.

closes #520

7 years agomerge stable
Kevin McCarthy [Thu, 13 Apr 2017 01:00:22 +0000 (18:00 -0700)]
merge stable

7 years agomutt-1.8.1 signed
Kevin McCarthy [Thu, 13 Apr 2017 00:45:28 +0000 (17:45 -0700)]
mutt-1.8.1 signed

7 years agoAdded tag mutt-1-8-1-rel for changeset f44974c10990
Kevin McCarthy [Thu, 13 Apr 2017 00:44:20 +0000 (17:44 -0700)]
Added tag mutt-1-8-1-rel for changeset f44974c10990

7 years agoautomatic post-release commit for mutt-1.8.1
Kevin McCarthy [Thu, 13 Apr 2017 00:43:47 +0000 (17:43 -0700)]
automatic post-release commit for mutt-1.8.1

7 years agomerge: boolify functions
Richard Russon [Wed, 12 Apr 2017 01:23:44 +0000 (02:23 +0100)]
merge: boolify functions

These functions returned -1 on failure but are essentially boolean.
Convert them to use false/true.
 * check_all_msg()
 * check_msg()
 * compare_certificates()
 * compare_stat()
 * crypt_key_is_valid()
 * is_bound()
 * line_compare()
 * mutt_check_charset()
 * rfc822_valid_msgid()
 * smtp_code()
 * url_parse_query()
 * user_in_addr()

7 years agouser_in_addr
Richard Russon [Mon, 10 Apr 2017 18:06:54 +0000 (19:06 +0100)]
user_in_addr

7 years agourl_parse_query
Richard Russon [Tue, 11 Apr 2017 14:18:06 +0000 (15:18 +0100)]
url_parse_query

7 years agosmtp_code
Richard Russon [Mon, 10 Apr 2017 20:19:58 +0000 (21:19 +0100)]
smtp_code

7 years agorfc822_valid_msgid
Richard Russon [Tue, 11 Apr 2017 18:25:03 +0000 (19:25 +0100)]
rfc822_valid_msgid

7 years agomutt_check_charset
Richard Russon [Tue, 11 Apr 2017 13:22:11 +0000 (14:22 +0100)]
mutt_check_charset

7 years agoline_compare
Richard Russon [Tue, 11 Apr 2017 18:08:39 +0000 (19:08 +0100)]
line_compare

7 years agois_bound
Richard Russon [Tue, 11 Apr 2017 12:01:16 +0000 (13:01 +0100)]
is_bound

7 years agocrypt_key_is_valid
Richard Russon [Tue, 11 Apr 2017 11:58:12 +0000 (12:58 +0100)]
crypt_key_is_valid

7 years agocompare_stat
Richard Russon [Tue, 11 Apr 2017 17:12:23 +0000 (18:12 +0100)]
compare_stat

7 years agocompare_certificates
Richard Russon [Tue, 11 Apr 2017 11:56:32 +0000 (12:56 +0100)]
compare_certificates

7 years agocheck_msg
Richard Russon [Mon, 10 Apr 2017 23:32:39 +0000 (00:32 +0100)]
check_msg

7 years agocheck_all_msg
Richard Russon [Mon, 10 Apr 2017 23:34:33 +0000 (00:34 +0100)]
check_all_msg

7 years agomerge: boolify functions
Richard Russon [Tue, 11 Apr 2017 23:31:33 +0000 (00:31 +0100)]
merge: boolify functions

These functions all returned 0/1 on failure/success.
Convert them to use false/true.
 * add_quote_suffix()
 * addrcmp()
 * addresses_use_unicode()
 * address_uses_unicode()
 * check_boundary()
 * check_certificate_cache()
 * check_certificate_expiration()
 * check_for_mailing_list()
 * check_idn()
 * cmd_queue_full()
 * compare_flags()
 * count_body_parts_check()
 * create_hcache_dir()
 * crypt_is_numerical_keyid()
 * feature_enabled()
 * get_initials()
 * hostname_match()
 * imap_has_flag()
 * is_context_available()
 * is_day_name()
 * is_display_corrupting_utf8()
 * link_threads()
 * maildir_add_to_context()
 * match_reference()
 * mbox_has_new()
 * mh_valid_message()
 * mutt_addr_is_user()
 * mutt_comp_can_append()
 * mutt_comp_can_read()
 * mutt_group_match()
 * mutt_limit_current_thread()
 * mutt_matches_list()
 * mutt_match_spam_list()
 * mutt_needs_mailcap()
 * mutt_pop_list()
 * mutt_ts_capability()
 * perform_and()
 * perform_or()
 * pgpring_string_matches_hint()
 * pgp_use_gpg_agent()
 * prepare_sidebar()
 * select_next()
 * select_next_new()
 * select_prev()
 * select_prev_new()
 * string_is_address()

7 years agostring_is_address
Richard Russon [Tue, 11 Apr 2017 12:16:56 +0000 (13:16 +0100)]
string_is_address

7 years agoselect_prev_new
Richard Russon [Tue, 11 Apr 2017 18:26:53 +0000 (19:26 +0100)]
select_prev_new

7 years agoselect_prev
Richard Russon [Mon, 10 Apr 2017 18:03:11 +0000 (19:03 +0100)]
select_prev

7 years agoselect_next_new
Richard Russon [Tue, 11 Apr 2017 12:16:26 +0000 (13:16 +0100)]
select_next_new

7 years agoselect_next
Richard Russon [Mon, 10 Apr 2017 18:04:42 +0000 (19:04 +0100)]
select_next

7 years agoprepare_sidebar
Richard Russon [Tue, 11 Apr 2017 12:14:53 +0000 (13:14 +0100)]
prepare_sidebar

7 years agopgp_use_gpg_agent
Richard Russon [Mon, 10 Apr 2017 21:18:59 +0000 (22:18 +0100)]
pgp_use_gpg_agent

7 years agopgpring_string_matches_hint
Richard Russon [Tue, 11 Apr 2017 12:12:14 +0000 (13:12 +0100)]
pgpring_string_matches_hint

7 years agoperform_or
Richard Russon [Tue, 11 Apr 2017 12:10:47 +0000 (13:10 +0100)]
perform_or

7 years agoperform_and
Richard Russon [Tue, 11 Apr 2017 12:09:58 +0000 (13:09 +0100)]
perform_and

7 years agomutt_ts_capability
Richard Russon [Tue, 11 Apr 2017 18:19:37 +0000 (19:19 +0100)]
mutt_ts_capability

7 years agomutt_pop_list
Richard Russon [Tue, 11 Apr 2017 12:09:30 +0000 (13:09 +0100)]
mutt_pop_list

7 years agomutt_needs_mailcap
Richard Russon [Mon, 10 Apr 2017 17:44:56 +0000 (18:44 +0100)]
mutt_needs_mailcap

7 years agomutt_match_spam_list
Richard Russon [Tue, 11 Apr 2017 14:33:28 +0000 (15:33 +0100)]
mutt_match_spam_list

7 years agomutt_matches_list
Richard Russon [Tue, 11 Apr 2017 18:18:11 +0000 (19:18 +0100)]
mutt_matches_list

7 years agomutt_limit_current_thread
Richard Russon [Tue, 11 Apr 2017 18:41:22 +0000 (19:41 +0100)]
mutt_limit_current_thread

7 years agomutt_group_match
Richard Russon [Tue, 11 Apr 2017 18:15:13 +0000 (19:15 +0100)]
mutt_group_match

7 years agomutt_comp_can_read
Richard Russon [Tue, 11 Apr 2017 14:33:09 +0000 (15:33 +0100)]
mutt_comp_can_read

7 years agomutt_comp_can_append
Richard Russon [Tue, 11 Apr 2017 18:13:27 +0000 (19:13 +0100)]
mutt_comp_can_append

7 years agomutt_addr_is_user
Richard Russon [Mon, 10 Apr 2017 17:42:33 +0000 (18:42 +0100)]
mutt_addr_is_user

7 years agomh_valid_message
Richard Russon [Mon, 10 Apr 2017 20:38:47 +0000 (21:38 +0100)]
mh_valid_message

7 years agombox_has_new
Richard Russon [Tue, 11 Apr 2017 12:06:25 +0000 (13:06 +0100)]
mbox_has_new

7 years agomatch_reference
Richard Russon [Tue, 11 Apr 2017 12:05:46 +0000 (13:05 +0100)]
match_reference

7 years agomaildir_add_to_context
Richard Russon [Tue, 11 Apr 2017 13:14:55 +0000 (14:14 +0100)]
maildir_add_to_context

7 years agolink_threads
Richard Russon [Tue, 11 Apr 2017 12:01:52 +0000 (13:01 +0100)]
link_threads

7 years agois_display_corrupting_utf8
Richard Russon [Tue, 11 Apr 2017 17:56:32 +0000 (18:56 +0100)]
is_display_corrupting_utf8

7 years agois_day_name
Richard Russon [Mon, 10 Apr 2017 20:39:26 +0000 (21:39 +0100)]
is_day_name

7 years agois_context_available
Richard Russon [Tue, 11 Apr 2017 12:01:32 +0000 (13:01 +0100)]
is_context_available

7 years agoimap_has_flag
Richard Russon [Mon, 10 Apr 2017 21:18:44 +0000 (22:18 +0100)]
imap_has_flag

7 years agohostname_match
Richard Russon [Mon, 10 Apr 2017 16:41:09 +0000 (17:41 +0100)]
hostname_match

7 years agoget_initials
Richard Russon [Tue, 11 Apr 2017 11:59:04 +0000 (12:59 +0100)]
get_initials

7 years agofeature_enabled
Richard Russon [Tue, 11 Apr 2017 17:24:50 +0000 (18:24 +0100)]
feature_enabled

7 years agocrypt_is_numerical_keyid
Richard Russon [Tue, 11 Apr 2017 11:57:58 +0000 (12:57 +0100)]
crypt_is_numerical_keyid

7 years agocreate_hcache_dir
Richard Russon [Tue, 11 Apr 2017 17:16:14 +0000 (18:16 +0100)]
create_hcache_dir

7 years agocount_body_parts_check
Richard Russon [Mon, 10 Apr 2017 19:52:17 +0000 (20:52 +0100)]
count_body_parts_check

7 years agocompare_flags
Richard Russon [Tue, 11 Apr 2017 11:57:28 +0000 (12:57 +0100)]
compare_flags

7 years agocmd_queue_full
Richard Russon [Mon, 10 Apr 2017 22:19:21 +0000 (23:19 +0100)]
cmd_queue_full

7 years agocheck_idn
Richard Russon [Tue, 11 Apr 2017 17:08:55 +0000 (18:08 +0100)]
check_idn

7 years agocheck_for_mailing_list
Richard Russon [Tue, 11 Apr 2017 11:55:55 +0000 (12:55 +0100)]
check_for_mailing_list

7 years agocheck_certificate_expiration
Richard Russon [Mon, 10 Apr 2017 23:30:00 +0000 (00:30 +0100)]
check_certificate_expiration

7 years agocheck_certificate_cache
Richard Russon [Tue, 11 Apr 2017 11:55:32 +0000 (12:55 +0100)]
check_certificate_cache

7 years agocheck_boundary
Richard Russon [Tue, 11 Apr 2017 17:06:54 +0000 (18:06 +0100)]
check_boundary

7 years agoaddress_uses_unicode
Richard Russon [Tue, 11 Apr 2017 11:55:06 +0000 (12:55 +0100)]
address_uses_unicode

7 years agoaddresses_use_unicode
Richard Russon [Mon, 10 Apr 2017 20:41:26 +0000 (21:41 +0100)]
addresses_use_unicode

7 years agoaddrcmp
Richard Russon [Tue, 11 Apr 2017 11:54:42 +0000 (12:54 +0100)]
addrcmp

7 years agoadd_quote_suffix
Richard Russon [Mon, 10 Apr 2017 16:13:03 +0000 (17:13 +0100)]
add_quote_suffix

7 years agoFix memleak when attaching files.
Kevin McCarthy [Tue, 11 Apr 2017 19:14:47 +0000 (12:14 -0700)]
Fix memleak when attaching files.

7 years agomerge: fix coverity defects
Richard Russon [Tue, 11 Apr 2017 23:26:14 +0000 (00:26 +0100)]
merge: fix coverity defects

 * coverity: strfcpy
 * coverity: add variable - function arg could be NULL/invalid
 * coverity: add variable - failed function leads to invalid variable
 * coverity: add variable - Context could become NULL
 * coverity: add variable - alloc/strdup could return NULL
 * coverity: add variable - route through code leads to invalid variable
 * coverity: remove variable test
 * coverity: test functions
 * coverity: tidy switches
 * coverity: unused variables
 * coverity: refactor only
 * coverity: check for buffer underruns
 * coverity: fix leaks
 * coverity: minor fixes

7 years agomerge stable
Kevin McCarthy [Tue, 11 Apr 2017 19:15:12 +0000 (12:15 -0700)]
merge stable

7 years agoFix memleak when attaching files.
Kevin McCarthy [Tue, 11 Apr 2017 19:14:47 +0000 (12:14 -0700)]
Fix memleak when attaching files.

7 years agocoverity: minor fixes 515/head
Richard Russon [Wed, 5 Apr 2017 14:59:15 +0000 (15:59 +0100)]
coverity: minor fixes

Fix a few minor bugs.

7 years agocoverity: fix leaks
Richard Russon [Wed, 5 Apr 2017 14:51:30 +0000 (15:51 +0100)]
coverity: fix leaks

Fix resource leaks.

7 years agocoverity: check for buffer underruns
Richard Russon [Wed, 5 Apr 2017 14:34:28 +0000 (15:34 +0100)]
coverity: check for buffer underruns

Prevent buffer underruns caused by functions that can return -1.

7 years agocoverity: refactor only
Richard Russon [Wed, 5 Apr 2017 14:29:36 +0000 (15:29 +0100)]
coverity: refactor only

Refactor code for clarity.