]>
granicus.if.org Git - neomutt/log
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
Richard Russon [Sun, 11 Jun 2017 09:47:20 +0000 (10:47 +0100)]
docs: fix ifdef examples
Zero King [Sun, 11 Jun 2017 01:28:13 +0000 (01:28 +0000)]
Fix trailing whitespaces
Richard Russon [Sat, 10 Jun 2017 14:42:14 +0000 (15:42 +0100)]
merge: drop obsolete options / docs
Richard Russon [Tue, 6 Jun 2017 00:11:39 +0000 (01:11 +0100)]
update gitignore
Update .gitignore to match all the latest build changes.
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.
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.
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
Richard Russon [Mon, 5 Jun 2017 17:51:02 +0000 (18:51 +0100)]
drop configure options --enable-exact-address
Unused option.
Richard Russon [Mon, 5 Jun 2017 17:40:55 +0000 (18:40 +0100)]
drop configure option --with-exec-shell
Using /bin/sh is safe.
Richard Russon [Mon, 5 Jun 2017 16:31:01 +0000 (17:31 +0100)]
drop configure option --enable-nfs-fix
No longer needed.
Richard Russon [Mon, 5 Jun 2017 16:25:33 +0000 (17:25 +0100)]
drop configure option --disable-warnings
Always enable the warnings.
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.
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
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
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>
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.
Elimar Riesebieter [Sat, 10 Jun 2017 12:49:28 +0000 (13:49 +0100)]
docs: fix typos
Richard Russon [Fri, 9 Jun 2017 14:26:40 +0000 (15:26 +0100)]
build: remove another reference to devel-notes.txt
Richard Russon [Fri, 9 Jun 2017 10:52:07 +0000 (11:52 +0100)]
NeoMutt 2017-06-09 (1.8.3)
Richard Russon [Fri, 9 Jun 2017 09:49:36 +0000 (10:49 +0100)]
update translations
Richard Russon [Thu, 8 Jun 2017 11:39:11 +0000 (12:39 +0100)]
update version
Richard Russon [Fri, 9 Jun 2017 10:48:21 +0000 (11:48 +0100)]
fix colours properly
Richard Russon [Mon, 5 Jun 2017 15:06:41 +0000 (16:06 +0100)]
new contributors to mailmap
Richard Russon [Thu, 8 Jun 2017 21:29:30 +0000 (22:29 +0100)]
Revert "Move setting of GPG_TTY to mutt_init(). (see #3948)"
This reverts commit
89ddfa61c180de00769f6e1798579ec80349a4eb .
This commit was created by upstream and then reverted citing possible
security problems leaking the GPG_TTY env var.
Pietro Cerutti [Thu, 8 Jun 2017 13:51:16 +0000 (14:51 +0100)]
Fix latest coverity issues (#624)
* Fix latest coverity issues
ncrypt/crypt.c
CID 170494: Resource leaks (RESOURCE_LEAK)
Variable "from" going out of scope leaks the storage it points to.
nntp.c
CID 170495: Uninitialized variables (UNINIT)
Declaring variable "buf" without initializer.
parse.c
CID 76957: Error handling issues (NEGATIVE_RETURNS)
"loc" is passed to a parameter that cannot be negative.
Richard Russon [Tue, 6 Jun 2017 16:19:06 +0000 (17:19 +0100)]
fix: don't pass colour-codes to filters
If the index_format string is being passed to an external filter, then
don't embed our secret colour-codes.
Fixes: #221
Richard Russon [Wed, 7 Jun 2017 15:14:24 +0000 (16:14 +0100)]
docs: explain binding warnings
Richard Russon [Wed, 7 Jun 2017 14:30:20 +0000 (15:30 +0100)]
Offer suggestion on binding problems
Ref: #621
Richard Russon [Mon, 5 Jun 2017 12:51:22 +0000 (13:51 +0100)]
fix: Don't set a colour unless it's been defined.
Some SETCOLOR's were being used without checking if the user had set the
colour, first.
If the user set the "normal" colours, then SETCOLOR would leave blocks
of unexpected colours.
Fixes #610
Stefan Assmann [Tue, 30 May 2017 07:50:40 +0000 (09:50 +0200)]
include mutt_regex.h in globals.h
Error observered
In file included from main.c:40:0:
globals.h:56:20: error: storage size of 'AttachKeyword' isn't known
WHERE struct Regex AttachKeyword;
^~~~~~~~~~~~~
globals.h:288:20: error: storage size of 'PgpGoodSign' isn't known
WHERE struct Regex PgpGoodSign;
^~~~~~~~~~~
Adding header include for mutt_regex.h.
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Stefan Assmann [Tue, 30 May 2017 06:25:33 +0000 (08:25 +0200)]
check return value of fgets
Following warning was observed:
init.c: In function 'mutt_init':
mutt.h:53:15: warning: ignoring return value of 'fgets_unlocked', declared with attribute warn_unused_result [-Wunused-result]
#define fgets fgets_unlocked
init.c:4053:7: note: in expansion of macro 'fgets'
fgets(buffer, sizeof(buffer), f);
^~~~~
Added code that checks return value.
Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Edward Betts [Wed, 7 Jun 2017 07:14:23 +0000 (08:14 +0100)]
devel-notes.txt replaced by docs on neomutt.org
The prepare script mentions doc/devel-notes.txt, which no longer exists.
Point to https://www.neomutt.org/dev/newbie-tutorial instead.
Richard Russon [Wed, 7 Jun 2017 21:56:59 +0000 (22:56 +0100)]
merge: upstream fixes (mutt/default)
* Fix "format string is not a string literal" warnings. (closes #3949)
* Enable TEXTDOMAINDIR override to make translation testing easier.
* Change km_dokey() to return -2 on a timeout/sigwinch.
* Fix tag-prefix to not abort on $timeout.
* Restore setenv function.
* Move setting of GPG_TTY to mutt_init(). (see #3948)
* Add a mutt_endwin() before invoking $sendmail. (closes #3948)
Kevin McCarthy [Wed, 7 Jun 2017 01:38:47 +0000 (18:38 -0700)]
Add a mutt_endwin() before invoking $sendmail. (closes #3948)
This is to support invoking a program such as msmtp that can use gpg
to decrypt a password. The ncurses pinentry can corrupt the screen
unless we exit curses.
Kevin McCarthy [Wed, 7 Jun 2017 01:38:46 +0000 (18:38 -0700)]
Move setting of GPG_TTY to mutt_init(). (see #3948)
This allows other programs mutt runs to use the ncurses pinentry if needed.
Kevin McCarthy [Wed, 7 Jun 2017 01:38:41 +0000 (18:38 -0700)]
Restore setenv function.
Partially revert
fa1192803257 , restoring setenv. It turns out we
still need the function.
Kevin McCarthy [Thu, 1 Jun 2017 22:17:05 +0000 (15:17 -0700)]
Fix tag-prefix to not abort on $timeout.
If $timeout is set very low, then it can cancel the tag-prefix before
the user has time to press the desired command.
Change the code to set the tag flag, and then recontinue with normal
event processing instead. Cancel on an abort, but continue with a timeout.
Thanks to Lauri Tirkkonen for reporting the issue.
Kevin McCarthy [Thu, 1 Jun 2017 22:17:01 +0000 (15:17 -0700)]
Change km_dokey() to return -2 on a timeout/sigwinch.
In some cases, such as tag-prefix or _mutt_enter_string(), it is
desirable to be able to distinguish between a timeout/sigwinch event
and an input error/abort/ctrl-g.
TAKAHASHI Tamotsu [Thu, 1 Jun 2017 20:55:07 +0000 (13:55 -0700)]
Enable TEXTDOMAINDIR override to make translation testing easier.
If set, TEXTDOMAINDIR will point to a translation directory instead of
using the mutt installation directory.
TAKAHASHI Tamotsu [Thu, 1 Jun 2017 20:33:21 +0000 (13:33 -0700)]
Fix "format string is not a string literal" warnings. (closes #3949)
Mutt calls msgfmt with '-c' to verify that translation format strings
match, but it is still safer to indirect strings with no formatting
through %s.
Richard Russon [Wed, 7 Jun 2017 21:47:43 +0000 (22:47 +0100)]
fix translations
Richard Russon [Wed, 7 Jun 2017 13:21:24 +0000 (14:21 +0100)]
update Japanese translation
Richard Russon [Wed, 7 Jun 2017 10:09:49 +0000 (11:09 +0100)]
fix some remaining translation problems
Richard Russon [Tue, 6 Jun 2017 20:46:02 +0000 (21:46 +0100)]
build: fix make git_ver.h
By separating the lines, the version variable was getting lost.
Richard Russon [Mon, 5 Jun 2017 15:19:37 +0000 (16:19 +0100)]
build: fix make dist
toogley [Sun, 26 Feb 2017 20:24:14 +0000 (21:24 +0100)]
small refactoring
* replace ESC_CHAR macro with function
* added braces to if logic to improve readability
toogley [Mon, 5 Jun 2017 14:18:37 +0000 (16:18 +0200)]
github: simplify PR template
In a lot of PR's, either the question "Why is this PR needed" is removed
or answered very similar to "What does this PR do?". Therefore, i think
this can be removed.
[ci skip]
Richard Russon [Mon, 5 Jun 2017 14:24:52 +0000 (15:24 +0100)]
merge: Remove legacy support / notes
* remove AIX code, as it's unsupported
* doc: remove Ultrix note, as it's unsupported
* remove notes about SunOS as it's discontinued
* INSTALL: remove mutt notes for supported platforms
toogley [Fri, 2 Jun 2017 10:50:06 +0000 (12:50 +0200)]
INSTALL: remove mutt notes for supported platforms
toogley [Fri, 2 Jun 2017 10:45:58 +0000 (12:45 +0200)]
remove notes about SunOS as it's discontinued
toogley [Fri, 2 Jun 2017 10:41:50 +0000 (12:41 +0200)]
doc: remove Ultrix note, as it's unsupported
toogley [Fri, 2 Jun 2017 10:37:17 +0000 (12:37 +0200)]
remove AIX code, as it's unsupported
Bo YU [Sat, 27 May 2017 08:35:03 +0000 (16:35 +0800)]
docs: remove reference to non-existent file
Werner Fink [Tue, 30 May 2017 12:52:12 +0000 (12:52 +0000)]
Fix crash if no from is set or founds
On multi folder mailbox setup and without a set 'From:' line in
~/.muttrc the mutt crash with SIGSEGV on a NULL pointer at
msg->env->from
Fixes: #577
Richard Russon [Mon, 5 Jun 2017 12:50:50 +0000 (13:50 +0100)]
Fix typos in 'color compose'
Edward Betts [Mon, 5 Jun 2017 07:16:51 +0000 (08:16 +0100)]
correct spelling mistake
Edward Betts [Mon, 5 Jun 2017 07:14:52 +0000 (08:14 +0100)]
correct spelling mistake
Richard Russon [Sat, 3 Jun 2017 23:12:40 +0000 (00:12 +0100)]
fix ifdef command
Recent changes to the output of `mutt -v` broke the `ifdef` command.
Tidy a couple of version strings.
Update all the examples in the docs.
Closes #607
Pig Monkey [Sun, 4 Jun 2017 02:21:40 +0000 (19:21 -0700)]
unbind mappings before overwriting in vim-keys
As per #583, these must be unbound to prevent warnings.
Zero King [Sat, 3 Jun 2017 14:28:31 +0000 (14:28 +0000)]
build: allow xsltproc and w3m calls to fail
Richard Russon [Fri, 2 Jun 2017 16:29:02 +0000 (17:29 +0100)]
add missing changelog entry
Richard Russon [Fri, 2 Jun 2017 11:52:57 +0000 (12:52 +0100)]
NeoMutt Release 2017-06-02
Richard Russon [Fri, 2 Jun 2017 11:49:56 +0000 (12:49 +0100)]
merge: sync to mutt/stable
Richard Russon [Fri, 2 Jun 2017 11:39:12 +0000 (12:39 +0100)]
update translations
Richard Russon [Fri, 2 Jun 2017 11:30:48 +0000 (12:30 +0100)]
clang-format source
Richard Russon [Fri, 2 Jun 2017 11:29:01 +0000 (12:29 +0100)]
Update en_GB.po
Elimar Riesebieter [Sat, 27 May 2017 14:20:16 +0000 (16:20 +0200)]
Fixed translations of shortkeys in the PGP-menu
Richard Russon [Fri, 2 Jun 2017 10:34:07 +0000 (11:34 +0100)]
update mailmap
Richard Russon [Fri, 2 Jun 2017 11:12:48 +0000 (12:12 +0100)]
version: 2017-06-02
Richard Russon [Thu, 1 Jun 2017 19:35:26 +0000 (20:35 +0100)]
merge: fix some trivial problems
* remove unused option: SmimeSignOpaqueCommand
* remove unused macros
* fix safe_calloc args
* remove unnecessary include
* rename a param that shadow's a global symbol
* docs: fix sidebar howto examples
Richard Russon [Thu, 1 Jun 2017 19:32:33 +0000 (20:32 +0100)]
docs: fix sidebar howto examples
Richard Russon [Thu, 1 Jun 2017 13:53:46 +0000 (14:53 +0100)]
rename a param that shadow's a global symbol
Richard Russon [Wed, 31 May 2017 21:01:10 +0000 (22:01 +0100)]
remove unnecessary include
This was accidentally added by IWYU.
Rename some macro params to avoid the problem in future.
Richard Russon [Tue, 30 May 2017 17:24:11 +0000 (18:24 +0100)]
fix safe_calloc args
Richard Russon [Tue, 30 May 2017 15:14:42 +0000 (16:14 +0100)]
remove unused macros
Richard Russon [Fri, 26 May 2017 23:37:42 +0000 (00:37 +0100)]
remove unused option: SmimeSignOpaqueCommand
It was never used.
Richard Russon [Thu, 1 Jun 2017 18:38:57 +0000 (19:38 +0100)]
merge: upstream fixes (mutt/default)
* Convert classic s/mime to space delimit findKeys output.
* Add self-encrypt options for PGP and S/MIME.
* Change $postpone_encrypt to use self-encrypt variables first.
* automatic post-release commit for mutt-1.8.3
* Add note about message scoring and thread patterns. (see #3947)
Kevin McCarthy [Wed, 31 May 2017 23:18:29 +0000 (16:18 -0700)]
Add note about message scoring and thread patterns. (see #3947)
Because scoring occurs before the mailbox is sorted, thread patterns
don't work. Document a suggested workaround of pushing the score
command in a folder hook.
Also, fix the link target for the score command synopsis.
Kevin McCarthy [Tue, 30 May 2017 19:47:01 +0000 (12:47 -0700)]
automatic post-release commit for mutt-1.8.3
Kevin McCarthy [Mon, 29 May 2017 18:48:43 +0000 (11:48 -0700)]
Change $postpone_encrypt to use self-encrypt variables first.
The concept of postpone encryption is similar to self-encrypting on
send. The problem is the $postpone_encrypt_as option doesn't take
into account whether PGP or S/MIME is being used.
Since we need to add the new options for self-encryption, modify
$postpone_encrypt to use them by default instead, falling back to
$postpone_encrypt_as if they are unset. Note $postpone_encrypt_as is
deprecated in the documentation.
Kevin McCarthy [Mon, 29 May 2017 18:48:42 +0000 (11:48 -0700)]
Add self-encrypt options for PGP and S/MIME.
Add $pgp_self_encrypt, $pgp_self_encrypt_as, $smime_self_encrypt,
$smime_self_encrypt_as.
$pgp_sign_as and $smime_default_key are inappropriate to use, as they
specify signing key/certs. In some cases, this is a different value
than the encryption key/cert.
Kevin McCarthy [Mon, 29 May 2017 18:48:41 +0000 (11:48 -0700)]
Convert classic s/mime to space delimit findKeys output.
Unlike gpgme and classic pgp, smime used a "cert\ncert\n" pattern.
Convert to use a space-delimited format, so the self-encrypt option
code can be uniform across pgp, s/mime, and gpgme.
Pietro Cerutti [Thu, 1 Jun 2017 14:04:16 +0000 (15:04 +0100)]
Do not try to create Maildir if it is an NNTP URI (#600)
Fixes #599
Kevin McCarthy [Wed, 31 May 2017 23:18:29 +0000 (16:18 -0700)]
Add note about message scoring and thread patterns. (see #3947)
Because scoring occurs before the mailbox is sorted, thread patterns
don't work. Document a suggested workaround of pushing the score
command in a folder hook.
Also, fix the link target for the score command synopsis.
Richard Russon [Wed, 31 May 2017 16:05:59 +0000 (17:05 +0100)]
fix: nntp group selection
Any fields of the URL that mutt_account_tourl() doesn't set are set to
NULL. NNTP should set the path after the call.
Kevin McCarthy [Tue, 30 May 2017 19:48:25 +0000 (12:48 -0700)]
mutt-1.8.3 signed
Kevin McCarthy [Tue, 30 May 2017 19:47:18 +0000 (12:47 -0700)]
Added tag mutt-1-8-3-rel for changeset
fe5275246e13
Kevin McCarthy [Tue, 30 May 2017 19:47:01 +0000 (12:47 -0700)]
automatic post-release commit for mutt-1.8.3
Pietro Cerutti [Fri, 26 May 2017 11:39:45 +0000 (11:39 +0000)]
Fail early if ncursesw cannot be found
Also, remove a leftover of when we used to have m4/curslib.m4.
Issue: #585
Richard Russon [Tue, 30 May 2017 09:40:23 +0000 (10:40 +0100)]
fix status color
An upstream change moved a block of code which neomutt had modified.
This lead to a mistake when merging.
Fixes #571
Richard Russon [Fri, 26 May 2017 22:57:48 +0000 (23:57 +0100)]
tidy up S/MIME contrib
Richard Russon [Fri, 26 May 2017 22:36:31 +0000 (23:36 +0100)]
docs: add missing docs for expandos
Zero King [Sun, 30 Apr 2017 05:46:38 +0000 (05:46 +0000)]
Update smime-notes.txt
Zero King [Sat, 29 Apr 2017 13:41:23 +0000 (13:41 +0000)]
Fix smime_keys_test.pl
Zero King [Sat, 29 Apr 2017 13:24:40 +0000 (13:24 +0000)]
Remove contrib/ca-bundle.crt
Richard Russon [Fri, 26 May 2017 13:17:56 +0000 (14:17 +0100)]
build: fix silent rules
Richard Russon [Fri, 26 May 2017 12:24:59 +0000 (13:24 +0100)]
NeoMutt Release 2017-05-26
Richard Russon [Fri, 26 May 2017 12:08:43 +0000 (13:08 +0100)]
sync translations
Richard Russon [Fri, 26 May 2017 12:06:43 +0000 (13:06 +0100)]
build: clang-format source code