2018-02-28 15:20:59 -0800  Kevin McCarthy  <kevin@8t8.us> (65068235)

        * Add subjectrx section to the muttrc man page.

M	doc/muttrc.man.head

2018-02-28 15:20:19 -0800  Kevin McCarthy  <kevin@8t8.us> (27758af2)

        * Fix subjectrx example in the manual.

M	doc/manual.xml.head

2018-02-14 10:33:41 +0100  Vincent Lefevre  <vincent@vinc17.net> (476ea0ac)

        * Avoid a potential integer overflow if a Content-Length value is huge.

M	mbox.c

2018-02-21 18:25:37 -0800  Kevin McCarthy  <kevin@8t8.us> (2a857f63)

        * Fix is_from() year parsing to abort on year overflow.
        
        Unlike mutt_parse_date(), is_from() was not checking for overflow, and
        could end up passing a negative year to mutt_mktime().
        
        It should perhaps be changed to use mutt_atoi(), which does better
        range checking, but that requires mutt_atoi() being changed to allow
        trailing characters and its callers return value checks being
        updated.  I'll put that on the todo list.

M	from.c

2018-02-21 18:18:53 -0800  Kevin McCarthy  <kevin@8t8.us> (189e52d5)

        * Cap parsed years at 9999 when converting to time_t.
        
        Large year values, even those less than INT_MAX, apparently can cause
        gmtime() and localtime() to return NULL.  Mutt needs larger changes
        checking and handling those errors, but this will prevent the
        immediately triggerable issue.

M	date.c

2018-02-01 11:10:01 -0800  Kevin McCarthy  <kevin@8t8.us> (b2dbdce0)

        * Add stub flea and muttbug scripts back.
        
        It was rightfully pointed out that the removal was too abrupt.  These
        programs have been around for a long time, and many internet searches
        still say to use them for reporting bugs.
        
        Add stub versions which inform to use the gitlab url instead.

M	.gitignore
M	Makefile.am
A	muttbug

2018-01-31 14:57:57 -0800  Kevin McCarthy  <kevin@8t8.us> (9103f4f5)

        * Add more delimiters for gitlab url in the po files.
        
        Some of them hid from me in my wgrep session because they were marked
        as binary.

M	po/bg.po
M	po/el.po
M	po/es.po
M	po/et.po
M	po/ga.po
M	po/hu.po
M	po/ko.po
M	po/lt.po

2018-01-31 14:13:42 -0800  Kevin McCarthy  <kevin@8t8.us> (01dee39d)

        * Add delimiters around gitlab issues URL.
        
        Without the delimiters, the period can be easily inadvertantly copied
        as part of the URL.

M	main.c
M	po/bg.po
M	po/ca.po
M	po/cs.po
M	po/da.po
M	po/de.po
M	po/el.po
M	po/eo.po
M	po/es.po
M	po/et.po
M	po/eu.po
M	po/fr.po
M	po/ga.po
M	po/gl.po
M	po/hu.po
M	po/id.po
M	po/it.po
M	po/ja.po
M	po/ko.po
M	po/lt.po
M	po/nl.po
M	po/pl.po
M	po/pt_BR.po
M	po/ru.po
M	po/sk.po
M	po/sv.po
M	po/tr.po
M	po/uk.po
M	po/zh_CN.po
M	po/zh_TW.po

2018-01-27 11:20:21 -0800  Kevin McCarthy  <kevin@8t8.us> (788b732f)

        * automatic post-release commit for mutt-1.9.3

M	ChangeLog
M	UPDATING
M	VERSION
2018-01-21 18:33:16 -0800  Kevin McCarthy  <kevin@8t8.us> (45b15d3d)

        * Fix the ftp site url in the manual.
        
        Also fix the urlview link to point to sigpipe's github account.

M	doc/manual.xml.head

2018-01-17 19:19:01 -0800  Kevin McCarthy  <kevin@8t8.us> (ffdda7e6)

        * Fix one more dev site reference in the manual.

M	doc/manual.xml.head

2018-01-17 18:57:49 -0800  Kevin McCarthy  <kevin@8t8.us> (e9ef2a16)

        * Fix a couple memory leaks in pattern.c
        
        BUFFER.data was not being freed in a couple cases.
        
        The pattern and simple search were not being freed if imap_search()
        failed.

M	pattern.c

2018-01-17 18:05:28 -0800  Kevin McCarthy  <kevin@8t8.us> (f1307ce5)

        * Change bug reporting URL to gitlab issues.

M	doc/manual.xml.head
M	doc/mutt.man
M	main.c
M	po/bg.po
M	po/ca.po
M	po/cs.po
M	po/da.po
M	po/de.po
M	po/el.po
M	po/eo.po
M	po/es.po
M	po/et.po
M	po/eu.po
M	po/fr.po
M	po/ga.po
M	po/gl.po
M	po/hu.po
M	po/id.po
M	po/it.po
M	po/ja.po
M	po/ko.po
M	po/lt.po
M	po/nl.po
M	po/pl.po
M	po/pt_BR.po
M	po/ru.po
M	po/sk.po
M	po/sv.po
M	po/tr.po
M	po/uk.po
M	po/zh_CN.po
M	po/zh_TW.po

2018-01-17 18:01:31 -0800  Kevin McCarthy  <kevin@8t8.us> (c041535f)

        * Pull latest Polish translation from master.

M	po/pl.po

2018-01-17 16:21:53 -0800  Kevin McCarthy  <kevin@8t8.us> (32ce9f35)

        * Update manual to point to gitlab.com as development site.

M	doc/manual.xml.head

2018-01-17 16:16:10 -0800  Kevin McCarthy  <kevin@8t8.us> (eff9dfbf)

        * Remove muttbug and flea.
        
        We have pretty much transitioned over to gitlab.com.

M	.gitignore
M	Makefile.am
M	configure.ac
M	doc/Makefile.am
D	doc/muttbug.man
M	init.c
D	muttbug
D	muttbug.sh.in

2018-01-11 15:08:30 -0800  Kevin McCarthy  <kevin@8t8.us> (667a4710)

        * Add missing setup calls when resuming encrypted drafts.
        
        Calls to get the passphrase were missing for app/pgp and app/smime.
        App/smime was also missing a call to crypt_smime_getkeys().
        
        If a failure occurs, report it back, rather than just continuing.
        Otherwise, postponed messages could be completely lost.

M	postpone.c

2018-01-07 12:12:42 -0800  Kevin McCarthy  <kevin@8t8.us> (a37a2c4d)

        * Fix imap status count range check.
        
        The strtoul() call for parsing the STATUS count wasn't checking the
        range properly, because it was assigning to an unsigned int.
        
        Change to assign to a unsigned long, and also add the conversion check
        from mutt_atoui().
        
        Thanks to Charles (@chdiza) for quickly noticing the problem!

M	imap/command.c

2018-01-06 15:55:17 -0800  Kevin McCarthy  <kevin@8t8.us> (8fcf8eda)

        * Change imap literal counts to parse and store unsigned ints.
        
        IMAP literals are of type number.  Change imap_get_literal_count() to
        use mutt_atoui() instead of atoi().  Change the return type variables
        used to store the count to type unsigned int.
        
        It's doubtful this was a real issue, but as long as we're cleaning up
        incorrect atoi() usage, we should fix this too.

M	imap/command.c
M	imap/imap.c
M	imap/imap_private.h
M	imap/message.c
M	imap/util.c

2018-01-05 20:39:50 -0800  Kevin McCarthy  <kevin@8t8.us> (b8190ef3)

        * Fix improper signed int conversion of IMAP uid and msn values.
        
        Several places in the imap code, when parsing "number" and "nz-number"
        values from the IMAP data, use atoi() and strtol().  This is
        incorrect, and can result in failures when a uid value happens to be
        larger than 2^31.
        
        Create a helper function, mutt_atoui() and use that instead.  One
        place was using strtol() and relying on the endptr parameter, and so
        was changed to use strtoul() instead.
        
        Thanks to Paul Saunders for the bug report and original patch, which
        this commit is based on.

M	imap/command.c
M	imap/imap.c
M	imap/message.c
M	lib.c
M	lib.h

2017-12-26 15:09:07 -0800  Kevin McCarthy  <kevin@8t8.us> (363f12a3)

        * Update wiki link in manual.

M	doc/manual.xml.head

2017-12-18 12:55:20 -0800  Kevin McCarthy  <kevin@8t8.us> (80d06b0c)

        * Determine latest tag using git describe.
        
        Commit 8648db83 relies on `sort -V` which is unavailable on some
        platforms.  Instead just use `git describe` with --abbrev=0 to only
        output the tag.  We still manually compute the distance to avoid the
        problem mentioned in that commit.
        
        Additionally, add Vincent's fix from commit 3b142cea to the stable
        branch.

M	mkchangelog.sh
M	version.sh

2017-12-15 15:31:23 -0800  Kevin McCarthy  <kevin@8t8.us> (8e0d8616)

        * automatic post-release commit for mutt-1.9.2

M	ChangeLog
M	UPDATING
M	VERSION
2017-12-15 12:09:42 -0800  Kevin McCarthy  <kevin@8t8.us> (9eedfd4e)

        * Fix s/mime certificate deletion bug. (closes #3982)
        
        Commit c1bcf4ba exposed a bug in the s/mime encryption code.  It was
        errorneously calling unlink on the list of generated cert files to
        use.
        
        Prior to that commit, the list had an initial space, which apparently
        made the unlink fail.  After that commit, encrypting to a single
        certificate would end up deleting the certificate.
        
        Remove the calls to unlink the cert file.  Add some missing cleanup if
        the call to openssl fails.

M	smime.c

2017-12-14 16:16:27 -0800  Kevin McCarthy  <kevin@8t8.us> (841f7101)

        * Update mkchangelog.sh to use git.
        
        The output isn't quite as nice as the hg generated version, but is
        close.
        
        With Mercurial, and now Git, I'm not sure of the usefulness of
        maintaining a ChangeLog file in the repos, but that is another
        discussion.

D	hg-changelog-map
M	mkchangelog.sh

2017-12-12 19:09:42 -0800  Kevin McCarthy  <kevin@8t8.us> (ecbd86c9)

        * Remove hg-commit and Makefile commit target.
        
        I haven't ever used this script, and we only update the ChangeLog
        during releases now.
        
        doc/devel-notes already mentions running check_sec.sh.  Add a mention
        of the 'make validate' target too.

M	Makefile.am
M	doc/devel-notes.txt
D	hg-commit

2017-12-12 18:17:10 -0800  Kevin McCarthy  <kevin@8t8.us> (a4d08d25)

        * Minor tweaks to the version.sh fixes from last commit.
        
        Add back a check for whether the git program exists.
        
        Don't show distance if it is zero.
        
        Remove the dirty flag.
        
        Remove the initial "g" prefix from the commitid.  This is added by git
        describe, but I don't think we need to preserve it.

M	version.sh

2017-12-11 21:46:30 -0500  Aaron Schrab  <aaron+mutt@schrab.com> (8648db83)

        * Change version.sh to manually compute version and distance.
        
        In some cases `git describe` gives bizarre results (see URL below),
        instead get the highest version-numbered tag contained in HEAD then
        count the number of commits that aren't included in it.
        
        https://public-inbox.org/git/20161205232712.GA23868@pug.qqx.org/

M	version.sh

2017-12-10 20:03:30 -0800  Kevin McCarthy  <kevin@8t8.us> (7b65f780)

        * Update some of the documentation to refer to git.
        
        Also update the repos URL.

M	COPYRIGHT
M	README
M	doc/devel-notes.txt

2017-12-03 17:55:59 -0800  Kevin McCarthy  <kevin@8t8.us> (6df931c8)

        * Convert version.sh to work with git.
        
        Use the built-in `git describe` to get the tag, distance, and
        revision id.

M	version.sh

2017-12-02 19:27:14 -0800  Kevin McCarthy  <kevin@8t8.us> (0ad4c11d)

        * Convert to .gitignore file.

A	.gitignore
D	.hgignore

2017-09-30 19:15:08 -0700  Kevin McCarthy  <kevin@8t8.us> (1f4a6c67)

        * Fix address group terminator "exact address" printing to display trailing semicolon.
        
        The exact-address handling for comma and colon are different because
        those are added outside the exact-address printing.
        
        The semicolon needs to be inside the address->val field of the address
        group terminator.

M	rfc822.c

2017-09-26 19:44:11 -0700  Kevin McCarthy  <kevin@8t8.us> (0bcb77a6)

        * Fix uses of context->changed as a counter.
        
        The first was in mx_update_tables(), but only when "not committing".
        This is used by mh/maildir during an "occult" update, and in imap when
        expunging the mailbox.  It meant to simply turn on changed when a
        single changed header is seen.
        
        The second use was in imap_sync_message_for_copy().  Previously this
        was used for a server side copy/save, but is now also used for
        fast-trash copying.  Remove the code that was trying to decrement the
        counter: this function is not capable of properly setting a status
        bit.

M	imap/imap.c
M	mx.c

2017-09-23 11:40:44 -0700  Kevin McCarthy  <kevin@8t8.us> (b333df6d)

        * mutt-1.9.1 signed

M	.hgsigs

2017-09-23 11:39:54 -0700  Kevin McCarthy  <kevin@8t8.us> (5e007dac)

        * Added tag mutt-1-9-1-rel for changeset 869633ef393e

M	.hgtags

2017-09-23 11:39:45 -0700  Kevin McCarthy  <kevin@8t8.us> (8473efa7)

        * automatic post-release commit for mutt-1.9.1

M	ChangeLog
M	UPDATING
M	VERSION
2017-09-22 11:14 -0700  Kevin McCarthy  <kevin@8t8.us>  (19c81a140c6e)

	* imap/imap.c: Add missing IMAP_CMD_POLL flag in imap buffy check.

	I missed adding the flag to one of the imap_exec() calls inside the
	loop, when a different server is encountered in the mailboxes list.

2017-09-22 11:12 -0700  Kevin McCarthy  <kevin@8t8.us>  (9e53c623d102)

	* imap/command.c: Close the imap socket for the selected mailbox on
	error.

	The new $imap_poll_timeout calls the cmd_handle_fatal() error
	handler on timeout, which is supposed to close and cleanup.

	However, for the currently selected mailbox, the error handler was
	not closing the socket after closing up the mailbox. This left extra
	SSL/GnuTLS data around and was causing errors on an attempt to
	reconnect.

	Thanks to Fabian Groffen for reporting the issue.

2017-09-22 11:07 -0700  Kevin McCarthy  <kevin@8t8.us>  (7155392ed28b)

	* imap/imap.c: Fix imap sync segfault due to inactive headers during
	an expunge. (closes #3971)

	Mutt has several places where it turns off h->active as a hack. For
	example to avoid FLAG updates, or to exclude from imap_exec_msgset.

	Unfortunately, when a reopen is allowed and the IMAP_EXPUNGE_PENDING
	flag becomes set (e.g. a flag update to a modified header),
	imap_expunge_mailbox() will be called by imap_cmd_finish().

	The mx_update_tables() would free and remove these "inactive"
	headers, despite that an EXPUNGE was not received for them. This
	would result in memory leaks and segfaults due to dangling pointers
	in the msn_index and uid_hash.

	There should probably be a more elegant solution, removing the
	initial hacks. However, this is causing a segfault, and the best
	solution right now is to turn active back on for non-expunged
	messages in imap_expunge_mailbox().

	Extra thanks to chdiza, who bravely runs tip and found this issue
	quickly.

2017-09-14 12:43 -0700  Kevin McCarthy  <kevin@8t8.us>  (12d3714d8bfa)

	* imap/command.c, imap/message.c: Improve imap fetch handler to accept
	an initial UID. (closes #3969)

	Gmail sends flag updates with a UID before the FLAGS. The handler
	was very simple, and so ignored the flag update in that case.

	Pull the code from msg_parse_fetch(), paring down to just UID and
	FLAGS. This will handle arbitrary order data items.

2017-09-13 15:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (f90712538cd9)

	* imap/imap.c, imap/imap_private.h, imap/message.c: Change imap
	copy/save and trash to sync flags, excluding deleted. (closes #3966)
	(closes #3860)

	imap_copy_messages() uses a helper to sync the flags before
	performing a server-side copy. However, it had a bug that the
	"deleted" flag on a local message, if set, will be propagated to the
	copy too.

	Change the copy sync helper to ignore the deleted flag. Then, change
	the imap trash function to use the same helper.

	Thanks to Anton Lindqvist for his excellent bug report, suggested
	fixes, and help testing.

2017-09-13 15:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (19597bb7baa6)

	* imap/imap.c: Remove \Seen flag setting for imap trash. (see #3966)
	(see #3860)

	Commit 323e3d6e5e4c has a side effect where spurious FETCH flag
	updates after setting the \Seen flag can cause a sync to abort.

	Remove manually setting \Seen for all trashed message before
	copying.

	The next commit will change the imap trash function to use the same
	code as the imap copy/save function for syncing the message before
	server-side copying.

2017-09-04 09:40 -0700  Kevin McCarthy  <kevin@8t8.us>  (3c6f3ca07807)

	* curs_lib.c: Fix rv assignment in mutt_window_mvprintw(). (closes
	#3964)

	Mutt doesn't check the return value, so this wasn't causing a bug,
	but was incorrect.

	Thanks to dcb314 for reporting the issue.

2017-09-04 09:20 -0700  Kevin McCarthy  <kevin@8t8.us>  (f2298b3e6b93)

	* mutt_ssl_gnutls.c: Fix fp resource leak. (closes #3965)

	Thanks to dcb314 for reporting the issue.

2017-09-02 12:20 -0700  Kevin McCarthy  <kevin@8t8.us>  (ed024cc919fe)

	* setenv.c: merge default into stable

2017-09-02 12:12 -0700  Kevin McCarthy  <kevin@8t8.us>  (a586abf3c62d)

	* .hgsigs: mutt-1.9.0 signed

2017-09-02 12:11 -0700  Kevin McCarthy  <kevin@8t8.us>  (b050efec0ed4)

	* .hgtags: Added tag mutt-1-9-rel for changeset 549821ba69e5

2017-09-02 11:32 -0700  Kevin McCarthy  <kevin@8t8.us>  (549821ba69e5)

	* ChangeLog, VERSION, po/bg.po, po/ca.po, po/cs.po, po/da.po,
	po/de.po, po/el.po, po/eo.po, po/es.po, po/et.po, po/eu.po,
	po/fr.po, po/ga.po, po/gl.po, po/hu.po, po/id.po, po/it.po,
	po/ja.po, po/ko.po, po/lt.po, po/nl.po, po/pl.po, po/pt_BR.po,
	po/ru.po, po/sk.po, po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po,
	po/zh_TW.po: automatic post-release commit for mutt-1.9.0

2017-09-02 09:36 -0700  Kevin McCarthy  <kevin@8t8.us>  (3cd63d517453)

	* po/cs.po, po/eo.po, po/nl.po: Fix the new certificate prompt
	translations.

	The Esperanto, Dutch, and Czech po files weren't updated in time for
	1.9. Fix the certificate prompt translations by adding a "(s)kip"
	choice. Otherwise the prompts would not be functional.

2017-08-29 09:19 -0700  TAKAHASHI Tamotsu  <ttakah@lapis.plala.or.jp>  (52ba6fd58607)

	* po/ja.po: Updated Japanese translation.

2017-08-27 09:28 -0700  Ivan Vilata i Balaguer  <ivan@selidor.net>  (2666f4de9eb8)

	* po/ca.po: Updated Catalan translation.

2017-08-22 19:22 -0700  Kevin McCarthy  <kevin@8t8.us>  (b506fa3e7aab)

	* UPDATING: Add 1.9.0 entries to the UPDATING file.

2017-08-22 13:51 -0700  Morten Bo Johansen  <mjb@spamcop.net>  (f1638434cb43)

	* po/da.po: Updated Danish translation.

2017-08-22 10:59 -0700  Morten Bo Johansen  <mjb@spamcop.net>  (cce15c0169af)

	* po/da.po: Updated Danish translation.

2017-08-22 10:28 -0700  Olaf Hering  <olaf@aepfle.de>  (3606d018ea75)

	* po/de.po: Updated German translation.

2017-08-20 09:39 -0700  Vsevolod Volkov  <vvv@mutt.org.ua>  (584cc7ee5016)

	* po/ru.po: Updated Russian translation.

2017-08-20 09:31 -0700  Vsevolod Volkov  <vvv@mutt.org.ua>  (ed0fff2be143)

	* po/uk.po: Updated Ukrainian translation.

2017-08-19 08:33 -0700  Kevin McCarthy  <kevin@8t8.us>  (190e778db4d6)

	* doc/manual.xml.head, globals.h, init.h, mutt.h, sendlib.c: Add
	option to run command to query attachment mime type. (closes #2933)
	(closes #3959)

	Add $mime_type_query_command to specify a command to run if the
	attachment extension is not in the mime.types file.

	Add $mime_type_query_first to allow the query command to be run
	before the mime.types lookup.

2017-08-12 22:17 +0200  Vincent Lefevre  <vincent@vinc17.net>  (69e3bde9f83d)

	* po/fr.po: Updated French translation.

2017-08-11 09:04 -0700  Kevin McCarthy  <kevin@8t8.us>  (1306ee5f4bf7)

	* recvcmd.c: Fix parent_hdr usage in mutt_attach_reply(). (see #3728)

	If the selected attachments are not messages and no (common) parent
	is found, parent_hdr is set to the passed in hdr. In that case,
	parent will still be NULL, but parent_hdr and parent_fp will be set.

	Change the test to parent_hdr being NULL, not parent, to check for
	this case.

2017-08-10 18:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (052ad4fcdd6b)

	* commands.c, protos.h, recvattach.c: Add edit-content-type helper and
	warning for decrypted attachments. (closes #3728)

	Regenerating the actx index will overwrite any changes made to a
	decrypted attachment. Change the mutt_edit_content_type() function
	to return 1 when a structural change is made. Add a warning message
	when that is the case and a decrypted message was edited, so the
	user is not surprised.

	Note: mutt_edit_content_type() appeared to regenerate multipart
	subparts every time, leading to a memory leak. I believe this was an
	oversite, and it should have regenerated only when there were no
	subparts, so have "fixed" this.

2017-08-10 18:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (38855dc0a02a)

	* crypt-gpgme.c, crypt-gpgme.h, crypt-mod-pgp-classic.c, crypt-mod-
	pgp-gpgme.c, crypt-mod.h, cryptglue.c, mutt_crypt.h, pgp.c,
	recvattach.c: Fix attachment check_traditional and extract_keys
	operations. (see #3728)

	Add helpers and iterate over the actx->idx instead of the BODY
	structure.

2017-08-10 18:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (e6e8b2f1fae3)

	* attach.h, compose.c, pager.c, recvattach.c, recvcmd.c: Fix shared
	attachment functions. (see #3728)

	With nested decryption, the correct FP is associated with the
	ATTACHPTR entry. Also, the BODY entries are not continguous, so the
	functions need to iterate over the actx index, not the BODY
	structure.

2017-08-10 18:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (26e06bd4f29d)

	* recvattach.c: Fix the expand/collapse code to use the virtual index.
	(see #3728)

	Fix the init code to respect OPTDIGESTCOLLAPSE.

2017-08-10 18:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (c7fe290bc3a3)

	* attach.c, attach.h, compose.c, recvattach.c: Add virtual index to
	actx. (see #3728)

	The virtual index is modeled after the CONTEXT. Add a CURATTACH
	helper to reduce code verbosity. Store the actx as menu->data.

	Simplify and consolidate the recvattach and compose menu update code
	inside a function.

	Because compose and recvattach share so much code, change compose to
	use the virtual index even though it has no collapse/expand
	functionality.

2017-08-10 18:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (23ce88ed8961)

	* attach.c, attach.h, compose.c, protos.h, recvattach.c: Change
	recvattach to allow nested encryption. (see #3728)

	* Add a FP and BODY array to the actx. These are used to allow
	proper cleanup.

	* Add HEADER and root_fp entries, to allow for index regeneration.

	* Separate out the compose and recvattach index generation
	functions.

	* Change the recvattach index generator to decrypt as encrypted
	parts are found.

2017-08-10 18:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (ee1fd4a71a8a)

	* attach.c, attach.h, compose.c, recvattach.c: Add helpers to add and
	remove actx entries. (see #3728)

	Use the helper in compose update_idx(), to consolidate the resize
	logic and simplify the code.

	Separate out the actx "free" routine from a routine to empty out the
	idx. The index regeneration routines should flush and rebuild the
	index without having to renerate the actx structure.

2017-08-10 18:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (b8bbccd98632)

	* attach.c, attach.h, browser.c, compose.c, pager.c, pager.h,
	recvattach.c, recvcmd.c: Change helpers functions to pass actx. (see
	#3728)

	Change the pager, compose, recvattach and recvcmd to pass the actx
	instead of the individual idx and idxlen parameters.

	Separate out the compose menu exit logic to first free the BODY data
	and then call the shared actx free function at the bottom.

2017-08-10 18:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (278b6efc6bba)

	* attach.c, attach.h, compose.c, recvattach.c: Create ATTACH_CONTEXT
	to hold attachment index. (see #3728)

	Move the idx and idxlen into ATTACH_CONTEXT. In subsequence patches,
	this structure will hold more useful items, such as the virtual
	index.

	The swap out is straightforward, except for:
	  * update_idx() in compose.c, which post-increments the idxlen in the
	call and again in the function.
	  * mutt_gen_attach_list() which doesn't need to returns the new values.

2017-08-09 08:08 -0700  lilydjwg  <lilydjwg@gmail.com>  (5f034395e53d)

	* po/zh_CN.po: Updated Simplified Chinese translation.

2017-08-08 09:13 -0700  Olaf Hering  <olaf@aepfle.de>  (86f709e4be55)

	* po/de.po: Updated German translation.

2017-08-06 10:22 -0700  Kevin McCarthy  <kevin@8t8.us>  (f8df8c43e5c0)

	* pager.c: Handle error if REGCOMP in pager fails when resizing.

	Thanks to JiaZhouyang for finding this issue and supplying the
	original patch.

2017-08-04 09:29 -0700  Olaf Hering  <olaf@aepfle.de>  (ac2fda8bc9c4)

	* po/de.po: Updated German translation.

2017-07-28 10:54 -0700  Kevin McCarthy  <kevin@8t8.us>  (f83de1e03e08)

	* configure.ac, mutt_socket.c: Convert raw_socket_poll() to use
	gettimeofday().

	As long as gettimeofday() is supported, it's better to be consistent
	within mutt and ensure greater portability.

	Change the raw_socket_poll() wait timer to count milliseconds, like
	the mutt_progess_update() code.

	Thanks to Vincent Lefèvre for his, as always, invaluable advice.

2017-07-27 00:20 +0100  Vincent Lefevre  <vincent@vinc17.net>  (eeb5ff58ab14)

	* po/fr.po: Updated French translation.

2017-07-24 11:19 -0700  Kevin McCarthy  <kevin@8t8.us>  (f94a97422cd0)

	* configure.ac, mutt_socket.c: Add autoconf search for clock_gettime.

	It appears to be specified in POSIX.1-2001, so just abort if it's
	not found.

	Add a missing time.h include in mutt_socket.c

2017-07-22 19:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (4a1390537a29)

	* globals.h, imap/command.c, imap/imap.c, imap/imap_private.h, init.h:
	Add $imap_poll_timeout to allow mailbox polling to time out.

	Enable the polling flag for the NOOP in imap_check_mailbox(), the
	STATUS command in imap_buffy_check(), and the LOGOUT command.

	This is not intended to handle all blocking-IO related issues.
	However, the periodic NOOP and STATUS are the most frequent places
	for mutt to freeze up, especially after a laptop is sleep/woken.

	Since these are quick operations with little data, this is a good
	place to check if the connection is still working before hanging on
	a read.

2017-07-22 19:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (908bea74acef)

	* imap/imap.c, mutt_sasl.c, mutt_sasl.h, mutt_socket.c, mutt_socket.h,
	mutt_tunnel.c: Add timeout parameter to mutt_socket_poll.

	This will be used in the next commit to add a timeout when polling
	for new mail.

2017-07-20 17:30 -0700  Kevin McCarthy  <kevin@8t8.us>  (a533c22715c8)

	* mutt.h, sendlib.c: When guessing an attachment type, don't allow
	text/plain if there is a null character. (see #2933)

	Type text/plain should not contain any null characters. Slightly
	improve the type guesser by forcing an attachment with any null
	characters to be application/octet-stream.

	Note the type guesser could use much more improvement, but this is
	an easy and obvious fix.

2017-07-19 14:12 -0700  Kevin McCarthy  <kevin@8t8.us>  (2204d7ed4d94)

	* imap/command.c, imap/imap.c, menu.c: merge stable

2017-07-19 14:04 -0700  Kevin McCarthy  <kevin@8t8.us>  (78cc40b6ba9e)

	* imap/command.c, imap/imap.c: Change imap_cmd_start() to return OK
	when the cmd_queue is finished. (closes #3956)

	Some response handlers can end up recursively calling
	imap_cmd_start(), processing all the command completions. If the
	outer call was an imap_exec(), this would result in the loop never
	being terminated (or just blocking reading a server that has already
	finished all the commands).

	Change the callers that are simply using it to read a response,
	without having called cmd_start(), to check for IMAP_CMD_OK instead.
	Currently this is just the open connection function.

2017-07-19 14:04 -0700  Kevin McCarthy  <kevin@8t8.us>  (cf98f5d606a3)

	* menu.c: Fix menu color calls to occur before positioning the cursor.
	(see #3956)

	It is possible for menu->color() to end up fetching an imap message,
	and therefore generating a status message.

	Because of this, we need to make those calls before we position the
	cursor.

2017-07-14 15:19 -0700  Kevin McCarthy  <kevin@8t8.us>  (c4e507003aa0)

	* regex.c: Decrease regex failure stack limit. (closes #3955)

	When using alloca(), the built-in regexp library limited the failure
	stack to 20,000 entries. This value is too large, and causes
	alloca() to segfault in the example provided in the ticket.

	Decrease the limit to 8000.

	Thanks to Thorsten Wißmann for the excellent bug report, which made
	debugging this much easier.

2017-07-13 22:05 -0700  Brendan Cully  <brendan@kublai.com>  (9430d2357bc2)

	* imap/imap.c, imap/imap.h, mx.c: drop unused flags argument from
	imap_access

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

2017-07-12 21:20 -0700  Brendan Cully  <brendan@kublai.com>  (742c96078159)

	* bcache.c: bcache: cast to avoid implicit signed/unsigned comparison
	in bcache_path

2017-07-12 12:39 -0700  Kevin McCarthy  <kevin@8t8.us>  (51d22025190a)

	* imap/imap.c: merge stable

2017-07-12 12:38 -0700  Kevin McCarthy  <kevin@8t8.us>  (02c6dd3a30cc)

	* imap/imap.c: 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.

2017-07-08 16:35 -0700  Brendan Cully  <brendan@kublai.com>  (952e4fcf1e2b)

	* imap/imap.c: fix signed/unsigned comparison in longest_common_prefix

2017-07-05 19:09 -0700  Kevin McCarthy  <kevin@8t8.us>  (428e36fb2262)

	* doc/manual.xml.head, doc/muttrc.man.head, mutt.h, pattern.c: 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.

2017-07-03 19:22 -0700  Kevin McCarthy  <kevin@8t8.us>  (c87d2a88308a)

	* po/bg.po, po/de.po, po/el.po, po/eo.po, po/es.po, po/et.po,
	po/eu.po, po/ga.po, po/gl.po, po/hu.po, po/id.po, po/it.po,
	po/ko.po, po/lt.po, po/pl.po, po/pt_BR.po, po/sk.po, po/sv.po,
	po/tr.po, po/zh_CN.po, po/zh_TW.po: 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.

2017-07-03 19:22 -0700  Kevin McCarthy  <kevin@8t8.us>  (752f3e879d50)

	* po/bg.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po,
	po/eo.po, po/es.po, po/et.po, po/eu.po, po/fr.po, po/ga.po,
	po/gl.po, po/hu.po, po/id.po, po/it.po, po/ja.po, po/ko.po,
	po/lt.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sk.po,
	po/sv.po, po/tr.po, po/uk.po, po/zh_CN.po, po/zh_TW.po: Update po
	files.

2017-07-03 19:22 -0700  Kevin McCarthy  <kevin@8t8.us>  (b90d818b768c)

	* mutt_ssl_gnutls.c: 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.

2017-07-02 17:53 -0700  Kevin McCarthy  <kevin@8t8.us>  (680300397f3d)

	* init.h: Add more description for the %S and %Z $index_format
	characters.

2017-07-01 19:32 -0700  Kevin McCarthy  <kevin@8t8.us>  (c45291f87137)

	* globals.h, init.h, protos.h, recvcmd.c, send.c: 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.

2017-06-26 15:54 -0700  Antonio Radici  <antonio@dyne.org>  (88602d33a49a)

	* init.h: Fix typo in smime_self_encrypt_as documentation. (closes
	#3953)

2017-06-26 15:47 -0700  Kevin McCarthy  <kevin@8t8.us>  (c50abea2ec80)

	* init.h: merge stable

2017-06-26 15:44 -0700  Regid Ichira  <regid23@nt1.in>  (826efa89631f)

	* init.h: Minor documentation fixes.

	The muttrc man page doesn't contain the "Format Strings" section in
	the manual, so add a pointer to the explanation of conditionals in
	$status_format.

2017-06-20 15:09 -0700  Kevin McCarthy  <kevin@8t8.us>  (219b9064cf28)

	* mutt_socket.c: Block SIGWINCH during connect(). (closes #3941)

	FreeBSD's connect() does not respect SA_RESTART, so a SIGWINCH will
	end up interrupting the connect.

	If this code is needed in other places, it should be moved into
	signal.c. For this one place, inlining the sigprocmask() seemed
	okay.

2017-06-18 10:58 -0700  Kevin McCarthy  <kevin@8t8.us>  (d56fd3f91de9)

	* compose.c: Improve the L10N comment about Sign as.

	Make it clearer what the indentation behavior is, and add
	suggestions about the width.

