]> granicus.if.org Git - neomutt/log
neomutt
6 years agoprepend_curdir
Richard Russon [Sat, 23 Jun 2018 00:34:17 +0000 (01:34 +0100)]
prepend_curdir

6 years agoupdate_content_info
Richard Russon [Sat, 23 Jun 2018 00:32:25 +0000 (01:32 +0100)]
update_content_info

6 years agomake_from_addr
Richard Russon [Sat, 23 Jun 2018 00:31:21 +0000 (01:31 +0100)]
make_from_addr

6 years agomake_from
Richard Russon [Sat, 23 Jun 2018 00:29:33 +0000 (01:29 +0100)]
make_from

6 years agoquote_simple
Richard Russon [Sat, 23 Jun 2018 00:26:38 +0000 (01:26 +0100)]
quote_simple

6 years agomutt_get_body_charset
Richard Russon [Sat, 23 Jun 2018 00:23:52 +0000 (01:23 +0100)]
mutt_get_body_charset

6 years agomerge: replace mutt_mktemp() with mutt_file_mkstemp()
Richard Russon [Sat, 23 Jun 2018 15:17:58 +0000 (16:17 +0100)]
merge: replace mutt_mktemp() with mutt_file_mkstemp()

 * pgp_class_application_handler()
 * pgp_class_decrypt_mime()
 * pgp_class_encrypted_handler()
 * pgp_class_encrypt_message()
 * pgp_class_traditional_encryptsign()
 * pgp_class_verify_one()
 * pgp_decrypt_part()
 * pgp_find_hash()
 * pgp_gpgme_decrypt_mime()
 * pgp_gpgme_encrypted_handler()
 * pgp_gpgme_extract_keys()
 * smime_class_build_smime_entity()
 * smime_class_decrypt_mime()
 * smime_class_invoke_import()
 * smime_class_verify_one()
 * smime_extract_certificate()
 * smime_extract_signer_certificate()
 * smime_gpgme_application_handler()
 * smime_gpgme_decrypt_mime()
 * smime_handle_cert_email()
 * smime_handle_entity()

6 years agoRemove errfile from smime_handle_entity 1272/head
Marco Sirabella [Fri, 22 Jun 2018 18:37:30 +0000 (14:37 -0400)]
Remove errfile from smime_handle_entity

6 years agoRemove outfile from smime_handle_entity
Marco Sirabella [Fri, 22 Jun 2018 18:34:57 +0000 (14:34 -0400)]
Remove outfile from smime_handle_entity

6 years agoRemove tmptmpfname from smime_handle_entity
Marco Sirabella [Fri, 22 Jun 2018 18:21:17 +0000 (14:21 -0400)]
Remove tmptmpfname from smime_handle_entity

6 years agoRemove ftmpname from smime_handle_cert_email
Marco Sirabella [Fri, 22 Jun 2018 18:10:36 +0000 (14:10 -0400)]
Remove ftmpname from smime_handle_cert_email

6 years agoRemove tempfile from smime_gpgme_decrypt_mime
Marco Sirabella [Fri, 22 Jun 2018 18:49:12 +0000 (14:49 -0400)]
Remove tempfile from smime_gpgme_decrypt_mime

6 years agoRemove tempfile from smime_gpgme_application_handler
Marco Sirabella [Fri, 22 Jun 2018 18:56:51 +0000 (14:56 -0400)]
Remove tempfile from smime_gpgme_application_handler

6 years agoRemove tmpfname from smime_extract_signer_certificate
Marco Sirabella [Fri, 22 Jun 2018 18:18:35 +0000 (14:18 -0400)]
Remove tmpfname from smime_extract_signer_certificate

6 years agoRemove tmpfname from smime_extract_certificate
Marco Sirabella [Fri, 22 Jun 2018 18:14:07 +0000 (14:14 -0400)]
Remove tmpfname from smime_extract_certificate

6 years agoRemove smimeerrfile from smime_class_verify_one
Marco Sirabella [Fri, 22 Jun 2018 18:30:55 +0000 (14:30 -0400)]
Remove smimeerrfile from smime_class_verify_one

6 years agoRemove tmpfname from smime_class_invoke_import
Marco Sirabella [Fri, 22 Jun 2018 18:18:48 +0000 (14:18 -0400)]
Remove tmpfname from smime_class_invoke_import

6 years agoRemove tempfile from smime_class_decrypt_mime
Marco Sirabella [Fri, 22 Jun 2018 18:39:10 +0000 (14:39 -0400)]
Remove tempfile from smime_class_decrypt_mime

6 years agoRemove smimeerrfile from smime_class_build_smime_entity
Marco Sirabella [Fri, 22 Jun 2018 18:27:50 +0000 (14:27 -0400)]
Remove smimeerrfile from smime_class_build_smime_entity

6 years agoRemove tmpfile from pgp_gpgme_extract_keys
Marco Sirabella [Fri, 22 Jun 2018 18:58:34 +0000 (14:58 -0400)]
Remove tmpfile from pgp_gpgme_extract_keys

6 years agoRemove tempfile from pgp_gpgme_encrypted_handler
Marco Sirabella [Fri, 22 Jun 2018 18:53:44 +0000 (14:53 -0400)]
Remove tempfile from pgp_gpgme_encrypted_handler

6 years agoRemove tempfile from pgp_gpgme_decrypt_mime
Marco Sirabella [Fri, 22 Jun 2018 18:48:38 +0000 (14:48 -0400)]
Remove tempfile from pgp_gpgme_decrypt_mime

6 years agoRemove tempfile from pgp_find_hash
Marco Sirabella [Fri, 22 Jun 2018 18:44:40 +0000 (14:44 -0400)]
Remove tempfile from pgp_find_hash

6 years agoRemove pgperrfile from pgp_decrypt_part
Marco Sirabella [Fri, 22 Jun 2018 16:12:31 +0000 (12:12 -0400)]
Remove pgperrfile from pgp_decrypt_part

6 years agoRemove pgperrfile from pgp_class_verify_one
Marco Sirabella [Fri, 22 Jun 2018 16:51:30 +0000 (12:51 -0400)]
Remove pgperrfile from pgp_class_verify_one

6 years agoRemove pgperrfile from pgp_class_traditional_encryptsign
Marco Sirabella [Fri, 22 Jun 2018 17:00:35 +0000 (13:00 -0400)]
Remove pgperrfile from pgp_class_traditional_encryptsign

6 years agoRemove pgperrfile from pgp_class_encrypt_message
Marco Sirabella [Fri, 22 Jun 2018 16:55:33 +0000 (12:55 -0400)]
Remove pgperrfile from pgp_class_encrypt_message

6 years agoRemove tempfile from pgp_class_encrypted_handler
Marco Sirabella [Fri, 22 Jun 2018 16:52:06 +0000 (12:52 -0400)]
Remove tempfile from pgp_class_encrypted_handler

6 years agoRemove tempfile from pgp_class_decrypt_mime
Marco Sirabella [Fri, 22 Jun 2018 16:36:02 +0000 (12:36 -0400)]
Remove tempfile from pgp_class_decrypt_mime

6 years agoRemove pgperrfile from pgp_class_application_handler
Marco Sirabella [Fri, 22 Jun 2018 16:08:55 +0000 (12:08 -0400)]
Remove pgperrfile from pgp_class_application_handler

6 years agoRemove pgpoutfile from pgp_class_application_handler
Marco Sirabella [Fri, 22 Jun 2018 16:01:13 +0000 (12:01 -0400)]
Remove pgpoutfile from pgp_class_application_handler

6 years agoPut bit fields together
Bertram Scharpf [Wed, 20 Jun 2018 21:13:41 +0000 (23:13 +0200)]
Put bit fields together

6 years agoUse the enum constant to initialise
Bertram Scharpf [Mon, 18 Jun 2018 07:33:19 +0000 (09:33 +0200)]
Use the enum constant to initialise

6 years agoteach docs about true and false
Richard Russon [Fri, 22 Jun 2018 15:28:11 +0000 (16:28 +0100)]
teach docs about true and false

6 years agomerge: NeoMutt 2018-06-22 neomutt-20180622
Richard Russon [Fri, 22 Jun 2018 13:11:34 +0000 (14:11 +0100)]
merge: NeoMutt 2018-06-22

6 years agosync translations
Richard Russon [Fri, 22 Jun 2018 13:08:10 +0000 (14:08 +0100)]
sync translations

6 years agoclang-format
Richard Russon [Fri, 22 Jun 2018 12:54:04 +0000 (13:54 +0100)]
clang-format

6 years agoupdate contributors
Richard Russon [Fri, 22 Jun 2018 12:49:38 +0000 (13:49 +0100)]
update contributors

6 years agochangelog
Richard Russon [Fri, 22 Jun 2018 12:41:38 +0000 (13:41 +0100)]
changelog

6 years agoversion 2018-06-22
Richard Russon [Fri, 22 Jun 2018 11:52:44 +0000 (12:52 +0100)]
version 2018-06-22

6 years agomerge: add doxygen docs
Richard Russon [Fri, 22 Jun 2018 11:46:10 +0000 (12:46 +0100)]
merge: add doxygen docs

 * document pattern functions
 * document sendlib functions
 * document send functions
 * document recvattach functions

6 years agodocument recvattach functions
Richard Russon [Thu, 21 Jun 2018 13:13:45 +0000 (14:13 +0100)]
document recvattach functions

6 years agodocument send functions
Richard Russon [Fri, 15 Jun 2018 12:08:52 +0000 (13:08 +0100)]
document send functions

6 years agodocument sendlib functions
Richard Russon [Thu, 14 Jun 2018 21:15:10 +0000 (22:15 +0100)]
document sendlib functions

6 years agodocument pattern functions
Richard Russon [Fri, 15 Jun 2018 11:57:29 +0000 (12:57 +0100)]
document pattern functions

6 years agomerge: update translations
Richard Russon [Fri, 22 Jun 2018 11:27:25 +0000 (12:27 +0100)]
merge: update translations

 * Update German translation
 * Update ja translation
 * Update zh_CN translation

6 years agoUpdate German translation
Thomas Schneider [Wed, 20 Jun 2018 22:06:38 +0000 (00:06 +0200)]
Update German translation

6 years agoupdate German translation
Richard Russon [Wed, 20 Jun 2018 14:24:19 +0000 (15:24 +0100)]
update German translation

6 years agoUpdate zh_CN translation
Zero King [Wed, 13 Jun 2018 10:32:08 +0000 (10:32 +0000)]
Update zh_CN translation

6 years agoUpdate zh_CN translation
Zero King [Mon, 11 Jun 2018 16:36:42 +0000 (16:36 +0000)]
Update zh_CN translation

6 years agoUpdate zh_CN translation
Zero King [Mon, 11 Jun 2018 15:35:35 +0000 (15:35 +0000)]
Update zh_CN translation

6 years agoUpdate zh_CN translation
Zero King [Sun, 10 Jun 2018 14:23:31 +0000 (14:23 +0000)]
Update zh_CN translation

6 years agoUpdate zh_CN translation
Zero King [Sat, 9 Jun 2018 02:31:05 +0000 (02:31 +0000)]
Update zh_CN translation

6 years agoUpdate ja translation
Zero King [Fri, 8 Jun 2018 17:28:14 +0000 (17:28 +0000)]
Update ja translation

6 years agoUpdate zh_CN translation
Zero King [Fri, 8 Jun 2018 17:05:18 +0000 (17:05 +0000)]
Update zh_CN translation

6 years agoFix env var quoting in backticks
Richard Russon [Mon, 18 Jun 2018 13:13:44 +0000 (14:13 +0100)]
Fix env var quoting in backticks

Issue #1262

6 years agoensure Buffers are initialised
Richard Russon [Fri, 22 Jun 2018 11:00:49 +0000 (12:00 +0100)]
ensure Buffers are initialised

6 years agomerge: upstream fixes
Richard Russon [Wed, 20 Jun 2018 15:29:38 +0000 (16:29 +0100)]
merge: upstream fixes

 * Add $pgp_check_gpg_decrypt_status_fd.
 * Add GnuPG status fd checks for inline pgp.
 * Allow larger passphrase timeout values
 * mutt_str_atol: better error handling

6 years agomutt_str_atol: better error handling
Vincent Lefevre [Tue, 19 Jun 2018 07:37:56 +0000 (09:37 +0200)]
mutt_str_atol: better error handling

Reset errno to 0 before calling strtol and testing it in mutt_atol.

Otherwise providing LONG_MAX+1 then LONG_MAX gave an error for LONG_MAX too.

* Detect overflow on negative numbers too (< LONG_MIN).

* Distinguish between format error and number overflow as already
  expected (e.g. for pgp_timeout and smime_timeout).

6 years agoAllow larger passphrase timeout values
Eike Rathke [Mon, 18 Jun 2018 20:04:47 +0000 (22:04 +0200)]
Allow larger passphrase timeout values

This came up in the comp.mail.mutt newsgroup where a user wasn't
satisfied with the SHORT_MAX seconds ~9 hours limit on passphrase
timeouts.

For the first time made it necessary for the options parser to be
able to parse numbers as long values. Also, introduced
mutt_add_timeout() to detect possible overflow before adding a
timeout to a time_t value and truncate to TIME_T_MAX instead.

6 years agoAdd GnuPG status fd checks for inline pgp.
Kevin McCarthy [Tue, 5 Jun 2018 04:31:33 +0000 (21:31 -0700)]
Add GnuPG status fd checks for inline pgp.

The difficulty is that "BEGIN PGP MESSAGE" could be a signed and
armored part, so we can't fail hard if it isn't encrypted.

Change pgp_check_decryption_okay() to return more status codes, with
>=0 indicating an actual decryption; -2 and -1 indicating plaintext
found; and -3 indicating an actual DECRYPTION_FAILED status code seen.

Fail hard on -3, but change the message for -2 and -1 to indicate the
message was not encrypted.

6 years agoAdd $pgp_check_gpg_decrypt_status_fd.
Kevin McCarthy [Mon, 4 Jun 2018 22:40:57 +0000 (15:40 -0700)]
Add $pgp_check_gpg_decrypt_status_fd.

If set (the default) mutt performs more thorough checking of the
$pgp_decrypt_command status output for GnuPG result codes.

Ticket #39 revealed that GnuPG (currently) does not protect against
messages that have been manipulated to contain an empty encryption
packet followed by a plaintext packet.

A huge thanks to Marcus Brinkmann for researching this issue, taking
the time to report it to us (and the GnuPG team), and taking even more
time to clarify exactly what needed to be checked for.   

6 years agotidy init.h values
Richard Russon [Wed, 20 Jun 2018 12:29:20 +0000 (13:29 +0100)]
tidy init.h values

6 years agostrip down .gitignore
Richard Russon [Wed, 20 Jun 2018 11:51:55 +0000 (12:51 +0100)]
strip down .gitignore

Get rid of all the things we don't see any more, like autoconf.

6 years agoRefactor resize.c into separate functions
Ivan J [Tue, 19 Jun 2018 14:15:13 +0000 (16:15 +0200)]
Refactor resize.c into separate functions

Splits up mutt_resize_screen() into its separate function to improve readability.

Closes #1149

6 years agomerge: minor improvements
Richard Russon [Tue, 19 Jun 2018 00:00:51 +0000 (01:00 +0100)]
merge: minor improvements

 * light tidy
 * coverity: fix defects
 * Put variable declaration inside case-break into braces.
 * Trailing spaces
 * Insert extern
 * One definition is enough
 * External linkage was not intended
 * Remove doubled #include
 * Redundant if clause

6 years agoRedundant if clause
Bertram Scharpf [Mon, 18 Jun 2018 14:41:34 +0000 (16:41 +0200)]
Redundant if clause

6 years agoRemove doubled #include
Bertram Scharpf [Mon, 18 Jun 2018 06:56:24 +0000 (08:56 +0200)]
Remove doubled #include

6 years agoExternal linkage was not intended
Bertram Scharpf [Sun, 17 Jun 2018 14:13:04 +0000 (16:13 +0200)]
External linkage was not intended

6 years agoOne definition is enough
Bertram Scharpf [Sun, 17 Jun 2018 14:11:20 +0000 (16:11 +0200)]
One definition is enough

6 years agoInsert extern
Bertram Scharpf [Sun, 17 Jun 2018 13:48:05 +0000 (15:48 +0200)]
Insert extern

The variable was already defined in "git_ver.h".

6 years agoTrailing spaces
Bertram Scharpf [Sun, 17 Jun 2018 13:47:02 +0000 (15:47 +0200)]
Trailing spaces

6 years agoPut variable declaration inside case-break into braces.
Bertram Scharpf [Sun, 17 Jun 2018 13:44:00 +0000 (15:44 +0200)]
Put variable declaration inside case-break into braces.

6 years agocoverity: fix defects
Richard Russon [Mon, 18 Jun 2018 12:24:08 +0000 (13:24 +0100)]
coverity: fix defects

6 years agolight tidy
Richard Russon [Thu, 14 Jun 2018 14:57:22 +0000 (15:57 +0100)]
light tidy

6 years agoFix for missing fingerprint
Richard Russon [Mon, 18 Jun 2018 11:01:28 +0000 (12:01 +0100)]
Fix for missing fingerprint

If GPGME doesn't return a key fingerprint, don't crash.

6 years agoFix off-by-one in index jump
Richard Russon [Mon, 18 Jun 2018 10:11:22 +0000 (11:11 +0100)]
Fix off-by-one in index jump

In an index of 'n' items, you couldn't jump to 'n', only (n-1).

Fixes #1261

6 years agoacutest: sync to upstream
Richard Russon [Sun, 17 Jun 2018 09:18:24 +0000 (10:18 +0100)]
acutest: sync to upstream

This file is from the Acutest project:

- https://github.com/mity/acutest

Specifically, from commit: `03885e23`

6 years agofcc_attach: Don't ask every time
Bertram Scharpf [Sun, 17 Jun 2018 09:06:58 +0000 (11:06 +0200)]
fcc_attach: Don't ask every time

Option fcc_attach used to ask in any case, if there were attachment nad if there weren't.
In case there is no attachment, there is no need to ask.

6 years agofix non-empty buffers
Richard Russon [Thu, 14 Jun 2018 18:12:33 +0000 (19:12 +0100)]
fix non-empty buffers

Insert a few `mutt_buffer_reset()`s.

Commit 9d6a2418 replaced a lot of `snprintf()`s with `mutt_buffer_printf()`.
Unfortunately, a few of the original lines were relying on `snprintf()`
writing over the beginning of the buffer.

6 years agodoxygen: document mh functions
Richard Russon [Wed, 13 Jun 2018 21:19:48 +0000 (22:19 +0100)]
doxygen: document mh functions

6 years agodoxygen: document menu functions
Richard Russon [Tue, 12 Jun 2018 20:40:51 +0000 (21:40 +0100)]
doxygen: document menu functions

6 years agodrop memset for simple neomutt structs
Richard Russon [Tue, 12 Jun 2018 13:28:27 +0000 (14:28 +0100)]
drop memset for simple neomutt structs

6 years agodrop memset for simple arrays
Richard Russon [Tue, 12 Jun 2018 13:06:07 +0000 (14:06 +0100)]
drop memset for simple arrays

6 years agomerge: more ncrypt tidying
Richard Russon [Tue, 12 Jun 2018 12:52:45 +0000 (13:52 +0100)]
merge: more ncrypt tidying

 * drop unused param in pgp_make_key_attachment()
 * drop unused param in pgp_extract_keys_from_attachment_list()
 * boolify need_passphrase
 * boolify params
 * boolify retval

6 years agoboolify retval
Richard Russon [Tue, 12 Jun 2018 11:36:00 +0000 (12:36 +0100)]
boolify retval

6 years agoboolify params
Richard Russon [Tue, 12 Jun 2018 11:32:53 +0000 (12:32 +0100)]
boolify params

6 years agoboolify need_passphrase
Richard Russon [Tue, 12 Jun 2018 11:08:26 +0000 (12:08 +0100)]
boolify need_passphrase

6 years agodrop unused param in pgp_extract_keys_from_attachment_list()
Richard Russon [Tue, 12 Jun 2018 10:55:52 +0000 (11:55 +0100)]
drop unused param in pgp_extract_keys_from_attachment_list()

The function wasn't being use to look for tagged messages.
So, it's been renamed to pgp_extract_key_from_attachment()

6 years agodrop unused param in pgp_make_key_attachment()
Richard Russon [Tue, 12 Jun 2018 10:41:22 +0000 (11:41 +0100)]
drop unused param in pgp_make_key_attachment()

It was unused by any of the callers of the API wrapper:
crypt_pgp_make_key_attachment().

6 years agomerge: mass tidy-up of ncrypt
Richard Russon [Tue, 12 Jun 2018 01:45:59 +0000 (02:45 +0100)]
merge: mass tidy-up of ncrypt

 * drop unnec typedefs
 * fold CryptModuleFunctions into CryptModuleSpecs
 * drop redirect functions
 * tidy headers
 * doxygen: Document the encryption API
 * doxygen: document api implementors
 * unify the naming of all the ncrypt API functions
 * doxygen: document the ncrypt api wrappers

6 years agodoxygen: document the ncrypt api wrappers
Richard Russon [Tue, 12 Jun 2018 01:31:09 +0000 (02:31 +0100)]
doxygen: document the ncrypt api wrappers

6 years agounify the naming of all the ncrypt API functions
Richard Russon [Mon, 11 Jun 2018 23:18:17 +0000 (00:18 +0100)]
unify the naming of all the ncrypt API functions

6 years agodoxygen: document api implementors
Richard Russon [Mon, 11 Jun 2018 22:35:05 +0000 (23:35 +0100)]
doxygen: document api implementors

6 years agodoxygen: Document the encryption API
Richard Russon [Mon, 11 Jun 2018 14:00:53 +0000 (15:00 +0100)]
doxygen: Document the encryption API

6 years agotidy headers
Richard Russon [Fri, 8 Jun 2018 15:09:21 +0000 (16:09 +0100)]
tidy headers

6 years agodrop redirect functions
Richard Russon [Fri, 8 Jun 2018 16:50:32 +0000 (17:50 +0100)]
drop redirect functions

6 years agofold CryptModuleFunctions into CryptModuleSpecs
Richard Russon [Fri, 8 Jun 2018 14:31:52 +0000 (15:31 +0100)]
fold CryptModuleFunctions into CryptModuleSpecs

6 years agodrop unnec typedefs
Richard Russon [Fri, 8 Jun 2018 14:30:10 +0000 (15:30 +0100)]
drop unnec typedefs

6 years agomerge: minor improvements
Richard Russon [Mon, 11 Jun 2018 12:46:27 +0000 (13:46 +0100)]
merge: minor improvements

 * tidy bcache
 * boolify function params
 * doxy: add function comments
 * fix comment order
 * tidy hcache definitions