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
|
2003-12-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Added an improvement in the IMAP parsing code (_parseFetch:)
so it works better with lame servers like Exchange.
* Set the CVS tag to v1_1_2
* RELEASED VERSION 1.1.2
2003-12-21 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Folder: -setFlags: messages: and implemented a
version in IMAPFolder to optimize deletion of messages.
Modified IMAPMessage: -setFlags: to use that new method.
2003-12-13 Ludovic Marcotte <ludovic@Sophos.ca>
* We now correctly decode/encode the Organization header
using quoted-printable.
2003-12-07 Ludovic Marcotte <ludovic@Sophos.ca>
* Removed Testing/*. The tests were old and broken and
the small test framework should be replaced by a real
framework, like OCUnit.
* Modified the GNUmakefile.postamble file to remove
the references to the Testing directory.
2003-12-06 Ludovic Marcotte <ludovic@Sophos.ca>
* Added some notes (in the README) to properly compile and
install Pantomime on RedHat 9 / Fedora.
2003-11-30 Ludovic Marcotte <ludovic@Sophos.ca>
* Permuted the RETAIN/RELEASE calls in Message: -setFlags:.
Bug reported by Alexandre Carlhian <alex@mosx.net>.
2003-11-29 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in Parser: +_parameterValueUsingLine: range:.
2003-11-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Finally commited a fix for the reply bork when a attachment
is put between to text/plain parts in a multipart/mixed
message (only the first part was used in the reply).
2003-11-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility to add support on OS X for
Hebrew, Arabic, BalticRim and Vietnamese encodings
using the CoreFoundation.
2003-10-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a small bug in my previous commit on 2003-10-08.
2003-10-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a small issue in POP3Folder: -lengthOfMessageAtIndex:
Bug reported by Alexandre Carlhian <alex@mosx.net>.
* Modified NSData+Extensions: -dataFromQuotedData to be sure
that our initial data length has length of at least 2 (since
if we had only '"' we would get an range exception).
2003-10-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: -stringEncodingForPart: so that
if we get _at best_ NSASCIIStringEncoding from the
part, we use NSISOLatin1StringEncoding instead in order
to give us more success when decoding things.
2003-10-11 Ludovic Marcotte <ludovic@Sophos.ca>
* Added POP3Folder: -prefetchMessageAtIndex: numberOfLines: and
added a small cache for the message sizes.
2003-10-10 Ludovic Marcotte <ludovic@Sophos.ca>
* Renamed -authenticateWithUsername: ... to
-authenticate: password: mechanism: and implemented in
the SMTP, POP3Store and IMAPStore classes.
* Added -supportedMechanisms to the Service protocol and
implemented in all the classes above.
* Removed POP3Store: -setUseAPOP: / -useAPOP and -setTimestamp:
* Added LOGIN and CRAM-MD5 SASL authentication mechanisms support
in the IMAP code.
* Added -DBIG_ENDIAN to the list of compiler flags on OS X so that
the CRAM-MD5 code works.
* Updated the OS X project to set the version number to 1.1.2.
2003-10-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Moved -isConnected from Connection to Store. Implemented
in IMAPStore and provided a dumb implementations for LocalStore
and POP3Store. Refactored all the code to use the Store's method
instead of the TCPConnection's implementation. Much of the code
in GNUMail will have to be retested wrt the handling of being
disconnected from the IMAP server.
* Added a hack so things work well with header prefetching when we
are using a Novell IMAP server (which is utterly broken).
* Added and implemented IMAPStore: -capabilities to return an array
of the server's capabilities (result of the CAPABILITY command).
2003-10-05 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a "contents" parameter to Store: -createFolderWithName: type:
so we are now able to create a folder with an initial content.
Implemented in all Store subclasses but the only implementation
that works right now is the LocalStore one using the standard
mailbox format (maildir won't work).
* Bumped version number to 1.1.2 in Constants.h
2003-09-28 Ludovic Marcotte <ludovic@Sophos.ca>
* Updated the README for the release.
* Set the CVS tag to v1_1_1
* RELEASED VERSION 1.1.1
2003-09-21 Ludovic Marcotte <ludovic@Sophos.ca>
* Moved Message (Private): _-plainTextContentFromPart:
to MimeUtility: +plainTextContentFromPart:.
* Enhanced (and simplified) the code in Message: -forward
to strip the html content of text/html part when forwarding
an email.
2003-09-18 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +stringFromCharset: so that
under GNUstep, we define utf-7 and unicode-1-1-utf-7
to use NSUTF7StringEncoding. The latter is to prevent
a bug (sort of) in MS Hotmail.
2003-09-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Bumped up the version number to 1.1.1.
* Same thing in OS X project file.
2003-09-06 Ludovic Marcotte <ludovic@Sophos.ca>
* Removed a bunch of variable declarations in elm_defs.h
(#if 0'ed them all). This was causing problems under OS X
when -DMACOSX wasn't added to the compiler flags (we don't
need them anyway so let's get rid of them).
2003-09-01 Ludovic Marcotte <ludovic@Sophos.ca>
* Added support for read-only IMAP folders. More work needs to be
done wrt this. Added Folder: -mode (and an ivar) and implemented
this method in subclasses. Refactored IMAPStore so it's cleaner.
* Modified Part: -initWithCoder: to remove support for older version
(we now support only version 2).
2003-08-31 Ludovic Marcotte <ludovic@Sophos.ca>
* Added an excellent patch from Ken Ferry <kenferry@mac.com>
to support the concept of "base subject" as described
in http://www.ietf.org/internet-drafts/draft-ietf-imapext-sort-13.txt.
The subject sorting code is now based on this concept.
* Modified the message threading code to use the new -baseSubject
accessor (for performing MT and for sorting containers).
* Removed NSString+Extensions: -stringByRemovingRE
* Modified Message: -initWithCoder: to remove support for the version 1
of the cache.
2003-08-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -initWithData: to return nil if the call
to Part: -initWithData failed.
* Modified MimeUtility: +setContentFromRawSource: inPart:
to verify if the message/rfc822 is base64 encoded and if it is,
we decode it properly (and we also replace \r\n by \n if the MUA
sent that over.
2003-08-21 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPStore: -authenticateWithUsername: password:
so we verify if the password has any whitespaces in it.
If so, we also quote it properly. Bug reported by
Aredridel <aredridel@nbtsc.org>.
2003-08-19 Ludovic Marcotte <ludovic@Sophos.ca>
* Set the CVS tag to v1_1_0
* RELEASED VERSION 1.1.0
2003-08-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a Version file and set the version to 1.1.0 in it.
* Modified Part: -dataValue to NOT unwrap the text before
wrapping it since it's not in format=flowed format.
* Modified an #include to avoid a warning under GNUstep with
the new header structure.
2003-08-03 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPFolder: -close to not send the IMAP "CLOSE" command
if we're not longer connected to the IMAP server.
2003-08-01 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in MimeUtility: -encodeWordUsingQuotedPrintable: prefixLength:
so that we don't pre-append a space to our folded header if we already
have one.
2003-07-27 Ludovic Marcotte <ludovic@Sophos.ca>
* Removed unused code in Folder: -appendMessageFromRawSource: flags:
* "Fixed" the same method (and others) in LocalFolder (indentation and stuff)
* Modified Folder: -removeMessage: to thread messages if we removed
a message directly from the Folder's instance (happens in IMAPStore).
2003-07-23 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: -stringWithData: charset: to be sure
we always use the ASCII string of theCharset when using
iconv_open().
2003-07-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Minor cleanups and very tiny mem leak fixes.
2003-07-10 Ludovic Marcotte <ludovic@Sophos.ca>
* Added the complete list of supported mailbox flags in Constants.h
* Modified the code to use them instead of HOLDS_FOLDERS/HOLDS_MESSAGES
* Finished the implementation of IMAPStore: -_parseList:
2003-07-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPStore: _parseExists: to NOT assume we got a valid
folder since we might get this untagged response even if a folder
is not SELECTed. This should fix the obscure segfault that could
happen in IMAP with more than one IMAP account.
* Modified POP3Store: -close to not attempt to close the connection
if it's already closed.
* Modified IMAPCacheManager: -synchronize to handle GNUstep -base exceptions
that could occur when writing the cache to the disk if it contains
non-latin1 characters.
2003-07-01 Ludovic Marcotte <ludovic@Sophos.ca>
* Removed NSString+Extensions: -stringByRemovingLineFeedCharacters.
Added -stringFromModifiedUTF7 and -modifiedUTF7String.
Modified the IMAP code to use those two new methods.
This new code will do _nothing_ on OS X as CF/NSString don't
provide support for UTF-7. Under GNUstep, you need the latest
CVS version of base (2003-07-01) if you want things to work
properly (since UTF-7 support in GNUstep -base was heavily
broken before today).
2003-06-29 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Rewrote maildir expunge and cache rebuild code based on maildir spec
with flag information embedded in mail file name.
2003-06-27 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: -encodeWordUsingQuotedPrintable: prefixLength:
to fix the annoying bug where the subject would get repeated twice
if it was exceeding 75 chars.
2003-06-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPFolder: -prefetch to use "UID FETCH %d:* (UID..."
(we include UID in the FETCH command) since Microsoft Exchange
doesn't return it if we don't ask for it.
2003-06-25 Ludovic Marcotte <ludovic@Sophos.ca>
* Applied a patch from Andreas Heppel to fix var declarations
for gcc < 3.0.
* Added NSString+Extensions: -stringByReplacingOccurrencesOfString:
withString:.
* Renamed RAW -> Raw (or raw) in the code.
2003-06-24 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* When a MAILDIR folder is expunged, the undeleted messages
are re-writtenwith the latest flag information. This is so that
if the cache file is dirty and needs to be rebuilt, the flag
information can be restored. One concern is performace since this
can involve a lot of I/O for a large number of messages.
2003-06-24 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPStore: -renameFolderWithName: toName: to not issue
other IMAP commands if we are no longer connected to the IMAP st
* Same thing for IMAPStore: -deleteFolderWithName:
* Same thing for IMAPStore: -createFolderWithName: type:
2003-06-23 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message.h so that our rawSource ivar is a protected one.
Also modified IMAPMessage: -rawSource to return the ivar directly
instead of [super rawSource] to prevent a crash if the connection
was lost to the IMAP server just after issueing the UID FETCH RFC822.
* Updated Testing/Client so it compiles.
* Modified IMAPMessage: -setInitialized: to NOT issue the 2nd IMAP
command if we're no longer connected to the IMAP store.
2003-06-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: -setContentFromRawSource: inPart: to treat
"unsupported Content-Type:s" as a discrete type.
* Modified LocalFolder: -_expungeMBOX to merge the message flags (using
Pine's format) to the local mbox. Also modified Flags: -addFlagsFromData:
to NOT remove the SEEN flag if we don't see "R".
2003-06-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPFolder: -close to NOT do a CLOSE if we
are showing deleted messages.
2003-06-18 Ludovic Marcotte <ludovic@Sophos.ca>
* Did some cleanups in the MimeUtility class.
2003-06-17 Ludovic Marcotte <ludovic@Sophos.ca>
* Moved IMAPStore (Private): -_replaceCRLFInMutableData to
NSData+Extensions: -replaceCRLFWithLF.
* Moved SMTP (Private): -replaceLFInMutableData to
NSData+Extensions: -replaceLFWithCRLF.
2003-06-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPMessage: -setFlags to call [super setFlags:], to
use STORE -FLAGS if we are removing all flags and to use
.SILENT in order to NOT generate an extra IMAP response. This
should make things a little bit faster.
2003-06-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Renamed SMTP: -_readResponsesFromServer to -_parseServerOutput (like IMAP).
* Refactored IMAPStore: -_parseFlags.
* Modified IMAPFolder: -expunge: to NOT send the "UID FETCH %d:* UID" command
as I have modified IMAPStore: -_parseExpunge: to automatically decrement MSN
of messages when we get an * xyz EXPUNGE response.
* Modified the TCPConnection code (and its SSL implementation) to automatically
increase the buffer size when reading responses from the server. Also fixed
a memory leak in -readDataToEndOfLine.
* Some clean ups in IMAPStore.
* Added delegate methods in IMAPStore and we now call them in _sendCommand:
if messages were expunged of if messages flags have changed. This allows
Pantomime to support concurrent accesses to an IMAP folder with other
clients.
2003-06-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPCacheManager to correctly add/remove the entries
in our hash when adding/removing messages from the cache.
* Modifed IMAPFolder: -_updateMessagesFromUID: toUID: to correctly
set the MSN of message we _keep_ in the cache when synchronizing
our cache with the IMAP server.
2003-06-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Reworked the code related to a "dirty IMAP cache". It's now
handled _correctly_ and it's way faster than before. This should
fix all "remaining bugs" in the new IMAP code.
2003-06-10 Ludovic Marcotte <ludovic@Sophos.ca>
* Reworked the IMAP EXPUNGE code so it's more efficient
and can now expect expunge responses from the server
even it if hasn't expunge mails (ie., an other client did).
Also improved the fetch of MSN:s after an EXPUNGE so we
don't fetch all of them, but only from the UID of the message
of the lowest MSN that was deleted.
* Added IMAPStore: -_parseExits: to record if new messages were
received instead of using -_parseRecent:.
2003-06-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed IMAPStore: -_parseFlags: since Seen and Recent
can be set at the same time. I misinterpreted that in
the RFC3501. The POP3 code will also have to be modified
and also GNUMail.
* Fixed all issues wrt the RECENT/SEEN flags. You MUST also
update GNUMail.app.
* Modified IMAPStore to not declare a static selector but rather
use a define since it fails with Apple's gcc.
* Moved Folder's allMessages ivar to be a public one. This is
need to know the read folder's count and also to directly
index messages in the folder (ie., from IMAP store). Also
modified IMAP store to use the ivar directly. This fix the
bug when we were hiding deleted messages and deleting messages
on the server.
2003-06-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Removed IMAPFolder: -checkForBYE...
* Removed the PantomimeLostConnectionException constant.
* IMAPStore should now handle gracefully server's BYE responses.
2003-06-07 Ludovic Marcotte <ludovic@Sophos.ca>
* Added the brand new IMAP code. This code has NOT been tested extensively
but just quite well by me (since I use it). Please try it and report
me any issue. More goodies will be added soon.
* Fixed an #include warning.
* More refactorings and fixed a recursivity bug.
* Modified Message: -replyWithReplyToAll: to make use of -hasREPrefix
2003-06-06 Ludovic Marcotte <ludovic@Sophos.ca>
* Added other great improvements in IMAPStore. This class is now
completely cleaned of the old code.
* Removed -checkForBYE.. in IMAPStore (moved temporarely in IMAPFolder)
* Fixed a small bug in IMAPStore: -folderEnumerator.
* Added -_parseRecent: and also modified to code to be "notified"
that new messages have arrived.
2003-06-05 Ludovic Marcotte <ludovic@Sophos.ca>
* Started the IMAP rewrite. Those who want stability shouldn't use
the CVS version for a couple of days. It should work well, but
expect bugs. Lots of debug info might appear on the console and
that's normal for now.
The new code is definitively smaller and faster than before.
* Rewrote IMAPStore: -folderStatus and added -_parseStatus:
2003-06-04 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Folder: -cacheManager/setCacheManager: and removed all
-{imap,local,pop3}CacheManager and -set{IMAP,Local,POP3}CacheManager
methods. Refactored the code to use the new parent's method.
2003-06-01 Ludovic Marcotte <ludovic@Sophos.ca>
* Refactored A LOT the SMTP code. It's now way more efficient and
also added the support to obtain the last message or code received
from the server.
2003-05-31 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified the GNUmakefile so we link with libucb under Solaris.
2003-05-25 Ludovic Marcotte <ludovic@Sophos.ca>
* Added POP3Folder: -size and refactored -count into -_stat.
Feature request by Arthur VIGAN <astrok.software@wanadoo.fr>.
2003-05-23 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPStore: -folderStatus to NOT call STATUS on the
selected folder. This has been added in the RFC3501.
2003-05-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Parser so that we don't assume we got a space
separating the Subject/Content-Type/Content-Transfer-Encoding
headers and their respective values. That sometimes happens
with (surprised?) malformatted spam.
2003-05-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -replyWithReplyToAll: to trim whitespaces
from the subject before verifying for re:.
2003-05-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Optimized POP3Folder: -UIDOfMessageAtIndex:. It should make
a _huge_ difference for those who leaves their messages on the
POP3 server and have a lot of them and also improves quite nicely
the downloading speed of messages.
2003-05-07 Ludovic Marcotte <ludovic@Sophos.ca>
* Added IMAPFolder: -copyMessages: toFolder:
2003-05-05 Ludovic Marcotte <ludovic@Sophos.ca>
* Updated Message: -dataValue (the code to obtain the locale) wrt
the recent changes in GNUstep's directory layout.
2003-04-27 Ludovic Marcotte <ludovic@Sophos.ca>
* Optimized Parser: +_parameterValueUsingLine: range:
* Modified Parser: +parseContentDisposition: inPart: to use
_parameterValue... for parsing the filename parameter.
2003-04-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Set the OS X's version number to 1.1.0.
* Fixed an index out of bounds error in Message: -replyWithReplyToAll:
We were using the wrong local variables.
2003-04-23 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Headers/Pantomime/elm_lib.h to comment out
mkdir() since it causes problems under Solaris 2.8.
Problem reported by Mario Antonio <mario.antonio@mail.com>
* Set the version number in Constants.h to 1.1.0.
2003-04-21 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified the OS X project file to not generate debug symbols
for the TCPSSLConnection target.
* Set the CVS tag to v1_1_0pre2
* RELEASED VERSION 1.1.0pre2
2003-04-18 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified the OS X project file to no longer "link"
with Fink's version of OpenSSL.
* Modified SMTP, POP3Store and IMAPStore to allow the
TCPSSLConnection bundle to be load from the app's
plug-in path under OS X. This allows developers to include
Pantomime's SSL bundle in their own app's dmg.
2003-04-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Trivial optimizations in MimeUtility: -isASCIIString:
* Modified MimeUtility: +allCharsets to add gb2312 under
GNUstep and added an optimization.
* Modified IMAPFolder: -_messageNumberFromUID to correctly
read the untagged responses.
* Added a temporary method (-_readStringSkippingUntaggedResponses)
to IMAPFolder and modified the code to use it. After 1.1.0pre2 is
released, untagged responses will be much better handled by
introducing a new way to read all server responses, expecting
any kind of untagged responses at any time. This temporary method
is just there so the rest of the code can work properly under Cyrus.
2003-04-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPMessage: -setFlags to use IMAPFolder(Private):
-_flagsAsStringFromFlags.
* Modified SMTP (Private): -_decodeSupportedAuthenticationMechanismFromString:
so that we try to declde the supported mechanisms even if we already have
some in our array since some servers return the supported mechanisms
(and different ones) on more than one line.
* Cleaned the includes in Sendmail.m
2003-04-14 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Minor bugfix to parsing maildir folder.
2003-04-12 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Fixed an include problem in Sendmail.m that broke
build on OS X.
2003-04-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a header include regarding the changes in GNUstep -base
2003-04-11 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPMessage: -setFlags to correctly set flags
on the message (for read/unread messages).
2003-04-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPStore: -folderStatus to properly unquote
the folder name before adding it to our dictionary.
* Modified Sendmail: -sendMessageFromRawSource: to no longer use
a pipe since it can get filled up pretty quickly and block the
process.
2003-04-03 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified NSString+Extensions: -stringByTrimmingWhiteSpaces to
use CF's CFStringTrimWhitespace() function in order to simplify
the code and hopefully enhance performance a little bit.
* Modified NSString+Extensions: -stringFromQuotedString: to cache
the length of the string in order to speed up things.
2003-04-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Renamed NSDataExtensions to NSData+Extensions
* Renamed NSStringExtensions to NSString+Extensions
* Modified NSString+Extensions: -indexOfCharacter to cache the length
of the string.
* Updated the OS X project file
2003-03-25 Ludovic Marcotte <ludovic@Sophos.ca>
* Added -Wno-import to the GNUmakefile:s
2003-03-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Minor fixes/cleanups in the Part and Message classes.
2003-03-17 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in IMAPStore: -folderStatus. We weren't comparing
correctly the response with BAD/NO (we were ignore the tag).
2003-03-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed the OS X project file. Added back the @executable_path/../Frameworks
installation location. Otherwise, the Pantomime.framework would be
linked to an absolute path.
* Added a .cvsignore file to the root folder of Pantomime
2003-03-14 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Extended InternetAddress class to help in scripting.
2003-03-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalStore: -renameFolderWithName: toName: so that
we verify if theNewName already exists before renaming the folder.
If it does, we abort the operation in order to not overwrite the
folder.
2003-03-10 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Fixed Installation setting in PB file that was
GNUMail.app fail to build.
2003-03-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Added iso-8859-11 and gb2312 encodings support using GNUstep
additions of iconv.
2003-03-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Added MimeUtility: -stringEncodingForPart and refactored
Message (Private): _plainTextContentFromPart: to use it.
* Fixed the version number on OS X (from 1.0.4 to 1.0.99)
2003-02-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified POP3Folder to cache the value -count returns.
2003-02-11 Ludovic Marcotte <ludovic@Sophos.ca>
* Optimized MimeUtility: +stringWithData: charset: so
we don't copy the bytes from iconv's output but
we rather use them directly and let our NSData
object free them when done.
2003-02-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Refactored TCPConnection and TCPSSLConnection to have a cleaner
API.
* Modified POP3Folder: -prefetchMessageAtIndex: to NOT use
an NSString object. This makes things way faster when transferring
large mails using POP3 and is way more safe when getting mails using
rare encodings (like TIS-620).
2003-02-07 Ludovic Marcotte <ludovic@Sophos.ca>
* Renamed Flags: -addFlagsFromString to -addFlagsFromData and
modified Parser to use the new method. This should make things
a little bit faster. Also removed -initWithString.
2003-02-05 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +stringEncodingForCharset to
add "cyrillic (windows-1251)" (mapped to NSWindowsCP1251StringEncoding)
to prevent a lame bug in MS's Hotmail encoding code.
2003-02-01 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +decodeHeader to add a charset parameter
so that if defaultCharset is defined in Part, we use that
to force the charset used to decode some headers. Modified
Parser to use the new method.
* Rewrote the local mailbox caching code. It's now faster and
takes way less memory.
2003-01-31 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalMessage: -setInitialized to set it to NO
if we failed to open our file when using maildir.
2003-01-30 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a broken #include in Pantomime.h
* Now include stdlib.h in Message.m
Bugs reported by David Sinclair <dev@dejal.com>.
* Guarded elm_defs.h, elm_lib.h and parseaddrs.h
against multiple inclusions.
2003-01-28 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message.m to correctly free the buffer returned
by striphtml() (since it was malloc'ed but never actually
free'ed). Patch from Stefan Urbanek <urbanek@host.sk>.
2003-01-27 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Bundles/SSL/GNUmakefile to include
../../Headers
2003-01-24 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Fixed a bug in LocalStore where the folder tree was
not being rebuilt after deleting a folder (not mbox
or maildir).
2003-01-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Updated the version number to 1.0.99
2003-01-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Updated the README (in preparation for the 1.1.0pre1 release).
* Tagged the cvs to v1_1_0pre1.
* RELEASE VERSION 1.1.0pre1.
2003-01-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -dataValue so that if the user set
its timezone in GNUstep's defaults, we try to use that
first (before going back to the default tzset() function).
2003-01-06 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a missing import in POP3Folder.h
2003-01-05 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified POP3Folder to add a small UID cache so that
we don't ask again and again the UID of a message at
index X but we rather try to first get it from our cache.
2003-01-04 Ludovic Marcotte <ludovic@Sophos.ca>
* Set the encoding to Mac OS roman in the OS X project file
* Removed IMAPFolder: -deleteMessageWithUID,
-setMessageFlags: forUID: and -removeMessage.
* Re-implemented -setFlags: in IMAPMessage so that we send
the flags immediately to the IMAP server.
* Removed the flag TRANSFERRED and modified all the code
that was using it. We will now consider those messages
as DELETED.
* Removed Folder: -numberOfTransferredMessages.
2003-01-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Added versioning support to the LocalMessage class.
When maildir support was added to Pantomime, versioning hasn't
been added to the LocalMessage class. That cause problems since
between 1.0.5 and 1.0.98 (1.1.0 pre1), in the cvs version, no
versionning was there and the format changed. We now invalidate
all caches with a version number different from 1.
* Set the version to 1.0.98 (1.1.0 pre1) in Constants.h.
2002-12-29 Ludovic Marcotte <ludovic@Sophos.ca>
* Refactored POP3Folder: -prefetchMessageAtIndex: so that
we no longer deal with the POP3CacheManager but a Pantomime
client (like GNUMail.app) will.
2002-12-28 Ludovic Marcotte <ludovic@Sophos.ca>
* Removed all the SEND_ constants and renamed Part: -dataUsingSendingMode
to -dataValue. Refactored to code in Part and in Message (that
implements this method) and also refactored all classes using
the old method. Modified SMTP.m so that we replaced \n by \r\n when
sending the mail.
* Done TODO #101: Changed Message; -setExtraProperty: forKey: to
-setProperty: forKey.
2002-12-20 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Fixed bug where localFolderCacheManager was not
being synced up after a MAILDIR expunge.
2002-12-17 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified the implementation of Store: -openedFoldersEnumerator
in all Store classes (and the code depending on the previous
implementation) to return the enumeration of the opened folders
instead of just their names.
2002-12-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Added IMAPStore: -noop.
* Modified IMAPStore: -folderForName: select: to return the
opened folder (from openedFolders) if asked for.
2002-12-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified all the IMAP code to handle disconnections by the
server. Also refactored some parts and fixed two mem leaks.
* Added SMTP: -reset to reset the state of a SMTP session.
2002-12-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Added the Cc header to the list of prefetched headers in IMAP.
* Modified IMAPCacheManager to invalidate all caches with
version < 2.
2002-12-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPCacheManager -initWithCoder to correctly invalidate
all caches with version < 2.
* Modified IMAPFolder to remove the "Content-Type" header from the
list of automatically fetched headers when caching everything.
* Modified MimeUtility: +charsetForString so that if we haven't
found a charset using our 'tables of charsets', before returning
UTF-8, we at least try to convert our string to some encodings
(for now, only NSISO2022JPStringEncoding). Path from
Tomio Arisaka <tomio-a@max.hi-ho.ne.jp>
2002-12-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Added MimeUtility: +stringFromRecipients: type:
* Entirely rewrote the implementation of all 'search' functions
in IMAPFolder, LocalFolder and POP3Folder.
2002-12-07 Ludovic Marcotte <ludovic@Sophos.ca>
* Nearly entirely rewritten IMAP support. More changes are coming
but a lot is already in there.
* We now correctly update all MSNs after an expunge in IMAP.
2002-12-05 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +stringWithData: charset: so that if we aren't
using Mac OS X, we treat ks_c_5601-1987 encoding as euc-kr.
* Rewrote Sendmail: -sendMessageFromRawSource to use the Foundation
classes instead of popen/fwrite/pclose.
2002-12-03 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/Parser.m: replaced 21 by 20 in "Content-Description:" parsing.
2002-12-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Added the UUFile class to remove all AppKit dependencies
in the MimeUtility class (was using NSFileWrapper).
* Updated the OS X project file to add this class.
* Refactored a little bit LocalFolder: -appendMessageFromRawSource:
flags: and fixed potential mem leaks in case of an error.
2002-12-01 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -setHeadersFromData to use
"From " instead of "From -".
* Modified MimeUtility: -stringEncodingForCharset: to
consider unknown-8bit as NSISOLatin1StringEncoding.
* Modified LocalFolder and LocalMessage to replace all "FileName"
ivar/method names to "Filename" to be consistent with the rest
of Pantomime's source.
2002-11-30 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Fixed LocalStore: -createFolderWithName: type:
so that the newly created folder has the mode 700 instead
of 755.
* Modified Message: -setHeadersFromData so that we do NOT
parse the headers already parsed in Part as unknown
headers.
2002-11-29 Ludovic Marcotte <ludovic@Sophos.ca>
* Refactored most of the POP3 code.
* Removed some compiler warnings on OS X 10.2
* Updaded the project file to work with Project Builder
v2.0.1.
2002-11-28 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed LocalStore: -createFolderWithName: type:
We weren't rebuiling our folder enumerator when
successfully creating a folder.
2002-11-28 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* NULL wasn't defined in POP3Folder, so I included a
standard C header file like stdio.h.
2002-11-28 Ludovic Marcotte <ludovic@Sophos.ca>
* Added support for SMTP over SSL and refactored the
SMTP class.
2002-11-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalFolder: -appendMessageFromRawSource: flags:
to append the sender and the delivery date to the "From "
line.
* Removed POP3Folder: -transferMessagesToFolder: since this
method is no longer used.
2002-11-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Removed MimeBodyPart from the CVS and the OS X project file
* Added FolderInformation to the OS X project file
* Modified the #include/#import directives so everything
compile under OS X.
* Added FolderInformation.h as a public header on OS X.
* Added the NSRegEx class.
* Added Folder: -searchForString: searchInContent: caseSensitive:
matchRegEx: and implemented this method in ALL Folder subclasses.
* Added NSRegEx to the OS X project file and also set its header to public.
2002-11-18 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalFolder: -appendMessageFromRawSource: flags:
so that we use the theFlags parameters.
2002-11-17 Ludovic Marcotte <ludovic@Sophos.ca>
* Updated Headers/Pantomime/Constants.h to set the version number
to 1.1.0.
* Added IMAPStore: -folderStatus. This method needs some refactoring.
* Added the FolderInformation class. This class will soon be used
in all Store classes.
2002-11-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Part: -dataUsingSendingMode so that inner
parts always use the SEND_TO_FOLDER mode.
* More fixes in the method to prevent corrupted attachments
(\r\n being replaced by \r\r\n at the end of the method).
2002-10-31 Ludovic Marcotte <ludovic@Sophos.ca>
* Replaced all #import calls by #include and guarded all headers
against multiple inclusion.
* Refactored some code in LocalStore. Fixed security issues regarding
maildir mode.
* Refactored IMAPStore. Added -_folderNameFromString: and modified
-folderEnumerator and -subscribedFolderEnumerator to use
that method.
2002-10-28 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed the buffer overrun problem in striphtml()
2002-10-27 Ludovic Marcotte <ludovic@Sophos.ca>
* Added DESTROY(delegate) calls in IMAPFolder: -close
and -dealloc.
2002-10-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -forward and -replyWithReplyToAll:
so that we deal better with messages w/o a Subject.
* Added striphtml() and ent() to the MimeUtility class.
Moved from GNUMail.app.
* Added Message (Private): -_plainTextContentFromPart:
and modified -replyWithReplyToAll: to correct get
the plain/text content of a part (for example, if
it was an html mail).
2002-10-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Added exception handlers when unarchiving POP3 and
IMAP cache files.
2002-10-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Added missing #include (NSDebug.h) in TestCase.m
2002-10-19 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -replyWithReplyToAll: so that we
verify that -receivedDate isn't nil before trying to
append its string value to our mutable string. This was
causing a segfault on OS X.
2002-10-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Added basic sorting support (ie., comparing category)
in the Container class.
2002-10-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in IMAPFolder: -prefetchMessageBodyWithUID.
We were waiting for a TCP timeout if we had a message
with an empty body.
2002-10-05 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in Message: -forward. We are now
verifying that we really got a Date field before
trying to append its description.
2002-10-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified NSStringExtensions and Folder to support
"RE :" as a valid prefix and not only "RE:". This should
be enhanced again (speedwise and feature-wise).
* Fixed a bug in POP3Store that would prevent messages from
being transferred when using POP3 over SSL.
2002-10-01 Ludovic Marcotte <ludovic@Sophos.ca>
* Disabled the creation of empty nodes when threading
by subject for now.
* More fixes to the message threading code.
2002-09-30 Ludovic Marcotte <ludovic@Sophos.ca>
* Improved message threading support.
2002-09-23 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Removed duplicate entry for ChangeLog from PB project.
Hadn't realized that it was already there in the
Documentation sub-group.
2002-09-23 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Folder: -thread so that if we don't have
a Message-ID for a message (which is utterly b0rken),
we create a container for this message and we place
it in the root set.
2002-09-22 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Bug fixes for LocalFolder when deleting and renaming maildir stores.
Now accounting for OS X's ".DS_Store".
* Added some method declarations for Container and Folder to remove
compiler warnings.
2002-09-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified the previous commit to remove some compilation
warnings, respect indentation style and some minor other
things.
* Added Ujwal as a co-author for LocalFolder due to his important
contributions with maildir support.
* Added a new class - Container, used for message threading.
* Modified Folder and other classes to implement JWZ's message
threading algorithm.
* Updated the OS X project file.
* Some refactoring in all Store subclasses and bugs fixing.
2002-09-20 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Todo #79: added maildir support. Seems to work fine,
but needs more testing.
2002-09-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Updated the OS X's project file.
2002-09-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified the call to NSSearchPathForDirectoriesInDomains
in IMAPStore and POP3Store to expand the tilde in the path.
2002-09-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +stringEncodingForCharset so that
if we get x-unknown, we assume it is
NSISOLatin1StringEncoding in order to prevent some lame
bugs in other MUA like Pine 4.21.
2002-09-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Changed the version number in Constants.h to 1.0.6
* Removed entirely the class GSMD5 and added (complete
rewrite by me) the class MD5 using some public domain code
in md5.c from Colin Plumb.
* Modified all the code to use the new MD5 class instead of
the old (and removed GSMD5) class
* Fixed SMTP CRAM-MD5 authentication. It now works perfectly.
* Merged md5.c/.h in the MD5 class and removed those files.
This was causing problems on OS X using HFS+ since it's not
case sensitive.
* Replaced GSMD5.h by MD5.h in Pantomime.h.
* Added Pantomime.h in the GNUmakefile for GNUstep and also
recoded the file from ibmpc to latin1.
2002-09-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Refactored some code in Parser.
* Optimized NSStringExtensions: -stringFromQuotedString
and refactored some code.
2002-09-07 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Fixed Parser:+ _parameterValueUsingLine: range:
Key-value pairs with spaces between key and value
were not being parsed properly.
2002-09-05 Ludovic Marcotte <ludovic@Sophos.ca>
* Set the CVS tag to v1_0_5
* RELEASED v1.0.5
2002-08-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPFolder: -prefetch so that if our cached
entry had the ANSWERED flag for a specific message,
wet it back to the new Flags object. This is a
temporary solution before the complete IMAP rewrite.
* Changed all calls from bzero() to memset().
2002-08-19 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed IMAPFolder: -expunge. We weren't calling EXPUNGE on
the IMAP server. That would cause problems if we would
compact a mailbox and receive new mails right after
(deleted mails where shown again).
2002-08-14 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* IMAPFolder.m: -appendMessageFromRawSource: enclosing folder
name in double quotes.
2002-08-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Added LocalStore (Private): _enforceFileAttributes and
_enforceMode: atPath: so that for a local store, we ensure that
the path to the local store has the 0700 mode and all its
subfolders have 0700 and all mboxes have 0600.
2002-08-10 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MacOSXGlue.h to define the NSDebugLog variadic
macro.
* Modified the OS X project file so that we use the
traditional cpp. (added --traditional-cpp to the
CFLAGS)
2002-08-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Message: -references/-setReferences: and also
modified LocalFolder.m and Parser.m to parse the
"References:" header value. More work to come
on this in order to allow message threading.
2002-08-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Replaced all NSLog() calls for NSDebugLog().
I need to implement NSDebugLog() on OS X.
2002-08-04 Ludovic Marcotte <ludovic@Sophos.ca>
* Added IMAPFolder: -delegate/-setDelegate and modified
IMAPFolder: -_newMessagesHaveArrived so that if the delegate
isn't nil and responds to newMessagesWereReceived:, we perform
that selector.
2002-08-02 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Fixed bug in IMAP folder selection.
When the folder name had a space it, it would break.
Now enclosing the folder name in double quotes.
2002-08-01 Ujwal S. Sathyam <ujwal@setlurgroup.com>
* Fixed bug in IMAP folder subscription and un-subscription.
When the folder name had a space it, it would break.
Now enclosing the folder name in double quotes.
2002-07-31 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Message: -extraPropertyForKey and
-setExtraProperty: forKey: to be able to get and set
extra properties for messages. This is used, for example,
in the PGP bundle of GNUMail.app.
* *** NOTE *** You must recompile entirely Pantomime after
upgrading (do a full distclean before compiling it).
2002-07-29 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +isASCIIString to return YES if the
argument is nil.
* Modified Part: -dataUsingSendingMode: to NOT add the
Content-Transfer-Encoding if it's equal to NONE.
* Modified Part: -dataUsingSendingMode: to REUSE the boundary
if it was already defined. If it wasn't, we generate one.
* Added Part: -protocol / -setProtocol: and modified
-dataUsingSendingMode: to add the protocol if required.
* Modified Part: -dataUsingSendingMode: to better manage
encoding of application/* parts.
* *** NOTE *** You must recompile entirely Pantomime after
upgrading (do a full distclean before compiling it).
2002-07-24 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Connection: -isConnected. Implemented this method
in TCPConnection and TCPSSLConnection so we can now safely
if we're still connected to the foreign host.
* Added a check to see if the connection is valid in
POP3Store: -authenticateWithUsername: password: since some
very lame POP3 servers might drop the connection if the
APOP auth has failed.
* Added MimeMultipart: -removeBodyPart so it is now possible
to remove a MimeBodyPart object from a MimeMultipart.
2002-07-10 Ludovic Marcotte <ludovic@Sophos.ca>
* Added some little fixes in TCPConnection.m and
LocalFolder.m so that everything compiles fine under
Solaris.
2002-07-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Fix in Message: -forward and -replyWithReplyToAll:
so that we don't try the create a NSString object
if the part isn't a NSData object. This could
happen in multipart/alternative parts that had
a text/plain Content-Type but a base64
Content-Transfer-Encoding.
2002-07-05 Ludovic Marcotte <ludovic@Sophos.ca>
* Removed all test cases in .c files since we
are never gonna use them.
2002-07-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a (temporary?) fix to Message: -init so that we
always initialize our flags object with the RECENT flag
on instead of no flags at all.
2002-06-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Constants.h to set the version number to 1.0.5
2002-05-30 Ludovic Marcotte <ludovic@Sophos.ca>
* Set the cvs tag to v1_0_4
* RELEASED v1.0.4.
2002-05-29 Ludovic Marcotte <ludovic@Sophos.ca>
* Increased the default timeout value from 30s to 60s in
TCPConnection.m.
2002-05-21 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Message: -setRawSource so we can properly set
the rawSource ivar when we want to.
2002-05-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Updated the version number in the OS X project file
to 1.0.4.
2002-05-19 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a patch from Vincent Ricard <magicninja@wanadoo.fr>
to POP3Folder and SMTP so that we deal better with lines
containing a single dot. Slightly modified the patch
so it's faster.
2002-05-19 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/POP3Folder.m ([POP3Folder -expunge:]):
delete the messages on the POP3Server according to
the leaveOnServer and retainCount value.
2002-05-09 Francis Lachapelle <francis@Sophos.ca>
* Fixed bug in SMTP that could happen when sending a message
containing the character sequence "<CRLF>.<CRLF>".
2002-05-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Added three new constants: PantomimeReadTimeoutException,
PantomimeStopException and PantomimeWriteTimeoutException.
* Refactored SMTP a lot to avoid handling exceptions inside this
class. They are now propagated to the caller. GNUMail.app, for
example, now handles everything perfectly.
* Did the same refactoring to POP3Store/POP3Folder.
2002-05-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Added URLName: -stringValue.
* Modified IMAPFolder: -prefetch to add the DELETED flag to the
flags obtained from our server if it was present in the cache.
2002-05-06 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in SMTP: -decodeMaxSizeAllowedFromString. We weren't
verifying properly if the server were sending us a value to the
SIZE parameter. It would generate an index exception and we wouldn't
be able to send the desired mail.
* Removed a NSLog() calls and fixed some typos.
2002-05-05 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a patch from Vincent Ricard <magicninja@wanadoo.fr> to
support the SMTP SIZE extension (RFC1870). This patch also
replaces bzero() calls by memset() class in TCPConnection.
Modified slightly this patch before applying it to fix some
var names, mem leak, etc.
* Added rfc/rfc1870.txt.
2002-05-04 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified TCPConnection to add -setStopTarget and -setStopSelector.
This selector is called quite often on the target to ensure that we
don't forget to generate the PantomimeStopException.
* Modified POP3Folder and SMTP to handle better the exceptions.
More work needs to be done here.
NOTE that more commits are to come to MAKE THINGS MORE STABLE.
2002-05-01 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in Message: -replyWithReplyToAll:. If the initial decoding
phase for the text/* part would fail, Pantomime would set the content
as a NSData object (which is the raw source of the part). We were trying
to use this part as a NSString object since we were expecting a
a valid text/* part all the time.
* Added Folder: -showRead/-setShowRead.
2002-04-29 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -dataUsingSendingMode to NOT add the <> in
the In-Reply-To header.
2002-04-27 Ludovic Marcotte <ludovic@Sophos.ca>
* Changed the version number to 1.0.4 in Constants.h
2002-04-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Set the CVS tag to v1_0_3
* RELEASED v1.0.3.
2002-04-25 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified POP3Folder: -prefetchMessageAtIndex to NOT
append the X-UID header anymore.
* Fixed a bug in last commit.
* Fixed a bug in MimeUtility: +wrapPlainTextString: usingWrappingLimit:
we were not verifying that the length of the line was > of the index
j when removing any leading white spaces (if any). So the code
was breaking if we had a single line with only ">" on it.
2002-04-25 Francis Lachapelle <francis@Sophos.ca>
* Reversed for-loop in method expunge of class IMAPFolder to
fixed possible bug when deleting messages.
* Fixed possible problem with deleted messages in method expunge
in class LocalFolder.
2002-04-24 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +stringEncodingForCharset to return
NSISOLatin1StringEncoding when the charset is "x-user-defined"
to prevent a bug from some versions Outlook.
2002-04-23 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPStore: -initSSLWithName: port: and POP3Store:
-initSSLWithName: port: to add the NSUserDomainMask in the
search path.
* Fixed a retain bug in URLName: _decodeIMAP for the username.
* Added a TCPSSLConnection target to the OS X project file. You need
to have OpenSSL installed to compile it (from the Fink project).
2002-04-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Folder: -numberOfTransferredMessages and modified LocalFolder:
-appendMessageFromRawSouce: to use [self count] +
[self numberOfTransferredMessages] + 1 instead of [self count] + 1
since we can mark messages as transferred and append messages to
a folder after and it'll get the 'wrong' message number.
2002-04-21 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Folder: -numberOfUnreadMessages and Folder: -size.
2002-04-19 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +allCharsets to remove iconv from the list.
We will rather provide a list later that iconv supports.
* Modified MimeUtility: +compositeMultipartContentFromRawSource: ...
to set the size of the new mime body part object to the length
of the data object (ie., its content).
* Modified MimeUtility to add "support" of gb2312 and shift_jis
charsets on OS X.
2002-04-18 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified the Service protocol to add a -username accessor. Modified
all classes (POP3Store, IMAPStore and SMTP) implementing this protocol
to return the username if one exist (defined when authenticating).
Also refactored some code in those classes.
* Added username support to URLName for IMAP URLs.
* Minor change to SMTP: -dealloc to avoid a compiler warning.
2002-04-17 Ludovic Marcotte <ludovic@Sophos.ca>
* Enhanced a lot MimeUtility: -allCharsets to that it's now
way more descriptive and consistent.
* Done TODO #89. Addded [Part -initWithData: charset:] so that people can
chose which charset to fallback to when none has been specified for 8-bit
message.
* Fixed a bug in MimeUtility: +decodeBase64. We weren't verifying if our data
object had a length > 0.
* Fixed Part: -init to not set the defautl charset to nil.
* Added Headers/Pantomime/Connection.h. This file defines the Connection
protocol implemented in TCPConnection and TCPSSLConnection (the bundle).
Cleaned all the code that was using TCPConnection to avoid a lot of
compiler warnings.
* Added Connection.h to the OS X project file.
* Added the WINDOWS_1250, 1253 and 1254 classes to the OS X project file.
* Defined the _() macro in Constants.h
2002-04-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Added support for the Windows-1250, Windows-1253 and
Windows-1254 charsets. Modified all the files that are related
to use them.
* Modified MimeUtility: +discreteContentFromRawSource.. to correctly
set the Part size when decoding a base64 encoded part - for now.
* Modified Message: -forward to set the correct size to all parts
contained in our forwarded message.
2002-04-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalFolder: -expunge to break the look when a write
error occurs instead of continuing it for no good reason.
* Modified LocalFolder: -appendMessageFromRawSource to not synchronize
the cache after each message append.
* Modified the makefile to use ${MAKE} instead of make directly.
Suggestion by Chris B. Vetter <chrisv@web4inc.com>.
2002-04-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +stringEncodingForCharset to use the
CoreFoundation under OS X to support way more encodings.
* Added the CoreFoundation framwork to the OS X project file.
* Modified MimeUtility: +stringEncodingForCharset to define our
CFStringEncoding for most charsets.
* Removed the use of a local autorelease pool in MimeUtility:
+isASCIIString.
* Added Bundles/SSL/.cvsignore.
* Added ISO-2022-JP and EUC-JP support to MimeUtility:
+stringEncodingForCharset:
* Added a "dumb" implementation of SMTP: -initSSLWithName: port:.
2002-04-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed TCPSSLConnection to allow big read/write operations.
* Added timeout support to TCPSSLConnection when establishing
connections and refactored TCPConnection to remove old code.
* Removed TODO #91.
* Added SSL support to POP3Store.
2002-04-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Done TODO #90. Optimized TCPConnection by rewriting -_readByte
and -_writeByte and modified the code everywhere to use the
new -_readBytes: length: and -_writeBytes: length: methods.
* Added Service: -initSSLWithName: port: and implemented this method
in IMAPStore.
* Added Bundles/SSL/TCPSSLConnection. This allows Pantomime to use
a SSL version of the TCPConnection class. Currently, only IMAPStore
was modified to use it. It's pretty trivial to modify the other
classes to support it to. This class should be enhanced in the future
to allow multiplexed I/O and also to be able to verify certificates.
2002-04-10 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in IMAPFolder: -appendMessageFromRawSource: flags:.
We weren't nooping first.
* Also added flags support for this method. We now consider the
flags argument.
* Modified IMAPStore: -folderForName: select: to return nil if the
folder is already open.
2002-04-09 Francis Lachapelle <francis@Sophos.ca>
* Improved the follwing methods of MimeUtility based on
Alexander Malmberg <alexander@malmberg.org> patch:
- unwrapPlainTextString:usingQuoteWrappingLimit:
- wrapPlainTextString:usingWrappingLimit:
- quotePlainTextString:quoteLevel:wrappingLimit:
and removed method _breakWord.
2002-04-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in MimeUtility: +stringWithData: charset: when freeing
our o_bytes buffer if the iconv conversion failed and also fixed
the leak of closing properly the iconv descriptor in case of a failure
too.
2002-04-07 Ludovic Marcotte <ludovic@Sophos.ca>
* Changed MimeUtility: +fileWrapperFromUUEncodedString to use
-dataWithCapacity instead of -dataWithLength.
* Added a patch from Alexander Malmberg <alexander@malmberg.org> to
speed up the charset guessing mechanism.
* Regenerated all charset classes.
2002-04-06 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Parser: +parseMessageID: inMessage to not trim the
<> in Message-ID header value.
* Added robustness to POP3Folder so that we handle quite well
TCP timeout and we manage transferred messages vs messages with
which we had an error quite well.
2002-04-05 Ludovic Marcotte <ludovic@Sophos.ca>
* We now correctly release the folderSeparator ivar in IMAPStore
in -dealloc.
* Modified LocalStore: -folderEnumerator to hide .DS_Store directories.
* Modified IMAPStore: -renameFolderWithName: toName: to re-subscribe
to the folder if the renamed operation failed.
* Added MimeUtility: +allCharsets. This method returns an array of all
"supported" charsets by Pantomime when sending messages.
2002-04-04 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Store: -folderSeparator and implemented this method
in IMAPStore, POP3Store and LocalStore.
2002-04-03 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in IMAPFolder: -expunge. We weren't removing the deleted
mesasges from the array of "existing" messages.
2002-04-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Refactored the IMAPFolder class.
* Modified IMAPFolder and LocalFolder: -appendMessageFromRawSource: flags:
to generate a PantomimeFolderAppendMessageException in case if an error
occured while appending a message from RAW source to Local or IMAP
folder.
* Modified POP3Folder: -transferMessagesToFolder to handle this exception.
2002-04-01 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalStore: -createFolderWithName to support the creation
of hierarchical folders.
* Modified LocalStore: -deleteFolderWithName to support the deletion
of hierarchical folders.
* Added Store: -renameFolderWithName: toName:. Implemented it in
POP3Store.
* Implemented -renameFolderWithName: toName: in LocalStore.
* Implemented IMAPStore: -deleteFolderWithName:
* Implemented IMAPStore: -createFolderWithName: and
-renameFolderWithName: toName:
* Removed the use of a cached version of subscribed folders since
it leads to errors and adds complexity for no good reason.
* Modified IMAPFolder: -close to call IMAPStore:
-removeFolderFromOpenedFolders:.
* Fixed a bug in IMAPStore: -folderTypeForFolderName. We weren't
read the <tag> OK .. response following our command.
2002-03-31 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPStore: -subscribedFolderEnumerator and
-folderEnumerator to unquote folder names if they are
quoted (Courier-IMAP does that).
2002-03-30 Ludovic Marcotte <ludovic@Sophos.ca>
* Added IMAPStore: -subscribeToFolderWithName and
-unsubscribeToFolderWithName.
* Implemented IMAPFolder: -appendMessageFromRawSource:
and appendMessageFromRawSource: flags: (w/o flags support
right now)
* Added IMAPStore: -folderForName: select: to be able to
have a IMAPFolder w/o selecting it on the IMAP server. It's
very useful in case we just want to append a message to
an IMAP folder.
* Added a quick and dumb implementation to IMAPStore:
-folderTypeForFolderName.
* Fixed a bug in IMAPStore: -subscribedFolderEnumerator.
* Added URLName: -initWithString: path: so that we can use
a predefined path (useful for Local).
2002-03-29 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalStore: -folderEnumerator so that it now works
correctly for hiding cache/summary files in subfolders.
* Modified MimeUtility.m to only import iconv.h if
HAVE_ICONV is defined.
2002-03-27 Ludovic Marcotte <ludovic@Sophos.ca>
* Moved more generic methods to the Store protocol. Implememted them
in LocalStore and POP3Store. Implemented them partially in IMAPStore.
* Implemented IMAPStore: -folderEnumerator and
-subscribedFolderEnumerator.
2002-03-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Moved -folderForNameIsOpen: to the Store protocol. Implemented it in
POP3Store and provided a dumb implementation in IMAPStore.
* Added Store: -folderTypeForFolderName:. Implemented this method in
POP3Store and LocalStore. Provided a dumb implementation in IMAPStore.
* Removed MimeUtility: +foldStringUsingSoftLineBreaks: length: since we
no longer need this method.
2002-03-25 Ludovic Marcotte <ludovic@Sophos.ca>
* Updated Constants.h to set the version number to 1.0.3
* Done TODO #88. Added iconv support to Pantomime (MimeUtility:
+stringWithData: charset:. This is an initial implementation.
2002-03-24 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified POP3Store, POP3Folder and SMTP to use NS_VALUERETURN()
when leaving the exception handling domain.
* Set the CVS tag to v1_0_2
* RELEASED v1.0.2.
2002-03-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Added exception handling support in POP3Store:
-authenticateWithUsername: password:
-responseFromServerIsValid: and
-close.
* Same thing for POP3Folder for the methods:
-deleteMessageAtIndex:
-count
-readUID and
-readLength
* Modified IMAPStore: -close to call [[self tcpConnection] close].
* Did the same thing in POP3Store: -close. This is just 'safe' to
do that.
2002-03-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Done TODO #88. Added test cases for Pantomime and also a simple testing
framework from Alexander Malmberg <alexander@malmberg.org>.
* Did some cleanups everywhere for the next release.
* Modified IMAPMessage: -setInitalize to release the content if
the flag is NO. Also assign the ivar to nil after. Did the same
thing for LocalMessage.
2002-03-17 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified the OS X project file to include URLName.h in the list
of public headers.
* Added more code to the URLName class and also implemented the missing
methods from the Store protocol for URL handling in POP3Store and
IMAPStore.
* Updated Testing/Pantomime.m
* Updated the README (need to write the section on how to compile
Pantomime under Apple Mac OS X).
* Done TODO #65. Added uudecode support to MimeUtility. Added two methods:
+fileWrapperFromUUEncodedString: and
+rangeOfUUEncodedStringFromString: range:
Those methods haven't been. More work is coming for them.
* Fixed a memory leak in MimeUtility:
+encodeWordUsingQuotedPrintable: prefixLength:
* Reactivated MimeUtility: +encodeWordUsingBase64: prefixLength:
* Added the missing flags support in the IMAP mode. Modified
IMAPFolder: -parseMessageFlagsFromString.
2002-03-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Added more code to the URLName (for Local and IMAP parsing)
* Added Store: -initWithURL and -folderForURL. Implemented those
two methods for LocalStore.
2002-03-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified SMTP: -initWithName: port: to handle read/write timeouts
when establishing the connection with the SMTP server. We return
nil in that case.
* Added a new class - URLName. This call will be used to support
Local/IMAP/POP3 URL scheme. Did an initial implemenation (mostly a
skeleton).
* Added the URLName class to the OS X project file and modified some
files so that everything compiles cleanly under OS X.
2002-03-14 Francis Lachapelle <francis@Sophos.ca>
* Added missing header (NSArray) in NSDataExtensions.h
2002-03-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Added SMTP AUTH support to SMTP. We currently support PLAIN, LOGIN
(tested) and CRAM-MD5 (untested, if you have a server supporting this,
please contact me!) (TODO #49).
2002-03-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Refactored TCPConnection. Added -_readByte and -_writeByte. All other
read/write methods use those two non-blocking methods (TODO #83). Also
fixed some little bugs and a memory leak in case of a failure.
2002-03-11 Ludovic Marcotte <ludovic@Sophos.ca>
* Done some minor cleanups in MimeBodyPart.m
* Fixed a bug in IMAPFolder (Private): _replaceCRLFInMutableData:.
* Added NSDataExtensions: insertCString: atIndex.
* Added a patch from Alexander Malmberg <alexander@malmberg.org> to
NSDataExtensions: -cString so we don't lose any information
while creating the cString reprensetation of a NSData object.
* Modified LocalFolder: -appendMessageFromRawSource to NOT use
a temporary NSString object using a latin1 encoding. That was
slowing things down a lot.
* Refactored a lot NSDataExtensions. Optimized some parts also.
2002-03-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Added versionning support to POP3CacheObject. Also added a
date ivar and two accessors (-setDate/-date)
* Added POP3Folder -setRetainPeriod/-retainPeriod and modified
POP3Folder -prefech to delete messages that have a difference
of 'retainPeriod' days between the current date and the date
when they were first fetched.
* Modified Message: -replyWithReplyToAll to NOT include the
sender's signature in the newly created message.
2002-03-07 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a patch from Alexander Malmberg <alexander@malmberg.org> to
return the 'raw data' of a part if it can't be decoded properly.
* Added a patch from Alexander Malmberg <alexander@malmberg.org> to
set the string of an address that can't be parsed to the personal
part of an InternetAddress.
* Modified LocalStore to NOT compare folder names in a case insensitive
way since we want to support for example, a folder called 'Test'
and 'test' in a distinc way.
2002-03-06 Francis Lachapelle <francis@sophos.ca>
* Removed unsupported encodings in MimeUtiliy.m (for Mac OS X)
* Added import of NSDataExtensions.h and Constants.h in
NSDataExtensions.m
2002-03-06 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified the Part class to properly encode the filename
if it's not a pure ASCII string. It'll automatically encode
it using QuotedPrintable and the right charset (guessed).
2002-03-04 Ludovic Marcotte <ludovic@Sophos.ca>
* Refactored MimeUtility: +unfoldLinesFromData.
* Refactored MimeUtility: +encodeBase64: lineLength: and fixed
a memory leak.
* Refactored MimeUtility: +encodeQuotedPrintable: lineLength:
inHeader:
* Refactored MimeUtility: +generateBoundary
* Refactored MimeUtility: +generateOSID
* Fixed a mem leak in MimeUtility: +encodeHeader
* Removed unused code in MimeUtility: +encodeHeaders: usingCharset:
encoding:
* Added Part: -lineLength/-setLineLength to be able to specify
the length limit when format of the mail is flowed.
* Modified Part: -dataUsingSendingMode to format the mail as
flowed is it has been specified to do so (using the right
line length).
* Refactored MimeUtility: +decodeHeader.
* Modified POP3Folder: -prefetchMessageAtIndex to use the
local autorelease pool at the very beginning of the method.
2002-03-03 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a patch from Alexander Malmberg <alexander@malmberg.org>.
Added the NSDataExtensions class.
This patch allows Pantomime to support 8bit messages.
Modified the patch (refactored some parts and fixed some little
bugs).
This needs more work but this is an excellent starting point.
The OSX port will need to be updated since this code won't work
right now under OSX.
Some of the API was changed and will need to be documented. In
general, the library should 'behave' pretty much the same as it
did before, minus the minor changes in the APIs.
2002-02-27 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Contants.h to set the version number to 1.0.2.
2002-02-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a patch by Alexey I. Froloff <raorn@binec.ru> so that
we deal better with text/* parts encoded in base64. We now
return those parts ONLY as a NSString object.
* Set the CVS tag to v1_0_1
* RELEASED v1.0.1
2002-02-25 Francis Lachapelle <francis@Sophos.ca>
* Updated Project Builder file to version 1.0.1.
2002-02-23 Ludovic Marcotte <ludovic@Sophos.ca>
* Added RFC2384 (POP3 URL Scheme) and a TODO
2002-02-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed some RETAIN/AUTORELEASE bugs in MimeUtility if the initial
conditions for some methods were not met. Patch from
Alexander Malmberg <alexander@malmberg.org>.
* Added rfc/rfc2192.txt (IMAP URL Scheme) and a TODO
2002-02-21 Ludovic Marcotte <ludovic@Sophos.ca>
* Added MimeUtility: +stringEncodingForPart to be able to
get the best string encoding for a NSString object that will
be used to represent a specific part.
* Added the support for the Windows-1252 charset.
* Modified Parser: +parseDestination: forType: inMessage:
to decode the possibly encoded personal value of an
InternetAddress object.
* Fixed little bugs in CharsetDecoder.m and updated the
update_sets.sh script.
* Updated the OSX project file to include the new
WINDOWS_1252 class.
2002-02-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Changed the return type of Store: -folderForName and
-defaultFolder from Folder * to id. Modified the classes implementing
the Store protocol for those changes.
* Changed IMAPStore to return IMAPFolder * instead of Folder * for
-folderForName: prefetch: and -folderForName: withIMAPCacheManager:
* Changed POP3Store to return POP3Folder * instead of Folder * for
folderForName: prefetch:
2002-02-19 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalFolder: -parse to output useful logs when
the cache is used or needs to be build.
* Modified MimeUtility: -encodeWordUsingBase64 to return the
received string (as argument) if it doesn't need to be encoded.
* Cleaned some comments in MimeUtility.m
2002-02-17 Ludovic Marcotte <ludovic@Sophos.ca>
* Moved LocalFolder.h: - (void) appendMessageFromRawSource:
(NSString *) theString; in Folder.h.
* Added LocalFolder: -appendMessageFromRawSource: flags:
to be able to transfer a message from a raw source with
a set of flags.
* Fixed some #import / @class in the Folder class.
* Added Folder: -updateCache to update the cache 'hidden' in
the Folder class in case messages have been transferred and
we want to hide right now those messages.
* Added NSCopying support to the Flags class. Also added
-initWithFlags: (int) theFlags.
2002-02-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed some missing #imports in Pantomime.h
* Modified Folder: -setShowDeleted to TEST_RELEASE
our allVisibleMessages array before setting this ivar
to nil.
* Fixed a bug in LocalFolder: -expunge. We were NOT adding
the message separator (\n) after each messages.
2002-02-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Optimized Folder: -allMessages. We now use a 'ghost' array
(allVisibleMessages) so that we don't have to recreate it
everytime Folder: -allMessages is called.
* Modified Folder: -appendMessage to also append the message
to our allVisibleMessages array if it exists.
* Did the same thing for Folder: -removeMessage.
* Modified Folder: -setMessages to release the allVisibleMessages
array if it does exist. We also set this ivar to nil after.
* Modified Folder: -messageAtIndex to use [self allMessages] instead
of the allMessages ivar directly.
2002-02-15 Francis Lachapelle <francis@Sophos.ca>
* Modified the method replyWithReplyToAll of Message so it uses
the method quotePlainTextString from the class MimeUtility.
* Improved methods:
quotePlainTextString (added conditional space char insertion);
unwrapPlainTextString (fixed wrong quoted block insertion location);
wrapPlainTextString (added proper space-stuffing).
2002-02-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Folder: -numberOfDeletedMessages. This method returns
the number of deleted messages in a folder.
2002-02-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified TCPConnection: -writeLine / -writeString to
return YES on success and NO on error. Suggestion by
Luis Garcia Alanis <luis@sogrp.com>
2002-02-14 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* New Message methods to support sorting by size
2002-02-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message (Sorting) to use compareAccordingToNumber
instead of reverseCompareAccordingToNumber in
compareAccordingToDate.
2002-02-13 Francis Lachapelle <francis@Sophos.ca>
* Updated Project Builder file:
added LocalFolderCacheManager;
added KOI8_R and KOI8_U;
added WINDOWS_1251.
2002-02-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalFolder: -appendMessageFromRawSource to only
initialize the message from the headers and not entirely.
This speedups things a lot and uses far less memory.
* Cleaned A LOT the Folder class and it's subclasses. Removed
the -setCount method and moved generic implementation of most
methods (cout, messageAtIndex, etc) in the Folder class and
removed them from their subclasses.
* Implemented LocalFolder: -expunge.
* Modified LocalStore: -deleteFolderWithName to also remove
the cache when deleting a folder.
* Some bug fix for Message's comparing methods. Patch
from Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>.
* Added a fix to support nil dates for the Sorting Message's
category.
2002-02-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Done more work on caching support for local folders.
* Added a patch from Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
to support comparisons in the Message class.
2002-02-11 Ludovic Marcotte <ludovic@Sophos.ca>
* Added coding support to LocalMessage.
* Added the LocalFolderCacheManager class. This is an initial
implementation.
* Added support for caching for local mboxes. This support is
currently BROKEN and YOU SHOULD NOT USE PANTOMIME right now.
2002-02-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalStore: -folderEnumerator to NOT return
Netscape Mail's summary files when enumerating mboxes.
* Modified the license in all .m files from GPL to LGPL. That
was a mistake due to "copy & paste". The lib was always under
LGPL so nothing changes.
* Done the same thing with all .h files.
2002-02-07 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a patch from Sir Raorn <raorn@binec.ru> for
koi8-r, koi8-u and windows-1251 charsets (cyrillic) support.
2002-02-04 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Constants.h to set the version number to 1.0.1.
2002-01-30 Ludovic Marcotte <ludovic@Sophos.ca>
* RELEASE OF 1.0.0
* Set the CVS tag to v1_0_0
2002-01-28 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +decodeStringFromQuotedPrintable: charset:
to add an handler for exceptions.
2002-01-27 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a local autorelease pool in MimeUtility:
+charsetForString.
2002-01-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Added local autorelease pool in MimeUtility: +isASCIIString,
+encodeText: usingCharset: encoding: and
+foldStringUsingSoftLineBreaks: length:
* Optimized SMTP: -sendMessageFromRawSource.
* Moved the TEST_RELEASE(pool) in MimeUtility:
+encodeText: usingCharset: encoding: after the for loop. That
was causing a segfault.
2002-01-25 Ludovic Marcotte <ludovic@Sophos.ca>
* Added version control support to IMAPCacheManager and
modified -initWithCoder so we can safely discard IMAP caches
from previous releases of Pantomime.
2002-01-24 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +discreteContentFromRawSource:
usingContentTransferEncoding: charset: to accept the
part parameter and enabled the decoding of the content
format=flowed in this method using MimeUtility:
+unwrapPlainTextString: usingQuoteWrappingLimit:.
* Added missing @end at the end of the public Message
implementation.
* Modified POP3Folder: -prefetchMessageAtIndex so that
we verify if we get the Status: header while receiving our
message. If we don't, we just add it.
* Done TODO #84. Changed -setFileName and -fileName to
-setFilename / filename everywhere.
2002-01-23 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -replyWithReplyToAll so that we when we verify
for text parts, we verify for text/plain, text/enriched and
text/html instead of text/* in case for example, we have
a text/x-vcard or anything else.
* Modified TCPConnection: -readLineBySkippingCR to increase our
buffer to 4096 chars and also added an extra verification
on the aString local var to not call -length on it if it's nil.
2002-01-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Renamed Folder: -removeTransferredMessage to -removeMessage
and modified IMAPFolder the same way.
* Modified MimeUtility: -compositeMultipartContentFromRawSource:
usingBoundary: to separate our components by "\n--<boundary>"
instead of "--<boundary>".
* Modified MimeBodyPart: -initWithString to sent the length
of the range for the bodyString to
[theString length] - aRange.location - 2 instead of
[theString length] - aRange.location - 3.
2002-01-21 Ludovic Marcotte <ludovic@Sophos.ca>
* Added a private category to IMAPFolder and defined:
- (void) _replaceCRLFInMutableString: (NSMutableString *)
theMutableString
in it in order to ease the replace operation of \r\n by \n.
* Fixed a bug IMAPFolder: -prefetchNewMessagesStartingAtUID.
We were NOT replacing \r\n by \n in our headers so that
headers will have wrong values (all ending by a \r).
You MUST again remove your IMAP cache since the old copy
probably contains wrong serialized headers.
2002-01-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Part.m to not rely on subclasses for most methods
and added NSCoding support.
* Modified MimeBodyPart to remove unused methods.
* Added NSCoding support to MimeBodyPart.
* Added NSCoding support to Message.
* Modified IMAPCacheObject to use a Message ivar instead of
a dictionnary of headers.
* Modified IMAPFolder to use the new IMAPCacheObject.
* YOU MUST REMOVE ALL YOUR IMAP CACHE FILES BEFORE USING THIS NEW
CODE. Just rm -f ~/GNUstep/Library/GNUMail/IMAPCache* (or
rm -f ~/Library/GNUMail/IMAPCache* under OS-X)
* Added a Private category to message and moved the method
formatRecipientsWithType in it (renamed
_formatRecipientsWithType).
2002-01-19 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPFolder: -prefetch to remove from the cache
to objects (ie., messages) that have been deleted from
the IMAP server. Patch written with
Anthony W. Juckel <awj@digitalgreen.com>.
* Modified Message: -replyWithReplyToAll to verify the encoding
of a text/* part when searching for one in a multipart/alternative
body part in case it was base64 encoded. We don't assume it's a
NSString anymore.
* Did the same thing in Message: -forward.
* Corrected the ivar headers type in IMAPCacheObject (it was
a NSString instead of a NSDictionary) and changed the parameter
type of -setHeaders (same mistake).
* Added NSCoding support to Flags.
* Refactored a little bit Part.h
2002-01-18 Ludovic Marcotte <ludovic@Sophos.ca>
* Included a patch from Anthony W. Juckel <awj@digitalgreen.com> to
implending encoding/decoding support in InternetAddress. Also, the
patch modifies IMAPCacheObject to serialize the headers as a
NSDictionnary instead as a string - this should make things faster
when opening the cache.
The patch also cleans some method names in Message so we don't
confuse -initWithHeaders / -initWithHeadersFromString methods
(same thing with -setHeaders / -setHeadersFromString).
Modified SMTP.m to use -setHeadersFromString instead of
-setHeaders.
YOU MUST REMOVE ALL YOUR IMAP CACHE FILES BEFORE USING THIS NEW
CODE. Just rm -f ~/GNUstep/Library/GNUMail/IMAPCache* (or
rm -f ~/Library/GNUMail/IMAPCache* under OS-X)
2002-01-17 Francis Lachapelle <francis@Sophos.ca>
* Fixed wrong releases in method wrapPlainTextString of MimeUtility.
2002-01-17 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Contants.h to add PANTOMIME_VERSION and to set it
to 1.0.0.
* Modified Message.m to set the Pantomime version number to
use PANTOMIME_VERSION.
2002-01-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +unwrapPlainTextString: usingQuoteWrappingLimit:
+wrapPlainTextString: usingWrappingLimit:
+quotePlainTextString: quoteLevel: wrappingLimit:
to use a local autorelease pool.
* RELEASED 0.9.0 and set the CVS tag to v0_9_0.
2002-01-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: -foldStringUsingSoftLineBreaks: length:
so that we verify the length of our string before try to obtain
the characters near the end of that string.
* Modified Part to accept a new ivar for holding the format of the
mail (flowed / unknown). Patch from Francis Lachepelle
<francis@Sophos.ca>
* Modified Contants.h to define two new contants for the format:
FORMAT_UNKNOWN -> 0
FORMAT_FLOWED -> 1
Patch from Francis Lachepelle <francis@Sophos.ca>
* Added MimeUtility: +unwrapPlainTextString: usingQuoteWrappingLimit:
and +quotePlainTextString: quoteLevel: wrappingLimit.
This completes TODO #78 (see Format flowed...)
Refactored +wrapPlainTextString: usingWrappingLimit.
This completes TODO #81 (rewrite this method)
Patch from Francis Lachepelle <francis@Sophos.ca>.
* Modified Parser: -parserContentType: inPart: to decode the
format parameter and set the part's format to FORMAT_UNKNOWN
or FORMAT_FLOWED depending on the value that has been read.
Patch from Francis Lachepelle <francis@Sophos.ca>.
* Added Parser: _parameterValueUsingLine: range: to be able
to read parameter values all the time. For example the charset
parameter encoded using multipart format like
charset="us-ascii"
charset=us-ascii
charset=us-ascii;
We now call this method for decoding the boundary, the charset,
the format and the name.
* Modified Message: -stringValueUsingSendingMode to add the
flowed parameter IIF the Content-Transfer-Encoding is NOT
QuotedPrintable or Base64.
* Done the same thing in MimeBodyPart: -stringValueUsingSendingMode.
2002-01-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified POP3Folder: -prefetchMessageAtIndex to use a local
autorelease pool for this method.
* Modified Message: -forward to set the Content-Type of our
forward text part (in case it's a text/html or text/enriched).
* Modified MimeBodyPart: -stringValueUsingSendingMode to replace
all 'appendString' call by 'appendFormat'.
* Same thing for Message: -stringValueUsingSendingMode.
* Modified Message: -forward to set the filename to the new part
when the Content-Type is message/rfc822 or any other type like
application/*, audio/*, image/* or video/*.
* Modifed MimeUtility: -setContentFromRawSource: inPart: to treat
message/delivery-status like a discrete type.
* Same thing for MimeBodyPart: -stringValueUsingSendingMode and
also modified that method when the Content-Type is message/rfc822
OR message/partial (replaced since it was originally message/*)
2002-01-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalFolder: -close to not use a mutable string
for writing our temporary message but we rather write
it directly.
* Rewritten MimeBodyPart: -stringValueUsingSendingMode to
support most kind of parts. It still more work and a little
bit of refactoring (to generalize some parts of this method).
2002-01-11 Ludovic Marcotte <ludovic@Sophos.ca>
* Implemented -contentDisposition/-setContentDisposition in
Message.m
* Modified some comments in MimeUtility.m
* Refactored Message: -replyWithReplyToAll and -forward so they
are both more stable and should work way better with various
messages.
* Modified Parser: -parseContentType: in Part: to decode the
filename before setting it in case it was QP (or base64) encoded.
* Modified Message: -replyWithReplyToAll to search for
multipart/alternative text/plain parts inside a multipart/mixed
(or related) part.
* Modified Message: -forward to set all body parts disposition to
"attachment" when adding them to our new multipart object.
2002-01-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Moved setContent/content from MimeBodyPart / Message to Part.
* Modified MimeBodyPart: -initWithString to use
MimeUtility: +setContentFromRawSource: inPart.
* Modified Message: -setContentFromRawSource to use
MimeUtility: +setContentFromRawSource: inPart.
* Added new methods to MimeUtility:
+discreteContentFromRawSource: usingContentTransferEncoding: charset:
+compositeMessageContentFromRawSource
+compositeMultipartContentFromRawSource: +usingBoundary
+setContentFromRawSource: inPart:
Those new methods are used to decode ALL parts's content.
* Modified Charset: -characterForCode to return \t \n or \r if
we get such char as the parameter.
2002-01-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeBodyPart: -initWithString so that if our part
is a message/rfc822, we use Message: -initWithString instead
of separating the headers from body and setting both to the
message.
* Modified Message to set the rawSource ivar in -initWithString
instead of -setContentFromRawSource since the latter was wrong
(not including the headers).
2002-01-07 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPStore: -close to replace %d by %@ in the
string to verify when closing. Otherwise, were we looping
endlessly. This bug has been introduced by on saturday.
2002-01-06 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPFolder: -prefetchMessageBodyWithUID to read
the extra two lines sent by the IMAP server at the end of a
FETCH BODY[TEXT]. Only one of them was read. Modified the
comment to describe this part of the code.
* Done the same thing in -prefetchMessageWithUID and also added
the code to replace all \r\n by \n in the content of the message
returned by the IMAP server.
* Modified IMAPStore: -close to read the response sent by the
IMAP server when we issue a LOGOUT. Currently, we just ignore
the result.
* Added rfcs/rfc2183.txt (The Content-Disposition Header Field)
* Modified Message: -rawSource to return the rawSource ivar if
it's not nil. This ivar is ONLY set in setContentFromRawSource since
we migth be able to retrieve the raw source of a message
(for example, from a message/rfc822 part). YOU MUST recompile
Pantomime ENTIRELY (make distclean; make) since this change
was made.
2002-01-04 Ludovic Marcotte <ludovic@Sophos.ca>
* Included a patch from Anthony W. Juckel <awj@digitalgreen.com>
to progressively read from the socket instead of trying to read
everything in one step. This bug is fixed in TCPConnection:
-readStringOfLength: .
* Included a patch from Anthony W. Juckel <awj@digitalgreen.com> so
that Flags now uses a bitstring instead of a mutable array to
manage the flags. It should make things way faster. GNUMail.app
*** NEEDS *** to be recompiled (entirely).
* Modified POP3Folder: -count to use TCPConnection: -readLine instead
of TCPConnection: -readStringOfLength: 80 to prevent it from
blocking.
* Included a patch from Anthony W. Juckel <awj@digitalgreen.com>
(modified by myself) to optimize the IMAPFolder code.
* Fixed a little bug in IMAPFolder: -prefetchNewMessagesStartingAtUID
so that we prevent a 'bug' from IMAP server that always return
the last UID even if we started our prefetch at this UID.
* Renamed MimeUtility: +encodeWordUsingQuotedPrintable to
+encodeWordUsingQuotedPrintable: prefixLength: and implemented
the support of folding the result if it needs to be folded to
75 characters (to be RFC2047 compliant).
* Modified InternetAddress: -stringValue to call this new method
instead of the old one.
* Modified IMAPFolder: -prefetchNewMessagesStartingAtUID so that it
makes the verification for the 'wrong' UID after we get it
from -parseMessageUIDFromString and corrected a memory leak.
* Modified MimeUtility: +encodeText: usingCharset: encoding: to
always return an encoded string (even if it's pure ASCII).
* Modified IMAPFolder: -prefetch to use a 'rotating' autorelease pool
that we release after every 100 iterations of the loop.
* Modified Message: -setHeaders to use a local autorelease pool
during this method call.
* Optimized MimeUtility: -unfoldLinesFromString.
2002-01-03 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: -encodeText: usingCharset: encoding:
so that when we see a '?', we append directly the =3f code.
This is to be fully RFC2047 compliant.
* Added missing return in MimeUtility: --encodeText: usingCharset:
encoding: when the encoding was BASE64.
2001-12-30 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeBodyPart: -initWithString so that we remove
the extra junk for multipart/appledouble before the mime
boundary if we need to (like we do for multipart/alternative).
This fix some warning we had.
* Modified Parser: -parseContentType: inPart: so that when
we decode our boundary, we read the substring only between
the quotes if we have some and if not, we read the boundary
until the end of the string. This fix a bug with mailman for
example that adds junk after the Content-Type.
2001-12-28 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified UTF8.h to make the class inherit from NSObject.
2001-12-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -setContentFromRawSource to verify not only
for image/* Content-Types but also application/*, audio/* and
video/*.
2001-12-25 Ludovic Marcotte <ludovic@Sophos.ca>
* Applied a small fix in MimeUtility: -unfoldSoftLineBreaksFromString.
We now make our new range from aRange.location instead of
aRange.location + 1. Modified the length of our new range too.
2001-12-23 Ludovic Marcotte <ludovic@Sophos.ca>
* Applied a small fix in MimeUtility: -unfoldSoftLineBreaksFromString.
we were replacing "=\n" by "\n" instead of just deleting that
range of characters.
2001-12-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -setContentFromRaw source. When
the Content-Transfer-Encoding is quoted-printable,
we actually decode our string so we don't do it
in Utilities.m (from GNUMail.app) but rather inside
the library.
* Modified MimeBodyPart: -initWithString so that when
the Content-Transfer-Encoding is quoted-printable,
we don't break our string on \n and decode all the lines
but rather decode the string directly.
* Optimized MimeUtility: -foldStringUsingSoftLineBreaks:
length:
2001-12-21 Ludovic Marcotte <ludovic@Sophos.ca>
* We now make an extra verification in MimeBodyPart:
-initWithString when the Content-Type is a
multipart/alternative before removing the 'junk'.
We now also verify that our aRange has a length > 0
and a location > 0.
2001-12-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -forward to be use the same code as
text/plain parts when we want to forward a message
with a Content-Type of text/enriched.
2001-12-19 Ludovic Marcotte <ludovic@Sophos.ca>
* Added GSMD5.h/.m from gscrypt. Modified this class to not
depend on other gscrypt's classes and also refactored a
little bit the code.
* Added GSMD5.h/.m to the GNUmakefile
* Added POP3Store: -apopAuthenticateWithUsername: password:
and POP3Store: -useAPOP and -setUseAPOP to allow APOP
authentication.
* Modified POP3Store: -authenticateWithUsername: password:
to use apopAuthenticateWithUsername: password: if the server
only supports APOP or if we must use APOP. Done TODO #48.
* Modified MimeUtility: +decodeStringFromQuotedPrintable: charset:
to use a 'local' autorelease pool that we release every 100th
iteration in the loop. This fix the problem of messages eating
A LOT of RAM when being decoded from QP (if they are big).
* Modified LocalFolder: -appendMessageFromRawSource to replace
all occurences of "\nFrom " to "\n>From ". Otherwise, it will
break the mbox format.
* Added GNUmakefile.postamble and modified GNUmakefile to include
it. Done TODO #31.
* Modified Parser: +parseSubject: inMessage: to support empty
subjects.
* Done the same thing for +parseOrganization: inMessage:
+parseContentDisposition: inPart:
+parseContentID: inPart:
+parseContentTransferEncoding: inPart:
+parseContentType: inPart:
+parseDate: inMessage:
+parseDestination: forType: inMessage:
+parseFrom: inMessage:
+parseMessageID: inMessage:
+parseMimeVersion: inMessage:
+parseReplyTo: inMessage:
+parseResentFrom: inMessage:
+parseStatus: inMessage:
+parseXStatus: inMessage:
* Modified POP3Store: -initWithName: port: to set
useAPOP to NO by default.
* Done TODO #62. Patch from Vicent Ricard <magicninja@wanadoo.fr>.
Added new class: UTF8.
Modified the GNUmakefile to include it.
* Added MimeUtility: +decodeStringFromUTF8 which uses the new class
UTF8.
* Modified MimeUtility: +decodeStringFromQuotedPrintable: charset:
to use MimeUtility: +decodeStringFromUTF8 if the charset
is UTF-8.
* Added missing #import <Pantomime/Constants.h> in UTF8.m
* Updated MacOS-X project file.
* Corrected a tiny bug of a misplace ; in GSMD5.m
2001-12-18 Ludovic Marcotte <ludovic@Sophos.ca>
* Removed all references to the NSUserDefaults in Message.m
* Added Parser: +parseOrganization: inMessage:
and modified LocalFolder: -parse and Message: -setHeaders
to use this method.
* Added Message: -setOrganization and -organization to set and
get the Organization header value.
* Removed TODO #8. We now define -authenticateWithUsername:
password:
in the Service protocol and we implement this method in
SMTP.m (dummy implementation right now).
* Cleaned some headers and the TODO list.
* Done TODO #58. Implemented MimeUtility: +encodeWordUsingBase64
and modified MimeUtility: +encodeText: usingCharset: encoding:
to use it.
* Changed POP3Store: -responseFromServerIsValid to
-responseFromServerIsValid: (NSString **) theResponse so we can
read back the response from our server. Updated all methods calls
in POP3Store.m and POP3Folder.m
* Added POP3Store: -timestamp and -setTimestamp for APOP support
* Modified POP3Store: -initWithName: port: to detect APOP support
2001-12-17 Ludovic Marcotte <ludovic@Sophos.ca>
* We include <sys/time.h> in TCPConnection.m
* Refactored SMTP so that we use TCPConnection.
* Same thing for POP3Store and POP3Folder
* Same thing for IMAPStore and IMAPFolder
* Removed unused methods from Service.h
* Added TCPConnection: -readLineBySkippingCR: so
that we can generalize the process of reading a line
for SMTP, POP3 and IMAP.
Modified -readLine to call readLineBySkippingCR with
NO as the parameter. YES is passed only when
using IMAP.
* Modified Message.m to now use the version number 0.9.0.
* Modified MimeUtility: -wrapPlainTextString:
usingWrappingLimit:
and -foldStringUsingSoftLineBreaks: length: since we
were removing the last two characters and not the
last one.
* Same thing for MimeUtility: -_breakWord: usingLimit:
* Added missing #import of Constants.h in TCPConnection.m
* Updated MacOS-X project file (added TCPConnection)
2001-12-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Done TODO #66. Added TCPConnection with non-blocking
connect. Needs more work for read/write operations and
needs to be integrated in all classes that do socket I/Os.
* Fixed a bug in POP3Folder: -transferMessagesToFolder. We
now correctly delete the messages if we don't need to keep
them on the server.
* Done the same thing in POP3Folder: -prefetch.
2001-12-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPFolder: -prefetchMessageBodyWithUID so that
we verify that aString isn't nil before adding it to our
mutable string since under OS-X, appending a nil value
to a NSMutableString will generate a segfault.
* RELEASE OF 0.8.0.
* Added tag v0_8_0 for current files
2001-12-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalFolder: -close to catch potential errors
while saving the mailbox to a temporary file. If an error
occurs, we don't remove the original one.
2001-12-11 Francis Lachapelle <francis@Sophos.ca>
* Improved Project Buillder file definition
2001-12-11 Ludovic Marcotte <ludovic@Sophos.ca>
* 'Finished' the implementation of wrapPlainTextString:
usingWrappingLimit:. This method WILL have to be rewritten
since it's VERY ugly.
* Added MimeUtility: _breakWord: usingLimit: to break a word
that is longer than a specified limit into words separated
by \n.
2001-12-10 Ludovic Marcotte <ludovic@Sophos.ca>
* Added MimeUtility: -wrapPlainTextString: usingWrappingLimit:
to wrap text/plain messages to the specified line limit. This
method is just a skeleton.
2001-12-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: -decodeText so that we make
an initial verification to see if the text has been
QP/Base64 encoded before created the mutable string
and looping. It should make the parsing of mailboxes
a little bit faster. It also reduce memory requirements.
* Fixed a small leak in both Message.m and MimeBodyPart.m when
decoding message/rfc822 messages. We were not releasing
the new message after setting it as the content.
2001-12-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Implemented the support of message/rfc822 as the
Content-Type of messages (not only mime body parts).
* Fixed Message: -forward when we try to forward messages
that has message/rfc822 as their Content-Type.
* Done the same thing for Message: -replyWithReplyToAll.
2001-12-06 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeUtility: +generateBoundary to include "=_" at
the beginning of the generated boundary like it's recommended
in RFC2045 - 6.7.
* Created MimeUtility: +unfoldSoftLineBreaksFromString.
* Modified Message and MimeBodyPart to use this new method.
* Created MimeUtility: +foldStringUsingSoftLineBreaks: length:
to fold using the soft line breaks methods the line that
are longer than length.
* Fixed a bug in Message: -forward, we weren't keeping the
Content-Transfer-Encoding and the Charset of the text parts.
* Modified Message: -replyWithReplyToAll to set the In-Reply-To
header when replying to an E-Mail. Modified Message:
-stringValueUsingSendingMode to actually use this header.
2001-12-05 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeBodyPart: -initWithString so that we consider
"binary" content transfer encoding like 8bit.
* Modified MimeBodyPart: -initWithString so that we remove
the 'junk' before the real boundary of a multipart/alternative
part.
* Modified Message: -setContentFromRawSource so that we remove
the first \n only if it's present. Done the same thing in
MimeBodyPart: -initWithString.
* Since we made the last modification, changed the comparison:
if (! [aString hasPrefix: @"-\n"] ) to:
if (! [aString hasPrefix: @"--\n"] ) in both Message and
MimeBodyPart.
* Refactored some other parts of MimeBodyPart.
2001-12-03 Ludovic Marcotte <ludovic@Sophos.ca>
* In Charset: - characterIsInCharset added a test to
verify that the character isn't a control character.
If it is, we simply return YES.
2001-11-30 Francis Lachapelle <francis@Sophos.ca>
* Added tag v0_7_0 for current files
2001-11-30 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message.m since we are now at 0.8.0
* Modified POP3Folder: -prefetch so we don't use
the autorelease pool.
* Done the same thing in IMAPFolder: -prefetch and
in -prefetchNewMessagesStartingAtUID.
* Modified Charset: -characterForCode so that we
never return nil but if the character isn't found,
we return @"".
2001-11-30 Ludovic Marcotte <ludovic@Sophos.ca>
* RELEASE OF 0.7.0
2001-11-29 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed Message: -setContentFromRawSource to unfold
soft-folded lines in a Content-Type: text/plain with
a Content-Transer-Encoding set to QP.
* Modified MimeBodyPart to support multipart/appledouble
* Added MimeBodyPart: _mimeMultipartFromRawSource
to reuse code defined when parsing multipart/alternative
parts for multipart/appledouble.
* Fixed a memory leak in Message: -forward. We were not
releasing the newMimeBodyPart.
* Fixed a memory leak in Message: -forward. We were not
releasing the newMimeMultipart.
* Fixed a bug in IMAPStore: -authenticateWithUsername: ...
It should now work with all kind of imap servers.
* Modified IMAPFolder: -prefetchNewMessagesStartingAtUID so
that we use an autorelease pool for each loop iteration
since that method is very memory-consuming on the standard
autorelease pool.
* Modified LocalFolder: -parse and Message:
-setContentFromRawSource to use a new autorelease pool
while beeing in those methods since they can be memory
consuming on our default autorelease pool.
* Removed unused variable in LocalMessage: -setInitialized
2001-11-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -setContentFromRawSource and
MimeBodyPart: -initWithString to make an extra
verification when we decode the parts to be sure
that the length of the strings (ie., components)
separated by the boundary are not nil and have a
length > 0.
2001-11-25 Ludovic Marcotte <ludovic@Sophos.ca>
* Implemented multipart/alternative support in
MimeBodyPart: -initWithString.
* Fixed two small memory leaks in MimeBodyPart:
-initWithString.
-initWithName: port:
Same thing in LocalStore, LocalMessage, Message,
POP3Store, SMTP and IMAPStore.
All those leaks could append if the init* methods
of those classes were failing (returning nil). We
were not autoreleasing the object 'self'.
2001-11-24 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified IMAPStore: -authenticateWithUsername: password:
to quote the password if it contains punctuation
characters.
2001-11-23 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -stringValueUsingSendingMode: so that
under OS-X, we initialize aLocale properly. Patch from
Stephane Corthesy <stephane@sente.ch>.
2001-11-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalFolder/LocalStore so that we don't
need to parse a folder when we open it. For example,
that might be useful if we simply want to append
a message from raw source and close the folder right
after this operation.
* Added Charset: -characterIsInCharset to verify if a
character is in this charset. Patch from Vincent Ricard.
* Optimized MimeUtility: -charsetForString. Patch from
Vincent Ricard.
* Updated charsets/CharsetDecoder to use
#import <Pantomime/...> instead of #import <...>
2001-11-21 Ludovic Marcotte <ludovic@Sophos.ca>
* Refactored LocalFolder: -parse (removed unused code)
and fixed a bug if the last message of the mbox file
was an empty message. Suggestion by Alexander Malmberg
* Reorganized all the source code
* Some cleanups after import.
* Updated Project Builder project file for MacOS-X.
* Added English.lproj/InfoPlist.strings
2001-11-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Pantomime.h (From Stephane Corthesy
<stephane@sente.ch>) to ease #imports in projects
depending on Pantomime.
* Added a patch from Stephane Corthesy that modifies
all #imports in .h files, and uses #import
<Pantomime/...> instead of #import "...". It corrects
a var initialization in LocalFolder.m, adds a missing
initialization in Parser.m, and adds a cast in strincmp.c
to avoid a #warning.
* Optimized MimeUtility: -decodeStringFromQuotedPrintable:
charset:
We now replace the characters in a range instead of using
a mutable string. It's an order of magnitude faster than
before.
* Added RFCs 2045 and 2046.
* Changed the generation of QP codes from lowercase to
uppercase. Suggestion by Vicent Ricard to be more
RFC2045 compliant.
* Fixed the GNUmakefile to skip warning from the patch
from Stephane Corthesy.
* Added MacOS-X project file
2001-11-19 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeBodyPart: -initWithString so that
we verify that we don't have an empty body
part content.
* Updated Testing/Pantomime.m
2001-11-18 Ludovic Marcotte <ludovic@Sophos.ca>
* Refactored a lot of files to eliminate all
warning under MacOS-X and GNUstep/Linux.
* Changed the GNUmakefile to include -Wall when
we compile
2001-11-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Renamed POP3Store: -verifyResponse to
-responseFromServerIsValid
* Modified InternetAddress: -personal so that we
return a quoted string if the string contains
a ',' and is not currently quoted. TODO #75
2001-11-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -setHeaders so that we always
unfold the string received before trying to decode
the headers. This fix the bug that GNUMail.app was
showing the content of an attachment since the
mime boundary was folded on an other line, sometimes.
2001-11-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Added Parser: -parseResentFrom: inMessage:
* Added SMTP: -sendMessage: withRawSource in order
to make it possible to reuse the code for sending
messages when we send them as rawSource.
* Refactored SMTP to use this new method
* Modified Message: -setHeaders in order to parse
the Resent-From, Resent-To, Resent-Cc, Resent-Bcc.
* Modified SMTP: -writeMailBody: toSocket: so that
it returns a BOOL. YES on sucess, NO otherwise.
* Modified SMTP: -writeRecipients: toSocket ..
so that we verify that we have at least one
recipient. If NO, we return NO.
* Modified Message: -stringValueUsingSendingMode to
remove any references to bounce operations.
* Modified Message: -setHeaders to NOT try to parse
"From -" as an internet address.
* Removed some 'bounce' related items in TODO
2001-11-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -stringValueUsingSendingMode so we
now add our additional headers (beginning with X-)
2001-11-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message: -replyWithReplyToAll and -forward so that
we now return a message in the autorelease pool.
2001-11-08 Ludovic Marcotte <ludovic@Sophos.ca>
* In MimeUtility, moved the charsets cache in +initialize (TODO #77).
2001-11-07 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a range bug in NSStringExtensions -stringByTrimmingWhiteSpaces
* Modified NSStringExtensions so that if we are under GNUstep, we
use the method stringByTrimmingSpaces which is quite efficient.
Otherwise, we use our own method.
* Added a new RFC (RFC2646) in rfcs/
* Removed the #ifdef in NSStringExtensions.h
* Now imports NSStringExtensions.h in Parser.m
2001-11-06 Ludovic Marcotte <ludovic@Sophos.ca>
* In Message: -setHeaders we verify if the string received is not
nil or if it's length > 0
* Optimized LocalFolder: -parse so we don't create a mutable string
to build all the headers but we rather parse them directly. Left
the old code here in case something is wrong.
* Fixed a memory leak in LocalFolder: -unfoldLinesStartingWith
* We now use static buffers in LocalFolder: -unfoldLinesStartingWith
* We use static buffers again in LocalFolder: -parse and -close
* Done the same thing in LocalMessage: -rawSource and -setInitialized
* Removed the used of the autorelease pool in most methods in Parser
* In Message: -setContentFromRAWSource removed the used of the
autorelease pool.
* Modified Message: -init so that we use an initial capacity for the
dictionary holding all our headers to avoid a lot of reallocation.
* Fixed a potential bug in InternetAddress: -initWithString. We
now verify that the address has been correctly parsed. If not,
we simply return nil.
* Done some refactoring in most classes
* Updated Testing/Pantomime.m
* Modifie NSStringExtention to ALWAYS include our own version of
stringByTrimmingWhiteSpaces since GNUstep's version consume a
mammoth amount of RAM
2001-11-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Refactored some code (MimeUtility)
* Modified IMAPStore and IMAPFolder so they both now
work way better with most IMAP servers.
2001-10-31 Ludovic Marcotte <ludovic@Sophos.ca>
* Implemented + (NSString *) encodeText: (NSString *) theText and
+ (NSString *) encodeText: (NSString *) theText
usingCharset: (Charset *) theCharset
encoding: (int) encoding
in order to provide a mechanism to encode the body of messages.
* Fixed a bug in MimeUtility: -stringByRemovingLineFeedCharacters
patch from Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>.
* Modified Message: -stringValueUsingSendingMode so that we
specify the charset to our Content-Type header value and
the Content-Transfer-Encoding value when our message has the
Content-Type == "text/plain"
* Fixed MimeBodyPart: -stringValueUsingSendingMode so that we include
the charset in our Content-Type
* Removed some unused NSLog calls in MimeBodyPart:
-stringValueUsingSendingMode
* Fixed a bug in LocalFolder: -parse. We were only reading a buffer
of 128 characters while we had a buffer of 1024 characters.
This would cause a problem with headers that are longer than 128
characters.
* Done the same thing in LocalFolder: -close.
2001-10-29 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in Parser: + (void) parseContentType: inPart:
We now trim the receiving content-type in case we have:
Content-Type: text/plain.
* Modified Message: -setHeaders so we parse the
Content-Transfer-Encoding header.
* Implemented NSStringExtension: -stringByRemovingLineFeedCharacters
that destructively removes \n characters into a string
* Modified MimeBodyPart to use this function (and kept the old
code in case something is wrong)
* Implemented the support of image/* as the only content of a mail
in Message: -setContentFromRawSource
* Modified Message: -setHeaders so we parse the
Content-Disposition header.
2001-10-27 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a memory leak in Charset.m. We were retaining
the dict object and we shouldn't have to.
2001-10-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified Message.m so we are now using the version number
0.7.0
* We now generate the date in Message: -stringValueUsingSendingMode
ONLY in english.
2001-10-25 Ludovic Marcotte <ludovic@Sophos.ca>
* Released 0.6.0.
2001-10-24 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified LocalFolder: -initWithPathToFile so that we remove
the <name>.tmp file in case there's one.
2001-10-23 Ludovic Marcotte <ludovic@Sophos.ca>
* Changed Message: -setContentFromRawSource so we compare
with text/* and not only text/plain. The MUA will do the
formatting.
2001-10-22 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a 'crash' when releasing fileManager in LocalStore: -dealloc.
We now RETAIN fileManager in -initWithPathToDirectory.
2001-10-19 Ludovic Marcotte <ludovic@Sophos.ca>
* Removed a NSLog from Part: -setContentID.
* Created MimeUtility: -isASCIIString
* In Folder: we do NOT retain the store and we don't release
it in dealloc
* In Message: we do NOT retain our folder and we don't retain it
2001-10-18 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a serious bug in LocalFolder: -appendMessageFromRawSource
we were checking for "From -" instead of "From "
2001-10-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified MimeBodyPart: -init to support message/rfc822.
It's an initial implementation.
* Modified Part.m to exclude some NSLog from the compilation
* Implemented MimeUtility:
+ (NSString *) unfoldLinesFromString: (NSString *) theString in
order to simplify the unfolding of lines in various parts of
messages and mimebody parts (I still need to 'deploy' it in the
code)
* Fixed MimeBodyPart: -init to unfold the headers of a
message/rfc822.
* Fixed POP3Store: -authenticateWithUsername:password:. We were
not returning NO in case of a bad password.
2001-10-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Changed MacOSGlue to what it was before and removed it from the
building process on GNUstep.
* Fixed Message: -replyWithReplyToAll and -forward so we use the
unicode string of an InternetAddress
* Sendmail: -sendMessageFromRawSource removed the reference to
NSRunAlertPanel. We don't need that. Especially in Pantomime
that won't necessarily use AppKit
* In POP3Store, moved #import "Constants.h" outside the
#ifdef MACOSX
* In date_util.c, we now #include <stdlib.h> for atoi()
2001-10-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Integrated a patch from Stephane Corthesy <stephane@sente.ch> so
that it cleans some stuff and makes Pantomime works under MacOS-X
* Removed some #import <AppKit/AppKit.h>
* Changed Message.m to 0.6.0
* Modified MacOSXGlue.m so that it can link with GNUMail.app
* Removed some junk in Testing/Pantomime.m
2001-10-11 Ludovic Marcotte <ludovic@Sophos.ca>
* Added LICENSE.elm for the small parts of elm code we use.
* Release of 0.5.0
2001-10-10 Ludovic Marcotte <ludovic@Sophos.ca>
* Implemented MimeUtility: - charsetForString. Patch from
Vincent Ricard <vricard@wanadoo.fr>
2001-10-09 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified InternetAddress: -stringValue so that it encodes
the 'personal' value of an InternetAddress object before
returning it.
* Created InternetAddress: -unicodeStringValue that returns
the string value of an InternetAddress w/o any encoding.
* Re-implemented -name in all Charsets (TODO #67)
* Modified charset/CharsetDecoder so that it includes an empty
body for -name methods
* In MimeUtility: -encodeWordUsingQuotedPrintable now returns
@"" instead of nil.
* Now defines DESTROY and CREATE_AUTORELEASE_POOL in Constants.h
* In Message: -stringValueUsingSendingMode, we don't set the subject
if it's length is equal to zero.
* In LocalStore: -createFolderWithName we now verify that the folder
with the name theName is not actually present in our current store.
2001-10-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Return a default value whenever we use subclassResponsibility
so that Pantomime can compiles 'cleanly' on MacOS-X
2001-10-05 Ludovic Marcotte <ludovic@Sophos.ca>
* In LocalFolder: -close, added the name of the folder
in NSLog to make the debugging easier.
2001-10-04 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a bug in Parser: -parseMessageID: inMessage so that
we don't include the "<>" in the actual string of the
message ID.
* Simplified MimeUtility: -decodeStringFromBase64
2001-10-03 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed memory leaks in Parser: -parseFrom: inMessage:
in Parser: -parseDestination: forType:...
in Parser: -parseReplyTo: inMessage:
* Optimized MimeUtility: -decodeText
* Fixed memory leaks in MimeUtility: -charsetForName
* Fixed a memory leak in Message: -formatRecipientsWithType
* Fixed some memory leaks in Message: -stringValueUsingSendingMode
* We no longer use the autorelease pool in Message: -forward
and in Message: -setContentFromRawSource
* Fixed some memory leaks in MimeBodyPart: -initWithString
* Fixed a memory leak in MimeBodyPart: -stringValueUsingSendingMode
* Fixed a memory leak in LocalMessage: -setInitialized
* Fixed a memory leak in LocalFolder: -parse
* Optimized LocalFolder: -unfoldLinesStartingWith so that we play
more with the cString before appending everything to our
mutable string. I left the old code here in case something is wrong
with the new one.
* Optimized LocalFolder: -close to use appendFormat instead of
appendString for the mutable string.
* Fixed a memory leak in LocalStore: -initWithPathToDirectory
* Fixed a memory leak in Flags: -init
* Minor enhancements to InternetAddress
* Optimized POP3Store/IMAPStore: -lineFromSocket. It's now FAST.
It clears TODO #41.
* Fixed a memory leak in IMAPFolder: -deleteMessageWithUID
* Fixed a memory leak in IMAPFolder: -fetchMessageFlagsWithUID
* Optimized IMAPFolder: -setMessageFlags: forUID:
* Fixed a memory leak in Part: -setCharseT
* Fixed a memory leak in SMTP. Added -dealloc to release name.
* Fixed a memory leak in Folder: -initWithName. Removed the RETAIN
on allMessages.
2001-10-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Changed all init methods in all classes to return non
AUTORELEASED object since it is NOT the "Cocoa way" of
doing things
* Modified some other RETAIN/RELEASE/AUTORELEASE calls to
make it work correctly with the first changes I made.
* Now every .m includes Constants.h in order to define the
RETAIN/RELEASE/... placeholders if we are not using
GNUstep
* Fixed a memory leak in LocalFolder (a big one!)
* In LocalFolder/POP3Folder/IMAPFolder, we should add the Message
in the AUTORELEASE pool before adding it to our folder (TODO #67)
* Integrated new charset engine from Alexander Malmberg. It's now
way faster and more clean too. Thanks!
2001-10-01 Ludovic Marcotte <ludovic@Sophos.ca>
* Added .cvsignore
* We no longer include "nl_types.h"
* Implemented IMAPFolder: -prefetchNewMessagesStartingWithUID
in order to have better IMAP support when new mails arrive.
2001-09-28 Ludovic Marcotte <ludovic@Sophos.ca>
* Imported source on CVS - module Pantomime
* Implemented IMAPFolder: -noop and now call it
in prefetchMessageBodyForUID. We should call it in other
methods and in a separate thread.
2001-09-27 Ludovic Marcotte <ludovic@Sophos.ca>
* Added in LocalFolder: -appendMessageFromRawSource a condition
to verify if From - is present. If not present, we add it.
* A LOT of IMAP enchancements
* Two new methods in Store:
- (BOOL) createFolderWithName: (NSString *) theName;
- (BOOL) deleteFolderWithName: (NSString *) theName;
* Lots of enchancements everywhere.
* RELEASE OF 0.4.0
2001-09-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Support of IMAP (nearly finished) - LOT of work on it
* Reworked the support of the POP3 caching. Now it acts
like the IMAP cache. So it's easier to understand / maintain.
2001-09-25 Ludovic Marcotte <ludovic@Sophos.ca>
* Added:
if ( theMode == SEND_TO_FOLDER )
{
[mstr appendString:@"\n"];
}
in Message -stringValueUsingSendingMode so that we can decode
correctly our message in Message -setContentFromRawSource when
when send it to Outbox.
* Fixed a bug in IMAPStore: - initWithName. Changed port from 110 to
143.
* Now support the UIDVALIDITY in IMAPFolder
2001-09-21 Ludovic Marcotte <ludovic@Sophos.ca>
* Implemented Bounce support.
2001-09-20 Ludovic Marcotte <ludovic@Sophos.ca>
* Finished support for POP3 Leave On Server
by integrating two new classes: POP3UID and POP3UIDManager.
Those classes are used in POP3Folder to manager the persistence
of a POP3 message on the server.
* Initial support for MimeUtility: - charsetForString
- encodeWordUsingBase64
- encodeWordUsingQuotedPrintable
2001-09-19 Ludovic Marcotte <ludovic@Sophos.ca>
* Initial support for POP3 Leave On server
2001-09-18 Ludovic Marcotte <ludovic@Sophos.ca>
* More work on IMAP support
2001-09-18 Ludovic Marcotte <ludovic@Sophos.ca>
* Created Message: - setContentFromRawSource: (NSObject *) theString
* Modified SMTP: put the EHLO in init and the QUIT in close
* Fixed a bug in MimeUtility (se bzero our buffer in
encodeDataUsingBase64)
* Created Transport: sendMessageFromRawSource: (NSString *) theString
implemented it in Sendmail, SMTP is a todo.
* Cleaned SMTP
* IMAPFolder -> now support the size of the messages
* Fixed Message: -setFolder RETAIN/RELEASE (added them)
* Fixed a bug in LocalFolder for NOT including From - lines
* Released Pantomime 0.3.0
2001-09-17 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a small bug in LocalFolder: -appendMessageFromRawSource
Changed: [aMessage setSize: ( ftell( [self stream] ) - position) ]
to: [aMessage setSize: ( ftell( [self stream] ) - position + 1) ]
* Finished POP3Store: - (Folder *) folderForName: (NSString *) theName
prefetch: (BOOL) aBOOL
2001-09-16 Ludovic Marcotte <ludovic@Sophos.ca>
* Changed SEND_TO_OUTBOX to SEND_TO_FOLDER
* Fixed a retain/release bug in Folder.m
2001-09-15 Ludovic Marcotte <ludovic@Sophos.ca>
* New method expunge in Folder. Implemented it in LocalFolder.
* Finished the implementation of -close in LocalFolder
2001-09-14 Ludovic Marcotte <ludovic@Sophos.ca>
* Support the name parameter in Content-Type for MimeBodyPart
objects (TODO #42)
* Support for the charset parameter in Content-Type
* Support for all ISO-8859-X charsets when decoding
* Finished LocalStore so it caches opened folders and you can
even obtain them by calling: -openedFoldersEnumerator
* Fixed a small bug in the GNUmakefile (forgot to include
Service.h)
* Now set the size of POP3Messages
* Corrected a bug in LocalStore (folderEnumerator) and removed
setFolderEnumerator
* Added LocalStore: - (BOOL) folderForNameIsOpen: (NSString *) theName
to verify if a folder is already open.
2001-09-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed a small bug in MimeBodyPart. We now set the content
to a part directly to the string if the encoding is NONE
or EIGHTBIT (added EIGHTBIT).
2001-09-13 Ludovic Marcotte <ludovic@Sophos.ca>
* Speedups in MimeBodyPart
* Speedups in POP3Folder
* Fixed bug in Parser: parseContentType so that we trim
the white spaces at the beginning and at the end of
our boundary.
* Added a check in Message: -setContent to see if the closing
mime boundary is missing or not:
if (! [aString hasPrefix: @"-\n"] ) ...
* Release 0.2.0
2001-09-12 Ludovic Marcotte <ludovic@Sophos.ca>
* Speedups in LocalMessage
* Changed name for methods 'fp/setFP' and added
bodyFilePosition/setBodyFilePosition in order
to parse way faster (in LocalMessage)
* Implemented LocalStore: -folderForName
* Mostly finished Testing/Pantomime.m
* Fixed a small bug in Message: -initWithString. We use
for (j = i+1; j < [anArray count]; j++) instead of
j = i.
* Fixed the generation of an ID (for Message-ID) in Message
(implemented the function in MimeUtility)
* Fixed a small bug in MimeBodyPart: -initWithString. We now use:
if ([aLine length] == 0 && !endOfHeaders)
{
endOfHeaders = YES;
i = i + 1;
aLine = [allMessageLines objectAtIndex: i];
}
instead of:
if ([aLine length] == 0)
{
endOfHeaders = YES;
}
in order to prevent to add the \n that separates the
body part headers from the actual content of the body part.
* Changed LocalMessage: setInitialized
aMutableString = [[NSMutableString alloc] init] to:
lengthOfBody = ([self filePosition] + [self size] -
[self bodyFilePosition])
aMutableString = [[NSMutableString alloc]
initWithCapacity: lengthOfBody];
In order to speedup the initialization of messages.
2001-09-11 Ludovic Marcotte <ludovic@Sophos.ca>
* Now compiles as a library
* Moved test programs in Testing
* Worked on Testing/Pantomime.m in order to have
a very good test program.
2001-09-10 Ludovic Marcotte <ludovic@Sophos.ca>
* Initial implementation of IMAP
* Cleaned a LOT of things in POP3 and other classes
* We now use a more generic Service protocol in POP3Store,
IMAPStore and SMTP
* Message: -rawSource now supported in all Folder modes
* We can now append a message to a LocalFolder
* Removed unused methods in Message (-isDeleted, -setDeleted)
2001-09-07 Ludovic Marcotte <ludovic@Sophos.ca>
* Initial release (0.1.0)
|