ChangeLog 839 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
2019-03-13 12:06:11 +0800  Kevin McCarthy  <[email protected]> (fedb91e2)

        * Fix incorrect IMAP message purging bug.
        
        Thanks to Ivan Middleton @imiddle for the awesome bug report and
        suggested fix.
        
        The bug is most easily generated using Gmail with the $trash variable
        set.
        
        Deleted messages are first copied to the $trash folder.  If this is
        set to "[Gmail]/Trash", then Gmail inteprets the copy as a "delete"
        and sends EXPUNGE messages back for the messages.
        
        cmd_parse_expunge() and cmd_parse_vanished() set the hdr->index to
        INT_MAX, which subsequently an imap_expunge_mailbox() will use to
        remove the messages from the local mailbox.
        
        If we close the mailbox instead of sync it, Mutt will end up executing
        the 'Deleted' flag setting before processing the expunge (because
        "imap_check_mailbox() -> imap_cmd_finish()' doesn't set check_status
        when we are closing).  The expunged messages will then be included in
        the set of 'Deleted' flags.
        
        Unfortunately, because the messages are sorted by *index* before
        msgset generation, an incorrect range of UIDs will be sent, which
        could easily include messages that should not be deleted.
        
        This fix is a minimal fix for a stable bug fix  excluding
        messages with the index set to INT_MAX from all msg sets.  Other
        things that should be investigated in master are:
        
        - sorting by UID instead of index before msgset generation
        - unsetting the 'active' flag in cmd_parse_expunge() and
          cmd_parse_vanished() instead of waiting until imap_expunge_mailbox()
          to do so.

M	imap/imap.c

2019-02-01 12:41:23 -0800  Kevin McCarthy  <[email protected]> (eeed901d)

        * automatic post-release commit for mutt-1.11.3

M	ChangeLog
M	VERSION
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
2019-02-01 12:34:19 -0800  Kevin McCarthy  <[email protected]> (cd5db026)

        * Update UPDATING file for 1.11.3 release.

M	UPDATING

2019-01-24 18:28:27 -0800  Kevin McCarthy  <[email protected]> (1041fb4f)

        * Show top-level decoded smime text/plain parts.
        
        Commit 331d9d5a attempted to fix a problem with an attachment having
        extension .p7m.  The attachment menu tried to decode and failed, and
        the part ended up being replaced by a bogus text/plain part.
        
        The problem is that crypt_smime_decrypt_mime() returns a text/plain
        part if the decode fails, meaning we can't distinguish failure from
        success in this case.
        
        As a compromise, only use a text/plain resulting from a single
        top-level application_smime part.  This will allow for the case of an
        text/plain encoded email, but won't end up hiding attachments that
        were not decoded.

M	recvattach.c

2019-01-24 14:15:33 -0800  Kevin McCarthy  <[email protected]> (331d9d5a)

        * Improve attachment menu for s/mime parts. (closes #113)
        
        Don't prompt for passphrase or getkeys, or set the ENCRYPT flag, for
        OPAQUE types.
        
        Don't recurse on "text" output from decrypt_mime().  There is no
        reason to recurse on a text type.  Additionally, the
        mutt_read_mime_header() will return an empty text type even if the
        decode doesn't generate mime output.  In those cases, we want to show
        the original attachment.

M	recvattach.c

2019-01-21 19:43:08 -0800  Kevin McCarthy  <[email protected]> (caf5db85)

        * Fix tunnels to also retry and write full buffer.
        
        Change the tunnel_socket_read() and tunnel_socket_write() as the raw
        sockets were adjusted in the previous commit.  Retry on EINTR, and
        complete a full write so all the implementations have the same behavior.

M	mutt_tunnel.c

2019-01-21 15:19:08 -0800  Kevin McCarthy  <[email protected]> (688e27a9)

        * Fix raw socket read/write to follow expected behavior.
        
        The mutt_sasl.c code expects conn_write() to write the entire buffer.
        This is inconsistent with mutt_socket.c, but since other conn_write()
        implementations guarantee this, change raw_socket_write() to do so too
        for now.
        
        Also, update reading and writing to loop on EINTR, as gnutls does.
        They won't return EAGAIN or EWOULDBLOCK because we don't mark sockets
        as non-blocking.

M	mutt_socket.c

2018-11-30 15:12:47 -0800  Kevin McCarthy  <[email protected]> (ae8bb261)

        * Convert to use gitlab registry image ubuntu:18.04.
        
        The gitlab registry image is built using the Dockerfile in
        muttmua/docker-images/tree/master/ubuntu/18.04/
        
        Turn off the scan-build-5.0.  I never look at those reports and they
        run very slowly.
        
        Also, for now just compile for gnutls, to speed up the check further.
        
        (cherry picked from commit f34cb1fb8468f74894818343dd8d95da5c0c640d)

M	.gitlab-ci.yml

2019-01-21 11:56:04 -0800  Kevin McCarthy  <[email protected]> (73b3151e)

        * Fix gnutls tls_socket_write() to properly retry.
        
        Retry on GNUTLS_E_AGAIN and GNUTLS_E_INTERRUPTED.  This prevents an
        aborted send due to a SIGWINCH, for instance.
        
        Change tls_socket_read() to follow the same flow.  Don't bother
        checking gnutls_error_is_fatal() because return codes besides AGAIN
        and INTERRUPTED end up closing the connection regardless.  (We don't
        handle handshakes and negotations during send/receive).

M	mutt_ssl_gnutls.c

2019-01-18 20:46:07 -0800  Kevin McCarthy  <[email protected]> (1b2dcb31)

        * Update the muttrc man page with added commands.
        
        Add the "color compose", index-format-hook, and echo commands.
        
        Add the HMS relative date units.

M	doc/muttrc.man.head

2019-01-10 09:56:41 -0800  Kevin McCarthy  <[email protected]> (78ea05f7)

        * Wrap ssl init calls for LibreSSL too.
        
        It looks like LibreSSL does not perform automatic initialization of
        the library and error strings.
        
        Since LibreSSL defines OPENSSL_VERSION_NUMBER as a "version 2",
        add a check if LIBRESSL_VERSION_NUMBER is defined and call the
        initialization functions for that case.

M	mutt_ssl.c

2019-01-10 16:03:02 +0100  Fabian Groffen  <[email protected]> (42101583)

        * mx_open_mailbox: provide output buffer to realpath(3)
        
        Starting with POSIX.1.2008 resolved_path can be NULL.
        Systems implementing a standard before that crash.  Example of such
        system is Mac OS X 10.5, the last version running on PowerPC hardware.
        
        Since this is the only occurrance of the realpath(3) function in Mutt,
        instead of wrapping it, just adjust this invocation.
        
        Signed-off-by: Fabian Groffen <[email protected]>

M	mx.c

2019-01-08 21:18:38 +0200  Stefan Strogin  <[email protected]> (83585f9b)

        * Fix compilation with LibreSSL <2.7.0. (closes #112)
        
        (cherry picked from commit 9c9bea5e04e2a562017af0ac7a27b1b0e00e8907)

M	mutt_ssl.c

2019-01-07 17:39:19 -0800  Kevin McCarthy  <[email protected]> (df3f2aee)

        * automatic post-release commit for mutt-1.11.2

M	ChangeLog
M	VERSION
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
2019-01-07 17:26:53 -0800  Kevin McCarthy  <[email protected]> (5f1f14e2)

        * Add UPDATING notes for 1.11.2 release.

M	UPDATING

2019-01-05 13:25:38 -0800  Kevin McCarthy  <[email protected]> (ae3587cf)

        * Update copyright for the next stable release.

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

2019-01-04 11:20:05 -0800  Kevin McCarthy  <[email protected]> (853e48bf)

        * Fix mkdtemp.c implementation.
        
        Two statements were indented on the same line under a for statement.
        The second one would not be included in the loop, only being executed
        after the loop finishes.
        
        This is obviously an error, as it modifies the LETTERS entry being
        used.

M	mkdtemp.c

2018-12-28 15:43:51 -0800  Kevin McCarthy  <[email protected]> (63f05d96)

        * Make a copy of x_label before encoding it for updates.
        
        This isn't actually a bug.  Context->label_hash strdups the keys, so
        we are safe from dangling references.  However, the subj_hash uses
        direct references, so to keep things consistent and safe, make a copy
        and encode that.

M	copy.c

2018-12-27 16:24:27 -0800  Kevin McCarthy  <[email protected]> (8bb10956)

        * Restore the xlabel_changed reset.
        
        The cherry pick accidentally obliterated the reset.  That flag is now
        located in hdr->env->changed in the branch and is reset properly
        elsewhere.  Keep it in place in the stable branch.

M	copy.c

2018-12-27 16:08:36 -0800  Kevin McCarthy  <[email protected]> (75f2445c)

        * Rfc2047 encode and fold X-Label when writing updates.
        
        Also, add a missing "skip" in mutt_copy_hdr() for the non-simple case.
        
        These fixes were backported from the kevin/mutt_protected_header branch.

M	copy.c

2018-12-21 10:13:17 -0800  Kevin McCarthy  <[email protected]> (eb444e63)

        * Handle improperly encoded pgp/mime octetstream part.
        
        Some clients (or even mail servers) improperly encode the octetstream
        part.
        
        Thanks to Riccardo Schirone for the original merge request patch.
        This commit also handles the attachment menu, and makes the decoding
        conditional so it's not done if it isn't necessary.
        
        (cherry picked from commit 450de4637f6590487a073b250da342a1400a3ac3)

M	crypt-gpgme.c
M	handler.c
M	pgp.c

2018-12-20 19:39:39 -0800  Kevin McCarthy  <[email protected]> (e104135e)

        * Backport postpone-encrypt cleanups from master.
        
        Free the clear content after successfully postponing.
        
        If the fcc fails, properly restore the clear content before returning
        to the compose menu.

M	send.c

2018-12-02 16:46:28 -0800  Rosen Penev  <[email protected]> (671417dd)

        * Fix compilation without deprecated OpenSSL 1.1 APIs

M	mutt_ssl.c

2018-12-12 16:10:23 -0800  Kevin McCarthy  <[email protected]> (101e05d6)

        * Fix imap_sync_mailbox() hcache leak.
        
        Uploading changed messages to the server ends up overwriting the
        hcache.  Add a straightforward fix and a longish explanation comment
        for the stable branch fix.
        
        Add a TODO noting a better fix should be done in the master branch in
        the future.

M	imap/imap.c

2018-12-11 18:41:37 -0800  Kevin McCarthy  <[email protected]> (29da7c2a)

        * Fix possible smime crash if the read mime header p is NULL.

M	smime.c

2018-12-11 15:29:57 -0800  Kevin McCarthy  <[email protected]> (74a09f41)

        * Fix memory leak in smime.c.
        
        smime_application_smime_handler() was not freeing the BODY returned by
        smime_handle_entity().

M	smime.c

2018-12-09 12:32:24 -0800  Kevin McCarthy  <[email protected]> (37320beb)

        * Fix mutt_parse_rfc822_line() if lastp parameter is NULL.
        
        It checked at the beginning before dereferencing, but not at the end.
        
        Since lastp is only used for the user_hdrs case, move the local
        variable and assignment inside that block to make it clear.

M	parse.c

2018-12-06 19:22:59 -0800  Kevin McCarthy  <[email protected]> (59625f54)

        * Fix classic gpg date parsing in list-keys.
        
        GnuPG changed the format of their --with-colons output in 2.0.10.
        Dates are now seconds since epoch.  Update the parse_pub_line() code
        to detect the new format.
        
        The GnuPG changes also separated pub and the first uid.  Since mutt
        allows an empty uid field, the output is a bit less friendly now, with
        an initial key without an uid.  I think that's acceptable, but
        eventually we'll want to change the parsing behavior.

M	gnupgparse.c

2018-12-03 07:30:34 -0800  Kevin McCarthy  <[email protected]> (2cb34544)

        * Fix typo in Finnish translation.
        
        Thanks to @Petteri3 for the patch.

M	po/fi.po

2018-12-01 11:38:36 -0800  Kevin McCarthy  <[email protected]> (991c018e)

        * automatic post-release commit for mutt-1.11.1

M	ChangeLog
M	UPDATING
M	VERSION
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
2018-12-01 11:27:20 -0800  Kevin McCarthy  <[email protected]> (bf2f59d4)

        * Document Sender header as a default in $imap_headers.

M	init.h

2018-11-29 12:36:08 -0800  Kevin McCarthy  <[email protected]> (42983686)

        * Add SENDER to default list of IMAP headers.
        
        This header is matched by the ~e and ~L patterns.  Those patterns
        should work without the user having to know to add Sender to the list
        of $imap_headers.  This was probably just an oversight.

M	imap/message.c

2018-11-28 00:19:38 +0100  Adam Golebiowski  <[email protected]> (b4ade8a7)

        * Updated Polish translation.

M	po/pl.po

2018-11-27 13:55:04 -0800  Kevin McCarthy  <[email protected]> (41816374)

        * Fix QRESYNC crash after a large number of VANISHED messages.
        
        When handling QRESYNC vanished, imap_expunge_mailbox() was called to
        empty out the messages.  Various counters, including vcount are
        updated by the mx_update_tables() after the expunge.
        
        These counters need to be reset, because mx_update_context() will do
        so once again at the end of reading new headers.  This can cause an
        out of bounds access in v2r.

M	imap/message.c

2018-11-25 09:50:23 -0800  Kevin McCarthy  <[email protected]> (3b75515c)

        * automatic post-release commit for mutt-1.11.0

M	ChangeLog
M	VERSION
M	po/bg.po
M	po/ca.po
M	po/cs.po
M	po/da.po
M	po/de.po
M	po/el.po
M	po/eo.po
M	po/es.po
M	po/et.po
M	po/eu.po
M	po/fi.po
M	po/fr.po
M	po/ga.po
M	po/gl.po
M	po/hu.po
M	po/id.po
M	po/it.po
M	po/ja.po
M	po/ko.po
M	po/lt.po
M	po/nl.po
M	po/pl.po
M	po/pt_BR.po
M	po/ru.po
M	po/sk.po
M	po/sv.po
M	po/tr.po
M	po/uk.po
M	po/zh_CN.po
M	po/zh_TW.po
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 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 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 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 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 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
2018-11-25 09:33:53 -0800  Kevin McCarthy  <[email protected]> (6de8a20e)

        * Bump release date.

M	UPDATING

2018-11-24 10:10:24 -0800  Morten Bo Johansen  <[email protected]> (69035fa3)

        * Updated Danish translation.

M	po/da.po

2018-11-24 10:06:55 -0800  Vsevolod Volkov  <[email protected]> (8b99eb9c)

        * Updated Russian translation.

M	po/ru.po

2018-11-24 10:04:00 -0800  Vsevolod Volkov  <[email protected]> (ff51ac67)

        * Updated Ukrainian translation.

M	po/uk.po

2018-11-23 09:05:49 +0100  Olaf Hering  <[email protected]> (a287a1c4)

        * Update de.po
        
        Unwrap lines, because it is almost 2019.
        
        Signed-off-by: Olaf Hering <[email protected]>

M	po/de.po

2018-11-22 09:10:48 -0800  TAKAHASHI Tamotsu  <[email protected]> (edd749b9)

        * Updated Japanese translation.

M	po/ja.po

2018-11-18 10:05:30 -0800  TAKAHASHI Tamotsu  <[email protected]> (2a919856)

        * Add L10N comments to several unclear messages.
        
        Updating Japanese translation, I found that some of the updated messages
        were a little hard to understand without reading the code.
        
        Add comments to some messages I nearly translated in a wrong way.

M	account.c
M	crypt-gpgme.c
M	pgp.c
M	recvcmd.c

2018-11-17 14:55:58 +0100  Petr Písař  <[email protected]> (5c1af7a4)

        * Czech translation update for Mutt 1.11.0

M	po/cs.po

2018-11-17 02:28:01 +0100  Vincent Lefevre  <[email protected]> (e9846f41)

        * Updated fr.po for Mutt 1.11.0.

M	po/fr.po

2018-11-15 09:29:15 -0800  Kevin McCarthy  <[email protected]> (78a60fc9)

        * Minor fixes to UPDATING.

M	UPDATING

2018-11-14 14:13:47 -0800  Kevin McCarthy  <[email protected]> (1b5caef3)

        * Update $index_format cross-references in manual.
        
        Add index-format-hook to the list of hooks.
        
        Add the list of configuration variables that use the expandos.
        
        Add a note to $post_index_string that it uses the expandos.

M	init.h

2018-11-13 15:01:53 -0800  Kevin McCarthy  <[email protected]> (eb69b2ed)

        * Update the UPDATING file for 1.11.0 release.

M	UPDATING

2018-11-10 06:51:34 -0800  lilydjwg  <[email protected]> (1fd77395)

        * Updated Simplified Chinese translation.

M	po/zh_CN.po

2018-11-07 14:19:25 -0800  Kevin McCarthy  <[email protected]> (39444350)

        * Minor edits to the README.

M	README

2018-11-07 13:38:53 -0800  Kevin McCarthy  <[email protected]> (f8153009)

        * Add some brief documentation on OAUTH support.
        
        These are just pulled from Brandon's commit message.

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

2018-11-06 15:54:45 -0800  Kevin McCarthy  <[email protected]> (c9ab8553)

        * Add monitor.h to extra_sources list.

M	Makefile.am

2018-11-06 13:21:20 -0800  Kevin McCarthy  <[email protected]> (762c0c43)

        * Allow relative date hour/min/sec offsets.
        
        These might be useful for index-format-hook pattern matching for some
        people.

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

2018-11-06 11:02:01 -0800  Kevin McCarthy  <[email protected]> (79741a49)

        * Fix a few memory leaks for idna conversion.

M	alias.c
M	init.c
M	sendlib.c

2018-11-05 17:44:20 -0800  Kevin McCarthy  <[email protected]> (fec121b2)

        * Document send-hooks are not executed for resumed messages.

M	doc/manual.xml.head

2018-11-05 16:19:03 -0800  Kevin McCarthy  <[email protected]> (1681a2ab)

        * Prevent $charset from having multiple values.
        
        Mutt relies on it being a single character set, but failed to make
        sure of that in check_charset().
        
        Thanks to Hans-Peter Jansen for reporting the problem, and to Mel
        Gorman for working with me to track down the issue in his
        configuration.

M	init.c

2018-10-31 12:19:56 -0700  Kevin McCarthy  <[email protected]> (e6059484)

        * Always print mutt_buffer_pool_free() size debug output.
        
        So I can easily see the resulting size of the pool at the end of a
        run.

M	buffer.c

2018-10-30 11:53:37 -0700  Kevin McCarthy  <[email protected]> (5de55f85)

        * Add a flag for dynamic date range evaluation in patterns.
        
        By default, Mutt evaluates relative date patterns, such as "~d<1d"
        against the date when the pattern is compiled.
        
        For index-format-hook, we need to pattern match against a message
        based on the current date/time, so that for example, conditional date
        format patterns correctly match after Mutt has been open for many
        days/weeks.
        
        Add a flag, MUTT_PATTERN_DYNAMIC, that changes ~d and ~r evaluation to
        reevaluate the min/max range with each match.
        
        This will of course be slower, but for the index, where a screenful of
        messages at a time are evaluated, is an acceptable tradeoff against
        accurate pattern matching.

M	hook.c
M	mutt.h
M	pattern.c

2018-10-29 13:45:02 -0700  Kevin McCarthy  <[email protected]> (7ebb6205)

        * Add index-format-hook and expando.
        
        index-format-hook is used to allow dynamic insertion/evaluation of
        format strings into $index_format.
        
        It can be used, for example, to implement date formatting based on the
        age of the message.
        
        Add a new %@[email protected] expando to $index_format, which evaluates the
        matching index-format-hooks with "name".

M	doc/manual.xml.head
M	hdrline.c
M	hook.c
M	init.c
M	init.h
M	mutt.h
M	protos.h

2018-10-30 08:55:52 -0700  Kevin McCarthy  <[email protected]> (5cfbcf52)

        * Fix memory leak on error in eat_regexp() and eat_date().

M	pattern.c

2018-10-23 12:29:26 +0200  Peter Wu  <[email protected]> (7c6d3851)

        * Fix memleaks of saslconn on error paths
        
        If mutt_sasl_client_new returns an error, the callers would ignore the
        allocated saslconn resource from sasl_client_new. Be sure to release
        these with sasl_dispose as documented in sasl.h. Likewise, let callers
        (POP/IMAP) dispose the resource on their error paths. SMTP was already
        taken care of. Found with LeakSanitizer in IMAP.

M	imap/auth_sasl.c
M	mutt_sasl.c
M	pop_auth.c

2018-10-16 17:42:35 -0700  Kevin McCarthy  <[email protected]> (420226ce)

        * Minor syntactic cleanup in mutt_print_attachment().
        
        Converting a return to a rc assignment accidentally left an extra
        parenthesis.

M	attach.c

2018-10-16 17:35:54 -0700  Kevin McCarthy  <[email protected]> (42481bda)

        * Ensure a resized empty buffer is null-terminated.
        
        The new buffer code is using the pool, which ensures its buffers are
        null-terminated.
        
        However, if a "new" buffer from another part of the code were passed
        to one of the temporary interfaces that resizes the buffer, it's
        possible a non-terminated string might end up being passed through.
        
        It's reasonable to expect mutt_b2s() for a "new" buffer should be the
        same as after it is resized larger.  So ensure the resulting buf->data
        is properly terminated to avoid surprises.

M	buffer.c

2018-10-16 16:04:57 -0700  Kevin McCarthy  <[email protected]> (dd1e0ea4)

        * Remove conversion of nbsp to space.
        
        Keep the behavior of it not line-breaking, but don't change it to a
        space character when displaying.  This is so copy-paste from the pager
        will preserve the nbsp, which is semantically important in some
        locales.

M	pager.c

2018-10-14 14:35:21 -0700  Kevin McCarthy  <[email protected]> (b02a9d75)

        * Convert mutt_print_attachment to use BUFFER.

M	attach.c

2018-10-14 14:02:20 -0700  Kevin McCarthy  <[email protected]> (fde5478c)

        * Convert mutt_view_attachment to use BUFFER.

M	attach.c
M	protos.h

2018-10-14 13:02:20 -0700  Kevin McCarthy  <[email protected]> (162e7cc6)

        * Convert mutt_edit_attachment to use BUFFER.

M	attach.c

2018-10-14 16:18:53 -0700  Kevin McCarthy  <[email protected]> (ffdf38d7)

        * Convert mutt_compose_attachment to use BUFFER.

M	attach.c
M	rfc1524.c
M	rfc1524.h

2018-10-14 12:52:30 -0700  Kevin McCarthy  <[email protected]> (c619d5cb)

        * Convert mutt_get_tmp_attachment to use BUFFER.

M	attach.c

2018-10-14 19:02:47 -0700  Kevin McCarthy  <[email protected]> (57caae48)

        * Add mutt_buffer_adv_mktemp() transition function.

M	muttlib.c
M	protos.h

2018-10-14 18:36:08 -0700  Kevin McCarthy  <[email protected]> (f6d9a980)

        * Add mutt_buffer_mktemp() transition function.
        
        This is self-contained and easy to translate, so instead just create
        an alternate implementation using BUFFER.

M	muttlib.c
M	protos.h

2018-10-14 15:48:07 -0700  Kevin McCarthy  <[email protected]> (4781461c)

        * Add rfc1524 buffer function interfaces for attach.c conversion.
        
        The rfc1524 functions call, and are called by, many functions that
        need to be converted.  But to keep the conversion manageable, install
        helper interface functions that pass the buffer->data and
        buffer->dsize in and adjust the buffer->dptr afterwards.

M	buffer.c
M	buffer.h
M	rfc1524.c
M	rfc1524.h

2018-10-10 13:08:27 -0700  Kevin McCarthy  <[email protected]> (b231f15a)

        * Convert the rest of mh.c to use BUFFER for file paths.
        
          * mh_read_sequences
          * mh_sequences_changed
          * mh_already_notified
          * mh_mkstemp
          * mh_update_sequences
          * mh_sequences_add_one
          * maildir_update_time
          * maildir_delayed_parsing
          * maildir_open_mailbox_append
          * mh_open_mailbox_append
          * maildir_mh_open_message
          * maildir_open_new_message
          * _mh_commit_message
          * mh_rewrite_message
          * mh_sync_mailbox
          * mh_check_mailbox
          * maildir_check_empty
          * mx_is_maildir
          * mx_is_mh()

M	mh.c

2018-10-10 12:50:15 -0700  Kevin McCarthy  <[email protected]> (14b0178d)

        * Add a comment about gnutls date bits in certstat.
        
        It's easy to miss the call disabling date checking and wonder why the
        certstat bits are not set.

M	mutt_ssl_gnutls.c

2018-10-09 14:39:09 -0700  Kevin McCarthy  <[email protected]> (d6581efc)

        * Change gnutls certificate_file processing and interactive prompts.
        
        Accept a saved cert at any point in the chain, except for those
        revoked or with invalid dates.
        
        The INSECUREALG processing was a bit goofed up.  It was skipping the
        prompt for every chain except the host, and was only displaying an
        error for entry 1 (the host being 0, root being len-1).  Instead
        prompt at any point, and display a warning as with the other errors.
        
        Add a CERTERR_OTHER type to capture other bits.  Recently GnuTLS has
        added additional certificate_status_t types.  We may want to improve
        the prompts in the future for those, but for now at least make sure
        it's recorded in certerr.

M	mutt_ssl_gnutls.c

2018-10-09 13:28:15 -0700  Kevin McCarthy  <[email protected]> (ea1ea1e5)

        * Fix gnutls (a)lways to properly save for all certerr values.
        
        For the case of SIGNERNOTCA, INSECUREALG, or a newer unhandled value,
        the "(a)ccept always" prompt was allowed, but the cert saving was
        prevented by a check only against NOTTRUSTED.  This ended up giving a
        strange error message saying the cert was not saved.
        
        Fix to save the cert for all errors except HOSTNAME (which is handled
        separately).

M	mutt_ssl_gnutls.c

2018-10-07 19:08:42 -0700  Kevin McCarthy  <[email protected]> (85ac2c1d)

        * Convert maildir_canon_filename() and callers to use BUFFER.
        
        Callers are maildir_check_mailbox(), _maildir_open_find_message(), and
        maildir_open_find_message().

M	mh.c

2018-10-07 16:17:36 -0700  Kevin McCarthy  <[email protected]> (112f81d8)

        * Convert maildir_sync_message to use BUFFERs.

M	mh.c

2018-10-07 15:48:17 -0700  Kevin McCarthy  <[email protected]> (766e76ee)

        * Convert _maildir_commit_message to use BUFFER.

M	mh.c

2018-10-07 15:31:40 -0700  Kevin McCarthy  <[email protected]> (de6d6180)

        * Convert maildir_parse_dir to use BUFFER.
        
        Note: the uses of buf and tmp don't overlap, so we only use a single
        BUFFER.

M	mh.c

2018-10-07 15:18:34 -0700  Kevin McCarthy  <[email protected]> (90a53062)

        * Convert buffy_maildir_check_dir to use BUFFER.

M	buffy.c

2018-10-08 10:36:13 -0700  Kevin McCarthy  <[email protected]> (3405aeee)

        * Convert mix_send_message to use buffer pool.

M	remailer.c

2018-10-08 10:48:29 -0700  Kevin McCarthy  <[email protected]8.us> (1e1d7b7a)

        * Create mutt_buffer_add_printf().
        
        Change mutt_buffer_printf() to overwrite the buffer contents, like
        mutt_buffer_strcpy().
        
        mutt_buffer_add*() functions append to the buffer contents.

M	buffer.c
M	buffer.h
M	imap/command.c
M	imap/imap.c
M	imap/message.c
M	imap/util.c
M	pattern.c

2018-10-06 15:07:27 -0700  Kevin McCarthy  <[email protected]> (2d373eba)

        * Convert imap_rename and pgp_invoke_list_keys to use buffer pool.

M	imap/imap.c
M	pgpinvoke.c

2018-10-06 13:53:33 -0700  Kevin McCarthy  <[email protected]> (619fe069)

        * Add buffer pool functions.
        
        Also add a few helper functions: mutt_buffer_clear(),
        mutt_buffer_strcpy(), and a macro mutt_b2s to grab the buffer data as
        a const char *.

M	buffer.c
M	buffer.h
M	init.c
M	main.c

2018-10-06 13:08:13 -0700  Kevin McCarthy  <[email protected]> (563afcc1)

        * Rearrange and clean up buffer functions.

M	buffer.c
M	buffer.h

2018-10-06 12:43:17 -0700  Kevin McCarthy  <[email protected]> (f3c70b58)

        * Break buffer functions into separate source file.

M	Makefile.am
A	buffer.c
A	buffer.h
M	mutt.h
M	muttlib.c
M	protos.h

2018-10-05 10:04:27 -0700  Kevin McCarthy  <[email protected]> (caeda713)

        * Improve info install/uninstall checks.
        
        Make sure install-info exists before using it.
        
        Make sure target mutt.info exists before calling `install-info
        --delete`.  Add a few missing '-f' force flags to removals during
        uninstall.

M	doc/Makefile.am

2018-10-04 12:06:27 -0700  Kevin McCarthy  <[email protected]> (95c4c5c2)

        * Build info file documentation.
        
        If docbook2x-texi and makeinfo are installed, convert the docbook file
        to info and install as another source for the manual.

M	.gitignore
M	configure.ac
M	doc/Makefile.am
M	doc/manual.xml.head

2018-10-03 22:36:32 +0200  Max Görner  <[email protected]> (8a0d03d9)

        * Adapt translation of "Subject" in help text
        
        In the help text, "Subject" was not translated. Since it is translated
        by "Betreff" at other locations, this was adapted.

M	po/de.po

2018-10-03 22:32:44 +0200  Max Görner  <[email protected]> (17f58246)

        * Translate ERROR by FEHLER

M	po/de.po

2018-10-03 22:28:57 +0200  Max Görner  <[email protected]> (1fd2c85b)

        * Add several "Durchkopplungsbindestrich" to some German translations
        
        While up to personal taste to a certain extent, in general it is more
        appropriate to use dashes instead of spaces to to combine related but
        distinct terms.
        
        This commit introduces dashes, so called Durchkopplungsbindestriche, to
        some of the terms, were found more suiting.

M	po/de.po

2018-10-03 22:20:30 +0200  Max Görner  <[email protected]> (fb34e79c)

        * Fix typos in German translation
        
        There were some typos in the German translation. Those found by a brief
        inspection are fixed now.

M	po/de.po

2018-09-28 15:08:19 -0700  Kevin McCarthy  <[email protected]> (f3e0742a)

        * Convert pgp_invoke_list_keys and mix_send_message to use BUFFERs.
        
        Both repetitively perform a lot of copying back in forth, which is
        much cleaner with a BUFFER.
        
        Note that in pgp_invoke_list_keys, if there are no hints uids->data
        would be NULL.  However, the pgp_invoke() checks and wraps all the
        format substitutions with NONULL.

M	pgpinvoke.c
M	remailer.c

2018-09-28 14:22:09 -0700  Kevin McCarthy  <[email protected]> (a97543c3)

        * Change imap_rename_mailbox to use a BUFFER.

M	imap/imap.c

2018-09-27 17:29:16 -0700  Kevin McCarthy  <[email protected]> (51efb726)

        * Increase buffer sizes for some IMAP commands.
        
        Use to ensure assembled IMAP commands fit in the resultant buffer to
        be imap_exec()'ed.
        
        RFC2683 suggested a limit of 1000, but asked servers to accept up to
        8000.  Furthermore, RFC7162 bumped the client limit suggestion up to
        8192.  So I don't believe any issues will be caused by this.
        
        Most of these are increases are just to remove theoretical truncation
        warned about by the compiler; I don't believe we've had reports of
        actual command truncation due to a mailbox 1024 characters long.

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

2018-09-27 15:03:40 -0700  Kevin McCarthy  <[email protected]> (b181996c)

        * Add regfree to configure regex test.
        
        This allows to run the system regex lib even when compiling with
        ASAN.  Previously, ASAN would report the regex_t leak and change the
        exit code.

M	configure.ac

2018-09-25 19:03:56 -0700  Kevin McCarthy  <[email protected]> (999d85c6)

        * Fix non-threaded $sort_aux "reverse-" sorting.
        
        The secondary sort was looking at (Sort & SORT_REVERSE) instead
        of (SortAux & SORT_REVERSE), so wasn't even performing the reverse
        based on the correct flag.
        
        Additionally, afterwards, the primary sort was improperly applying a
        reverse when the secondary sort returned non-zero.
        
        Change SORTCODE() to look at SortAux when we are inside a secondary
        sort.
        
        Change AUXSORT() to return the result if the secondary sort returns
        non-zero.  It is ugly to put a return inside the macro, but the check
        for non-zero needs to be performed inside the AUXSORT if branch.
        
        If the secondary sort returns 0, then the primary sort can still
        compare index and apply a reverse as needed.

M	init.h
M	sort.c

2018-09-22 09:57:30 -0700  Kevin McCarthy  <[email protected]> (f8196e20)

        * Merge branch 'stable'

2018-09-22 09:53:55 -0700  Kevin McCarthy  <[email protected]> (f9293d64)

        * Increase user/pass field sizes in auth_login.
        
        account.pass was previously increased to 256 in cd421c13.  Also, the
        buf should be bigger than the user+pass+"LOGIN", so bump it up too.

M	imap/auth_login.c

2018-09-21 17:13:02 -0700  Kevin McCarthy  <[email protected]> (8ac10368)

        * Add output during smime_keys purpose flag checking.

M	smime_keys.pl

2018-09-17 19:40:22 -0700  Kevin McCarthy  <[email protected]> (4350694b)

        * Send imap keepalives for interactive filters.
        
        When viewing attachments externally with a (non-copiousoutput) mailcap
        entry missing %s, the command is invoked as a filter, with the
        attachment piped into stdin.  However, unlike a filter, the user
        interacts with the command, instead of just displaying the output in
        the pager.
        
        Just as with the mutt_system() command, Mutt needs to send imap
        keepalives to keep those connections from closing during the
        potentially extended invocation.
        
        Thanks to John Hawkinson for the bug report, and his suggested patch,
        which this commit is based upon.

M	attach.c
M	filter.c
M	protos.h

2018-09-14 14:23:04 -0700  Kevin McCarthy  <[email protected]> (668b76f2)

        * Remove purpose checks in smime_keys.pl verify step.
        
        The purpose checks are subsequently performed, and added as a field to
        the .index.  In any case, it turns out passing multiple '-purpose'
        arguments isn't even correct: openssl appears to just use the last
        one.
        
        Thanks to David J. Weller-Fahy for reporting the problem, and for
        including a possible patch.

M	smime_keys.pl

2018-09-14 14:21:04 -0700  Kevin McCarthy  <[email protected]> (2a0afe07)

        * Free queries and alias_queries before exiting.

M	main.c

2018-09-12 18:23:00 -0700  Kevin McCarthy  <[email protected]> (488e9cd7)

        * Change imap_conn_find() to always return an authenticated conn.
        
        With the flag MUTT_IMAP_CONN_NONEW, it was already ensured the
        connection would be authenticated.  However, without that flag, an
        error in opening the connection or authentication would still return
        an idata.
        
        The callers that didn't bother to check the state were still assuming
        authenticated, because they were all subseqeuently issuing an
        "authenticated state" command to the server.
        
        Rather than add state checks to every caller, just change the function
        to return NULL if the idata did not end up in an authenticated state.
        
        Remove the now redundant state checks in imap_open_mailbox() and
        imap_get_mailbox().

M	imap/imap.c

2018-09-02 14:43:04 -0700  Kevin McCarthy  <[email protected]> (9ed4bf53)

        * Change compress examples to type "example" rather than "sect4".

M	doc/manual.xml.head

2018-09-02 14:22:09 -0700  Kevin McCarthy  <[email protected]> (34ea7e4c)

        * Clean up documentation link targets.
        
        Move link targets for iconv-hook and sidebar_whitelist to the
        beginning of a section, rather than a link embedded inside a command.

M	doc/manual.xml.head

2018-09-02 20:53:41 +0200  Vincent Lefevre  <[email protected]> (c8112503)

        * Updated French translation.

M	po/fr.po

2018-09-01 09:47:07 -0700  Cody Brownstein  <[email protected]> (daf66918)

        * Fix typo

M	init.h

2018-08-31 15:50:00 -0700  Kevin McCarthy  <[email protected]> (1b4860a5)

        * Convert certificate prompts to show sha-256 instead of md5.
        
        Due to the length of the sha-256 fingerprint, split the output into
        two lines.
        
        Note that this change now requires OpenSSL 0.9.8+ [2005-07-05], and
        GnuTLS 1.7.4+ [2007-02-05].

M	mutt_ssl.c
M	mutt_ssl_gnutls.c

2018-08-29 15:08:19 -0700  Kevin McCarthy  <[email protected]> (a2b28936)

        * Rename pgpring to mutt_pgpring.
        
        pgpring is used by another common package, signing-party.  At the
        request of ArchLinux, I am renaming our version to be prefixed by
        "mutt_" in order to remove a naming conflict.
        
        This is a minor inconvenience for pgp2, pgp5, and pgp6 users, but I
        believe this constitutes an extremely small number of users at this
        point.
        
        I am keeping pgpewrap as-is because it is also used by GnuPG, and has
        no such naming conflict.

M	.gitignore
M	Makefile.am
M	configure.ac
M	contrib/pgp2.rc
M	contrib/pgp5.rc
M	contrib/pgp6.rc
M	doc/Makefile.am
M	doc/PGP-Notes.txt
M	doc/mutt.man
M	doc/pgpring.man
M	init.h

2018-08-29 13:00:14 -0700  Kevin McCarthy  <[email protected]> (6216a753)

        * Remove extra lstats() in safe_rename() upon link success.
        
        I originally kept the lstat()'s in order to make as few changes as
        possible to the function.  However, Derek Martin argues correctly that
        if we are trusting the link() 0-retval, the lstats are unnecessary and
        in fact can cause a performance impact over NFS.

M	lib.c

2018-08-26 18:43:20 -0700  Kevin McCarthy  <[email protected]> (2d889227)

        * Add additional error handling to safe_rename().
        
        It is apparently possible for link() to return an error but the link
        to still be created.  Add a double check for that case.  If the files
        match, unlink the src and return success.

M	lib.c

2018-08-28 17:43:46 +0200  Tommi A Pirinen  <[email protected]> (462710bd)

        * new Finnish translation

M	configure.ac
A	po/fi.po

2018-08-28 14:07:31 +0200  Vincent Lefevre  <[email protected]> (22d20f50)

        * Updated French translation.

M	po/fr.po

2018-08-28 13:59:40 +0200  Vincent Lefevre  <[email protected]> (39e1eb86)

        * Updated French translation.

M	po/fr.po

2018-08-26 16:10:13 -0700  Kevin McCarthy  <[email protected]> (426a6c12)

        * Merge branch 'stable'

2018-08-26 16:08:06 -0700  Kevin McCarthy  <[email protected]> (c7695a40)

        * Fix alias documentation examples.
        
        Thanks to Cody Brownstein for pointing out the problem.

M	doc/manual.xml.head

2018-08-24 15:49:49 -0700  Kevin McCarthy  <[email protected]> (c041375c)

        * Change $query_format to use mutt_format_s.
        
        Use the character-cell width functions so that multibyte output is
        properly formatted.

M	query.c

2018-08-24 12:56:54 -0700  Kevin McCarthy  <[email protected]> (fa620776)

        * Display an error message if syncing fails.
        
        Ticket 36 reported an issue where a maildir was removed while the
        mailbox was opened.  Later, attempting to sync displayed the message
        "Writing xxx...", which remained on the screen.  The reporter actually
        thought mutt was frozen, but it was simply that on a sync error Mutt
        wasn't clearing or updating the message window.
        
        There is some error message handling for mbox.c check_mailbox, but I
        don't think that is the right place to further propogate messages.
        Instead, add an error to the same place the initial "Writing..."
        message is created.

M	mx.c

2018-08-22 15:07:45 -0700  Kevin McCarthy  <[email protected]> (32734a9f)

        * Add compose-to-sender functionality.
        
        This patch is loosely based on the NeoMutt feature, but adds in
        support for the attach menu, reuses functionality in send.c, and has
        proper mode checks.
        
        Thanks to Enno for the opening the ticket requesting the port.

M	OPS
M	attach.h
M	curs_main.c
M	functions.h
M	mutt.h
M	pager.c
M	recvattach.c
M	recvcmd.c
M	send.c

2018-08-21 15:51:09 -0700  Kevin McCarthy  <[email protected]> (1d3b82b7)

        * Fix nested macro warning.
        
        Pull the #if/#else outside of the snprintf in imap.c.  On some
        platforms, snprintf is a macro itself, which leads to a warning about
        undefined behavior.
        
        Thanks to Charles Diza for pointing out the problem.

M	imap/imap.c

2018-08-14 14:31:34 -0700  Kevin McCarthy  <[email protected]> (38647ab9)

        * Remove compare_stat() call in safe_rename().
        
        Some filesystems, such as sshfs, implement hard links strangely.  The
        hard link is created, but is represented by a different inode number
        by the sshfs layer.  The current maildir code goes into an infinite
        loop in this case.  Remove the compare_stat() and trust that a link()
        return code of 0 means the link really did get created.  Still, keep
        the stats just as a minor check.

M	lib.c

2018-08-21 15:18:24 -0700  Kevin McCarthy  <[email protected]> (ec9098a4)

        * Merge branch 'stable'

2018-08-21 15:00:23 -0700  Kevin McCarthy  <[email protected]> (78db40f2)

        * Add autoconf check for libunistring when checking for idn2.
        
        -lunistring is only explicitly needed when compiling statically, so
        add a AC_SEARCH_LIBS to add it to LIBS if it is found.
        
        Thanks to Fabrice Fontaine for the heads-up about the problem and the
        merge request.

M	configure.ac

2018-08-16 11:49:13 +0200  Vincent Lefevre  <[email protected]> (b1a9ccad)

        * Updated French translation.

M	po/fr.po

2018-08-15 16:13:45 -0700  Kevin McCarthy  <[email protected]> (7ca3b14b)

        * Allow ctrl-c to interrupt initial IMAP header download.
        
        Once the mailbox is open, it is significantly more complicated to
        abort and keep Mutt from crashing.  But during the initial
        open/download Mutt is prepared to close the mailbox cleanly on
        failure.

M	imap/message.c

2018-08-14 14:04:05 -0700  Kevin McCarthy  <[email protected]> (5ce9030c)

        * Remove legacy trim_incomplete_mbyte() in the pager.
        
        Commit 4b1deb57 added the trim_incomplete_mbyte() call, but at
        that time, the function was using fgets() into a fixed-sized
        buffer.  The function was passing in "blen - 1" to the size
        parameter of fgets, so the check for blen-2 was to see if the
        buffer was completely filled by the fgets.
        
        Commit d39d9c0c converted to use a dynamic buffer, but the
        trim_incomplete_mbyte() was left in.  It now serves no purpose
        because the entire line will be read in.  Presumably the buggy
        regexp lib should have been fixed by now too.

M	pager.c

2018-08-13 19:02:32 -0700  Kevin McCarthy  <[email protected]> (e8b626bc)

        * Don't match $abort_noattach_regexp on quoted lines.

M	send.c

2018-08-13 18:56:37 -0700  Kevin McCarthy  <[email protected]> (a1cf2012)

        * Refactor out mutt_is_quote_line().
        
        This makes resolve_types() a tiny bit clearer, and will be usable by
        $abort_noattach.

M	pager.c
M	protos.h

2018-08-13 18:22:58 -0700  Kevin McCarthy  <[email protected]> (f721883d)

        * Convert abort_noattach scan to use mutt_read_line().
        
        I should have fixed this up before committing the patch.

M	send.c

2018-08-13 09:43:55 -0700  Kevin McCarthy  <[email protected]> (fe455d5f)

        * Only sync CONDSTORE and QRESYNC on the initial download.
        
        In the midst of the imap_read_headers() refactor, I forgot to put this
        guard on the /MODSEQ and /UIDSEQSET storage.
        
        Because we don't deal with flag sync issues while the mailbox is open,
        or when it closes, we only want to write those values to the header
        cache during the initial download.
        
        It makes no sense to perform all the header cache work if new messages
        come into an open empty mailbox, so add a parameter to flag the
        initial download, rather than check for msn_begin==1.

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

2018-08-12 22:02:38 +0200  Vincent Lefevre  <[email protected]> (289e5c8e)

        * Updated French translation.

M	po/fr.po

2018-08-11 19:14:10 -0700  Kevin McCarthy  <[email protected]> (b88aaeb3)

        * Add more doc for the $imap_condstore and $imap_qresync options.

M	init.h

2018-08-11 17:59:54 -0700  Kevin McCarthy  <[email protected]> (a056404c)

        * Always check UID vs MSN when handling FETCH.
        
        Ensure the UID vs MSN check is always done before flags are processed,
        not just if the UID happened to appear before the FLAGS.
        
        Improve the debug messages to make it clearer why a fetch response is
        being skipped.

M	imap/command.c

2018-05-26 16:02:04 -0700  Kevin McCarthy  <[email protected]> (3865d043)

        * Add QRESYNC support.
        
        Refactor imap_read_headers() to break into functions for the different
        queries.
        
        Move uid_hash population to the same place msn_index is populated.
        
        Change the VANISHED handler to not decrement MSNs for EARLIER.
        FastMail, at least, does assume there are no gaps, and really it makes
        no sense for there to be.  Further testing will be needed.

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

2018-05-24 13:26:35 -0700  Kevin McCarthy  <[email protected]> (868aaa48)

        * Add utility functions for QRESYNC support.
        
        * Add function to generate uid_seqset for header cache.
          This will be used by QREFRESH to reconstruct the msn_index state.
        
        * Add seqset data structure and iterator functions.
        
        * Add cmd_parse_vanished, for QRESYNC support.
        
        * Add and enable QRESYNC capability.
        
        * Create helper functions to store and retrieve the uid_seqset.

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

2018-05-14 18:12:39 -0700  Kevin McCarthy  <[email protected]> (9079c2a8)

        * Add basic CONDSTORE support when fetching initial messages.
        
        Store MODSEQ in the header cache, and use that to perform a "FETCH
        CHANGEDSINCE" for header updates when initially downloading messages.
        
        Further improvements could be made to add support when syncing.
        Handling MODSEQ for FLAG updates while the mailbox is open would be
        complicated by the fact that Mutt supports locally modified headers,
        so we couldn't accept the new (or subsequent) MODSEQ.
        
        However, this initial step may at least provide some benefit when
        opening the mailbox, which is generally the most time and data
        intensive.

M	imap/command.c
M	imap/imap.c
M	imap/imap_private.h
M	imap/message.c
M	imap/message.h
M	init.h
M	lib.c
M	lib.h
M	mutt.h

2018-05-26 14:46:16 -0700  Kevin McCarthy  <[email protected]> (b13a4ba6)

        * Create mutt_buffer_increase_size() function.
        
        This will allow preallocating buffers that we know are going to be
        big for qresync support.
        
        This will also be useful for buffer pools later on.

M	muttlib.c
M	protos.h

2018-07-28 18:43:31 -0700  Kevin McCarthy  <[email protected]> (10c1ac4b)

        * Move exit cleanup in main() to end of function.
        
        Route exits to the same place to ensure uniform cleanup.
        
        Message printing is a bit of a mess, but for now, try to keep the
        exact same behavior.

M	main.c

2018-07-28 15:26:34 -0700  Kevin McCarthy  <[email protected]> (911df435)

        * Fix -z and -Z options to work with IMAP.
        
        -Z did not work if $imap_passive was set (the default).  I think using
        the option implies the desire to open a new connection and check
        buffy at startup, so temporarily turn it off during the buffy.
        
        -z was not hooked up for IMAP.  Change it to call imap_status().  This
        also requires $imap_passive be unset, so temporarily turn the option
        off too.

M	imap/imap.c
M	imap/imap.h
M	main.c
M	mx.c

2018-07-28 13:16:50 -0700  Kevin McCarthy  <[email protected]> (6db2f9d1)

        * Add a note about doc/manual.tex generation.
        
        The invocation doesn't work for me, but does work for Ken.  I'm
        reluctant to touch and break it for existing users, so instead
        add a note to the Makefile.am.  Perhaps someone with more knowledge of
        those tools can make it portable.

M	doc/Makefile.am

2018-07-28 12:59:35 -0700  Kevin McCarthy  <[email protected]> (8a81930d)

        * Fix AUXSORT usage in compare_spam.
        
        AUXSORT already checks if the first parameter is zero.
        
        Additionally, the macro expands into more than one statement, so
        putting inside an unbracketed if is misleading and generates a
        warning on the latest gcc.
        
        Fortunately, both statements checked if the first parameter was zero,
        so no actual bug resulted.

M	sort.c

2018-07-26 15:34:50 -0700  Ken Moffat  <[email protected]> (2af6caa1)

        * Fix manual.pdf toc page numbers.
        
        When TeX engines are not run sufficient times there are undefined
        references - for manual.tex the page numbers in the Table of
        Contents and the List of Tables render as '??'.  In this case:
        
        Then shalt thou count to three, no more, no less.

M	doc/Makefile.am

2018-07-25 18:16:34 -0700  Kevin McCarthy  <[email protected]> (5f5dc70f)

        * Add message padding to ctx->vsize computation.
        
        Use the mx_msg_padding_size() from the previous commit to be more
        precise about the correct vsize.
        
        This avoids strange situations where all the message are displayed in
        a limit, but the vsize is not equal to the size.

M	curs_main.c
M	mx.c
M	pattern.c
M	thread.c

2018-07-25 17:52:40 -0700  Kevin McCarthy  <[email protected]> (9806d249)

        * Add mx_ops.msg_padding_size to return the padding for a mx type.
        
        Mbox pads with a 1 byte, while mmdf pads with 10.  Because compress
        depends on the child type, we create a mx_ops, which allows compress.c
        to delegate to the child ops.

M	compress.c
M	mailbox.h
M	mbox.c
M	mutt.h
M	mx.c

2018-07-24 18:23:25 -0700  Kevin McCarthy  <[email protected]> (7b998416)

        * Skip sort in mbox_sync_mailbox() when new/reopen occurs.
        
        Callers of mx_sync_mailbox() and mx_close_mailbox() already check for
        those cases and call update_index().  So remove the need_sort flag
        setting when mbox_check_mailbox() returns new/reopen inside
        mbox_sync_mailbox().

M	mbox.c

2018-07-24 18:12:20 -0700  Kevin McCarthy  <[email protected]> (1147aed6)

        * Handle reopen/new_mail when closing mailbox in <imap-logout-all>.
        
        Other callers, such as OP_QUIT, OP_MAIN_CHANGE_FOLDER, and
        OP_MAIN_SYNC_FOLDER handle the case where a sync or close_mailbox
        fails due to new mail or a reopen.
        
        OP_MAIN_LOGOUT_ALL appears to have been accidentally missed.  Add a
        call to update_index() to properly sort and update vcounts.

M	curs_main.c

2018-07-24 03:52:41 +0200  Vincent Lefevre  <[email protected]> (2030998e)

        * Add ctx->vsize = 0 in a couple of places.
        
        It is not clear whether this is needed, but in both cases, the old value
        (if not 0) is obsolete. If there is a bug somewhere else about vsize, it
        will be easier to notice it.

M	mbox.c
M	sort.c

2018-07-22 02:57:32 +0200  Vincent Lefevre  <[email protected]> (1f3a9df8)

        * Improved limit-to-all detection by skipping leading spaces of the pattern.
        
        There are many equivalent limit-to-all patterns, but in practice, one
        may want to limit to " ~A" in order to prevent the pattern from being
        recorded in the history. Thus it is important to detect at least this
        pattern and similar ones.

M	pattern.c

2018-07-22 01:46:03 +0200  Vincent Lefevre  <[email protected]> (9a314f02)

        * Bug fix: reset ctx->vsize in update_index_unthreaded on reopened mailbox.
        
        This fixes a bug observed when doing the following:
        1. Start Mutt on some mailbox.
        2. Limit the view.
        3. Set sort by date (thus unthreaded).
        4. Set $status_format to display the size of the messages shown (%L).
        5. Copy a message matching the limit pattern to this mailbox.
        6. With another Mutt instance, remove this message from this mailbox.
        7. Move the cursor to update the view.
        Result: one was getting a value equal to twice the initial size.

M	curs_main.c

2018-07-22 01:35:32 +0200  Vincent Lefevre  <[email protected]> (b9eddeab)

        * Cleanup: avoid an ugly local preprocessor macro.
        
        Note: This macro was also hiding the use of a variable, making the code
        difficult to read.

M	curs_main.c
M	pattern.c

2018-07-19 20:28:38 -0700  Kevin McCarthy  <[email protected]> (1d41321a)

        * Display matching new messages in a thread-limited index.
        
        Previously, the index performed pattern matching first, and then
        resorted new mail.  The problem was that thread-limiting patterns,
        e.g. ~(pattern), require threading data to properly match against the
        new messages.
        
        We already save new messages for the purposes of uncollapsing threads.
        To keep the code cleaner, split off update_index() into
        update_index_threaded()/unthreaded().  Then for threaded mode, save
        the new messages first.  We can then sort (before pattern matching),
        and use the save_new array to pattern match the new messages
        afterwards.
        
        The $uncollapse_new loop was unnecessarily performing a n^2 search.
        Simplify to just iteratate over the save_new instead.

M	curs_main.c

2018-07-17 10:04:24 -0700  Kevin McCarthy  <[email protected]> (f0772c95)

        * Minor documentation fix.

M	doc/manual.xml.head

2018-07-17 17:06:45 +0200  Vincent Lefevre  <[email protected]> (644699c8)

        * Updated French translation.

M	po/fr.po

2018-06-26 15:42:08 -0700  Brandon Long  <[email protected]> (98cc4236)

        * Improve OAUTHBEARER support.
        
        Move token refresh commands to their own config variables. Consolidate
        code for refreshing tokens and generating the SASL OAUTHBEARER
        argument in account.c. Add support for OAUTHBEARER to pop.
        
        Fix pop_auth_oauth() mutt_from_base64() call from 1.10.1 release.

M	account.c
M	account.h
M	globals.h
M	imap/auth_oauth.c
M	init.h
M	pop_auth.c
M	smtp.c

2018-07-16 09:58:43 -0700  Kevin McCarthy  <[email protected]> (363c3a95)

        * Merge branch 'stable'

2018-07-16 09:52:23 -0700  Kevin McCarthy  <[email protected]> (ed9d7727)

        * automatic post-release commit for mutt-1.10.1

M	ChangeLog
M	UPDATING
M	VERSION

2018-07-07 19:34:32 -0700  Kevin McCarthy  <[email protected]> (594f111b)

        * Merge branch 'stable'

2018-07-07 19:18:55 -0700  Kevin McCarthy  <[email protected]> (97e5c358)

        * Merge branch 'stable'

2018-07-02 12:39:14 +0200  Vincent Lefevre  <[email protected]> (686fb81e)

        * Updated French translation.

M	po/fr.po

2018-07-02 12:25:13 +0200  Vincent Lefevre  <[email protected]> (b3e41194)

        * Add dependencies for keymap_alldefs.h in po/Makefile.in.in
        
        These dependencies are based on those from Makefile.am and are needed
        so that "make update-po" gets the new strings from OPS, etc.

M	po/Makefile.in.in

2018-07-01 20:43:24 -0700  Kevin McCarthy  <[email protected]> (f472eebd)

        * smime_handle_entity() cleanup.
        
        Remove redundant NULL assignments after safe_fclose() calls.
        
        Remove some trailing spaces.
        
        smimeout can't be NULL, so remove the check around the output
        translation block.

M	smime.c

2018-07-01 20:13:11 -0700  Kevin McCarthy  <[email protected]> (099f4dd4)

        * Void passphrase on s/mime decryption error.
        
        Model this after pgp's pgp_decrypt_part(), which checks if fpout is
        empty.

M	smime.c

2018-06-28 20:17:23 -0700  Anton Lindqvist  <[email protected]> (ac7e2890)

        * Add check-stats function to calculate mailbox statistics.
        
        This allows the statistics to be updated without setting
        $mail_check_stats or before $mail_check_stats_interval has passed.

M	OPS
M	buffy.c
M	buffy.h
M	commands.c
M	curs_main.c
M	doc/manual.xml.head
M	functions.h
M	init.h
M	menu.c
M	pager.c
M	protos.h

2018-06-27 09:45:10 -0700  Kevin McCarthy  <[email protected]> (0e34a489)

        * Add a reference to $copy in the $record documentation.

M	init.h

2018-06-27 09:27:05 -0700  Kevin McCarthy  <[email protected]> (68d0e90f)

        * Reset all MonitorContext state on context removal.
        
        Reset both the descriptor and changed flag when the current context is
        removed.  Don't make this dependent on the context being valid or
        being found by monitor_resolve(), in case the context was closed due
        to some type of error condition.

M	monitor.c

2018-06-26 19:48:25 -0700  Kevin McCarthy  <[email protected]> (d28fe351)

        * Fix MonitorContextDescriptor update on removal.
        
        Reset the context descriptor before checking for the monitor being
        shared by another mailbox.  Technically, it would be set properly
        during the next add, but it shouldn't be left incorrect.

M	monitor.c

2018-06-25 17:54:43 -0700  Kevin McCarthy  <[email protected]> (550771fd)

        * Work around open mailbox monitor code check issue.
        
        The monitor code is too fast, and can result in all the changes for a
        single directory stat update being missed.
        
        Work around this issue by not recording stat time updates when the
        check_mailbox() is triggered by the monitor.  This will cause the next
        subsequent check to take another look.

M	mh.c
M	monitor.c
M	monitor.h

2018-06-25 13:13:55 -0700  Kevin McCarthy  <[email protected]> (fc040a5b)

        * Generate error if makedoc is missing a type.
        
        Add a comment in init.h to remind devs to update makedoc.c when adding
        a new type.
        
        Change makedoc to fail on a missing type.  Otherwise it's too easy to
        miss the resulting problem in the documentation.
        
        Credit goes to Eike Rathke for noting that it was too easy to forget
        to do this, and something should be fixed.  I found his solution a bit
        too complicated though, and opted for just adding comment and program
        failure.

M	doc/makedoc.c
M	init.h

2018-06-23 10:25:15 +0200  Eike Rathke  <[email protected]> (f24a1bca)

        * Make make ctags actually work
        
        make ctags broke with
        
        Making ctags in po
        make[1]: Entering directory '.../mutt/po'
        make[1]: *** No rule to make target 'ctags'.  Stop.
        make[1]: Leaving directory '.../mutt/po'
        Makefile:867: recipe for target 'ctags-recursive' failed
        make: *** [ctags-recursive] Error 1
        
        and once fixed the same in intl/
        
        Note that this ctags target scatters tags files over directories.
        If you use exuberant ctags then simply run
        ctags -R
        once in mutt's root dir instead.

M	intl/Makefile.in
M	po/Makefile.in.in

2018-06-21 20:42:55 -0700  Kevin McCarthy  <[email protected]> (6e113ba7)

        * Remove uninitialized warning for mutt_get_stat_timespec().
        
        The switch covers all the types, but in some cases the compiler still
        complains.  Explicitly set tv_sec = 0 to silence the warning.

M	muttlib.c

2018-06-19 15:16:33 +0000  Zero King  <[email protected]> (ef19f486)

        * Updated Simplified Chinese translation.

M	po/zh_CN.po

2018-06-19 09:45:29 +0200  Vincent Lefevre  <[email protected]> (9cdd8847)

        * mutt_atol: better error handling.
        
        * Detect overflow on negative numbers too (< LONG_MIN).
        
        * Distinguish between format error and number overflow as already
          expected (e.g. for pgp_timeout and smime_timeout).

M	lib.c

2018-06-19 09:37:56 +0200  Vincent Lefevre  <[email protected]> (1e3473ec)

        * Reset errno to 0 before calling strtol and testing it in mutt_atol.
        
        Otherwise providing LONG_MAX+1 then LONG_MAX gave an error for LONG_MAX too.

M	lib.c

2018-06-18 22:04:47 +0200  Eike Rathke  <[email protected]> (4bc76c2f)

        * Allow larger passphrase timeout values
        
        This came up in the comp.mail.mutt newsgroup where a user wasn't
        satisfied with the SHORT_MAX seconds ~9 hours limit on passphrase
        timeouts.
        
        For the first time made it necessary for the options parser to be
        able to parse numbers as long values. Also, introduced
        mutt_add_timeout() to detect possible overflow before adding a
        timeout to a time_t value and truncate to TIME_T_MAX instead.

M	date.c
M	doc/makedoc.c
M	doc/manual.xml.head
M	globals.h
M	init.c
M	init.h
M	pgp.c
M	protos.h
M	smime.c

2018-06-18 17:19:31 +0200  Vincent Lefevre  <[email protected]> (508ff237)

        * Updated French translation.

M	po/fr.po

2018-06-18 19:35:24 +0800  Kevin McCarthy  <[email protected]> (e26e5664)

        * Merge branch 'stable'

2018-06-14 16:17:56 +0800  Kevin McCarthy  <[email protected]> (120f63a9)

        * Convert context and buffy to use nanosecond timestamps.
        
        The inotify interface has an unfortunate side effect of making Mutt
        react too quickly to new mail.  Sometimes, the mail is only
        half-delivered when the mailbox is checked.  Because Mutt is using the
        stat mtime - seconds resolution - this means it won't realize there
        are more messages delivered during the same second.
        
        Nanosecond resolution fields were standardized in POSIX.1-2008, so
        check for and use those if they are available.

M	buffy.c
M	buffy.h
M	configure.ac
M	mbox.c
M	mh.c
M	mutt.h
M	muttlib.c
M	mx.c
M	protos.h

2018-06-14 09:10:51 +0200  Vincent Lefevre  <[email protected]> (7ec17b81)

        * Updated French translation.

M	po/fr.po

2018-06-12 14:11:47 -0700  Brandon Long  <[email protected]> (fcd33398)

        * Support for using OAUTHBEARER for smtp.
        
        This also means a bunch of smtp auth stuff is now compiled in by
        default (with --enable-smtp) without having sasl

M	init.h
M	smtp.c

2018-06-11 10:39:49 -0700  Brandon Long  <[email protected]> (798f749e)

        * Initial support for OAUTHBEARER for IMAP.
        
        Gmail supports RFC 7628 for using OAUTH with IMAP, and they really don't
        like you using password based auth.  You can still enable "less secure
        apps" and then generate an application specific password, but I figured it
        was time to support it.
        
        Being mutt, I punted on some of the "hard" work to an external script, ie
        getting/refreshing the OAUTH tokens.  This avoids the issue of how do you
        have a client-id and client-secret for an open source project, and the fact
        that OAUTH discovery is still nascent, so you'd likely need separate things
        for each of the providers.
        
        At least for Gmail, you can use the oauth2.py script from Google's
        gmail-oauth2-tools:
        https://github.com/google/gmail-oauth2-tools/blob/master/python/oauth2.py
        
        You'd need to get your own oauth client credentials for Gmail here:
        https://console.developers.google.com/apis/credentials
        
        Then, you'd use oauth2.py with --generate_oauth2_token to get a refresh
        token, and configure mutt with:
        
        set imap_authenticators="oauthbearer"
        set imap_user="<email_address>"
        set imap_pass=`/path/to/oauth2.py --quiet --user=<email_address>
        --client_id=<client_id> --client_secret=<client_secret>
        --refresh_token=<refresh_token>`
        
        For this patch, I didn't add any new configuration, but I'm open to
        suggestions on that.
        
        The patch also only support SASL-IR to reduce round-trips to the server,
        but it's certainly possible to change that if we think there are
        OAUTHBEARER IMAP servers that don't support SASL-IR.  It also requires the
        connection to be encrypted as the access token is re-usable for an hour or
        so.  Again, Gmail only allows encrypted IMAP connections, not sure if any
        OAUTHBEARER services allow non-encrypted.
        
        Turns out that auth failure leaves you in SASL mode, so I have a hack to
        issue a noop command on error.  Not sure if that's just OAUTHBEARER
        oddness, or whether I should be using lower level mutt imap functions.

M	imap/Makefile.am
M	imap/auth.c
M	imap/auth.h
A	imap/auth_oauth.c
M	imap/command.c
M	imap/imap_private.h

2018-06-10 08:51:30 +0800  Kevin McCarthy  <[email protected]> (1acb708b)

        * Move mutt_getch() timeout value into curs_lib.c
        
        Change monitor.c to reference the curs_lib value, instead of
        vice-versa.
        
        We need to store the value for both monitor.c's poll and for
        mutt_monitor_ch() to perform an initial non-blocking check of ncurses'
        getch() buffer.

M	curs_lib.c
M	monitor.c
M	monitor.h
M	mutt_curses.h

2018-06-08 14:04:16 +0200  Vincent Lefevre  <[email protected]> (96b1449f)

        * Spelling mistake in debug message.

M	monitor.c

2018-06-08 13:53:46 +0200  Vincent Lefevre  <[email protected]> (ebdcfa2d)

        * Missing void in mutt_set_current_menu_redraw_full prototype

M	mutt_menu.h

2018-06-08 13:49:32 +0200  Vincent Lefevre  <[email protected]> (99dee3bb)

        * Give a prototype for mutt_monitor_poll

M	monitor.c
M	monitor.h

2018-06-05 17:38:44 -0700  Kevin McCarthy  <[email protected]> (a2a0aaa5)

        * Quick fix for ncurses buffering issue with inotify polling.
        
        Ncurses does its own buffering for some character sequences, notable
        Esc-prefixed input.  Add a non-blocking check for getch() before
        performing the mutt_monitor_poll() call.
        
        This is a quick fix, which I'll clean up more later.

M	curs_lib.c
M	monitor.c
M	monitor.h

2018-06-04 21:43:41 -0700  Kevin McCarthy  <[email protected]> (8c99b1f3)

        * Merge branch 'stable'

2018-06-04 15:51:25 -0700  Kevin McCarthy  <[email protected]> (71263490)

        * Merge branch 'stable'

2018-06-03 18:34:21 -0700  Kevin McCarthy  <[email protected]> (3d2cef4a)

        * Add new timeout functions to work with inotify monitors.
        
        The ncurses timeout() function doesn't affect the new poll inside
        mutt_monitor_poll().  This meant that $imap_keepalive and $timeout
        were not being respected when the monitor was used.
        
        Create mutt_getch_timeout(), which delegates to timeout() and sets a
        timeout value mutt_monitor_poll() uses too.

M	curs_lib.c
M	keymap.c
M	monitor.c
M	monitor.h
M	mutt_curses.h

2018-06-03 14:54:41 -0700  Kevin McCarthy  <[email protected]> (5ada2f51)

        * Merge branch 'stable'

2018-06-03 14:42:41 -0700  Kevin McCarthy  <[email protected]> (1eb7b895)

        * Merge branch 'stable'

2018-06-03 14:05:13 -0700  Kevin McCarthy  <[email protected]> (0182dc85)

        * Change direct mutt_getch() callers to handle new mail event.
        
        The inotify handler now returns -2 (timeout) on a new mail event.
        Change the direct callers to ignore, so prompts aren't strangely
        aborted.
        
        Also, fix mutt_change_flag() to call mutt_refresh() before the
        prompt.  Apparently ncurses getch() was doing this for us, but now
        that we are polling STDIN instead, the prompt wasn't displaying.

M	curs_lib.c
M	enter.c
M	flags.c
M	menu.c

2018-06-03 20:23:57 +0000  GT  <[email protected]> (f495b84d)

        * add feature file monitoring with Linux inotify

M	Makefile.am
M	buffy.c
M	configure.ac
M	curs_lib.c
M	curs_main.c
M	doc/manual.xml.head
M	keymap.c
M	main.c
A	monitor.c
A	monitor.h

2018-06-01 10:46:34 +0100  Edward Betts  <[email protected]> (479241fe)

        * Correct spelling mistakes.

M	buffy.c
M	contrib/sample.muttrc
M	crypt-mod.h
M	crypt.c
M	doc/manual.xml.head
M	hcache.c
M	init.c
M	intl/dcigettext.c
M	intl/libgettext.h
M	mh.c
M	mutt.h
M	mutt_ssl.c
M	pager.c
M	postpone.c
M	send.c
M	sendlib.c
M	smime_keys.pl
M	thread.c

2018-05-28 14:29:45 -0700  Kevin McCarthy  <[email protected]> (b286ea60)

        * Merge branch 'stable'

2018-05-21 15:12:47 -0700  Kevin McCarthy  <[email protected]> (63cb8a0a)

        * Remove mutt_buffer_new() NULL retval checks.
        
        It will fail, rather than return NULL.
        
        Further clean up imap_new_data() since it also had NULL checks for
        safe_calloc() that shouldn't happen.

M	imap/imap.c
M	imap/util.c
M	mbyte.c

2018-05-21 13:33:14 -0700  Kevin McCarthy  <[email protected]> (a001b1d3)

        * Fix mutt_strncmp size comparison for 'uncolor header'.
        
        Thanks to Fabian Groffen for pointing out the discrepancy.
        
        mutt_extract_token() null-terminates the token,, so actually there is
        no need to use "strncmp" for the comparison in this case.
        
        However, since the token is being checked against Fields there is no
        potential harm of a prefix match, so we should fix the number to be
        consistent with the other token comparisons.

M	color.c
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
2018-07-13 14:25:28 -0700  Kevin McCarthy  <[email protected]> (3d9028fe)

        * Check outbuf length in mutt_from_base64()
        
        The obuf can be overflowed in auth_cram.c, and possibly auth_gss.c.
        
        Thanks to Jeriko One for the bug report.

M	base64.c
M	imap/auth_cram.c
M	imap/auth_gss.c
M	protos.h

2018-07-13 13:05:22 -0700  Kevin McCarthy  <[email protected]> (6962328c)

        * Check destlen and truncate in url_pct_encode().
        
        Thanks to Jeriko One for the patch, which this commit is based upon.

M	url.c

2018-07-13 12:35:50 -0700  Kevin McCarthy  <[email protected]> (e57a8602)

        * Verify IMAP status mailbox literal count size.
        
        Ensure the length isn't bigger than the idata->buf.
        
        Thanks to Jeriko One fo the bug report and patch, which this commit is
        based upon.

M	imap/command.c

2018-07-13 12:24:58 -0700  JerikoOne  <[email protected]> (9347b5c0)

        * Handle NO response without message properly

M	imap/command.c

2018-07-13 12:15:00 -0700  Kevin McCarthy  <[email protected]> (3287534d)

        * Don't overflow tmp in msg_parse_fetch.
        
        Ensure INTERNALDATE and RFC822.SIZE field sizes fit temp buffer.
        
        Thanks to Jeriko One for the bug report and patch, which this patch is
        based upon.

M	imap/message.c

2018-07-13 11:33:16 -0700  Richard Russon  <[email protected]> (31eef6c7)

        * Selectively cache headers.
        
        Thanks to NeoMutt and Jeriko One for the patch, which was slightly
        modified to apply to the Mutt code.

M	imap/util.c

2018-07-13 11:16:33 -0700  Kevin McCarthy  <[email protected]> (6aed28b4)

        * Sanitize POP bcache paths.
        
        Protect against bcache directory path traversal for UID values.
        
        Thanks for Jeriko One for the bug report and patch, which this commit
        is based upon.

M	pop.c

2018-07-13 10:47:11 -0700  JerikoOne  <[email protected]> (e154cba1)

        * Ensure UID in fetch_uidl.

M	pop.c

2018-07-12 21:41:17 -0700  Kevin McCarthy  <[email protected]> (4d0cd265)

        * Fix buffer size check in cmd_parse_lsub.
        
        The size parameter to url_ciss_tostring() was off by one.

M	imap/command.c

2018-07-12 20:46:37 -0700  Kevin McCarthy  <[email protected]> (e0131852)

        * Fix imap_quote_string() length check errors.
        
        The function wasn't properly checking for dlen<2 before quoting, and
        wasn't properly pre-adjusting dlen to include the initial quote.
        
        Thanks to Jeriko One for reporting these issues.

M	imap/util.c

2018-07-07 19:32:57 -0700  Kevin McCarthy  <[email protected]> (4ff007ca)

        * Mention $pgp_decode_command for $pgp_check_gpg_decrypt_status_fd
        
        It scans $pgp_decode_command for inline and application/pgp mime
        types.

M	init.h

2018-07-07 19:03:44 -0700  Kevin McCarthy  <[email protected]> (18515281)

        * Properly quote IMAP mailbox names when (un)subscribing.
        
        When handling automatic subscription (via $imap_check_subscribed), or
        manual subscribe/unsubscribe commands, mutt generating a "mailboxes"
        command but failed to properly escape backquotes.
        
        Thanks to Jeriko One for the detailed bug report and patch, which this
        commit is based upon.

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

2018-06-18 11:21:38 +0200  Philipp Gesang  <[email protected]> (df4affd1)

        * crypt-gpgme: prevent crash on bad S/MIME signature
        
        Inform the user about the fingerprint being unavailable instead
        of crashing if the S/MIME signature is bad.

M	crypt-gpgme.c

2018-06-04 21:31:33 -0700  Kevin McCarthy  <[email protected]> (edb4ec84)

        * Add GnuPG status fd checks for inline pgp.
        
        The difficulty is that "BEGIN PGP MESSAGE" could be a signed and
        armored part, so we can't fail hard if it isn't encrypted.
        
        Change pgp_check_decryption_okay() to return more status codes, with
        >=0 indicating an actual decryption; -2 and -1 indicating plaintext
        found; and -3 indicating an actual DECRYPTION_FAILED status code seen.
        
        Fail hard on -3, but change the message for -2 and -1 to indicate the
        message was not encrypted.

M	pgp.c

2018-06-04 15:40:57 -0700  Kevin McCarthy  <[email protected]> (8ec6d766)

        * Add $pgp_check_gpg_decrypt_status_fd.
        
        If set (the default) mutt performs more thorough checking of the
        $pgp_decrypt_command status output for GnuPG result codes.
        
        Ticket #39 revealed that GnuPG (currently) does not protect against
        messages that have been manipulated to contain an empty encryption
        packet followed by a plaintext packet.
        
        A huge thanks to Marcus Brinkmann for researching this issue, taking
        the time to report it to us (and the GnuPG team), and taking even more
        time to clarify exactly what needed to be checked for.   

M	contrib/gpg.rc
M	contrib/pgp2.rc
M	contrib/pgp5.rc
M	contrib/pgp6.rc
M	init.h
M	mutt.h
M	pgp.c

2018-06-03 14:52:37 -0700  Kevin McCarthy  <[email protected]> (cb2329ae)

        * Revert showing real size for small files in mutt_pretty_size().
        
        I thought the change made in 0fa64ba9 was small enough not to matter,
        but at least one long-time user took the time to track down the change
        and request it be reverted.

M	muttlib.c

2018-06-03 14:40:31 -0700  Kevin McCarthy  <[email protected]> (33290d12)

        * Switch build scripts to use `` instead of $()
        
        This is for older systems running Bourne shell as /bin/sh.

M	mkchangelog.sh
M	mkreldate.sh
M	version.sh

2013-01-06 19:24:18 +0100  Oswald Buddenhagen  <[email protected]> (ec96f5f5)

        * fix inappropriate use of FREE() in ssl init error path
        
        OpenSSL structures need to be freed with dedicated functions.

M	mutt_ssl.c

2018-05-19 10:57:10 -0700  Kevin McCarthy  <[email protected]> (d55950a8)

        * automatic post-release commit for mutt-1.10.0

M	ChangeLog
M	VERSION
M	po/bg.po
M	po/ca.po
M	po/cs.po
M	po/da.po
M	po/de.po
M	po/el.po
M	po/eo.po
M	po/es.po
M	po/et.po
M	po/eu.po
M	po/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
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