2021-08-24 12:54:51 -0700  Kevin McCarthy  <kevin@8t8.us> (a86338a8)

        * Update UPDATING file for 2.1.2.

M	UPDATING

2021-08-21 18:42:33 -0700  Kevin McCarthy  <kevin@8t8.us> (74ce032f)

        * Preserve QRESYNC seqset holes when restoring from header cache.
        
        It's possible for there to be holes in the MSN sequence, and also in
        the header cache.  When iterating through the seqset, preserve those
        by incrementing msn even if the result isn't found in the header
        cache (because it is 0 or because the record is missing in the header
        cache).

M	imap/message.c

2021-08-21 14:55:43 -0700  Kevin McCarthy  <kevin@8t8.us> (b0f54225)

        * Don't include inactive messages in msgset generation.
        
        Currently only deleted messages that will be expunged are marked
        inactive, so it shouldn't be an issue.  However, before the previous
        commit (changing sorting by UID), I think there was a possibility for
        a bug if trailing expunge-marked messages with MAXINT index were also
        marked inactive.
        
        The sort change fixes that, but to make the code clearer just remove
        the possibility of inactive messages being included.

M	imap/imap.c

2021-08-21 13:00:12 -0700  Kevin McCarthy  <kevin@8t8.us> (647efbd1)

        * Sort headers by UID when generating a msgset sequence.
        
        When there is a hole in the header cache, the UID numbers are no
        longer guaranteed to increase with the index.  This can result in
        incorrect msgset values being sent to the server.
        
        Thanks to Pieter-Tjerk de Boer for reporting this problem, with a
        detailed description of the problem, and a suggested patch.
        
        Note to backporters:
        
        * this patch depends on the imap_disallow_reopen() added in commit
          6051760c2cf492ada1e06d910c0c2c05607c08bc for release 1.13.4.
        
        * the bug was introduced in release 1.9.0 so there is no need to
          backport earlier than that.

M	imap/imap.c
M	sort.h

2021-08-21 12:21:25 -0700  Pieter-Tjerk de Boer  <p.t.deboer@utwente.nl> (44f2619c)

        * Reset msn_begin on a QRESYNC failure retry.
        
        Since the msn_index will be regenerated differently, Mutt needs to
        scan for holes again.

M	imap/message.c

2021-08-20 13:28:55 -0700  Kevin McCarthy  <kevin@8t8.us> (a54bb201)

        * Properly free mail_followup_to when resending a message.
        
        This one has been in the code for quite a while!  Use the address free
        function to free all the parts instead of just FREE().

M	postpone.c

2021-08-16 18:31:11 -0700  Kevin McCarthy  <kevin@8t8.us> (eda54c6b)

        * Improve attach files handling of empty value.
        
        Hitting enter at the attach files prompt will still allocate an entry
        in the attachment array.  It might make sense to "abort" inside the
        prompt for that case, but it's a change of behavior to have the prompt
        do so.
        
        Instead, have the compose menu prompt skip NULL values.

M	compose.c

2021-07-13 14:44:29 -0700  Kevin McCarthy  <kevin@8t8.us> (6c0f75cc)

        * Fix strfcpy copy size in mutt_get_default_charset().
        
        If AssumedCharset contained a ':', the value could be larger than
        fcharset.  Ensure it's properly truncated.
        
        This also fixes a compiler warning.

M	charset.c

2021-07-13 14:30:33 -0700  Kevin McCarthy  <kevin@8t8.us> (19bdc79f)

        * Use strfcpy for edit_envelope() user-header subject.
        
        strncpy could leave an untruncated string.

M	send.c

2021-07-13 14:22:38 -0700  Kevin McCarthy  <kevin@8t8.us> (6637beb9)

        * Fix mutt_label_message to use strfcpy().
        
        strncpy could leave an unterminated string.

M	headers.c

2021-07-12 10:56:15 -0700  Kevin McCarthy  <kevin@8t8.us> (e2a89abc)

        * automatic post-release commit for mutt-2.1.1

M	ChangeLog
M	VERSION

2021-07-12 10:47:48 -0700  Kevin McCarthy  <kevin@8t8.us> (878e0388)

        * Update UPDATING file for 2.1.1 release.

M	UPDATING

2021-06-28 15:11:24 -0700  Kevin McCarthy  <kevin@8t8.us> (27f0a450)

        * Add a hard redraw after oauth authentication.
        
        The sample contrib program can use gpg to decrypt a token.  This may
        pop up a curses agent prompt, requiring a hard redraw.
        
        It may be that we should be calling a hard redraw after any fork/exec.
        I don't know if this will cause more problems, so for now I'll just
        patch this one place.  But that is something to consider.

M	account.c

2021-06-28 15:07:15 -0700  Kevin McCarthy  <kevin@8t8.us> (4035e100)

        * Fix classic pgp decrypt_part() hard redraw on error.
        
        Ensure the hard redraw is set even if the decryption fails.  The agent
        prompt still may have appeared.
        
        Since we don't need to set environment variables afterwards, directly
        check the OPTUSEGPGAGENT option for the post-check.

M	pgp.c

2021-07-09 11:49:26 +0200  Alexander Sulfrian  <asulfrian@zedat.fu-berlin.de> (94f5f35a)

        * listmenu: Fix parsing of list headers for mbox
        
        The parsing of the headers needs to skip the "From " lines at the start
        of the messages in mbox format. This now uses the same logic like
        mutt_read_rfc822_header in parse.c.

M	listmenu.c

2021-06-19 14:08:59 -0700  Kevin McCarthy  <kevin@8t8.us> (f5ccd687)

        * Fix menu.c sigwinch handling order.
        
        This fixes problems with a sigwinch that occurs during an external
        process, such as during a query menu lookup, or after exiting the
        background-edit landing page.  Without this change, the user would see
        a misdrawn screen and would need to press a key first.
        
        Change it so that the SigWinch flag is handled before reading input,
        so that the page is automatically redrawn.  This matches the behavior
        in the index, pager, and background-edit process list menu.

M	menu.c

2021-06-13 14:16:06 -0700  Kevin McCarthy  <kevin@8t8.us> (e1dfc2c4)

        * Fix getkeybyaddr() debug output.
        
        Add a NONULL wrapper and a newline at the end.

M	crypt-gpgme.c
M	pgpkey.c

2021-06-12 12:38:19 -0700  Ivan Vilata i Balaguer  <ivan@selidor.net> (9629d5d6)

        * Update Catalan translation.

M	po/ca.po

2021-06-12 10:48:43 -0700  Kevin McCarthy  <kevin@8t8.us> (4b100969)

        * automatic post-release commit for mutt-2.1.0

M	ChangeLog
M	VERSION
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/fi.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

2021-06-12 10:40:18 -0700  Kevin McCarthy  <kevin@8t8.us> (bfccf9c6)

        * Update UPDATING file for 2.1.0 release.

M	UPDATING

2021-06-07 10:15:24 -0700  Vsevolod Volkov  <vvv@mutt.org.ua> (0b2be236)

        * Updated Russian translation.

M	po/ru.po

2021-06-07 10:14:14 -0700  Vsevolod Volkov  <vvv@mutt.org.ua> (6b458ebd)

        * Updated Ukrainian translation.

M	po/uk.po

2021-06-05 13:49:57 -0700  Kevin McCarthy  <kevin@8t8.us> (e8792708)

        * Minor UPDATING file fixes.

M	UPDATING

2021-06-05 13:48:05 -0700  Kevin McCarthy  <kevin@8t8.us> (bab86bf4)

        * Mention <browse-mailboxes> in the new-mail documentation.
        
        Add to the sentence mentioning '-y'.

M	doc/manual.xml.head

2021-06-03 10:40:22 +0200  Grzegorz Szymaszek  <gszymaszek@short.pl> (6a7f32a6)

        * Update the Polish translation for Mutt 2.1

M	po/pl.po

2021-05-31 16:55:39 +0200  Petr Písař  <petr.pisar@atlas.cz> (732efe2e)

        * Update Czech translatation for mutt-2.1.0

M	po/cs.po

2021-05-30 10:20:50 -0700  Helge Kreutzmann  <debian@helgefjell.de> (f0a64564)

        * Update de.po.

M	po/de.po

2021-05-29 12:39:25 -0700  Helge Kreutzmann  <debian@helgefjell.de> (b37d5aa1)

        * Update de.po.

M	po/de.po

2021-05-29 12:38:04 -0700  Kevin McCarthy  <kevin@8t8.us> (c728976c)

        * Revert "Update de.po."
        
        This reverts commit e450615f5b0a77539916d9e8542c9a64bca73c09.
        
        Author was not properly attributed.  Will reapply with author set.

M	po/de.po

2021-05-29 12:14:30 -0700  Kevin McCarthy  <kevin@8t8.us> (e450615f)

        * Update de.po.

M	po/de.po

2021-05-28 21:21:32 +0200  Flammie Pirinen  <flammie@iki.fi> (3d24855d)

        * Update Finnish translation

M	po/fi.po

2021-05-28 20:48:58 +0200  Eike Rathke  <erack@erack.de> (36fb911f)

        * Do not set From reverse name on postponed or to be resend messages
        
        Messages to be resend or resumed from postponed already had
        reverse names and alternates evaluated the first time they entered
        the compose menu and send-hook were already executed then. The
        user may also had edited the From to any other content before
        postponing or sending the message. Upon resuming, do not overwrite
        with a reverse_name lookup and do not remove the real name if
        reverse_realname=no is set.
        
        This restores the old behaviour and fixes the regression
        introduced with
        
            commit 961cf4bed679d9495cc3682d18496a53061d4581
            CommitDate: Mon Feb 1 14:00:56 2021 -0800
        
                Apply $reverse_name when tag-reply/forwarding too.

M	send.c

2021-05-28 20:29:03 +0300  Emir Sarı  <bitigchi@me.com> (ddd292b8)

        * Update Turkish translations

M	po/tr.po

2021-05-28 14:23:37 +0200  Greg Kroah-Hartman  <greg@kroah.com> (88845a41)

        * fix gcc-11 build warnings for H_TO_INTL()
        
        The macro H_TO_INTL() in mutt_idna.c, causes a lot of build warnings
        about the indentation of the if () line to try to warn the developer
        that it looks like this might be a bug:
        
        mutt_idna.c: In function ‘mutt_env_to_intl’:
        mutt_idna.c:327:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
          327 |     if (tag) *tag = #a; e = 1; err = NULL;              \
              |     ^~
        mutt_idna.c:333:3: note: in expansion of macro ‘H_TO_INTL’
          333 |   H_TO_INTL(return_path);
              |   ^~~~~~~~~
        mutt_idna.c:327:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
          327 |     if (tag) *tag = #a; e = 1; err = NULL;              \
              |                         ^
        mutt_idna.c:333:3: note: in expansion of macro ‘H_TO_INTL’
          333 |   H_TO_INTL(return_path);
              |   ^~~~~~~~~
        
        This goes on for many lines.
        
        Fix this up by properly indenting the lines so that gcc "knows" we mean
        well here.

M	mutt_idna.c

2021-05-28 14:38:41 +0300  Maxim Tarasov  <mu@magi.net.ru> (76276257)

        * Trim the ToC for the option list in the manual
        
        Currently, every variable is shown in the table of contents of the
        reference manual. Variable list is over 400 items long. This makes the
        ToC difficult to work with.
        
        Removing is done by adding an overwriting template for the parent of
        variables section (that is sect1 tag with id="variables"). In the
        DocBook source matching template calls another template named subtoc
        with two parameters: context (self element) and nodes (child
        sections). Normally a list of descendant nodes is passed here, but we
        don't want that and instead call subtoc with no parameters.
        
        This approach results in semantically correct code being generated in
        all modes.
        
        Note, that the ID (variables) will have to be kept in sync with XML
        generating code, but that is already hardcoded elsewhere.

M	doc/TODO
M	doc/mutt.xsl

2021-05-26 15:41:40 -0700  Kevin McCarthy  <kevin@8t8.us> (f60882fc)

        * Add debug statements around $hostname setting.
        
        This will make slowdowns due to DNS issues more obvious.

M	init.c

2021-05-26 15:30:20 -0700  Kevin McCarthy  <kevin@8t8.us> (30aea067)

        * Add draft 2.1.0 notes to UPDATING file.

M	UPDATING

2021-05-23 11:20:54 -0700  Kevin McCarthy  <kevin@8t8.us> (ff7c68cc)

        * Merge branch 'stable'

2021-05-23 11:19:02 -0700  Kevin McCarthy  <kevin@8t8.us> (9f40cc39)

        * Update irc channel to libera.chat.

M	doc/manual.xml.head

2021-05-14 18:55:00 -0600  Gregory Anders  <greg@gpanders.com> (4c786d87)

        * Add local_date_header option
        
        Add an option to convert the date used in the Date header into the local
        (sender's) timezone. This is the current behavior and the option
        defaults to true. Unsetting this option causes the date in the Date
        header to be formatted using the GMT timezone.
        
        This option is useful for privacy-sensitive users who may not wish to
        divulge their sending timezone.

M	init.h
M	mutt.h
M	sendlib.c

2021-05-04 11:03:32 -0700  Kevin McCarthy  <kevin@8t8.us> (791fc1c6)

        * Merge branch 'stable'

2021-05-04 10:55:15 -0700  Kevin McCarthy  <kevin@8t8.us> (481f3800)

        * automatic post-release commit for mutt-2.0.7

M	ChangeLog
M	VERSION

2021-05-04 10:38:24 -0700  Kevin McCarthy  <kevin@8t8.us> (bd29a9a0)

        * Merge branch 'stable'

2021-04-28 12:57:53 -0700  Kevin McCarthy  <kevin@8t8.us> (b24a1a25)

        * Add comments to the 2231 decode blocks.

M	rfc2231.c

2021-04-30 18:55:37 -0700  Kevin McCarthy  <kevin@8t8.us> (a10d0bb5)

        * Add sanitize call in print mailcap function.
        
        The mutt_rfc1524_expand_filename() function calls mutt_adv_mktemp(),
        which also calls the sanitizer.
        
        However, if the recv-mode suggested filename has a slash, it's better
        to sanitize before calling expand_filename() too, to preserve the
        entire filename (albeit with the slashes sanitized out).
        
        For example (ignoring name templates) if the file were called
        "either/or.pdf", pre-sanitizing would generate "either_or.pdf", while
        not doing so would generate "or.pdf".

M	attach.c

2021-04-27 13:37:21 -0700  Kevin McCarthy  <kevin@8t8.us> (98f0ca6b)

        * Add allow_8bit flag to sanitize_filename functions.
        
        This will allow "view" mailcap invocations and autoview invocations to
        display something reasonable for international file names.  Also add
        the flag to mutt_adv_mktemp(), which the mailcap viewer calls.
        
        Convert the 'slash parameter' to an ALLOW_SLASH flag.  This makes the
        flags consistent (both "allow" something not permitted by default),
        and invocations more readable.

M	attach.c
M	handler.c
M	lib.c
M	lib.h
M	muttlib.c
M	pop.c
M	protos.h
M	rfc1524.c

2021-04-29 12:54:41 -0700  Kevin McCarthy  <kevin@8t8.us> (fdee288a)

        * Modify makedoc.pl to read sort maps for the default value.
        
        Use the map tables to print out a correct default value for sort
        types.
        
        Remove the unneeded SORT_ALPHA type, for $sort_browser documentation,
        since we can do the lookup now.

M	doc/makedoc.pl
M	init.h
M	sort.h

2021-04-28 13:28:14 -0700  Kevin McCarthy  <kevin@8t8.us> (23b77a20)

        * Arrange sort maps by value instead of name.
        
        The value-to-name mapping uses the first match.  Grouping by value
        makes it more obvious when there are duplicates and which one will be
        printed out, e.g. when querying the value of a variable.

M	init.h

2021-04-28 13:21:17 -0700  Kevin McCarthy  <kevin@8t8.us> (bee3474f)

        * Move sort maps before vars in init.h.
        
        This is so makedoc.pl can read in the maps and use them to properly
        print out default values for the sort options.

M	init.h

2021-04-28 11:16:50 -0700  Kevin McCarthy  <kevin@8t8.us> (acb2bdd4)

        * Merge branch 'stable'

2021-04-25 15:01:07 -0700  Kevin McCarthy  <kevin@8t8.us> (515a315c)

        * Mention ~B in $thorough_search documentation.
        
        It affects ~b, ~B, and ~h.

M	init.h

2021-04-25 10:47:32 -0700  Kevin McCarthy  <kevin@8t8.us> (b2125bcd)

        * Keep file browser '..' entries at the top.
        
        This makes it easier to navigate up a directory when the file browser
        is sorted by a value other than "alpha".

M	browser.c

2021-04-24 15:10:22 -0700  Kevin McCarthy  <kevin@8t8.us> (2333015f)

        * Change browser sort "unsorted" to preserve the original order.
        
        Record entry numbers as they are added to the list, so re-sorting by
        "unsorted" can return to the original order.
        
        This is most useful for the mailboxes case, where "unsorted" should
        mean the order listed in the muttrc.

M	browser.c
M	browser.h
M	imap/browse.c

2021-04-24 14:56:39 -0700  Kevin McCarthy  <kevin@8t8.us> (f8984468)

        * Fix imap_add_folder() reallocation check.
        
        entrymax contains the number of slots allocated.  entrylen contains
        the current number of slots used.
        
        Note: there isn't a memory access bug here - it was merely
        reallocating too early.

M	imap/browse.c

2021-04-24 14:41:20 -0700  Kevin McCarthy  <kevin@8t8.us> (a877a29e)

        * Add $sort_browser_mailboxes configuration variable.
        
        This allows to control file browser sorting and mailbox browser
        sorting separately.

M	browser.c
M	browser.h
M	init.h
M	sort.h

2021-04-24 15:23:49 -0700  Kevin McCarthy  <kevin@8t8.us> (8b7dd25b)

        * Merge branch 'stable'

2021-04-23 18:35:30 -0700  Kevin McCarthy  <kevin@8t8.us> (30e657d3)

        * Improve sidebar drawing in small windows.
        
        Ensure the index window is given at least one column during reflow,
        truncating the sidebar width as necessary.
        
        Change the sidebar to use MuttSidebarWindow->cols instead of directly
        referencing SidebarWidth.

M	curs_lib.c
M	sidebar.c

2021-04-22 15:42:14 -0700  Kevin McCarthy  <kevin@8t8.us> (fe866a19)

        * Disable markers when wrap is at column 1.
        
        This can occur when the user resizes the window to a single column, or
        if they 'set wrap=1'.
        
        In that case, Mutt was outputting the '+' and setting the initial
        output to the second column.  However, if there is only one column,
        nothing would then be printed.  When trying to search or jump to end,
        Mutt would enter an infinite loop because no forward progress would be
        made in the file with each line.
        
        Disable the markers if there is only a single column, so at least one
        character of the message will get printed on each line.

M	pager.c

2021-04-19 18:53:30 -0700  Kevin McCarthy  <kevin@8t8.us> (8162c129)

        * Improve body_pattern and quoting when skipping down.
        
        The previous commit added the MUTT_TYPES flag to the search operation.
        However, adding the flag caused body_pattern and classify_quote
        matching to occur, as part of searching.
        
        Separate those two to only be done when MUTT_SHOWCOLOR is passed.  Keep
        the classify_quote() call in resolve_types(), since otherwise during a
        normal display we would end up matching the regexps twice.
        
        Add a flag so the computation only occurs once, instead of each time
        the line is shown.
        
        For continuation lines, we need to scan from the start of line.
        Otherwise body_patterns and proper quote level coloring won't appear
        if we jump down to the middle of a continuation line.
        
        As part of this commit, I noticed is_cont_hdr was not reset when
        handling a REDRAW_FLOW.  I believe this also fixes the old trac ticket
        issue 3744.

M	pager.c

2021-04-19 14:49:52 -0700  Kevin McCarthy  <kevin@8t8.us> (7bce3182)

        * Add MUTT_TYPES flag for pager search operation.
        
        This allows the display_line() search scanner to also determine the
        type of each line.  Without that, searching down would not be able to
        properly highlight header lines or quote lines.

M	pager.c

2021-04-19 14:48:01 -0700  Kevin McCarthy  <kevin@8t8.us> (f8e405b3)

        * Revert "Add type resolution when searching in the pager."
        
        This reverts commit aa308b67a983918eb59f1d7b5af543817c2cfd04.
        
        This may be what I want to push to master eventually, but this commit
        was accidental.  I need to test it more on a branch and add a better
        commit message before commiting to master.

M	pager.c

2021-04-19 14:45:01 -0700  Kevin McCarthy  <kevin@8t8.us> (aa308b67)

        * Add type resolution when searching in the pager.

M	pager.c

2021-04-19 14:20:47 -0700  Kevin McCarthy  <kevin@8t8.us> (4b6cd846)

        * Add a note about crypto operations being available interactively.
        
        They aren't available in batch mode.  This was mentioned in the "batch
        compose flow" section, but should be mentioned a bit more prominently
        in the manual.

M	doc/manual.xml.head

2021-04-18 14:54:02 -0700  Kevin McCarthy  <kevin@8t8.us> (10c66a53)

        * Mention 8-bit ansi color support in manual.

M	doc/manual.xml.head

2021-04-17 09:34:16 -0700  Kevin McCarthy  <kevin@8t8.us> (36a704cf)

        * Add cc, in-reply-to, and references to default mailto_allow list.
        
        Thanks to Gregory Anders for the ticket and suggested patch, which
        this commit is based upon.

M	doc/manual.xml.head
M	init.c

2021-04-13 18:02:31 -0700  Kevin McCarthy  <kevin@8t8.us> (0684a051)

        * Add a check to make sure pair doesn't overflow.
        
        It's not clear if COLOR_PAIRS can be larger than SHRT_MAX + 1, so make
        sure with a check.

M	color.c

2021-04-11 15:56:42 -0700  Kevin McCarthy  <kevin@8t8.us> (2d683201)

        * Fix ansi colors to use default bg/fg when not set.
        
        Note the ColorList stores COLOR_DEFAULT (-2) not -1, so we need to
        translate those values in mutt_alloc_ansi_color().  If the curses
        backend doesn't support default colors, we abort and just return color
        pair 0.

M	color.c
M	pager.c

2021-04-11 14:19:33 -0700  Kevin McCarthy  <kevin@8t8.us> (c20a5169)

        * Use bkgrndset() as ATTRSET() backend if available.
        
        This function allows more usable color pairs, because it passes the
        pair parameter separately.  The COLOR_PAIR() macro only returns 8-bits
        for a pair, limiting the total pairs used to 256 despite many systems
        having much larger COLOR_PAIRS values.
        
        In order to do this, separate out the pair and attrs values, instead
        of combining attr + COLOR_PAIR(pair) into a single value and storing
        that inside Mutt.  For the older calls, bkgdset() and attrset(), we
        call COLOR_PAIR() at the last minute.
        
        Add COLOR_ATTR to header cache sum calculation, since it is used in
        the HEADER now.

M	Makefile.am
M	color.c
A	color.h
M	commands.c
M	configure.ac
M	curs_main.c
M	hcache.c
M	hcachever.pl
M	menu.c
M	mutt.h
M	mutt_curses.h
M	mutt_menu.h
M	pager.c
M	protos.h
M	score.c
M	sidebar.c
M	thread.c

2021-04-10 11:33:58 +0200  Vincent Lefevre  <vincent@vinc17.net> (869c6cc4)

        * Updated French translation.

M	po/fr.po

2021-04-09 17:51:12 -0700  Kevin McCarthy  <kevin@8t8.us> (6a2e3dea)

        * Clarify -H usage in batch mode is not a "pass through" option.
        
        Mutt runs the file through mutt_prepare_template() in both cases,
        which will decrypt, remove signatures, strip multipart/alternatives.
        
        The documentation wasn't clear about this, and it might be
        misunderstood that -H is a "pass through" option.

M	doc/manual.xml.head
M	doc/mutt.man

2021-04-09 15:12:11 -0700  Kevin McCarthy  <kevin@8t8.us> (6c510773)

        * Add user-friendly error message if append to $trash fails.
        
        For the maildir case, this will then be displayed instead of a raw
        stat error message, in the case the mailbox disappears.

M	mx.c

2021-03-29 04:57:28 -0300  Marco Ippolito  <maroloccio@gmail.com> (9566a95c)

        * Fix documentation typo

M	doc/manual.xml.head

2021-03-27 19:14:10 -0700  Kevin McCarthy  <kevin@8t8.us> (4e01ccdb)

        * Stop batch mode emails with no argument or recipients.
        
        Closes #345.  There are checks in send.c to guard against a
        no-recipient email being sent, but there might be a my_hdr or other
        setting in the muttrc.  In that case, it would be surprising for an
        email to be sent.

M	main.c

2021-03-20 18:33:01 +0100  Vincent Lefevre  <vincent@vinc17.net> (8ac730a1)

        * Updated French translation.

M	po/fr.po

2021-03-19 14:35:53 -0700  Kevin McCarthy  <kevin@8t8.us> (5ee27795)

        * Merge branch 'stable'

2021-03-16 14:13:38 -0700  Kevin McCarthy  <kevin@8t8.us> (9b8cc85e)

        * Add SigInt handler for pattern functions.
        
        Allow, for example, a ~B against a huge mailbox to be interruped via
        ctrl-c.  This commit follows the same behavior as
        mutt_search_command() - not prompting and just interrupting.  We could
        add a prompt if it's really deemed necessary, but I think if they hit
        ctrl-c they want to stop the pattern operation now.
        
        Since it's not practical to roll back, leave the Context in the "in
        the middle" state too.  This may actually be desired.

M	pattern.c

2021-03-15 13:11:07 -0700  Kevin McCarthy  <kevin@8t8.us> (50f22244)

        * Turn off ~h header-only download when $message_cachedir is set.
        
        The initial pattern match will be slow, but then the body will be in
        the message cache.  This is the same as previous behavior, so a
        message cache user should not notice any change.
        
        Those not using a message cache will see improvements from the
        header-only download, but of course they will have to download the
        full headers each time.

M	pattern.c

2021-03-13 18:51:34 +0100  Vincent Lefevre  <vincent@vinc17.net> (5eb9dec8)

        * Updated French translation.

M	po/fr.po

2021-03-12 13:23:42 -0800  Kevin McCarthy  <kevin@8t8.us> (5cf52cd1)

        * Minor fixes to match_body_patterns().
        
        Change the end condition to compare against buflen.  I prefer this
        because we are not directly incrementing offset ourselves, but relying
        on the rational return values from regexec.  If the regex library
        (incorrectly) returned a nul-match at the '\0' terminator for
        instance, the new nul-match logic would assign offset just past the
        terminator.
        
        Remove the i=0 initialization during definition, because it doesn't
        use or need it.

M	pager.c

2021-03-12 13:08:29 -0800  Kevin McCarthy  <kevin@8t8.us> (64dba506)

        * Factor out match_body_patterns to make resolve_types() simpler.
        
        The body pattern matching part has been getting more complex, and is
        now too big to have its details sit amongst the resolve_types()
        logic.  Factor it out into a separate procedure.

M	pager.c

2021-03-10 18:10:39 -0800  Kevin McCarthy  <kevin@8t8.us> (63d29881)

        * Fix body color null_rx handling.
        
        The existing code did not work properly.  If the null_rx occurred
        before another matching entry in the list, it would be ignored.  If it
        occurred afterward, it could cause the entries to be created
        out-of-order which would affect the binary search later on when
        rendering.
        
        Instead, use the normal "match assignment" code, but if the best
        result is a null_rx match, simply discard it and increment the offset
        past the end of the null match.

M	pager.c

2021-03-10 15:09:49 -0800  Kevin McCarthy  <kevin@8t8.us> (53ffdb93)

        * Improve body color matching speed by caching future matches.
        
        On a *very* long body (or header_partial) lines with multiple color
        lines that match, performance can be degraded.  For instance if there
        were moderately expensive regexp matches against "A" "B" and "C".  A
        line with:
        
          A A A A A B A A C A A A B A A A C
        
        The B and C regexps were scanned again after every "A" match, despite
        that the result would be discarded again for the next A match.
        
        Change the color matching to cache the location of each color line
        match.  Discard the cache once the match offset passes that point.

M	mutt_curses.h
M	pager.c

2021-03-11 14:02:03 -0800  Kevin McCarthy  <kevin@8t8.us> (17774247)

        * Merge branch 'stable'

2021-03-09 18:19:21 -0800  Kevin McCarthy  <kevin@8t8.us> (847ce203)

        * Add <view-alt-pager> to compose menu.
        
        This mirrors the <view-pager> in the attachment menu (and just added
        to the compose menu), but adds it to the compose menu for alternative
        generation.

M	OPS
M	compose.c
M	doc/manual.xml.head
M	functions.h

2021-03-09 18:05:17 -0800  Kevin McCarthy  <kevin@8t8.us> (5a325ba4)

        * Add view-mailcap, view-pager, view-text to compose menu.
        
        These are less commonly needed, so don't bind them to a key.  But for
        those who need it, make them be available.

M	OPS
M	compose.c
M	functions.h

2021-03-10 18:58:22 +0100  Vincent Lefevre  <vincent@vinc17.net> (db80f61a)

        * Updated French translation.

M	po/fr.po

2021-03-05 18:52:48 -0800  Kevin McCarthy  <kevin@8t8.us> (191b0513)

        * Fix $ssl_client_cert usage with SMTP.
        
        The ssl and gnutls client-cert setup code was calling
        mutt_account_getuser().  This caused two problems.  First, it's not
        necessarily the case that there will be a username.  Second,
        populating the user would cause smtp_open() to check for AUTH
        capabilities and call smtp_auth - even if the user is already
        authenticated by the cert.  The server won't advertize AUTH if they
        already authenticated, causing a connection abort.
        
        Remove prompt for mutt_account_getuser() in the ssl and gnutls client
        certificate connection code.  The SASL code has callbacks, so I don't
        understand why it would need this.  Let's take it out and see if
        anyone screams 8-P.  If necessary, we can add a mutt_account_getuser()
        call to the very beginning of imap_auth_sasl().
        
        Revamp the openssl ssl_passwd_cb() prompt.  From the man pages, it
        appears to be used for the cert decryption.  There's no need to call
        mutt_account_getuser() and use the generic mutt_account_getpass() just
        to read a password in.  Instead create a callback function version to
        customize the prompt for a client cert with just the host.
        
        Change the SMTP authentication test to check if the AUTH capabilities
        are set, instead of if the user field is set before calling
        smtp_auth().

M	account.c
M	account.h
M	mutt_ssl.c
M	mutt_ssl_gnutls.c
M	smtp.c

2021-03-07 09:02:23 +0100  Olaf Hering  <olaf@aepfle.de> (fcc62991)

        * refresh de.po
        
        align with result of make update-po
        
        Signed-off-by: Olaf Hering <olaf@aepfle.de>

M	po/de.po

2021-03-06 13:59:54 -0800  Kevin McCarthy  <kevin@8t8.us> (2054ccf2)

        * Relocate po OPS files to bottom of POTFILES.in.
        
        This matches the pre-0.21 migration order, and will reduce the size of
        updates for the next release.

M	po/POTFILES.in

2021-03-06 22:26:21 +0100  Olaf Hering  <olaf@aepfle.de> (1267c1ca)

        * refresh de.po
        
        Signed-off-by: Olaf Hering <olaf@aepfle.de>

M	po/de.po

2021-03-06 11:22:19 -0800  Kevin McCarthy  <kevin@8t8.us> (8940dbe0)

        * Merge branch 'stable'

2021-03-04 12:24:42 -0800  Kevin McCarthy  <kevin@8t8.us> (a796a1bd)
