]> granicus.if.org Git - neomutt/log
neomutt
6 years agomove hook flags
Richard Russon [Tue, 10 Jul 2018 00:00:56 +0000 (01:00 +0100)]
move hook flags

6 years agodoxy source fixes
Richard Russon [Mon, 9 Jul 2018 15:40:34 +0000 (16:40 +0100)]
doxy source fixes

6 years agomerge: split up header monoliths
Richard Russon [Mon, 16 Jul 2018 22:34:47 +0000 (23:34 +0100)]
merge: split up header monoliths

 * split protos.h 1
 * split up globals
 * split protos.h 2
 * split mutt.h
 * split protos.h 3

6 years agosplit protos.h 3
Richard Russon [Sun, 8 Jul 2018 15:00:51 +0000 (16:00 +0100)]
split protos.h 3

6 years agosplit mutt.h
Richard Russon [Sun, 8 Jul 2018 14:18:26 +0000 (15:18 +0100)]
split mutt.h

6 years agosplit protos.h 2
Richard Russon [Sun, 8 Jul 2018 13:57:34 +0000 (14:57 +0100)]
split protos.h 2

6 years agosplit up globals
Richard Russon [Sun, 8 Jul 2018 09:50:30 +0000 (10:50 +0100)]
split up globals

6 years agosplit protos.h 1
Richard Russon [Sat, 7 Jul 2018 22:50:13 +0000 (23:50 +0100)]
split protos.h 1

6 years agomerge: create more libraries
Richard Russon [Mon, 16 Jul 2018 22:22:52 +0000 (23:22 +0100)]
merge: create more libraries

 * libemail
 * fix pop mx naming
 * create libpop
 * create libnntp
 * create libmbox
 * create libnotmuch
 * create libmaildir

6 years agoiwyu
Richard Russon [Thu, 5 Jul 2018 19:21:46 +0000 (20:21 +0100)]
iwyu

6 years agocreate libmaildir
Richard Russon [Sat, 7 Jul 2018 11:06:31 +0000 (12:06 +0100)]
create libmaildir

6 years agotidy headers
Richard Russon [Thu, 5 Jul 2018 00:12:59 +0000 (01:12 +0100)]
tidy headers

6 years agocreate libnotmuch
Richard Russon [Sat, 7 Jul 2018 11:02:05 +0000 (12:02 +0100)]
create libnotmuch

6 years agocreate libmbox
Richard Russon [Sat, 7 Jul 2018 10:56:44 +0000 (11:56 +0100)]
create libmbox

6 years agocreate libnntp
Richard Russon [Sat, 7 Jul 2018 10:50:34 +0000 (11:50 +0100)]
create libnntp

6 years agocreate libpop
Richard Russon [Sat, 7 Jul 2018 10:45:02 +0000 (11:45 +0100)]
create libpop

6 years agofix pop mx naming
Richard Russon [Fri, 6 Jul 2018 22:44:39 +0000 (23:44 +0100)]
fix pop mx naming

6 years agolibemail
Richard Russon [Fri, 6 Jul 2018 16:12:45 +0000 (17:12 +0100)]
libemail

6 years agomerge: Move email headers to library
Richard Russon [Mon, 16 Jul 2018 22:12:25 +0000 (23:12 +0100)]
merge: Move email headers to library

 * move Envelope to library
 * move Content to library
 * move Body to library
 * move Attach, AttachCtx to library
 * move Tags to library
 * move MuttThread to library
 * move Header to library
 * fix hcache ver gen

6 years agofix hcache ver gen
Richard Russon [Thu, 5 Jul 2018 09:49:42 +0000 (10:49 +0100)]
fix hcache ver gen

6 years agomove Header to library
Richard Russon [Tue, 3 Jul 2018 22:54:25 +0000 (23:54 +0100)]
move Header to library

6 years agomove MuttThread to library
Richard Russon [Tue, 3 Jul 2018 16:55:23 +0000 (17:55 +0100)]
move MuttThread to library

6 years agomove Tags to library
Richard Russon [Tue, 3 Jul 2018 22:25:42 +0000 (23:25 +0100)]
move Tags to library

6 years agomove Attach, AttachCtx to library
Richard Russon [Tue, 3 Jul 2018 16:25:09 +0000 (17:25 +0100)]
move Attach, AttachCtx to library

6 years agomove Body to library
Richard Russon [Tue, 3 Jul 2018 16:09:43 +0000 (17:09 +0100)]
move Body to library

6 years agomove Content to library
Richard Russon [Tue, 3 Jul 2018 15:21:17 +0000 (16:21 +0100)]
move Content to library

6 years agomove Envelope to library
Richard Russon [Tue, 3 Jul 2018 14:12:29 +0000 (15:12 +0100)]
move Envelope to library

6 years agomerge: NeoMutt 2018-07-16 neomutt-20180716
Richard Russon [Mon, 16 Jul 2018 12:05:51 +0000 (13:05 +0100)]
merge: NeoMutt 2018-07-16

6 years agosync translations
Richard Russon [Mon, 16 Jul 2018 11:07:03 +0000 (12:07 +0100)]
sync translations

6 years agochangelog
Richard Russon [Mon, 16 Jul 2018 10:51:35 +0000 (11:51 +0100)]
changelog

6 years agoclang-format
Richard Russon [Sun, 15 Jul 2018 23:24:17 +0000 (00:24 +0100)]
clang-format

6 years agoupdate contributors
Richard Russon [Sun, 15 Jul 2018 23:58:34 +0000 (00:58 +0100)]
update contributors

6 years agoversion 2018-07-16
Richard Russon [Sun, 15 Jul 2018 23:49:07 +0000 (00:49 +0100)]
version 2018-07-16

6 years agomerge: Update translations
Richard Russon [Mon, 16 Jul 2018 10:58:38 +0000 (11:58 +0100)]
merge: Update translations

 * Update lt_LT translation
 * Update zh_CN translation
 * Update German translation

6 years agoUpdate German translation
Floyd Anderson [Fri, 29 Jun 2018 21:35:42 +0000 (23:35 +0200)]
Update German translation

6 years agoUpdate zh_CN translation
Zero King [Mon, 25 Jun 2018 13:01:13 +0000 (13:01 +0000)]
Update zh_CN translation

6 years agoUpdate lt_LT translation
Marius Gedminas [Mon, 25 Jun 2018 12:37:50 +0000 (15:37 +0300)]
Update lt_LT translation

One new message needed translation.

6 years agotravis: add deploy script
Richard Russon [Thu, 18 May 2017 14:40:00 +0000 (15:40 +0100)]
travis: add deploy script

[ci skip]

6 years agoRevert "Make path config variables relative"
Richard Russon [Mon, 16 Jul 2018 10:53:09 +0000 (11:53 +0100)]
Revert "Make path config variables relative"

This reverts commits:
dfc4e2e0a83b4f275b5f0931fd1e8b5e5dcc03bf
f2dfd2a4a0f37b7a0c6c3f8888ee4c19aa4bae10

A bug was discovered just before release.

6 years agomerge: bug fixes
Richard Russon [Mon, 16 Jul 2018 09:38:29 +0000 (10:38 +0100)]
merge: bug fixes

 * Selectively cache headers
 * Don't overflow stack buffer in msg_parse_fetch
 * Handle NO response without message properly
 * Ensure litlen isn't larger than our mailbox
 * Check for int underflow in imap_quote_string
 * imap_quote_string make room for quotes
 * Ensure UID in fetch_uidl
 * Truncate pct-encoded strings
 * Check outbuf length in mutt_to_base64()

6 years agoCheck outbuf length in mutt_to_base64()
Kevin McCarthy [Fri, 13 Jul 2018 21:25:28 +0000 (14:25 -0700)]
Check outbuf length in mutt_to_base64()

The obuf can be overflowed in auth_cram.c, and possibly auth_gss.c.

Thanks to Jeriko One for the bug report.

6 years agohcache: initialise queues on restore
Richard Russon [Wed, 11 Jul 2018 12:29:20 +0000 (13:29 +0100)]
hcache: initialise queues on restore

6 years agoTruncate pct-encoded strings
Richard Russon [Mon, 9 Jul 2018 12:36:49 +0000 (13:36 +0100)]
Truncate pct-encoded strings

Co-authored-by: JerikoOne <jeriko.one@gmx.us>
6 years agoEnsure UID in fetch_uidl
JerikoOne [Sat, 7 Jul 2018 20:55:34 +0000 (15:55 -0500)]
Ensure UID in fetch_uidl

6 years agoimap_quote_string make room for quotes
JerikoOne [Sat, 7 Jul 2018 20:35:56 +0000 (15:35 -0500)]
imap_quote_string make room for quotes

6 years agoCheck for int underflow in imap_quote_string
JerikoOne [Sat, 7 Jul 2018 21:20:56 +0000 (16:20 -0500)]
Check for int underflow in imap_quote_string

6 years agoEnsure litlen isn't larger than our mailbox
JerikoOne [Sat, 7 Jul 2018 20:19:58 +0000 (15:19 -0500)]
Ensure litlen isn't larger than our mailbox

6 years agoHandle NO response without message properly
JerikoOne [Sat, 7 Jul 2018 19:15:56 +0000 (14:15 -0500)]
Handle NO response without message properly

6 years agoDon't overflow stack buffer in msg_parse_fetch
JerikoOne [Sat, 7 Jul 2018 19:03:46 +0000 (14:03 -0500)]
Don't overflow stack buffer in msg_parse_fetch

6 years agoSelectively cache headers
Richard Russon [Mon, 9 Jul 2018 14:26:26 +0000 (15:26 +0100)]
Selectively cache headers

Co-authored-by: JerikoOne <jeriko.one@gmx.us>
6 years agocorrect paths in sample config
Richard Russon [Fri, 22 Jun 2018 21:38:18 +0000 (22:38 +0100)]
correct paths in sample config

Closes #1271

6 years agoQuote path in imap_subscribe
JerikoOne [Sat, 7 Jul 2018 01:50:14 +0000 (20:50 -0500)]
Quote path in imap_subscribe

6 years agoFix imap auth plain
Richard Russon [Fri, 6 Jul 2018 09:33:25 +0000 (10:33 +0100)]
Fix imap auth plain

Send the password and `\r\n` as one message.

Fixes #1286

6 years agoquote imap strings more carefully
Richard Russon [Thu, 5 Jul 2018 23:52:41 +0000 (00:52 +0100)]
quote imap strings more carefully

Co-authored-by: JerikoOne <jeriko.one@gmx.us>
6 years agosanitise cache paths
Richard Russon [Thu, 5 Jul 2018 12:32:17 +0000 (13:32 +0100)]
sanitise cache paths

Co-authored-by: JerikoOne <jeriko.one@gmx.us>
6 years agoDo not interrupt switch fallthrough 1285/head
Austin Ray [Thu, 5 Jul 2018 03:32:23 +0000 (23:32 -0400)]
Do not interrupt switch fallthrough

Commit e85c735 introduced the `<check-stats>` function, designated by
`OP_CHECK_STATS`.

This had been inserted below `OP_MAIN_CHANGE_VFOLDER`, which is
`change-vfolder`'s designation; however, `OP_MAIN_CHANGE_VFOLDER` relies
on C's switch fallthrough logic to execute. As a result,
`change-vfolder` executed `check-stats`'s logic instead of the correct
logic.

This commit moves `OP_CHECK_STATS` to above the #ifdef that
`OP_MAIN_CHANGE_VFOLDER` is defined in.

6 years agoAdd alloc fail check in nntp_fetch_headers
JerikoOne [Tue, 3 Jul 2018 22:22:12 +0000 (17:22 -0500)]
Add alloc fail check in nntp_fetch_headers

6 years agoSet length modifiers for group and desc
JerikoOne [Tue, 3 Jul 2018 22:08:41 +0000 (17:08 -0500)]
Set length modifiers for group and desc

nntp_add_group parses a line controlled by the connected nntp server.
Restrict the maximum lengths read into the stack buffers group, and
desc.

6 years agoprevent buffer underrun
Richard Russon [Tue, 3 Jul 2018 09:34:07 +0000 (10:34 +0100)]
prevent buffer underrun

Thanks @l2dy

6 years agoreduce config variable setting
Richard Russon [Tue, 26 Jun 2018 20:42:25 +0000 (21:42 +0100)]
reduce config variable setting

Reduce the number of places where the config variables are set.
This will reduce the complexity when setting becomes a function call.

6 years agoCorrect a comment typo
Floyd Anderson [Sun, 27 May 2018 22:34:20 +0000 (00:34 +0200)]
Correct a comment typo

6 years agoprotect some paths from relativity
Richard Russon [Fri, 29 Jun 2018 11:54:49 +0000 (12:54 +0100)]
protect some paths from relativity

Some path config variables represent folders which may be non-local.
e.g. `set folder = 'imap://...'

They shouldn't be treated as relative file paths.

6 years agoAdd check-stats function to calculate mailbox statistics.
Anton Lindqvist [Fri, 29 Jun 2018 03:17:23 +0000 (20:17 -0700)]
Add check-stats function to calculate mailbox statistics.

This allows the statistics to be updated without setting
$mail_check_stats or before $mail_check_stats_interval has passed.

6 years agoAdd a reference to $copy in the $record documentation.
Kevin McCarthy [Wed, 27 Jun 2018 16:45:10 +0000 (09:45 -0700)]
Add a reference to $copy in the $record documentation.

6 years agoMake path config variables relative 1274/head
Marco Sirabella [Sun, 24 Jun 2018 21:45:39 +0000 (17:45 -0400)]
Make path config variables relative

6 years agoDistinguish between strings, paths and commands
Marco Sirabella [Mon, 25 Jun 2018 19:10:23 +0000 (15:10 -0400)]
Distinguish between strings, paths and commands

6 years agomerge: small refactoring
Richard Russon [Thu, 28 Jun 2018 14:01:16 +0000 (15:01 +0100)]
merge: small refactoring

 * Simplify the logic in mutt_addr_write_single()
 * Remove duplicate function prototype
 * Only calculate mutt_fqdn when needed
 * Fix memory leak when creating alias

6 years agoFix memory leak when creating alias
Bertram Scharpf [Sat, 23 Jun 2018 17:25:33 +0000 (19:25 +0200)]
Fix memory leak when creating alias

6 years agoOnly calculate mutt_fqdn when needed
Bertram Scharpf [Wed, 27 Jun 2018 09:32:50 +0000 (11:32 +0200)]
Only calculate mutt_fqdn when needed

6 years agoRemove duplicate function prototype
Bertram Scharpf [Wed, 27 Jun 2018 00:09:44 +0000 (02:09 +0200)]
Remove duplicate function prototype

6 years agoSimplify the logic in mutt_addr_write_single()
Bertram Scharpf [Sat, 23 Jun 2018 16:08:08 +0000 (18:08 +0200)]
Simplify the logic in mutt_addr_write_single()

Remove doubled function call in nested if statement

6 years agofix mutt_buffy_notify() to properly update BuffyNotify
Stefan Assmann [Wed, 27 Jun 2018 08:15:05 +0000 (10:15 +0200)]
fix mutt_buffy_notify() to properly update BuffyNotify

In commit
184244053 doxy: document buffy.c
the check for whether to call mutt_buffy_list() was changed from
if (mutt_buffy_check(false) && BuffyNotify)
to
if (BuffyNotify && (mutt_buffy_check(false) != 0))

By reversing the check mutt_buffy_check() never executes when
BuffyNotify is zero. However, it is essential to run mutt_buffy_check()
before checking BuffyNotify, as mutt_buffy_check() updates BuffyNotify.

Therefore return the check to its inital form

Fixes #1279

6 years agomerge: minor improvements
Richard Russon [Sat, 23 Jun 2018 15:42:48 +0000 (16:42 +0100)]
merge: minor improvements

- Boolify some parameters
- Rename some buffers for consistency

6 years agomutt_update_recvattach_menu
Richard Russon [Sat, 23 Jun 2018 00:57:03 +0000 (01:57 +0100)]
mutt_update_recvattach_menu

6 years agoparse_date_range
Richard Russon [Sat, 23 Jun 2018 00:56:07 +0000 (01:56 +0100)]
parse_date_range

6 years agomatch_addrlist
Richard Russon [Sat, 23 Jun 2018 00:54:45 +0000 (01:54 +0100)]
match_addrlist

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

6 years agomutt_prepare_envelope
Richard Russon [Sat, 23 Jun 2018 00:51:58 +0000 (01:51 +0100)]
mutt_prepare_envelope

6 years agomutt_is_list_recipient
Richard Russon [Sat, 23 Jun 2018 00:49:18 +0000 (01:49 +0100)]
mutt_is_list_recipient

6 years agomutt_fqdn
Richard Russon [Sat, 23 Jun 2018 00:43:55 +0000 (01:43 +0100)]
mutt_fqdn

6 years agomutt_rfc822_write_header
Richard Russon [Sat, 23 Jun 2018 00:40:09 +0000 (01:40 +0100)]
mutt_rfc822_write_header

6 years agomutt_make_message_attach
Richard Russon [Sat, 23 Jun 2018 00:37:36 +0000 (01:37 +0100)]
mutt_make_message_attach

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