ChangeLog 189 KB
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 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 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 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 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 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278
2007-07-05  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS: Update
	* configure.ac: Change library version info
	* examples/url-parse.c: Rewrite using sget accessors
	* include/mailutils/url.h, mailbox/url.c (mu_url_sget_scheme) 
	(mu_url_aget_scheme, mu_url_sget_user, mu_url_aget_user)
	(mu_url_sget_passwd, mu_url_aget_passwd, mu_url_sget_auth) 
	(mu_url_aget_auth, mu_url_sget_host, mu_url_aget_host)
	(mu_url_sget_path, mu_url_aget_path, mu_url_sget_query) 
	(mu_url_aget_query): New functions
	(mu_url_get_scheme, mu_url_get_user, mu_url_get_passwd)
	(mu_url_get_auth, mu_url_get_host, mu_url_get_path)
	(mu_url_get_query)
	(mu_url_is_same_scheme, mu_url_is_same_user, mu_url_is_same_path)
	(mu_url_is_same_host, mu_url_is_same_port): Rewrite using sget
	accessors. 

	* libproto/imap/folder.c, libproto/imap/mbox.c,
	libproto/mbox/folder.c, libproto/mbox/mbox.c,
	libproto/nntp/folder.c, libproto/nntp/mbox.c, libproto/pop/mbox.c,
	mailbox/amd.c, mailbox/sendmail.c, mailbox/smtp.c,
	mailbox/wicket.c: Use mu_url_sget or mu_url_aget, depending on the
	needs.
	
	* mailbox/mailbox.c (mu_mailbox_get_debug): Propagate the debug
	state to the underlying folder.

2007-07-03  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mail.local/Makefile.am (mail_local_LDADD): Add missing
	libraries. Reported by Robby Villegas.

2007-07-01  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/assoc.c (assoc_rehash): Fix an incorrect element
	size calculation.

2007-06-29  Sergey Poznyakoff  <gray@gnu.org.ua>

	* COPYING, COPYING.LESSER: Install official versions
	* configure.ac, NEWS: Version 1.2
	* libsieve/extensions/spamd.c: Append `X-' headers.
	* mail.local/main.c: Read message contents from the message
	stream, so any changes to its headers and/or body are propagated
	to the final delivery.

2007-06-28  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Remove the definition of ARG_UNUSED

	* mailbox/header.c (mu_hdrent_create): Minor change
	* libsieve/argp.c (sieve_argp_parser): Bug fix
	* libsieve/prog.c (sieve_code_command: Bug fixes
	
	* include/mailutils/types.hin (MU_ARG_UNUSED, MU_PRINTFLIKE): New
	macros.
	* lib/daemon.c: Use __attribute__ instead of ARG_UNUSED
	* auth/pam.c, auth/radius.c, auth/sql.c, auth/virtual.c,
	examples/nntpclient.c, examples/pop3client.c, imap4d/capability.c,
	imap4d/check.c, imap4d/close.c, imap4d/fetch.c,
	libproto/imap/folder.c, libproto/imap/url.c,
	libproto/maildir/folder.c, libproto/maildir/mbox.c,
	libproto/mbox/folder.c, libproto/mbox/url.c, libproto/mh/folder.c,
	libproto/mh/mbox.c, libproto/nntp/url.c, libproto/pop/mbox.c,
	libproto/pop/url.c, libsieve/util.c, libsieve/extensions/spamd.c,
	mail/decode.c, mail/escape.c, mail/exit.c, mail/folders.c,
	mail/if.c, mail/inc.c, mail/list.c, mail/mail.c, mail/mailline.c,
	mail/msgset.y, mail/quit.c, mail/source.c, mail/summary.c,
	mail/tag.c, mail/version.c, mailbox/amd.c, mailbox/auth.c,
	mailbox/file_stream.c, mailbox/filter_iconv.c,
	mailbox/filter_trans.c, mailbox/message_stream.c,
	mailbox/monitor.c, mailbox/mu_auth.c, mailbox/parsedate.y,
	mailbox/system.c, mailbox/url_sendmail.c, mh/ali.c, 
	mh/mhparam.c, pop3d/auth.c, pop3d/signal.c, sql/odbc.c: Use
	MU_ARG_UNUSED to mark unused formal parameters.
	
	* guimb/guimb.h, imap4d/imap4d.h, include/mailutils/debug.h,
	include/mailutils/error.h, include/mailutils/libsieve.h,
	include/mailutils/nntp.h, include/mailutils/pop3.h,
	libproto/include/imap0.h, libsieve/sieve.h, mail/mail.h, 
	mail.local/mail.local.h, mh/mh.h, pop3d/pop3d.h: Mark printf-like
	calls with MU_PRINTFLIKE.

	* po/Makevars (XGETTEXT_OPTIONS): Add Mailutils-specific
	printf-like calls.
	
	* NEWS: Update
	* include/mailutils/header.h (mu_header_append,mu_header_prepend):
	New functions
	* mailbox/header.c: Likewise
	* include/mailutils/mailer.h (mu_mailer_send_fragments): New
	function
	* mailbox/mailer.c: Likewise
	* include/mailutils/mutil.h (mu_rfc2822_msg_id): New function
	* mailbox/mutil.c: Likewise
	* mailbox/mime.c (_mime_set_content_type): Avoid risky usage of
	static buffers.

	* mh/TODO: Update
	* mh/mh_getopt.h (ARG_CHUNKSIZE): New value
	* mh/mh_init.c (mh_create_message_id): Rewrite using
	mu_rfc2822_msg_id
	* mh/send.c: Implement `--send'.
	
2007-06-27  Sergey Poznyakoff  <gray@gnu.org.ua>

	Prepare for the GPL v.3 release.  
	Relicense programs under GPL v.3, libraries under LPGL v.3
	
2007-06-27  Sergey Poznyakoff  <gray@gnu.org.ua>

	* examples/header.c: Implement a terse runtime help.

2007-06-26  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS: Update
	
	* mailbox/header.c (header_readline): Always nul-terminate the
	buffer.
	(mu_hdrent_find): Allow negative instance indices, meaning
	scanning from the bottom up.

	* include/mailutils/list.h: Fix typo
	* libsieve/argp.c: New option --clearpath
	* libsieve/load.c: Minor change
	* libsieve/sieve.h: Minor change
	* sieve/testsuite/sieve/ext.exp: Pass --clearpath option to sieve
	
	* mh/anno.c, mh/burst.c, mh/comp.c, mh/compcommon.c, mh/folder.c,
	mh/forw.c, mh/inc.c, mh/mark.c, mh/mh.h, mh/mh_alias.y,
	mh/mh_argp.c, mh/mh_ctx.c,  mh/mh_global.c, mh/mh_init.c,
	mh/mh_msgset.c, mh/mh_sequence.c, mh/mh_whatnow.c, mh/mh_whom.c,
	mh/mhl.c, mh/mhn.c, mh/mhparam.c, mh/mhpath.c, mh/pick.c,
	mh/refile.c, mh/repl.c, mh/rmf.c, mh/rmm.c, mh/scan.c, mh/send.c,
	mh/sortm.c, mh/whom.c: Use mu_header_sget to retrieve context and
	configuration settings. Update all callers.

	* include/mailutils/header.h (MU_HEADER_REPLACE)
	(MU_HEADER_BEFORE): New macros
	(mu_header_remove,mu_header_insert)
	(mu_header_sget_value_n,mu_header_get_value_n)
	(mu_header_aget_value_n,mu_header_get_address_n)
	(mu_header_sget_field_name,mu_header_sget_field_value)
	(mu_header_get_value_unfold_n,mu_header_aget_value_unfold_n): New
	functions;
	(mu_header_sget_value,mu_header_get_value,mu_header_aget_value)
	(mu_header_get_address,mu_header_get_value_unfold)
	(mu_header_aget_value_unfold): Rewrite as macros
	(mu_header_set_set_value,mu_header_set_get_value)
	(mu_header_set_size,mu_header_set_lines): Remove functions

	* libproto/include/header0.h: Rewrite from scratch
	* mailbox/header.c: Rewrite from scratch
	
	* examples/header.c: New program
	* examples/Makefile.am (noinst_PROGRAMS): Add header
	* examples/addr.c: Remove unused vars
	* lib/mu_dbm.c, libproto/maildir/mbox.c, mh/mh_format.c: Remove
	unused functions 
	* libmu_scm/mu_message.c (_get_envelope_sender): Bugfix: the return
	value was wrong.
	* examples/mimetest.c, libproto/imap/mbox.c, libproto/mbox/mbox.c,
	libsieve/actions.c, mail/decode.c, mail/escape.c, mail/mail.h,
	mail/print.c, mail/retain.c, mail/send.c, mail.local/mailquota.c,
	mailbox/amd.c,  mailbox/sendmail.c: Prefer mu_header_sget 
	where possible. Remove obsolete header calls.
	* mail.remote/testsuite/Data: Remove extra white space
	* mail.local/main.c (main): Register all mailbox formats
	* mailbox/mime.c: Fix indentation
	* mh/mhn.c: shut up the gcc warning
	
2007-06-24  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS: Update
	* examples/addr.c, examples/mta.c, frm/common.c, imap4d/fetch.c,
	libmu_scm/mu_message.c, mail/alias.c, mail/alt.c, mail/from.c,
	mail/mail.h, mail/reply.c, mail/send.c, mail/util.c,
	mailbox/attachment.c, mailbox/mutil.c, mailbox/sendmail.c,
	mailbox/smtp.c, mh/mh.h, mh/mh_format.c, mh/mh_format.h,
	mh/mh_init.c: Use mu_address_sget functions, where possible.
	* include/mailutils/address.h (mu_address_set_local_part)
	(mu_address_set_domain,mu_address_set_route)
	(mu_address_set_email,mu_address_sget_comments)
	(mu_address_sget_local_part,mu_address_sget_personal)
	(mu_address_sget_domain,mu_address_sget_route)
	(mu_address_sget_email): New functions
	* mailbox/address.c: LIkewise

2007-06-22  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Use AM_PROG_CC_C_O and AC_PROG_CXX
	* include/mailutils/property.h (mu_property_sget_value)
	(mu_property_aget_value): New functions
	* mailbox/property.c: Likewise
	* mailbox/Makefile.am: Merge DEFS and AM_CPPFLAGS
	* mailbox/mailer.c (mu_mailer_send_message): Set envelope from
	address according to the underlying mailer type.
	* mailbox/smtp.c (smtp_open,smtp_send_message): On invalid
	arguments, return EINVAL instead of spitting out assertion.
	(smtp_send_message): Null from address is an error.
	* mh/sortm.c: Stable sort.
	
2007-05-14  Sergey Poznyakoff  <gray@gnu.org.ua>

	* README: Fix typos, use LDFLAGS instead of LIBS
	* auth/tls.c (_tls_stream_push): Flush data. before returning.

2007-05-09  Sergey Poznyakoff  <gray@gnu.org.ua>

	* scripts/ylwrap: Rename to ...
	* scripts/gylwrap: ... this
	* doc/texinfo/Makefile.am, libsieve/Makefile.am,
	mailbox/Makefile.am, mailbox/Makefile.am, mh/Makefile.am,
	mimeview/Makefile.am, scripts/Makefile.am: Update to the
	above change.

2007-05-08  Sergey Poznyakoff  <gray@gnu.org.ua>

	* Makefile.am (alpha): Change distdir format
	* examples/mimetest.c: Print more information about the message
	structure.
	* mailbox/mime.c (_mime_parse_mpart_message): One more fix
	* mailbox/testsuite/Mime: Fix to match new mimetest output and
	bugfixes in mime.c
	* imap4d/testsuite/imap4d/fetch.exp, mail/testsuite/mail/read.exp,
	mail/testsuite/mail/write.exp,
	readmsg/testsuite/readmsg/test.exp: Update to match bugfixes in
	mime.c  
	* testsuite/spool/mbox1: Fix msg#5
	
2007-05-07  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/daemon.c (mu_daemon_remove_pidfile): Reset pidfile.

2007-04-30  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac (MU_BUILT_CXX_EXAMPLES): Define if c++ libs
	requested.
	* examples/cpp/Makefile.am: Build c++ examples
	* libmu_cpp/Makefile.am (libmu_cpp_la_LDFLAGS): Add -rpath

2007-04-30  Wojciech Polak

	* libproto/pop/mbox.c: Fixed APOP handling.

2007-04-12  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/header.c (mu_header_get_value): Bugfix
	* mailbox/mbx_default.c (mu_mailbox_create_default): Fix memory
	leaks.

2007-03-16  Sergey Poznyakoff  <gray@gnu.org.ua>

	* pop3d/bulletin.c (read_bulletin_db): Do not close DB too early.

2007-03-07  Sergey Poznyakoff  <gray@gnu.org.ua>

	* imap4d/testsuite/imap4d/expunge.exp: Fix pattern
	* include/mailutils/assoc.h (mu_assoc_create): Add third argument.
	(mu_assoc_destroy,mu_assoc_clear): New functions
	* include/mailutils/header.h (mu_header_set_get_fvalue): Remove
	function.
	* libproto/imap/mbox.c (imap_header_get_fvalue): Remove
	* libproto/include/header0.h (struct _mu_header): Remove
	`fhdr_count' and `fhdr', add `cache'.
	Remove `_get_fvalue'
	* libproto/mbox/mbox.c: Remove rudimentary header caching
	* libproto/mbox/mbox0.h: Likewise
	* libproto/mbox/mboxscan.c: Likewise
	* mail/alias.c, mailbox/mutil.c: Update calls to mu_assoc_create
	* mailbox/assoc.c (mu_assoc_create): Take 3 arguments
	(mu_assoc_clear, mu_assoc_destroy): New functions
	* mailbox/header.c: Rewrite header caching

	* include/mailutils/locker.h: Rewrite
	* mailbox/locker.c: Rewrite

2007-03-06  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/mime.c (_mime_parse_mpart_message): The CRLF preceding
	the encapsulation line is conceptually attached to the boundary.
	* NEWS: Update

2007-02-27  Sergey Poznyakoff  <gray@gnu.org.ua>

	* Makefile.am: Add libmu_cpp
	* NEWS, README: Update
	* configure.ac: Add `--enable-experimental' option
	Rewrite DBM handling
	Withdraw old DBM support
	* auth/sql.c: Actually set quota if it is available
	* include/mailutils/mu_auth.h (struct mu_auth_data): New field
	`flags'.
	(mu_auth_data_set_quota): New function
	* lib/mu_dbm.h, lib/mu_dbm.c: Withdraw old DBM support. Fix style
	issues.
	* mail.local/mail.local.h (check_quota): Change signature
	* mail.local/mailquota.c: Get quota value from mu_auth_data, if
	available.
	* mail.local/main.c (check_quota): Change signature
	* mailbox/mu_auth.c (mu_auth_data_alloc): Fill auth object with
	zeroes.
	(mu_auth_data_set_quota): New function
	* pop3d/apop.c: Remove unused variables
	* pop3d/bulletin.c (deliver_pending_bulletins): Return
	immediately, if unable to count messages in the bulletin box
	* pop3d/popauth.c (action_list): Do not check db permissions.

	* pop3d/bulletin.c (read_bulletin_db,write_bulletin_db): Fix
	permissions.
	(open_bulletin_mailbox): Open the mailbox in read-only mode
	(set_bulletin_db): Do not try to open the mailbox.

2007-02-25  Sergey Poznyakoff  <gray@gnu.org.ua>

	* pop3d/bulletin.c: Fix copyright year
	* pop3d/expire.c, pop3d/top.c: A message is marked for expiration
	after RETR or TOP.
	* pop3d/logindelay.c (check_login_delay): Fix error message
	* pop3d/pop3d.c (pop3d_parse_opt): --expire=0 implies
	--delete-expired.
	
	* doc/texinfo/programs.texi: Document new pop3d options
	* libproto/mbox/mbox.c: Indentation fixes
	* NEWS: Update
	
2007-02-23  Sergey Poznyakoff  <gray@gnu.org.ua>

	* auth/sql.c: Implement field mapping and retrieval by field
	names.
	* include/mailutils/mu_auth.h (struct mu_auth_data.quota): New
	field
	(mu_auth_data_destroy): New function
	* include/mailutils/mutil.h (mutil_parse_field_map): New function
	* include/mailutils/sql.h (mu_sql_dispatch.get_field_number): New
	field
	(mu_sql_get_field): New function
	* lib/mu_dbm.c, lib/mu_dbm.h (mu_dbm_datum_free): New function
	* mailbox/mu_auth.c (mu_auth_data_destroy): New function
	* mailbox/mutil.c (mutil_parse_field_map): New function

	* pop3d/bulletin.c: Implement bulletin facility
	* pop3d/Makefile.am: Add bulletin.c
	* pop3d/apop.c (pop3d_apop): Call pop3d_begin_session instead of
	duplicating code from user.c
	* pop3d/pop3d.c (--bulletin-source, --bulletin-db): New options
	* pop3d/pop3d.h (auth_data): New global
	* pop3d/user.c (pop3d_begin_session): New function. Implement
	bulletin facility
	* pop3d/popauth.c (action_list): Call mu_dbm_datum_free

	* readmsg/readmsg.c (main): -h shows `From ' headers as well.
	* readmsg/testsuite/readmsg/test.exp: Adapt for the new readmsg
	behavior
	
	* sql/sql.c, sql/mysql.c, sql/odbc.c, sql/postgres.c: Implement
	retrieval by field name.

2007-02-22  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/assoc.c: New file. Implementation of associative arrays.
	* mailbox/Makefile.am: Add assoc.c
	* mailbox/errors (MU_ERR_EXISTS): New error code
	* include/mailutils/assoc.h: New file
	* include/mailutils/Makefile.am: Add assoc.h
	* auth/radius.c (mu_radius_authenticate): Remove unused variable
	* include/mailutils/iterator.h (mu_iterator_current_kv): New
	function
	(mu_iterator_set_getitem): Change signature. All references
	updated.
	* mailbox/iterator.c: Likewise
	* libproto/nntp/nntp_iterator.c, libproto/pop/pop3_iterator.c,
	mailbox/list.c: Likewise
	* include/mailutils/types.hin (mu_assoc_t): New data type
	* libproto/include/iterator0.h (getitem): Change signature

	* mail/alias.c: Reimplement using mu_assoc_t
	* mail/mail.h: Include mailutils/assoc.h

	* mailbox/mu_argp.c: Improve diagnostics of errors in rc files.
	
2007-02-13  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mail/pipe.c (mail_pipe): Fix handling of cmd variable and
	command argument.
	* mail/send.c (compose_destroy): Do not free outfiles[i], the
	caller is responsible for that.
	* mailbox/amd.c (amd_envelope_date, amd_envelope_sender): If buf
	is NULL, return required length of the buffer.
	* mailbox/argcv.c (argcv_get_n): Prevent coredump if command='"'
	* mailbox/testsuite/Argcv: Test '"' case.
	* mailbox/header.c: Indentation fix
	* readmsg/readmsg.c: Improve compatibility with elm's
	implementation.
	* readmsg/readmsg.h: Add some includes
	* THANKS: Add Neil R. Ormos
	* NEWS: Update

2006-12-31  Wojciech Polak

	Updated libmu_cpp to the current API 1.0.
	All method names now begin with a lowercase letter.
	Files affected:

	* libmu_cpp/address.cc, libmu_cpp/filter.cc, libmu_cpp/header.cc,
	libmu_cpp/iterator.cc, libmu_cpp/list.cc, libmu_cpp/mailbox.cc,
	libmu_cpp/mailcap.cc, libmu_cpp/mailer.cc, libmu_cpp/message.cc,
	libmu_cpp/pop3.cc, libmu_cpp/stream.cc, libmu_cpp/url.cc,
	include/mailutils/cpp/address.h, include/mailutils/cpp/error.h,
	include/mailutils/cpp/filter.h, include/mailutils/cpp/header.h,
	include/mailutils/cpp/iterator.h, include/mailutils/cpp/list.h,
	include/mailutils/cpp/mailbox.h, include/mailutils/cpp/mailcap.h,
	include/mailutils/cpp/mailer.h, include/mailutils/cpp/mailutils.h,
	include/mailutils/cpp/message.h, include/mailutils/cpp/pop3.h,
	include/mailutils/cpp/stream.h, include/mailutils/cpp/url.h
	* examples/cpp/addr.cc, examples/cpp/http.cc, examples/cpp/iconv.cc,
	examples/cpp/listop.cc, examples/cpp/mailcap.cc, examples/cpp/murun.cc,
	examples/cpp/sfrom.cc, examples/cpp/url-parse.cc: Updated.
	* libmu_cpp/Makefile.am: Updated.

2006-12-29  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac, NEWS: Version 1.1.90
	* mail/mail.c (default_setup): Set nullbody and nullbodymsg
	* mail/send.c: Sent empty messages only if nullbody is set
	* mailbox/amd.c (amd_open): Create directory if MU_STREAM_CREAT is
	given.
	* mimeview/mimeview.c (doc): Remove leftover \v
	* doc/texinfo/programs.texi (Mail Variables): Document nullbody
	and nullbodymsg

2006-12-15  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Require at least version 2.60 of autoconf
	* include/mailutils/stream.h (MU_STREAM_READY_EX): New define
	* mail.local/main.c: Allow to be run from console by a
	non-privileged user (useful with fetchmail)
	* mailbox/mutil.c (mu_fd_wait): Handle MU_STREAM_READY_EX
	* mailbox/sendmail.c (sendmail_send_message): Failing waitpid is
	not an error if errno==ECHILD (the calling program might have
	ignored SIGCHLD). 
	
2006-11-13  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Fix creation of MU_LTLIBOBJS.  Patch submitted by
	Kevin Buckley and Kenji Miyake
	* include/mailutils/stream.h (MU_STREAM_READY_EX): New define
	* mailbox/mutil.c (mu_fd_wait): Handle MU_STREAM_READY_EX
	* mail.local/main.c

2006-10-30  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac, NEWS: Raise version number to 1.1
	
	* NEWS: Update
	* mail.remote/mail.remote.c, sieve/sieve.c: Fix docstrings.
	* libproto/imap/folder.c (imap_parse): Preserve the remainder of
	the OK line after '[whatever]' for diagnostic purposes.

	* doc/texinfo/programs.texi: Document changes to mail
	* TODO: Update
	* examples/encode2047.c: new options -o/-t enable/disable special
	interpretation of the octal escapes in the input.
	* mailbox/testsuite/Argcv: Comment out 8-bit test case. Sorry, tcl
	looses badly in handling eight-bit binary data.
	* mailbox/testsuite/Encode2047: Feed input in octal notation and
	use encode2047 \o command to override tcl brokenness.
	* mailbox/testsuite/mailbox/encode2047.exp: Allow test string to
	begin with two back slashes.
	
	* m4/.cvsignore: Update
	* mail/escape.c (escape_sign): Print "-- \n" before the signature
	* mail/mail.h: Remove the declaration of cursor
	* mail/util.c: Allow use of ^ and $ as positioning commands

2006-10-25  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Check for large file support and fseeko. Replace
	the latter with fseek if it is not available.
	(MU_GUILE_SITE_DIR,MU_GUILE_SIEVE_MOD_DIR)
	(MU_GUILE_SIEVE_SCRIPTS,MU_GUILE_SIEVE_MOD_DATA): New variables
	* guimb/scm/Makefile.am: Do not try to install anything if Guile
	is not available
	* libmu_scm/Makefile.am: Likewise
	* mailbox/file_stream.c: Use fseeko instead of fseek

2006-10-20  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS: Updated
	* doc/texinfo/programs.texi: Updated

	* configure.ac (MU_GUILE_SITE_DIR,MU_GUILE_SIEVE_MOD_DIR)
	(MU_GUILE_SIEVE_SCRIPTS,MU_GUILE_SIEVE_MOD_DATA): New variables to
	clean build without Guile
	* guimb/scm/Makefile.am: Likewise
	* libmu_scm/Makefile.am: Likewise
	* mail/escape.c (escape_sign): Print "-- \n" before the signature.
	* mail/util.c (util_do_command): Implement ^ and $.

2006-10-18  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Require gettext 0.15
	(check_bdb): Bugfix
	* m4/iconv.m4, m4/intmax.m4, m4/inttypes.m4, m4/nls.m4,
	m4/printf-posix.m4, m4/progtest.m4: Update
	* mail.local/main.c: Formatting fix
	* scripts/gnulib-sync (copy_files): Adjust for gettext 0.15

2006-10-17  Sergey Poznyakoff  <gray@gnu.org.ua>

	* doc/texinfo/mu_address.texi: Added to the repository
	* doc/texinfo/mu_body.texi: Likewise
	* doc/texinfo/mu_logger.texi: Likewise
	* doc/texinfo/mu_mailbox.texi: Likewise
	* doc/texinfo/mu_message.texi: Likewise
	* doc/texinfo/mu_mime.texi: Likewise
	* doc/texinfo/mu_scm.texi: Likewise
	* doc/texinfo/.cvsignore: Update

2006-10-16  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Add support for Berkeley DB 3 and 4

	* auth/radius.c: Return meaningful error codes.
	* auth/sql.c: Likewise
	* auth/virtual.c: Likewise
	* mailbox/system.c: Likewise

	* sql/mysql.c (octet2hex): Rename to mu_octet_to_hex to avoid name
	clashes with mysql
	
	* config/Makefile.am (mailutils_config_CFLAGS): Define I18NLIBS
	inconditionally.
	* examples/Makefile.am (muath): New target

	* include/mailutils/mu_auth.h (enum mu_auth_key_type): New data
	type.
	(mu_get_auth): New function.
	* lib/mu_dbm.c: Support for Berkeley DB 3, 4
	* mailbox/mu_auth.c (mu_get_auth): New function.
	(mu_auth_runlist): Change return code convention: underlying calls
	should return meaningful error codes, not just 0/1.

	* examples/muauth.c: new file
	
2006-10-04  Sergey Poznyakoff  <gray@gnu.org.ua>

	* libsieve/extensions/vacation.c (vacation_subject): Improve
	yesterday's fix, following Kostas' suggestion.

2006-10-03  Sergey Poznyakoff  <gray@gnu.org.ua>

	* libsieve/prog.c (sieve_code_command): Avoid dead loop if a tag
	is not given the argument it requires. Improve the diagnostics.
	Bug reported by Kostas Zorbadelos.
	* libsieve/extensions/vacation.c (vacation_subject): Make sure
	subject is not null.

2006-09-27  Sergey Poznyakoff  <gray@gnu.org.ua>

	* comsat/action.c: Minor fixes
	* libproto/mbox/mboxscan.c (FAST_HEADER): Fix unfolding: Advance p
	only if ':' was found.
	Minor macro style fixes
	* mail/mail.h (struct mail_env_entry): New member v.bool
	* mail/set.c (mail_set): Init dummy to 1
	* mail/util.c: mail_env_entry->set means that the entry was ever
	set.  mail_env_entry->v.bool is the actual value of boolean
	variables.
	* mail.local/main.c: Minor indentation fixes
	* mailbox/mutil.c (mu_string_unfold): Convert \n followed by any
	amount of whitespace to single space.
	* mh/sortm.c: Minor fix

2006-09-10  Sergey Poznyakoff  <gray@gnu.org.ua>

	* dotlock/dotlock.c, mail.local/main.c, mail.remote/mail.remote.c,
	mh/ali.c, mh/anno.c, mh/burst.c, mh/comp.c,  mh/fmtcheck.c,
	mh/folder.c, mh/forw.c, mh/inc.c, mh/install-mh.c, mh/mark.c,
	mh/mhl.c, mh/mhn.c, mh/mhparam.c, mh/mhpath.c, mh/pick.c,
	mh/refile.c, mh/repl.c, mh/rmf.c, mh/rmm.c, mh/scan.c, mh/send.c,
	mh/sortm.c, mh/whom.c, mimeview/mimeview.c, sieve/sieve.c:
	Reformat argp docstring in accordance with the new argp
	guidelines.  Remove unneeded translators comment. 

	* config/mailutils-config.c, mh/mh.h, mh/mh_getopt.c,
	movemail/movemail.c: Include argp-namefrob.h is no longer needed 

	Update by gnulib-sync. 

	* lib/Makefile.am: Updated
	* m4/gnulib.m4: Updated 
	* mailbox/Makefile.am: Updated
	
	* lib/allocsa.c: Updated
	* lib/allocsa.h: Updated
	* lib/allocsa.valgrind: Updated
	* lib/asprintf.c: Updated
	* lib/error.c: Updated
	* lib/error.h: Updated
	* lib/exit.h: Updated
	* lib/exitfail.c: Updated
	* lib/exitfail.h: Updated
	* lib/getpass.c: Updated
	* lib/getpass.h: Updated
	* lib/mbswidth.c: Updated
	* lib/mbswidth.h: Updated
	* lib/obstack.c: Updated
	* lib/obstack.h: Updated
	* lib/realloc.c: Updated
	* lib/setenv.c: Updated
	* lib/setenv.h: Updated
	* lib/snprintf.c: Updated
	* lib/snprintf.h: Updated
	* lib/unsetenv.c: Updated
	* lib/vasprintf.c: Updated
	* lib/vasprintf.h: Updated
	* lib/xalloc-die.c: Updated
	* lib/xalloc.h: Updated
	* lib/xmalloc.c: Updated
	* lib/xsize.h: Updated
	* m4/absolute-header.m4: Added to the repository
	* m4/alloca.m4: Updated
	* m4/allocsa.m4: Updated
	* m4/argp.m4: Updated
	* m4/d-type.m4: Updated
	* m4/eealloc.m4: Updated
	* m4/eoverflow.m4: Updated
	* m4/error.m4: Updated
	* m4/exitfail.m4: Updated
	* m4/extensions.m4: Updated
	* m4/fnmatch.m4: Updated
	* m4/getdelim.m4: Updated
	* m4/getline.m4: Updated
	* m4/getlogin_r.m4: Updated
	* m4/getopt.m4: Updated
	* m4/getpass.m4: Updated
	* m4/glob.m4: Updated
	* m4/intmax_t.m4: Updated
	* m4/inttostr.m4: Updated
	* m4/inttypes_h_gl.m4: Updated
	* m4/longdouble.m4: Updated
	* m4/longdouble.m4: Updated
	* m4/longlong_gl.m4: Updated
	* m4/longlong_gl.m4: Updated
	* m4/mbchar.m4: Updated
	* m4/mbiter.m4: Updated
	* m4/mbrtowc.m4: Updated
	* m4/mbrtowc.m4: Updated
	* m4/mbstate_t.m4: Updated
	* m4/mbstate_t.m4: Updated
	* m4/mbswidth.m4: Updated
	* m4/md5.m4: Updated
	* m4/memchr.m4: Updated
	* m4/mempcpy.m4: Updated
	* m4/minmax.m4: Updated
	* m4/onceonly.m4: Updated
	* m4/onceonly.m4: Updated
	* m4/regex.m4: Updated
	* m4/setenv.m4: Updated
	* m4/sha1.m4: Updated
	* m4/signed.m4: Updated
	* m4/size_max.m4: Updated
	* m4/snprintf.m4: Updated
	* m4/ssize_t.m4: Updated
	* m4/stat-macros.m4: Updated
	* m4/stdbool.m4: Updated
	* m4/stdint.m4: Updated
	* m4/stdint_h_gl.m4: Updated
	* m4/strcase.m4: Updated
	* m4/strchrnul.m4: Updated
	* m4/strdup.m4: Updated
	* m4/strndup.m4: Updated
	* m4/strnlen.m4: Updated
	* m4/strtok_r.m4: Updated
	* m4/sysexits.m4: Updated
	* m4/unistd_h.m4: Updated
	* m4/vasnprintf.m4: Updated
	* m4/vasprintf.m4: Updated
	* m4/vsnprintf.m4: Updated
	* m4/wchar_t.m4: Updated
	* m4/wcwidth.m4: Added to the repository
	* m4/wint_t.m4: Updated
	* m4/xalloc.m4: Updated
	* m4/xsize.m4: Updated
	* m4/xsize.m4: Updated
	* mailbox/alloca.c: Updated
	* mailbox/alloca_.h: Updated
	* mailbox/argp-ba.c: Updated
	* mailbox/argp-eexst.c: Updated
	* mailbox/argp-fmtstream.c: Updated
	* mailbox/argp-fmtstream.h: Updated
	* mailbox/argp-fs-xinl.c: Updated
	* mailbox/argp-help.c: Updated
	* mailbox/argp-namefrob.h: Updated
	* mailbox/argp-parse.c: Updated
	* mailbox/argp-pin.c: Updated
	* mailbox/argp-pv.c: Updated
	* mailbox/argp-pvh.c: Updated
	* mailbox/argp-xinl.c: Updated
	* mailbox/argp.h: Updated
	* mailbox/asnprintf.c: Updated
	* mailbox/fnmatch.c: Updated
	* mailbox/fnmatch_.h: Updated
	* mailbox/fnmatch_loop.c: Updated
	* mailbox/getdelim.c: Updated
	* mailbox/getdelim.h: Updated
	* mailbox/getline.c: Updated
	* mailbox/getline.h: Updated
	* mailbox/getlogin_r.c: Updated
	* mailbox/getlogin_r.h: Updated
	* mailbox/getopt.c: Updated
	* mailbox/getopt1.c: Updated
	* mailbox/getopt_.h: Updated
	* mailbox/getopt_int.h: Updated
	* mailbox/gettext.h: Updated
	* mailbox/glob-libc.h: Updated
	* mailbox/glob.c: Updated
	* mailbox/glob_.h: Updated
	* mailbox/imaxtostr.c: Updated
	* mailbox/intprops.h: Updated
	* mailbox/inttostr.c: Updated
	* mailbox/inttostr.h: Updated
	* mailbox/malloc.c: Updated
	* mailbox/mbchar.c: Updated
	* mailbox/mbchar.h: Updated
	* mailbox/mbuiter.h: Updated
	* mailbox/md5.c: Updated
	* mailbox/md5.h: Updated
	* mailbox/memchr.c: Updated
	* mailbox/mempcpy.c: Updated
	* mailbox/mempcpy.h: Updated
	* mailbox/minmax.h: Updated
	* mailbox/offtostr.c: Updated
	* mailbox/printf-args.c: Updated
	* mailbox/printf-args.h: Updated
	* mailbox/printf-parse.c: Updated
	* mailbox/printf-parse.h: Updated
	* mailbox/regcomp.c: Updated
	* mailbox/regex.c: Updated
	* mailbox/regex.h: Updated
	* mailbox/regex_internal.c: Updated
	* mailbox/regex_internal.h: Updated
	* mailbox/regexec.c: Updated
	* mailbox/sha1.c: Updated
	* mailbox/sha1.h: Updated
	* mailbox/size_max.h: Updated
	* mailbox/stat-macros.h: Updated
	* mailbox/stdbool_.h: Updated
	* mailbox/stdint_.h: Updated
	* mailbox/strcase.h: Updated
	* mailbox/strcasecmp.c: Updated
	* mailbox/strchrnul.c: Updated
	* mailbox/strchrnul.h: Updated
	* mailbox/strdup.c: Updated
	* mailbox/strdup.h: Updated
	* mailbox/strncasecmp.c: Updated
	* mailbox/strndup.c: Updated
	* mailbox/strndup.h: Updated
	* mailbox/strnlen.c: Updated
	* mailbox/strnlen.h: Updated
	* mailbox/strnlen1.c: Updated
	* mailbox/strnlen1.h: Updated
	* mailbox/strtok_r.c: Updated
	* mailbox/strtok_r.h: Updated
	* mailbox/sysexit_.h: Updated
	* mailbox/umaxtostr.c: Updated
	* mailbox/vasnprintf.c: Updated
	* mailbox/vasnprintf.h: Updated
	* mailbox/vsnprintf.c: Updated
	* mailbox/vsnprintf.h: Updated
	* mailbox/wcwidth.h: Added to the repository
	* mailbox/xsize.h: Updated

2006-08-29  Sergey Poznyakoff  <gray@gnu.org.ua>

	* THANKS: Add Damon Harper

	Implement changes proposed by Damon Harper:
	
	* comsat/action.c (act_getline): Change return type to
	unsigned. Return actual number of input lines processed or 0 on
	failure (either I/O, or memory allocation or EOF).
	(action_echo): Rewritten to use shell-like syntax
	(run_user_action): Rewritten main loop to make it cleaner. In
	particular, expand agruments after word splitting. Use new echo
	semantics.
	
	* mail/table.c (mail_escape_table): Add ~x

2006-08-23  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/mailbox.c: Include alloca.h

2006-07-27  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mail/page.c (top_of_page,cursor,page_map,page_size)
	(page_avail,page_map): Hide as static
	(fill_page_map): Reset cursor if it points past the last
	message.
	* mail/testsuite/mail/write.exp: Add new testcase 

2006-07-22  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Raise version number to 1.0.1
	* NEWS: Version 1.0.1
	* lib/mailcap.c (expand_string, run_test, run_mailcap): Fix memory
	allocation bugs. Place all temporary strings in the obstack. 

	Fix coredump on `cd x<TAB>' in mail. Bug reported by
	Daniel Kahn Gillmor.
	
	* include/mailutils/folder.h (mu_folder_create_from_record): New
	function.
	* mailbox/folder.c (mu_folder_create_from_record): New
	function.
	(mu_folder_create): Interface to mu_folder_create_from_record
	* mailbox/mutil.c (mu_scheme_autodetect_p): Return true if scheme
	is the name of an existing file or directory.
	
	* mail/mailline.c (file_generator): Remove leading pathlen
	characters from the returned names.
	
	* libproto/mbox/folder.c: Minor formatting changes
	* mail/mail.c: Likewise

	* THANKS: Add Daniel Kahn Gillmor
	
2006-07-07  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac (AC_CHECK_FUNCS): Add setlocale

2006-07-06  Sergey Poznyakoff  <gray@gnu.org.ua>

	* doc/rfc/rfc2231.txt: New file
	* doc/rfc/Makefile.am (EXTRA_DIST): Add rfc2231.txt
	* mh/TODO: Update

	Sources at this point are tagged rel-1_0 

	* NEWS: Update
	* configure.ac: Raise version number to 1.0
	* direntry: Update for 1.0
	* doc/texinfo/Makefile.am: Removed hack introduced on
	2006-06-15. It triggered unnecessary doc updates.
	* scripts/guile-1.6/guile-doc-snarf (snarf_doc): Do not use \n in
	the replacement part of a sed expression for the sake of older
	seds. Use a more sophisticated approach with changing hold/pattern
	spaces instead.
	* scripts/guile-1.6/guile-doc-snarf.awk: Adopt for the new output
	format of snarf_doc 

2006-06-27  Sergey Poznyakoff  <gray@gnu.org.ua>

	* gnulib.modules (mailutils): Add sha1
	* lib/Makefile.am: Update
	* mailbox/Makefile.am: Update
	* m4/gnulib.m4: Update
	* sql/mysql.c: Implement verification against mysql v4 passwords. 
	
	Update by gnulib-sync. 

	* lib/allocsa.c: Updated
	* lib/allocsa.h: Updated
	* lib/allocsa.valgrind: Updated
	* lib/asprintf.c: Updated
	* lib/error.c: Updated
	* lib/error.h: Updated
	* lib/exit.h: Updated
	* lib/exitfail.c: Updated
	* lib/exitfail.h: Updated
	* lib/getpass.c: Updated
	* lib/getpass.h: Updated
	* lib/mbswidth.c: Updated
	* lib/mbswidth.h: Updated
	* lib/obstack.c: Updated
	* lib/obstack.h: Updated
	* lib/realloc.c: Updated
	* lib/setenv.c: Updated
	* lib/setenv.h: Updated
	* lib/snprintf.c: Updated
	* lib/snprintf.h: Updated
	* lib/unsetenv.c: Updated
	* lib/vasprintf.c: Updated
	* lib/vasprintf.h: Updated
	* lib/xalloc-die.c: Updated
	* lib/xalloc.h: Updated
	* lib/xmalloc.c: Updated
	* lib/xsize.h: Updated
	* m4/alloca.m4: Updated
	* m4/allocsa.m4: Updated
	* m4/argp.m4: Updated
	* m4/d-type.m4: Updated
	* m4/eealloc.m4: Updated
	* m4/eoverflow.m4: Updated
	* m4/error.m4: Updated
	* m4/exitfail.m4: Updated
	* m4/extensions.m4: Updated
	* m4/fnmatch.m4: Updated
	* m4/full-header-path.m4: Added to the repository
	* m4/getdelim.m4: Updated
	* m4/getline.m4: Updated
	* m4/getlogin_r.m4: Updated
	* m4/getopt.m4: Updated
	* m4/getpass.m4: Updated
	* m4/glob.m4: Updated
	* m4/intmax_t.m4: Updated
	* m4/inttostr.m4: Updated
	* m4/inttypes_h_gl.m4: Updated
	* m4/inttypes_h_gl.m4: Updated
	* m4/longdouble.m4: Updated
	* m4/longdouble.m4: Updated
	* m4/longlong_gl.m4: Updated
	* m4/longlong_gl.m4: Updated
	* m4/mbchar.m4: Updated
	* m4/mbiter.m4: Updated
	* m4/mbrtowc.m4: Updated
	* m4/mbrtowc.m4: Updated
	* m4/mbstate_t.m4: Updated
	* m4/mbstate_t.m4: Updated
	* m4/mbswidth.m4: Updated
	* m4/md5.m4: Updated
	* m4/memchr.m4: Updated
	* m4/mempcpy.m4: Updated
	* m4/minmax.m4: Updated
	* m4/obstack.m4: Updated
	* m4/onceonly.m4: Updated
	* m4/onceonly.m4: Updated
	* m4/regex.m4: Updated
	* m4/restrict.m4: Updated
	* m4/setenv.m4: Updated
	* m4/sha1.m4: Added to the repository
	* m4/signed.m4: Updated
	* m4/size_max.m4: Updated
	* m4/snprintf.m4: Updated
	* m4/ssize_t.m4: Updated
	* m4/stat-macros.m4: Updated
	* m4/stdbool.m4: Updated
	* m4/stdint.m4: Updated
	* m4/stdint_h_gl.m4: Updated
	* m4/stdint_h_gl.m4: Updated
	* m4/strcase.m4: Updated
	* m4/strchrnul.m4: Updated
	* m4/strdup.m4: Updated
	* m4/strerror_r.m4: Updated
	* m4/strndup.m4: Updated
	* m4/strnlen.m4: Updated
	* m4/strtok_r.m4: Updated
	* m4/sysexits.m4: Updated
	* m4/uintmax_t_gl.m4: Updated
	* m4/uintmax_t_gl.m4: Updated
	* m4/ulonglong_gl.m4: Updated
	* m4/ulonglong_gl.m4: Updated
	* m4/unistd_h.m4: Added to the repository
	* m4/vasnprintf.m4: Updated
	* m4/vasprintf.m4: Updated
	* m4/vsnprintf.m4: Updated
	* m4/wchar_t.m4: Updated
	* m4/wint_t.m4: Updated
	* m4/xalloc.m4: Updated
	* m4/xsize.m4: Updated
	* m4/xsize.m4: Updated
	* mailbox/alloca.c: Updated
	* mailbox/alloca_.h: Updated
	* mailbox/argp-ba.c: Updated
	* mailbox/argp-eexst.c: Updated
	* mailbox/argp-fmtstream.c: Updated
	* mailbox/argp-fmtstream.h: Updated
	* mailbox/argp-fs-xinl.c: Updated
	* mailbox/argp-help.c: Updated
	* mailbox/argp-namefrob.h: Updated
	* mailbox/argp-parse.c: Updated
	* mailbox/argp-pin.c: Updated
	* mailbox/argp-pv.c: Updated
	* mailbox/argp-pvh.c: Updated
	* mailbox/argp-xinl.c: Updated
	* mailbox/argp.h: Updated
	* mailbox/asnprintf.c: Updated
	* mailbox/fnmatch.c: Updated
	* mailbox/fnmatch_.h: Updated
	* mailbox/fnmatch_loop.c: Updated
	* mailbox/getdelim.c: Updated
	* mailbox/getdelim.h: Updated
	* mailbox/getline.c: Updated
	* mailbox/getline.h: Updated
	* mailbox/getlogin_r.c: Updated
	* mailbox/getlogin_r.h: Updated
	* mailbox/getopt.c: Updated
	* mailbox/getopt1.c: Updated
	* mailbox/getopt_.h: Updated
	* mailbox/getopt_int.h: Updated
	* mailbox/gettext.h: Updated
	* mailbox/glob-libc.h: Updated
	* mailbox/glob.c: Updated
	* mailbox/glob_.h: Updated
	* mailbox/imaxtostr.c: Updated
	* mailbox/intprops.h: Updated
	* mailbox/inttostr.c: Updated
	* mailbox/inttostr.h: Updated
	* mailbox/malloc.c: Updated
	* mailbox/mbchar.c: Updated
	* mailbox/mbchar.h: Updated
	* mailbox/mbuiter.h: Updated
	* mailbox/md5.c: Updated
	* mailbox/md5.h: Updated
	* mailbox/memchr.c: Updated
	* mailbox/mempcpy.c: Updated
	* mailbox/mempcpy.h: Updated
	* mailbox/minmax.h: Updated
	* mailbox/offtostr.c: Updated
	* mailbox/printf-args.c: Updated
	* mailbox/printf-args.h: Updated
	* mailbox/printf-parse.c: Updated
	* mailbox/printf-parse.h: Updated
	* mailbox/regcomp.c: Updated
	* mailbox/regex.c: Updated
	* mailbox/regex.h: Updated
	* mailbox/regex_internal.c: Updated
	* mailbox/regex_internal.h: Updated
	* mailbox/regexec.c: Updated
	* mailbox/sha1.c: Added to the repository
	* mailbox/sha1.h: Added to the repository
	* mailbox/size_max.h: Updated
	* mailbox/stat-macros.h: Updated
	* mailbox/stdbool_.h: Updated
	* mailbox/stdint_.h: Updated
	* mailbox/strcase.h: Updated
	* mailbox/strcasecmp.c: Updated
	* mailbox/strchrnul.c: Updated
	* mailbox/strchrnul.h: Updated
	* mailbox/strdup.c: Updated
	* mailbox/strdup.h: Updated
	* mailbox/strncasecmp.c: Updated
	* mailbox/strndup.c: Updated
	* mailbox/strndup.h: Updated
	* mailbox/strnlen.c: Updated
	* mailbox/strnlen.h: Updated
	* mailbox/strnlen1.c: Updated
	* mailbox/strnlen1.h: Updated
	* mailbox/strtok_r.c: Updated
	* mailbox/strtok_r.h: Updated
	* mailbox/sysexit_.h: Updated
	* mailbox/umaxtostr.c: Updated
	* mailbox/vasnprintf.c: Updated
	* mailbox/vasnprintf.h: Updated
	* mailbox/vsnprintf.c: Updated
	* mailbox/vsnprintf.h: Updated
	* mailbox/xsize.h: Updated

	End of update

	* auth/sql.c: Minor fixes to get rid of the spurious gcc warnings.
	* libsieve/actions.c: Likewise
	* libsieve/prog.c: Likewise
	* libsieve/sieve.h: Likewise
	* libsieve/sieve.l: Likewise
	* libsieve/extensions/vacation.c: Likewise
	* mail/escape.c: Likewise
	* mailbox/argcv.c: Likewise
	* mailbox/file_stream.c: Likewise
	* mailbox/munre.c: Likewise
	* mailbox/mutil.c: Likewise
	* mh/mh_alias.l: Likewise
	* mh/mh_alias.y: Likewise
	* mh/mh_init.c: Likewise
	* mh/mh_whatnow.c: Likewise
	* mh/mh_whom.c: Likewise
	* mh/mhn.c: Likewise
	* sql/sql.c: Likewise
	
	* include/mailutils/header.h (MU_HEADER_DCC): New macro. Dcc is a
	header traditionally used by MH
	* include/mailutils/mutil.h (mu_unre_set_regex): First argument is
	const.
	* lib/daemon.c: Include stdlib.h
	* lib/mailcap.c: All functions, except display_stream_mailcap, are
	static.
	* libmu_scm/mu_message.c (struct mu_message.needs_destroy): New
	member
	(mu_scm_message_mark): Raise needs_destroy if the message has null
	owner.
	(mu_scm_message_free): Do not attempt to reference msg, unless its
	needs_destroy is set.
	(mu_scm_message_create): Initialize needs_destroy to 0.
	* libsieve/extensions/moderator.c (moderator_action): set deleted
	flag manually, do not use undeclared sieve_mark_deleted.
	* mailbox/amd.c (amd_close): Unlock the monitor before returning

	* mh/send.c (fix_fcc): Minor fix
	(fix_dcc): New function. Rewrites MH Dcc as standard Bcc header.
	(_action_send): Call fix_dcc

	* sql/mysql.c (mu_check_mysql_scrambled_password): Use
	get_salt_from_scrambled.
	
2006-06-16  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/filter_trans.c (trans_read): Break the loop if both
	transcoder and read return 0 bytes. This is necessary to correctly
	handle unfinished input strings
	* mailbox/testsuite/Decode2047: New testcase: an example of
	unfinished input.

	* configure.ac: Raise version number to 0.6.95
	* NEWS: Update

2006-06-15  Sergey Poznyakoff  <gray@gnu.org.ua>

	Fix generation of libmu_scm documentation. 
	
	* doc/texinfo/Makefile.am (INCFILES): Add mu_*.texi files
	* doc/texinfo/libmu_scm.texi: Include snarfed files.
	* libmu_scm/Makefile.am (GUILE_BUILT_SOURCES_X)
	(DISTCLEANFILES): Add guile-procedures.texi
	(guile-procedures.texi): New rule
	* libmu_scm/mailutils.scm.in: Use documentation module. Update
	documentation-files to make sure MU docs are found.
	* libmu_scm/mu_address.c, libmu_scm/mu_logger.c,
	libmu_scm/mu_mailbox.c, libmu_scm/mu_message.c,
	libmu_scm/mu_mime.c, libmu_scm/mu_scm.c,
	libmu_scm/mu_util.c: Update docstrings
	* scripts/guile-1.6/guile-doc-snarf: Fix docfile generation
	* scripts/guile-1.6/guile-doc-snarf.awk: Likewise
	* libmu_scm/.cvsignore, doc/texinfo/.cvsignore,
	include/mailutils/.cvsignore: Update
	* libproto/.cvsignore: New file

2006-06-14  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/tcp.c (mu_tcp_stream_create_with_source_ip):
	(mu_tcp_stream_create_with_source_host): New functions
	 * include/mailutils/stream.h: Likewise

	* mailbox/mailbox.c (mailbox_folder_create): Bugfix,
	strncmp(fname...
	* mailbox/registrar.c: Stop iterating when the matching record was
	found. 

2006-06-10  Thomas Seeling <thomas.seeling@gmx.net> (trivial changes)

	* mailbox/registrar.c (mu_registrar_record): Tolerate NULL
	argument. 

2006-05-26  Sergey Poznyakoff  <gray@gnu.org.ua>

	* guimb/main.c: Remove leftover optind usage. Thanks Jay
	Sulzberger <jays@panix.com> for reporting.

2006-05-23  Sergey Poznyakoff  <gray@gnu.org.ua>

	* m4/mu_libobj.m4 (MU_REPLACE_FUNCS): Remove erroneous AC_DEFINE
	* examples/encode2047.c: Allow to change encoding and charset
	at runtime.
	* mailbox/filter_trans.c (trans_read): Bugfix. Do not break the
	loop if there are characters left in the buffer.
	* mailbox/testsuite/Makefile.am (EXTRA_DIST): Add Encode2047
	* mailbox/testsuite/RFC2047: Rename to ...
	* mailbox/testsuite/Decode2047: ... this
	* mailbox/testsuite/Encode2047: New file
	* mailbox/testsuite/mailbox/DISTFILES: Update
	* mailbox/testsuite/mailbox/rfc2047.exp: Rename to ...
	* mailbox/testsuite/mailbox/decode2047.exp: ... this
	* mailbox/testsuite/mailbox/encode2047.exp: New test

2006-05-22  Sergey Poznyakoff  <gray@gnu.org.ua>

	* libproto/mbox/mbox.c (mbox_is_updated): Return 1 (not updated)
	if unable to measure stream size.
	* mail/quit.c (mail_mbox_close): Initialize held_count to 0
	* mailbox/header.c (mu_header_set_value): Fix length calculation.

2006-05-21  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mh/folder.c (main): Minor fix

	* mailbox/smtp.c (smtp_send_message): Avoid generating spurious
	newline when skipping an Fcc header. 

2006-05-20  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/mailer.c (save_fcc): Handle comma-delimited folder lists
	in Fcc lines.
	* mh/Makefile.am: Add mh_format.h
	* mh/mh_format.h: New file
	* mh/TODO: Update
	* mh/mh_format.c: Move declarations of strobj functions to
	mh_format.h
	* mh/mh_init.c (mh_file_to_message): Fix a memory leak
	* mh/mh_whatnow.c (mh_whatnow): consult VISUAL and EDITOR
	environment variables for the default editor
	* mh/repl.c (opt_handler, make_draft): Handle --fcc
	* mh/rmf.c (main): Fix coredump if invoked with no options.
	* mh/send.c (check_file): Change format of the mesg_list entries.
	(fix_fcc): Correctly handle comma-delimited lists of folders.
	(backup_file): New function.
	(_action_send): Rename draft file after sending it.
	* NEWS: Update.
	
2006-05-17  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mh/send.c (_action_send): Use %z instead of %Z to form Date
	header.
	
	* NEWS: Update
	* doc/texinfo/mu-mh.texi: Minor fix
	* mh/ali.c, mh/burst.c, mh/comp.c, mh/compcommon.c, mh/fmtcheck.c,
	mh/folder.c, mh/forw.c, mh/inc.c, mh/mark.c, mh/mh_alias.l,
	mh/mh_alias.y, mh/mh_argp.c, mh/mh_ctx.c, mh/mh_fmtgram.y,
	mh/mh_format.c, mh/mh_init.c, mh/mh_list.c, mh/mh_msgset.c,
	mh/mh_stream.c, mh/mh_whatnow.c, mh/mh_whom.c, mh/mhl.c, mh/mhn.c,
	mh/pick.c, mh/pick.y, mh/refile.c, mh/repl.c, mh/rmf.c, mh/scan.c,
	mh/send.c, mh/sortm.c: Remove mh_error function, use mu_error
	instead.  

	* mh/folder.c: Improve compatibility with nmh: if a folder is
	specified along with -all, set the recursion depth to 2 (unless
	-recurse has also been given).
	(print_header,print_total): Default to -1
	(recurse): Removed in favor of max_depth.
	(has_folder,max_depth): New variable.
	(OPTION_IS_SET): New macro.
	(opt_handler): Updated for new variable usage.
	(_scan): Depth argument is now size_t
	Take into account max_depth.
	(action_print): Use OPTION_IS_SET with the three-state variables
	(main): Properly set/clear show_all and max_depth.

2006-05-16  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mh/folder.c (opt_handler): Allow -noheader and -nototal to be
	used with -all.
	* mh/mh_init.c (mh_error): Moved from mh_error.c
	* mh/Makefile.am (libmh_a_SOURCES): Remove mh_error.c
	* mh/mh_error.c: Removed

2006-05-15  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mh/folder.c (_scan): Bugfix
	* mh/mh.h (mh_makedir): New function
	* mh/mh_init.c (mh_makedir): New function
	(mh_check_folder): Use mh_makedir to create directories (or
	directory hierarchies).
	* NEWS: Update
	
2006-05-12  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mh/folder.c (_scan): Test for existence of the folder even if
	--fast was given. Exit with code 1 if the folder does not exist.

2006-04-26  Sergey Poznyakoff  <gray@gnu.org.ua>

	* doc/texinfo/mu-mh.texi: New file
	* doc/texinfo/programs.texi: Update
	* doc/texinfo/Makefile.am (mailutils_TEXINFOS): Add mu-mh.texi
	(info_TEXINFOS): Remove muint.texi

	* mh/README: Removed. Documentation moved to its proper place in
	mailutils.info.

	* Makefile.am (SUBDIRS): Remove intl
	* configure.ac: Require external gettext
	Always define GNULIB_ARGP_EXTERN_BASENAME
	* config/Makefile.am (AM_CPPFLAGS): Removed
	* mailbox/Makefile.am: Likewise
	* movemail/Makefile.am: Likewise
	* include/mailutils/address.h (mu_address_set_personal)
	(mu_address_set_comments): New functions
	* mailbox/address.c: Likewise
	* mailbox/sendmail.c: Add extra debug info
	* mh/mh.h: Include <argp-namefrob.h>
	* mh/mh_getopt.c: Likewise
	* mh/mh_alias.y (mh_alias_get_internal): Set `inclusive'
	only if the alias matches
	(mh_alias_get_address): Initialize incl
	Use mu_address_set_personal to handle alias inclusion
	* mh/mh_whom.c (mh_alias_expand): Initialize incl
	
2006-04-22  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS, README: Updated

	* configure.ac: Minor change
	* guimb/scm/Makefile.am (sieve.scm): Use auxiliary sed script to
	create.
	(pkgdata_DATA): Rename to sievemod_DATA
	* guimb/scm/redirect.scm: Use handle-exception where necessary
	* guimb/scm/reject.scm: Likewise.
	* guimb/scm/vacation.scm: Likewise.
	
	* guimb/scm/sieve-core.scm: Rewrite as module. Change
	initialization of the syntax tables.
	(handle-exception,sieve-verbose-print): New macro
	(action-fileinto,action-keep,action-stop,action-discard): Produce
	verbose diagnostics if required.
	(sieve-run): Take thunk as an argument. Report implicit keep if it
	returns #t and the verbose mode is on.
	(sieve-main): Take thunk as an argument.
	* guimb/scm/sieve.scm.in: Load sieve-core as a module.
	Do not use make-shared-substring. Change
	initialization of the syntax tables. Construct the code so, that
	it returns #t if implicit keep is performed, pass the code as an
	argument to sieve-main.
	Fix handling of command line arguments when executing the compiled
	code (call without -o option).
	(lex-error,syntax-error): Rewritten
	(sieve-preprocess-arguments): Correctly handle #:comparator
	tags
	(sieve-parse-arguments): Fix handling of keywords (did not work with
	Guile 1.6.x)
	(sieve-parse-test): Bugfix 1: Some tests are not procedures.
	Bugfix 2: Do not ignore last test in allof, anyof constructs
	(sieve-save-program): Rewrite using with-output-to-file
	(grammar): New option --verbose.

	* include/mailutils/guile.h: Update
	* libmu_scm/Makefile.am (pkgdata_DATA): Rename to site_DATA
	* libmu_scm/mailutils.scm.in: Change module definition

	* libmu_scm/mu_message.c: Throw exceptions on errors.
	* libmu_scm/mu_scm.c (mu-strerror): New function
	* libmu_scm/mu_scm.h: Include mailutils/errno.h
	* m4/guile.m4: New option --with-guiledir. AC_SUBST all GUILE_.*
	variables. Use $GUILE_CONFIG instead of guile-config.
	
2006-04-20  Sergey Poznyakoff  <gray@gnu.org.ua>

	* guimb/scm/sieve-core.scm: Always load mailutils module
	(sieve-main): Use (mu-mail-directory) instead of mu-path-maildir.
	* include/mailutils/guile.h: Add support for Guile 1.8
	(mu_scm_error): New function
	* include/mailutils/mutil.h (mu_spawnvp): Change type of the 2nd
	argument.
	* libmu_scm/mailutils.scm.in (mu-libs): Use "libmailutils" instead
	of "libmailbox"
	* libmu_scm/mu_address.c: Rewritten using Guile 1.8 API.
	Throw 'mailutils-error instead of returning #f on error.
	* libmu_scm/mu_body.c: Likewise
	* libmu_scm/mu_logger.c: Likewise
	* libmu_scm/mu_mailbox.c: Likewise
	* libmu_scm/mu_message.c: Likewise
	* libmu_scm/mu_mime.c: Likewise
	* libmu_scm/mu_port.c: Likewise
	* libmu_scm/mu_scm.c: Likewise
	* libmu_scm/mu_util.c: Likewise

	* libproto/imap/mbox.c (imap_envelope_date): bugfix
	* mailbox/amd.c [WITH_PTHREAD][HAVE_PTHREAD_H]: Fix typo
	* mailbox/locker.c (lock_external): Minor fix
	* mailbox/mutil.c (mu_spawnvp): Change type of the 2nd argument.

2006-04-19  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS: Update
	* gnulib.modules (muaux): Remove xstrtol
	* libproto/pop/mbox.c (parse_answer0,parse_answer1): Use strtoul
	instead of strtoumax. This is a temporary change.
	* m4/gnulib.m4: Remove gl_XSTRTOL.
	* m4/xstrtol.m4: Removed
	* lib/xstrtol.h: Removed
	* lib/xstrtol.c: Removed
	* lib/xstrtoul.c: Removed

	* NEWS: Update
	* README: Document --with-berkeley-db option
	* configure.ac (--with-berkeley-db): New option
	(--with-db2): Deprecated. Remove from the help list.
	Raise version number to 0.6.94
	
	* lib/mu_dbm.c: Add support for Berkeley DB >= 3
	* lib/mu_dbm.h: Likewise
	* pop3d/popauth.c: Likewise
	* mailbox/nls.c: Include stdlib.h

	* doc/texinfo/address.texi, doc/texinfo/attribute.texi,
	doc/texinfo/auth.texi, doc/texinfo/body.texi,
	doc/texinfo/envelope.texi, doc/texinfo/folder.texi,
	doc/texinfo/framework.texi, doc/texinfo/headers.texi,
	doc/texinfo/imap4.texi, doc/texinfo/iterator.texi,
	doc/texinfo/libsieve.texi, doc/texinfo/locker.texi,
	doc/texinfo/mailbox.texi, doc/texinfo/mailcap.texi,
	doc/texinfo/mailer.texi, doc/texinfo/mbox.texi,
	doc/texinfo/message.texi, doc/texinfo/mime.texi,
	doc/texinfo/nntp.texi, doc/texinfo/parse822.texi,
	doc/texinfo/pop3.texi, doc/texinfo/smtp.texi,
	doc/texinfo/stream.texi, doc/texinfo/url.texi: Reflect namespace
	changes.

2006-04-05  Sergey Poznyakoff  <gray@gnu.org.ua>

	* THANKS: Add Willem Jaap Zwart
	* NEWS: Update
	* imap4d/imap4d.h (is_atom): New function
	* imap4d/list.c (print_file,print_dir): Rewrite using an
	auxiliary function. Make sure the string is properly quoted if it
	is not a valid atom.
	* imap4d/util.c (is_atom): New function.
	* libproto/imap/folder.c (list_copy): Do nothing if src is NULL.
	(imap_list): Use mu_argcv_get instead of strtok_r to parse last
	two tokens of the reply, so that file names containing white space
	are processed.
	* mailbox/argcv.c: Fix indentation.

2006-03-12  Sergey Poznyakoff  <gray@gnu.org.ua>

	* imap4d/append.c, imap4d/fetch.c, libproto/imap/mbox.c,
	libproto/mbox/mbox.c, libsieve/actions.c, mailbox/message.c,
	mailbox/message_stream.c, mh/mh_init.c, mh/send.c: Use mu_strftime
	* include/mailutils/envelope.h (MU_ENVELOPE_DATE_FORMAT)
	(MU_ENVELOPE_DATE_LENGTH): New defines
	* include/mailutils/mutil.h (mu_strftime): New function
	* include/mailutils/nls.h (mu_set_locale,mu_restore_locale): New
	functions
	* mailbox/mutil.c (mu_strftime): New function
	* mailbox/nls.c (mu_locale_set): New variable
	(mu_set_locale,mu_restore_locale): New functions
	(mu_init_nls): Use mu_set_locale. Store its return in mu_locale_set.

	* scripts/generr.awk: Report error if no output lines were
	produced. 
	
2006-03-03  Sergey Poznyakoff  <gray@gnu.org.ua>

	* Makefile.am (SUBDIRS): Add libproto
	* configure.ac: Define MU_LIB_.* variables
	(MU_AUTHLIBS): Initialize to empty value.
	(AC_CONFIG_FILES): Add libproto Makefiles

	* libproto: New directory
	* libproto/Makefile.am: New file
	* libproto/imap: New directory
	* libproto/include: New directory
	* libproto/maildir: New directory
	* libproto/mbox: New directory
	* libproto/mh: New directory
	* libproto/nntp: New directory
	* libproto/pop: New directory

	* mailbox/imap/folder.c, mailbox/imap/mbox.c, mailbox/imap/url.c,
	mailbox/imap/Makefile.am, mailbox/imap/.cvsignore: Move to
	libproto/imap 

	* mailbox/include/address0.h, mailbox/include/amd.h,
	mailbox/include/attribute0.h, mailbox/include/auth0.h,
	mailbox/include/body0.h, mailbox/include/debug0.h,
	mailbox/include/envelope0.h, mailbox/include/filter0.h,
	mailbox/include/folder0.h, mailbox/include/header0.h,
	mailbox/include/imap0.h, mailbox/include/iterator0.h,
	mailbox/include/list0.h, mailbox/include/mailbox0.h,
	mailbox/include/mailer0.h, mailbox/include/message0.h,
	mailbox/include/mime0.h, mailbox/include/monitor0.h,
	mailbox/include/observer0.h, mailbox/include/property0.h,
	mailbox/include/registrar0.h, mailbox/include/stream0.h,
	mailbox/include/url0.h, mailbox/include/Makefile.am,
	mailbox/include/.cvsignore: Move to libproto/include 

	* mailbox/maildir/folder.c, mailbox/maildir/maildir.h,
	mailbox/maildir/mbox.c, mailbox/maildir/Makefile.am,
	mailbox/maildir/.cvsignore: Move to libproto/maildir

	* mailbox/mbox/folder.c, mailbox/mbox/mbox.c,
	mailbox/mbox/mbox0.h, mailbox/mbox/mboxscan.c, mailbox/mbox/url.c,
	mailbox/mbox/Makefile.am, mailbox/mbox/.cvsignore: Move to
	libproto/mbox. 
	
	* mailbox/mh/folder.c, mailbox/mh/mbox.c, mailbox/mh/Makefile.am,
	mailbox/mh/.cvsignore: Move to libproto/mh

	* mailbox/nntp/folder.c, mailbox/nntp/mbox.c,
	mailbox/nntp/nntp0.h, mailbox/nntp/nntp_article.c,
	mailbox/nntp/nntp_body.c, mailbox/nntp/nntp_carrier.c,
	mailbox/nntp/nntp_connect.c, mailbox/nntp/nntp_create.c,
	mailbox/nntp/nntp_date.c, mailbox/nntp/nntp_debug.c,
	mailbox/nntp/nntp_destroy.c, mailbox/nntp/nntp_disconnect.c,
	mailbox/nntp/nntp_group.c, mailbox/nntp/nntp_head.c,
	mailbox/nntp/nntp_help.c, mailbox/nntp/nntp_ihave.c,
	mailbox/nntp/nntp_iterator.c, mailbox/nntp/nntp_last.c,
	mailbox/nntp/nntp_list_active.c,
	mailbox/nntp/nntp_list_distribpats.c,
	mailbox/nntp/nntp_list_distributions.c,
	mailbox/nntp/nntp_list_extensions.c,
	mailbox/nntp/nntp_list_newsgroups.c,
	mailbox/nntp/nntp_list_times.c, mailbox/nntp/nntp_mode_reader.c,
	mailbox/nntp/nntp_newgroups.c, mailbox/nntp/nntp_newnews.c,
	mailbox/nntp/nntp_next.c, mailbox/nntp/nntp_post.c,
	mailbox/nntp/nntp_quit.c, mailbox/nntp/nntp_readline.c,
	mailbox/nntp/nntp_response.c, mailbox/nntp/nntp_sendline.c,
	mailbox/nntp/nntp_stat.c, mailbox/nntp/nntp_stream.c,
	mailbox/nntp/nntp_timeout.c, mailbox/nntp/url.c,
	mailbox/nntp/Makefile.am, mailbox/nntp/.cvsignore: Move to
	libproto/nntp 

	* mailbox/pop/folder.c, mailbox/pop/mbox.c,
	mailbox/pop/pop3_apop.c, mailbox/pop/pop3_capa.c,
	mailbox/pop/pop3_carrier.c, mailbox/pop/pop3_connect.c,
	mailbox/pop/pop3_create.c, mailbox/pop/pop3_debug.c,
	mailbox/pop/pop3_dele.c, mailbox/pop/pop3_destroy.c,
	mailbox/pop/pop3_disconnect.c, mailbox/pop/pop3_iterator.c,
	mailbox/pop/pop3_list.c, mailbox/pop/pop3_lista.c,
	mailbox/pop/pop3_noop.c, mailbox/pop/pop3_pass.c,
	mailbox/pop/pop3_quit.c, mailbox/pop/pop3_readline.c,
	mailbox/pop/pop3_response.c, mailbox/pop/pop3_retr.c,
	mailbox/pop/pop3_rset.c, mailbox/pop/pop3_sendline.c,
	mailbox/pop/pop3_stat.c, mailbox/pop/pop3_stls.c,
	mailbox/pop/pop3_stream.c, mailbox/pop/pop3_timeout.c,
	mailbox/pop/pop3_top.c, mailbox/pop/pop3_uidl.c,
	mailbox/pop/pop3_uidla.c, mailbox/pop/pop3_user.c,
	mailbox/pop/url.c, mailbox/pop/Makefile.am,
	mailbox/pop/.cvsignore: Move to libproto/pop. 
	
	* auth/Makefile.am, comsat/Makefile.am, config/Makefile.am,
	dotlock/Makefile.am, examples/Makefile.am, frm/Makefile.am,
	guimb/Makefile.am, imap4d/Makefile.am, libmu_scm/Makefile.am,
	libsieve/Makefile.am, libsieve/extensions/Makefile.am,
	mail/Makefile.am, mail.local/Makefile.am, mail.remote/Makefile.am,
	mailbox/Makefile.am, mapi/Makefile.am, messages/Makefile.am,
	mh/Makefile.am, mimeview/Makefile.am, movemail/Makefile.am,
	pop3d/Makefile.am, readmsg/Makefile.am, sieve/Makefile.am: Use
	MU_LIB_.* variables instead of referring to the libraries by their
	relative paths. 

	* po/POTFILES.in: Update
	
	* mailbox/amd.c: Protect definition of _XOPEN_SOURCE by an extra
	ifdef.
	* libsieve/extensions/vacation.c (regex_comparator): Fix error
	diagnostics
	* mail/mail.h (cursor): Fix declaration

	* mailbox/Makefile.am: Fix INCLUDES and SUBDIRS
	* mailbox/filter_trans.c (base64_encode): Split into two
	functions.
	(B_encode): New function for RFC 2047 encoding
	* mailbox/rfc2047.c: Minor indentation fix
	* mh/mhn.c (finish_msg): Make sure part header is preserved.

2006-02-24  Sergey Poznyakoff  <gray@gnu.org.ua>

	* auth/Makefile.am, libmu_cpp/Makefile.am, libmu_scm/Makefile.am,
	mailbox/imap/Makefile.am, mailbox/maildir/Makefile.am,
	mailbox/mbox/Makefile.am, mailbox/mh/Makefile.am,
	mailbox/nntp/Makefile.am, mailbox/pop/Makefile.am,
	mapi/Makefile.am: Set version info  
	* mailbox/Makefile.am: Compile libmailutils first, then recurse
	into the subdirs.
	* m4/guile.m4: Use improved sed expression, proposed by Thien-Thi
	Nguyen. 
	
2006-02-17  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS: Update

	* mh/mhn.c (split_args): New function
	(_message_is_external_body ): Use split_args to parse
	additional arguments
	(mhn_edit): Fix invocation of edit_modify (was not getting
	additional arguments after ';')
	(parse_header_directive): New function
	(mhn_header): New function
	(mhn_compose): Bugfix: initialize env.line
	Call mhn_header to optionally encode Subject line

	* mailbox/rfc2047.c (mu_rfc2047_encode): Return EINVAL if any of
	the arguments is NULL.

	* frm/common.c (get_personal): Fix coredump on empty From: headers.

2006-02-09  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/message_stream.c (restore_envelope): Restore line
	accidentally deleted with the recent changes.
	
2006-02-08  Sergey Poznyakoff  <gray@gnu.org.ua>

	Fix displaying source locations in Sieve action logs:
	
	* libsieve/prog.c (sieve_change_source)
	(sieve_check_source_changed): New functions
	(sieve_code_action,sieve_code_test): Call
	sieve_check_source_changed.
	* libsieve/sieve.h (sieve_change_source): New function
	* libsieve/sieve.l (push_source,pop_source): Do not code
	SOURCE instruction directly, use sieve_change_source() to let the
	code generator know it should do it.

	Fix build on platforms without program_invocation_short_name:

	* mailbox/Makefile.am (AM_CFLAGS): Use AM_CPPFLAGS instead.
	* config/Makefile.am, movemail/Makefile.am (AM_CPPFLAGS): Add
	GNULIB_ARGP_EXTERN_BASENAME=1
	* config/mailutils-config.c, movemail/movemail.c: Include
	argp-namefrob.h 

2006-02-07  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/stream.c (mu_stream_getline)
	(mu_stream_sequential_getline): New function

	* mailbox/message_stream.c (_mu_rfc822_open, restore_envelope): Use
	mu_stream_getline

	* include/mailutils/stream.h (mu_stream_getline)
	(mu_stream_sequential_getline): New function

	* include/mailutils/libsieve.h (mu_sieve_machine_inherit_report):
	Replace by mu_sieve_machine_inherit
	* libsieve/sieve.y: Likewise
	* libsieve/extensions/moderator.c: Likewise.
	* libsieve/extensions/vacation.c: Fix the leading comment.
	* mailbox/argp-namefrob.h: Restored changes accidentally lost in
	gnulib.

2006-02-06  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS: Raise version number to 0.6.93
	* include/mailutils/libsieve.h (mu_sieve_machine_dup)
	(mu_sieve_machine_inherit_report): New functions
	* include/mailutils/message.h (mu_stream_to_message): New
	function.
	* include/mailutils/mutil.h (mu_mh_delim): New function
	* libsieve/actions.c: Minor stylistic changes
	* libsieve/require.c: Likewise
	* libsieve/sieve.h: Likewise
	* libsieve/sieve.y (mu_sieve_machine_inherit_report)
	(mu_sieve_machine_dup): New functions
	* libsieve/util.c: Minor stylistic changes
	* libsieve/extensions/moderator.c: New file. Automatic moderator
	for Mailman-driven mailing lists.
	* libsieve/extensions/Makefile.am: Add moderator module
	
	* mailbox/message_stream.c: New file. Derived from mh/mh_stream.c
	* mailbox/Makefile.am: Add message_stream.c
	* mailbox/mutil.c (mu_mh_delim): New function
	* mh/mh_stream.c: Rewritten using mu_stream_to_message. Actually,
	the source can be removed now and the function moved elsewhere,
	e.g. to mh_init...
	* sieve/sieve.c (main): Register all mailbox/mailer formats.
	
2006-01-27  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mh/comp.c: Fix semantics of -build/-draftmessage/-[no]draftfolder
	options for compatibility with other implementations of MH
	* mh/forw.c: Likewise
	* mh/whatnow.c: Likewise
	* mh/repl.c: Likewise
	* mh/compcommon.c: Bugfix.
	* mh/mh.h (mh_draft_message): New prototype.
	(xmalloc,xrealloc): Remove prototypes
	* mh/mh_argp.c (parse_opt): Pass ARGP_KEY_INIT to the application
	handler.
	* mh/mh_init.c (mh_draft_message): New function
	* mh/mh_whatnow.c (quit): Don't call rename if both file and
	draftfile are the same.

	* imap4d/select.c (imap4d_select0): Fix status display.

2006-01-25  Sergey Poznyakoff  <gray@gnu.org.ua>

	* imap4d/select.c (imap4d_select0): Create INBOX if it does not
	exist.

	* mailbox/Makefile.am (AM_CFLAGS): Define
	GNULIB_ARGP_EXTERN_BASENAME
	* mailbox/argp-namefrob.h: Bugfix (stray #)
	* mailbox/mutil.c (__argp_base_name): New function

	* THANKS: Add Helmut Leitner.
	* mail/mail.c (parse_opt): Try to catch arguments separated from
	the option by whitespace. Solution proposed by Helmut Leitner.
	Avoid queueing multiple "set mode=send" options.

	* sql/mysql.c (connect): Initialize socket_name to NULL

	* include/mailutils/compat.h (registrar_lookup): Define to
	mu_0_6_registrar_lookup
	* include/mailutils/mailbox.h (mu_mailbox_set_default_proto)
	(mu_mailbox_get_default_proto): New prototypes.
	* include/mailutils/registrar.h (mu_registrar_lookup): Changed
	declaration.
	(mu_0_6_registrar_lookup): New prototype.
	* mailbox/mailbox.c (mu_mailbox_set_default_proto)
	(mu_mailbox_get_default_proto): New functions.
	(mu_mailbox_create): Append default_proto to the mailbox URL, if
	the latter does not already contain one.
	Update invocation of mu_registrar_lookup

	* mailbox/mbx_default.c (tilde_expand): Remove
	(mu_mailbox_create_default): Use  mu_tilde_expansion instead of
	tilde_expand
	
	* mailbox/mu_argp.c (mu_mailbox_argp_option)
	(mu_common_argp_parser): New option --mailbox-type
	* mailbox/mutil.c (mu_tilde_expansion): Expand tilde after
	the protocol specification.

	* mailbox/registrar.c (mu_registrar_lookup): Return error
	code. Use an extra argument to return the flags.
	(mu_0_6_registrar_lookup): New function for compatibility with
	previous versions.
	
	* mailbox/folder.c: Update invocations of mu_registrar_lookup
	* mailbox/mailer.c: Likewise
	* mailbox/mbox/folder.c: Likewise.

	* NEWS: Update
	
2006-01-24  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mh/mh_ctx.c (mh_context_read): Allow for empty lines and
	conventional comment characters ('#') in the context file. 
	* mh/mh_init.c (mh_is_my_name): Bugfix: do not use strtok_r, which 
	modifies its argument.
	
	* include/mailutils/header.h (MU_HEADER_X_MAILER): New define
	* mail/send.c (mail_send0): Use MU_HEADER_X_MAILER
	* mh/replcomps: Remove X-Mailer. Send will add it if needed.
	* mh/replgroupcomps: Likewise
	* mh/send.c (read_mts_profile): Support localname and localdomain
	variables.
	(read_mts_profile): Support x-mailer variable.
	* NEWS: Updated

2006-01-23  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mail/mail.h (exec_compl): New prototype
	* mail/mailline.c (ml_command_completion): Fix coredump
	(exec_compl,exec_generator): New functions
	* mail/table.c: Use exec_compl to complete first argument to !

	* mailbox/parse822.c (mu_parse822_time): Assume UTC for invalid or
	unknown timezones.

2006-01-20  Sergey Poznyakoff  <gray@gnu.org.ua>

	Sources before this point are tagged alpha_0_6_92
	
	* mailbox/mu_umaxtostr.c: New file
	* mailbox/mu_umaxtostr.h: New file

	* configure.ac: Remove HAVE_DECL_PROGRAM_INVOCATION_NAME hack,
	newer argp does that itself.
	Raise version number to 0.6.93
	* gnulib.modules (mailutils): Add inttostr
	* examples/Makefile.am, imap4d/Makefile.am,
	libsieve/extensions/Makefile.am, pop3d/Makefile.am  (AM_LDFLAGS):
	Load libmuaux before libmailutils. 
	
	* mailbox/imap/Makefile.am (libmu_imap_la_LIBADD): New variable
	* mailbox/pop/Makefile.am (libmu_pop_la_LIBADD): New variable
	
	* examples/muemail.c: Include stdlib.h
	
	* imap4d/fetch.c, imap4d/imap4d.c, imap4d/search.c,
	mailbox/daemon.c, mailbox/message.c, mailbox/imap/mbox.c,
	mh/burst.c, mh/compcommon.c, mh/folder.c, mh/forw.c,
	mh/mh_global.c, mh/mh_msgset.c, mh/mh_sequence.c, mh/mhn.c,
	mh/mhpath.c, mh/pick.c, mh/repl.c, mh/sortm.c, pop3d/apop.c,
	pop3d/capa.c, pop3d/dele.c, pop3d/list.c, pop3d/logindelay.c,
	pop3d/pop3d.c, pop3d/stat.c, pop3d/uidl.c, pop3d/user.c: Use
	mu_umaxtostr to format size_t and off_t values
	
	* imap4d/imap4d.h, libmu_scm/mu_port.c, mh/mh.h, pop3d/pop3d.h:
	Include mu_umaxtostr.h 
	
	* mh/mh_format.c: Recognize EET and EEST time zones
	
	* mailbox/pop/mbox.c: Fix parsing of pop3 server replies.
	Use mu_umaxtostr to format size_t and off_t values
	
	* mailbox/imap/folder.c: Add gettext markers
	* mailbox/mbox/mbox.c: Likewise
	* mailbox/mbox/mbox0.h: Include mailutils/nls.h
	
	* mail/set.c, mail/unset.c, mail/mail.h,
	mail/util.c (util_printenv): Change return type to void. 
	All callers updated.

	* mail.local/mail.local.h: Define USE_MAILBOX_QUOTAS after
	including mu_dbm.h
	* mail.local/mailquota.c: Issue error message if unable to open
	the database.

	* mailbox/Makefile.am (AM_CFLAGS): Define
	GNULIB_ARGP_DISABLE_DIRNAME
	(EXTRA_DIST): Remove pin.c

	* po/POTFILES.in: Updated. Sorted alphabetically

	* scripts/gnulib-sync (expand_modules): Implement 'avoid' feature.
	Avoid expanding dirname into mailbox/, since it drags xalloc with
	it. 
	
	Update by gnulib-sync.

	* lib/fnmatch.c: Updated  
	* lib/malloc.c: Updated
	* lib/strcasecmp.c: Updated
	* lib/strncasecmp.c: Updated
	* m4/gnulib.m4: Updated
	* m4/xstrtol.m4: Updated
	
	* lib/allocsa.c: Updated
	* lib/allocsa.h: Updated
	* lib/allocsa.valgrind: Updated
	* lib/asprintf.c: Updated
	* lib/error.c: Updated
	* lib/error.h: Updated
	* lib/exit.h: Updated
	* lib/exitfail.c: Updated
	* lib/exitfail.h: Updated
	* lib/getpass.c: Updated
	* lib/getpass.h: Updated
	* lib/mbswidth.c: Updated
	* lib/mbswidth.h: Updated
	* lib/obstack.c: Updated
	* lib/obstack.h: Updated
	* lib/realloc.c: Updated
	* lib/setenv.c: Updated
	* lib/setenv.h: Updated
	* lib/snprintf.c: Updated
	* lib/snprintf.h: Updated
	* lib/unsetenv.c: Updated
	* lib/vasprintf.c: Updated
	* lib/vasprintf.h: Updated
	* lib/xalloc-die.c: Updated
	* lib/xalloc.h: Updated
	* lib/xmalloc.c: Updated
	* lib/xsize.h: Updated
	* m4/alloca.m4: Updated
	* m4/allocsa.m4: Updated
	* m4/argp.m4: Updated
	* m4/d-type.m4: Updated
	* m4/eealloc.m4: Updated
	* m4/eoverflow.m4: Updated
	* m4/error.m4: Updated
	* m4/exitfail.m4: Updated
	* m4/extensions.m4: Updated
	* m4/fnmatch.m4: Updated
	* m4/getdelim.m4: Updated
	* m4/getline.m4: Updated
	* m4/getlogin_r.m4: Updated
	* m4/getopt.m4: Updated
	* m4/getpass.m4: Updated
	* m4/glob.m4: Updated
	* m4/intmax_t.m4: Updated
	* m4/inttostr.m4: Added to the repository
	* m4/inttypes.m4: Updated
	* m4/inttypes_h_gl.m4: Updated
	* m4/inttypes_h_gl.m4: Updated
	* m4/longdouble.m4: Updated
	* m4/longdouble.m4: Updated
	* m4/longlong_gl.m4: Updated
	* m4/longlong_gl.m4: Updated
	* m4/mbchar.m4: Updated
	* m4/mbiter.m4: Updated
	* m4/mbrtowc.m4: Updated
	* m4/mbrtowc.m4: Updated
	* m4/mbstate_t.m4: Updated
	* m4/mbstate_t.m4: Updated
	* m4/mbswidth.m4: Updated
	* m4/md5.m4: Updated
	* m4/memchr.m4: Updated
	* m4/mempcpy.m4: Updated
	* m4/minmax.m4: Updated
	* m4/obstack.m4: Updated
	* m4/onceonly.m4: Updated
	* m4/onceonly.m4: Updated
	* m4/regex.m4: Updated
	* m4/restrict.m4: Updated
	* m4/setenv.m4: Updated
	* m4/signed.m4: Updated
	* m4/size_max.m4: Updated
	* m4/snprintf.m4: Updated
	* m4/stat-macros.m4: Updated
	* m4/stdbool.m4: Updated
	* m4/stdint.m4: Updated
	* m4/stdint_h_gl.m4: Updated
	* m4/stdint_h_gl.m4: Updated
	* m4/strcase.m4: Updated
	* m4/strchrnul.m4: Updated
	* m4/strdup.m4: Updated
	* m4/strerror_r.m4: Updated
	* m4/strndup.m4: Updated
	* m4/strnlen.m4: Updated
	* m4/strtok_r.m4: Updated
	* m4/sysexits.m4: Updated
	* m4/uintmax_t_gl.m4: Updated
	* m4/uintmax_t_gl.m4: Updated
	* m4/ulonglong_gl.m4: Updated
	* m4/ulonglong_gl.m4: Updated
	* m4/vasnprintf.m4: Updated
	* m4/vasprintf.m4: Updated
	* m4/vsnprintf.m4: Updated
	* m4/wchar_t.m4: Updated
	* m4/wint_t.m4: Updated
	* m4/xalloc.m4: Updated
	* m4/xsize.m4: Updated
	* m4/xsize.m4: Updated
	* mailbox/alloca.c: Updated
	* mailbox/alloca_.h: Updated
	* mailbox/argp-ba.c: Updated
	* mailbox/argp-eexst.c: Updated
	* mailbox/argp-fmtstream.c: Updated
	* mailbox/argp-fmtstream.h: Updated
	* mailbox/argp-fs-xinl.c: Updated
	* mailbox/argp-help.c: Updated
	* mailbox/argp-namefrob.h: Updated
	* mailbox/argp-parse.c: Updated
	* mailbox/argp-pin.c: Added to the repository
	* mailbox/argp-pv.c: Updated
	* mailbox/argp-pvh.c: Updated
	* mailbox/argp-xinl.c: Updated
	* mailbox/argp.h: Updated
	* mailbox/asnprintf.c: Updated
	* mailbox/fnmatch.c: Updated
	* mailbox/fnmatch_.h: Updated
	* mailbox/fnmatch_loop.c: Updated
	* mailbox/getdelim.c: Updated
	* mailbox/getdelim.h: Updated
	* mailbox/getline.c: Updated
	* mailbox/getline.h: Updated
	* mailbox/getlogin_r.c: Updated
	* mailbox/getlogin_r.h: Updated
	* mailbox/getopt.c: Updated
	* mailbox/getopt1.c: Updated
	* mailbox/getopt_.h: Updated
	* mailbox/getopt_int.h: Updated
	* mailbox/gettext.h: Updated
	* mailbox/glob-libc.h: Updated
	* mailbox/glob.c: Updated
	* mailbox/glob_.h: Updated
	* mailbox/imaxtostr.c: Added to the repository
	* mailbox/intprops.h: Added to the repository
	* mailbox/inttostr.c: Added to the repository
	* mailbox/inttostr.h: Added to the repository
	* mailbox/malloc.c: Updated
	* mailbox/mbchar.c: Updated
	* mailbox/mbchar.h: Updated
	* mailbox/mbuiter.h: Updated
	* mailbox/md5.c: Updated
	* mailbox/md5.h: Updated
	* mailbox/memchr.c: Updated
	* mailbox/mempcpy.c: Updated
	* mailbox/mempcpy.h: Updated
	* mailbox/minmax.h: Updated
	* mailbox/offtostr.c: Added to the repository
	* mailbox/printf-args.c: Updated
	* mailbox/printf-args.h: Updated
	* mailbox/printf-parse.c: Updated
	* mailbox/printf-parse.h: Updated
	* mailbox/regcomp.c: Updated
	* mailbox/regex.c: Updated
	* mailbox/regex.h: Updated
	* mailbox/regex_internal.c: Updated
	* mailbox/regex_internal.h: Updated
	* mailbox/regexec.c: Updated
	* mailbox/size_max.h: Updated
	* mailbox/stat-macros.h: Updated
	* mailbox/stdbool_.h: Updated
	* mailbox/stdint_.h: Updated
	* mailbox/strcase.h: Updated
	* mailbox/strcasecmp.c: Updated
	* mailbox/strchrnul.c: Updated
	* mailbox/strchrnul.h: Updated
	* mailbox/strdup.c: Updated
	* mailbox/strdup.h: Updated
	* mailbox/strncasecmp.c: Updated
	* mailbox/strndup.c: Updated
	* mailbox/strndup.h: Updated
	* mailbox/strnlen.c: Updated
	* mailbox/strnlen.h: Updated
	* mailbox/strnlen1.c: Updated
	* mailbox/strnlen1.h: Updated
	* mailbox/strtok_r.c: Updated
	* mailbox/strtok_r.h: Updated
	* mailbox/sysexit_.h: Updated
	* mailbox/umaxtostr.c: Added to the repository
	* mailbox/vasnprintf.c: Updated
	* mailbox/vasnprintf.h: Updated
	* mailbox/vsnprintf.c: Updated
	* mailbox/vsnprintf.h: Updated
	* mailbox/xsize.h: Updated

2006-01-20  Sergey Poznyakoff  <gray@gnu.org.ua>

	Fix bug reported by Ronan KERYELL <Ronan.Keryell@enstb.org>
	(Debian Bug#344420):
	
	* mailbox/file_stream.c (_file_write): Return ENOSPC if fwrite
	returns 0.
	* mailbox/mbox/mbox.c (mbox_append_message0): Preserve return
	status from mu_stream_write, if it is not 0.
	* movemail/movemail.c (main): Exit on first detected IO
	error. Make sure the source mailbox is not modified if not all
	messages were moved successfully.

	* THANKS: Add Ronan KERYELL

	Support automatic home directory creation in imap4d
	
	* imap4d/authenticate.c (imap4d_authenticate): Call
	imap4d_check_home_dir before switching to user's privileges. Bail
	out if it returns with an error.
	Use util_chdir instead of chdir to change to user's home
	directory.
	* imap4d/login.c (imap4d_login): Likewise
	* imap4d/imap4d.c (create_home_dir,home_dir_mode): New variables
	(options): New option --create-home-dir
	(imap4d_check_home_dir): New function
	* imap4d/imap4d.h (imap4d_check_home_dir,util_chdir): New
	prototype.
	* imap4d/util.c (util_chdir): New function.	
	* doc/texinfo/programs.texi: Document --create-home-dir option.
	* NEWS: Update
	
2006-01-18  Sergey Poznyakoff  <gray@gnu.org.ua>

	* README-alpha: Update cvs co information

2006-01-16  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS: Updated
	* THANKS: Add Walter Neumann
	* doc/texinfo/programs.texi: Document inplacealiases and
	recursealiases.
	* mail/alias.c (alias_expand): Recursively expand aliases if
	recursealiases is set.
	* mail/mail.c (default_setup): Provide defaults for inplacealiases
	and recursealiases.
	* mail/mail.h (is_address_field): New prototype.
	* mail/send.c (compose_header_set): Check for valid arguments at
	the beginning of the function (value can be NULL, e.g. if the user hit
	C-D at Cc: prompt).
	Call util_merge_addresses() only if inplacealiases is set. Expand
	aliases before calling it.
	* mail/util.c (is_address_field): Remove static qualifier.
	(util_header_expand): Expand aliases unless inplacealiases is set.
	* mail/testsuite/mail/send.exp: Set inplacealiases.

2005-12-14  Sergey Poznyakoff  <gray@gnu.org.ua>

	* lib/mu_dbm.c: Allow specifying full file name (including the
	suffix). 

2005-12-08  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mh/comp.c, mh/forw.c, mh/repl.c: Make sure -nodraftfolder
	cancels Draft-Folder variable, not only -draftfolder option.

2005-12-05  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mail/util.c (util_do_command): Bugfix

2005-12-04  Sergey Poznyakoff  <gray@gnu.org.ua>

	* imap4d/list.c (list_file,print_dir,print_file): Use
	mkfullname. Fixes [bug #15144].

	* imap4d/create.c: Do not create anything and return OK if the
	argument is suffixed with a hierarchy separator. Fixes [bug #15142].
	* imap4d/status.c (imap4d_status): Flush attributes before opening
	the mailbox.
	(status_unseen): Remove superfluous condition
	Fixes [bug #15143].
	
2005-12-03  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mh/burst.c (finish_stream): Set map.first if necessary
	(burst_digest): Initialize eb_length
	(burst_rename): Skip messages that do not need to be renamed.
	(main): Do not process inplace if burst_count is 0

	* include/mailutils/stream.h (mu_temp_file_stream_create): New
	function.
	* mailbox/file_stream.c: Likewise.
	
	* mh/burst.c: New option --length allows to set a minimal
	encapsulation boundary length.
	(burst_digest): Take into account minimal EB length.

	* mh/README: Update
	* mh/TODO: Update

	* mh/burst.c (burst): Keep message sequence number in msgno.
	(burst_rename): Fix loop limits
	(main): Fix calculation of last_uid.
	Keep message sequence numbers in ms.
	(burst_digest): Initial implementation of RFC 934

2005-11-29  Sergey Poznyakoff  <gray@gnu.org.ua>

	* doc/rfc/rfc934.txt: New file.
	* doc/rfc/Makefile.am (EXTRA_DIST): Add rfc934.txt

	* mailbox/amd.c (amd_msg_lookup): Bugfix. Use msg_count == 0
	to determine if the msg_array is empty.
	* mailbox/mime.c (mu_mime_get_part): Set stream_size function.

	* mh/burst.c: New file. Initial implementation of burst command.
	* mh/Makefile.am (PROGRAMS_MH,EXTRA_PROGRAMS): Add burst
	* mh/TODO: Update
	* mh/forw.c (msg_copy): Implement FSA described in RFC 934
	* mh/mh_getopt.h (enum mh_arg): New declaration, instead of
	multiple defines.
	* mh/mh_init.c (mh_expand_name): Accept names starting with mh:/
	protocol indicator.
	* mh/.cvsignore: Add burst, sort entries.
	
2005-11-28  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/header.c: Fix indentation
	* mh/mh.h (mh_context_destroy,mh_context_merge): New proto
	* mh/mh_ctx.c (mh_context_destroy,mh_context_merge): New
	functions.
	* mh/mh_init.c (mh_expand_name): Make sure the returned value can
	safely be freed.
	* mh/send.c (read_mts_profile): Allow .mtstailor to override
	system-wide configuration values.

2005-11-26  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mail/msgset.y (msgset_negate): Fix loop break condition.

	* sieve/sieve.c (options): Add --dry-run, an alias for -n. 

2005-11-25  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mail/cd.c, mh/folder.c: Fix diagnostic messages

2005-11-16  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Declare HAVE_DECL_PROGRAM_INVOCATION_NAME,
	otherwise argp-help.c can bail out at line 1693
	* examples/argcv.c: Temporarily include config.h to make sure
	replaced symbols are referenced properly.
	The use of config.h in example files should be reduced to minimum.
	
	* auth/sql.h (sql_interface): Fix data type
	* include/mailutils/errno.hin: Include errno.h
	Provide ECANCELED if it is missing (mainly for cygwin).
	* mailbox/errors (MU_ERR_CANCELED): New error code.

	* Makefile.am (EXTRA_DIST): Remove MU_EXTRA_DIST
	* configure.ac: Call MU_FINISH
	* m4/mu_libobj.m4 (MU_LIBSOURCE,MU_LIBSOURCES): Construct the list
	of EXTRA_DIST sources.
	(MU_FINISH): New defun
	* mailbox/Makefile.am (EXTRA_DIST): Add MU_EXTRA_DIST

2005-11-15  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Determine the size of off_t and define an
	equivalent mu_off_t type. We cannot use off_t in the library since
	its size depends on whether large file support is used or not,
	which will lead to arbitrary crashes if a user application and the
	library use off_t of different sizes. 
	(MU_COMMON_INCLUDES): New substitute variable
	
	* gnulib.modules (mailutils): Add glob

	* include/mailutils/types.h: Removed
	* include/mailutils/types.hin: New file
	* include/mailutils/Makefile.am: Build types.h
	
	* auth/Makefile.am (UNCLUDES): Rewritten using MU_COMMON_INCLUDES
	* comsat/Makefile.am: Likewise
	* config/Makefile.am: Likewise
	* dotlock/Makefile.am: Likewise
	* examples/Makefile.am: Likewise
	* frm/Makefile.am: Likewise
	* guimb/Makefile.am: Likewise
	* imap4d/Makefile.am: Likewise
	* lib/Makefile.am: Likewise
	* libmu_cpp/Makefile.am: Likewise
	* libmu_scm/Makefile.am: Likewise
	* libsieve/Makefile.am: Likewise
	* libsieve/extensions/Makefile.am: Likewise
	* mail/Makefile.am: Likewise
	* mail.local/Makefile.am: Likewise
	* mail.remote/Makefile.am: Likewise
	* mailbox/Makefile.am: Likewise
	* mailbox/imap/Makefile.am: Likewise
	* mailbox/maildir/Makefile.am: Likewise
	* mailbox/mbox/Makefile.am: Likewise
	* mailbox/mh/Makefile.am: Likewise
	* mailbox/nntp/Makefile.am: Likewise
	* mailbox/pop/Makefile.am: Likewise
	* mapi/Makefile.am: Likewise
	* messages/Makefile.am: Likewise
	* mh/Makefile.am: Likewise
	* mimeview/Makefile.am: Likewise
	* movemail/Makefile.am: Likewise
	* pop3d/Makefile.am: Likewise
	* readmsg/Makefile.am: Likewise
	* sieve/Makefile.am: Likewise
	* sql/Makefile.am: Likewise
	
	* auth/tls.c: Use mu_off_t instead of off_t
	* examples/argcv.c: Likewise
	* examples/base64.c: Likewise
	* examples/mimetest.c: Likewise
	* examples/murun.c: Likewise
	* examples/nntpclient.c: Likewise
	* examples/pop3client.c: Likewise
	* include/mailutils/header.h: Likewise
	* include/mailutils/mailbox.h: Likewise
	* include/mailutils/stream.h: Likewise
	* include/mailutils/types.h: Likewise
	* libmu_scm/mu_port.c: Likewise
	
	* mail.local/main.c: Likewise
	* mailbox/amd.c: Likewise
	* mailbox/body.c: Likewise
	* mailbox/file_stream.c: Likewise
	* mailbox/filter.c: Likewise
	* mailbox/filter_iconv.c: Likewise
	* mailbox/filter_rfc822.c: Likewise
	* mailbox/filter_trans.c: Likewise
	* mailbox/header.c: Likewise
	* mailbox/mailbox.c: Likewise
	* mailbox/mapfile_stream.c
	* mailbox/memory_stream.c
	* mailbox/message.c: Likewise
	* mailbox/mime.c: Likewise
	* mailbox/stream.c: Likewise
	* mailbox/tcp.c: Likewise
	* mailbox/imap/folder.c: Likewise
	* mailbox/imap/mbox.c: Likewise
	* mailbox/include/amd.h: Likewise
	* mailbox/include/filter0.h: Likewise
	* mailbox/include/header0.h: Likewise
	* mailbox/include/imap0.h: Likewise
	* mailbox/include/mailbox0.h: Likewise
	* mailbox/include/stream0.h: Likewise
	* mailbox/mbox/mbox.c: Likewise
	* mailbox/mbox/mboxscan.c: Likewise
	* mailbox/nntp/mbox.c: Likewise
	* mailbox/nntp/nntp_stream.c: Likewise
	* mailbox/pop/mbox.c: Likewise
	* mailbox/pop/pop3_stream.c: Likewise
	* mh/mh_stream.c: Likewise
	* pop3d/pop3d.c: Likewise

	* m4/gnulib.m4: Update
	* m4/mu_libobj.m4: Update
	
	Update by gnulib-sync:

	* lib/allocsa.c: Updated
	* lib/allocsa.h: Updated
	* lib/allocsa.valgrind: Updated
	* lib/asprintf.c: Updated
	* lib/error.c: Updated
	* lib/error.h: Updated
	* lib/exit.h: Updated
	* lib/exitfail.c: Updated
	* lib/exitfail.h: Updated
	* lib/getpass.c: Updated
	* lib/getpass.h: Updated
	* lib/intprops.h: Updated
	* lib/mbswidth.c: Updated
	* lib/mbswidth.h: Updated
	* lib/obstack.c: Updated
	* lib/obstack.h: Updated
	* lib/realloc.c: Updated
	* lib/setenv.c: Updated
	* lib/setenv.h: Updated
	* lib/snprintf.c: Updated
	* lib/snprintf.h: Updated
	* lib/unsetenv.c: Updated
	* lib/vasprintf.c: Updated
	* lib/vasprintf.h: Updated
	* lib/xalloc-die.c: Updated
	* lib/xalloc.h: Updated
	* lib/xmalloc.c: Updated
	* lib/xsize.h: Updated
	* lib/xstrtol.c: Updated
	* lib/xstrtol.h: Updated
	* lib/xstrtoul.c: Updated
	* m4/alloca.m4: Updated
	* m4/allocsa.m4: Updated
	* m4/argp.m4: Updated
	* m4/d-type.m4: Added to the repository
	* m4/eealloc.m4: Updated
	* m4/eoverflow.m4: Updated
	* m4/error.m4: Updated
	* m4/exitfail.m4: Updated
	* m4/extensions.m4: Updated
	* m4/fnmatch.m4: Updated
	* m4/getdelim.m4: Updated
	* m4/getline.m4: Updated
	* m4/getlogin_r.m4: Added to the repository
	* m4/getopt.m4: Updated
	* m4/getpass.m4: Updated
	* m4/glob.m4: Added to the repository
	* m4/intmax_t.m4: Updated
	* m4/inttypes.m4: Updated
	* m4/inttypes_h_gl.m4: Updated
	* m4/longdouble.m4: Updated
	* m4/longlong_gl.m4: Updated
	* m4/mbchar.m4: Updated
	* m4/mbiter.m4: Added to the repository
	* m4/mbrtowc.m4: Updated
	* m4/mbstate_t.m4: Updated
	* m4/mbswidth.m4: Updated
	* m4/md5.m4: Updated
	* m4/memchr.m4: Updated
	* m4/mempcpy.m4: Updated
	* m4/minmax.m4: Updated
	* m4/obstack.m4: Updated
	* m4/onceonly.m4: Updated
	* m4/regex.m4: Updated
	* m4/restrict.m4: Updated
	* m4/setenv.m4: Updated
	* m4/signed.m4: Updated
	* m4/size_max.m4: Updated
	* m4/snprintf.m4: Updated
	* m4/stat-macros.m4: Added to the repository
	* m4/stdbool.m4: Updated
	* m4/stdint.m4: Added to the repository
	* m4/stdint_h_gl.m4: Updated
	* m4/strcase.m4: Updated
	* m4/strchrnul.m4: Updated
	* m4/strdup.m4: Added to the repository
	* m4/strerror_r.m4: Updated
	* m4/strndup.m4: Updated
	* m4/strnlen.m4: Updated
	* m4/strtok_r.m4: Updated
	* m4/sysexits.m4: Updated
	* m4/uintmax_t_gl.m4: Updated
	* m4/ulonglong_gl.m4: Updated
	* m4/vasnprintf.m4: Updated
	* m4/vasprintf.m4: Updated
	* m4/vsnprintf.m4: Updated
	* m4/wchar_t.m4: Updated
	* m4/wint_t.m4: Updated
	* m4/xalloc.m4: Updated
	* m4/xsize.m4: Updated
	* m4/xstrtol.m4: Updated
	* mailbox/alloca.c: Updated
	* mailbox/alloca_.h: Updated
	* mailbox/argp-ba.c: Updated
	* mailbox/argp-eexst.c: Updated
	* mailbox/argp-fmtstream.c: Updated
	* mailbox/argp-fmtstream.h: Updated
	* mailbox/argp-fs-xinl.c: Updated
	* mailbox/argp-help.c: Updated
	* mailbox/argp-namefrob.h: Updated
	* mailbox/argp-parse.c: Updated
	* mailbox/argp-pv.c: Updated
	* mailbox/argp-pvh.c: Updated
	* mailbox/argp-xinl.c: Updated
	* mailbox/argp.h: Updated
	* mailbox/asnprintf.c: Updated
	* mailbox/fnmatch.c: Added to the repository
	* mailbox/fnmatch_.h: Added to the repository
	* mailbox/fnmatch_loop.c: Added to the repository
	* mailbox/getdelim.c: Updated
	* mailbox/getdelim.h: Updated
	* mailbox/getline.c: Updated
	* mailbox/getline.h: Updated
	* mailbox/getlogin_r.c: Added to the repository
	* mailbox/getlogin_r.h: Added to the repository
	* mailbox/getopt.c: Updated
	* mailbox/getopt1.c: Updated
	* mailbox/getopt_.h: Updated
	* mailbox/getopt_int.h: Updated
	* mailbox/gettext.h: Updated
	* mailbox/glob-libc.h: Added to the repository
	* mailbox/glob.c: Added to the repository
	* mailbox/glob_.h: Added to the repository
	* mailbox/malloc.c: Added to the repository
	* mailbox/mbchar.c: Updated
	* mailbox/mbchar.h: Updated
	* mailbox/mbuiter.h: Added to the repository
	* mailbox/md5.c: Updated
	* mailbox/md5.h: Updated
	* mailbox/memchr.c: Updated
	* mailbox/mempcpy.c: Updated
	* mailbox/mempcpy.h: Updated
	* mailbox/minmax.h: Updated
	* mailbox/printf-args.c: Updated
	* mailbox/printf-args.h: Updated
	* mailbox/printf-parse.c: Updated
	* mailbox/printf-parse.h: Updated
	* mailbox/regcomp.c: Updated
	* mailbox/regex.c: Updated
	* mailbox/regex.h: Updated
	* mailbox/regex_internal.c: Updated
	* mailbox/regex_internal.h: Updated
	* mailbox/regexec.c: Updated
	* mailbox/size_max.h: Updated
	* mailbox/stat-macros.h: Added to the repository
	* mailbox/stdbool_.h: Updated
	* mailbox/stdint_.h: Added to the repository
	* mailbox/strcase.h: Updated
	* mailbox/strcasecmp.c: Updated
	* mailbox/strchrnul.c: Updated
	* mailbox/strchrnul.h: Updated
	* mailbox/strdup.c: Added to the repository
	* mailbox/strdup.h: Added to the repository
	* mailbox/strncasecmp.c: Updated
	* mailbox/strndup.c: Updated
	* mailbox/strndup.h: Updated
	* mailbox/strnlen.c: Updated
	* mailbox/strnlen.h: Updated
	* mailbox/strnlen1.c: Updated
	* mailbox/strnlen1.h: Updated
	* mailbox/strtok_r.c: Updated
	* mailbox/strtok_r.h: Updated
	* mailbox/sysexit_.h: Updated
	* mailbox/vasnprintf.c: Updated
	* mailbox/vasnprintf.h: Updated
	* mailbox/vsnprintf.c: Updated
	* mailbox/vsnprintf.h: Updated
	* mailbox/xsize.h: Updated

	* examples/argcv.c: Add missing includes
	* examples/mailcap.c: Likewise
	* examples/url-parse.c: Likewise
	* mail/send.c: Likewise
	* mailbox/list.c: Likewise
	* mh/mh_alias.l: Likewise
	* mimeview/mimetypes.l: Likewise
	* examples/nntpclient.c: Add missing forward declarations

	* libsieve/sieve.h (mu_sieve_yylex,mu_sieve_yyerror): Add
	declarations.
	* libsieve/sieve.y (yylex,yyerror): Remove declarations
	* include/mailutils/mutil.h (mu_is_proto): New function.
	* mailbox/mutil.c: Likewise
	* mailbox/mbx_default.c (is_proto): Replace by mu_is_proto. All
	callers updated
	* mailbox/mailbox.c (mailbox_folder_create): Do not try to select
	previous level if given a protocol spec, other than `file:'

	* mh/mh.h (mh_file_to_message): Change signature
	* mh/mh_init.c: Likewise
	* mimeview/Makefile.am (AM_CPPFLAGS): Add -D_GNU_SOURCE=1, needed
	for compiling lex sources
	* mh/Makefile.am: Likewise
	
2005-11-14  Sergey Poznyakoff  <gray@gnu.org.ua>

	* examples/argcv.c: Include <mailutils/error.h>
	* examples/base64.c: Include <config.h>
	* readmsg/readmsg.h: Likewise
	* mail/z.c (z_parse_args): change tyoe of return_count
	(mail_z): Change type of count to off_t
	* include/mailutils/stream.h: Fix indentation

	* scripts/gnulib-sync: Replace AC_LIBSOURCE with MU_LIBSOURCE
	
2005-11-14  Sergey Poznyakoff  <gray@gnu.org.ua>

        * examples/argcv.c: Include <mailutils/error.h>
        * examples/base64.c: Include <config.h>
        * readmsg/readmsg.h: Likewise
        * mail/z.c (z_parse_args): change type of return_count
        (mail_z): Change type of count to off_t
        * include/mailutils/stream.h: Fix indentation
	* mailbox/file_stream.c (struct _fise_stream.offset): Change type
	to off_t
	
2005-11-12  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac (AUTHLIBS,AUTHLIBS_DEPENDENCY,AUTHINCS): Prefixed
	with MU_
	* mail/msgset.y (check_set): Was displaying `inappropriate message'
	diagnostics if the first message from the set was deleted. Fixed.
	* mail/util.c, mailbox/registrar.c: Add typecasts
	* mh/mh.h: Add includes needed for W.*() macros
	* comsat/Makefile.am, config/Makefile.am, examples/Makefile.am,
	frm/Makefile.am, guimb/Makefile.am, imap4d/Makefile.am,
	libmu_scm/Makefile.am, libsieve/Makefile.am, mail/Makefile.am, 
	mail.local/Makefile.am, mail.remote/Makefile.am,
	mailbox/Makefile.am, messages/Makefile.am, mh/Makefile.am,
	movemail/Makefile.am, pop3d/Makefile.am, readmsg/Makefile.am,
	sieve/Makefile.am: Load MU_AUTHLIBS before libmailutils. Fixes
	cygwin build.

2005-11-09  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Somewhat reluctantly append $(EXEEXT) to popauth
	binary name to fix cygwin builds.
	* mail.remote/Makefile.am (PROGRAMS_SMTP): Likewise
	* mh/Makefile.am (PROGRAMS_MH): Likewise

2005-11-07  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac (GUIMB): Fix assignment to work on cygwin too
	* THANKS: Add D. J. Henman

2005-11-03  Sergey Poznyakoff  <gray@gnu.org.ua>

	* comsat/Makefile.am, dotlock/Makefile.am, examples/Makefile.am,
	frm/Makefile.am, guimb/Makefile.am, imap4d/Makefile.am,
	mail.local/Makefile.am, mail.remote/Makefile.am, mapi/Makefile.am,
	messages/Makefile.am, mh/Makefile.am, movemail/Makefile.am,
	pop3d/Makefile.am, readmsg/Makefile.am, sieve/Makefile.am: Load
	libmuauth before libmailutils.  

2005-11-02  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Fix typo
	* comsat/comsat.c: Fix typo in the comment

2005-11-01  Sergey Poznyakoff  <gray@gnu.org.ua>

	* libsieve/sieve.l (pop_source): Clear sieve_filename if
	context_stack is empty.

2005-10-31  Sergey Poznyakoff  <gray@gnu.org.ua>

	* Makefile.am (release): Rename to alpha
	(alphacheck): New rule
	* configure.ac: Always define program_name to
	program_invocation_name

	* libsieve/actions.c (build_mime): Split into three smaller
	functions, each for its own task.
	Add Content-Type,Content-Transfer-Encoding headers to the
	DSN. Proposed by Kostas Zorbadelos. 
	* sieve/testsuite/Reject: Updated to match the above changes	
	* sieve/testsuite/sieve/reject.exp: Updated
	* examples/http.c: Include <sys/time.h>
	* mailbox/imap/folder.c (imap_writeline): Fix handling of input
	lines longer than 254 chars. Proposed by Daniel Kahn Gillmor.
	* THANKS: Add Kostas Zorbadelos and Daniel Kahn Gillmor.	

2005-10-30  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS: Updated
	* include/mailutils/compat.h: New file. Compatibility defines for
	programs using mailutils interface version 0:0:0.
	* include/mailutils/Makefile.am (pkginclude_HEADERS): Add compat.h
	* include/mailutils/folder.h (mu_0_6_folder_list)
	(mu_0_6_folder_lsub,mu_0_6_folder_list_destroy): Compatibility
	functions.
	* include/mailutils/mailutils.h: Include compat.h, if required
	* include/mailutils/message.h (message_unref): Rename to
	mu_message_unref. All callers updated
	* include/mailutils/mime.h (MIME_INCREAMENTAL_PARSER): Remove
	(MIME_MULTIPART_MIXED,MIME_MULTIPART_ALT): Prefix with MU_. All
	uses changed.
	* include/mailutils/monitor.h (struct mu__monitor): Rename to
	mu_monitor. All uses changed.
	* include/mailutils/registrar.h (struct _mu_record): Fix member
	names. All uses changed
	* include/mailutils/sql.h (rdl_init_t,rdl_done_t): Prefix with mu_
	* mail/util.c (util_do_command): Minor fix
	
	* libsieve/actions.c,libsieve/extensions/vacation.c,
	mailbox/filter.c, mailbox/folder.c, mailbox/mime.c,
	mailbox/registrar.c, mailbox/rfc2047.c, mh/mhl.c, mh/mhn.c: Synch
	with the above changes.

	* mail/if.c (mail_if): Fix 'r' condition
	(mail_else): Fix handling of nested ifs
	* mail/mail.c: New option --exec (-E)
	(mail_cmdline): Invalidate the page when a new mail arrives
	(main): Fix handling of modes.
	* mail/quit.c (mail_mbox_close): mbox can be NULL (e.g.
	--exec=quit was given)
	* mail/util.c (util_do_command): Accept traditional contracted
	forms (`d*', `p9')
	Fix bug in handling conditional branches (bug introduced on
	2005-08-11).
	* mail/testsuite/if.mail: New test script.
	* mail/testsuite/Makefile.am (EXTRA_DIST): Add if.mail
	* mail/testsuite/mail/if.exp: New test case.
	* mail/testsuite/mail/DISTFILES: Add if.exp

2005-10-28  Sergey Poznyakoff  <gray@gnu.org.ua>

	* examples/argcv.c: Include config.h

2005-10-17  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: New option --without-fribidi allows to disable
	fribidi support.
	Check for FRIBIDI_CHARSET_CAP_RTL vs. FRIBIDI_CHAR_SET_CAP_RTL.
	* README: Updated
	
2005-09-29  Sergey Poznyakoff  <gray@gnu.org.ua>

	* examples/decode2047.c: Allow to specify charset from the command
	line.
	* examples/encode2047.c: Allow to specify charset and encoding
	from the command line.
	* include/mailutils/filter.h (mu_rfc_2047_B_filter): New filter.
	* include/mailutils/libsieve.h (MU_SIEVE_CHARSET): New define
	* libsieve/extensions/vacation.c: Implemented :mime. Correctly
	handle subject line, no matter what the charset is.
	Fixed bug in creating `References:' header.

	* mailbox/filter.c (mu_filter_get_list): Add mu_rfc_2047_B_filter
	* mailbox/filter_trans.c (mu_rfc_2047_B_filter): New filter. Alias
	to base64.
	
	* include/mailutils/iterator.h: Minor stylistic changes
	* mailbox/iterator.c: Likewise
	* mailbox/wicket.c: Likewise
	* mh/mhn.c: Likewise
	
2005-09-22  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS: Minor wording change.
	* config/mailutils-config.c: New command line argument "sieve".

2005-09-19  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/imap/mbox.c (delete_to_string): Make sure the message
	set does not end with a comma. Bug reported by Gerd Flaig
	(<gefla@pond.sub.org>), I suppose.

2005-09-17  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mh/send.c (expand_aliases): Use mh_expand_aliases

	* mh/forw.c,mh/repl.c: Implemented --annotate

	* mh/mh_init.c (mh_quote,mh_expand_aliases): New functions
	* mh/mh.h (mh_quote,mh_expand_aliases): New functions
	(struct mh_whatnow_env): New fields to support annotation.
	* mh/mh_whatnow.c: Support message annotation. Improved error
	reporting after launching external programs.
	
	* mh/anno.c (main): Make the first annotated message current. 
	(opt_handler): Quote --text argument, if necessary.

	* mh/TODO: Updated
	
2005-09-14  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mail/page.c (cond_page_invalidate,page_move): Bugfix.

2005-09-09  Sergey Poznyakoff  <gray@gnu.org.ua>

	* imap4d/search.c (imap4d_search): Fix potential vulnerability:
	pass format string as a third argument to util_finish
	* imap4d/copy.c, imap4d/fetch.c, imap4d/store.c: Always pass
	format string as a third argument to util_finish. Although this is not
	necessary, since 'buffer' is guaranteed to contain a normal error
	string, without format specifiers, yet this will simplify maintainence.

2005-08-31  Sergey Poznyakoff  <gray@gnu.org.ua>

	* examples/lsf.c: New test program. List folders
	* examples/Makefile.am: Add lsf
	* mailbox/imap/folder.c (guess_level,list_copy): Fixed
	(imap_parse): Handle NO case explicitely.
	* mailbox/mbox/folder.c: Minor fix.

2005-08-30  Sergey Poznyakoff  <gray@gnu.org.ua>

	Remove obsolete usage of mu_folder_list (ex. folder_list). It
	seems to have been introduced when mu_list_t (ex. list_t) has
	not yet been there. All callers updated. Mbox format
	implementation has been tested. Imap format one is being tested. 
	
	* include/mailutils/folder.h (struct mu_list_response.level): New
	member
	(struct mu_folder_list): Removed. Use mu_list_t instead
	(mu_folder_list): Use mu_list_t. Take an extra argument: a maximum
	recusion level.
	(mu_folder_lsub): Change typo of the last argument (mu_list_t
	now).
	(mu_folder_list_destroy): Removed
	(mu_list_response_free): New function
	* lib/mu_asprintf.h: Remove vestiges of __P(). Define _GNU_SOURCE,
	if not alrerady defined.

	* mailbox/imap/folder.c: Rewritten for new
	mu_folder_list,mu_folder_lsub semantics.  
	* mailbox/imap/mbox.c: Likewise
	* mailbox/include/folder0.h: Likewise.
	* mailbox/include/imap0.h: Likewise.
	* mailbox/mbox/folder.c: Likewise.
	* mailbox/nntp/folder.c: Likewise.
	* mail/mailline.c: Use new mu_folder_list
	* mailbox/folder.c: Likewise.

	* auth/radius.c: Updated for recent libgnuradius 

	* mh/folder.c: Implement --pack, --verbose, --dry-run (just in case).
	* mh/TODO: Updated
	* mh/inc.c: Minor bugfixes.
	* mh/mark.c: Likewise
	* mh/mh.h (mh_context_iterator): Changed signature
	* mh/mh_ctx.c (mh_context_iterate): Bugfix
	* mh/mh_getopt.h (ARG_PACK): New define

2005-08-29  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Raise version number to 0.6.92
	Raise library current interface version to 1
	* NEWS: Updated
	
	* include/mailutils/filter.h,
	include/mailutils/registrar.h, include/mailutils/types.h,
	mailbox/filter.c, mailbox/filter_rfc822.c, mailbox/filter_trans.c,
	mailbox/folder.c, mailbox/getopt.h, mailbox/locker.c,
	mailbox/parse822.c, mailbox/registrar.c, mailbox/sendmail.c,
	mailbox/smtp.c, mailbox/url.c, mailbox/imap/folder.c,
	mailbox/include/address0.h, mailbox/include/attribute0.h,
	mailbox/include/auth0.h, mailbox/include/body0.h,
	mailbox/include/debug0.h, mailbox/include/envelope0.h,
	mailbox/include/filter0.h, mailbox/include/folder0.h,
	mailbox/include/header0.h, mailbox/include/iterator0.h,
	mailbox/include/list0.h, mailbox/include/mailbox0.h,
	mailbox/include/mailer0.h, mailbox/include/message0.h,
	mailbox/include/mime0.h, mailbox/include/observer0.h,
	mailbox/include/property0.h, mailbox/include/stream0.h,
	mailbox/include/url0.h, mailbox/maildir/folder.c,
	mailbox/mbox/folder.c, mailbox/mh/folder.c, mailbox/nntp/folder.c,
	mailbox/pop/folder.c: Fix-up structure names from types.h

	Final seasoning: Replace munre_ with mu_unre_
	
	* include/mailutils/mutil.h
	* libsieve/extensions/vacation.c
	* mail/followup.c
	* mail/reply.c
	* mail/util.c
	* mailbox/munre.c
	* mh/mh_format.c
	* mh/mh_init.c

2005-08-27  Wojciech Polak

	Normalize global namespace. Part 2: Symbols defined in header files
	mailer.h, message.h, mime.h, monitor.h, observer.h, parse822.h,
	property.h, registrar.h, stream.h, tls.h, types.h, url.h.

	Files affected:

	* auth/gsasl.c, auth/tls.c, comsat/action.c, comsat/comsat.c,
	comsat/comsat.h, dotlock/dotlock.c, examples/addr.c,
	examples/base64.c, examples/decode2047.c, examples/encode2047.c,
	examples/http.c, examples/iconv.c, examples/listop.c,
	examples/mailcap.c, examples/mimetest.c, examples/msg-send.c,
	examples/mta.c, examples/murun.c, examples/nntpclient.c,
	examples/numaddr.c, examples/pop3client.c, examples/sfrom.c,
	examples/url-parse.c, frm/common.c, frm/frm.c, frm/frm.h,
	frm/from.c, guimb/collect.c, guimb/guimb.h, guimb/util.c,
	imap4d/append.c, imap4d/auth_gsasl.c, imap4d/authenticate.c,
	imap4d/capability.c, imap4d/copy.c, imap4d/fetch.c, imap4d/imap4d.c,
	imap4d/imap4d.h, imap4d/rename.c, imap4d/search.c, imap4d/status.c,
	imap4d/store.c, imap4d/sync.c, imap4d/util.c,
	include/mailutils/address.h, include/mailutils/attribute.h,
	include/mailutils/auth.h, include/mailutils/body.h,
	include/mailutils/envelope.h, include/mailutils/filter.h,
	include/mailutils/folder.h, include/mailutils/gsasl.h,
	include/mailutils/guile.h, include/mailutils/header.h,
	include/mailutils/iterator.h, include/mailutils/libsieve.h,
	include/mailutils/list.h, include/mailutils/locker.h,
	include/mailutils/mailbox.h, include/mailutils/mailcap.h,
	include/mailutils/mailer.h, include/mailutils/message.h,
	include/mailutils/mime.h, include/mailutils/monitor.h,
	include/mailutils/mu_auth.h, include/mailutils/mutil.h,
	include/mailutils/nntp.h, include/mailutils/observer.h,
	include/mailutils/parse822.h, include/mailutils/pop3.h,
	include/mailutils/property.h, include/mailutils/refcount.h,
	include/mailutils/registrar.h, include/mailutils/stream.h,
	include/mailutils/tls.h, include/mailutils/types.h,
	include/mailutils/url.h, include/mailutils/sys/nntp.h,
	include/mailutils/sys/pop3.h, lib/mailcap.c, libmu_scm/mu_address.c,
	libmu_scm/mu_body.c, libmu_scm/mu_mailbox.c, libmu_scm/mu_message.c,
	libmu_scm/mu_mime.c, libmu_scm/mu_port.c, libmu_scm/mu_scm.c,
	libsieve/actions.c, libsieve/argp.c, libsieve/comparator.c,
	libsieve/load.c, libsieve/prog.c, libsieve/register.c,
	libsieve/relational.c, libsieve/require.c, libsieve/runtime.c,
	libsieve/sieve.h, libsieve/sieve.l, libsieve/sieve.y, libsieve/tests.c,
	libsieve/util.c, libsieve/extensions/list.c, libsieve/extensions/spamd.c,
	libsieve/extensions/timestamp.c, libsieve/extensions/vacation.c,
	mail/alias.c, mail/alt.c, mail/copy.c, mail/decode.c, mail/delete.c,
	mail/edit.c, mail/escape.c, mail/file.c, mail/followup.c, mail/from.c,
	mail/hold.c, mail/mail.c, mail/mail.h, mail/mailline.c, mail/mbox.c,
	mail/msgset.y, mail/next.c, mail/page.c, mail/pipe.c, mail/previous.c,
	mail/print.c, mail/quit.c, mail/reply.c, mail/retain.c, mail/send.c,
	mail/size.c, mail/summary.c, mail/tag.c, mail/top.c, mail/touch.c,
	mail/undelete.c, mail/util.c, mail/visual.c, mail/write.c,
	mail.local/mail.local.h, mail.local/main.c, mail.local/script.c,
	mail.remote/mail.remote.c, mailbox/address.c, mailbox/amd.c,
	mailbox/attachment.c, mailbox/attribute.c, mailbox/auth.c,
	mailbox/body.c, mailbox/envelope.c, mailbox/file_stream.c,
	mailbox/filter.c, mailbox/filter_iconv.c, mailbox/filter_rfc822.c,
	mailbox/filter_trans.c, mailbox/folder.c, mailbox/header.c,
	mailbox/iterator.c, mailbox/list.c, mailbox/locker.c, mailbox/mailbox.c,
	mailbox/mailcap.c, mailbox/mailer.c, mailbox/mapfile_stream.c,
	mailbox/mbx_default.c, mailbox/memory_stream.c, mailbox/message.c,
	mailbox/mime.c, mailbox/monitor.c, mailbox/mu_argp.c, mailbox/mu_auth.c,
	mailbox/mutil.c, mailbox/observer.c, mailbox/parse822.c,
	mailbox/property.c, mailbox/registrar.c, mailbox/rfc2047.c,
	mailbox/sendmail.c, mailbox/smtp.c, mailbox/stream.c, mailbox/tcp.c,
	mailbox/ticket.c, mailbox/url.c, mailbox/url_sendmail.c,
	mailbox/url_smtp.c, mailbox/wicket.c, mailbox/imap/folder.c,
	mailbox/imap/mbox.c, mailbox/imap/url.c, mailbox/include/amd.h,
	mailbox/include/attribute0.h, mailbox/include/auth0.h,
	mailbox/include/body0.h, mailbox/include/envelope0.h,
	mailbox/include/filter0.h, mailbox/include/folder0.h,
	mailbox/include/header0.h, mailbox/include/imap0.h,
	mailbox/include/iterator0.h, mailbox/include/list0.h,
	mailbox/include/mailbox0.h, mailbox/include/mailer0.h,
	mailbox/include/message0.h, mailbox/include/mime0.h,
	mailbox/include/observer0.h, mailbox/include/property0.h,
	mailbox/include/registrar0.h, mailbox/include/stream0.h,
	mailbox/include/url0.h, mailbox/maildir/folder.c, mailbox/maildir/mbox.c,
	mailbox/mbox/folder.c, mailbox/mbox/mbox.c, mailbox/mbox/mbox0.h,
	mailbox/mbox/mboxscan.c, mailbox/mbox/url.c, mailbox/mh/folder.c,
	mailbox/mh/mbox.c, mailbox/nntp/folder.c, mailbox/nntp/mbox.c,
	mailbox/nntp/nntp0.h, mailbox/nntp/nntp_article.c,
	mailbox/nntp/nntp_body.c, mailbox/nntp/nntp_carrier.c,
	mailbox/nntp/nntp_connect.c, mailbox/nntp/nntp_destroy.c,
	mailbox/nntp/nntp_disconnect.c, mailbox/nntp/nntp_head.c,
	mailbox/nntp/nntp_help.c, mailbox/nntp/nntp_ihave.c,
	mailbox/nntp/nntp_iterator.c, mailbox/nntp/nntp_list_active.c,
	mailbox/nntp/nntp_list_distribpats.c,
	mailbox/nntp/nntp_list_distributions.c,
	mailbox/nntp/nntp_list_extensions.c, mailbox/nntp/nntp_list_newsgroups.c,
	mailbox/nntp/nntp_list_times.c, mailbox/nntp/nntp_newgroups.c,
	mailbox/nntp/nntp_newnews.c, mailbox/nntp/nntp_post.c,
	mailbox/nntp/nntp_readline.c, mailbox/nntp/nntp_sendline.c,
	mailbox/nntp/nntp_stream.c, mailbox/nntp/url.c, mailbox/pop/folder.c,
	mailbox/pop/mbox.c, mailbox/pop/pop3_capa.c, mailbox/pop/pop3_carrier.c,
	mailbox/pop/pop3_connect.c, mailbox/pop/pop3_destroy.c,
	mailbox/pop/pop3_disconnect.c, mailbox/pop/pop3_iterator.c,
	mailbox/pop/pop3_lista.c, mailbox/pop/pop3_readline.c,
	mailbox/pop/pop3_retr.c, mailbox/pop/pop3_sendline.c,
	mailbox/pop/pop3_stls.c, mailbox/pop/pop3_stream.c,
	mailbox/pop/pop3_top.c, mailbox/pop/pop3_uidla.c, mailbox/pop/url.c,
	messages/messages.c, mh/ali.c, mh/anno.c, mh/comp.c, mh/compcommon.c,
	mh/folder.c, mh/forw.c, mh/inc.c, mh/mark.c, mh/mh.h, mh/mh_alias.y,
	mh/mh_ctx.c, mh/mh_format.c, mh/mh_init.c, mh/mh_list.c, mh/mh_msgset.c,
	mh/mh_stream.c, mh/mh_whatnow.c, mh/mh_whom.c, mh/mhl.c, mh/mhn.c,
	mh/mhpath.c, mh/pick.c, mh/pick.h, mh/pick.y, mh/refile.c, mh/repl.c,
	mh/rmf.c, mh/rmm.c, mh/scan.c, mh/send.c, mh/sortm.c,
	mimeview/mimetypes.y, mimeview/mimeview.c, movemail/movemail.c,
	pop3d/apop.c, pop3d/dele.c, pop3d/expire.c, pop3d/extra.c, pop3d/list.c,
	pop3d/lock.c, pop3d/pop3d.c, pop3d/pop3d.h, pop3d/quit.c, pop3d/retr.c,
	pop3d/rset.c, pop3d/stat.c, pop3d/top.c, pop3d/uidl.c, pop3d/user.c,
	readmsg/msglist.c, readmsg/readmsg.c, readmsg/readmsg.h, sieve/sieve.c,
	sql/odbc.c.
	
2005-08-26  Sergey Poznyakoff  <gray@gnu.org.ua>

	Normalize global namespace. All exportable symbols begin with mu_.
	Part 1: Symbols defined in header files address.h, argcv.h,
	attribute.h, auth.h, body.h, daemon.h, debug.h, envelope.h,
	errno.h, error.h, filter.h, folder.h, gsasl.h, guile.h, header.h,
	iterator.h, libsieve.h, list.h,	locker.h, mailbox.h.
	
	Files affected:
	
	* configure.ac, auth/gsasl.c, auth/radius.c, comsat/action.c,
	comsat/cfg.c, comsat/comsat.c, dotlock/dotlock.c, examples/addr.c,
	examples/argcv.c, examples/base64.c, examples/iconv.c,
	examples/listop.c, examples/mimetest.c, examples/msg-send.c,
	examples/mta.c, examples/murun.c, examples/nntpclient.c,
	examples/numaddr.c, examples/pop3client.c, examples/sfrom.c,
	frm/common.c, frm/frm.c, frm/from.c, guimb/collect.c,
	guimb/main.c, guimb/util.c, imap4d/append.c, imap4d/auth_gsasl.c,
	imap4d/authenticate.c, imap4d/bye.c, imap4d/capability.c,
	imap4d/close.c, imap4d/copy.c, imap4d/expunge.c, imap4d/fetch.c,
	imap4d/imap4d.c, imap4d/imap4d.h, imap4d/rename.c,
	imap4d/search.c, imap4d/select.c, imap4d/status.c, imap4d/store.c,
	imap4d/sync.c, imap4d/util.c, include/mailutils/address.h,
	include/mailutils/argcv.h, include/mailutils/attribute.h,
	include/mailutils/auth.h, include/mailutils/body.h,
	include/mailutils/daemon.h, include/mailutils/envelope.h,
	include/mailutils/error.h, include/mailutils/filter.h,
	include/mailutils/folder.h, include/mailutils/gsasl.h,
	include/mailutils/guile.h, include/mailutils/header.h,
	include/mailutils/iterator.h, include/mailutils/libsieve.h,
	include/mailutils/list.h, include/mailutils/locker.h,
	include/mailutils/mailbox.h, include/mailutils/nntp.h,
	include/mailutils/pop3.h, include/mailutils/types.h,
	lib/mailcap.c, libmu_scm/mu_address.c, libmu_scm/mu_body.c,
	libmu_scm/mu_guimb.c, libmu_scm/mu_logger.c,
	libmu_scm/mu_mailbox.c, libmu_scm/mu_message.c,
	libmu_scm/mu_mime.c, libmu_scm/mu_scm.c, libmu_scm/mu_util.c,
	libsieve/Makefile.am, libsieve/actions.c, libsieve/argp.c,
	libsieve/comparator.c, libsieve/load.c, libsieve/prog.c,
	libsieve/register.c, libsieve/relational.c, libsieve/require.c,
	libsieve/runtime.c, libsieve/sieve.h, libsieve/sieve.l,
	libsieve/sieve.y, libsieve/tests.c, libsieve/util.c,
	libsieve/extensions/list.c, libsieve/extensions/spamd.c,
	libsieve/extensions/timestamp.c, libsieve/extensions/vacation.c,
	m4/longdouble.m4, m4/signed.m4, m4/size_max.m4, m4/wchar_t.m4,
	m4/wint_t.m4, m4/xsize.m4, mail/alias.c, mail/copy.c,
	mail/decode.c, mail/delete.c, mail/escape.c, mail/exit.c,
	mail/file.c, mail/followup.c, mail/from.c, mail/hold.c,
	mail/inc.c, mail/mail.c, mail/mailline.c, mail/mbox.c,
	mail/msgset.y, mail/next.c, mail/page.c, mail/print.c,
	mail/quit.c, mail/reply.c, mail/retain.c, mail/send.c,
	mail/shell.c, mail/summary.c, mail/tag.c, mail/touch.c,
	mail/undelete.c, mail/util.c, mail/write.c, mail.local/main.c,
	mail.local/script.c, mail.remote/mail.remote.c,
	mailbox/Makefile.am, mailbox/address.c, mailbox/amd.c,
	mailbox/argcv.c, mailbox/attachment.c, mailbox/attribute.c,
	mailbox/auth.c, mailbox/body.c, mailbox/daemon.c,
	mailbox/envelope.c, mailbox/file_stream.c, mailbox/filter.c,
	mailbox/filter_iconv.c, mailbox/filter_rfc822.c,
	mailbox/filter_trans.c, mailbox/folder.c, mailbox/header.c,
	mailbox/iterator.c, mailbox/list.c, mailbox/locker.c,
	mailbox/mailbox.c, mailbox/mailer.c, mailbox/mbx_default.c,
	mailbox/message.c, mailbox/mime.c, mailbox/mu_argp.c,
	mailbox/mu_auth.c, mailbox/muerror.c, mailbox/mutil.c,
	mailbox/observer.c, mailbox/parse822.c, mailbox/registrar.c,
	mailbox/rfc2047.c, mailbox/sendmail.c, mailbox/smtp.c,
	mailbox/ticket.c, mailbox/wicket.c, mailbox/imap/Makefile.am,
	mailbox/imap/folder.c, mailbox/imap/mbox.c, mailbox/include/amd.h,
	mailbox/include/folder0.h, mailbox/include/imap0.h,
	mailbox/include/list0.h, mailbox/include/mime0.h,
	mailbox/maildir/Makefile.am, mailbox/maildir/mbox.c,
	mailbox/mbox/Makefile.am, mailbox/mbox/folder.c,
	mailbox/mbox/mbox.c, mailbox/mbox/mboxscan.c,
	mailbox/mh/Makefile.am, mailbox/mh/folder.c, mailbox/mh/mbox.c,
	mailbox/nntp/Makefile.am, mailbox/nntp/folder.c,
	mailbox/nntp/mbox.c, mailbox/nntp/nntp_iterator.c,
	mailbox/nntp/nntp_list_active.c,
	mailbox/nntp/nntp_list_distribpats.c,
	mailbox/nntp/nntp_list_distributions.c,
	mailbox/nntp/nntp_list_extensions.c,
	mailbox/nntp/nntp_list_newsgroups.c,
	mailbox/nntp/nntp_list_times.c, mailbox/pop/Makefile.am,
	mailbox/pop/folder.c, mailbox/pop/mbox.c, mailbox/pop/pop3_capa.c,
	mailbox/pop/pop3_iterator.c, messages/messages.c, mh/ali.c,
	mh/anno.c, mh/comp.c, mh/folder.c, mh/forw.c, mh/inc.c, mh/mark.c,
	mh/mh_alias.y, mh/mh_argp.c, mh/mh_ctx.c, mh/mh_format.c,
	mh/mh_init.c, mh/mh_list.c, mh/mh_msgset.c, mh/mh_sequence.c,
	mh/mh_stream.c, mh/mh_whatnow.c, mh/mh_whom.c, mh/mhn.c,
	mh/mhpath.c, mh/pick.c, mh/pick.y, mh/refile.c, mh/repl.c,
	mh/rmf.c, mh/rmm.c, mh/scan.c, mh/send.c, mh/sortm.c,
	mimeview/mimetypes.y, mimeview/mimeview.c, movemail/movemail.c,
	pop3d/apop.c, pop3d/dele.c, pop3d/expire.c, pop3d/extra.c,
	pop3d/list.c, pop3d/lock.c, pop3d/pop3d.c, pop3d/popauth.c,
	pop3d/quit.c, pop3d/retr.c, pop3d/rset.c, pop3d/stat.c,
	pop3d/top.c, pop3d/uidl.c, pop3d/user.c, readmsg/msglist.c,
	readmsg/readmsg.c, sieve/sieve.c, sql/odbc.c.

2005-08-24  Sergey Poznyakoff  <gray@gnu.org.ua>

	* scripts/ylwrap: Updated from Radius repository

2005-08-24  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/testsuite/Makefile.am (EXTRA_DIST): Add Argcv

2005-08-16  Sergey Poznyakoff  <gray@gnu.org.ua>

	* auth/sql.h: Avoid redefinition of _XOPEN_SOURCE
	* mailbox/imap/folder.c: Likewise
	* mailbox/maildir/mbox.c: Likewise
	* mailbox/mbox/mbox0.h: Likewise
	* mailbox/mh/mbox.c: Likewise

	* lib/Makefile.am: Updated
	* mailbox/Makefile.am: Updated
	
	Update by gnulib-sync:

	* lib/allocsa.c: Updated
	* lib/allocsa.h: Updated
	* lib/allocsa.valgrind: Updated
	* lib/asprintf.c: Updated
	* lib/error.c: Updated
	* lib/error.h: Updated
	* lib/exit.h: Updated
	* lib/exitfail.c: Updated
	* lib/exitfail.h: Updated
	* lib/fnmatch.c: Updated
	* lib/fnmatch_.h: Updated
	* lib/fnmatch_loop.c: Updated
	* lib/getpass.c: Updated
	* lib/getpass.h: Updated
	* lib/intprops.h: Added to the repository
	* lib/malloc.c: Updated
	* lib/mbswidth.c: Updated
	* lib/mbswidth.h: Updated
	* lib/obstack.c: Updated
	* lib/obstack.h: Updated
	* lib/realloc.c: Updated
	* lib/setenv.c: Updated
	* lib/setenv.h: Updated
	* lib/snprintf.c: Updated
	* lib/snprintf.h: Updated
	* lib/unsetenv.c: Updated
	* lib/vasprintf.c: Updated
	* lib/vasprintf.h: Updated
	* lib/xalloc-die.c: Added to the repository
	* lib/xalloc.h: Updated
	* lib/xmalloc.c: Updated
	* lib/xsize.h: Updated
	* lib/xstrtol.c: Updated
	* lib/xstrtol.h: Updated
	* lib/xstrtoul.c: Updated
	* m4/alloca.m4: Updated
	* m4/allocsa.m4: Updated
	* m4/argp.m4: Updated
	* m4/eealloc.m4: Updated
	* m4/eoverflow.m4: Updated
	* m4/error.m4: Updated
	* m4/exitfail.m4: Updated
	* m4/extensions.m4: Updated
	* m4/fnmatch.m4: Updated
	* m4/getdelim.m4: Added to the repository
	* m4/getline.m4: Updated
	* m4/getopt.m4: Updated
	* m4/getpass.m4: Updated
	* m4/intmax_t.m4: Updated
	* m4/intmax_t.m4: Updated
	* m4/inttypes_h_gl.m4: Updated
	* m4/inttypes_h_gl.m4: Updated
	* m4/longdouble.m4: Updated
	* m4/longdouble.m4: Updated
	* m4/longlong_gl.m4: Updated
	* m4/longlong_gl.m4: Updated
	* m4/mbchar.m4: Added to the repository
	* m4/mbrtowc.m4: Updated
	* m4/mbrtowc.m4: Updated
	* m4/mbstate_t.m4: Updated
	* m4/mbswidth.m4: Updated
	* m4/md5.m4: Updated
	* m4/memchr.m4: Added to the repository
	* m4/mempcpy.m4: Updated
	* m4/minmax.m4: Added to the repository
	* m4/obstack.m4: Updated
	* m4/onceonly.m4: Updated
	* m4/onceonly.m4: Updated
	* m4/regex.m4: Updated
	* m4/restrict.m4: Updated
	* m4/setenv.m4: Updated
	* m4/signed.m4: Updated
	* m4/size_max.m4: Updated
	* m4/snprintf.m4: Updated
	* m4/stdbool.m4: Updated
	* m4/stdint_h_gl.m4: Updated
	* m4/stdint_h_gl.m4: Updated
	* m4/strcase.m4: Updated
	* m4/strchrnul.m4: Updated
	* m4/strerror_r.m4: Updated
	* m4/strndup.m4: Updated
	* m4/strnlen.m4: Updated
	* m4/strtok_r.m4: Updated
	* m4/sysexits.m4: Updated
	* m4/uint32_t.m4: Updated
	* m4/uintmax_t_gl.m4: Updated
	* m4/ulonglong_gl.m4: Updated
	* m4/unlocked-io.m4: Updated
	* m4/vasnprintf.m4: Updated
	* m4/vasprintf.m4: Updated
	* m4/vsnprintf.m4: Updated
	* m4/wchar_t.m4: Updated
	* m4/wint_t.m4: Updated
	* m4/xalloc.m4: Updated
	* m4/xsize.m4: Updated
	* m4/xsize.m4: Updated
	* m4/xstrtol.m4: Updated
	* mailbox/alloca.c: Updated
	* mailbox/alloca_.h: Updated
	* mailbox/argp-ba.c: Updated
	* mailbox/argp-eexst.c: Updated
	* mailbox/argp-fmtstream.c: Updated
	* mailbox/argp-fmtstream.h: Updated
	* mailbox/argp-fs-xinl.c: Updated
	* mailbox/argp-help.c: Updated
	* mailbox/argp-namefrob.h: Updated
	* mailbox/argp-parse.c: Updated
	* mailbox/argp-pv.c: Updated
	* mailbox/argp-pvh.c: Updated
	* mailbox/argp-xinl.c: Updated
	* mailbox/argp.h: Updated
	* mailbox/asnprintf.c: Updated
	* mailbox/getdelim.c: Added to the repository
	* mailbox/getdelim.h: Added to the repository
	* mailbox/getline.c: Updated
	* mailbox/getline.h: Updated
	* mailbox/getopt.c: Updated
	* mailbox/getopt1.c: Updated
	* mailbox/getopt_.h: Updated
	* mailbox/getopt_int.h: Updated
	* mailbox/gettext.h: Updated
	* mailbox/mbchar.c: Added to the repository
	* mailbox/mbchar.h: Added to the repository
	* mailbox/md5.c: Updated
	* mailbox/md5.h: Updated
	* mailbox/memchr.c: Added to the repository
	* mailbox/mempcpy.c: Updated
	* mailbox/mempcpy.h: Updated
	* mailbox/minmax.h: Updated
	* mailbox/printf-args.c: Updated
	* mailbox/printf-args.h: Updated
	* mailbox/printf-parse.c: Updated
	* mailbox/printf-parse.h: Updated
	* mailbox/regcomp.c: Added to the repository
	* mailbox/regex.c: Updated
	* mailbox/regex.h: Updated
	* mailbox/regex_internal.c: Added to the repository
	* mailbox/regex_internal.h: Added to the repository
	* mailbox/regexec.c: Added to the repository
	* mailbox/size_max.h: Added to the repository
	* mailbox/stdbool_.h: Added to the repository
	* mailbox/strcase.h: Updated
	* mailbox/strcasecmp.c: Updated
	* mailbox/strchrnul.c: Updated
	* mailbox/strchrnul.h: Updated
	* mailbox/strncasecmp.c: Updated
	* mailbox/strndup.c: Updated
	* mailbox/strndup.h: Updated
	* mailbox/strnlen.c: Updated
	* mailbox/strnlen.h: Added to the repository
	* mailbox/strnlen1.c: Added to the repository
	* mailbox/strnlen1.h: Added to the repository
	* mailbox/strtok_r.c: Updated
	* mailbox/strtok_r.h: Updated
	* mailbox/sysexit_.h: Updated
	* mailbox/unlocked-io.h: Updated
	* mailbox/vasnprintf.c: Updated
	* mailbox/vasnprintf.h: Updated
	* mailbox/vsnprintf.c: Updated
	* mailbox/vsnprintf.h: Updated
	* mailbox/xsize.h: Updated

	End of gnulib update
	
	* README-alpha,gnulib.modules,comsat/Makefile.am,
	config/Makefile.am,config/mailutils-config.c,dotlock/Makefile.am,
	examples/Makefile.am,frm/Makefile.am,guimb/Makefile.am,
	imap4d/Makefile.am,lib/.cvsignore,lib/Makefile.am,
	libsieve/extensions/Makefile.am,mail/Makefile.am,
	mail.local/Makefile.am,mail.remote/Makefile.am,
	mailbox/Makefile.am,mailbox/imap/folder.c,mapi/Makefile.am,
	messages/Makefile.am,mh/Makefile.am,mimeview/Makefile.am,
	movemail/Makefile.am,readmsg/Makefile.am,scripts/gnulib-sync,
	sieve/Makefile.am: Rename libmailbox to libmailutils. Rename
	the convenience library (lib/libmailutils) to libmuaux.

	* auth/lbuf.h,comsat/comsat.c,examples/mta.c,guimb/guimb.h,
	imap4d/auth_gsasl.c,imap4d/fetch.c,imap4d/imap4d.c,
	imap4d/imap4d.h,imap4d/list.c,imap4d/namespace.c,imap4d/search.c,
	imap4d/status.c,imap4d/util.c,include/mailutils/address.h,
	include/mailutils/argcv.h,include/mailutils/argp.h,
	include/mailutils/attribute.h,include/mailutils/auth.h,
	include/mailutils/body.h,include/mailutils/daemon.h,
	include/mailutils/debug.h,include/mailutils/envelope.h,
	include/mailutils/error.h,include/mailutils/filter.h,
	include/mailutils/folder.h,include/mailutils/gsasl.h,
	include/mailutils/guile.h,include/mailutils/header.h,
	include/mailutils/iterator.h,include/mailutils/libsieve.h,
	include/mailutils/list.h,include/mailutils/locker.h,
	include/mailutils/mailbox.h,include/mailutils/mailcap.h,
	include/mailutils/mailer.h,include/mailutils/message.h,
	include/mailutils/mime.h,include/mailutils/monitor.h,
	include/mailutils/mu_auth.h,include/mailutils/mutil.h,
	include/mailutils/nls.h,include/mailutils/observer.h,
	include/mailutils/parse822.h,include/mailutils/property.h,
	include/mailutils/refcount.h,include/mailutils/registrar.h,
	include/mailutils/stream.h,include/mailutils/tls.h,
	include/mailutils/types.h,include/mailutils/url.h,lib/md5.h,
	lib/mu_asprintf.h,lib/mu_dbm.h,lib/strsignal.c,
	libmu_scm/mu_address.c,libsieve/argp.c,libsieve/sieve.h,
	libsieve/sieve.l,libsieve/sieve.y,mail/alias.c,mail/decode.c,
	mail/folders.c,mail/mail.c,mail/mail.h,mail/mailline.c,
	mail/msgset.y,mail/send.c,mail/util.c,mail.local/mail.local.h,
	mail.local/main.c,mailbox/amd.c,mailbox/attribute.c,
	mailbox/auth.c,mailbox/body.c,mailbox/debug.c,mailbox/envelope.c,
	mailbox/filter.c,mailbox/filter_rfc822.c,mailbox/filter_trans.c,
	mailbox/folder.c,mailbox/header.c,mailbox/locker.c,
	mailbox/mailbox.c,mailbox/mailer.c,mailbox/message.c,
	mailbox/mu_argp.c,mailbox/mu_auth.c,mailbox/observer.c,
	mailbox/property.c,mailbox/registrar.c,mailbox/stream.c,
	mailbox/ticket.c,mailbox/wicket.c,mailbox/imap/folder.c,
	mailbox/imap/mbox.c,mailbox/include/amd.h,
	mailbox/include/attribute0.h,mailbox/include/auth0.h,
	mailbox/include/debug0.h,mailbox/include/envelope0.h,
	mailbox/include/filter0.h,mailbox/include/folder0.h,
	mailbox/include/header0.h,mailbox/include/imap0.h,
	mailbox/include/list0.h,mailbox/include/mailbox0.h,
	mailbox/include/mailer0.h,mailbox/include/message0.h,
	mailbox/include/observer0.h,mailbox/include/registrar0.h,
	mailbox/include/stream0.h,mailbox/include/url0.h,
	mailbox/maildir/maildir.h,mailbox/mbox/folder.c,
	mailbox/mbox/mbox.c,mailbox/mbox/mbox0.h,mailbox/nntp/folder.c,
	mailbox/nntp/mbox.c,mailbox/nntp/nntp0.h,mh/fmtcheck.c,mh/mh.h,
	mh/mh_alias.l,mh/mh_alias.y,mh/mh_format.c,mh/mh_getopt.h,
	mh/mh_list.c,mh/mh_msgset.c,mh/mhn.c,mh/pick.h,mh/refile.c,
	mh/scan.c,mh/sortm.c,readmsg/readmsg.c,readmsg/readmsg.h,
	sieve/sieve.c,include/mailutils/errno.hin: Remove __P() and
	__PMT() wrappers. 

2005-08-15  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mh/mhn.c (has_nonascii,finish_text_msg): New functions
	(mhn_edit): Use quoted-printable encoding if the text contains
	non-ascii characters.

2005-08-12  Sergey Poznyakoff  <gray@gnu.org.ua>

	* configure.ac: Add -lgnuradius to AUTHLIBS
	* auth/radius.c (mu_radius_argp_parser): Only run init() if radius
	auth is really required.
	(mu_radius_authenticate,mu_auth_radius_user_by_name)
	(mu_auth_radius_user_by_uid): Fail if the module was not
	initialized
	* mail/escape.c: Use strerror uniformly
	
	* mailbox/argcv.c: Make handling of quotes consistent with shell
	rules. In particular, single quotes need not be quoted, and are
	not removed when appearing within a doubly-quoted string.
	* mailbox/testsuite/Argcv: Adapt to the modified argcv.c

	* auth/radius.c: New file. Radius authentication/authorization.
	* auth/Makefile.am (libmuauth_la_SOURCES): Add radius.c. Sorted
	sources alphabetically

	* examples/config/mailutils.dict: New file. 
	* examples/config/Makefile.am (EXTRA_DIST): Add mailutils.dict.
	Sorted files alphabetically
	
	* NEWS: Updated
	* configure.ac: Raised version number to 0.6.91.
	Check for libgnuradius (new option --disable/--enable-radius)
	At the end of configuration display the summary of enabled
	features.

	* include/mailutils/mu_auth.h (mu_auth_radius_module): New module
	(MU_AUTH_REGISTER_ALL_MODULES): Register radius
	* m4/enable.m4 (MU_ENABLE_SUPPORT): Fixed quoting error. Allow
	action-if-true to disable the feature.
	* mailbox/mu_argp.c (mu_conf_option): Reflect radius capability.

	* po/POTFILES.in: Updated

2005-08-11  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mail/var.c: Renamed to ...
	* mail/escape.c: ... to fix a long-standing historical
	inconsistency. 
	(var_shell,var_command,var_help,var_sign,var_bcc) 
	(var_cc,var_deadletter,var_editor,var_print,var_headers)
	(var_insert,var_quote,var_type_input,var_read,var_subj) 
	(var_to,var_visual,var_write,var_exit,var_pipe): Renamed:
	s/var_/escape_/. All callers updated
	* mail/Makefile.am,mail/mail.h,mail/table.c: Likewise

	* include/mailutils/argcv.h (argcv_get_n): New function
	* mailbox/argcv.c: Likewise
	
	* mail/alias.c (alias_iterate_first,alias_iterate_next)
	(alias_iterate_end): New functions for readline completion
	support. 
	* mail/cd.c (mail_cd): Check chdir return value
	* mail/file.c (mail_expand_name): Do not proceed to opening the
	mailbox if failed to get its name
	* mail/help.c (mail_help): Use mail_command_help()
	* mail/list.c (mail_list): Use mail_command_list()
	* mail/mail.h (mail_command_entry): Rewritten
	(mail_escape_entry,struct mail_command): New data type
	(mail_command_table,mail_escape_table): Variables removed
	(util_find_entry): Change prototype
	(util_help,util_command_list)
	(mail_find_command,mail_find_escape,mail_command_help)
	(mail_escape_help,mail_command_list): New functions
	(util_help): Removed
	(alias_iterate_first,alias_iterate_next,alias_iterate_end)
	(var_iterate_first,var_iterate_next,var_iterate_end): New functions
	(file_compl,no_compl,msglist_compl,msglist_file_compl,dir_compl
	(command_compl,alias_compl,var_compl): New functions for readline
	completion support
	* mail/mailline.c (file_compl,no_compl,msglist_compl)
	(msglist_file_compl,dir_compl)
	(command_compl,alias_compl,var_compl): New functions for readline
	completion support
	* mail/send.c: Use mail_find_escape()
	* mail/table.c (mail_command_table,mail_escape_table): Changed
	data type
	(mail_find_command,mail_command_help,mail_command_list)
	(mail_command_name,mail_find_escape,mail_escape_help): New
	functions
	* mail/util.c: Rewritten mail variables support using list_t.
	(util_find_entry,util_help): Rewritten to work with opaque data
	tables
	(util_command_list): New function
	(var_iterate_first,var_iterate_next,var_iterate_end): New
	functions
	(util_folder_path): Convert folder to full name
	* mail/var.c: Use mail_find_command() and mail_escape_help().
	* mailbox/mbox/folder.c (get_pathname): Make sure no extra slash
	is inserted.
	* mailbox/list.c (list_to_array): Bugfix. The counter was not
	incremented.
	
	* po/POTFILES.in: Add mail/cd.c

2005-08-10  Sergey Poznyakoff  <gray@gnu.org.ua>

	* doc/rfc/rfc3501.txt: New file
	* doc/rfc/Makefile.am: Add rfc3501.txt

	* imap4d/copy.c (imap4d_copy0): Minor improvement
	* imap4d/fetch.c (imap4d_fetch0): Ignore non-existing uids instead
	of diagnosing an error. This complies to RFC 3501.
	* imap4d/util.c (util_msgset): For message sets in form X:Y where
	Y is a not-existing UID greater than maximum UID value in the
	mailbox, replace Y with the latter.

	* imap4d/testsuite/imap4d/IDEF0955.exp: Synchronize with the
	recent changes.

2005-07-26  Sergey Poznyakoff  <gray@gnu.org.ua>

	* NEWS: Updated
	
	* examples/mimetest.c: Produce more detailed diagnostics
	* mail/copy.c: Likewise
	* mail/quit.c: Likewise
	* mail/send.c: Likewise
	* mail/page.c (cond_page_invalidate): Bugfix

	* mailbox/errors (MU_READ_ERROR): New error code
	
	* include/mailutils/folder.h: Moved MU_FOLDER_ATTRIBUTE_.* to
	types.h
	* include/mailutils/types.h (MU_FOLDER_ATTRIBUTE_FILE)
	(MU_FOLDER_ATTRIBUTE_DIRECTORY): New defines
	* include/mailutils/registrar.h (_is_scheme, registrar_lookup):
	Take three arguments. All callers updated
	Raised path_record priority to 1000.
	* mailbox/registrar.c: Likewise
	* mailbox/folder.c: Updated calls to registrar_lookup and
	declarations of _is_scheme methods
	* mailbox/mailer.c: Likewise
	* mailbox/maildir/folder.c: Likewise
	* mailbox/mbox/folder.c: Likewise
	* mailbox/mh/folder.c: Likewise
	
	* mailbox/list.c (_insert_item): Bugfix
	* mailbox/testsuite/mailbox/list.exp: New tests
	* mailbox/mailbox.c (mailbox_folder_create): New function
	(mailbox_create): Use mailbox_folder_create.

	* mailbox/rfc2047.c (rfc2047_encode): Bugfix.

	* mail/page.c (page_move): Fix start msg calculation
	
	* include/mailutils/list.h (list_insert): Accept additional
	argument indicating whether to insert item before or after the
	reference one.
	* mailbox/list.c: Likewise
	* examples/listop.c (ins): New option 'before' allows to insert an
	item before another one.
	* mailbox/testsuite/mailbox/list.exp: Test new list operations.
	* mh/mh_alias.y: Updated list_insert invocations
	* mh/mh_format.c (builtin_putnum): Minor fix
	 
	* comsat/comsat.c: Use registrar_record instead of directly
	accessing registrar list.
	* examples/mimetest.c: Likewise
	* examples/msg-send.c: Likewise
	* examples/mta.c: Likewise
	* libmu_scm/mu_scm.c: Likewise
	* mail.local/main.c: Likewise
	* mail.remote/mail.remote.c: Likewise

	* mailbox/registrar.c (registrar_get_list): Split into two
	calls. The registrar_get_list proper is deprecated.
	(registrar_get_iterator,registrar_lookup): New functions
	(registrar_record,unregistrar_record): Use _registrar_get_list

	* mailbox/folder.c (folder_create): Rewritten using
	registrar_lookup()
	* mailbox/mailbox.c (mailbox_create): Likewise
	* mailbox/mailer.c (mailer_create): Likewise

	* mailbox/sendmail.c: Updated declarations of struct _record
	objects.
	* mailbox/smtp.c: Likewise
	* mailbox/imap/folder.c: Likewise
	* mailbox/maildir/folder.c: Likewise
	* mailbox/mbox/folder.c: Likewise
	* mailbox/mh/folder.c: Likewise
	* mailbox/nntp/folder.c: Likewise
	* mailbox/pop/folder.c: Likewise
	
	* include/mailutils/registrar.h (struct _record.priority): New
	member.
	(registrar_get_list): Mark as deprecated
	(registrar_get_iterator,registrar_lookup): New function
	(MU_IMAP_PRIO etc): New defines
	(mu_register_all_mbox_formats,mu_register_local_mbox_formats)
	(mu_register_remote_mbox_formats,mu_register_all_mailer_formats)
	(mu_register_extra_formats): Use registrar_record

	* include/mailutils/types.h: Minor stylistic fix

2005-07-25  Sergey Poznyakoff  <gray@gnu.org.ua>

	* mailbox/locker.c (locker_lock): Allow for non-absolute file
	names. 

2005-07-10  Sergey Poznyakoff  <gray@gnu.org.ua>

	* libsieve/extensions/vacation.c: Unconditionally include mu_dbm.h
	* mailbox/mutil.c (mu_get_homedir): Use EUID to determine user
	identity.

2005-07-08  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* mailbox/mime.c (_mime_get_param): Initialize was_quoted to
	0. Problem reported by Shashank Kavishwar <s_kavishwar@hotmail.com>.
	
2005-07-07  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* libsieve/actions.c: Fall back to "Sender:" and "From:" headers
	(in that order), if the envelope sender is not available.

2005-06-29  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* mailbox/argcv.c (argcv_scan): Improved scanning.
	* mailbox/testsuite/Argcv: New tests

	* mailbox/argcv.c (argcv_scan,argcv_quoted_length)
	(argcv_quote_copy): Fixed handling of unmatched quotes.

2005-06-27  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* include/mailutils/argcv.h (argcv_unescape_char): Renamed to
	argcv_unquote_char
	(argcv_escape_char): Renamed to argcv_quote_char.
	(argcv_quoted_length,argcv_quote_copy): New functions
	* mailbox/argcv.c (argcv_scan,xtonum): Improved parser
	(argcv_unescape_char): Renamed to
	argcv_unquote_char
	(argcv_escape_char): Renamed to argcv_quote_char.
	(argcv_quoted_length,argcv_quote_copy): New functions
	(argcv_unquote_copy): (ex. unescape_copy): Fixed handling of
	escaped sequences.
	(argcv_get,argcv_free,argcv_string): Standardized return value.

	* comsat/action.c: argcv_unescape_char renamed to argcv_unquote_char
	* libsieve/sieve.l: Likewise

	* examples/argcv.c: New file
	* examples/Makefile.am: Add argcv.c

	* mailbox/testsuite/Argcv: New file
	* mailbox/testsuite/mailbox/argcv.exp: New test
	* mailbox/testsuite/mailbox/DISTFILES: Add argcv.exp
	
2005-06-23  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* NEWS: Updated
	* README-alpha: Updated
	* include/mailutils/mailbox.h
	(mu_path_maildir,mu_path_folder_dir): Removed
	(mu_set_mail_directory,mu_set_folder_directory)
	(mu_mail_directory,mu_folder_directory)
	(mu_construct_user_mailbox_url,mailbox_get_flags): New functions.
	* mailbox/mbx_default.c: Likewise.
	* include/mailutils/mutil.h (mu_normalize_maildir): Renamed to
	(mu_normalize_mailbox_url)
	* libmu_scm/mu_mailbox.c (scm_mu_mail_directory)
	(scm_mu_folder_directory): New function
	* libmu_scm/mu_scm.c (_mu_scm_path_maildir)
	(_mu_scm_path_folder_dir): Removed
	
	* auth/sql.c: Use mu_mail_directory, mu_folder_directory and
	related calls.
	* guimb/collect.c: Likewise.
	* mailbox/mu_argp.c: Likewise.
	* mailbox/mutil.c: Likewise.
	* mailbox/system.c: Likewise.
	* mh/comp.c: Likewise.
	* mh/folder.c: Likewise.
	* mh/forw.c: Likewise.
	* mh/mh_init.c: Likewise.
	* mh/mhn.c: Likewise.
	* mh/mhpath.c: Likewise.
	* mh/refile.c: Likewise.
	* mh/repl.c: Likewise.
	* mh/send.c: Likewise.
	* mh/whom.c: Likewise.
	
	* mh/mh.h (mh_global_profile_get): Changed prototype.
	* mh/mh_global.c: Likewise.
	
	* mailbox/imap/mbox.c (imap_messages_count): Use SELECT or EXAMINE
	depending on the mailbox status.
	(imap_expunge): Return EACCES if the mailbox is read-only

	* examples/http.c: Accept up to two arguments: hostname to connect
	to and URL of the page to get.

	* imap4d/close.c: Do not attempt to flush a mailbox opened in
	read-only mode.

	* mail/file.c (mail_file): Invalidate current page map.
	* mail/mail.h: Updated
	* mail/page.c (set_cursor): Use page_move(0) to correctly update
	the map.

	* mailbox/errors (MU_ERR_BAD_FILENAME): New error code.
	* mailbox/mailbox.c (mailbox_get_flags): New function
	
	* imap4d/util.c: Minor correction
	* mail/decode.c: Likewise
	* mail.local/main.c: Likewise
	* frm/from.c: Removed unused variable

2005-06-15  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* examples/mta.c (mta_smtp): Fixed race condition between printing
	the port number, which will be used by the testsuite, and actually
	starting to listen on that port.
	* mail/page.c: New file. Implements an abstract output page.
	* mail/Makefile.am (mail_SOURCES): Add page.c. Alphabetized
	sources.
	
	* mail/delete.c, mail/edit.c, mail/eq.c, mail/file.c,
	mail/followup.c, mail/from.c, mail/headers.c, mail/hold.c,
	mail/mail.c, mail/mailline.c, mail/mbox.c, mail/msgset.y,
	mail/next.c, mail/previous.c, mail/print.c, mail/reply.c,
	mail/size.c, mail/summary.c, mail/top.c, mail/touch.c,
	mail/undelete.c, mail/util.c, mail/visual.c, mail/write.c,
	mail/z.c: Use new pager functions.
	
	* mail/mail.h: New declarations

	* mail/testsuite/mail/z.exp: Fixed tests to match our improved
	output. 

2005-06-13  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* mailbox/amd.c (amd_expunge): Unlink the message file if
	msg_file_name returns NULL.
	* mailbox/maildir/mbox.c (maildir_message_name): Return NULL for
	deleted messages.

	* mailbox/include/stream0.h (struct rbuffer.count): Changed type
	to size_t. Reported by Joseph Caputo <caputo@qedinfo.com>
	* mailbox/stream.c (refill): Removed useless typecast

	* mail/util.c (util_save_outgoing): Rewritten using mailbox
	functions. `set record' can now point to any valid mailbox type.

2005-06-12  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* frm/common.c (get_charset): Make sure output_charset is not NULL.

2005-06-06  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* mailbox/amd.c (amd_envelope_date): Always convert date to ctime
	format. 

2005-05-31  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* mailbox/maildir/mbox.c (maildir_uniq): Fix memory overwrite.

2005-05-27  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* mailbox/amd.c (amd_envelope_date): Reformat Delivery-Date value
	to standart ctime format. Fix memory leak.
	(amd_envelope_sender): Propagate return from header_aget_value()
	back to the caller.
	* mailbox/mbox/mbox.c (restore_sender,restore_date): New
	functions.
	(mbox_append_message0): Use above functions to create sender/date
	values if these are not supplied.
	* movemail/movemail.c (move_message): Fix error diagnostics format.

2005-05-24  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* examples/Makefile.am (noinst_PROGRAMS): Add encode2047. Sorted
	alphabetically.
	* examples/encode2047.c: New file.
	* examples/base64.c (main): Add option -E (encoding). The program
	can now be used to test any encoder/decoder filters, so its name
	is kind of misnomer.
	* mailbox/errors (MU_ERR_BAD_2047_ENCODING): New error code.
	* mailbox/filter_trans.c (qp_encode): Do not keep track of the
	whitespace. Proposed by Amit Jhawar <ajhawar@frontbridge.com>.
	(Q_printable_char_p): TAB is not a printable char.
	(Q_encode): Bugfix: 0x20 is represented by underscore, not vice
	versa.
	* mailbox/rfc2047.c (rfc2047_encode): Bugfix. Use proper encoding
	types. Convert "base64" to "B" and "quoted-printable" to
	"Q". Check return values from stream creation functions. Do not
	destroy input_stream if output_stream was destroyed (prevents
	coredump).
	* scripts/config.rpath: Removed automatically generated file.
	* THANKS: Added Kidong Lee and Amit Jhawar.
	* examples/.cvsignore: Add encode2047. Sort entries.
	
2005-05-23  Kidong Lee  <briankdlee@yahoo.com>

	* mailbox/rfc2047.c (rfc2047_encode): Rewritten using filters
	and streams.

2005-05-23  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
	
	* mailbox/mutil.c: include <sys/select.h>
	* lib/mailcap.c: Provide a replacement for FNM_CASEFOLD
	Reported by Jerry Heyman <heymanj@acm.org>.

	* configure.ac: Compute the value of ULONG_MAX for use in the
	testsute.
	* imap4d/testsuite/Makefile.am (site.exp): Set MU_ULONG_MAX
	* imap4d/testsuite/imap4d/IDEF0955.exp: Compute upper limit for
	the message set spec based on the value of MU_ULONG_MAX.
	* imap4d/testsuite/imap4d/IDEF0956.exp: Likewise

2005-05-20  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* imap4d/fetch.c (fetch_getcommand): Changed proto to make gcc 4.0
	happy. 

2005-05-19  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* auth/sql.c (sql_escape_string): Escape backslashes.
	
	The sources before this point are tagged alpha_0_6_90.

2005-05-17  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* configure.ac: Updated FSF address. Raised version number to
	0.6.90
	
	Updated FSF address:
	
	* COPYING, COPYING.LESSER, Makefile.am, NEWS, 
	auth/Makefile.am, auth/gsasl.c, auth/lbuf.c, auth/lbuf.h,
	auth/pam.c, auth/sql.c, auth/sql.h, auth/tls.c,
	auth/virtual.c, comsat/Makefile.am, comsat/action.c,
	comsat/cfg.c, comsat/comsat.c, comsat/comsat.h,
	config/Makefile.am, config/mailutils-config.c,
	doc/Makefile.am, doc/man/Makefile.am, doc/rfc/Makefile.am,
	doc/texinfo/COPYING.DOC, doc/texinfo/Makefile.am,
	doc/texinfo/fdl.texi, doc/texinfo/mailutils.texi,
	doc/texinfo/muint.texi, dotlock/Makefile.am,
	dotlock/dotlock.c, examples/Makefile.am, examples/addr.c,
	examples/base64.c, examples/decode2047.c, examples/http.c,
	examples/iconv.c, examples/listop.c, examples/mailcap.c,
	examples/mimetest.c, examples/msg-send.c,
	examples/mta.c, examples/muemail.c, examples/murun.c,
	examples/nntpclient.c, examples/numaddr.c,
	examples/pop3client.c, examples/sfrom.c,
	examples/url-parse.c, examples/config/Makefile.am,
	examples/cpp/Makefile.am, examples/scheme/Makefile.am,
	examples/scheme/reply.scm, frm/Makefile.am,
	frm/common.c, frm/frm.c, frm/frm.h, frm/from.c,
	frm/testsuite/Makefile.am, frm/testsuite/frm/test.exp,
	guimb/Makefile.am, guimb/collect.c, guimb/guimb.h,
	guimb/main.c, guimb/util.c, guimb/scm/Makefile.am,
	guimb/scm/mimeheader.scm, guimb/scm/numaddr.scm,
	guimb/scm/redirect.scm, guimb/scm/reject.scm,
	guimb/scm/sieve-core.scm, guimb/scm/sieve.scm.in,
	guimb/scm/vacation.scm, imap4d/Makefile.am,
	imap4d/append.c, imap4d/auth_gsasl.c, imap4d/auth_gss.c,
	imap4d/authenticate.c, imap4d/bye.c, imap4d/capability.c,
	imap4d/check.c, imap4d/close.c, imap4d/commands.c,
	imap4d/copy.c, imap4d/create.c, imap4d/delete.c,
	imap4d/examine.c, imap4d/expunge.c, imap4d/fetch.c,
	imap4d/idle.c, imap4d/imap4d.c, imap4d/imap4d.h,
	imap4d/list.c, imap4d/login.c, imap4d/logout.c,
	imap4d/lsub.c, imap4d/namespace.c, imap4d/noop.c,
	imap4d/rename.c, imap4d/search.c, imap4d/select.c,
	imap4d/signal.c, imap4d/starttls.c, imap4d/status.c,
	imap4d/store.c, imap4d/subscribe.c, imap4d/sync.c,
	imap4d/uid.c, imap4d/unsubscribe.c, imap4d/util.c,
	imap4d/version.c, imap4d/testsuite/Makefile.am,
	imap4d/testsuite/imap4d/IDEF0955.exp,
	imap4d/testsuite/imap4d/IDEF0956.exp,
	imap4d/testsuite/imap4d/anystate.exp,
	imap4d/testsuite/imap4d/append.exp,
	imap4d/testsuite/imap4d/create.exp,
	imap4d/testsuite/imap4d/examine.exp,
	imap4d/testsuite/imap4d/expunge.exp,
	imap4d/testsuite/imap4d/fetch.exp,
	imap4d/testsuite/imap4d/list.exp,
	imap4d/testsuite/imap4d/search.exp,
	imap4d/testsuite/imap4d/x.exp,
	imap4d/testsuite/lib/imap4d.exp,
	include/Makefile.am, include/mailutils/Makefile.am,
	include/mailutils/address.h, include/mailutils/argcv.h,
	include/mailutils/argp.h, include/mailutils/attribute.h,
	include/mailutils/auth.h, include/mailutils/body.h,
	include/mailutils/daemon.h, include/mailutils/debug.h,
	include/mailutils/envelope.h, include/mailutils/errno.hin,
	include/mailutils/error.h, include/mailutils/filter.h,
	include/mailutils/folder.h, include/mailutils/gsasl.h,
	include/mailutils/guile.h, include/mailutils/header.h,
	include/mailutils/iterator.h, include/mailutils/libsieve.h,
	include/mailutils/list.h, include/mailutils/locker.h,
	include/mailutils/mailbox.h, include/mailutils/mailcap.h,
	include/mailutils/mailer.h, include/mailutils/mailutils.h,
	include/mailutils/message.h, include/mailutils/mime.h,
	include/mailutils/monitor.h, include/mailutils/mu_auth.h,
	include/mailutils/mutil.h, include/mailutils/nls.h,
	include/mailutils/nntp.h, include/mailutils/observer.h,
	include/mailutils/parse822.h, include/mailutils/pop3.h,
	include/mailutils/property.h, include/mailutils/refcount.h,
	include/mailutils/registrar.h, include/mailutils/sql.h,
	include/mailutils/stream.h, include/mailutils/tls.h,
	include/mailutils/types.h, include/mailutils/url.h,
	include/mailutils/gnu/Makefile.am,
	include/mailutils/sys/Makefile.am,
	include/mailutils/sys/nntp.h, include/mailutils/sys/pop3.h,
	lib/Makefile.am, lib/allocsa.c, lib/allocsa.h,
	lib/asprintf.c, lib/daemon.c, lib/error.c, lib/error.h,
	lib/exit.h, lib/exitfail.c, lib/exitfail.h,
	lib/fnmatch_.h, lib/fnmatch_loop.c, lib/getpass.c,
	lib/getpass.h, lib/mailcap.c, lib/malloc.c,
	lib/mbswidth.c, lib/mbswidth.h, lib/mu_asprintf.h,
	lib/mu_dbm.c, lib/mu_dbm.h, lib/obstack.c, lib/obstack.h,
	lib/realloc.c, lib/setenv.c, lib/setenv.h, lib/snprintf.c,
	lib/snprintf.h, lib/stdbool_.h, lib/unsetenv.c, lib/utmp.c,
	lib/vasprintf.c, lib/vasprintf.h, lib/xalloc.h,
	lib/xalloc_die.c, lib/xmalloc.c, lib/xsize.h,
	lib/xstrtol.c, lib/xstrtol.h, libmu_scm/Makefile.am,
	libmu_scm/mailutils.scm.in, libmu_scm/mu_address.c,
	libmu_scm/mu_body.c, libmu_scm/mu_guimb.c,
	libmu_scm/mu_logger.c, libmu_scm/mu_mailbox.c,
	libmu_scm/mu_message.c, libmu_scm/mu_mime.c,
	libmu_scm/mu_port.c, libmu_scm/mu_scm.c,
	libmu_scm/mu_scm.h, libmu_scm/mu_util.c,
	libsieve/Makefile.am, libsieve/actions.c, libsieve/argp.c,
	libsieve/comparator.c, libsieve/load.c, libsieve/prog.c,
	libsieve/register.c, libsieve/relational.c,
	libsieve/require.c, libsieve/runtime.c, libsieve/sieve.h,
	libsieve/sieve.l, libsieve/sieve.y, libsieve/tests.c,
	libsieve/util.c, libsieve/extensions/Makefile.am,
	libsieve/extensions/list.c, libsieve/extensions/spamd.c,
	libsieve/extensions/timestamp.c,
	libsieve/extensions/vacation.c, m4/db2.m4, m4/enable.m4,
	m4/gnulib.m4, m4/gsasl.m4, m4/guile.m4, m4/mu_libobj.m4,
	m4/tls.m4, mail/Makefile.am, mail/alias.c,
	mail/alt.c, mail/cd.c, mail/copy.c, mail/decode.c,
	mail/delete.c, mail/dp.c, mail/echo.c, mail/edit.c,
	mail/eq.c, mail/exit.c, mail/file.c, mail/folders.c,
	mail/followup.c, mail/from.c, mail/headers.c, mail/help.c,
	mail/hold.c, mail/if.c, mail/inc.c, mail/list.c,
	mail/mail.c, mail/mail.h, mail/mailline.c, mail/mbox.c,
	mail/msgset.y, mail/next.c, mail/pipe.c, mail/previous.c,
	mail/print.c, mail/quit.c, mail/reply.c, mail/retain.c,
	mail/save.c, mail/send.c, mail/set.c, mail/setenv.c,
	mail/shell.c, mail/size.c, mail/source.c, mail/summary.c,
	mail/table.c, mail/tag.c, mail/top.c, mail/touch.c,
	mail/unalias.c, mail/undelete.c, mail/unset.c,
	mail/util.c, mail/var.c, mail/version.c, mail/visual.c,
	mail/write.c, mail/z.c, mail/testsuite/Makefile.am,
	mail/testsuite/lib/mail.exp, mail/testsuite/mail/alias.exp,
	mail/testsuite/mail/folder.exp,
	mail/testsuite/mail/read.exp, mail/testsuite/mail/send.exp,
	mail/testsuite/mail/tag.exp, mail/testsuite/mail/write.exp,
	mail/testsuite/mail/z.exp, mail.local/Makefile.am,
	mail.local/mail.local.h, mail.local/mailquota.c,
	mail.local/main.c, mail.local/script.c,
	mail.local/testsuite/Data,
	mail.local/testsuite/Makefile.am,
	mail.local/testsuite/lib/mail.local.exp,
	mail.local/testsuite/mail.local/deliver.exp,
	mail.remote/Makefile.am, mail.remote/mail.remote.c,
	mail.remote/testsuite/Data,
	mail.remote/testsuite/Makefile.am,
	mail.remote/testsuite/lib/mail.remote.exp,
	mail.remote/testsuite/mail.remote/send.exp,
	mailbox/Makefile.am, mailbox/address.c, mailbox/alloca_.h,
	mailbox/amd.c, mailbox/argcv.c, mailbox/argp-ba.c,
	mailbox/argp-eexst.c, mailbox/argp-fmtstream.c,
	mailbox/argp-fmtstream.h, mailbox/argp-fs-xinl.c,
	mailbox/argp-help.c, mailbox/argp-namefrob.h,
	mailbox/argp-parse.c, mailbox/argp-pv.c,
	mailbox/argp-pvh.c, mailbox/argp-xinl.c, mailbox/argp.h,
	mailbox/asnprintf.c, mailbox/attachment.c,
	mailbox/attribute.c, mailbox/auth.c, mailbox/body.c,
	mailbox/daemon.c, mailbox/date.c, mailbox/debug.c,
	mailbox/envelope.c, mailbox/errors, mailbox/fgetpwent.c,
	mailbox/file_stream.c, mailbox/filter.c,
	mailbox/filter_iconv.c, mailbox/filter_rfc822.c,
	mailbox/filter_trans.c, mailbox/folder.c,
	mailbox/getline.c, mailbox/getline.h, mailbox/getndelim2.c,
	mailbox/getndelim2.h, mailbox/getopt.c,
	mailbox/getopt1.c, mailbox/getopt_.h, mailbox/getopt_int.h,
	mailbox/gettext.h, mailbox/header.c, mailbox/iterator.c,
	mailbox/list.c, mailbox/locale.c, mailbox/locker.c,
	mailbox/mailbox.c, mailbox/mailcap.c, mailbox/mailer.c,
	mailbox/mapfile_stream.c, mailbox/mbx_default.c,
	mailbox/md5.c, mailbox/md5.h, mailbox/memory_stream.c,
	mailbox/mempcpy.c, mailbox/mempcpy.h, mailbox/message.c,
	mailbox/mime.c, mailbox/minmax.h, mailbox/monitor.c,
	mailbox/mu_argp.c, mailbox/mu_auth.c, mailbox/muerrno.cin,
	mailbox/muerror.c, mailbox/munre.c, mailbox/mutil.c,
	mailbox/nls.c, mailbox/observer.c, mailbox/parse822.c,
	mailbox/parsedate.y, mailbox/printf-args.c,
	mailbox/printf-args.h, mailbox/printf-parse.c,
	mailbox/printf-parse.h, mailbox/property.c,
	mailbox/regex.c, mailbox/regex.h, mailbox/registrar.c,
	mailbox/rfc2047.c, mailbox/sendmail.c, mailbox/smtp.c,
	mailbox/strcase.h, mailbox/strcasecmp.c,
	mailbox/strchrnul.c, mailbox/strchrnul.h,
	mailbox/stream.c, mailbox/strndup.c, mailbox/strndup.h,
	mailbox/strnlen.c, mailbox/strtok_r.c, mailbox/strtok_r.h,
	mailbox/sysexit_.h, mailbox/system.c, mailbox/tcp.c,
	mailbox/ticket.c, mailbox/unlocked-io.h, mailbox/url.c,
	mailbox/url_sendmail.c, mailbox/url_smtp.c,
	mailbox/vasnprintf.c, mailbox/vasnprintf.h,
	mailbox/vsnprintf.c, mailbox/vsnprintf.h, mailbox/wicket.c,
	mailbox/xsize.h, mailbox/imap/Makefile.am,
	mailbox/imap/folder.c, mailbox/imap/mbox.c,
	mailbox/imap/url.c, mailbox/include/Makefile.am,
	mailbox/include/address0.h, mailbox/include/amd.h,
	mailbox/include/attribute0.h, mailbox/include/auth0.h,
	mailbox/include/body0.h, mailbox/include/debug0.h,
	mailbox/include/envelope0.h, mailbox/include/filter0.h,
	mailbox/include/folder0.h, mailbox/include/header0.h,
	mailbox/include/imap0.h, mailbox/include/iterator0.h,
	mailbox/include/list0.h, mailbox/include/mailbox0.h,
	mailbox/include/mailer0.h, mailbox/include/message0.h,
	mailbox/include/mime0.h, mailbox/include/monitor0.h,
	mailbox/include/observer0.h, mailbox/include/property0.h,
	mailbox/include/registrar0.h, mailbox/include/stream0.h,
	mailbox/include/url0.h, mailbox/maildir/Makefile.am,
	mailbox/maildir/folder.c, mailbox/maildir/maildir.h,
	mailbox/maildir/mbox.c, mailbox/mbox/Makefile.am,
	mailbox/mbox/folder.c, mailbox/mbox/mbox.c,
	mailbox/mbox/mbox0.h, mailbox/mbox/mboxscan.c,
	mailbox/mbox/url.c, mailbox/mh/Makefile.am,
	mailbox/mh/folder.c, mailbox/mh/mbox.c,
	mailbox/nntp/Makefile.am, mailbox/nntp/folder.c,
	mailbox/nntp/mbox.c, mailbox/nntp/nntp0.h,
	mailbox/nntp/nntp_article.c, mailbox/nntp/nntp_body.c,
	mailbox/nntp/nntp_carrier.c, mailbox/nntp/nntp_connect.c,
	mailbox/nntp/nntp_create.c, mailbox/nntp/nntp_date.c,
	mailbox/nntp/nntp_debug.c, mailbox/nntp/nntp_destroy.c,
	mailbox/nntp/nntp_disconnect.c, mailbox/nntp/nntp_group.c,
	mailbox/nntp/nntp_head.c, mailbox/nntp/nntp_help.c,
	mailbox/nntp/nntp_ihave.c, mailbox/nntp/nntp_last.c,
	mailbox/nntp/nntp_list_active.c,
	mailbox/nntp/nntp_list_distribpats.c,
	mailbox/nntp/nntp_list_distributions.c,
	mailbox/nntp/nntp_list_extensions.c,
	mailbox/nntp/nntp_list_newsgroups.c,
	mailbox/nntp/nntp_list_times.c,
	mailbox/nntp/nntp_mode_reader.c,
	mailbox/nntp/nntp_newgroups.c, mailbox/nntp/nntp_newnews.c,
	mailbox/nntp/nntp_next.c, mailbox/nntp/nntp_post.c,
	mailbox/nntp/nntp_quit.c, mailbox/nntp/nntp_readline.c,
	mailbox/nntp/nntp_response.c, mailbox/nntp/nntp_sendline.c,
	mailbox/nntp/nntp_stat.c, mailbox/nntp/nntp_stream.c,
	mailbox/nntp/nntp_timeout.c, mailbox/nntp/url.c,
	mailbox/pop/Makefile.am, mailbox/pop/folder.c,
	mailbox/pop/mbox.c, mailbox/pop/pop3_apop.c,
	mailbox/pop/pop3_capa.c, mailbox/pop/pop3_carrier.c,
	mailbox/pop/pop3_connect.c, mailbox/pop/pop3_create.c,
	mailbox/pop/pop3_debug.c, mailbox/pop/pop3_dele.c,
	mailbox/pop/pop3_destroy.c, mailbox/pop/pop3_disconnect.c,
	mailbox/pop/pop3_list.c, mailbox/pop/pop3_lista.c,
	mailbox/pop/pop3_noop.c, mailbox/pop/pop3_pass.c,
	mailbox/pop/pop3_quit.c, mailbox/pop/pop3_readline.c,
	mailbox/pop/pop3_response.c, mailbox/pop/pop3_retr.c,
	mailbox/pop/pop3_rset.c, mailbox/pop/pop3_sendline.c,
	mailbox/pop/pop3_stat.c, mailbox/pop/pop3_stls.c,
	mailbox/pop/pop3_stream.c, mailbox/pop/pop3_timeout.c,
	mailbox/pop/pop3_top.c, mailbox/pop/pop3_uidl.c,
	mailbox/pop/pop3_uidla.c, mailbox/pop/pop3_user.c,
	mailbox/pop/url.c, mailbox/testsuite/Addrs,
	mailbox/testsuite/Mailcap, mailbox/testsuite/Makefile.am,
	mailbox/testsuite/Mime, mailbox/testsuite/RFC2047,
	mailbox/testsuite/Urls, mailbox/testsuite/lib/mailbox.exp,
	mailbox/testsuite/mailbox/address.exp,
	mailbox/testsuite/mailbox/base64.exp,
	mailbox/testsuite/mailbox/list.exp,
	mailbox/testsuite/mailbox/mailcap.exp,
	mailbox/testsuite/mailbox/mime.exp,
	mailbox/testsuite/mailbox/rfc2047.exp,
	mailbox/testsuite/mailbox/url.exp, messages/Makefile.am,
	messages/messages.c, messages/testsuite/Makefile.am,
	messages/testsuite/messages/test.exp, mh/Makefile.am,
	mh/ali.c, mh/anno.c, mh/comp.c, mh/compcommon.c,
	mh/fmtcheck.c, mh/folder.c, mh/forw.c, mh/inc.c,
	mh/install-mh.c, mh/mailutils-mh.eli, mh/mark.c, mh/mh.h,
	mh/mh_alias.l, mh/mh_alias.y, mh/mh_argp.c, mh/mh_ctx.c,
	mh/mh_error.c, mh/mh_fmtgram.y, mh/mh_format.c,
	mh/mh_getopt.c, mh/mh_getopt.h, mh/mh_global.c,
	mh/mh_init.c, mh/mh_list.c, mh/mh_msgset.c,
	mh/mh_sequence.c, mh/mh_stream.c, mh/mh_whatnow.c,
	mh/mh_whom.c, mh/mhl.c, mh/mhn.c, mh/mhparam.c,
	mh/mhpath.c, mh/pick.c, mh/pick.h, mh/pick.y, mh/refile.c,
	mh/repl.c, mh/rmf.c, mh/rmm.c, mh/scan.c, mh/send.c,
	mh/sortm.c, mh/whatnow.c, mh/whom.c, mimeview/Makefile.am,
	mimeview/mimetypes.l, mimeview/mimetypes.y,
	mimeview/mimeview.c, mimeview/mimeview.h,
	movemail/Makefile.am, movemail/movemail.c,
	po/.cvsignore, po/ca.po, po/es.po, po/fr.po, po/pl.po,
	po/ro.po, po/ru.po, po/uk.po, pop3d/Makefile.am,
	pop3d/apop.c, pop3d/auth.c, pop3d/capa.c, pop3d/dele.c,
	pop3d/expire.c, pop3d/extra.c, pop3d/list.c, pop3d/lock.c,
	pop3d/logindelay.c, pop3d/noop.c, pop3d/pop3d.c,
	pop3d/pop3d.h, pop3d/popauth.c, pop3d/quit.c,
	pop3d/retr.c, pop3d/rset.c, pop3d/signal.c, pop3d/stat.c,
	pop3d/stls.c, pop3d/top.c, pop3d/uidl.c, pop3d/user.c,
	pop3d/testsuite/Makefile.am, pop3d/testsuite/lib/pop3d.exp,
	pop3d/testsuite/pop3d/read.exp, readmsg/Makefile.am,
	readmsg/msglist.c, readmsg/readmsg.c,
	readmsg/readmsg.h, readmsg/testsuite/Makefile.am,
	readmsg/testsuite/readmsg/test.exp,
	scripts/Makefile.am, scripts/config.rpath,
	scripts/generr.awk, scripts/texify.sed,
	scripts/ylwrap, scripts/guile-1.4/Makefile.am,
	scripts/guile-1.4/guile-doc-snarf,
	scripts/guile-1.4/guile-func-name-check,
	scripts/guile-1.4/guile-snarf.awk,
	scripts/guile-1.6/Makefile.am,
	scripts/guile-1.6/guile-doc-snarf,
	scripts/guile-1.6/guile-doc-snarf.awk, sieve/Makefile.am,
	sieve/sieve.c, sieve/testsuite/Makefile.am,
	sieve/testsuite/Redirect, sieve/testsuite/Reject,
	sieve/testsuite/lib/sieve.exp,
	sieve/testsuite/sieve/action.exp,
	sieve/testsuite/sieve/address.exp,
	sieve/testsuite/sieve/allof.exp,
	sieve/testsuite/sieve/anyof.exp,
	sieve/testsuite/sieve/envelope.exp,
	sieve/testsuite/sieve/exists.exp,
	sieve/testsuite/sieve/ext.exp,
	sieve/testsuite/sieve/false.exp,
	sieve/testsuite/sieve/header.exp,
	sieve/testsuite/sieve/i-casemap.exp,
	sieve/testsuite/sieve/i-numeric.exp,
	sieve/testsuite/sieve/i-octet.exp,
	sieve/testsuite/sieve/mul-addr.exp,
	sieve/testsuite/sieve/not.exp,
	sieve/testsuite/sieve/redirect.exp,
	sieve/testsuite/sieve/reject.exp,
	sieve/testsuite/sieve/relational.exp,
	sieve/testsuite/sieve/size.exp,
	sieve/testsuite/sieve/true.exp, sql/Makefile.am,
	sql/mysql.c, sql/odbc.c, sql/postgres.c, sql/sql.c,
	testsuite/Makefile.am, testsuite/makespool,
	testsuite/lib/mailutils.exp

2005-05-13  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* imap4d/fetch.c (imap4d_fetch0): Reduce memory consumption within
	the mailbox scanning loop. Break the loop when an invalid msgno is
	encountered or the message cannot be retrieved.
	(fetch_io): Check for integer overflow (IDEF0956).
	(fetch_full,fetch_rfc822_header,fetch_rfc822_text)
	(fetch_operation): Propagate return value back to the caller.
	
	* imap4d/util.c (util_finish): Fix potential vulnerability
	(IDEF0954).
	(util_msgset): Do not allow values greater than the maximum id
	number (either message number or UID) in the mailbox. Fixes (IDEF0955).
	
	* mailbox/header.c (header_get_field_name): Fix buffer overflow
	(IDEF0957).

	* doc/texinfo/sieve.texi: Fix typo

	* imap4d/testsuite/imap4d/IDEF0955.exp: New test
	* imap4d/testsuite/imap4d/IDEF0956.exp: New test
	* imap4d/testsuite/imap4d/DISTFILES: Add new files
	
2005-05-11  Sergey Poznyakoff 

	* mailbox/parsedate.y (DATE_INIT): Bugfix. Several fields in
	struct pd_date are used regardless of .mask, so it is better to
	zero out the entire structure.

2005-03-25  Sergey Poznyakoff 

	* NEWS: Updated
	* mail/decode.c (display_message0): Do not interpret MIME
	parts if metamail is unset.
	* mail/mail.c (default_setup): Set metamail
	* testsuite/etc/mail.rc: Unset metamail
	* doc/texinfo/programs.texi: Updated metamail documentation

2005-03-18  Sergey Poznyakoff

	* TODO: Updated
	* README-alpha: Updated
	* mail/shell.c (mail_execute): Restore argv[0] before exiting,
	else argcv_free coredumps.

2005-03-15  Sergey Poznyakoff  

	* mailbox/mailbox.c (mailbox_flush): Do not re-save all messages
	if the mailbox was opened in append mode.

2005-03-14  Sergey Poznyakoff 

	* mimeview/mimetypes.l (<HEX>): Bugfix
	* mimeview/mimetypes.y (b_string): Bugfix
	
2005-03-13  Sergey Poznyakoff 

	Sources are tagged alpha_0_6_1
	
	* Makefile.am (SUBDIRS): Reordered. Due to the specifics
	of gnulib imports, libmailutils depends on libmailbox.
	Added config/.
	* configure.ac (AC_CONFIG_FILES): Added config/Makefile
	* lib/mailcap.c (mime_context_fill): Return integer code
	(display_stream_mailcap): Bail out if mime_context_fill
	returns 1

	* mailbox/Makefile.am: Removed mailutils-config.c. It should
	live in a separate directory to satisfy interlibrary dependencies.
	* mailbox/mailutils-config.c: Moved to config
	* config: New directory
	* config/mailutils-config.c: New file
	* config/Makefile.am: New file
	
	* po/POTFILES.in: Updated

2005-03-13  Sergey Poznyakoff 

	* lib/mailcap.c Include ctype.h
	(mime_context_fill): Remove leading whitespace
	when preparing lists.
	(mime_context_get_content_type_value): Return integer code.
	(expand_string): Fixed expansion of %{name}
	* mh/send.c: Use gettext markers in verbose diagnostics.

2005-03-12  Sergey Poznyakoff 

	* README: Updated. Switch to outline mode.
	* README-alpha: Updated. Switch to outline mode.
	* mailbox/mutil.c: Minor indentation fix
	* mailbox/pop/pop3_sendline.c: Do not redefine _GNU_SOURCE
	* mailbox/nntp/nntp_sendline.c: Likewise

2005-03-12  Sergey Poznyakoff 

	* lib/mailcap.c: New file. Routines for displaying MIME
	messages.
	* lib/Makefile.am: Added mailcap.c
	* mimeview/mimeview.c: Rewritten using display_stream_mailcap.
	* mail/decode.c: Implemented built-in mailcap mechanism
	* mail/Makefile.am: (mail_LDADD): Changed order of loading
	libmailutils/libmailbox
	* mimeview/Makefile.am (mimeview_LDADD): Likewise
	* doc/texinfo/programs.texi (mail): Documented variable
	mimenoask
	* po/POTFILES.in: Updated
	* examples/mta.c (header): Removed unused global
	* NEWS: Updated
	
2005-03-10  Sergey Poznyakoff

	* TODO: Updated
	* imap4d/imap4d.h (define _GNU_SOURCE): Removed. Defined
	in config.h
	* mailbox/mailcap.c (mu_mailcap_entry_get_value): Bugfix: return
	ENOENT if no matching entry is found.
	* mailbox/mutil.c (mu_true_answer_p): Ignore leading whitespace.
	* mh/mh_init.c (mh_vgetyn): Synchronize with the changes to
	mu_true_answer_p().
	* mimeview/mimeview.c: Handle --no-ask and --no-interactive (-h)
	options. Continue search for a matching entry when necessary.
	Implement 'test' and 'print' commands.
	* doc/texinfo/programs.texi (mimeview): Documented new options
	
2005-03-09  Sergey Poznyakoff

	* mimeview/mimetypes.l: Bugfix: accept ',' as OR
	* mimeview/mimetypes.y: Fixed precedences of ',' and '+'.

2005-03-08  Sergey Poznyakoff

	* TODO: Updated
	* configure.ac (DEFAULT_CUPS_CONFDIR): New variable
	* doc/texinfo/programs.texi (mimeview): Documented the program
	* mimeview/Makefile.am (AM_CFLAGS): Use DEFAULT_CUPS_CONFDIR
	* mimeview/mimeview.c (create_filter,print_exit_status)
	(get_pager): New function
	(run_mailcap): Pipe file contents to the command if its invocation
	does not contain %s.
	Use pager if `copiousoutput' is specified in mailcap

	* po/POTFILES.in: Updated
	
2005-03-08  Sergey Poznyakoff 

	TODO:121 said: "file viewer, based on the mimetypes api. I want to do
	a "v foo.blah", have it look up .blah in mime.types, and do the 
	action spec'ed in mailcap."
	So, here it goes:

	* mimeview: New directory
	* mimeview/mimetypes.y: New file
	* mimeview/mimetypes.l: New file
	* mimeview/mimeview.c: New file
	* mimeview/mimeview.h: New file
	* mimeview/Makefile.am: New file
	* mimeview/.cvsignore: New file	 

	* configure.ac: Added mimeview
	* Makefile.am: Likewise
	* doc/texinfo/programs.texi (mimeview): New section.
	(mail): Document recently added variables.
	* mailbox/mailcap.c (mu_mailcap_entry_copiousoutput): Bugfix
	
2005-03-07  Sergey Poznyakoff

	* TODO: Updated
	* NEWS: Updated
	* mail/decode.c (mail_decode): Implemented new variable
	`metamail' that turns on use of metamail program for
	displaying MIME messages.
	(run_metamail): New function
	* mailbox/mutil.c (mu_spawnvp): Minor fixes

2005-03-06  Sergey Poznyakoff 

	* NEWS: Updated
	
	* auth/sql.c: Use a uniform way of filename quoting in diagnostic
	messages.
	* frm/common.c: Likewise
	* frm/from.c: Likewise
	* imap4d/authenticate.c: Likewise
	* imap4d/login.c: Likewise
	* libsieve/actions.c: Likewise
	* libsieve/extensions/vacation.c: Likewise
	* mail/var.c: Likewise
	* mail.local/mailquota.c: Likewise
	* mail.local/main.c: Likewise
	* mail.remote/mail.remote.c: Likewise
	* mailbox/mu_argp.c: Likewise
	* messages/messages.c: Likewise
	* mh/forw.c: Likewise
	* mh/mh_ctx.c: Likewise
	* mh/mh_init.c: Likewise
	* mh/send.c: Likewise
	* movemail/movemail.c: Likewise
	* pop3d/apop.c: Likewise
	* pop3d/lock.c: Likewise
	* pop3d/user.c: Likewise
	* readmsg/readmsg.c: Likewise
	* sieve/sieve.c: Likewise
	
	* mailbox/errors (MU_ERR_NO_QUERY): Fixed wording

2005-03-05  Wojciech Polak

	* frm/Makefile.am: Removed install-exec-hook after the changes
	from 2005-03-02.

2005-03-05  Sergey Poznyakoff 

	POSIX compatibility issues in mail
	
	* mail/alt.c (mail_is_my_name): Do not check `metoo'. The
	caller is responsible for that.
	* mail/reply.c (reply0): Check for `metoo' before calling
	mail_is_my_name().
	(mail_reply): Honor `flipr' variable
	* mail/decode.c: Mark message as read and shown
	* mail/mbox.c: Likewise
	* mail/pipe.c: Likewise
	* mail/print.c: Likewise
	* mail/top.c: Likewise
	* mail/undelete.c: Likewise
	* mail/visual.c: Likewise
	* mail/from.c (mail_from0): If `showto' is set and the
	mail comes from the user that invoked the program, show
	`To:' address instead of `From:'.
	* mail/mail.c (default_setup): Added variables, required by
	POSIX: flipr, showto, bang. Added placeholders for debug,
	onehop and sendwait.
	* mail/mail.h (util_mark_read): New function
	* mail/shell.c: If `bang' is set, expand every occurrence
	of ! in argument array.
	* mail/touch.c: Rewritten in accordance with POSIX specs:
	do not mbox deleted and saved messages.
	* mail/util.c (util_mark_read): New function
	
2005-03-04  Sergey Poznyakoff  

	* mail/mail.h (MAIL_ATTRIBUTE_SHOWN): New attribute. Shows
	that the message has been displayed during the current session.
	* mail/next.c (mail_next): Rewritten in accordance with posix:
	if the current message has not been shown yet, then show
	it. Otherwise advance to the nearest next non-deleted message.
	* mail/print.c (mail_print_msg): Set MAIL_ATTRIBUTE_SHOWN after
	displaying the message
	* mail/top.c (top0): set read attribute and MAIL_ATTRIBUTE_SHOWN
	after displaying the message

2005-03-02  Sergey Poznyakoff

	* frm/Makefile.am: Build `from'
	* frm/frm.c: Moved part of code to be shared between `frm' and
	`from' to common.c
	* frm/common.c: New file
	* frm/from.c: New file
	* frm/frm.h: New file
	* mail/quit.c: Save messages that were marked for saving to mbox
	and then deleted
	* mailbox/mbox/mbox.c (mbox_scan): Store the number of messages
	into *pcount if we don't need to rescan the mailbox.

	* po/POTFILES.in: Updated

	* from/from.c: Removed
	* from/Makefile.am: Removed
	* from/.cvsignore: Removed
	* from/testsuite: Removed
	* from/testsuite/from/test.exp: Removed
	* from/testsuite/from/DISTFILES: Removed

	* configure.ac: Removed from
	* Makefile.am: Likewise
	* doc/texinfo/programs.texi: Document `from'
	
2005-02-28  Sergey Poznyakoff

	* configure.ac: Check for FriBidi
	* frm/Makefile.am: Link with libfribidi
	* frm/frm.c: Rewritten output routines using FriBidi. Arabic
	subject lines look almost OK, except that all characters are
	displayed in isolated variant. 
	* frm/testsuite/frm/test.exp: Fixed to match the new frm output.

2005-02-27  Wojciech Polak

	* frm/Makefile.am: Added install-exec-hook for creating
	the symbolic link 'from' to 'frm'.
	* from/Makefile.am: Changed bin_PROGRAMS to noinst_PROGRAMS.

2005-02-27  Sergey Poznyakoff 

	* gnulib.modules: Add mbswidth
	* frm/frm.c: Implemented -t. Changed implementation of -Q.
	Rewritten action() to correctly handle multibyte characters
	and to provide for eventual using the BIDI algorithm.
	(print_line,format_field,format_field_simple)
	(format_field_align): New functions
	(util_getcols): Measure /dev/tty if unable to open stdout.
	(to work correctly with piped output).
	(rfc2047_decode_wrapper): Cache the determined locale.
	(get_personal): Do not limit the returned string length.
	Do not attempt to decode the raw header text, since
	parse822 will skip non-ascii characters, decode the already
	obtained personal part instead.

	* mailbox/address.c (address_aget_personal)
	(address_aget_comments): Bugfix
	* sql/mysql.c: Provide place handlers for handling MySQL 4.1.x
	scrambled passwords.
	
	Update by gnulib-sync:
	
	* m4/mbrtowc.m4: New file
	* m4/mbswidth.m4: New file
	* lib/mbswidth.c: New file
	* lib/mbswidth.h: New file
	* lib/Makefile.am: Updated
	* m4/gnulib.m4: Updated

2005-02-26  Wojciech Polak

	* mh/send.c (expand_aliases): Bugfix. Do not use statically
	allocated buffer. Use header_aget_field_name() instead.
	The utility froze with header names longer than 16 bytes.

2005-02-26  Wojciech Polak

	* mailbox/url_smtp.c (_url_smtp_init): Do not reject
	an URL with user name, password, or auth method specified.
	We will use it in further ESMTP authentication.

2005-02-26  Sergey Poznyakoff

	* sql/mysql.c: Do not use any libmysql functions to
	scramble passwords: mysql people are evidently
	unable to keep this API stable.

2005-02-25  Sergey Poznyakoff 

	* NEWS: Updated
	* auth/sql.c (mu_sql_password_type): New variable
	(--sql-password-type): New command line option
	(mu_sql_getpass): New function.
	(mu_sql_authenticate): Recognize hashed, plaintext
	and mysql scrambled passwords.
	* auth/sql.h (sql_interface): new decl
	(mu_sql_expand_query): New proto.
	* imap4d/auth_gsasl.c (cb_retrieve): Fall back to SQL
	if plaintext password file is not available.
	* include/mailutils/sql.h (mu_sql_getpass)
	(mu_sql_password_type,mu_sql_expand_query):
	(mu_check_mysql_scrambled_password): New function
	* mail.local/mailquota.c: Include <auth/sql.h>. A temporary
	solution.

	* mailbox/muerror.c (mu_syslog_error_printer): Bugfix.
	* sql/mysql.c (mu_check_mysql_scrambled_password): New function.

	* mail/mail.c: Updated copyright date.
	
2005-02-25  Sergey Poznyakoff 

	* NEWS: Updated
	* include/mailutils/libsieve.h (sieve_get_identifier): New
	function.
	(sieve_arg_error): New function.
	* libsieve/actions.c: Removed spurions indications of action
	names in diagnostic messages. Sieve_error prepends them
	automatically now.
	* libsieve/tests.c: Likewise.
	* libsieve/extensions/list.c: Likewise.
	* libsieve/extensions/timestamp.c: Likewise.
	* libsieve/extensions/vacation.c: Likewise.
	* libsieve/runtime.c (instr_action,instr_test): Update
	mach->identifier.
	* libsieve/sieve.h (struct sieve_machine.identifier): New
	field.
	
	* libsieve/util.c (sieve_value_create): Bugfix.
	(sieve_error): Prepend action or test identifier to the diagnostic
	message.
	(sieve_arg_error): New function.
	
	* po/POTFILES.in: Updated
	
2005-02-24  Sergey Poznyakoff

	Update by gnulib-sync.
	
	* lib/stdbool.h: New file
	* m4/unlocked-io.m4: New file
	* m4/argp.m4: Updated
	* m4/gnulib.m4: Updated
	* mailbox/Makefile.am: Updated

2005-02-23  Sergey Poznyakoff  

	Synchronized with the recent gnulib. Provide a way to
	facilitate further synchronizations.
	
	* gnulib.modules: New file
	* scripts/gnulib-sync: New file. Script for synchronizing
	mailutils tree with gnulib.
	* configure.ac: Updated to use new gnulib files.
	* m4/mu_libobj.m4 (MU_LIBSOURCES,MU_REPLACE_FUNCS): New defun.
	(MU_CHECK_FUNCS): Removed.

	* Makefile.am: Remove headers/
	* frm/frm.c (parse_opt): Bugfix. Was using optarg instead of arg
	* mail.local/main.c: Likewise
	* pop3d/popauth.c: Likewise
	* readmsg/readmsg.c: Likewise
	* include/mailutils/argp.h: Include errno.h
	* include/mailutils/gnu/Makefile.am: Remove posix/regex.h
	* libsieve/argp.c (sieve_argp_option): Use N_()
	* mailbox/message.c: Use new md5 calls
	* mailbox/pop/mbox.c: Likewise
	* mailbox/pop/pop3_apop.c: Likewise
	* mailbox/message.c: Likewise
	* mh/mh_error.c: Include mailutils/argp.h
	* mh/mh_getopt.c: Include string.h
	* pop3d/Makefile.am (INCLUDES): Add $(top_srcdir)/mailbox
	* pop3d/pop3d.h: Minor fix

	* lib/xalloc_die.c: New file
	* m4/gnulib.m4: New file

	* headers/.cvsignore
	* headers/Makefile.am
	* headers/getopt.h
	* headers/regex.h
	* headers/argp.h
	* headers/posix/.cvsignore
	* headers/posix/Makefile.am
	* headers/posix/regex.h
	* headers/posix

	Update by gnulib-sync. 

	* lib/asprintf.c: New file 
	* mailbox/alloca.h: New file
	* mailbox/argp.h: New file
	* mailbox/getopt.h: New file
	* lib/allocsa.c: Added to the repository
	* lib/allocsa.h: Added to the repository
	* lib/allocsa.valgrind: Added to the repository
	* lib/asprintf.c: Updated
	* lib/error.c: Added to the repository
	* lib/error.h: Updated
	* lib/exit.h: Added to the repository
	* lib/exitfail.c: Added to the repository
	* lib/exitfail.h: Added to the repository
	* lib/fnmatch.c: Updated
	* lib/fnmatch_.h: Added to the repository
	* lib/fnmatch_loop.c: Added to the repository
	* lib/getpass.c: Updated
	* lib/getpass.h: Added to the repository
	* lib/malloc.c: Updated
	* lib/obstack.c: Updated
	* lib/obstack.h: Updated
	* lib/realloc.c: Updated
	* lib/setenv.c: Updated
	* lib/setenv.h: Added to the repository
	* lib/snprintf.c: Updated
	* lib/snprintf.h: Updated
	* lib/stdbool_.h: Added to the repository
	* lib/unsetenv.c: Added to the repository
	* lib/vasprintf.c: Updated
	* lib/vasprintf.h: Added to the repository
	* lib/xalloc.h: Updated
	* lib/xmalloc.c: Updated
	* lib/xsize.h: Added to the repository
	* lib/xstrtol.c: Updated
	* lib/xstrtol.h: Updated
	* lib/xstrtoul.c: Added to the repository
	* m4/alloca.m4: Added to the repository
	* m4/allocsa.m4: Added to the repository
	* m4/argp.m4: Added to the repository
	* m4/eealloc.m4: Added to the repository
	* m4/eoverflow.m4: Added to the repository
	* m4/error.m4: Added to the repository
	* m4/exitfail.m4: Added to the repository
	* m4/extensions.m4: Added to the repository
	* m4/fnmatch.m4: Added to the repository
	* m4/getline.m4: Added to the repository
	* m4/getndelim2.m4: Added to the repository
	* m4/getopt.m4: Updated
	* m4/getpass.m4: Added to the repository
	* m4/gettext_gl.m4: Added to the repository
	* m4/glibc21_gl.m4: Added to the repository
	* m4/iconv.m4: Added to the repository
	* m4/intmax.m4: Added to the repository
	* m4/intmax_t.m4: Added to the repository
	* m4/intmax_t.m4: Added to the repository
	* m4/inttypes.m4: Added to the repository
	* m4/inttypes_h_gl.m4: Added to the repository
	* m4/inttypes_h_gl.m4: Added to the repository
	* m4/lib-ld_gl.m4: Added to the repository
	* m4/lib-prefix_gl.m4: Added to the repository
	* m4/longdouble.m4: Added to the repository
	* m4/longdouble.m4: Added to the repository
	* m4/longlong_gl.m4: Added to the repository
	* m4/longlong_gl.m4: Added to the repository
	* m4/mailbox-link.m4: Added to the repository
	* m4/mbstate_t.m4: Added to the repository
	* m4/md5.m4: Added to the repository
	* m4/mempcpy.m4: Added to the repository
	* m4/nls.m4: Added to the repository
	* m4/obstack.m4: Added to the repository
	* m4/onceonly.m4: Added to the repository
	* m4/onceonly.m4: Added to the repository
	* m4/po_gl.m4: Added to the repository
	* m4/printf-posix.m4: Added to the repository
	* m4/progtest.m4: Added to the repository
	* m4/regex.m4: Updated
	* m4/restrict.m4: Added to the repository
	* m4/setenv.m4: Added to the repository
	* m4/signed.m4: Added to the repository
	* m4/size_max.m4: Added to the repository
	* m4/size_max.m4: Added to the repository
	* m4/snprintf.m4: Added to the repository
	* m4/ssize_t.m4: Added to the repository
	* m4/stdbool.m4: Added to the repository
	* m4/stdint_h_gl.m4: Added to the repository
	* m4/stdint_h_gl.m4: Added to the repository
	* m4/strcase.m4: Added to the repository
	* m4/strchrnul.m4: Added to the repository
	* m4/strerror_r.m4: Added to the repository
	* m4/strndup.m4: Added to the repository
	* m4/strnlen.m4: Added to the repository
	* m4/strtok_r.m4: Added to the repository
	* m4/sysexits.m4: Added to the repository
	* m4/uint32_t.m4: Added to the repository
	* m4/uintmax_t_gl.m4: Added to the repository
	* m4/uintmax_t_gl.m4: Added to the repository
	* m4/ulonglong_gl.m4: Added to the repository
	* m4/ulonglong_gl.m4: Added to the repository
	* m4/vasnprintf.m4: Added to the repository
	* m4/vasprintf.m4: Added to the repository
	* m4/vsnprintf.m4: Added to the repository
	* m4/wchar_t.m4: Added to the repository
	* m4/wint_t.m4: Added to the repository
	* m4/xalloc.m4: Added to the repository
	* m4/xsize.m4: Added to the repository
	* m4/xsize.m4: Added to the repository
	* m4/xstrtol.m4: Added to the repository
	* mailbox/alloca.c: Added to the repository
	* mailbox/alloca_.h: Added to the repository
	* mailbox/argp-ba.c: Updated
	* mailbox/argp-eexst.c: Updated
	* mailbox/argp-fmtstream.c: Updated
	* mailbox/argp-fmtstream.h: Updated
	* mailbox/argp-fs-xinl.c: Updated
	* mailbox/argp-help.c: Updated
	* mailbox/argp-namefrob.h: Updated
	* mailbox/argp-parse.c: Updated
	* mailbox/argp-pv.c: Updated
	* mailbox/argp-pvh.c: Updated
	* mailbox/argp-xinl.c: Updated
	* mailbox/argp.h: Updated
	* mailbox/asnprintf.c: Added to the repository
	* mailbox/getline.c: Updated
	* mailbox/getline.h: Updated
	* mailbox/getndelim2.c: Added to the repository
	* mailbox/getndelim2.h: Added to the repository
	* mailbox/getopt.c: Updated
	* mailbox/getopt1.c: Updated
	* mailbox/getopt_.h: Added to the repository
	* mailbox/getopt_int.h: Added to the repository
	* mailbox/gettext.h: Added to the repository
	* mailbox/md5.c: Updated
	* mailbox/md5.h: Updated
	* mailbox/mempcpy.c: Added to the repository
	* mailbox/mempcpy.h: Added to the repository
	* mailbox/minmax.h: Added to the repository
	* mailbox/printf-args.c: Added to the repository
	* mailbox/printf-args.h: Added to the repository
	* mailbox/printf-parse.c: Added to the repository
	* mailbox/printf-parse.h: Added to the repository
	* mailbox/regex.c: Updated
	* mailbox/regex.h: Added to the repository
	* mailbox/strcase.h: Added to the repository
	* mailbox/strcasecmp.c: Added to the repository
	* mailbox/strchrnul.c: Updated
	* mailbox/strchrnul.h: Added to the repository
	* mailbox/strncasecmp.c: Added to the repository
	* mailbox/strndup.c: Updated
	* mailbox/strndup.h: Added to the repository
	* mailbox/strnlen.c: Updated
	* mailbox/strtok_r.c: Updated
	* mailbox/strtok_r.h: Added to the repository
	* mailbox/sysexit_.h: Added to the repository
	* mailbox/vasnprintf.c: Added to the repository
	* mailbox/vasnprintf.h: Added to the repository
	* mailbox/vsnprintf.c: Added to the repository
	* mailbox/vsnprintf.h: Added to the repository
	* mailbox/xsize.h: Added to the repository
	* scripts/config.rpath: Added to the repository
	
2005-02-21  Sergey Poznyakoff

	* libsieve/actions.c: Further unification of diagnostic style.
	* libsieve/argp.c: Likewise.
	* mail/mail.c: Likewise.
	* mail.local/mailquota.c: Likewise.
	* mailbox/mu_argp.c: Likewise.
	* mh/forw.c: Likewise.
	* mh/refile.c: Likewise.
	* mh/repl.c: Likewise.
	* mh/send.c: Likewise.
	* sieve/sieve.c: Likewise.
	* mail.local/main.c: Add debug flag 'i' for symmetry with sieve

2005-02-16  Sergey Poznyakoff

	Fix a long-standing issue in mailbox and imap4d:
	be able to handle a case when a third-party program deletes
	some messages in the mailbox being open by imap4d (imap4d
	cannot and should not lock it, hence the possibility).
	
	* mailbox/amd.c (amd_pool_flush): New function.
	(amd_close): Call amd_pool_flush()
	and initialize amd data so that subsequent amd_open() works
	properly.
	(amd_destroy): Call amd_pool_flush.
	* mailbox/mbox/mbox.c (mbox_close): Initialize all private data
	so that subsequent mailbox_open() works properly.
	(mbox_is_updated): Updated comment

	* imap4d/bye.c (imap4d_bye0): Handle ERR_MAILBOX_CORRUPTED
	* imap4d/imap4d.h (ERR_MAILBOX_CORRUPTED): New error code.
	(imap4d_set_observer): New function
	* imap4d/select.c (imap4d_select0): Call imap4d_set_observer()
	* imap4d/sync.c (imap4d_set_observer): New function.
	(imap4d_sync): Check if the mailbox was shrunk (in libmailbox
	terms 'corrupted'). If so, reopen it and issue untagged alert.

2005-02-16  Sergey Poznyakoff

	* imap4d/auth_gsasl.c (cb_validate): Provide normal authentication
	for PLAIN and LOGIN mechanisms.

2005-02-11  Sergey Poznyakoff 

	* imap4d/unsubscribe.c: Rewritten. Thanks Andrew Barnes
	for reporting the bug.

2005-02-03  Sergey Poznyakoff

	* guimb/main.c (parse_opt): Use arg instead of optarg.
	Thanks James Dolter for reporting.

2005-01-17  Sergey Poznyakoff 

	* mailbox/parsedate.y (mu_parse_date): Initialize struct tm
	* mailbox/nntp/folder.c (nntp_folder_open): Do not use alloca
	* mailbox/nntp/mbox.c: Do not use alloca
	
	* doc/texinfo/Makefile.am: Rewritten to use gendocs.sh
	* doc/texinfo/index.html.in: Removed
	* doc/texinfo/gendocs_template: New file
	* doc/texinfo/fdl.texi: Fixed sectioning
	* doc/texinfo/programs.texi: Likewise.
	* doc/texinfo/url.texi: Likewise.
	* doc/texinfo/mailutils.texi: Fixed sectioning. Print table
	of contents after summary page, as suggested by GNU standards.

2005-01-05  Sergey Poznyakoff 

	* configure.ac (AUTHLIBS_DEPENDENCY,SQLLIB_DEPENDENCY): New
	variables. I still hope to find a better solution, though
	(see comment to imap4d_DEPENDENCIES in imap4d/Makefile.am).
	New SQL driver: ODBC (--with-sql=odbc or --with-odbc)
	Raised version number to 0.6.1
	* NEWS: Updated
	* README: Updated
	* auth/Makefile.am: Use explicit PROG_DEPENDENCIES
	* imap4d/Makefile.am: Likewise.
	* pop3d/Makefile.am: Likewise.
	
	* include/mailutils/sql.h (mu_sql_dispatch.errstr): Changed
	return type to const char*
	* sql/mysql.c: Likewise
	* sql/postgres.c: Likewise
	* sql/sql.c: Likewise
	
	* sql/odbc.c: New file. ODBC SQL driver.	
	* sql/Makefile.am: Add odbc.c
	
	* mail/testsuite/mail/read.exp: Updated to match recent changes
	in diagnostic messages.

2005-01-04  Sergey Poznyakoff 

	* libsieve/extensions/vacation.c: New action. Based on
	guimb/scm/vacation.scm and on ideas and code fragments from
	Felix Egli <fegli@goldnet.ch>.
	* libsieve/extensions/Makefile.am: Add vacation
	* include/mailutils/libsieve.h (sieve_get_message_sender)
	(stream_printf): New prototypes.
	* THANKS: Add Felix Egli

2005-01-04  Sergey Poznyakoff 

	* auth/sql.c: Revise error messages for accordance with GNU standards:
	begin messages with a capital letter, unless they are prefixed
	with `file:line:' or their exact look is important due to
	compatibility reasons. Do not end messages with a period.
	Avoid using contracted negations
	* auth/tls.c: Likewise
	* comsat/action.c: Likewise
	* comsat/cfg.c: Likewise
	* comsat/comsat.c: Likewise
	* dotlock/dotlock.c: Likewise
	* frm/frm.c: Likewise
	* from/from.c: Likewise
	* guimb/collect.c: Likewise
	* guimb/main.c: Likewise
	* guimb/util.c: Likewise
	* imap4d/auth_gss.c: Likewise
	* imap4d/imap4d.c: Likewise
	* imap4d/list.c: Likewise
	* imap4d/signal.c: Likewise
	* imap4d/util.c: Likewise
	* libsieve/actions.c: Likewise
	* libsieve/comparator.c: Likewise
	* libsieve/prog.c: Likewise
	* libsieve/runtime.c: Likewise
	* libsieve/sieve.l: Likewise
	* libsieve/tests.c: Likewise
	* libsieve/util.c: Likewise
	* mail/alt.c: Likewise
	* mail/copy.c: Likewise
	* mail/decode.c: Likewise
	* mail/file.c: Likewise
	* mail/if.c: Likewise
	* mail/mail.c: Likewise
	* mail/mailline.c: Likewise
	* mail/quit.c: Likewise
	* mail/send.c: Likewise
	* mail/source.c: Likewise
	* mail/unalias.c: Likewise
	* mail/util.c: Likewise
	* mail/var.c: Likewise
	* mail/z.c: Likewise
	* mail.local/mailquota.c: Likewise
	* mail.local/main.c: Likewise
	* mail.local/script.c: Likewise
	* mailbox/mailutils-config.c: Likewise
	* mailbox/mu_argp.c: Likewise
	* messages/messages.c: Likewise
	* mh/fmtcheck.c: Likewise
	* mh/folder.c: Likewise
	* mh/forw.c: Likewise
	* mh/inc.c: Likewise
	* mh/mark.c: Likewise
	* mh/mh_argp.c: Likewise
	* mh/mh_ctx.c: Likewise
	* mh/mh_fmtgram.y: Likewise
	* mh/mh_format.c: Likewise
	* mh/mh_init.c: Likewise
	* mh/mh_list.c: Likewise
	* mh/mh_msgset.c: Likewise
	* mh/mh_whom.c: Likewise
	* mh/mhl.c: Likewise
	* mh/mhn.c: Likewise
	* mh/pick.c: Likewise
	* mh/refile.c: Likewise
	* mh/repl.c: Likewise
	* mh/rmf.c: Likewise
	* mh/scan.c: Likewise
	* mh/send.c: Likewise
	* movemail/movemail.c: Likewise
	* pop3d/apop.c: Likewise
	* pop3d/extra.c: Likewise
	* pop3d/lock.c: Likewise
	* pop3d/pop3d.c: Likewise
	* pop3d/popauth.c: Likewise
	* pop3d/signal.c: Likewise
	* readmsg/readmsg.c: Likewise
	* sieve/sieve.c: Likewise

	* mail/testsuite/mail/read.exp: Updated to match new output format
	of the decode command

2005-01-04  Sergey Poznyakoff

	* mailbox/errors: Add gettext markers
	* po/POTFILES.in: Depend on mailbox/errors directly
	* scripts/generr.awk: Assume textual messages are
	already quoted.

2005-01-02  Jordi Mallach

	* doc/texinfo/programs.texi: Typo fix.

2005-01-01  Sergey Poznyakoff

	Generate automatically errno.h and muerrno.c from a single
	plain text file. This facilitates maintaining of mailutils-
	specific error codes.
	
	* include/mailutils/errno.h: Removed
	* include/mailutils/errno.hin: New file
	* include/mailutils/Makefile.am: Generate errno.h
	* mailbox/muerrno.c: Removed
	* mailbox/muerrno.cin: New file
	* mailbox/errors: New file
	* mailbox/Makefile.am: Generate muerrno.c
	* scripts/generr.awk: New file
	* scripts/Makefile.am: Add generr.awk

	Fix a recently spotted problem in the testsuite:
	
	* imap4d/testsuite/imap4d/list.exp: Use new -sort flag to
	avoid dependency on any particular ordering. Also corrected
	expected outputs due to inclusion of two new mailboxes quite
	some time ago (went unnoticed so far due to fuzzy matching
	technique + ordering-dependent output).
	* imap4d/testsuite/lib/imap4d.exp (imap4d_test): New flag -sort
	toggles on sorting of untagged responces. Notice that -sort
	and -re are mutually exclusive.
	* testsuite/lib/mailutils.exp (mu_test): Upvar expect_out	
	
2004-12-28  Wojciech Polak

	Fixed displaying mail headers in different languages.

	* mail/util.c (util_rfc2047_decode): Fixed reading
	a language environment variable.
	* frm/frm.c (rfc2047_decode_wrapper): Likewise.
	(util_getcols): Imported function from mail/util.c.
	(action): Try to print only one line per message.
	* from/from.c (rfc2047_decode_wrapper): Fixed.

2004-12-23  Sergey Poznyakoff

	* configure.ac: Version 0.6
	* NEWS: Likewise
	* README: Updated
	* auth/gsasl.c: Updated for GSASL >=0.2.3. Previous versions
	won't work.
	* auth/lbuf.c (_auth_lb_writelines): Bugfix
	* mail.local/mail.local.h (USE_MAILBOX_QUOTAS): New define
	* mail.local/mailquota.c: Use USE_MAILBOX_QUOTAS.
	(sql_retrieve_quota): Assume unlimited quotas for empty fields.
	* mail.local/main.c: Use USE_MAILBOX_QUOTAS.
	
2004-12-17  Sergey Poznyakoff

	* configure.ac: Do not allow to specify modules more than once
	* auth/sql.c (sql_escape_string): Escape ocurrences of ' and "
	in string.
	(mu_sql_expand_query): prevent possible sql injection
	* mail.local/mailquota.c (sql_retrieve_quota): Allow for NULL
	columns
	* sql/postgres.c (destroy): Bugfix: do not free pgconn

2004-12-05  Sergey Poznyakoff  

	* Makefile.am: Added sql/
	* configure.ac: Rewritten sql-related part. Allow to specify
	several SQL libraries simultaneously.

	* sql: New directory
	* sql/Makefile.am: New file
	* sql/.cvsignore: New file
	* sql/sql.c: New file
	* sql/mysql.c: New file
	* sql/postgres.c: New file
	
	* auth/mysql.c: Removed
	* auth/pgsql.c: Removed
	* auth/sql.c: Rewritten using general SQL interface.
	* auth/Makefile.am: Removed mysql.c and pgsql.c
	* include/mailutils/sql.h: New file
	* include/mailutils/Makefile.am: Added sql.h

	* include/mailutils/errno.h: Added new error codes.
	* mailbox/muerrno.c: Likewise.
	
	* mail.local/mail.local.h (quota_query): New variable
	* mail.local/mailquota.c: Retrieve quotas from SQL database
	* mail.local/main.c: New option --quota-query

	* scripts/sqlmod.sh: New file
	* scripts/Makefile.am: Added sqlmod.sh

	* doc/texinfo/programs.texi: Documented mailbox quotas

	* NEWS: Updated
	* README: Updated
	* po/POTFILES.in: Updated

2004-12-02  Sergey Poznyakoff

	* doc/texinfo/programs.texi: Documented movemail.

2004-11-18  Sergey Poznyakoff

	* mailbox/imap/folder.c (authenticate_imap_select): Use
	ENOSYS as the default status value to allow MU_ERR_AUTH_FAILURE
	to be propagated back to the caller.
	(imap_parse): Display "NO/Bad Tagged" error diagnostics only if
	status != MU_ERR_AUTH_FAILURE. Should we display it at all?
	* movemail/movemail.c: Emacs-iteraction mode (--emacs)

2004-11-17  Wojciech Polak

	Added initial version of `libmu_cpp',
	a C++ wrapper for Mailutils.

	* libmu_cpp: Added new directory.
	* libmu_cpp/address.cc: New file.
	* libmu_cpp/filter.cc: Likewise.
	* libmu_cpp/iterator.cc: Likewise.
	* libmu_cpp/mailbox.cc: Likewise.
	* libmu_cpp/mailer.cc: Likewise.
	* libmu_cpp/message.cc: Likewise.
	* libmu_cpp/stream.cc: Likewise.
	* libmu_cpp/header.cc: Likewise.
	* libmu_cpp/list.cc: Likewise.
	* libmu_cpp/mailcap.cc: Likewise.
	* libmu_cpp/pop3.cc: Likewise.
	* libmu_cpp/url.cc: Likewise.
	* libmu_cpp/Makefile.am: Likewise.

	* include/mailutils/cpp: Added new directory.
	* include/mailutils/cpp/address.h: New file.
	* include/mailutils/cpp/error.h: Likewise.
	* include/mailutils/cpp/header.h: Likewise.
	* include/mailutils/cpp/list.h: Likewise.
	* include/mailutils/cpp/mailcap.h: Likewise.
	* include/mailutils/cpp/mailutils.h: Likewise.
	* include/mailutils/cpp/message.h: Likewise.
	* include/mailutils/cpp/stream.h: Likewise.
	* include/mailutils/cpp/filter.h: Likewise.
	* include/mailutils/cpp/iterator.h: Likewise.
	* include/mailutils/cpp/mailbox.h: Likewise.
	* include/mailutils/cpp/mailer.h: Likewise.
	* include/mailutils/cpp/pop3.h: Likewise.
	* include/mailutils/cpp/url.h: Likewise.
	* include/mailutils/cpp/Makefile.am: Likewise.

	* examples/cpp/addr.cc: New file.
	* examples/cpp/http.cc: Likewise.
	* examples/cpp/listop.cc: Likewise.
	* examples/cpp/sfrom.cc: Likewise.
	* examples/cpp/iconv.cc: Likewise.
	* examples/cpp/mailcap.cc: Likewise.
	* examples/cpp/murun.cc: Likewise.
	* examples/cpp/url-parse.cc: Likewise.
	* examples/cpp/Makefile.am: Likewise.
	
2004-11-15  Wojciech Polak

	* examples/config: New directory.
	* examples/cpp: Likewise.
	* examples/scheme: Likewise.
	* examples/config/Makefile.am: New file.
	* examples/cpp/Makefile.am: Likewise.
	* examples/scheme/Makefile.am: Likewise.

	* examples/comsat.conf: Moved to config/.
	* examples/dot.biffrc: Likewise.
	* examples/gnu-imap4d.pam: Likewise.
	* examples/gnu-pop3d.pam: Likewise.
	* examples/mailutils.rc: Likewise.
	* examples/reply.scm: Moved to scheme/.
	* examples/Makefile.am: Updated.
	* configure.ac: Updated.

2004-11-15  Sergey Poznyakoff 

	* imap4d/imap4d.c: New option --tls-required: do not allow
	authentication until TLS negotiation succeeds.
	* imap4d/authenticate.c (imap4d_authenticate): Do not proceed if
	tls_required is set.
	* imap4d/login.c (imap4d_login): Likewise.
	* imap4d/imap4d.h (IMAP_CAPA_STARTTLS,IMAP_CAPA_LOGINDISABLED)
	(IMAP_CAPA_XTLSREQUIRED): New defines
	* imap4d/starttls.c (imap4d_starttls): Clear tls_required upon
	successfull TLS handshake.
	(starttls_init): Use IMAP_CAPA_STARTTLS instead of hardcoded
	literal.
	* include/mailutils/header.h (MU_HEADER_X_EXPIRE_TIMESTAMP): New
	define.

	* pop3d/pop3d.c: New option --tls-required: do not allow
	authentication until TLS negotiation succeeds.
	New option --delete-expired: delete expired messages before
	closing the mailbox.
	* pop3d/capa.c (pop3d_capa): Announce XTLSREQUIRED if appropriate
	* pop3d/expire.c (expire_mark_message): New function
	* pop3d/pop3d.h: New declarations.
	* pop3d/quit.c (pop3d_fix_mark): Use expire_mark_message to
	process expired messages. Apart from the new functionality, it
	also fixes a bug: len was incorrectly used as a replace indicator
	in header_set_value, thus each retrieval of the message was
	resetting its expiration date.
	
	* pop3d/stls.c (pop3d_stls): Set state to AUTHORIZATION upon
	successful completion of TLS negotiation.

	* configure.ac: Raised version number to 0.5.1
	* NEWS: Entry for 0.5.1

2004-11-03  Sergey Poznyakoff 

	* dotlock/dotlock.c: Removed -T option (CAN-2004-0984)

2004-10-26  Sergey Poznyakoff

	* imap4d/store.c (imap4d_store0): Send \r\n at the end of
	the unsolicited response.

2004-09-18  Sergey Poznyakoff 

	* configure.ac: Bugfix
	* mailbox/mime.c (_mime_munge_content_header): Bugfix

2004-08-31  Wojciech Polak

	* mailbox/file_stream.c (prog_stream_create): Changed type
	of the second argument to const char*.
	(filter_prog_stream_create): Likewise.
	(_prog_stream_create): Changed type of the third argument
	to const char*.
	* include/mailutils/stream.h (prog_stream_create): Changed
	type of the second argument to const char*.
	(filter_prog_stream_create): Likewise.
	* doc/texinfo/stream.texi: Updated.

	* configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.14.1.

2004-08-24  Sergey Poznyakoff

	* mail/util.c (util_do_command): Fixed coredump on unparseable
	input strings.
	* THANKS: Added Dan Jacobson

2004-08-20  Sergey Poznyakoff 

	* include/mailutils/guile.h (MU_SCM_SYMBOL_VALUE): New define
	(_mu_scm_mailer,_mu_scm_debug): Removed externs.
	* include/mailutils/list.h (list_set_destroy_item): Use __PMT in
	nested declarations.
	* libmu_scm/mu_message.c: Properly access mu-mailer and mu-message
	values.

2004-08-11  Sergey Poznyakoff

	* mail/send.c (mail_send0): Fixed coredump on reading a
	single escape char.

2004-08-08  Sergey Poznyakoff

	* headers/argp.h: Protect typedef int error_t by an additional
	#ifndef. Thanks Alex S. Moore <asmoore@edge.net> for helping
	find out the problem.

2004-08-07  Sergey Poznyakoff  

	* Makefile.am: Raised automake requirements to version
	1.8.5
	* examples/nntpclient.c: Minor fixes.
	* imap4d/Makefile.am (INCLUDES): Added -Imailbox
	* imap4d/imap4d.h: Added missing includes
	* include/mailutils/nls.h [!ENABLE_NLS]: Define gettext()
	* include/mailutils/nntp.h: Minor changes. The screen is 80x24!
	* mailbox/locker.c (_locker_lock_dotlock): Make sure the lock file
	is writable for the owner.
	* mailbox/imap/folder.c (authenticate_imap_sasl_anon): Use
	auth_state instead of state. Possibly this was a typo...
	* mailbox/include/imap0.h (struct _f_imap.capac): Changed
	type to int.
	* mailbox/maildir/mbox.c (maildir_gethostname): Fixed a gross
	memory allocation bug.

	* mailbox/message.c: Minor changes.
	* mailbox/mbox/url.c: Likewise.
	* mailbox/nntp/folder.c: Likewise.
	* mailbox/nntp/mbox.c: Likewise.
	* mailbox/nntp/nntp_article.c: Likewise.
	* mailbox/nntp/nntp_connect.c: Likewise.
	* mailbox/nntp/nntp_date.c: Likewise.
	* mailbox/nntp/nntp_head.c: Likewise.
	* mailbox/nntp/nntp_ihave.c: Likewise.
	* mailbox/nntp/nntp_post.c: Likewise.

	* scripts/guile-1.6/guile-doc-snarf: Bugfix. Always use $AWK.

2004-08-06  Sergey Poznyakoff

	* include/mailutils/daemon.h: Include types.h

2004-07-07  Sergey Poznyakoff

	* libsieve/extensions/spamd.c (decode_float): Return
	signed long value, as SpamAssassin scores can be negative.
	(spamd_test): Updated accordingly

2004-07-05  Sergey Poznyakoff

	* include/mailutils/registrar.h (mu_register_extra_formats): New
	macro.
	(mu_register_all_formats): Call mu_register_extra_formats()
	* mailbox/mu_argp.c (mu_conf_option): Added ENABLE_NNTP
	* mailbox/nntp/Makefile.am: Add nntp0.h
	* mh/Makefile.am: Added libmu_nntp.la
	* readmsg/readmsg.c (main): Call mu_register_extra_formats()

2004-07-05  Sergey Poznyakoff 

	* include/mailutils/registrar.h (mu_register_all_mbox_formats):
	Removed nntp_record. It is not a *mailbox* format.
	* mailbox/mailutils-config.c: Added mu_nntp
	
	* mailbox/include/iterator0.h (_iterator.getitem): Changed
	declaration. There's no use passing a pointer to the const
	location, since the function *must* assign to it anyway.
	* include/mailutils/iterator.h (iterator_set_getitem): Changed
	declaration
	* mailbox/iterator.c (iterator_set_getitem): Changed
	declaration
	(iterator_current): Additional typecast on pitem
	
	* mailbox/list.c: Updated declaration of getitem method.
	* mailbox/nntp/nntp_iterator.c: Likewise
	* mailbox/pop/pop3_iterator.c: Likewise
	
	* mailbox/mailbox.c: Include <list.h>
	* mailbox/mailer.c: Likewise

2004-07-05  Alain Magloire

	* configure.ac: enable NNTP support.

	* example/Makefile.am: Enable NNTP.
	* frm/Makefile.am: Enable NNTP.
	* from/Makefile.am: Enable NNTP.
	* messages/Makefile.am: Enable NNTP.
	* readmsg/Makefile.am: Enable NNTP.
	* guimb/Makefile.am: Enable NNTP.
	* mail/Makefile.am: Enable NNTP.
	* sieve/Makefile.am: Enable NNTP.

	* imap4d/Makefile.am: Put @AUTHLIBS@ before libmailbox.a (failed
	on cygwin if not).
	* pop3d/Makefile.am: Put @AUTHLIBS@ before libmailbox.a (failed on
	cygwin if not).
	* mail.local/Makefile.am: Put @AUTHLIBS@ before libmailbox.a
	(failed on cygwin if not).

	* mailbox/stream.c (stream_wait): Bugfix.  If we buffer return
	true if the cache still	have data.

	* include/mailutils/nntp.h: Define the default NNTP port number.
	* include/mailutils/pop3.h: Define the default POP3 port number.
	* include/mailutils/registrar.h: Enable NNTP.

	* mailbox/nntp/folder.c: New file.
	* mailbox/nntp/mbox.c: New file.
	* mailbox/nntp/url.c: New file.
	* mailbox/nntp/Makefile.am: Updated.

2004-07-03  Sergey Poznyakoff

	* mailbox/list.c (list_data_dup): Bugfix: *ptr was not assigned.
	* doc/texinfo/muint.texi: Automake does	not allow two independent
	texi sources to include the same file (version.texi, in this
	case). What a stupid lossage! However it handles all files whose
	name matches "vers*.texi" as version.texi, which allows to
	override the bug: include vers-muint.texi instead of version.texi.

2004-07-01  Sergey Poznyakoff

	* include/mailutils/iterator.h (iterator_current)
	(iterator_set_getitem): Changed proto
	(iterator_get_list): Removed.
	* mailbox/include/iterator0.h (struct _iterator.getitem): Changed
	declaration.
	* mailbox/iterator.c (iterator_current)
	(iterator_set_getitem): Changed declaration
	* mailbox/list.c (getitem): Changed declaration

	* mailbox/rfc2047.c (rfc2047_decode): Fixed buffer
	handling

	* examples/mta.c: Minor fix
	* examples/nntpclient.c: Fixed printf formats
	(com_newgroups,com_newnews): Variable declarations are only allowed
	before the statements.

	* mailbox/nntp/nntp_article.c: Fixed printf formats
	* mailbox/nntp/nntp_body.c: Likewise
	* mailbox/nntp/nntp_head.c: Likewise

	* mailbox/nntp/nntp_iterator.c: Added missing include
	(nntp_itr_getitem): Changed declaration

	* mailbox/pop/pop3_iterator.c (pop3_itr_getitem): Changed
	declaration

2004-06-30  Alain Magloire

	* configure.ac: Add nntp directory.
	* doc/rfc/pop3.texit: add new API.

	* mailbox/Makefile.am: Add nntp directory.

	* mailbox/nntp/Makefile.am: Add new files.
	* mailbox/nntp/nntp_iterator.c: New file.
	* mailbox/nntp/nntp_list_active.c: Use the an iterator_t instead of a lis_t..
	* mailbox/nntp/nntp_list_distribpats.c: instead of a lis_t. file.
	* mailbox/nntp/nntp_list_times.c: instead of a lis_t. file.
	* mailbox/nntp/nntp_list_newgroups.c: instead of a lis_t. file.
	* mailbox/nntp/nntp_list_newnews.c: instead of a lis_t. file.

	* mailbox/pop3/Makefile.am: Add new files.
	* mailbox/pop3/pop3_iterator.c: New file.
	* mailbox/pop3/pop3_capa.c: instead of a lis_t. file.
	* mailbox/pop3/pop3_lista.c: instead of a lis_t. file.
	* mailbox/pop3/pop3_uidla.c: instead of a lis_t. file.

	* include/mailutils/Makefile.am: Add nntp.h and pop3.h.
	* include/mailutils/nntp.h: Add new declarations.
	* include/mailutils/sys/Makefile.am: Add nntp and pop3.hh
	* include/mailutils/sys/nntp.h: Add new declarations.
	* include/mailutils/pop3.h: NAdd new declarations.

	* example/Makefile.am: Adusted to new API.
	* example/nntpclient.c: Adusted to new API.
	* example/pop3client.c: Adusted to new API.
	* example/.cvsignore: Add nntpclient.

2004-06-30  Alain Magloire

	* mailbox/list.c (list_get_iterator): Bug fix, wrong size for calloc()
	(list_data_dup): Copy the elements.

2004-06-30  Sergey Poznyakoff

	* libsieve/extensions/spamd.c (spamd_shutdown): Bugfix

2004-06-29  Alain Magloire

	Continuing the framework for NNTP support

	* mailbox/nntp/.cvsignore: New file.
	* mailbox/nntp/nntp_help.c: New file.
	* mailbox/nntp/nntp_ihave.c: New file.
	* mailbox/nntp/nntp_list_active.c: New file.
	* mailbox/nntp/nntp_list_distribpats.c: New file.
	* mailbox/nntp/nntp_list_distributions.c: New file.
	* mailbox/nntp/nntp_list_newsgroups.c: New file.
	* mailbox/nntp/nntp_list_times.c: New file.
	* mailbox/nntp/nntp_newgroups.c: New file.
	* mailbox/nntp/nntp_newnews.c: New file.
	* mailbox/nntp/nntp_post.c: New file.

	* mailbox/nntp/nntp_article.c: implementation.
	* mailbox/nntp/nntp_body.c: implementation.
	* mailbox/nntp/nntp_connect.c: implementation.
	* mailbox/nntp/nntp_date.c: implementation.
	* mailbox/nntp/nntp_destroy.c: implementation.
	* mailbox/nntp/nntp_group.c: implementation.
	* mailbox/nntp/nntp_head.c: implementation.
	* mailbox/nntp/nntp_list_extensions.c: implementation.
	* mailbox/nntp/nntp_stat.c: implementation.
	* mailbox/nntp/nntp_stream.c: implementation.

	* include/mailutils/nntp.h: Declarations.
	* include/mailutils/sys/nntp.h: Declarations.

	* examples/nntpclient.c: Adujsted.
	* examples/pop3client.c: Minor bug fixes.

2004-06-28  Sergey Poznyakoff

	* mailbox/filter_iconv.c (internal_icvt_read)
	(copy_pass): Fixed mistyped conditions.

	* mailbox/include/iterator0.h (struct _iterator): rewritten as
	a general-purpose iterator structure.
	* include/mailutils/iterator.h (iterator_create): Changed
	proto.
	(iterator_attach,iterator_detach,iterator_advance)
	(iterator_set_first,iterator_set_next)
	(iterator_set_getitem,iterator_set_finished_p)
	(iterator_set_dup,iterator_set_destroy): New functions.
	* mailbox/iterator.c: Likewise
	* include/mailutils/list.h (list_get_iterator): New function
	* mailbox/list.c: Likewise

	* examples/listop.c: Replace iterator_create with
	list_get_iterator.
	* examples/nntpclient.c: Likewise
	* examples/pop3client.c: Likewise
	* imap4d/util.c: Likewise
	* libsieve/comparator.c: Likewise
	* libsieve/prog.c: Likewise
	* libsieve/register.c: Likewise
	* libsieve/require.c: Likewise
	* libsieve/sieve.l: Likewise
	* mail/retain.c: Likewise
	* mail/util.c: Likewise
	* mailbox/filter.c: Likewise
	* mailbox/folder.c: Likewise
	* mailbox/mailbox.c: Likewise
	* mailbox/mailer.c: Likewise
	* mailbox/mu_auth.c: Likewise
	* mailbox/mutil.c: Likewise
	* mailbox/observer.c: Likewise
	* mh/ali.c: Likewise
	* mh/mh_alias.y: Likewise
	* mh/pick.y: Likewise
	* mh/refile.c: Likewise

2004-06-27  Sergey Poznyakoff

	* direntry: New file

2004-06-27  Sergey Poznyakoff

	See ChangeLog.0.5 for earlier entries


Local Variables:
mode: change-log
version-control: never
End: