ChangeLog 764 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321
2018-05-17 12:24:31 -0700  Ivan Vilata i Balaguer  <ivan@selidor.net> (70c9c89b)

        * Updated Catalan translation.

M	po/ca.po

2018-05-17 10:10:52 -0700  TAKAHASHI Tamotsu  <ttakah@lapis.plala.or.jp> (5c717661)

        * Updated Japanese translation.

M	po/ja.po

2018-05-17 12:45:39 +0200  Vincent Lefevre  <vincent@vinc17.net> (30778c5e)

        * fr.po: updated Project-Id-Version and removed old translations.

M	po/fr.po

2018-05-14 09:12:11 +0200  Olaf Hering  <olaf@aepfle.de> (f77b641d)

        * Updated German translation.
        
        Signed-off-by: Olaf Hering <olaf@aepfle.de>

M	po/de.po

2018-05-10 09:12:19 -0700  Kevin McCarthy  <kevin@8t8.us> (400b44a1)

        * Note that $pgp/smime_self_encrypt now default to set.

M	UPDATING

2018-05-10 09:00:21 -0700  Kevin McCarthy  <kevin@8t8.us> (2364c059)

        * Add note about libidn2 v2.0.0 or greater to UPDATING file.

M	UPDATING

2018-05-09 09:32:48 -0700  Vsevolod Volkov  <vvv@mutt.org.ua> (435ca12e)

        * Updated Russian translation.

M	po/ru.po

2018-05-09 09:30:55 -0700  Vsevolod Volkov  <vvv@mutt.org.ua> (c4559f92)

        * Updated Ukrainian translation.

M	po/uk.po

2018-05-08 19:32:12 -0700  Kevin McCarthy  <kevin@8t8.us> (16a581cf)

        * Add declaration checks for libidn2.
        
        The libidn compatibilty layer was only added in version
        2.0.0 (2017-03-29).  idn2.h defines macros, so use AC_CHECK_DECL
        instead of AC_CHECK_FUNC.
        
        $with_idn2 doesn't have an "auto" state, so remove a few unneeded
        copy/paste checks from idn.

M	configure.ac

2018-05-08 10:11:17 -0700  Petr Pisar  <petr.pisar@atlas.cz> (249a6f6c)

        * Updated Czech translation.

M	po/cs.po

2018-05-05 07:35:59 -0700  Kevin McCarthy  <kevin@8t8.us> (0e9f0bed)

        * Update the UPDATING file for 1.10.0.

M	UPDATING

2018-05-06 09:43:25 -0700  Morten Bo Johansen  <mjb@spamcop.net> (cd981cd0)

        * Updated Danish translation.

M	po/da.po

2018-05-05 07:39:36 -0700  lilydjwg  <lilydjwg@gmail.com> (3d9b2704)

        * Updated Simplified Chinese translation.

M	po/zh_CN.po

2018-05-04 02:43:56 +0200  Vincent Lefevre  <vincent@vinc17.net> (643e31c3)

        * Updated French translation.

M	po/fr.po

2018-04-29 15:10:21 -0700  Kevin McCarthy  <kevin@8t8.us> (97bc33dc)

        * Add echo command.
        
        Prints messages using mutt_message().  Sets OPTFORCEREFRESH to allow
        updates in the middle of a macro.
        
        Calls mutt_sleep(0) to pause for $sleep_time seconds after displaying
        the message.

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

2018-05-03 12:24:55 +0200  Vincent Lefevre  <vincent@vinc17.net> (92ae6db7)

        * Missing comma.

M	doc/manual.xml.head

2018-05-01 15:13:51 -0700  Kevin McCarthy  <kevin@8t8.us> (9e8ee145)

        * Update copyright notices.

M	COPYRIGHT
M	doc/manual.xml.head
M	doc/mutt.man
M	doc/smime_keys.man
M	main.c

2018-04-28 13:21:42 -0700  Kevin McCarthy  <kevin@8t8.us> (e4557546)

        * Update pattern documentation.
        
        Note that ~b, ~B, ~h, ~M, and ~X read the message in, and that this
        can be much slower.
        
        Change =b, =B, =h table rows to document just the IMAP behavior.  The
        "=" simple string behavior is already covered below, and makes it less
        obvious whether "***)" should be added to those entries in the table.
        
        Break up the simple string and imap server-side matching explanation
        into two paragraphs.
        
        Add ~M to the list of patterns you can't use message scoring with.
        
        Add equivalent, if briefer, explanations to the muttrc.man page.

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

2018-04-26 18:00:00 -0700  Ammon Riley  <ammon.riley@gmail.com> (974235c7)

        * Add ~M pattern to match mime Content-Types.

M	doc/manual.xml.head
M	doc/muttrc.man.head
M	mutt.h
M	pattern.c

2018-04-30 16:17:52 -0700  Kevin McCarthy  <kevin@8t8.us> (c9f5498c)

        * Add more explanation of known vs subscribed lists to manual.
        
        Mention in both the "Mailing Lists" and "Handling Mailing Lists"
        sections the difference between known and subscribed mailing lists.
        
        Note that the Mail-Followup-To header is generated if any of the
        recipients are known mailing lists.  If any of those are subscribed
        mailing lists, the sender's address will not be in the header.  If all
        of them are known (but not subscribed), the sender's address will be
        added to the header.

M	doc/manual.xml.head

2018-04-23 23:48:33 +0200  Vincent Lefevre  <vincent@vinc17.net> (d12c361c)

        * Updated French translation.

M	po/fr.po

2018-04-22 13:02:06 -0700  Kevin McCarthy  <kevin@8t8.us> (26b82202)

        * Add Error History function and config var.
        
        <error-history>, by default unbound, shows a list of the recent error
        messages displayed by Mutt via mutt_message() or mutt_error().
        
        $error_history sets the size of the history ring.
        
        For now, I've decided to include mutt_message() messages too.  If this
        is too chatty, we can restrict it to mutt_error() easily in the
        future.

M	OPS
M	curs_lib.c
M	curs_main.c
M	functions.h
M	globals.h
M	init.c
M	init.h
M	menu.c
M	pager.c
M	protos.h

2018-04-20 17:28:47 +0200  Vincent Lefevre  <vincent@vinc17.net> (f2e8392f)

        * Updated French translation.

M	po/fr.po

2018-04-19 15:40:35 -0700  Kevin McCarthy  <kevin@8t8.us> (3ec02fbc)

        * Add $sort_browser options for count and unread.

M	browser.c
M	init.h

2018-04-19 13:51:07 -0700  Kevin McCarthy  <kevin@8t8.us> (69959820)

        * Add $browser_abbreviate_mailboxes.
        
        This allows '=' and '~' mailboxes shortcuts to be turned off in the
        browser mailbox list.
        
        The default $sort_browser value of "alpha" uses strcoll(3), which
        ignores some punctuation.  When using multiple accounts with
        dynamically changing values of $folder, this can lead to an
        unintuitive sorting order.  (See issue #22 for an example.)
        
        This problem came about because of commit 8328ce68, which enabled
        mutt_pretty_mailbox() calls for IMAP and POP mailboxes too.  The
        commit had a valid point about consistency and too-wide mailbox
        listings, so I don't really want to revert it.
        
        This option provides an alternative to completely enable/disable the
        shortcuts for those who run into an issue.

M	browser.c
M	init.h
M	mutt.h

2018-04-16 16:32:33 -0700  Kevin McCarthy  <kevin@8t8.us> (4e4574c4)

        * Fix mkreldate.sh in master to use [-r] test too.

M	mkreldate.sh

2018-04-16 16:31:08 -0700  Kevin McCarthy  <kevin@8t8.us> (8da2e090)

        * Merge branch 'stable'

2018-04-16 16:29:08 -0700  Kevin McCarthy  <kevin@8t8.us> (296ccab5)

        * Switch to using [ -r ] in version.sh for Bourne shell compatibility.
        
        Thanks to Paul Keusemann for pointing out the issue.

M	version.sh

2018-04-15 15:57:28 -0700  Kevin McCarthy  <kevin@8t8.us> (79939350)

        * Add a comment in auth_gss about RFCs and null-termination.

M	imap/auth_gss.c

2018-04-09 13:46:42 +0200  Matej Muzila  <mmuzila@redhat.com> (13a2f614)

        * Add libidn2 support

M	configure.ac
M	doc/makedoc-defs.h
M	init.h
M	main.c
M	mutt.h
M	mutt_idna.c
M	mutt_idna.h
M	mutt_socket.c
M	mutt_ssl.c

2018-04-14 13:28:11 -0700  Kevin McCarthy  <kevin@8t8.us> (a21fb60e)

        * Merge branch 'stable'

2018-04-14 13:22:48 -0700  Kevin McCarthy  <kevin@8t8.us> (bf161cf5)

        * automatic post-release commit for mutt-1.9.5

M	ChangeLog
M	UPDATING
M	VERSION

2018-04-13 20:48:28 -0700  Kevin McCarthy  <kevin@8t8.us> (2e8f6e3f)

        * Merge branch 'stable'

2018-04-13 19:17:24 -0700  Kevin McCarthy  <kevin@8t8.us> (13a8f660)

        * Merge branch 'stable'

2018-04-09 15:39:08 -0700  Kevin McCarthy  <kevin@8t8.us> (29d6f261)

        * Merge branch 'stable'

2018-04-02 11:36:05 -0700  Kevin McCarthy  <kevin@8t8.us> (9bb76cce)

        * Merge branch 'stable'

2018-04-02 10:28:12 -0700  Grzegorz Szymaszek  <gszymaszek@short.pl> (1e9df3c8)

        * Updated Polish translation.

M	po/pl.po

2018-03-30 13:37:54 +0100  Christian Ebert  <blacktrash@gmx.net> (e56d30e5)

        * pager specifc "show incoming mailboxes list" macro
        
        Exiting the pager before change-folder avoids 'Not available in this
        menu' error when selecting a different entry in some circumstances.

M	doc/Muttrc.head

2018-03-24 15:10:13 -0700  Kevin McCarthy  <kevin@8t8.us> (ed3f8b6a)

        * Increase account.user/login size to 128.
        
        Like the pass field in commit 52949004, the existing size was
        insufficient for the reporter of issue #18.  For now, just bump up the
        size, but I'll move up looking into making these dynamically sized.

M	account.h

2018-03-22 20:23:46 -0700  Kevin McCarthy  <kevin@8t8.us> (3ffc0ec4)

        * Remove dead code in pgp.c
        
        pgp_extract_keys_from_messages() has been subsumed by
        crypt_extract_keys_from_messages().  The function had incorrect
        multi-bit flag comparisons, but since it's dead code, remove it
        instead.

M	pgp.c

2018-03-22 20:04:46 -0700  Kevin McCarthy  <kevin@8t8.us> (47e6c5aa)

        * Fix comparison of flags with multiple bits set.
        
        PGPENCRYPT, PGPKEY, SMIMEENCRYPT, and SMIMEOPAQUE are all combination
        flags, with multiple bits set.  In a few places these flags were
        bitwise-and'ed incorrectly: expecting a non-zero result to indicate
        all the bits in the flag were set.  Change those to explicitly compare
        the result against the original flag.

M	hdrline.c
M	pattern.c
M	recvattach.c
M	sendlib.c

2018-03-23 02:59:38 +0100  Vincent Lefevre  <vincent@vinc17.net> (66063c45)

        * Updated French translation.

M	po/fr.po

2018-03-22 12:29:59 -0700  Kevin McCarthy  <kevin@8t8.us> (94b9549e)

        * Change prompt string for $crypt_verify_sig
        
        Thanks to Michael Tatge for pointing out that the prompt is used for
        both PGP and S/MIME.

M	commands.c

2018-03-22 09:39:49 -0700  Kevin McCarthy  <kevin@8t8.us> (e275bb06)

        * Merge branch 'stable'

2018-03-15 10:24:35 -0700  Kevin McCarthy  <kevin@8t8.us> (e250c602)

        * Change mutt_error call in mutt_gpgme_set_sender() to dprint.
        
        The message is not an error message, and flies by so quickly it has
        little informative content.  Change it to use dprint instead.
        
        Thanks to Darac Marjal for reporting the issue.

M	crypt-gpgme.c

2018-03-14 04:28:20 +0100  Vincent Lefevre  <vincent@vinc17.net> (2ddd541e)

        * Updated French translation.

M	po/fr.po

2018-03-13 19:09:45 -0700  Kevin McCarthy  <kevin@8t8.us> (a0b3740b)

        * Improve the error message when a signature is missing.
        
        Thanks to Vincent Lefèvre for reporting the issue and for the wording
        suggestion!

M	crypt.c

2018-03-12 12:24:24 +0100  Vincent Lefevre  <vincent@vinc17.net> (f6232a25)

        * Updated French translation.

M	po/fr.po

2018-03-11 12:48:46 -0700  Kevin McCarthy  <kevin@8t8.us> (f47a159b)

        * Add $abort_noattach and $abort_noattach_regexp options.
        
        $abort_noattach_regexp is matched against the body of a message.  If
        so, the $abort_noattach quadoption is used to prompt whether to abort
        sending.
        
        Thanks to Antonio Radici for bringing the original version of the
        patch to our attention, which he pulled from
        https://github.com/tlvince/pkgbuild/blob/master/mutt-kiss/mutt-attach.patch
        
        This version was rewritten to use a regexp, to fix a few issues, and
        to better fit in with Mutt styles and conventions.

M	init.h
M	mutt.h
M	mutt_regex.h
M	send.c

2018-03-03 13:44:12 -0800  Kevin McCarthy  <kevin@8t8.us> (6829c390)

        * Merge branch 'stable'

2018-02-28 15:21:50 -0800  Kevin McCarthy  <kevin@8t8.us> (7561d7bc)

        * Merge branch 'stable'

2018-02-21 18:32:12 -0800  Kevin McCarthy  <kevin@8t8.us> (338019b3)

        * Merge branch 'stable'

2018-02-20 19:09:16 -0800  Kevin McCarthy  <kevin@8t8.us> (2d4081ac)

        * Improve index color cache flushing behavior.
        
        Flush when redefining the colors for an existing color line, in
        addition to when defining a new color line.
        
        Flush only when uncoloring the index.

M	color.c

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

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

M	mbox.c

2018-02-08 12:20:02 +0100  Vincent Lefevre  <vincent@vinc17.net> (088e1903)

        * Change mkreldate.sh to use the UTC date with git, so that it is increasing.

M	mkreldate.sh

2018-02-06 14:42:40 -0800  Kevin McCarthy  <kevin@8t8.us> (02d571c2)

        * Fix document version and date for git build.
        
        Change mkreldate.sh to output just the date, so it can be used in the
        manual too.

M	Makefile.am
M	doc/Makefile.am
M	mkreldate.sh

2018-02-05 18:43:12 -0800  Kevin McCarthy  <kevin@8t8.us> (fefbd81f)

        * Use git to generate the release date if available.
        
        For now, fall back to the ChangeLog.  Perhaps the release date should
        be generated from a file, similar to VERSION, for those cases instead.

M	Makefile.am
A	mkreldate.sh

2018-02-06 01:57:48 +0100  Vincent Lefevre  <vincent@vinc17.net> (65e1f5c8)

        * Add a blank line between the compile options and the contact info for mutt -v

M	main.c

2018-02-05 13:19:40 +0100  Vincent Lefevre  <vincent@vinc17.net> (731629e2)

        * Updated French translation.

M	po/fr.po

2018-02-04 15:24:59 -0800  Kevin McCarthy  <kevin@8t8.us> (e82c9ce2)

        * Put gitlab issues url on a separate line.
        
        This removes the need to use brackets, and makes it easier for
        translations to fit within 80 columns.
        
        Thanks to Derek Martin for the suggested wording, and to Vincent
        Lefèvre for proofreading and noticing a small error.

M	main.c

2018-02-04 15:15:55 -0800  Kevin McCarthy  <kevin@8t8.us> (1fe6318b)

        * Fix history menu title.
        
        Remove an accidental leading space.  Thanks to Vincent Lefèvre for
        noticing the problem and providing a patch!

M	history.c
M	po/fr.po

2018-02-04 18:29:52 +0100  Vincent Lefevre  <vincent@vinc17.net> (f57e5171)

        * Updated French translation.

M	po/fr.po

2018-02-03 18:08:28 -0800  Kevin McCarthy  <kevin@8t8.us> (aa6903c9)

        * Add history-search function, bound to ctrl-r.
        
        Create a very basic "search history" functionality in the line editor.
        It uses the current input, and searches backward through history.  If
        there is one match, it immediately uses that otherwise it pops up a
        simple menu of matches.

M	OPS
M	doc/manual.xml.head
M	enter.c
M	functions.h
M	history.c
M	history.h

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

        * Merge branch 'stable'

2018-01-31 15:01:18 -0800  Kevin McCarthy  <kevin@8t8.us> (22e1e87c)

        * Merge branch 'stable'

2018-01-31 14:22:07 -0800  Kevin McCarthy  <kevin@8t8.us> (fea9f7db)

        * Merge branch 'stable'

2018-01-27 11:58:12 -0800  Kevin McCarthy  <kevin@8t8.us> (eca744f5)

        * Merge branch 'stable'

2018-01-21 19:41:47 -0800  Kevin McCarthy  <kevin@8t8.us> (9ee1f84d)

        * Remove useless assignments in add_to_list functions.
        
        The code was probably pulled from some of the header processing
        functions, which were in a loop.  In those versions, "last" pointed to
        a collection of new entries appended, but in these two functions,
        updating last just obfuscates the code.

M	init.c

2018-01-21 18:56:12 -0800  Kevin McCarthy  <kevin@8t8.us> (8dd14816)

        * Add a blurb about $new_mail_command in the mailboxes section.

M	doc/manual.xml.head

2018-01-21 18:34:45 -0800  Kevin McCarthy  <kevin@8t8.us> (18701782)

        * Merge branch 'stable'

2018-01-17 19:20:04 -0800  Kevin McCarthy  <kevin@8t8.us> (95c7ff2b)

        * Merge branch 'stable'

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

        * Merge branch 'stable'

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

        * Merge branch 'stable'

2018-01-16 09:40:11 +0100  Olaf Hering  <olaf@aepfle.de> (8fac7a94)

        * Update po
        
        Followup for untranslate Copyright list.
        
        Signed-off-by: Olaf Hering <olaf@aepfle.de>

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-16 09:40:06 +0100  Olaf Hering  <olaf@aepfle.de> (18894e9c)

        * Split Copyright and Thanks in help output.
        
        The Copyright string is changing often, and its content is obvious.
        It does not need translation. The remaining string can be translated.
        This change avoids a stale translation once one of the years change.
        
        Signed-off-by: Olaf Hering <olaf@aepfle.de>

M	main.c

2018-01-16 09:39:57 +0100  Olaf Hering  <olaf@aepfle.de> (34267ed4)

        * Update po
        
        Preparation for following changes.
        
        Signed-off-by: Olaf Hering <olaf@aepfle.de>

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-15 20:20:17 -0800  Brendan Cully  <brendan@cully.org> (38d106c6)

        * add clang static analysis to builds

M	.gitlab-ci.yml

2018-01-15 18:40:20 -0800  Brendan Cully  <brendan@cully.org> (4e2b370c)

        * gitlab-ci: build against openssl and gnutls

M	.gitlab-ci.yml

2018-01-15 16:06:30 -0800  Kevin McCarthy  <kevin@8t8.us> (3e9647b9)

        * Add pgp_default_key and smime_sign_as info to contrib rc files.
        
        Explain $pgp_default_key vs $pgp_sign_as in gpg.rc.
        
        Explain $smime_default_key vs $smime_sign_as in smime.rc.

M	contrib/gpg.rc
M	contrib/smime.rc

2018-01-15 14:20:28 -0800  Kevin McCarthy  <kevin@8t8.us> (ee28581a)

        * Add pages to .gitlab-ci.yml
        
        Use this to regenerate the manual and store it in the pages for the
        project.

M	.gitlab-ci.yml

2018-01-15 14:43:53 +0000  Konstantin Stephan  <pigleich3@gmx.net> (6bd130cf)

        * Update smime.rc: Typo fix, consistent headings

M	contrib/smime.rc

2018-01-14 15:50:34 -0800  Brendan Cully  <brendan@cully.org> (d1724851)

        * use mutt/ubuntu build image, build with everything on

M	.gitlab-ci.yml

2018-01-13 14:49:35 -0800  Brendan Cully  <brendan@cully.org> (797a9e38)

        * skeleton .gitlab-ci.yml to compile commits

A	.gitlab-ci.yml

2018-01-13 21:21:35 +0100  Grzegorz Szymaszek  <gszymaszek@short.pl> (7ddb1ae3)

        * Fixed GPGME translations that weren’t shown but affected the keyboard

M	po/pl.po

2018-01-13 20:27:11 +0100  Grzegorz Szymaszek  <gszymaszek@short.pl> (637d4229)

        * Update pl.po

M	po/pl.po

2018-01-13 09:47:09 +0100  Olaf Hering  <olaf@aepfle.de> (6c271bc4)

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

M	po/de.po

2013-12-03 16:42:39 +0100  Olaf Hering  <olaf@aepfle.de> (5619de2b)

        * examine_directory: set directory/symlink size to zero
        
        The size of a directory or symlink in the folder browser is not meaningful.
        For directories it means just how many blocks were allocated to hold all
        entries. It does not mean that the entries are still present in the directory.
        For symlinks its the size of the target.
        Set both to zero to simplify the folder browser output.
        
        Signed-off-by: Olaf Hering <olaf@aepfle.de>

M	browser.c

2013-12-03 16:43:49 +0100  Olaf Hering  <olaf@aepfle.de> (0fa64ba9)

        * mutt_pretty_size: show real number for small files
        
        If a file is smaller than a certain size it is unfriendly to print 0K or
        0,1K as number of mails or as file size. Instead use the real number.
        
        Signed-off-by: Olaf Hering <olaf@aepfle.de>

M	muttlib.c

2018-01-11 15:16:07 -0800  Kevin McCarthy  <kevin@8t8.us> (4fa32548)

        * Merge branch 'stable'

2018-01-11 13:24:30 -0800  Kevin McCarthy  <kevin@8t8.us> (db252e61)

        * Create pgp and s/mime default and sign_as key vars. (see #3983)
        
        The $postpone_encrypt and $(pgp/smime)_self_encrypt configuration
        variables have created a somewhat messier situation for users.  Many
        of them now have to specify their keys across multiple configuration
        variables.
        
        (Trac) Ticket #3983 had a reasonable request: "if my encrypt and
        signing keys are the same, why can't I just specify my key once in my
        .muttrc?"
        
        The problem currently is that $smime_default_key and $pgp_sign_as are
        both used to specify signing keys, and are set by the "sign (a)s"
        security menu choice.  So we can't store encryption keys there because
        some users have separate sign-only capability keys.
        
        Create $pgp_default_key to store the default encryption key.  Change
        signing to use $pgp_default_key, unless overridden by $pgp_sign_as.
        The pgp "sign (a)s" will continue setting $pgp_sign_as.
        
        Create $smime_sign_as.  Change signing to use $smime_default_key
        unless overridden by $smime_sign_as.  Change s/mime "sign (a)s" menu
        to set $smime_sign_as instead.
        
        Change $postpone_encrypt and $(pgp/smime)_self_encrypt to use
        $(pgp/smime)_default_key by default.
        
        Mark $(pgp/smime)_self_encrypt_as deprecated.  They are now aliases
        for the $(pgp/smime)_default_key config vars.
        
        Change $(pgp/smime)_self_encrypt default to set.
        
        The intent is that most users now need only set
        $(pgp/smime)_default_key.  If they have a sign-only key, or have
        separate signing and encryption keys, they can put that in
        $(pgp/smime)_sign_as.  This also enables to default self_encrypt on
        and solve a very common request.
        
        Thanks to Michele Marcionelli and Vincent Lefèvre for gently pushing
        me towards a solution.

M	compose.c
M	crypt-gpgme.c
M	crypt.c
M	doc/manual.xml.head
M	globals.h
M	init.h
M	pgpinvoke.c
M	postpone.c
M	send.c
M	sendlib.c
M	smime.c

2018-01-09 04:09:11 +0100  Vincent Lefevre  <vincent@vinc17.net> (be68a00c)

        * Updated French translation.

M	po/fr.po

2018-01-08 18:07:24 -0800  Kevin McCarthy  <kevin@8t8.us> (2d2665d4)

        * Change the default of NewMailCmd to 0.
        
        This is so the documentation is generated consistently for unset
        strings.

M	init.h

2018-01-07 14:49:45 +0100  Yoshiki Vázquez Baeza  <yoshiki89@gmail.com> (2f39cf2a)

        * NewMailCmd: optionally execute a command upon new mail arrival
        
        This setting allows to run any external program to e.g. produce a
        notification on the desktop when Mutt finds new mail.
        
        Signed-off-by: Fabian Groffen <grobian@gentoo.org>

M	curs_main.c
M	globals.h
M	init.h

2018-01-07 13:06:56 +0100  Fabian Groffen  <grobian@gentoo.org> (5d5dce99)

        * cmd_handle_fatal: make error message a bit more descriptive
        
        When there are multiple IMAP connections available, "Mailbox closed"
        doesn't give a hint as to which one.  Use account info to identify which
        mailbox was closed.

M	imap/command.c

2018-01-07 12:18:37 -0800  Kevin McCarthy  <kevin@8t8.us> (0df23207)

        * Merge branch 'stable'

2018-01-06 16:15:39 -0800  Kevin McCarthy  <kevin@8t8.us> (e0229b87)

        * Merge branch 'stable'

2018-01-04 17:59:20 +0100  Vincent Lefevre  <vincent@vinc17.net> (2f510d60)

        * Updated French translation.

M	po/fr.po

2017-12-30 19:10:16 -0800  Kevin McCarthy  <kevin@8t8.us> (561e106c)

        * Disable message security if the backend is not available.
        
        Gitlab issue #3 exposed an awkward corner case: if mutt is configured
        without PGP or S/MIME, and with GPGME, but $crypt_use_gpgme is unset.
        In this case, no backend will be available, but WithCrypto will be set
        with both APPLICATION_PGP and APPLICATION_SMIME bits.
        
        That will allow various config vars to enable encryption or signing,
        even though there will be no backend available to perform them.  The
        message security flag might then be set, but when the user hits send,
        will end up back at the compose menu due to the error.
        
        The pgp or smime menu might not even be available to clear the
        security setting!
        
        Add a check in send.c before the compose menu is invoked, and give a
        warning message for the menu ops inside the compose menu.
        
        I believe this should prevent the issue.  However this is a corner
        case combined with user misconfiguration, so I don't believe is worth
        a large effort to completely eradicate.

M	compose.c
M	cryptglue.c
M	mutt_crypt.h
M	send.c

2017-12-29 15:20:38 +0100  Grzegorz Szymaszek  <gszymaszek@short.pl> (521e45e7)

        * Converted po/pl.po from ISO-8859-2 to UTF-8
        
        I’ve converted the Polish translation file to UTF-8 using iconv 2.25.

M	po/pl.po

2017-12-28 13:07:21 -0800  Kevin McCarthy  <kevin@8t8.us> (8b77d84d)

        * Mention self_encrypt options in the documentation. (closes #3983)
        
        Add a paragraph to the "Sending Cryptographically Signed/Encrypted
        Messages" section of the manual.

M	doc/manual.xml.head

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

        * Merge branch 'stable'

2017-12-18 13:02:17 -0800  Kevin McCarthy  <kevin@8t8.us> (248e9972)

        * Merge branch 'stable'

2017-12-18 03:01:07 +0100  Vincent Lefevre  <vincent@vinc17.net> (3b142cea)

        * Fixed git repo detection: for worktrees, .git is a plain file.

M	version.sh

2017-12-17 13:36:21 +0100  Adam Borowski  <kilobyte@angband.pl> (489a1c39)

        * manually touch atime when reading a mbox file
        
        The only common use of atime left is local mail agents leaving a mark on
        mbox file after the mail has been read.  And, since POSIX-2008, it is
        possible to use futimens() to alter atime even on filesystems mounted with
        noatime.
        
        There's no extra cost for doing this on when atime updates are enabled:
        the inode will be dirty already.

M	configure.ac
M	main.c
M	mbox.c
M	muttlib.c
M	protos.h

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

        * Add config.cache to .gitignore file.

M	.gitignore

2017-12-15 15:56:39 -0800  Kevin McCarthy  <kevin@8t8.us> (89e44318)

        * Merge branch 'stable'

2017-12-15 12:18:12 -0800  Kevin McCarthy  <kevin@8t8.us> (8b17d880)

        * Merge branch 'stable'

2017-12-14 16:21:04 -0800  Kevin McCarthy  <kevin@8t8.us> (35850181)

        * Merge branch 'stable'

2017-12-12 18:27:24 -0800  Kevin McCarthy  <kevin@8t8.us> (e290a8fc)

        * Merge branch 'stable'

2017-12-10 20:06:05 -0800  Kevin McCarthy  <kevin@8t8.us> (f9ca5cda)

        * Merge branch 'stable'

2017-12-03 18:15:21 -0800  Kevin McCarthy  <kevin@8t8.us> (50f85f3b)

        * Merge branch 'stable'

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

        * Convert to .gitignore file.

A	.gitignore
D	.hgignore

2017-11-29 04:21:26 +0100  Vincent Lefevre  <vincent@vinc17.net> (376280bf)

        * Updated French translation.

M	po/fr.po

2017-11-28 19:01:15 -0800  Kevin McCarthy  <kevin@8t8.us> (8b3d4db4)

        * Update copyright notices.

M	COPYRIGHT
M	bcache.c
M	buffy.c
M	imap/imap.c
M	imap/imap.h
M	main.c
M	sidebar.c

2017-11-21 18:22:26 -0800  Kevin McCarthy  <kevin@8t8.us> (20f5519e)

        * Enable full address matching during message scoring. (closes #2179) (see #3243)
        
        The tickets are old, but it seems reasonable to expect the pattern
        matching to behave the same in scoring as when applying limits or
        searching.
        
        I don't foresee a huge performance hit, and there are no arguments
        against the change in the tickets.
        
        Thanks to the muttng devs (noted in ticket 2179) and Kornilios Kourtis
        (from the Debian ticket referenced in ticket 3243).

M	score.c

2017-11-19 15:47:45 -0800  Anton Lindqvist  <anton.lindqvist@gmail.com> (117f7de1)

        * Add NONULL to debug statement in fold_one_header().

M	sendlib.c

2017-11-18 19:13:08 -0800  Kevin McCarthy  <kevin@8t8.us> (3ccd1990)

        * Fix ansi escape sequences with both reset and color parameters. (closes #3689)
        
        The initial 0 "reset/normal" was setting attr = ANSI_OFF, which was
        subsequently being or'ed with ANSI_COLOR.
        
        The color resolution was then checking for the ANSI_OFF bit and
        turning all coloring off, even though ANSI_COLOR was also set.
        
        Change the color resolution to check for "attr == ANSI_OFF" instead, so
        the color isn't reset unless the reset occurs last in the sequence.

M	pager.c

2017-11-15 14:53:24 -0800  Kevin McCarthy  <kevin@8t8.us> (78d2c197)

        * Remove useless else branch in the $smart_wrap code. (see #3857)
        
        Thanks to Vincent Lefèvre for noticing the nested else was redundant,
        since buf_ptr is already set to "buf + cnt" after the format_line()
        call.
        
        This allows us to merge the inner and outer if statement, resulting in
        simpler code.

M	pager.c

2017-11-15 14:53:19 -0800  Kevin McCarthy  <kevin@8t8.us> (b3940ed4)

        * Fix $smart_wrap to not be disabled by whitespace-prefixed lines. (closes #3857)
        
        changeset:737102af74eb fixed a folded header display issue with $smart_wrap
        by disabling $smart_wrap for lines beginning with whitespace.
        
        Unfortunately, this turns off smart wrapping in the body of an email
        too, even when the line has other whitespace breaks in it.
        
        An earlier commit, changeset:125076e0fdfa added an infinite loop fix
        when MUTT_PAGER_NSKIP is set, by disabling the smart_wrap if the space
        backtracking went to the beginning of the line.  That is, a line
        beginning with 1+ whitespace followed by a single long word.
        
        Extend this second commit by always disabling the smart_wrap in that
        case, not just when MUTT_PAGER_NSKIP is set.  This also solves the
        folded header issue without other side effects.

M	pager.c

2017-11-11 15:49:15 -0800  Kevin McCarthy  <kevin@8t8.us> (610c6b0a)

        * Add $change_folder_next option to control mailbox suggestion order.
        
        This patch is out of the Gentoo package maintained by Fabian Groffen.
        From the link below, it appears the original author was Simon Burge.
        
        I made some minor changes to get it to apply correctly, and cleaned up
        the documentation a bit.
        
        Original patch description:
        This patch brings back the original behaviour of change-folder, which
        some people find more useful.  It suggests the next folder in your
        mailboxes list that has new mail measured from the current folder,
        instead of the first folder from your mailboxes list in any case.  This
        prevents starvation of folders defined at the back of your list ;)
        See discussion: http://thread.gmane.org/gmane.mail.mutt.devel/12457

M	curs_main.c
M	init.h
M	mutt.h

2017-11-11 19:13:40 +0100  Vincent Lefevre  <vincent@vinc17.net> (11a10487)

        * Updated French translation.

M	po/fr.po

2017-11-11 18:59:31 +0100  Vincent Lefevre  <vincent@vinc17.net> (14e37771)

        * Add %R (number of read messages) for $status_format.

M	init.h
M	status.c

2017-11-10 13:06:43 -0800  Kevin McCarthy  <kevin@8t8.us> (d1659601)

        * Add message count to $move quadoption prompt.
        
        Display the number of messages that will be moved in the quadoption
        prompt, which might prove helpful for some people.
        
        Thank you to Daan van Rossum for suggesting the improvement.

M	mx.c

2017-11-09 15:06:19 +0100  Vincent Lefevre  <vincent@vinc17.net> (6db8d16a)

        * Make sure that fgets and fgetc are undefined before their redefinition.
        
        This fixes a potential issue from changeset e0a103845344.

M	mutt.h

2017-11-08 13:40:34 -0800  David Wilson  <dw@botanicus.net> (829db35b)

        * Use fgets_unlocked and fgetc_unlocked if available.
        
        Since mutt does not use threads, there is no reason it should use the
        locked variants of the FILE* IO functions. This checks if the unlocked
        functions are available, and if so enables them globally via mutt.h.
        
        Cuts load time for a 56k message, 1.8GB /var/mail mailbox from 14
        seconds to ~6 seconds, since we avoid acquiring and releasing a mutex
        for every character of input read.
        
        Before: 0m14.376s
        
            74.98%          mutt  libc-2.18.so        [.] _IO_getc
            11.87%          mutt  mutt                [.] mbox_parse_mailbox
             0.94%          mutt  [kernel.kallsyms]   [k] copy_user_generic_string
             0.83%          mutt  libc-2.18.so        [.] __strchr_sse2
             0.53%          mutt  libc-2.18.so        [.] __memcpy_sse2
             0.44%          mutt  libc-2.18.so        [.] _int_malloc
        
        After: 6 seconds
        
            68.92%     mutt  mutt                  [.] mbox_parse_mailbox
             2.25%     mutt  [kernel.kallsyms]     [k] copy_user_generic_string
             1.73%     mutt  libc-2.18.so          [.] __strchr_sse2
             1.24%     mutt  libc-2.18.so          [.] __memcpy_sse2
             1.17%     mutt  libc-2.18.so          [.] _int_malloc
             0.87%     mutt  libc-2.18.so          [.] __strspn_sse42

M	configure.ac
M	mutt.h

2017-11-08 12:57:50 -0800  Kevin McCarthy  <kevin@8t8.us> (d2262ccb)

        * Note which ssl config vars are GnuTLS or OpenSSL only. (closes #3781)
        
        It was not obvious that the ssl_ca_certificates_file was only for
        GnuTLS, or that the ssl_usesystemcerts was only for OpenSSL.

M	init.h

2017-10-15 15:13:18 +0800  Kevin McCarthy  <kevin@8t8.us> (336f7d88)

        * Add polling for the IDLE command. (closes #3957)
        
        Add $imap_poll_timeout poll for IDLE, since this is also a command
        that will freeze after waking if $imap_idle is set.

M	imap/command.c

2017-09-30 19:16:56 -0700  Kevin McCarthy  <kevin@8t8.us> (d7e84d75)

        * merge stable

2017-09-28 11:57:56 -0700  Roger Pau Monne  <roger.pau@citrix.com> (cfcd8787)

        * Enable $reply_self for group-reply, even with $metoo unset.
        
        For a (r)eply, the $metoo variable does not have any effect because
        there is a single recipient.
        
        However with (g)roup reply, the To was initially set to the sender,
        but subsequently removed my $nometoo.  The empty To line is then
        replaced with the Cc line, resulting in a (logically correct but)
        surprising outcome.
        
        Change the behavior such that $nometoo will not strip a single To
        recipient when $reply_self is set.

M	send.c

2017-09-27 13:45:36 -0700  Kevin McCarthy  <kevin@8t8.us> (285baf9a)

        * Make cmd_parse_fetch() more precise about setting reopen/check flags.
        
        Previously any FETCH with FLAGS would result in either
          idata->reopen |= IMAP_EXPUNGE_PENDING;
          -or-
          idata->check_status = IMAP_FLAGS_PENDING;
        being set.
        
        This is unnecessary in the case of responses to FLAGS.SILENT updates
        sent by mutt (which seem to commonly happen now-a-days).
        
        Change imap_set_flags() to compare the old server flags against the
        new ones, and report when _those_ updates would/did result in a local
        header flag change.  Only set one of the reopen/check_status flags in
        the event of an actual change (or potential change if a local change
        has been made to the header.)

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

2017-09-26 19:45:23 -0700  Kevin McCarthy  <kevin@8t8.us> (1099795d)

        * merge stable

2017-09-25 18:40:32 -0700  Kevin McCarthy  <kevin@8t8.us> (bf34a038)

        * Change maildir and mh check_mailbox to use dynamic sized hash. (closes #3973)
        
        The original patch is by Matt Fleming, originally posted at
        http://www.codeblueprint.co.uk/2017/01/15/a-kernel-devs-approach-to-improving2
        
        The comments there indicate Matt tried to submit to trac and mutt-dev,
        but ran into registration problems.  Thank you for the patch, and
        sorry for those problems, Matt.
        
        I modified the patch by making the same change to the
        mh_check_mailbox() code too.

M	mh.c

2017-09-23 11:41:25 -0700  Kevin McCarthy  <kevin@8t8.us> (f5935f3d)

        * merge stable

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

        * merge stable

2017-09-22 17:52:16 +0200  Vincent Lefevre  <vincent@vinc17.net> (83d23fd9)

        * Updated French translation.

M	po/fr.po

2017-09-20 10:43:33 -0700  Kevin McCarthy  <kevin@8t8.us> (56729e32)

        * Display an error message when delete mailbox fails. (see #3968)

M	browser.c

2017-09-14 12:48:26 -0700  Kevin McCarthy  <kevin@8t8.us> (bd906764)

        * merge stable

2017-09-13 15:54:31 -0700  Kevin McCarthy  <kevin@8t8.us> (baffaa68)

        * merge stable

2017-09-05 17:33:45 +0200  Vincent Lefevre  <vincent@vinc17.net> (e5515a9c)

        * Updated French translation.

M	po/fr.po

2017-09-04 15:51:07 -0700  Kevin McCarthy  <kevin@8t8.us> (03b0bec0)

        * Remove 'really' from the purge-message help description.
        
        This made it sound to the translators like a question.

M	OPS

2017-09-04 15:34:32 -0700  Kevin McCarthy  <kevin@8t8.us> (563143f8)

        * Add L10N comment to generated keymap_defs.h files.
        
        Make it clearer to translators that the strings are for the help
        screen.

M	gen_defs

2017-09-04 13:26:55 -0700  Kevin McCarthy  <kevin@8t8.us> (f2216024)

        * Add warning about using inline pgp with format=flowed. (closes #3963)
        
        The reporter noted that when trying to use inline signing with
        format=flowed, the flowed was turned off.
        
        After some research, this appears to be deliberate, probably because
        of strange interactions between inline PGP and format=flowed.  In fact
        the RFC strongly discourages their combined use:
        https://tools.ietf.org/html/rfc3676#section-4.6
        
        Add a warning and prompt to use PGP/MIME in mutt_protect().

M	crypt.c

2017-09-04 09:47:26 -0700  Kevin McCarthy  <kevin@8t8.us> (61c7e548)

        * merge stable
1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412
2018-04-13 20:39:35 -0700  Kevin McCarthy  <kevin@8t8.us> (ceb0534d)

        * Improve gss debug printing of status_string.
        
        Commit f52ee2f7 ensured the debug strings were properly '\0'
        terminated.  However, it did not prevent the strncpy from reading past
        the end of the status_string.value data; it simply capped it
        afterwards.  Improve the code so it only reads up to
        status_string.length without overwriting the buffer.

M	imap/auth_gss.c

2018-04-13 19:03:29 -0700  Kevin McCarthy  <kevin@8t8.us> (f52ee2f7)

        * Remove trailing null count from gss_buffer_desc.length field.
        
        RFC 2744 section 3.2.2 clearly states that trailing NULL characters
        are not to be included in the length field, and are not to be assumed
        to be present in the value field.
        
        Thanks to Greg Hudson, who recently debugged this same issue with
        fetchmail, and kindly took the time to look at Mutt's code too.

M	imap/auth_gss.c

2018-04-08 15:37:09 -0700  Kevin McCarthy  <kevin@8t8.us> (a550d535)

        * Rename _regex.h to _mutt_regex.h to avoid name collision on Macs.
        
        On Macs, <regex.h> includes <_regex.h>.  Because Mutt defines '-I .'
        during compilation, our bundled version of _regex.h was being used
        instead of the system one.
        
        I have no idea how it managed to work before, but starting in Xcode
        9.3, the differences in struct size and fields started to produce a
        crash and other strange behavior.
        
        The real issue is our use of '-I .' during compilation, which allows
        our local headers to override system ones.  An easier fix for now is
        to rename the header.
        
        Many thanks to Charles Diza, Christian Ebert, and Fabian Groffen for
        their help trying things out and helping to debug the problem.
        
        Also, a huge thanks to Steve Karmeinsky for allowing me to ssh in to
        his Mac so I could track down the underlying issue.

M	Makefile.am
R100	_regex.h	_mutt_regex.h
M	mutt_regex.h
M	regex.c

2018-04-02 11:30:31 -0700  Kevin McCarthy  <kevin@8t8.us> (4fe6cfeb)

        * configure: check for tinfo matching ncurses
        
        When we selected ncursesw, look for tinfow as well.  Since ncurses-6.1
        the binary compatibility between tinfo and tinfow disappeared, resulting
        in crashes and other odd behaviour.
        
        This change checks for tinfo or tinfow based on which ncurses we found
        to continue with.
        
        https://bugs.gentoo.org/651552
        
        [Thanks to Fabian Groffen for the patch.  I made a minor modification
        to fall back to tinfo because pre-6.1 systems may not have a tinfow
        but still need tinfo to compile.]

M	configure.ac

2018-03-22 09:32:31 -0700  Kevin McCarthy  <kevin@8t8.us> (eeba9a9b)

        * Fix s/mime non-detached signature handling.
        
        This fix is based on stbuehler's patch from
        https://dev.gnupg.org/T2919.
        
        Recent versions of gpgme seem to terminate the connection for a
        protocol error.  stbuehler's analysis is that this is actually a
        gpgme bug, but recreating the context works around the problem.

M	crypt-gpgme.c

2018-03-03 13:40:27 -0800  Kevin McCarthy  <kevin@8t8.us> (9eeb406b)

        * automatic post-release commit for mutt-1.9.4

M	ChangeLog
M	UPDATING
M	VERSION
1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530
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
1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712
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
1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859
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
1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691
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.

	Thanks to TAKAHASHI Tamotsu for the original patch suggesting
	changes to the L10N comments.

2017-06-18 10:58 -0700  TAKAHASHI Tamotsu  <ttakah@lapis.plala.or.jp>  (0efae3363358)

	* po/ja.po: Updated Japanese translation.

2017-06-14 19:21 -0700  Kevin McCarthy  <kevin@8t8.us>  (7dc8a6a3592a)

	* crypt-gpgme.c: Auto-pad translation for the GPGME key selection
	"verify key" headers.

	Remove the ridiculous need for the translators to pad the
	translation strings themselves.

2017-06-14 15:23 -0700  Morten Bo Johansen  <mjb@spamcop.net>  (2188de087f35)

	* po/da.po: Updated Danish translation.

2017-06-14 15:12 -0700  Kevin McCarthy  <kevin@8t8.us>  (e8368cedbd95)

	* compose.c, init.h, send.c: Enable all header fields in the compose
	menu to be translated.

	While it is suggested they need not be, for some locales it might be
	preferable to be able to localize the fields.

	For instance, fr_FR may want to change the punctuation to have a
	space in front of the colon. ja_JP may be more comfortable with a
	native character set description of the field when using it every
	day.

2017-06-12 18:29 -0700  Kevin McCarthy  <kevin@8t8.us>  (0e3730ed2c3c)

	* sendlib.c: Force hard redraw after $sendmail instead of calling
	mutt_endwin. (closes #3952) (see #3948)

	Adding a mutt_endwin() seemed like a clean solution to allowing
	ncurses pinentry for $sendmail, but it leaves other users watching a
	blank screen. This change is extremely likely to generate a large
	number of complaints and bug reports. So instead, force a hard
	refresh afterwards.

2017-06-12 17:57 -0700  Kevin McCarthy  <kevin@8t8.us>  (26cbf2cac701)

	* crypt-gpgme.c: Make GPGME key selection behavior the same as
	classic-PGP. (see #3950)

	Classic-PGP key selection auto-selected a match if there was a
	single strong, valid, address-match result, even if there were other
	weak matches.

	GPGME was prompting in the same situation, if there were other weak
	matches.

	Change GPGME to match the classic behavior, as this is more useful
	and matches the manual description.

2017-06-09 11:31 -0700  Consus  <consus@gmx.com>  (dd0208f13983)

	* compose.c: Rename 'sign as' to 'Sign as'; makes compose menu more
	consistent.

2017-06-09 11:31 -0700  Kevin McCarthy  <kevin@8t8.us>  (b4d0bb558636)

	* compose.c: Change the compose menu fields to be dynamically padded.

	Pad based on the maximum width of the fields. Note that this is a
	bit of a mess, because some of the fields are translated while
	others are not.

2017-06-08 13:26 -0700  Kevin McCarthy  <kevin@8t8.us>  (966f08249216)

	* init.c, pgp.c: Backout 02ff4277259e (see #3948)

	Vincent expressed some legitimate concerns about exporting this to
	all programs lauched by mutt. The user can always set GPG_TTY in
	their .bashrc if needed for $sendmail. cf90bf5989f3 should resolve
	the refresh issue.

2017-06-06 18:38 -0700  Kevin McCarthy  <kevin@8t8.us>  (cf90bf5989f3)

	* sendlib.c: Add a mutt_endwin() before invoking $sendmail. (closes
	#3948)

	This is to support invoking a program such as msmtp that can use gpg
	to decrypt a password. The ncurses pinentry can corrupt the screen
	unless we exit curses.

2017-06-06 18:38 -0700  Kevin McCarthy  <kevin@8t8.us>  (02ff4277259e)

	* init.c, pgp.c: Move setting of GPG_TTY to mutt_init(). (see #3948)

	This allows other programs mutt runs to use the ncurses pinentry if
	needed.

2017-06-06 18:38 -0700  Kevin McCarthy  <kevin@8t8.us>  (915ba3928d49)

	* configure.ac, m4/gettext.m4, pgp.c, protos.h, setenv.c: Restore
	setenv function.

	Partially revert fa1192803257, restoring setenv. It turns out we
	still need the function.

2017-06-02 13:17 -0700  TAKAHASHI Tamotsu  <ttakah@lapis.plala.or.jp>  (a11770c2137b)

	* po/ja.po: Updated Japanese translation.

2017-06-01 15:17 -0700  Kevin McCarthy  <kevin@8t8.us>  (f26adb2b0543)

	* curs_main.c, menu.c: Fix tag-prefix to not abort on $timeout.

	If $timeout is set very low, then it can cancel the tag-prefix
	before the user has time to press the desired command.

	Change the code to set the tag flag, and then recontinue with normal
	event processing instead. Cancel on an abort, but continue with a
	timeout.

	Thanks to Lauri Tirkkonen for reporting the issue.

2017-06-01 15:17 -0700  Kevin McCarthy  <kevin@8t8.us>  (ec6530cb0a5a)

	* curs_main.c, enter.c, keymap.c, menu.c, pager.c: Change km_dokey()
	to return -2 on a timeout/sigwinch.

	In some cases, such as tag-prefix or _mutt_enter_string(), it is
	desirable to be able to distinguish between a timeout/sigwinch event
	and an input error/abort/ctrl-g.

2017-06-01 13:55 -0700  TAKAHASHI Tamotsu  <ttakah@lapis.plala.or.jp>  (152d548c1bcf)

	* main.c: Enable TEXTDOMAINDIR override to make translation testing
	easier.

	If set, TEXTDOMAINDIR will point to a translation directory instead
	of using the mutt installation directory.

2017-06-01 13:33 -0700  TAKAHASHI Tamotsu  <ttakah@lapis.plala.or.jp>  (4e29b337e967)

	* crypt-gpgme.c, hook.c, init.c, main.c, mutt_ssl.c, pattern.c, pop.c,
	pop_auth.c: Fix "format string is not a string literal" warnings.
	(closes #3949)

	Mutt calls msgfmt with '-c' to verify that translation format
	strings match, but it is still safer to indirect strings with no
	formatting through %s.

2017-05-31 16:19 -0700  Kevin McCarthy  <kevin@8t8.us>  (093b0c6c6d86)

	* doc/manual.xml.head: merge stable

2017-05-31 16:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (d3922568a777)

	* doc/manual.xml.head: Add note about message scoring and thread
	patterns. (see #3947)

	Because scoring occurs before the mailbox is sorted, thread patterns
	don't work. Document a suggested workaround of pushing the score
	command in a folder hook.

	Also, fix the link target for the score command synopsis.

2017-05-30 12:49 -0700  Kevin McCarthy  <kevin@8t8.us>  (35fba390b1f3)

	* merge stable

2017-05-30 12:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (fff7d4bb459a)

	* .hgsigs: mutt-1.8.3 signed

2017-05-30 12:47 -0700  Kevin McCarthy  <kevin@8t8.us>  (6a54fbc38fa4)

	* .hgtags: Added tag mutt-1-8-3-rel for changeset fe5275246e13

2017-05-30 12:47 -0700  Kevin McCarthy  <kevin@8t8.us>  (fe5275246e13)

	* ChangeLog, UPDATING, VERSION: automatic post-release commit for
	mutt-1.8.3

2017-05-29 11:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (228364e8abb7)

	* init.h, send.c: Change $postpone_encrypt to use self-encrypt
	variables first.

	The concept of postpone encryption is similar to self-encrypting on
	send. The problem is the $postpone_encrypt_as option doesn't take
	into account whether PGP or S/MIME is being used.

	Since we need to add the new options for self-encryption, modify
	$postpone_encrypt to use them by default instead, falling back to
	$postpone_encrypt_as if they are unset. Note $postpone_encrypt_as is
	deprecated in the documentation.

2017-05-29 11:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (ca95f3e38355)

	* crypt.c, globals.h, init.h, mutt.h: Add self-encrypt options for PGP
	and S/MIME.

	Add $pgp_self_encrypt, $pgp_self_encrypt_as, $smime_self_encrypt,
	$smime_self_encrypt_as.

	$pgp_sign_as and $smime_default_key are inappropriate to use, as
	they specify signing key/certs. In some cases, this is a different
	value than the encryption key/cert.

2017-05-29 11:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (085fc55029d8)

	* smime.c: Convert classic s/mime to space delimit findKeys output.

	Unlike gpgme and classic pgp, smime used a "cert\ncert\n" pattern.
	Convert to use a space-delimited format, so the self-encrypt option
	code can be uniform across pgp, s/mime, and gpgme.

2017-05-24 15:46 -0700  Kevin McCarthy  <kevin@8t8.us>  (a636bc4a4940)

	* imap/message.c: Change imap body cache cleanup to use the uid_hash.

	This should speed up $message_cache_clean cleanup when syncing.

2017-05-23 15:54 -0700  Kevin McCarthy  <kevin@8t8.us>  (8904261ed212)

	* merge stable

2017-05-23 15:53 -0700  Kevin McCarthy  <kevin@8t8.us>  (fa0c2155ab8f)

	* mx.c: Fix memory leak when closing mailbox and using the sidebar.

	The code updating the sidebar counts decremented the msgcount, but
	did not set it back to the original value. Which means fastclose was
	not freeing all the headers.

	Update the sidebar only when something is deleted, since I don't
	believe it's required otherwise and the code is a bit cleaner that
	way.

2017-05-22 18:30 -0700  Kevin McCarthy  <kevin@8t8.us>  (407100d15766)

	* imap/imap.c: Don't clean up msn idata when closing an open-append
	mailbox. (see #3942)

	This is a continuation of commit 59a2125b49f2 with changes made in
	the default branch.

	Thanks again to Will Yardley for helping test the imap read-headers
	changes and discovering this bug.

2017-05-22 18:25 -0700  Kevin McCarthy  <kevin@8t8.us>  (aec6b48e8ea5)

	* imap/imap.c: merge stable

2017-05-22 18:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (59a2125b49f2)

	* imap/imap.c: Don't clean up idata when closing an open-append
	mailbox.

	open-append borrows the idata just for the connection. The "mailbox
	specific" part of the idata may be being used by a normal open-
	mailbox.

	Don't free the idata "mailbox specific" part when closing an open-
	append mailbox.

	Thanks to Will Yardley for discovering the bug as part of testing
	the revised IMAP fetch_headers code (in the default branch).

2017-05-22 05:14 -0700  Kevin McCarthy  <kevin@8t8.us>  (e614fb00459b)

	* merge stable

2017-05-22 05:08 -0700  TAKAHASHI Tamotsu  <ttakah@lapis.plala.or.jp>  (1ddf2641f369)

	* mx.c: Fix potential segv if mx_open_mailbox is passed an empty
	string. (closes #3945)

	If path is "", ctx->path will be NULL. realpath() generally will
	segv if the first parameter is NULL.

2017-05-22 04:43 -0700  Kevin McCarthy  <kevin@8t8.us>  (4ab3a8a2e321)

	* imap/message.c: Fix mfc overflow check and uninitialized variable.

	The check borrowed from mx_alloc_memory() works because it is
	incremented 25 at a time. I don't believe it will work for the
	direct set case used in imap_alloc_msn_index(). Instead, use a more
	conservative check.

	In imap_read_headers(), make sure mfhrc is initialized. It would be
	tested without being set if imap_cmd_step() returned OK right away.

2017-05-21 18:45 -0700  Kevin McCarthy  <kevin@8t8.us>  (5904c6376f77)

	* imap/message.c: Don't abort header cache evaluation when there is a
	hole. (see #3942)

	Instead, find the first missing MSN and generate a more complicated
	sequence set specifying the missing ranges.

	This removes the assumption that the header cache query returned
	results in MSN order.

2017-05-21 18:45 -0700  Kevin McCarthy  <kevin@8t8.us>  (1658ab70377b)

	* imap/message.c: Small imap fetch fixes. (see #3942)

	Add an integer overflow test, pulled from mx_alloc_memory(), since
	the count comes from a potentially hostile server.

	After reviewing the RFC a bit, it turns out the server is not
	supposed to send EXPUNGE responses during a FETCH. Change the
	comment, but keep the conservative code.

2017-05-21 10:51 -0700  Kevin McCarthy  <kevin@8t8.us>  (f87c679e508f)

	* imap/message.c: Properly adjust fetch ranges when handling new mail.
	(see #3942)

	When pulling down headers, it is possible for expunge responses to
	happen too. If we get a new mail count, we need to take into account
	changes to the max_msn due to the expunges.

2017-05-20 18:52 -0700  Kevin McCarthy  <kevin@8t8.us>  (77d3173aecff)

	* imap/command.c, imap/imap.c, imap/imap_private.h, imap/message.c:
	Add msn_index and max_msn to find and check boundaries by MSN. (see
	#3942)

	Since there can be gaps in MSNs, the largest MSN in the context is
	not necessarily ctx->msgcount.

	Use max_msn instead of ctx->msgcount for:
	  - the starting MSN of new mail header fetching
	  - boundary checking in fetch, expunge, and other places

	Use msn_index to efficiently look up headers by MSN. This makes the
	expunge code slightly more efficient. It also makes FETCH handling,
	and duplicate FETCH FLAG handling efficient.

2017-05-20 18:52 -0700  Kevin McCarthy  <kevin@8t8.us>  (5289d2caadbb)

	* imap/command.c, imap/imap.c, imap/imap_private.h, imap/message.c:
	Start fixing imap_read_headers() to account for MSN gaps. (see
	#3942)

	Change the parameters to pass MSN instead of index, to make a bit
	simpler.

	Change header cache evaluation to look at the largest MSN retrieved
	instead of ctx->msgcount for the next fetch start point. This still
	depends on the assumption that MSNs are retrieved in ascending
	order, which needs to be fixed.

	Simplify the header cache inner loop termination and memory cleanup
	logic. Fix a memory leak if a hole in the header cache occured.

	Fix the header retrieval logic to take into account MSN gaps in the
	results. Loop only as long as we get IMAP_CMD_CONTINUE instead of
	over a fixed count. Simplify the inner loop termination and memory
	cleanup logic too.

	Simplify the "new mail while fetching" logic by creating a third
	outer loop to handle re-fetches.

	Fix msg_fetch_header() to return -2 if msg_parse_fetch() encounters
	a corrupt FETCH response. Previously it would pass on the rc of
	msg_parse_fetch(), meaning it would return -1 even though the
	response was corrupt.

2017-05-20 18:52 -0700  Kevin McCarthy  <kevin@8t8.us>  (b85bf6466c79)

	* imap/command.c: Fix cmd_parse_fetch() to match against MSN. (see
	#3942)

2017-05-20 18:52 -0700  Kevin McCarthy  <kevin@8t8.us>  (ab3595fbb698)

	* imap/command.c, imap/imap.c: Fix imap expunge to match msn and fix
	index. (see #3942)

	The expunge needs to match against the MSN now. Since
	cmd_parse_expunge() does not automatically fix h->index anymore,
	change imap_expunge_mailbox() to fix up the h->index values.

2017-05-20 18:52 -0700  Kevin McCarthy  <kevin@8t8.us>  (27bb55faa024)

	* imap/message.c, imap/message.h: Move the IMAP msn field to
	IMAP_HEADER_DATA. (see #3942)

	Ticket 3942 revealed that it is possible for a FETCH to have gaps in
	the MSN numbers of the results. The code makes many assumptions that
	equate context index counts and MSN. This is the first in a series
	of commits fixing that assumption.

	The header->index field is supposed to hold the SORT_ORDER index
	number of the message. If there are gaps in the MSN, than the
	highext MSN can in fact be out of the range 0..ctx->msgcount-1.

	After studying the code, I believe curs_main.c would actually work
	with header->index values out of the range, at least for IMAP. But
	some other parts of the code, such as mutt_reopen_mailbox(), do rely
	on the values being a valid index to ctx->hdrs[]. And the
	intertwining of menu->oldcurrent with header->index values makes me
	nervous about future changes.

	So, to be safe, move the MSN to its own field in IMAP_HEADER_DATA.

	The next commit will fix the EXPUNGE behavior.

2017-05-13 09:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (4bffaa6d189a)

	* history.c: Don't filter new entries when compacting history save
	file.

	If new entries are added between the two passes, they won't be in
	the dup_hash. The original intent was to filter added duplicates,
	but the check would also filter brand new entries.

2017-05-12 18:31 -0700  Kevin McCarthy  <kevin@8t8.us>  (7a4cc1750940)

	* doc/manual.xml.head, history.c, init.h: Also remove duplicates from
	the history file.

	When $history_remove_dups is set, remove duplicates from the history
	file when it is periodically compacted.

2017-05-12 18:31 -0700  Kevin McCarthy  <kevin@8t8.us>  (e66c6c0e8cc6)

	* doc/manual.xml.head, history.c, init.h, mutt.h: Add
	$history_remove_dups option to remove dups from history ring.

	When set, duplicate entries will be removed from the history ring
	when a new entry is added. The duplicate removal rearranges the
	history ring such that created empty slots are right after the
	"last" position in the ring, preserving the most history.

	Rewrite the next/prev functions to take into account that blank
	slots can now be in the middle of the array.

2017-05-12 09:16 -0700  Kevin McCarthy  <kevin@8t8.us>  (149f842ed1d0)

	* merge stable

2017-05-12 09:15 -0700  Kevin McCarthy  <kevin@8t8.us>  (a97afb72d892)

	* imap/imap.c: Turn IMAP_EXPUNGE_EXPECTED back off when syncing.
	(closes #3940).

	imap_sync_mailbox() turned on IMAP_EXPUNGE_EXPECTED when issuing a
	EXPUNGE command during a sync. However, it forgot to turn it back
	off.

	That meant that an unexpected EXPUNGE that occurred during a
	mx_check_mailbox -> imap_check_mailbox() -> imap_cmd_finish() call
	was not setting idata->check_status = IMAP_EXPUNGE_PENDING; and so
	imap_check_mailbox() was not returning MUTT_REOPENED.

	This meant that although the Context had been changed, the index did
	not run update_index(), resulting in a possible segfault.

	Thanks to Uroš Juvan for reporting the issue, and his invaluable
	description of how to reproduce the problem.

2017-05-09 16:07 -0700  Kevin McCarthy  <kevin@8t8.us>  (7f95b4c993b2)

	* init.c, init.h, menu.c, mutt_menu.h, pager.c: Create R_PAGER_FLOW
	config variable flag.

	Use this for $header_color_partial, $markers, and $smart_wrap. When
	these options are changed in the pager, this flag will force a
	recalculation of lineInfo.

	Remove the manual checks in OP_ENTER_COMMAND for $markers and
	$smart_wrap, and instead use the same REDRAW_FLOW processing used
	for a SigWinch.

2017-05-09 16:07 -0700  Kevin McCarthy  <kevin@8t8.us>  (3fd8c4af4658)

	* curs_lib.c, mutt_menu.h, pager.c: Rename REDRAW_SIGWINCH to
	REDRAW_FLOW.

	The next patch will attach this redraw flag to pager settings. The
	former name becomes somewhat confusing with the expanded usage, so
	rename it to something more relevant to what is being redrawn.

2017-05-08 18:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (92d9db08a35e)

	* doc/manual.xml.head, init.h, mutt.h, pager.c: Add
	$header_color_partial to allow partial coloring of headers.

	When set, a regexp match will color only the matched text in the
	header. When unset (the default), the entire header will have color
	applied.

	With appropriate regexps, this allows coloring of just the header
	field name. Of course, it can also be used to highlight arbitrary
	phrases in the headers too.

2017-05-07 15:11 -0700  Kevin McCarthy  <kevin@8t8.us>  (5006a0a36405)

	* mh.c: Improve maildir and mh to report flag changes in
	mx_check_mailbox() (closes #3865)

	mx_check_mailbox() would update the header flags, but was not
	returning MUTT_FLAGS back to the index loop. That meant a screen
	redraw was needed to be notified of externally modified flags.

	Change maildir_update_flags() to return 1 if the flags were actually
	changed. Change maildir_check_mailbox() and mh_check_mailbox() to
	return MUTT_FLAGS when that happens.

	Thanks to jcdenton and mike-burns for the original patch.

2017-05-05 14:03 -0700  Kevin McCarthy  <kevin@8t8.us>  (161d5f18cae5)

	* curs_main.c: merge stable

2017-05-05 13:55 -0700  Kevin McCarthy  <kevin@8t8.us>  (71cb68efe98e)

	* curs_main.c: Don't modify LastFolder/CurrentFolder upon aborting a
	change folder operation.

	Set LastFolder and CurrentFolder after mx_close_mailbox() has
	successfully completed. Otherwise, if the close is aborted, they
	will have incorrect values.

2017-05-05 12:46 -0700  Kevin McCarthy  <kevin@8t8.us>  (6d4ceb8c5b9e)

	* curs_main.c, menu.c, pager.c, postpone.c: Change message modifying
	operations to additively set redraw flags.

	With the ability to set redraw flags with the menu stack operations,
	some operations internally modify the current menu redraw flag. For
	instance, _mutt_set_flag() can now set REDRAW_SIDEBAR.

	Change the ops that modify messages to use 'redraw |= REDRAW_X'
	instead of overwriting the flag value.

2017-05-04 18:11 -0700  Kevin McCarthy  <kevin@8t8.us>  (c8ac1df1dcc9)

	* merge stable

2017-05-04 18:05 -0700  Kevin McCarthy  <kevin@8t8.us>  (c08c72a0e24c)

	* mx.c: Fix sidebar count updates when closing mailbox. (closes #3938)

	The context unread and flagged counts were being updated too early
	in mx_close_mailbox(). Cancelling at any of the following prompts
	would leave them in an incorrect state. Additionally, $move could
	increase the delete count (for flagged messages), and $delete, if
	answered no, could turn off message deletion.

	Move all the sidebar buffy stat updating to the bottom of the
	function, after all the prompts and processing.

2017-05-03 18:52 -0700  Kevin McCarthy  <kevin@8t8.us>  (a6db4750f675)

	* color.c, compose.c, doc/manual.xml.head, mutt_curses.h: Add color
	commands for the compose menu headers and security status. (closes
	#3915).

	Add "color compose header" to color the From/To/Subject/etc fields
	in the compose menu.

	Add "color compose security_encrypt/sign/both/none" to color the
	security status of the message.

2017-04-30 15:56 -0700  Kevin McCarthy  <kevin@8t8.us>  (7e1edf6a7ed7)

	* sendlib.c: Remove glibc-specific execvpe() call in sendlib.c. (see
	#3937)

	Changeset fa1192803257 converted all exec calls to use
	mutt_envlist(). Unfortunately, the call in sendlib.c, execvpe(), is
	a glibc extension.

	Convert back to execvp() for now, to fix the build on MacOS.

2017-04-30 15:21 -0700  Kevin McCarthy  <kevin@8t8.us>  (7dd3de416a54)

	* merge stable

2017-04-30 15:20 -0700  Kevin McCarthy  <kevin@8t8.us>  (829584614fd6)

	* headers.c: Refresh header color when updating label. (closes #3935)

	color index with a '~y' pattern were not being updated after
	adding/removing labels.

2017-04-30 14:25 -0700  Kevin McCarthy  <kevin@8t8.us>  (84acb1832fa9)

	* init.c, init.h: merge stable

2017-04-30 14:24 -0700  Kevin McCarthy  <kevin@8t8.us>  (c54ac874a32b)

	* init.c, init.h: Fix unused function warnings when sidebar is
	disabled. (closes #3936)

	parse_path_list/unlist are currently only used by the
	un/sidebar_whitelist commands. Add an ifdef around them to stop an
	unused function warning. Add a comment too, so it's clear why they
	are ifdef'ed.

2017-04-30 13:32 -0700  Kevin McCarthy  <kevin@8t8.us>  (b3d9d7a2f677)

	* merge stable

2017-04-30 13:32 -0700  Kevin McCarthy  <kevin@8t8.us>  (deb66bd24b9d)

	* doc/manual.xml.head: Note that mbox-hooks are dependent on $move.

	Add a note to the "Using Multiple Spool Mailboxes" section.

2017-04-30 12:25 -0700  Vincent Lefevre  <vincent@vinc17.org>  (fa1192803257)

	* configure.ac, m4/gettext.m4, mutt_tunnel.c, pgp.c, protos.h,
	sendlib.c, setenv.c: Convert all exec calls to use mutt_envlist(),
	remove setenv function.

	The documentation implies that all children processes will be
	affected by the setenv command, so convert all the exec calls to use
	mutt_envlist().

	The setenv("GPG_TTY") call is no longer needed so remove it.

	With that removed, there are no other setenv calls in mutt, so
	remove the autoconf check and replacement function.

2017-04-27 21:23 -0700  Kevin McCarthy  <kevin@8t8.us>  (c65d0c23c142)

	* curs_lib.c, keymap.c, mutt_curses.h: merge stable

2017-04-27 21:22 -0700  Kevin McCarthy  <kevin@8t8.us>  (b8952095b583)

	* curs_lib.c, keymap.c, mutt_curses.h: Fix km_error_key() infinite
	loop and unget buffer pollution.

	'bind pager \Ch help' produces an infinite loop when an unbound key
	is pressed in the pager. The reason is because km_error_key() tries
	to verify that the key sequence is really bound to the OP_HELP
	operation. It does this by using km_expand_key(),
	tokenize_unget_string() on the resulting buffer, then checking if
	the next km_dokey() returns OP_HELP.

	The problem is that km_expand_key() does not always produce a string
	that is properly reparsed by tokenize_unget_string(). Control-h
	sequences are expanded to ^H. tokenize_unget_string() recognizes
	this as two characters '^' and 'H'. km_error_key() checks the OP
	returned, which is OP_PAGER_TOP for the '^'. This is not OP_HELP, so
	it prints a generic error and returns. This leaves the 'H' in the
	input buffer! Since 'H' (by default) is unbound in the pager, it
	retriggers km_error_key(), resulting in an infinite loop.

	The same issues can occur without control sequences: bind generic ?
	noop bind generic dq help In the index, hitting an unbound key will
	end up leaving 'q' in the unget buffer, because 'd' is bound in the
	index menu and will be read by km_dokey().

	A simple approach to fix this would be to just use the same code as
	in mutt_make_help(), which has no double-check. This would be no
	worse than the help menu, but can generate an inaccurate error
	message (e.g if '?' were bound to noop)

	This patch instead uses OP_END_COND as a barrier in the unget
	buffer. It directly inserts the keys in the OP_HELP keymap, instead
	of using km_expand_key() + tokenize_unget_string(). After calling
	km_dokey() it flushes the unget buffer to the OP_END_COND barrier.

	Thanks to Walter Alejandro Iglesias for reporting the bug.

2017-04-26 15:43 -0700  Kevin McCarthy  <kevin@8t8.us>  (92671c9c17bd)

	* merge stable

2017-04-26 15:40 -0700  Roger Cornelius  <rac@tenzing.org>  (9a0afe7815d1)

	* mx.c: Fix error message when opening a mailbox with no read
	permission. (closes #3934)

	ctx->mx_ops ends up being NULL for both the case that ctx->magic is
	0 and -1. This meant the mutt_perror() error message was never being
	printed, because the check for ctx->mx_ops == NULL was taking place
	first.

	Move the "ctx->magic == -1" check first, so mutt will print out an
	appropriate perror message in that case.

2017-04-18 16:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (69df899cdfa9)

	* merge stable

2017-04-18 16:15 -0700  Kevin McCarthy  <kevin@8t8.us>  (2c57a7b4dc0b)

	* .hgsigs: mutt-1.8.2 signed

2017-04-18 16:14 -0700  Kevin McCarthy  <kevin@8t8.us>  (455a698f274b)

	* .hgtags: Added tag mutt-1-8-2-rel for changeset c6ea4aed6bec

2017-04-18 16:14 -0700  Kevin McCarthy  <kevin@8t8.us>  (c6ea4aed6bec)

	* ChangeLog, UPDATING, VERSION: automatic post-release commit for
	mutt-1.8.2

2017-04-18 13:13 -0700  Kevin McCarthy  <kevin@8t8.us>  (385ba6449c30)

	* commands.c: Revert sort prompt labels. (see #3930)

	Using the (s)ort style may look a bit better, but it makes the
	prompt over 80 columns. The multichoice prompt supports multiple
	lines now, but it is better to have it fit on one line if possible.

	Revert back to the "capital letter" method, but leave the ticket
	open, to explore other ideas that Vincent and chdiza have for better
	ways to present a long choice like this.

2017-04-18 12:25 -0700  Kevin McCarthy  <kevin@8t8.us>  (67677bca06fe)

	* init.c, pgp.c, protos.h: merge stable

2017-04-18 12:25 -0700  Kevin McCarthy  <kevin@8t8.us>  (33995363e723)

	* filter.c, init.c, pgp.c, protos.h: Fix GPG_TTY to be added to
	envlist. (closes #3931)

	Changeset 37209157e33c converted filters to use the envlist.
	Unfortunately, I missed that pgp.c sets GPG_TTY when using the GnuPG
	agent. Convert to add GPG_TTY to the envlist too.

2017-04-17 17:40 -0700  Kevin McCarthy  <kevin@8t8.us>  (851a7ec95399)

	* pager.c: Handle the pager sort prompt inside the pager.

	Display the prompt in the pager, so a multiline prompt or resize
	doesn't refresh the index menu. Then, bounce back through the index
	to handle resorting and status line updates.

	This also fixes cancelling to stay in the pager.

2017-04-17 17:40 -0700  Kevin McCarthy  <kevin@8t8.us>  (979f1e669c16)

	* commands.c: Change the sort prompt to use (s)ort style prompts.

	This is consistent with the rest of mutt, and in my opinion, more
	readable.

2017-04-16 14:38 -0700  Kevin McCarthy  <kevin@8t8.us>  (61295113f7ab)

	* curs_lib.c: Add multiline and sigwinch handling to mutt_yesorno.
	(closes #3877)

	Most of the yes/no and query_quadoption prompts are pretty short,
	but for completeness add handling for those too.

2017-04-15 12:56 -0700  Kevin McCarthy  <kevin@8t8.us>  (2be3dd383c35)

	* curs_lib.c, pager.c: Set pager's REDRAW_SIGWINCH when reflowing
	windows.

	So that all external reflow handling functions don't have to
	remember to set the flag too.

2017-04-15 12:56 -0700  Kevin McCarthy  <kevin@8t8.us>  (5849d1a052bb)

	* curs_lib.c: Add multiline and sigwinch handling to
	mutt_multi_choice. (see #3877)

	Resize the message window up to three lines to fix wide prompts.

	Enable sigwinch processing and redraw the current menu as needed.

2017-04-15 12:56 -0700  Kevin McCarthy  <kevin@8t8.us>  (24e38e932693)

	* curs_lib.c, enter.c: Add ifdefs around new mutt_resize_screen calls.

	Changeset 231fa2eff206 added sigwinch handling to
	_mutt_enter_string() but neglected to add an ifdef check.

2017-04-12 18:00 -0700  Kevin McCarthy  <kevin@8t8.us>  (39bf12dccf0c)

	* merge stable

2017-04-12 17:45 -0700  Kevin McCarthy  <kevin@8t8.us>  (feccc2ac1b9a)

	* .hgsigs: mutt-1.8.1 signed

2017-04-12 17:44 -0700  Kevin McCarthy  <kevin@8t8.us>  (491f7cfa03d9)

	* .hgtags: Added tag mutt-1-8-1-rel for changeset f44974c10990

2017-04-12 17:43 -0700  Kevin McCarthy  <kevin@8t8.us>  (f44974c10990)

	* ChangeLog, UPDATING, VERSION: automatic post-release commit for
	mutt-1.8.1

2017-04-11 12:15 -0700  Kevin McCarthy  <kevin@8t8.us>  (3c46ef05dca9)

	* compose.c: merge stable

2017-04-11 12:14 -0700  Kevin McCarthy  <kevin@8t8.us>  (b825cbcaf6b5)

	* compose.c: Fix memleak when attaching files.

2017-04-08 14:21 -0700  Kevin McCarthy  <kevin@8t8.us>  (29239b1a6d50)

	* commands.c: Ensure mutt stays in endwin during calls to pipe_msg()
	(closes #3929)

	The previous commit solved the problem reported in #3929:
	progressbar output while downloading a message via IMAP was
	refreshing the mutt ncurses session after launching the pipe
	program.

	To ensure another place in the code doesn't inadvertantly generate
	output, wrap OPTKEEPQUIET around the calls to
	pipe_msg()/mutt_wait_filter() too.

2017-04-08 14:21 -0700  Kevin McCarthy  <kevin@8t8.us>  (0bf83c2fbbf2)

	* merge stable

2017-04-08 14:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (a8b1017a4cc1)

	* imap/message.c: Silence imap progress messages for pipe-message.
	(see #3929)

	_mutt_pipe_message() calls endwin(), and then calls pipe_msg(). If
	an imap message body hasn't already been downloaded, this can end up
	calling imap_fetch_message().

	The progress messages in imap_fetch_message() were restoring curses,
	just after extract_url was running. This was leading to a condition
	where mutt curses didn't think the screen had changed after
	extract_url exited.

	There was already a check for isendwin() inside
	imap_fetch_message(), but it wasn't wrapped around the progressbar
	creation/usage. Add a check for those places too.

2017-04-05 16:09 -0700  Kevin McCarthy  <kevin@8t8.us>  (303fc058692f)

	* query.c: Don't create query menu until after initial prompt. (see
	#3877)

	A resize in the prompt will trigger a redraw, but the data won't be
	loaded yet, displaying a blank screen instead of the previous menu.
	Once the query is done, the data is loaded, but the menu->redraw
	state has been changed by the resize.

	We could manually flag a redraw, but it makes more sense visually
	logically to just create the menu after the query and results are
	loaded.

2017-04-05 16:09 -0700  Kevin McCarthy  <kevin@8t8.us>  (86848e5932b0)

	* curs_lib.c, pager.c: Separate out the pager menu redrawing. (see
	#3877)

	The pager relies on REDRAW_SIGWINCH, so add that to
	_mutt_get_field().

2017-04-05 16:09 -0700  Kevin McCarthy  <kevin@8t8.us>  (dcc95921c3c5)

	* pager.c: Prepare for pager redraw separation. (see #3877)

	Move some of the code inside SigWinch handling into the REDRAW part
	of the code.

	SigInt is handled by mutt_getch(), so remove the redundant code from
	inside the pager.

2017-04-05 16:09 -0700  Kevin McCarthy  <kevin@8t8.us>  (178bd8b53cab)

	* curs_main.c: Separate out the index menu redrawing. (see #3877)

2017-04-05 16:09 -0700  Kevin McCarthy  <kevin@8t8.us>  (c651b528f958)

	* compose.c, menu.c, mutt_menu.h: Separate out the compose menu
	redrawing. (see #3877)

	Add a custom_menu_redraw to the menu and change menu_redraw() to
	call that instead if set.

2017-04-05 16:09 -0700  Kevin McCarthy  <kevin@8t8.us>  (231fa2eff206)

	* curs_lib.c, enter.c, keymap.c, menu.c, mutt_menu.h: Change
	km_dokey() to pass SigWinch on for the MENU_EDITOR. (see #3877)

	Change _mutt_enter_string() to pass the SigWinch through for
	_mutt_get_field() or mutt_enter_string() to handle.

	Add a call to mutt_current_menu() in _mutt_get_field() to properly
	redisplay the screen in that case.

2017-04-05 16:09 -0700  Kevin McCarthy  <kevin@8t8.us>  (7f6ff45a7f59)

	* init.c: Remove redraw flag setting after mutt_endwin().

	There is no need to set a redraw flag in this case. The screen will
	automatically be properly redrawn on the next refresh().

	Remove, lest it get propagated.

2017-03-31 18:15 -0700  Kevin McCarthy  <kevin@8t8.us>  (8b9bbd983b1a)

	* commands.c, compose.c, curs_lib.c, curs_main.c, pager.c, protos.h:
	Remove refresh parameter from mutt_enter_fname().

	Also remove it from mutt_save_message(), which used it to pass
	through to mutt_enter_fname(). The callers of this already had
	redraw logic, to which REDRAW_STATUS merely needed to be added.

2017-03-31 18:15 -0700  Kevin McCarthy  <kevin@8t8.us>  (68bbc47c8498)

	* init.c, init.h: Create R_MENU redraw option.

	Previously, the R_INDEX option meant both the index as well as all
	other menus. The removal of the OPTFORCEREDRAWINDEX option caused
	problems with redrawing other menus for options such as
	arrow_cursor.

	One solution would be change R_INDEX back to meaning "everything"
	except pager, but there are only a handful of options that affect
	other menus.

	Instead, create R_MENU to indicate options that affect either all
	menus or one of the other menus beside the index and pager.

2017-03-31 18:15 -0700  Kevin McCarthy  <kevin@8t8.us>  (7f47e330bd72)

	* curs_lib.c, curs_main.c, init.h, pager.c: Change reflow_windows() to
	set full redraw.

	A full redraw should always be set in this case. This also enables
	us to remove redraw flags for some options.

2017-03-31 18:15 -0700  Kevin McCarthy  <kevin@8t8.us>  (b36e4918d1d9)

	* buffy.c, curs_main.c, flags.c, globals.h, imap/command.c, init.c,
	menu.c, pager.c, sidebar.c: Remove SidebarNeedsRedraw.

	The menu stack can be used to flag a redraw of the sidebar window.

2017-03-31 18:15 -0700  Kevin McCarthy  <kevin@8t8.us>  (06553f524887)

	* color.c, curs_lib.c, curs_main.c, init.c, menu.c, mutt.h,
	mutt_menu.h, pager.c, score.c: Remove the OPTFORCEREDRAW options.

	Use the menu stack to flag redraws for the index and pager.

2017-03-31 17:29 +0200  Vincent Lefevre  <vincent@vinc17.net>  (6fb6021389c8)

	* mbyte.c: Filter other directional markers that corrupt the screen.

2017-03-27 11:46 -0700  Kevin McCarthy  <kevin@8t8.us>  (4c7881c441e7)

	* init.h: merge stable

2017-03-27 11:39 -0700  Kevin McCarthy  <kevin@8t8.us>  (77032036c642)

	* init.c, init.h: Fix (un)sidebar_whitelist to expand paths.

	Thanks to Arturo for reporting the issue.

2017-03-26 18:31 -0700  Kevin McCarthy  <kevin@8t8.us>  (4d06d85a4dd7)

	* curs_main.c: Don't full redraw the index when handling a command
	from the pager.

	This causes a noticable flicker when moving through messages from
	the pager.

2017-03-26 18:31 -0700  Kevin McCarthy  <kevin@8t8.us>  (cb57cd88846b)

	* compose.c, crypt-gpgme.c, crypt-gpgme.h, crypt-mod-pgp-classic.c,
	crypt-mod-pgp-gpgme.c, crypt-mod-smime-classic.c, crypt-mod-smime-
	gpgme.c, crypt-mod.h, cryptglue.c, mutt_crypt.h, pgp.c, pgp.h,
	smime.c, smime.h: Remove redraw parameter from crypt send_menus.

	The parameter was used to notify the caller if the sign (a)s menu
	was invoked, which displayed the key selection menu. This is no
	longer necessary with the menu stack pop operation.

2017-03-26 18:31 -0700  Kevin McCarthy  <kevin@8t8.us>  (7cced4378ed5)

	* addrbook.c, browser.c, commands.c, compose.c, crypt-gpgme.c,
	curs_lib.c, curs_main.c, enter.c, menu.c, mutt.h, mutt_curses.h,
	mutt_menu.h, mutt_ssl.c, pager.c, pgpkey.c, protos.h, query.c,
	remailer.c, remailer.h, smime.c: Set refresh when popping the menu
	stack.

	This removes the need for the OPTNEEDREDRAW option and MAYBE_REDRAW
	macro previously used to communicate back the need to refresh after
	exiting a menu.

	Remove the redraw parameter from ci_bounce_message() and
	mix_make_chain() which served the same purpose.

2017-03-26 18:31 -0700  Kevin McCarthy  <kevin@8t8.us>  (dbb9fbe9b3de)

	* curs_main.c, menu.c, pager.c: Change CurrentMenu to be controlled by
	the menu stack.

	The pager menu is a bit tricky with respect to the menu->menu and
	CurrentMenu, so add a few comments.

2017-03-26 18:31 -0700  Kevin McCarthy  <kevin@8t8.us>  (6551825f99fa)

	* addrbook.c, browser.c, compose.c, crypt-gpgme.c, curs_main.c,
	menu.c, mutt_menu.h, mutt_ssl.c, mutt_ssl_gnutls.c, pager.c,
	pgpkey.c, postpone.c, query.c, recvattach.c, remailer.c, smime.c:
	Add a menu stack to track current and past menus.

	Change the pager to use a MENU, right now just to hold the refresh
	state.

2017-03-26 12:27 -0700  Kevin McCarthy  <kevin@8t8.us>  (b8519ee6bd74)

	* merge stable

2017-03-26 12:27 -0700  Kevin McCarthy  <kevin@8t8.us>  (9da67ea88f25)

	* curs_lib.c: Fix mutt_refresh() pausing during macro events.

	Changeset a07e8215a0ef split input buffering into two pools.
	Unfortunately, the mutt_refresh() was not changed to check the
	correct buffer count, resulting in unnecessary refreshes during
	macros.

	The SSL interactive certificate prompts set OPTIGNOREMACROEVENTS and
	then put up a confirmation menu. Perhaps we've just been lucky, but
	it seems we should refresh the screen in those cases if we're in the
	middle of a macro. Add a check for this option in mutt_refresh()
	too.

2017-03-20 10:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (c875e6f4785d)

	* merge stable

2017-03-20 10:16 -0700  Kevin McCarthy  <kevin@8t8.us>  (7cefa378ab7e)

	* init.c: Fix setenv overwriting to not truncate the envlist. (see
	#3922)

	The refactor in 2b9c40f13e13 exposed a bug I hadn't noticed. The
	match loop performed a FREE() on the slot. Then, below, it was
	checking if (*envp) to see whether it was overwriting or creating a
	new slot. However, FREE() nulls out *envp. This would end up
	truncating the envlist just after the set slot!

	Move the free down, using a mutt_str_replace(), when overwriting the
	slot.

2017-03-18 14:47 -0700  Kevin McCarthy  <kevin@8t8.us>  (741865dfc052)

	* merge stable

2017-03-18 14:39 -0700  Kevin McCarthy  <kevin@8t8.us>  (2b9c40f13e13)

	* init.c: Fix mutt_envlist_set() for the case that envlist is null.
	(see #3922)

2017-03-18 13:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (37209157e33c)

	* filter.c, init.c, protos.h, system.c: Pass envlist to filter
	children too. (closes #3922)

	The new setenv patch neglected to pass the envlist for filters too.

	Unfortunately, the filter code was already set up to pass COLUMNS to
	children, so it needed to be changed to add this to the envlist
	instead.

	Factor out mutt_envlist_set() from the parse_setenv() function,
	which the filter code can then use to set COLUMNS after forking.

2017-03-18 13:38 -0700  Kevin McCarthy  <kevin@8t8.us>  (f09b8b2454c9)

	* main.c: Fix conststrings type mismatches. (closes #3926)

	The generation programs for conststrings.c: txt2c.c and txt2c.sh,
	specified the resultant types as "unsigned char[]" while main.c
	declared them as "const char[]".

	txt2.c generates 0xXX hex codes for each individual character, thus
	the "unsigned" definition. With link-time optimization, some
	versions of gcc notice the mismatch and emit a warning.

	Change the declarations to match the definitions and cast to char[]
	when they are used.

2017-03-13 18:38 -0700  Kevin McCarthy  <kevin@8t8.us>  (23c00b71f653)

	* mutt_ssl.c: Change OpenSSL to use SHA-256 for cert comparison.
	(closes #3924)

	Note the GnuTLS code compares the certs directly to check if they
	are in the certfile.

2017-03-13 01:38 +0100  Vincent Lefevre  <vincent@vinc17.net>  (00cef7557f38)

	* po/fr.po: Updated French translation.

2017-03-12 10:54 -0700  Dmitri Vereshchagin  <dmitri.vereshchagin@gmail.com>  (fc4beb8e0d56)

	* browser.c: Add shortcuts for IMAP and POP mailboxes in the file
	browser

	Mailbox list may not be properly displayed in a standard 80-column
	terminal window if the $folder variable contains a long URL. In such
	a case only left part of each entry name can be visible with the
	default value of $folder_format. What's worse, this visible part may
	not be enough to distinguish between the entries.

	Thus in this case mutt_pretty_mailbox() will be just as useful as
	for local mailboxes.

2017-03-09 13:38 -0800  Kevin McCarthy  <kevin@8t8.us>  (5f65f3bcc066)

	* mutt_ssl_gnutls.c: Add SNI support for GnuTLS. (closes #3923)

2017-03-09 13:00 -0800  Kevin McCarthy  <kevin@8t8.us>  (9d3d80dd963a)

	* mutt_ssl.c: Add SNI support for OpenSSL. (see #3923)

	The original patch for this is by Phil Pennock at:
	https://people.spodhuis.org/phil.pennock/software/mutt-patches/

	I have removed the OpenSSL version check and
	defined(OPENSSL_NO_TLSEXT) check because:
	  * SSL_set_tlsext_host_name() was added in 0.9.8f [11 Oct 2007]
	  * OpenSSL 1.1 no longer has the OPENSSL_NO_TLSEXT compilation option
	  * https://rt.openssl.org/Ticket/Display.html?id=2788&user=guest&pass=g
	uest shows that the no-tlsext compilation option has been broken for
	some time.
	  * Going forward, I'd like to minimize and start removing cruft
	required to support ancient/insecure versions of libraries.

2017-03-09 11:59 -0800  Kevin McCarthy  <kevin@8t8.us>  (be5d02a8e782)

	* mutt_ssl.c: OpenSSL: Don't offer (a)ccept always choice for hostname
	mismatches. (closes #3914)

	On a hostname mismatch, saving the certificate is pointless because
	mutt will ask the user no matter if the certificate is saved or not.

	The only invocation allowing "accept always" is guarded by a call to
	check_certificate_digest(), which means the check_certificate_file()
	check is redundant. Therefore remove that check and add a comment
	noting why.

	Thanks to Matthias Andree for the original version of this patch.

2017-03-09 10:56 -0800  Kevin McCarthy  <kevin@8t8.us>  (f949694ea461)

	* mutt_ssl.c: Prevent skipped certs from showing a second time. (see
	#3916)

	OpenSSL sometimes passes a skipped certificate to
	ssl_verify_callback() a second time, with preverify_ok=1. From
	OpenSSL's viewpoint there is nothing wrong with this, but mutt will
	end up showing the certificate in the interactive prompt again.

	Cache the last cert and position, and compare with the latest when
	skip_mode and preverify_ok are both set.

2017-03-07 18:26 -0800  Kevin McCarthy  <kevin@8t8.us>  (2a0d3c4a9b0f)

	* mutt_ssl.c: Don't allow storing duplicate certs for OpenSSL
	interactive prompt. (closes #3914)

	Check to make sure the certificate is not already in the
	$certificate_file before offering the (a)ccept always option.

	To allow a cert with a new validity timespan to be added to the
	file, check the expiration dates when comparing certificates in the
	certficate file.

2017-03-07 18:26 -0800  Kevin McCarthy  <kevin@8t8.us>  (4cb6408b5fef)

	* configure.ac, doc/makedoc-defs.h, init.h, mutt.h, mutt_ssl.c: Move
	the OpenSSL partial chain support check inside configure.ac. (see
	#3916)

	Instead of directly checking whether X509_V_FLAG_PARTIAL_CHAIN is
	defined everywhere, do it once inside configure. This will allow
	better support in the future if the test needs to change.

2017-03-07 18:26 -0800  Matthias Andree  <matthias.andree@gmx.de>  (5a04f3797f03)

	* doc/makedoc-defs.h, init.h, mutt.h, mutt_ssl.c: Add
	$ssl_verify_partial_chains option for OpenSSL. (closes #3916)

	The reworked OpenSSL certificate validation took away a "feature" of
	the previous implementation: the ability to reject a node in the
	chain and yet continue to the next node.

	If this new option is set to 'yes', enables OpenSSL's
	X509_V_FLAG_PARTIAL_CHAIN flag to reinstate the functionality and
	permit to use a non-root certificate as the trust anchor.

	This option is only available if OpenSSL offers the
	X509_V_FLAG_PARTIAL_CHAIN macro, which should be the case as of
	1.0.2b or later.

	Code written by Kevin McCarthy and Matthias Andree.

2017-03-05 15:26 -0800  Kevin McCarthy  <kevin@8t8.us>  (daa9111c1f42)

	* merge stable

2017-03-05 15:24 -0800  Kevin McCarthy  <kevin@8t8.us>  (f0e3b2875065)

	* account.h: Increase ACCOUNT.pass field size. (closes #3921)

	#3921 reported his password token used for Google XOAUTH2 is size
	129. The ACCOUNT structure currently uses a size 128 buffer. Who
	knew a password field would ever be bigger than that?

	Since the ACCOUNT structure has no allocation/dellocation routines,
	the easiest fix is to increase the size. Bump the size up to 256.

2017-03-02 15:54 -0800  Kevin McCarthy  <kevin@8t8.us>  (d15de76f7123)

	* merge stable

2017-03-02 15:53 -0800  Matthias Andree  <matthias.andree@gmx.de>  (5fc3c0729a07)

	* mutt_ssl.c: SSL: Fix memory leak in subject alternative name code.
	(closes #3920)

2017-03-02 14:58 -0800  Kevin McCarthy  <kevin@8t8.us>  (9ede6c95d3d5)

	* merge stable

2017-03-02 14:53 -0800  Kevin McCarthy  <kevin@8t8.us>  (e3e47b2f1370)

	* mbox.c: Prevent segv if open-appending to an mbox fails. (closes
	#3918)

	If mbox_open_mailbox_append() fails, ctx->fp will be null. Add a
	check in mbox_close_mailbox(), to prevent a segv from passing null
	to fileno().

2017-03-02 13:17 -0800  Kevin McCarthy  <kevin@8t8.us>  (28d7872d0646)

	* merge stable

2017-03-02 13:11 -0800  Kevin McCarthy  <kevin@8t8.us>  (e82253beaa9f)

	* mutt_ssl.c: Clear out extraneous errors before SSL_connect() (see
	#3916)

	Call ERR_clear_error() just before the call to SSL_connect() to make
	sure the error queue doesn't have any old errors in it.

	PEM_read_X509() sets an error PEM_R_NO_START_LINE on end-of-file.
	Clear that out so it doesn't show up as the SSL_connect() error
	message.

2017-02-24 11:00 -0800  Kevin McCarthy  <kevin@8t8.us>  (f85c3eb8d065)

	* merge default into stable

2017-02-24 10:55 -0800  Kevin McCarthy  <kevin@8t8.us>  (7cc47d82cac4)

	* .hgsigs: mutt-1.8.0 signed

2017-02-24 10:50 -0800  Kevin McCarthy  <kevin@8t8.us>  (1672b430cbc3)

	* .hgtags: Added tag mutt-1-8-rel for changeset d897983752f9

2017-02-24 10:50 -0800  Kevin McCarthy  <kevin@8t8.us>  (d897983752f9)

	* 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.8.0

3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011
2017-05-23 15:53 -0700  Kevin McCarthy  <kevin@8t8.us>  (fa0c2155ab8f)

	* mx.c: Fix memory leak when closing mailbox and using the sidebar.

	The code updating the sidebar counts decremented the msgcount, but
	did not set it back to the original value. Which means fastclose was
	not freeing all the headers.

	Update the sidebar only when something is deleted, since I don't
	believe it's required otherwise and the code is a bit cleaner that
	way.

2017-05-22 18:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (59a2125b49f2)

	* imap/imap.c: Don't clean up idata when closing an open-append
	mailbox.

	open-append borrows the idata just for the connection. The "mailbox
	specific" part of the idata may be being used by a normal open-
	mailbox.

	Don't free the idata "mailbox specific" part when closing an open-
	append mailbox.

	Thanks to Will Yardley for discovering the bug as part of testing
	the revised IMAP fetch_headers code (in the default branch).

2017-05-22 05:08 -0700  TAKAHASHI Tamotsu  <ttakah@lapis.plala.or.jp>  (1ddf2641f369)

	* mx.c: Fix potential segv if mx_open_mailbox is passed an empty
	string. (closes #3945)

	If path is "", ctx->path will be NULL. realpath() generally will
	segv if the first parameter is NULL.

2017-05-12 09:15 -0700  Kevin McCarthy  <kevin@8t8.us>  (a97afb72d892)

	* imap/imap.c: Turn IMAP_EXPUNGE_EXPECTED back off when syncing.
	(closes #3940).

	imap_sync_mailbox() turned on IMAP_EXPUNGE_EXPECTED when issuing a
	EXPUNGE command during a sync. However, it forgot to turn it back
	off.

	That meant that an unexpected EXPUNGE that occurred during a
	mx_check_mailbox -> imap_check_mailbox() -> imap_cmd_finish() call
	was not setting idata->check_status = IMAP_EXPUNGE_PENDING; and so
	imap_check_mailbox() was not returning MUTT_REOPENED.

	This meant that although the Context had been changed, the index did
	not run update_index(), resulting in a possible segfault.

	Thanks to Uroš Juvan for reporting the issue, and his invaluable
	description of how to reproduce the problem.

2017-05-05 13:55 -0700  Kevin McCarthy  <kevin@8t8.us>  (71cb68efe98e)

	* curs_main.c: Don't modify LastFolder/CurrentFolder upon aborting a
	change folder operation.

	Set LastFolder and CurrentFolder after mx_close_mailbox() has
	successfully completed. Otherwise, if the close is aborted, they
	will have incorrect values.

2017-05-04 18:05 -0700  Kevin McCarthy  <kevin@8t8.us>  (c08c72a0e24c)

	* mx.c: Fix sidebar count updates when closing mailbox. (closes #3938)

	The context unread and flagged counts were being updated too early
	in mx_close_mailbox(). Cancelling at any of the following prompts
	would leave them in an incorrect state. Additionally, $move could
	increase the delete count (for flagged messages), and $delete, if
	answered no, could turn off message deletion.

	Move all the sidebar buffy stat updating to the bottom of the
	function, after all the prompts and processing.

2017-04-30 15:20 -0700  Kevin McCarthy  <kevin@8t8.us>  (829584614fd6)

	* headers.c: Refresh header color when updating label. (closes #3935)

	color index with a '~y' pattern were not being updated after
	adding/removing labels.

2017-04-30 14:24 -0700  Kevin McCarthy  <kevin@8t8.us>  (c54ac874a32b)

	* init.c, init.h: Fix unused function warnings when sidebar is
	disabled. (closes #3936)

	parse_path_list/unlist are currently only used by the
	un/sidebar_whitelist commands. Add an ifdef around them to stop an
	unused function warning. Add a comment too, so it's clear why they
	are ifdef'ed.

2017-04-30 13:32 -0700  Kevin McCarthy  <kevin@8t8.us>  (deb66bd24b9d)

	* doc/manual.xml.head: Note that mbox-hooks are dependent on $move.

	Add a note to the "Using Multiple Spool Mailboxes" section.

2017-04-27 21:22 -0700  Kevin McCarthy  <kevin@8t8.us>  (b8952095b583)

	* curs_lib.c, keymap.c, mutt_curses.h: Fix km_error_key() infinite
	loop and unget buffer pollution.

	'bind pager \Ch help' produces an infinite loop when an unbound key
	is pressed in the pager. The reason is because km_error_key() tries
	to verify that the key sequence is really bound to the OP_HELP
	operation. It does this by using km_expand_key(),
	tokenize_unget_string() on the resulting buffer, then checking if
	the next km_dokey() returns OP_HELP.

	The problem is that km_expand_key() does not always produce a string
	that is properly reparsed by tokenize_unget_string(). Control-h
	sequences are expanded to ^H. tokenize_unget_string() recognizes
	this as two characters '^' and 'H'. km_error_key() checks the OP
	returned, which is OP_PAGER_TOP for the '^'. This is not OP_HELP, so
	it prints a generic error and returns. This leaves the 'H' in the
	input buffer! Since 'H' (by default) is unbound in the pager, it
	retriggers km_error_key(), resulting in an infinite loop.

	The same issues can occur without control sequences: bind generic ?
	noop bind generic dq help In the index, hitting an unbound key will
	end up leaving 'q' in the unget buffer, because 'd' is bound in the
	index menu and will be read by km_dokey().

	A simple approach to fix this would be to just use the same code as
	in mutt_make_help(), which has no double-check. This would be no
	worse than the help menu, but can generate an inaccurate error
	message (e.g if '?' were bound to noop)

	This patch instead uses OP_END_COND as a barrier in the unget
	buffer. It directly inserts the keys in the OP_HELP keymap, instead
	of using km_expand_key() + tokenize_unget_string(). After calling
	km_dokey() it flushes the unget buffer to the OP_END_COND barrier.

	Thanks to Walter Alejandro Iglesias for reporting the bug.

2017-04-26 15:40 -0700  Roger Cornelius  <rac@tenzing.org>  (9a0afe7815d1)

	* mx.c: Fix error message when opening a mailbox with no read
	permission. (closes #3934)

	ctx->mx_ops ends up being NULL for both the case that ctx->magic is
	0 and -1. This meant the mutt_perror() error message was never being
	printed, because the check for ctx->mx_ops == NULL was taking place
	first.

	Move the "ctx->magic == -1" check first, so mutt will print out an
	appropriate perror message in that case.

2017-04-18 16:15 -0700  Kevin McCarthy  <kevin@8t8.us>  (2c57a7b4dc0b)

	* .hgsigs: mutt-1.8.2 signed

2017-04-18 16:14 -0700  Kevin McCarthy  <kevin@8t8.us>  (455a698f274b)

	* .hgtags: Added tag mutt-1-8-2-rel for changeset c6ea4aed6bec

2017-04-18 16:14 -0700  Kevin McCarthy  <kevin@8t8.us>  (c6ea4aed6bec)

	* ChangeLog, UPDATING, VERSION: automatic post-release commit for
	mutt-1.8.2

2017-04-18 12:25 -0700  Kevin McCarthy  <kevin@8t8.us>  (33995363e723)

	* filter.c, init.c, pgp.c, protos.h: Fix GPG_TTY to be added to
	envlist. (closes #3931)

	Changeset 37209157e33c converted filters to use the envlist.
	Unfortunately, I missed that pgp.c sets GPG_TTY when using the GnuPG
	agent. Convert to add GPG_TTY to the envlist too.

2017-04-12 17:45 -0700  Kevin McCarthy  <kevin@8t8.us>  (feccc2ac1b9a)

	* .hgsigs: mutt-1.8.1 signed

2017-04-12 17:44 -0700  Kevin McCarthy  <kevin@8t8.us>  (491f7cfa03d9)

	* .hgtags: Added tag mutt-1-8-1-rel for changeset f44974c10990

2017-04-12 17:43 -0700  Kevin McCarthy  <kevin@8t8.us>  (f44974c10990)

	* ChangeLog, UPDATING, VERSION: automatic post-release commit for
	mutt-1.8.1

2017-04-11 12:14 -0700  Kevin McCarthy  <kevin@8t8.us>  (b825cbcaf6b5)

	* compose.c: Fix memleak when attaching files.

2017-04-08 14:18 -0700  Kevin McCarthy  <kevin@8t8.us>  (a8b1017a4cc1)

	* imap/message.c: Silence imap progress messages for pipe-message.
	(see #3929)

	_mutt_pipe_message() calls endwin(), and then calls pipe_msg(). If
	an imap message body hasn't already been downloaded, this can end up
	calling imap_fetch_message().

	The progress messages in imap_fetch_message() were restoring curses,
	just after extract_url was running. This was leading to a condition
	where mutt curses didn't think the screen had changed after
	extract_url exited.

	There was already a check for isendwin() inside
	imap_fetch_message(), but it wasn't wrapped around the progressbar
	creation/usage. Add a check for those places too.

2017-03-27 11:39 -0700  Kevin McCarthy  <kevin@8t8.us>  (77032036c642)

	* init.c, init.h: Fix (un)sidebar_whitelist to expand paths.

	Thanks to Arturo for reporting the issue.

2017-03-26 12:27 -0700  Kevin McCarthy  <kevin@8t8.us>  (9da67ea88f25)

	* curs_lib.c: Fix mutt_refresh() pausing during macro events.

	Changeset a07e8215a0ef split input buffering into two pools.
	Unfortunately, the mutt_refresh() was not changed to check the
	correct buffer count, resulting in unnecessary refreshes during
	macros.

	The SSL interactive certificate prompts set OPTIGNOREMACROEVENTS and
	then put up a confirmation menu. Perhaps we've just been lucky, but
	it seems we should refresh the screen in those cases if we're in the
	middle of a macro. Add a check for this option in mutt_refresh()
	too.

2017-03-20 10:16 -0700  Kevin McCarthy  <kevin@8t8.us>  (7cefa378ab7e)

	* init.c: Fix setenv overwriting to not truncate the envlist. (see
	#3922)

	The refactor in 2b9c40f13e13 exposed a bug I hadn't noticed. The
	match loop performed a FREE() on the slot. Then, below, it was
	checking if (*envp) to see whether it was overwriting or creating a
	new slot. However, FREE() nulls out *envp. This would end up
	truncating the envlist just after the set slot!

	Move the free down, using a mutt_str_replace(), when overwriting the
	slot.

2017-03-18 14:39 -0700  Kevin McCarthy  <kevin@8t8.us>  (2b9c40f13e13)

	* init.c: Fix mutt_envlist_set() for the case that envlist is null.
	(see #3922)

2017-03-18 13:48 -0700  Kevin McCarthy  <kevin@8t8.us>  (37209157e33c)

	* filter.c, init.c, protos.h, system.c: Pass envlist to filter
	children too. (closes #3922)

	The new setenv patch neglected to pass the envlist for filters too.

	Unfortunately, the filter code was already set up to pass COLUMNS to
	children, so it needed to be changed to add this to the envlist
	instead.

	Factor out mutt_envlist_set() from the parse_setenv() function,
	which the filter code can then use to set COLUMNS after forking.

2017-03-05 15:24 -0800  Kevin McCarthy  <kevin@8t8.us>  (f0e3b2875065)

	* account.h: Increase ACCOUNT.pass field size. (closes #3921)

	#3921 reported his password token used for Google XOAUTH2 is size
	129. The ACCOUNT structure currently uses a size 128 buffer. Who
	knew a password field would ever be bigger than that?

	Since the ACCOUNT structure has no allocation/dellocation routines,
	the easiest fix is to increase the size. Bump the size up to 256.

2017-03-02 15:53 -0800  Matthias Andree  <matthias.andree@gmx.de>  (5fc3c0729a07)

	* mutt_ssl.c: SSL: Fix memory leak in subject alternative name code.
	(closes #3920)

2017-03-02 14:53 -0800  Kevin McCarthy  <kevin@8t8.us>  (e3e47b2f1370)

	* mbox.c: Prevent segv if open-appending to an mbox fails. (closes
	#3918)

	If mbox_open_mailbox_append() fails, ctx->fp will be null. Add a
	check in mbox_close_mailbox(), to prevent a segv from passing null
	to fileno().

2017-03-02 13:11 -0800  Kevin McCarthy  <kevin@8t8.us>  (e82253beaa9f)

	* mutt_ssl.c: Clear out extraneous errors before SSL_connect() (see
	#3916)

	Call ERR_clear_error() just before the call to SSL_connect() to make
	sure the error queue doesn't have any old errors in it.

	PEM_read_X509() sets an error PEM_R_NO_START_LINE on end-of-file.
	Clear that out so it doesn't show up as the SSL_connect() error
	message.

2017-02-24 11:00 -0800  Kevin McCarthy  <kevin@8t8.us>  (f85c3eb8d065)

	* merge default into stable

2017-02-24 10:55 -0800  Kevin McCarthy  <kevin@8t8.us>  (7cc47d82cac4)

	* .hgsigs: mutt-1.8.0 signed

2017-02-24 10:50 -0800  Kevin McCarthy  <kevin@8t8.us>  (1672b430cbc3)

	* .hgtags: Added tag mutt-1-8-rel for changeset d897983752f9

2017-02-24 10:50 -0800  Kevin McCarthy  <kevin@8t8.us>  (d897983752f9)

	* 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.8.0

4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375