1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678
|
2009-04-24 Milan Crha <mcrha@redhat.com>
** Fix for bug #343505
* libedata-book/e-book-backend-summary.c: (contains_helper),
(func_contains), (is_helper), (endswith_helper), (beginswith_helper):
* libedata-book/e-book-backend-sexp.c: (chars_to_unistring_lowercase),
(is_helper), (endswith_helper), (beginswith_helper), (exists_helper),
(func_exists): Compare texts without accents.
2009-03-04 Jeff Cai <jeff.cai@sun.com>
* libebook/e-contact.c: (n_setter):
Use the standard confitional if sentence.
** Fixes bug 573870
2009-03-03 Tobias Mueller <tobiasmue@svn.gnome.org>
* backends/vcf/e-book-backend-vcf.c (set_revision):
* backends/file/e-book-backend-file.c (set_revision):
Don't assume that GTimeVal is a long and use time_t instead
Patch by Matthias Drochner.
** Fixes bug 569108
2009-03-01 Tobias Mueller <tobiasmue@svn.gnome.org>
* backends/google/util.c: (_google_rel_from_types). (google_im_protocol_from_field_name):
* backends/google/google-book.c (google_book_construct_base_uri):
Use a const char[] instead of a const char* for a fixed sized
format-string to increase auditability.
** Fixes bug 573494
2009-02-25 Milan Crha <mcrha@redhat.com>
** Fix for bug #563212
* libebook/e-book.c: (EBookOpState), (struct _EBookPrivate),
(e_book_new_op), (e_book_find_op), (do_cancel), (e_book_cancel),
(e_book_cancel_async_op):
Track state of the operation, three states WAITING, PROCESSING,
CANCELLING and cancel or process only those WAITING. Free the
operation after cancel and trigger always the operation flag here.
2009-02-23 Tobias Mueller <tobiasmue@svn.gnome.org>
* libebook/e-book.c: Hand book to kill_remaining_ops rather than
a pointer. Patch by Tom Parker.
Fixes bug 566984.
2009-02-16 Srinivasa Ragavan <sragavan@novell.com>
* libebook/e-contact.c: Fix a build break
2009-02-16 Ross Burton <ross@linux.intel.com>
* libebook/e-book-types.h:
Add a "no space" error.
2009-02-16 Ross Burton <ross@linux.intel.com>
* libebook/e-contact.c:
* libebook/e-contact.h:
Add EVC_X_SIP and E_CONTACT_SIP.
2009-02-16 Ross Burton <ross@linux.intel.com>
* libebook/e-book-view.h:
* libebook/e-book-view-private.h:
Move e_book_view_set_book to -private.
2009-02-16 Ross Burton <ross@linux.intel.com>
* libebook/e-contact.c:
* libebook/e-contact.h:
Add e_contact_field_id_from_vcard().
2009-02-16 Ross Burton <ross@linux.intel.com>
* libebook/e-contact.c:
Handle EContactName structures containing NULLs.
2009-02-09 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #555888
* backends/webdav/e-book-backend-webdav.c:
(struct _EBookBackendWebdavPrivate), (proxy_settings_changed),
(e_book_backend_webdav_load_source), (e_book_backend_webdav_dispose):
* backends/google/google-book.c (struct _GoogleBookPrivate),
(google_book_dispose), (proxy_settings_changed),
(google_book_connect_to_google), (google_book_set_offline_mode):
Use proxy configurable within Evolution.
2009-01-11 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #567384
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_modify_contact):
Remove unused variables.
2009-01-07 Ashish Shrivastava <shashish@novell.com>
** Fix for BNC bug #435599
* backends/groupwise/e-book-backend-groupwise.c: (fill_contact_from_gw_item),
(e_book_backend_groupwise_modify_contact): Don't do to displaying and creation
of organization's contact in evolution.
2008-12-15 Srinivasa Ragavan <sragavan@novell.com>
** Fix for BNC bug #455939
* libedata-book/e-book-backend.c: (idle_remove_client),
(listener_died_cb): Don't do orbit broken connection on the same
thread, idle them away.
2008-12-15 Srinivasa Ragavan <sragavan@novell.com>
** Fix for BNC bug #440265
* addressbook/backends/groupwise/e-book-backend-groupwise.c: Fix a
regression in my previous patch.
2008-12-08 Sasa Ostrouska <saxa@droplinegnome.org>
** Fix for bug #270376
* libebook/e-vcard.h: (EVC_X_SKYPE)
* libebook/e-contact.h: (enum EContactField):
* libebook/e-contact.c: (EContactFieldInfo field_info[]):
* backends/groupwise/e-book-backend-groupwise.c: (populate_ims),
(set_ims_in_gw_item): (e_book_backend_groupwise_get_supported_fields):
* backends/google/e-book-backend-google.c:
(e_book_backend_google_get_supported_fields):
* libedata-book/e-book-backend-sexp.c: (compare_im_skype),
(struct prop_info): Added skype contact field to the following files.
Skype name field added to the list of IM information.
2008-12-08 Frederic van Starbmann <fredericvanstarbmann@hotmail.com>
** Fix for bug #561561
* backends/file/e-book-backend-file.c (set_revision):
* backends/groupwise/e-book-backend-groupwise.c (update_cache):
* backends/vcf/e-book-backend-vcf.c (set_revision):
Use a sufficiently large buffer for strings used as an operand
in strftime()
2008-11-24 Srinivasa Ragavan <sragavan@novell.com>
* libedata-book/e-book-backend-db-cache.c
(e_book_backend_db_cache_set_time),
(e_book_backend_db_cache_get_time):
Added these APIs.
* libedata-book/e-book-backend-db-cache.h:
Declarations for the above APIs.
2008-11-19 Milan Crha <mcrha@redhat.com>
** Fix for bug #560681
* libebook/e-vcard.c: (read_attribute_value), (read_attribute_params),
(read_attribute): Support CHARSET parameter within the attribute and
convert text to UTF-8, if necessary, based on its value.
2008-12-05 Srinivasa Ragavan <sragavan@novell.com>
** Fix for BNC bug #435632
* addressbook/libedata-book/e-data-book-view.c: Don't unref when
things aren't reffed.
2008-12-05 Srinivasa Ragavan <sragavan@novell.com>
** Fix for BNC bugs #440265 && #447121
* addressbook/backends/groupwise/e-book-backend-groupwise.c: Fix some
stupidity.
2008-11-07 Sankar P <psankar@novell.com>
** Patch committed on behalf of Ashish Shrivastava <shashish@novell.com>
** Part of fix for bug bnc #435964
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_load_source):
emit_async_generic response crash fix.
2008-11-03 Milan Crha <mcrha@redhat.com>
** Fix for bug #532136
* libebook/e-book.c: (e_book_op_remove): Remove operation from idle
queue when still there in time of its removal.
* libebook/e-book.c: (kill_remaining_ops), (e_book_dispose):
Free pending operations in time of dispose properly.
2008-10-31 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #558727 (patch by Frederic van Starbmann)
* backends/ldap/e-book-backend-ldap.c (get_ldap_library_info):
Fix a potential string format crash.
2008-10-17 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #364542
* libebook/e-book.c: (e_book_new_op), (e_book_get_current_sync_op):
Do set opid to 0 for sync operations, thus we will find it later.
* libebook/e-book.h: (e_book_cancel_async_op):
* libebook/e-book.c: (e_book_cancel_async_op), (do_cancel),
(e_book_cancel): Be able to cancel async op too (at least any).
2008-09-29 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #497928
* backends/file/e-book-backend-file.c: (build_summary),
(e_book_backend_file_get_contact_list), (book_view_thread),
(e_book_backend_file_load_source): Check for NULL pointers
and errors on opening an address book to prevent crash.
* backends/groupwise/e-book-backend-groupwise.c:
(e_book_backend_groupwise_get_contact_list), (book_view_thread):
Check for NULL pointers and free allocated memory properly.
* libedata-book/e-book-backend-summary.c:
(e_book_backend_summary_add_contact), (e_book_backend_summary_search),
(e_book_backend_summary_remove_contact), (e_book_backend_summary_save),
(e_book_backend_summary_check_contact), (e_book_backend_summary_touch),
(e_book_backend_summary_is_up_to_date), (e_book_backend_summary_load),
(e_book_backend_summary_is_summary_query),
(e_book_backend_summary_get_summary_vcard):
Check for NULL pointers before accessing members of the structure.
2008-09-25 Rob Bradford <rob@linux.intel.com>
* addressbook/backends/file/e-book-backend-file.c:
* addressbook/backends/google/e-book-backend-google.c:
* addressbook/backends/groupwise/e-book-backend-groupwise.c:
* addressbook/backends/ldap/e-book-backend-ldap.c:
* addressbook/backends/vcf/e-book-backend-vcf.c:
* addressbook/backends/webdav/e-book-backend-webdav.c:
Use transition functions for reffing/unreffing the EDataBookView.
2008-09-25 Rob Bradford <rob@linux.intel.com>
* libedata-book/e-data-book-view.c (e_data_book_view_ref),
(e_data_book_view_unref):
* libedata-book/e-data-book-view.h:
Add transition functions e_data_book_view_ref and
e_data_book_view_unref to ease the transition from Bonobo to DBUS.
2008-09-24 Ross Burton <ross@linux.intel.com>
* libebook/libebook.pc.in:
* libedata-book/libedata-book.pc.in:
Remove libgnome-2.0 as it isn't used.
2008-09-14 Matthew Barnes <mbarnes@redhat.com>
* backends/webdav/e-book-backend-webdav.c
(e_book_backend_webdav_modify_contact), (download_contacts):
Don't mix declarations and code.
2008-09-12 Tor Lillqvist <tml@novell.com>
* backends/google/Makefile.am (libebookbackendgoogle_la_LIBADD):
Link with libebackend.
2008-09-08 Milan Crha <mcrha@redhat.com>
** Fix for bug #361413
* backends/ldap/e-book-backend-ldap.c: (query_ldap_root_dse):
Better debug message.
* backends/ldap/e-book-backend-ldap.c: (e_book_backend_ldap_connect),
(e_book_backend_ldap_authenticate_user),
(e_book_backend_ldap_load_source): Report to user the server requires
authentication if server returns 'unwilling to response'. Also do not
try to connect anonymously if authentication is required.
2008-09-01 Milan Crha <mcrha@redhat.com>
** Fix for bug #548827
* backends/ldap/e-book-backend-ldap.c: (ldap_error_to_response):
Handle also AuthenticationRequired error.
* backends/ldap/e-book-backend-ldap.c: (remove_contact_handler):
Do not report we removed any contact when received an error.
* backends/ldap/e-book-backend-ldap.c:
(e_book_backend_ldap_remove_contacts), (remove_contact_handler):
Report end of the operation properly.
2008-08-25 Ashish Shrivastava <shashish@novell.com>
** Fix for bug #391936 (bugzilla.novell.com)
* libebook/e-book.c (find_key_value), (backend_died_cb):
To solve hang issue after e-d-s crash.
2008-08-21 Shuai Liu <shuai.liu@sun.com>
** Fix for bug #548565
* backends/google/util.h:
Add 'void' to make it built on Solaris.
2008-08-18 Milan Crha <mcrha@redhat.com>
** Fix for bug #547223 (Patch by Matt Davey)
* libebook/e-contact.c: (e_contact_set_property),
(e_contact_find_attribute_with_types): Check complete list of
values in a parameter when looking for some particular value.
2008-08-16 Jrgen Scheibengruber <mfcn@gmx.de>
(google_book_construct_base_uri):
* backends/google/util.c (_add_type_param_from_google_rel):
Fix a small bug
2008-08-16 Jrgen Scheibengruber <mfcn@gmx.de>
* backends/google/util.c (_gdata_entry_update_from_e_contact),
(_add_type_param_from_google_rel),
(add_type_param_from_google_rel_phone),
(add_type_param_from_google_rel), (add_label_param),
(_google_rel_from_types), (google_rel_from_types),
(google_rel_from_types_phone), (is_known_google_im_protocol),
(add_primary_param), (get_google_primary_type_label),
(attribute_from_gdata_entry_email_address),
(attribute_from_gdata_entry_im_address),
(attribute_from_gdata_entry_phone_number),
(attribute_from_gdata_entry_postal_address),
(gdata_entry_email_address_from_attribute),
(gdata_entry_im_address_from_attribute),
(gdata_entry_phone_number_from_attribute),
(gdata_entry_postal_address_from_attribute):
Improve the conversion between google rel field and vcard TYPE; use
X-EVOLUTION-UI-SLOT=1 as an indicator for primary; remove some unused code
* backends/google/google-book.c (google_book_cache_get_contacts),
(google_book_add_contact), (google_book_update_contact),
(google_book_get_contact), (google_book_error_from_soup_error):
* backends/google/google-book.h:
A bit of reformating and a new error code
2008-08-14 Jrgen Scheibengruber <mfcn@gmx.de>
* backends/google/google-book.c (google_book_construct_base_uri),
(google_book_finalize), (google_book_add_contact):
Always use non-ssl uri when adding entries to the feed; ssl does not seem
to work for adding (not sure whether this is libsoup's or google's servers
fault).
* backends/google/util.c (_gdata_entry_update_from_e_contact):
Fix a small leak
2008-08-13 Jrgen Scheibengruber <mfcn@gmx.de>
* backends/google/Makefile.am:
* backends/google/e-book-backend-google.c
(e_book_backend_google_create_contact),
(e_book_backend_google_remove_contacts),
(e_book_backend_google_modify_contact),
(e_book_backend_google_get_contact),
(e_book_backend_google_get_contact_list),
(on_google_book_contact_added), (on_google_book_contact_removed),
(on_google_book_contact_changed),
(on_google_book_sequence_complete),
(e_book_backend_google_start_book_view),
(e_book_backend_google_stop_book_view),
(e_book_backend_google_authenticate_user),
(e_book_backend_google_remove), (on_google_book_auth_required),
(e_book_backend_google_load_source),
(e_book_backend_google_set_mode), (e_book_backend_google_dispose),
(e_book_backend_google_finalize),
(e_book_backend_status_from_google_book_error):
* backends/google/google-book.c (google_book_cache_init),
(google_book_cache_add_contact),
(google_book_cache_remove_contact),
(google_book_cache_get_contact), (_g_hash_table_to_list),
(google_book_cache_get_contacts), (google_book_cache_freeze),
(google_book_cache_thaw), (google_book_cache_get_last_update),
(google_book_cache_get_last_update_tv),
(google_book_cache_set_last_update),
(google_book_cache_needs_update),
(google_book_cache_refresh_if_needed), (on_refresh_timeout),
(google_book_cache_destroy), (google_book_construct_base_uri),
(google_book_get_property), (google_book_set_property),
(google_book_dispose), (google_book_finalize),
(google_book_emit_contact_added),
(google_book_emit_contact_changed),
(google_book_emit_contact_removed),
(google_book_emit_sequence_complete),
(google_book_emit_auth_required), (google_book_class_init),
(google_book_init), (google_book_new),
(google_book_connect_to_google), (google_book_set_offline_mode),
(google_book_add_contact), (google_book_update_contact),
(google_book_remove_contact), (process_subsequent_entry),
(process_initial_entry), (google_book_get_new_contacts_in_chunks),
(google_book_get_contact), (google_book_get_all_contacts),
(on_refresh_idle), (google_book_get_all_contacts_in_live_mode),
(google_book_set_live_mode), (google_book_error_from_soup_error):
* backends/google/google-book.h:
Created new GoogleBook object that internally implements a local (either
in-memory or on-disk) cache of the Google contacts list and updates it in
a specified interval.
* backends/google/util.c (_gdata_entry_new_from_e_contact),
(_gdata_entry_update_from_e_contact),
(_e_contact_new_from_gdata_entry),
(_e_contact_add_gdata_entry_xml),
(_e_contact_remove_gdata_entry_xml),
(_e_contact_get_gdata_entry_xml), (google_rel_label_from_type),
(attribute_from_gdata_entry_email_address),
(attribute_from_gdata_entry_im_address),
(attribute_from_gdata_entry_phone_number),
(attribute_from_gdata_entry_postal_address),
(get_google_primary_and_type),
(gdata_entry_email_address_from_attribute),
(gdata_entry_im_address_from_attribute),
(gdata_entry_phone_number_from_attribute),
(gdata_entry_postal_address_from_attribute):
* backends/google/util.h:
Removed some no longer needed utility functions. Use
e_contact_[get|_set]_name instead of custom fullname parsing. Try to
ensure that primary properities again land in the same slot after editing.
2008-08-12 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #547308
* libebook/e-book-types.h: New error of EBookStatus.
* libebook/e-book-listener.c: (e_book_listener_convert_status):
Do recognize new error E_BOOK_ERROR_UNSUPPORTED_AUTHENTICATION_METHOD.
2008-08-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #324203
* backends/ldap/e-book-backend-ldap.c: (can_browse),
(ldap_search_handler), (e_book_backend_ldap_search),
(e_book_backend_ldap_remove): Check for source option "can-browse"
in LDAP address books and if present, then search until reaches limits
for empty searches.
2008-08-05 Bharath Acharya <abharath@novell.com>
* backends/webdav/Makefile.am: Added libebook to the list of libraries
to be linked with.
2008-08-04 Matthias Braun <matze@braunis.de>
** Fix for bug #544051 - Added WebDAV backend for addressbook.
* backends/Makefile.am:
* backends/webdav/Makefile.am:
* backends/webdav/e-book-backend-webdav-factory.c
(eds_module_initialize), (eds_module_shutdown),
(eds_module_list_types):
* backends/webdav/e-book-backend-webdav.c (closure_destroy),
(init_closure), (get_closure), (download_contact),
(upload_contact), (e_book_backend_handle_auth_request),
(e_book_backend_webdav_create_contact), (delete_contact),
(e_book_backend_webdav_remove_contacts),
(e_book_backend_webdav_modify_contact),
(e_book_backend_webdav_get_contact), (parse_response_tag),
(parse_propfind_response), (send_propfind), (download_contacts),
(book_view_thread), (e_book_backend_webdav_start_book_view),
(e_book_backend_webdav_stop_book_view),
(e_book_backend_webdav_get_contact_list),
(e_book_backend_webdav_authenticate_user),
(e_book_backend_webdav_get_supported_fields),
(e_book_backend_webdav_get_supported_auth_methods),
(e_book_backend_webdav_get_required_fields), (soup_authenticate),
(e_book_backend_webdav_load_source),
(e_book_backend_webdav_remove), (e_book_backend_webdav_set_mode),
(e_book_backend_webdav_get_static_capabilities),
(e_book_backend_webdav_cancel_operation),
(e_book_backend_webdav_new), (e_book_backend_webdav_dispose),
(e_book_backend_webdav_class_init), (e_book_backend_webdav_init),
(e_book_backend_webdav_get_type):
* backends/webdav/e-book-backend-webdav.h:
2008-07-28 Jeff Cai <jeff.cai@sun.com>
** Fix for bug #544284
* backends/google/util.h:
Use (void) 0 insead of '0' in the conditional statement.
2008-07-21 Johnny Jacob <jjohnny@novell.com>
* backends/google/Makefile.am (INCLUDES): Include from
top build directory.
2008-07-21 Suman Manjunath <msuman@novell.com>
Fixes a build break for Google contacts
* backends/google/e-book-backend-google-factory.c:
2008-07-21 Jrgen Scheibengruber <mfcn@gmx.de>
** Fix for bug #523632
Added Google contacts backend
* backends/Makefile.am:
* backends/google/Makefile.am:
* backends/google/e-book-backend-google-factory.c:
(e_book_backend_google_factory_instance_init), (_get_protocol),
(_new_backend), (e_book_backend_google_factory_class_init),
(e_book_backend_google_factory_get_type), (eds_module_initialize),
(eds_module_shutdown), (eds_module_list_types):
* backends/google/e-book-backend-google-factory.h:
* backends/google/e-book-backend-google.c:
(e_book_backend_google_ensure_auth),
(e_book_backend_google_create_contact),
(e_book_backend_google_remove_contacts),
(e_book_backend_google_modify_contact),
(e_book_backend_google_get_contact),
(e_book_backend_google_get_contact_list), (refresh_feed),
(do_initial_bookview_population),
(e_book_backend_google_start_book_view),
(e_book_backend_google_stop_book_view),
(e_book_backend_google_update_query),
(e_book_backend_google_initial_query),
(e_book_backend_google_authenticate_user),
(e_book_backend_google_get_supported_auth_methods),
(e_book_backend_google_get_required_fields),
(e_book_backend_google_get_supported_fields),
(e_book_backend_google_get_changes),
(e_book_backend_google_remove),
(e_book_backend_google_load_source),
(e_book_backend_google_get_static_capabilities),
(e_book_backend_google_cancel_operation),
(e_book_backend_google_set_mode), (e_book_backend_google_dispose),
(e_book_backend_google_finalize),
(e_book_backend_google_class_init), (e_book_backend_google_init),
(e_book_backend_google_new), (ebookbackend_status_from_soup_error):
* backends/google/e-book-backend-google.h:
* backends/google/util.c: (gdata_entry_create_from_vcard),
(gdata_entry_create_from_e_vcard), (gdata_entry_update_from_vcard),
(gdata_entry_update_from_e_vcard), (e_vcard_from_gdata_entry),
(e_contact_from_gdata_entry), (vcard_from_gdata_entry),
(name_values_from_fullname), (string_prepend_with_space),
(string_append_with_space), (fullname_from_name_values),
(build_uri), (build_base_uri), (test_repository_availability),
(type_from_google_rel_label), (google_rel_label_from_type),
(is_known_google_im_protocol),
(field_name_from_google_im_protocol),
(google_im_protocol_from_field_name),
(attribute_from_gdata_entry_email_address),
(attribute_from_gdata_entry_im_address),
(attribute_from_gdata_entry_phone_number),
(attribute_from_gdata_entry_postal_address),
(gdata_entry_email_address_from_attribute),
(gdata_entry_im_address_from_attribute),
(gdata_entry_phone_number_from_attribute),
(gdata_entry_postal_address_from_attribute):
* backends/google/util.h:
2008-07-21 Milan Crha <mcrha@redhat.com>
** Fix for bug #236010
* backends/ldap/e-book-backend-ldap.c:
(e_book_backend_ldap_load_source): We cannot check on LDAP server
whether we have general write access on it, thus report we have
immediately after loading the source successfully. There will be
a "Permission Deny" message in case we are wrong.
* backends/ldap/e-book-backend-ldap.c: (ldap_op_finished):
Clear the status message when the operation finished.
2008-07-18 Wang Xin <jedy.wang@sun.com>
** Fix for bug #540127, commit the patch for shuai.liu@su.com.
* backends/ldap/e-book-backend-ldap.c:
(e_book_backend_ldap_connect), (e_book_backend_ldap_build_query),
(e_book_backend_ldap_authenticate_user): If this ldap_error equals
LDAP_INSUFFICIENT_ACCESS, return an success to request evolution's
authenticating window. And remove the filter objectClass=* because
some ldap servers do not allow this.
2008-06-23 Milan Crha <mcrha@redhat.com>
** Fix for bug #539758
* libedata-book/e-book-backend-sexp.c: (contains_helper):
Report success when looking for an empty string in a value.
Also some coding style cleanup.
2008-06-13 Milan Crha <mcrha@redhat.com>
** Fix for bug #304029
* libedata-book/e-book-backend-sexp.c:
(func_contains): added helper functions for contains tester,
(endswith_helper): improved, it will work with more occurrences
* backends/ldap/e-book-backend-ldap.c:
(func_contains): added helper function 'extend_query_value' for
changing first space between words on stars '*'
2008-06-13 Tor Lillqvist <tml@novell.com>
* backends/ldap/Makefile.am (libebookbackendldap_la_LIBADD): Link
with libebackend.
2008-06-12 Paul Smith <psmith@gnu.org>
** Fix for bug #534111
Copying past the end of the buffer can cause core dumps.
* libebook/e-vcard.c (e_vcard_to_string_vcard_30): Loop on the # of
chars rather than the length of string, and break out before copying
past the end of the string.
2008-05-13 Matthew Barnes <mbarnes@redhat.com>
* libedata-book/libedata-book.pc.in: Require libebackend-1.2.
2008-04-30 Chenthill Palanisamy <pchenthill@novell.com>
** Fixes part of #350143 (bnc)
Severe memory leak in evolution-data-server
* backends/groupwise/e-book-backend-groupwise.c:
(book_view_thread):
* libedata-book/e-book-backend-db-cache.c:
(e_book_backend_db_cache_get_contacts):
2008-04-30 Chenthill Palanisamy <pchenthill@novell.com>
** Fixes part of #350143 (bnc)
Severe memory leak in evolution-data-server
* backends/groupwise/e-book-backend-groupwise.c: (build_cache),
(update_cache), (update_address_book_deltas),
(e_book_backend_groupwise_authenticate_user):
* libedata-book/e-book-backend-summary.c:
(e_book_backend_summary_add_contact):
2008-04-23 Rob Bradford <rob@openedhand.com>
* backends/file/Makefile.am:
* backends/groupwise/Makefile.am:
* backends/vcf/Makefile.am:
* libedata-book/Makefile.am:
Link against the new libebackend library.
* backends/file/e-book-backend-file-factory.c:
* backends/file/e-book-backend-file.c:
* backends/groupwise/e-book-backend-groupwise-factory.c:
* backends/groupwise/e-book-backend-groupwise.c:
* backends/ldap/e-book-backend-ldap-factory.c:
* backends/vcf/e-book-backend-vcf-factory.c:
* libedata-book/e-book-backend-cache.h:
* libedata-book/e-data-book-factory.c:
Use new paths for header files that have been moved to libebackend.
2008-04-28 Ashish Shrivastava <shashish@novell.com>
** Fix for bug #381307 (bugzilla.novell.com)
* backends/groupwise/e-book-backend-groupwise.c:
(address_book_deltas_thread), (fetch_address_book_deltas),
(update_address_book_cache), (e_book_backend_groupwise_dispose),
(e_book_backend_groupwise_init):
Run a single delta-thread to fetch changes from the server, instead of
spawning multiple threads when the server fails to respond or the
response takes too much time.
NOTE: Chenthill fixed the same issues in GW calendar earlier.
2008-04-25 Srinivasa Ragavan <sragavan@novell.com>
* addressbook/backends/groupwise/e-book-backend-groupwise.c: Load
addressbook conditionally.
2008-04-19 Jaap A. Haitsma <jaap@haitsma.org>
reviewed by: Ross Burton
* libebook/e-address-western.h:
* libebook/e-name-western.h:
include glib.h in above files. Fixes bug #528922
2008-04-17 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #526741
* libebook/e-contact.c: Do not include gnome-vfs anymore.
2008-03-13 Milan Crha <mcrha@redhat.com>
** Fix for bug #303067
* backends/ldap/e-book-backend-ldap.c:
Guard access to priv->ldap with global rec mutex.
Also do not use local copy of priv->ldap when reconnect can change it.
2008-03-10 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #516608
* libebook/e-book.c: Use an EFlag in EBookOp instead of a
GMutex/GCond pair (which is missing a boolean to store the
actual condition value, anyway). Makes the code simpler.
2008-02-28 Milan Crha <mcrha@redhat.com>
** Fix for bug #519214
* libebook/e-book.c: (do_remove_contacts), (do_get_book_view):
Book's private mutex should be locked when calling e_book_clear_op
so honor this rule in these function too.
2008-02-25 Milan Crha <mcrha@redhat.com>
** Fix for bug #518569
* backends/ldap/e-book-backend-ldap.c: (member_populate):
* backends/groupwise/e-book-backend-groupwise.c:
(populate_contact_members):
Properly format name and address with "<>" characters.
2008-02-25 Tor Lillqvist <tml@novell.com>
* tests/ebook/test-changes.c (main): Use g_mkstemp() for portability.
2008-02-22 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #514836
* libebook/e-vcard.h:
* libebook/e-destination.c: (e_destination_set_contact),
(e_destination_export_to_vcard_attribute):
Obsoleting EVC_X_DEST_EMAIL and EVC_X_DEST_NAME.
* backends/ldap/e-book-backend-ldap.c: (member_populate):
* backends/groupwise/e-book-backend-groupwise.c:
(populate_contact_members): Obsoleting EVC_X_DEST_EMAIL and
EVC_X_DEST_NAME and one leak fix.
2008-02-22 Milan Crha <mcrha@redhat.com>
** Part of fix for bug #489043
* libebook/e-vcard.c: (e_vcard_to_string_vcard_30):
Do not store quotes in param values when quoting, it is not allowed.
2008-02-21 Milan Crha <mcrha@redhat.com>
** Fix for bug #517885
* libebook/e-contact.c: (e_contact_set_property), (e_contact_field_id),
(e_contact_get), (e_contact_get):
* libebook/e-vcard.c: (read_attribute_value),
(e_vcard_to_string_vcard_30), (e_vcard_get_attribute):
Do not compare value/parameter names case sensitively.
2008-02-20 Milan Crha <mcrha@redhat.com>
** Fix for bug #516474
* libebook/e-book-query.h: (e_book_query_vcard_field_test):
* libebook/e-book-query.c: (struct EBookQuery::field_test),
(e_book_query_field_test), (e_book_query_vcard_field_test),
(e_book_query_unref), (func_contains), (func_is), (func_beginswith),
(func_endswith), (func_exists), (e_book_query_to_string):
* libedata-book/e-book-backend-sexp.c: (entry_compare), (func_exists):
Fallback to EVCard attributes in query if field name doesn't correspond
to any known EContactField.
2008-02-18 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #164140 (bnc)
* backends/file/e-book-backend-file.c
(e_book_backend_file_stop_book_view): Fixes a crash.
Patch from downstream opensuse.
2008-02-12 Matthew Barnes <mbarnes@redhat.com>
* libebook/e-book.c:
Fix another G_GNUC_PRETTY_FUNCTION straggler.
2008-01-28 Milan Crha <mcrha@redhat.com>
** Fix for bug #386157
* libebook/e-vcard.c: (parse): Ensured we don't use freed attribute
and stop reading as soon as we found 'END' attribute.
2008-01-28 Milan Crha <mcrha@redhat.com>
** Fix for bug #496081
* libedata-book/e-book-backend-sexp.c: (entry_compare), (func_exists):
Also compare/check exact field, if requested.
* tests/ebook/test-changes.c: (main): Compiler warning fix.
2007-12-06 Sankar P <psankar@novell.com>
** Fixes bug #501969
* backends/groupwise/e-book-backend-groupwise.c:
(e_book_backend_groupwise_authenticate_user):
* backends/ldap/e-book-backend-ldap.c:
(e_book_backend_ldap_connect):
Passwords should not be forgotten all errors.
2007-11-15 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #474000
* tests/ebook/test-photo.c (main):
* libebook/e-vcard.c (e_vcard_attribute_get_values_decoded):
Initialize 'length' before calling g_base64_decode().
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
* libebook/e-contact.c: Fix a syntax error.
2007-11-13 Ross Burton <ross@openedhand.com>
* libebook/e-contact.[ch]:
Add E_CONTACT_TEL to get a list of phone numbers (#495287).
2007-11-11 Ross Burton <ross@openedhand.com>
* libebook/e-book.c:
Fix some memory leaks (#494304, thanks Ondrej Jirman)
2007-10-29 Srinivasa Ragavan <sragavan@novell.com>
* backends/file/e-book-backend-file.c: (book_view_thread): Fix the crash
introduced by the previous commit.
2007-10-22 Akhil Laddha <lakhil@novell.com>
** Fix for bug #486873
* backends/file/e-book-backend-file.c: (book_view_thread):
* libedata-book/e-data-book-view.c:
(e_data_book_view_notify_update_vcard),
(e_data_book_view_notify_update_prefiltered_vcard): Avoid a double free and
make sure that the view_ functions free at all cases.
2007-10-19 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #488351
* backends/file/e-book-backend-file.c
(e_book_backend_file_load_source):
Don't reopen a database using the same DB handle. Prevents an
error dialog from appearing in Contacts after a fresh install.
2007-10-19 Ross Burton <ross@openedhand.com>
* libebook/e-book.c:
Remove __FUNCTION__, which is a gcc-ism. (#488173, Jeff Cai)
2007-10-16 Ross Burton <ross@openedhand.com>
* libebook/e-book-query.c:
Fix typo in documentation (#487270, Tollef Fog Heen)
2007-10-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #420167
* libebook/e-book.c: (e_book_unload_uri), (e_book_dispose):
Be sure we released corba_book and stopped listener.
2007-10-03 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #469657
* backends/vcf/e-book-backend-vcf.c:
* libedata-book/e-data-book-factory.c:
Use destroy functions in GHashTables to simplify memory management.
2007-10-01 Kjartan Maraas <kmaraas@gnome.org>
* backends/groupwise/e-book-backend-groupwise.c:
(set_members_in_gw_item),
(e_book_backend_groupwise_create_contact),
(e_book_backend_groupwise_remove_contacts),
(e_book_backend_groupwise_modify_contact),
(e_book_backend_groupwise_get_contact),
(e_book_backend_groupwise_get_contact_list), (book_view_thread),
(build_cache), (update_cache), (update_address_book_deltas),
(e_book_backend_groupwise_load_source): Fix some NULL vs FALSE
confusion.
* backends/ldap/e-book-backend-ldap.c: (build_contact_from_entry),
(poll_ldap): Whitespace fix.
* backends/vcf/e-book-backend-vcf.c:
(e_book_backend_vcf_create_unique_id): ANSIfication of declaration.
2007-09-27 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #474000
* tests/ebook/test-photo.c (main):
Use GLib's Base64 API instead of EVCard's.
* libebook/e-vcard.c:
Remove redundant Base64 codec implementation. Use GLib's.
2007-09-27 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
When creating the default contact, print errors to the console
(#475487).
2007-09-27 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
* backends/ldap/e-book-backend-ldap.c:
* backends/groupwise/e-book-backend-groupwise.c:
* backends/vcf/e-book-backend-vcf.c:
Use G_DEFINE_TYPE (#475493).
2007-09-27 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Use G_LOCK instead of a static mutex for clearer code (#475494).
2007-09-18 Ross Burton <ross@openedhand.com>
* libebook/e-vcard.c:
* libebook/e-name-western.c:
Fix API documentation.
2007-09-07 Milan Crha <mcrha@redhat.com>
** Fix for bug #473880
* libebook/e-contact.c: (e_contact_get), (e_contact_get_property):
Fixes serious compiler warnings.
2007-09-06 Srinivasa Ragavan <sragavan@novell.com>
** Fix from Rashmi C for bug #275990 (Novell Bugzilla)
* backends/ldap/e-book-backend-ldap.c: (ldap_error_to_response):
Handle errors from ldap for duplicate fields.
2007-08-29 Ross Burton <ross@openedhand.com>
* libedata-book/e-book-backend-summary.c:
Add some const attributes.
2007-08-28 Ross Burton <ross@openedhand.com>
* libedata-book/e-book-backend-sexp.c:
Add given_name and family_name to the search properties (#330185).
2007-08-28 Ross Burton <ross@openedhand.com>
* libedata-book/e-book-backend-sexp.c:
Use G_N_ELEMENTS instead of a non-const int.
2007-08-28 Ross Burton <ross@openedhand.com>
* */*:
Fix FSF address (Tobias Mueller, #470445)
2007-08-17 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #332979
* backends/ldap/e-book-backend-ldap.c: (ldap_search_dtor),
(e_book_backend_ldap_search), (e_book_backend_ldap_stop_book_view):
Fixes a thread synchronization issue while doing autocompletion.
2007-08-16 Matthew Barnes <mbarnes@redhat.com>
* backends/file/e-book-backend-file (e_book_backend_file_load_source):
Fix compilation errors caused by glibc's new "open" macro (#466987).
2007-08-14 Milan Crha <mcrha@redhat.com>
** Fix for bug #356176 by Patrick Ohly
* libebook/e-vcard.c: (read_attribute_value):
Skip over folding by calling skip_newline() to find
the next real character after a backslash.
2007-08-10 Matthew Barnes <mbarnes@redhat.com>
* backends/file/e-book-backend-file.c:
* backends/groupwise/e-book-backend-groupwise.c:
* backends/vcf/e-book-backend-vcf.c:
Use EFlag to simplify synchronization logic (#415891).
2007-08-10 Ross Burton <ross@openedhand.com>
* backends/groupwise/e-book-backend-groupwise.c:
Clean up the code a little, fixing compile warnings and
non-const/static data.
2007-08-08 Ross Burton <ross@openedhand.com>
* libebook/e-vcard.h:
Add EVC_GEO define.
* libebook/e-contact.[ch]:
Add E_CONTACT_GEO field and EContactGeo boxed struct to access GEO
fields. Patch by Cosimo Cecchi (#314709).
2007-08-06 Milan Crha <mcrha@redhat.com>
** Partial fix for bug #427469
* libebook/e-vcard.c: (e_vcard_attribute_add_param)
Added test on duplicity and merging when adding new parameter.
2007-08-06 Milan Crha <mcrha@redhat.com>
** Fix for bug #313221 and part of bug #427469
* libebook/e-contact.c:
(e_contact_set_property), (e_contact_find_attribute_with_types):
looping through all param values, not only testing first one
2007-07-31 Chenthill Palanisamy <pchenthill@novell.com>
* backends/file/e-book-backend-file-factory.c:
* backends/groupwise/create-account.c:
* backends/groupwise/e-book-backend-groupwise-factory.c:
* backends/ldap/e-book-backend-ldap-factory.c:
* backends/ldap/e-book-backend-ldap.c:
* backends/vcf/e-book-backend-vcf-factory.c:
* libebook/e-book-query.c:
* libebook/e-book.c:
* libebook/e-book.h:
* libebook/e-contact.c:
* libedata-book/e-book-backend-cache.h:
* libedata-book/e-book-backend-sexp.c:
* libedata-book/e-data-book.c:
* libedata-book/e-data-book.h: Changed the way header files are included so
that they are picked up from the source rather than install area.
2007-07-31 Ross Burton <ross@openedhand.com>
* libedata-book/e-data-book-view.c:
Only send remove notifications if the contact was in the view
originally.
2007-07-28 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #455796
* libebook/e-book.c: (e_book_idle_connection),
(e_book_idle_auth_required), (e_book_dispose): Free the idle callbacks
on unref.
2007-07-27 Ross Burton <ross@openedhand.com>
* libedata-book/e-book-backend.c:
Always report connection status when connecting (#460681, thanks
Karl Relton).
2007-06-03 Srinivasa Ragavan <sragavan@novell.com>
** Memory leak fixes from bug #440524
* backends/file/e-book-backend-file.c: (book_view_thread):
* backends/groupwise/e-book-backend-groupwise.c: (update_cache),
(update_address_book_deltas),
(e_book_backend_groupwise_authenticate_user),
(e_book_backend_groupwise_load_source):
* libedata-book/e-book-backend-db-cache.c:
(e_book_backend_db_cache_get_contact),
(e_book_backend_db_cache_get_contacts),
(e_book_backend_db_cache_exists):
* libedata-book/e-book-backend-summary.c:
(e_book_backend_summary_load):
2007-05-31 Matthew Barnes <mbarnes@redhat.com>
* libebook/Makefile.am:
Fix some distcheck errors (#438577).
2007-05-31 Ross Burton <ross@openedhand.com>
* libebook/e-vcard.[ch]:
Add e_vcard_attribute_remove_param().
2007-05-24 Ross Burton <ross@openedhand.com>
* libebook/e-contact.c:
Add const to declaration of e_contact_set to match the header.
2007-05-22 Ross Burton <ross@openedhand.com>
* libebook/e-book-view-listener.c:
Use g_list_prepend/reverse rather than append. Thanks to Paolo
Borelli (#360114).
2007-05-22 Ross Burton <ross@openedhand.com>
* libebook/e-address-western.c:
Change a type from guchar to gchar, to stop compiler warnings.
* backends/ldap/e-book-backend-ldap.c:
Cast the data when assigning to EContactPhoto.
* backends/groupwise/e-book-backend-groupwise.c:
Handle both the old and new errcall prototypes in Berkeley DB.
Now the addressbook builds without warnings!
2007-05-22 Srinivasa Ragavan <sragavan@novell.com>
** Downstream fixes from SUSE.
* backends/groupwise/e-book-backend-groupwise.c:
(e_book_backend_groupwise_get_contact_list):
* libedata-book/e-data-book-view.c:
(e_data_book_view_notify_update):
2007-05-21 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Check the thread data is a book view before running it, just in
case something terrible has happened.
2007-05-21 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Call set_errcall() earlier, so it can catch errors in env->open.
2007-05-21 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Move a g_free to the correct place, to avoid calling g_free (NULL).
2007-05-20 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Don't fetch the existing contact when modifying a contact,
allowing modifications to work if there is a UID set correctly.
This also will speed up modifications.
2007-05-18 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Tiny changes: disable debug output, make a warning more useful,
and fix some whitespace.
2007-05-18 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Don't duplicate the contact UID when modifying a contact.
2007-05-16 Jules Colding <colding@omesc.com>
* backends/vcf/e-book-backend-vcf.c (load_file): Fix file descriptor leak.
(save_file): Cleanup. Fix file descriptor leak.
* tests/vcard/dump-vcard.c (main): Fix file descriptor leak
2007-05-15 Ross Burton <ross@openedhand.com>
* tests/ebook/test-ebook-async.c:
Now that e_book_async_get_contact works, remove the Bonobo usage
here too. No more Bonobo in the test suite!
2007-05-15 Ross Burton <ross@openedhand.com>
* libebook/e-book.c:
Fix e_book_async_get_contact() which previously deadlocked.
2007-05-15 Ross Burton <ross@openedhand.com>
* tests/ebook/test-stress-bookviews.c:
* tests/ebook/test-self.c:
* tests/ebook/test-ebook.c:
* tests/ebook/test-search.c:
* tests/ebook/test-ebook-view.c:
* tests/ebook/test-changes.c:
Don't use bonobo_init() when g_type_init() will do.
2007-05-15 Ross Burton <ross@openedhand.com>
* tests/ebook/test-untyped-phones.c:
* tests/ebook/test-categories.c:
* tests/ebook/test-photo.c:
* tests/ebook/test-undefinedfield.c:
* tests/ebook/test-string.c:
* tests/ebook/test-date.c:
Don't use bonobo_init() when g_type_init() will do.
2007-05-15 Ross Burton <ross@openedhand.com>
* libebook/e-book-view-private.h:
* libebook/e-book-listener.h:
* libebook/e-book-view-listener.h:
* libebook/Makefile.am:
Don't install implementation detail headers (#438577).
2007-05-15 Ross Burton <ross@openedhand.com>
* libedata-book/e-book-backend-db-cache.c:
Fix compile warnings by casting gpointer to char*.
2007-05-04 Milan Crha <mcrha@redhat.com>
** Fix for bug #274035 from Jonty Wareing
* libebook/e-contact.c: (photo_getter): added test
for "base64" encoding, because it could be in vCard 2.1
2007-05-14 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #431135 from ystein Gisns
* libebook/e-book.c: (e_book_is_self): Simple typo with strcmp.
2007-05-10 Oystein Gisnas <oystein@gisnas.net>
* libebook/e-vcard.c: Optimise vCard folding (#433782 and #336574).
Contribution also from Milan Crha.
2007-05-12 Ross Burton <ross@openedhand.com>
* libedata-book/e-book-backend.[ch]:
Add e_book_backend_sync(), to request that a backend flush any
buffers.
* backends/file/e-book-backend-file.c:
Implement the sync method.
Closes #339160.
2007-05-11 Loc Minier <lool@dooz.org>
* libebook/e-contact.h:
Use gsize for length of data fields, not int; use unsigned int insted
of int for year, month, and day. (#414191)
2007-05-07 Matthew Barnes <mbarnes@redhat.com>
* backends/ldap/e-book-backend-ldap.c:
* libebook/e-book.c:
* libebook/e-contact.c:
* libebook/e-vcard.c:
* tests/ebook/test-photo.c:
* tests/vcard/dump-vcard.c:
Fix warnings reported by 'sparse'. Patch from Kjartan Maraas.
2007-04-20 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #426893 from Caolan McNamara
* backends/ldap/e-book-backend-ldap.c: (getormakeEContactAddress),
(address_populate), (work_city_populate), (work_state_populate),
(work_po_populate), (work_zip_populate), (work_country_populate),
(home_city_populate), (home_state_populate), (home_zip_populate),
(home_country_populate), (home_address_populate),
(work_address_populate), (other_address_populate): Added support from
address fields in LDAP addressbook.
2007-04-20 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #422883 from Wang Xin
* backends/ldap/e-book-backend-ldap.c:
(e_book_backend_ldap_connect): Fix for build fix with SUN LDAP.
2007-04-19 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Allow contact creation to fail, and propagate the error back
(#424837).
2007-04-19 Ross Burton <ross@openedhand.com>
* libebook/e-contact.c:
Relax the checks in e_contact_get_const so that it works on string
fields outside the initial few (#422932).
2007-04-10 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Use g_list_prepend instead of _append when constructing lists.
Show human-readable messages instead of error codes.
Don't output spurious new lines (#428183)
2007-04-09 simon.zheng <simon.zheng@sun.com>
** Fix for bug #425512
* backends/file/e-book-backend-file.c:
(e_book_backend_file_load_source):
According to docs of Berkeley DB of manpage regarding db->open,
"The DB->open method returns a non-zero error value on failure
and 0 on success. If DB->open fails, the DB->close method must
be called to discard the DB handle"
So add calling db->close() after every failure of db->open().
2007-04-05 Ross Burton <ross@openedhand.com>
* libebook/e-contact.c:
Misc cleanups, g_new0 rather than g_new, and prepend to a list
then reverse rather then append. (#426564).
2007-04-05 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
(e_book_backend_file_load_source):
* backends/groupwise/e-book-backend-groupwise.c:
(e_book_backend_groupwise_authenticate_user),
(e_book_backend_groupwise_load_source):
* backends/vcf/e-book-backend-vcf.c:
(e_book_backend_vcf_load_source):
Use g_mkdir_with_parents (#383686).
2007-04-05 Ross Burton <ross@openedhand.com>
* libebook/e-contact.c:
Don't go via GObject properties when calling
e_contact_get. (#385078).
2007-04-04 Ross Burton <ross@openedhand.com>
* libebook/e-book-listener.c:
* libebook/e-destination.c:
* libebook/e-book-view-listener.c:
* libebook/e-book.c:
* libebook/e-book-view.c:
* libebook/Makefile.am:
* libebook/e-book-marshal.list:
* libedata-book/e-data-book-marshal.list:
* libedata-book/e-book-backend.c:
* libedata-book/e-book-backend-sync.c:
* libedata-book/e-data-book.c:
* libedata-book/Makefile.am:
* libedata-book/e-data-book-factory.c:
Remove marshallers that are in GLib (#400970).
2007-04-03 Ross Burton <ross@openedhand.com>
* libebook/e-vcard.c:
Use slice allocator, g_list_prepend/reverse and some other
micro-optimisations (#425464).
2007-04-01 Matthew Barnes <mbarnes@redhat.com>
** Various code clean-ups from Kjartan Maraas.
* libebook/e-book.c (e_book_new_system_address_book),
(e_book_new_default_addressbook):
* libebook/e-vcard.c (e_vcard_attribute_get_param),
(_evc_base64_encode_simple):
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_get_contact_list), (member_compare):
* libedata-book/e-book-backend-db-cache.c
(e_book_backend_db_cache_add_contact):
* tests/ebook/test-ebook.c (print_email):
* tests/ebook/test-ebook-async.c (print_email):
Fix some compiler warnings.
* backends/ldap/e-book-backend-ldap.c:
Disable some unused functions.
* libedata-book/e-book-backend-cache.c
(e_book_backend_cache_constructor):
Use the global 'parent_class' variable.
* libedata-book/e-book-backend-cache.c
(e_book_backend_cache_set_time):
Return a duplicated string.
2007-03-26 Matthew Barnes <mbarnes@redhat.com>
* backends/groupwise/e-book-backend-groupwise.c:
* libedata-book/e-book-backend-cache.c:
Don't mix declarations and code (#405495).
Patch from Jens Granseuer.
2007-03-25 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Return decent error codes, and convert errors to human readable
strings for the console. (#422652).
2007-03-25 Ross Burton <ross@openedhand.com>
* libebook/Makefile.am:
Don't remove e-name-western-tables.h on clean, and don't install
it either. (#421445).
2007-03-25 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Clean up dispose() and split part of it into finalise() (#421683).
2007-03-16 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #360240
* backends/ldap/e-book-backend-ldap.c (e_book_backend_ldap_connect):
Remove an unused variable
2007-02-12 Ross Burton <ross@openedhand.com>
* libebook/Makefile.am:
Fix distcheck (#400629)
2006-12-11 Ross Burton <ross@openedhand.com>
* libebook/e-contact.c:
Remove an unused function that was missing from the previous
patch.
2006-12-11 Ross Burton <ross@openedhand.com>
* libebook/e-contact.c:
Don't use weak references to clean up the cache (#363445).
2006-12-01 Srinivasa Ragavan <sragavan@novell.com>
* libedata-book/e-book-backend-cache.c:
(e_book_backend_cache_get_contacts): Fixed few memory leaks and some
optimization.
(e_book_backend_cache_set_time), (e_book_backend_cache_get_time):
Added new api for GAL cache.
* libedata-book/e-book-backend-cache.h:
2006-11-18 Harish Krishnaswamy <kharish@novell.com>
* libebook/Makefile.am:
* libebook/e-book-view-private.h:
* libebook/e-book-view.c:
* libebook/e-book-view.h:
* libebook/e-book.c:
* libebook/e-book.h:
Hide Bonobo from public EBook API. Fix for #348123.
Patch submitted by Ross Burton.
2006-11-06 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
* libebook/e-book.c: (e_book_get_self): Fix memory leak (#365000).
2006-09-29 Devashish Sharma <sdevashish@novell.com>
* backends/ldap/e-book-backend-ldap.c :
Fix for Bug #352872.
2006-09-29 Devashish Sharma <sdevashish@novell.com>
* backends/ldap/e-book-backend-ldap.c :
Code cleanups and fixes for some crashers in ldap addressbook.
2006-09-29 Ross Burton <ross@openedhand.com>
* addressbook/libebook/e-address-western.h:
* addressbook/libebook/e-book-view.h:
* addressbook/libebook/e-book.c:
* addressbook/libebook/e-book.h:
* addressbook/libebook/e-contact.c:
* addressbook/libebook/e-contact.h:
* addressbook/libebook/e-destination.c:
* addressbook/libebook/e-destination.h:
* addressbook/libebook/e-vcard.c:
* addressbook/libebook/e-vcard.h:
Sync headers and source to fix gtk-doc, and add more API docs.
2006-08-09 Devashish Sharma <sdevashish@novell.com>
* backends/file/e-book-backend-file.c :
(e_book_backend_file_get_changes) : Dont leak libdb allocated
buffers when checking for changes.
Patch by j@bitron.ch
2006-08-07 Wouter Bolsterlee (uws) <uws+gnome@xs4all.nl>
* libebook/e-contact.c: Fix a build breaker.
2006-08-07 Ross Burton <ross@burtonini.com>
* libebook/e-contact.c: (e_contact_class_init),
(e_contact_set_property), (e_contact_get_property),
(e_contact_field_name), (e_contact_pretty_name),
(e_contact_vcard_attribute), (e_contact_field_id),
(e_contact_get_attributes), (e_contact_set_attributes):
Sort the table into the same order as the enumeration,
so instead of doing a linear search, it can lookup the data
directly (O(1)). Fixes #318880.
2006-08-07 Hans Petter Jansson <hpj@novell.com>
* addressbook/libebook/e-book.c (fetch_corba_book): Free factory list when
we're done with it.
* e-book-view-listener.c (e_book_view_listener_dispose): Free the pending
events sitting in the async queue.
2006-08-03 Devashish Sharma <sdevashish@novell.com>
* addressbook/libebook/e-book.c:
(e_book_new_from_uri) :set relative uri to NULL.
2006-07-31 Devashish Sharma <sdevashish@novell.com>
* backends/file/e-book-backend-file.c :Fix for Bug #347495.
2006-07-28 Devashish Sharma <sdevashish@novell.com>
* libedata-book/e-data-book-view.c :
Fix for a crash in addressbook while loading.
2006-07-28 Devashish Sharma <sdevashish@novell.com>
* backends/groupwise/e-book-backend-groupwise.c :
In groupwise there is no way to put arbitrary members into a group. There's no
mechanism for a group to contain members that are not already present in a system
or personal addressbook as a contact, and so they cant be saved and will be lost.
In order to save them we first need to create groupwise based contacts for these
arbitrary contacts and then add them as members to the group.
Fixes Bug #337228
2006-07-25 Harish Krishnaswamy <kharish@novell.com>
* libebook/Makefile.am: Distribute e-name-western-tables.h.in
and the python script to generate the header.
2006-07-24 Devashish Sharma <sdevashish@novell.com>
* libebook/e-contact.[ch] : Added support for Gadu Gadu IM
in contact entry.
2006-07-24 Ross Burton <ross@openedhand.com>
* libebook/e-book-query.[ch]:
Add e_book_query_vcard_field_exists().
* libedata-book/e-book-backend-sexp.c:
Add vcard_exists symbol.
Fixes #330255.
2006-07-24 Ross Burton <ross@openedhand.com>
* libebook/e-name-western-tables.h:
* libebook/e-name-western-tables.h.in:
Add name tables as a machine readable form (.h.in) and provide a
pre-generated file (.h).
* libebook/gen-western-table.py:
And have a script to generate packed arrays from it.
* libebook/e-name-western.c:
Update to parse the packed array.
* libebook/Makefile.am:
Generate the file as required.
This removes many relocations and puts the name data in shared
memory (#342145).
2006-07-24 Ross Burton <ross@openedhand.com>
* libebook/e-vcard.[ch]:
Add e_vcard_attribute_remove_value and
e_vcard_attribute_remove_param_value() (#347899).
2006-07-18 Ross Burton <ross@openedhand.com>
* backends/groupwise/Makefile.am:
* libedata-book/Makefile.am:
Fix build when using the system DB by using the defined symbols
for the libdb include/link arguments (#347891).
2006-07-18 Ross Burton <ross@openedhand.com>
* backends/ldap/e-book-backend-ldap.c:
Finish up fixing for new API (#313533).
2006-07-17 Sushma Rai <rsushma@novell.com>
backends/ldap/e-book-backend-ldap.c: Incorporating the EContactPhoto
Changes, so that e-d-s build doesn't break. See #313533.
2006-07-17 Ross Burton <ross@openedhand.com>
* libebook/e-contact.[ch]:
Change the EContactPhoto structure to allow the photo to be either
inline or a remote reference. This is an API/ABI break. (#313533).
2006-07-17 Ross Burton <ross@openedhand.com>
* libebook/e-vcard.[ch]:
Add e_vcard_get_param() (#347752)
2006-07-14 Devashish Sharma <sdevashish@novell.com>
* libedata-book/e-book-backend-summary.c : Fixed a crasher in
e_book_backend_summary_load.
2006-07-14 Devashish Sharma <sdevashish@novell.com>
* backends/groupwise/e-book-backend-groupwise.c : Fixed a crasher in
groupwise backend.
2006-07-07 Ross Burton <ross@openedhand.com>
* libedatabook/e-data-book-view.[ch]:
Add e_data_book_view_notify_update_prefiltered_vcard() to
fast-path contacts.
* backends/file/e-book-backend-file.c:
Use the new function, and ask libdb to use the GLib allocators so
we don't have to copy every contact.
(closes #346670)
2006-07-05 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Allow builds against system libdb 4.3 or greater to work (#346655).
2006-07-05 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Whenever libdb can give a warning, print it in a uniform way. Also
remove a debugging printf. (#346661).
2006-06-16 Devashish Sharma <sdevashish@novell.com>
* libebook/e-contact.c : Added translator comment for
TTY.
Fixes Bug #342167
2006-06-16 Tor Lillqvist <tml@novell.com>
Make addressbook work on Win32 also with non-ASCII chars in home
directory name.
* backends/file/e-book-backend-file.c (my_exists, my_rename)
(my_unlink): Need to wrap more file name using functions in libdb.
(e_book_backend_file_class_init): Register the above with libdb.
2006-06-15 Andre Klapper <a9016009@gmx.de>
* libebook/e-book.c:
changing "cancelled" to "canceled" in user-visible strings.
Fixes bug #342163.
2006-06-15 Andre Klapper <a9016009@gmx.de>
* addressbook/libebook/e-book.c:
* camel/camel-folder.c:
* camel/providers/nntp/camel-nntp-folder.c:
* camel/providers/pop3/camel-pop3-folder.c:
changing "uri" to "URI" in user-visible strings.
Fixes bug #342161.
2006-06-13 Andre Klapper <a9016009@gmx.de>
* libebook/e-book.c:
changing "couldn't", "can't" and "didn't" to proper
English. Fixes bug #342160.
2006-06-13 Ross Burton <ross@openedhand.com>
* libebook/e-vcard.[ch]:
Add e_vcard_get_attribute() (#334411)
2006-06-12 simon.zheng <simon.zheng@sun.com>
Fix for #336453
* backends/ldap/e-book-backend-ldap.c:
(e_book_backend_ldap_connect), (e_book_backend_ldap_class_init):
* backends/ldap/openldap-extract.h:
Add SunLDAP library support - a variant of Netscape LDAP.
2006-06-12 Devashish Sharma <sdevashish@novell.com>
* addressbook/libebook/e-book.c : Fix for bug #342162.
2006-06-07 Devashish Sharma <sdevashish@novell.com>
* addressbook/backends/groupwise/e-book-backend-groupwise.c :
Changed the xml hash based cache mechanism for groupwise addressbook
to a db based cache.
* addressbook/libedata-book/e-book-backend-db-cache.[ch]:
Addeed APIs for handling db based cache.
2006-06-07 Ross Burton <ross@openedhand.com>
* libebook/e-book-query.c:
Fix the x-evolution-any-field serialisation so that server-side
optimsations that so literal string compares actually
work. (#319056).
2006-05-24 Ross Burton <ross@burtonini.com>
* libebook/e-book-view.c:
* libebook/e-book.c:
* libebook/e-vcard.c:
Add more API documentation (#342678)
2006-05-15 Harish Krishnaswamy <kharish@novell.com>
* libebook/e-vcard.[ch]: Restore the two functions removed from the
header in the last commit. DO NOT TINKER WITH API FUNCTIONS. Preserve
compatibility.
2006-05-12 Devashish Sharma <sdevashish@novell.com>
* libebook/e-vcard.c : Chages to vcard parsing so that it handles
quoted printable characters correctly.
* tests/vcard/12.vcf :
* tests/vcard/13.vcf :Added new test vcards.
Fixes Bug #334179.
Patch given by <ralf-engels@gmx.de>
2006-05-04 Ross Burton <ross@openedhand.com>
* libedata-book/e-book-backend-sexp.c:
Fix memory leak in and optimize the performance of compare_im
(#340036).
2006-04-21 Devashish Sharma <sdevashish@novell.com>
Fixes https://bugzilla.novell.com/show_bug.cgi?id=163664:
* libebook/e-vcard.c (parse): Turn the incoming vcard string into
valid UTF-8.
(make_valid_utf8): New helper function, stolen from Glib. This
replaces invalid UTF-8 with U+FFFD REPLACEMENT CHARACTER.
Patch given by Federico Mena Quintero <federico@novell.com>
2006-04-18 Ross Burton <ross@openedhand.com>
* libebook/e-address-western.c:
Protect against possible NULL dereference (#338880).
2006-04-06 Devashish Sharma <sdevashish@novell.com>
* backends/groupwise/e-book-backend-groupwise.c : Made the function
update_address_book_deltas thread safe.
Fixes the Bug#336687.
2006-03-21 Devashish Sharma <sdevashish@novell.com>
* backends/groupwise/e-book-backend-groupwise.c : Use double values for
server_last_sequence, server_first_sequence and cache_last and first_sequence, as
sometimes these values can be outside the range of int.
Added some NULL checks to prevent some random crashes.
* libedata-book/e-data-book.c : Ref the backend before for future use.
2006-01-16 Ross Burton <ross@openedhand.com>
* libedata-book/e-data-book-view.h:
* libedata-book/e-data-book-view.c:
Add e_data_book_view_notify_update_vcard().
* backends/file/e-book-backend-file.c:
Use e_data_book_view_notify_update_vcard to avoid useless
vCard->EContact->vCard round-trip.
2006-01-16 Sushma Rai <rsushma@novell.com>
* backends/ldap/e-book-backend-ldap.c prop_info: Added GROUP_PROP.
(check_schema_support): Considering "groupOfNames".
(add_objectclass_mod): Similar.
(build_mods_from_contacts): Handling the list object.
(e_book_backend_ldap_create_contact): similar.
(modify_contact_search_handler): similar. Also added debug messages.
(member_populate): Added new, populates the contact list members.
(member_ber): Added new, returns member information.
(member_compare): Added new, compares two contact lists.
(build_contact_from_entry): Handling "groupOfNames" object. For the
groupOfNames object, for each member DN, reading the cn and e-mail ids,
and calling member_populate.
(e_book_backend_ldap_get_static_capabilities): Added contact-lists.
Fixes #214977.
2006-01-12 Harish Krishnaswamy <kharish@novell.com>
* libebook/e-book.c: (activate_factories_for_uri):
The Book Factory oafid should reflect
the API version rather than the BASE version.
Fixes #323115.
2006-01-10 Ross Burton <ross@openedhand.com>
* libebook/e-book-query.c
* libebook/e-vcard.c:
Fix GList leaks (#320065).
2006-01-10 Simon Zheng <simon.zheng@sun.com>
* backends/file/e-book-backend-file.c:
* backends/groupwise/e-book-backend-groupwise.c:
* backends/vcf/e-book-backend-vcf.c:
* libebook/e-address-western.c:
* libebook/e-contact.c:
* libedata-book/e-book-backend-sexp.c:
* libedata-book/e-book-backend-summary.c:
As file e-util.h is renamed, replace "libedataserver/e-util.h"
as "libedataserver/e-data-server-util.h".
2006-01-09 Ross Burton <ross@openedhand.com>
* libebook/e-book.c:
* libebook/e-book-view.c:
* libebook/e-book-view.h:
Add e_book_view_get_book().
2006-01-02 Srinivasa Ragavan <sragavan@novell.com>
* libebook/e-destination.c (e_destination_init),
(e_destination_copy), (e_destination_set_contact),
(e_destination_is_ignored), (e_destination_set_ignored),
(e_destination_get_address): Added functions to set/unset a email in a
list as ignored.
* libebook/e-destination.h:
2005-12-16 Veerapuram Varadhan <vvaradhan@novell.com>
* libebook/e-name-western.c: (e_name_western_reorder_asshole):
Check for invalid combination of prefix and comma separation
before reordering the name.
** Fixes #317411
2005-12-09 Tor Lillqvist <tml@novell.com>
* libedata-book/e-book-backend-summary.c: Use gstdio wrappers.
(is_helper): Use e_util_utf8_strcasecmp() instead of strcasecmp().
* libedata-book/e-book-backend-sexp.c (is_helper): Use
e_util_utf8_strcasecmp() instead of strcasecmp().
2005-12-08 Tor Lillqvist <tml@novell.com>
* libebook/e-name-western.c (e_name_western_fixup): Use UTF-8 case
folding and collation. Yeah, maybe this is over-engineering for
this purpose...
* libebook/e-name-western-tables.h: Add correct spellings of
"frulein" and "seor*" correctly. Add "doktor". Add "af".
* backends/file/e-book-backend-file.c: Use gstdio wrappers. On
Win32, register own open and close methods for libdb so that the
UTF-8 file names that we use will work. (A small patch to libdb
was also required, see ../ChangeLog.)
* backends/groupwise/e-book-backend-groupwise.c
* backends/vcf/e-book-backend-vcf.c: Use gstdio wrappers. Open
files in binary mode.
* tests/ebook/test-changes.c: Use g_get_tmp_dir() instead of
hardcoding /tmp. Use g_filename_to_uri() instead of just prefixing
file://.
2005-11-30 Harish Krishnaswamy <kharish@novell.com>
* backends/ldap/e-book-backend-ldap.c: (poll_ldap):
Allow environment override of the LDAP result timeout.
2005-11-29 Sushma Rai <rsushma@novell.com>
* backends/ldap/e-book-backend-ldap.c: Added support for environment
variable LDAP_DEBUG and printing log messages if it is set.
2005-11-25 Tor Lillqvist <tml@novell.com>
* libebook/e-contact.c: Include e-util.h and redefine
EVOLUTION_LOCALEDIR as e_util_get_localedir() on Windows.
* backends/ldap/e-book-backend-ldap.c: Use <winldap.h> and
openldap-extract.h on Windows.
(get_ldap_library_info): Use ldap_init() instead of the
non-standard ldap_create().
(get_ldap_library_info, e_book_backend_ldap_connect,
e_book_backend_ldap_set_mode, e_book_backend_ldap_dispose) Use
ldap_unbind() instead of the non-standard
ldap_unbind_ext_s(). Calling ldap_unbind_ext_s() passing NULL for
the sctrls and cctrls parameters is exactly equivalent to calling
ldap_unbind() anyway, see OpenLDAP sources.
(e_book_backend_ldap_connect): No LDAP_OPT_X_TLS in winldap, set
LDAP_OPT_SSL instead.
(e_book_backend_ldap_authenticate_user): Use g_ascii_strncasecmp()
instead of strncasecmp().
(ldap_cancel_op): Use ldap_abandon() instead of the non-standard
ldap_abandon_ext(). Calling ldap_abandon_ext() passing NULL for
sctrls and cctrls is equivalent to calling ldap_abandon().
* backends/ldap/openldap-extract.h: New file. Contains various
things lifted from OpenLDAP for use on Windows where we use
Microsoft's LDAP implementation.
* backends/ldap/Makefile.am: Link with more libraries to avoid
unresolved externals on Windows. Distribute openldap-extract.h.
2005-10-26 Ross Burton <ross@burtonini.com>
* libebook/e-destination.c:
Add casts to stop newer gcc moaning about libxml (#319612).
2005-10-20 Sushma Rai <rsushma@novell.com>
* backends/ldap/e-book-backend-ldap.c: Added variable to
_EBookBackendLDAPPrivate to store LDAP search filter, and using that
instead of hardcoded "objectclass=person".
(e_book_backend_ldap_load_source): Reading the search filter from
LDAP url.
(e_book_backend_ldap_build_query): Using the search filter set in LDAP
url.
(e_book_backend_ldap_dispose): free ldap search filter.
Fixes #311884.
2005-10-14 Ross Burton <ross@burtonini.com>
* libedata-book/e-book-backend-summary.c:
Fix writing race to avoid recalculating the index (#316955).
2005-10-14 Ross Burton <ross@burtonini.com>
* libebook/e-destination.c:
Fix typo when writing escaped names.
2005-10-04 Sushma Rai <rsushma@novell.com>
* backends/ldap/e-book-backend-ldap.c: Added a mutext for ldap
connection handler, so that it is not accessed during ldap_reconnect.
Fixes #314846.
2005-09-27 Tor Lillqvist <tml@novell.com>
* libebook/e-contact.c (e_contact_date_from_string): Use strchr()
instead of index().
2005-09-19 Jürg Billeter <j@bitron.ch>
* libebook/e-contact.c: (e_contact_date_from_string):
Don't discard date part in date-time value.
Fixes #316337.
2005-09-15 Tor Lillqvist <tml@novell.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_extract_path_from_uri): Use
g_ascii_strncasecmp() instead of strncasecmp() for
well-definedness. Use g_filename_from_uri() instead of just
stripping off a "file://" prefix. (On Win32, a file URI for a
pathname that includes a drive letter looks like
"file:///x:/dir/sub/file.ext", so stripping off "file://" leaves
an extra slash in front of the drive letter.)
* backends/groupwise/e-book-backend-groupwise.c: Use
g_get_current_time() instead of gettimeofday() for portability.
* backends/vcf/e-book-backend-vcf.c
* libebook/e-contact.c
* libebook/e-vcard.c: Use g_ascii_str(n)casecmp() instead of
str(n)casecmp() for well-definedness.
* libebook/e-book.c (e_book_new_system_addressbook): Use
g_filename_to_uri() instead of simple prefixing "file://".
2005-08-22 Not Zed <NotZed@Ximian.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_get_contact_list): initialise contacts
to NULL.
* libebook/e-book-listener.c
(impl_BookListener_report_auth_required): fix the type of this
function to match the idl.
2005-08-18 Ross Burton <ross@burtonini.com>
* libedata-book/e-book-backend.c:
Unref the ESource on dispose.
2005-08-16 Ross Burton <ross@burtonini.com>
* libedata-book/e-book-backend-summary.c:
Mark the summary clean when saved.
2005-08-16 Ross Burton <ross@burtonini.com>
* libebook/e-contact.c:
Fix a leak when returning boxed types.
2005-08-13 Sushma Rai <rsushma@novell.com>
* backends/ldap/e-book-backend-ldap.c (func_beginswith): Ignoring the
null query for LDAP addressbook, so that we don't download the book and
try to show all the entries in name selector dialog.
2005-08-13 Sushma Rai <rsushma@novell.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_authenticate_user): Return error if we fail to
get the DN for the user.
Fixes #312988.
2005-08-13 Sushma Rai <rsushma@novell.com>
* libedata-book/e-book-backend-cache.c
(e_book_backend_cache_get_contacts): Fixed memory leak.
2005-08-10 Ross Burton <ross@burtonini.com>
* libebook/e-vcard.c: Removed the assignment of g_string_append()
return value to a variable, which is not used anywhere.
Fixes #313091
2005-08-05 Sushma Rai <rsushma@novell.com>
* backends/ldap/e-book-backend-ldap.c (ldap_error_to_response):
Handling LDAP_INVALID_DN_SYNTAX error code, so that we don't get the
misleading error message "contact not found".
2005-08-05 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_get_contact_list): If cache is up-to-date and
the query has a summary item, then reply from cache, for GroupWise
system address book, as we update the system address book cache
periodically and server does't support get_items_from_ids() is for
system address book.
Freeing ids array in offline case.
(build_cache): Added debug message.
2005-08-02 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_get_static_capabilities): do-initial-query
for all the GroupWIse address books, so that we get the book view for
notifying cache download progress for all the address books.
(func_contains): Ignoring the null query for GroupWise system
addressbook, so that we don't download the book while loading.
(func_beginswith): Similar.
2005-07-26 Sushma Rai <rsushma@novell.com>
* backends/ldap/e-book-backend-ldap.c (email_ber): Setting the proper
array lenght for emails. Patch submitted by
"weo@weo1.de (Wolfgang Ocker)" fixes #311684.
2005-07-26 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c: Added summary file
support, to make cache file access faster.
(set_organization_in_gw_item): updating the summary file.
(e_book_backend_groupwise_create_contact): Similar.
(e_book_backend_groupwise_remove_contacts): Similar.
(e_book_backend_groupwise_modify_contact): Similar.
(e_book_backend_groupwise_get_contact_list): If the summary file
exists, reading uids from summary, otherwise reading theim from cache.
(get_contacts_from_cache): Given the uids, reading the contacts from
cache and updating the view.
(book_view_thread): If the summary file exists, reading the uids from
summary. If the cache is up-to-date, for GroupWise system address book
reading the entries and replying from cache. For other GW address books,
reading the contacts from server, for the uids found in summary file.
If the cache is not sane, reading the entries from server.
(e_book_backend_groupwise_start_book_view): building summary file, along
with cache.
(build_summary): Reading the cache file and build summary file with the
entries found in cache.
(update_cache): If the summary file is missing or not up-to-date,
re-build summary file. Update the cache and summry files.
(update_addressbook_deltas): Update the GW system addressbook summary
along with cache. Update these files, only if the changes found in
server.
(e_book_backend_groupwise_authenticate_user): Initialize and load the
summary file.
(e_book_backend_groupwise_load_source): Forming the summary file name.
(e_book_backend_groupwise_dispose): Flush summary to disk and destroy
summary.
Fixes #303111.
2005-07-25 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(update_address_book_deltas): Freezing the file cache for
GroupWise system address book at the proper place.
2005-07-25 Sushma Rai <rsushma@novell.com>
* libebook/e-book.c: Handling gcc specific "__PRETTY_FUNCTION__" macro
for other compilers. Patch by
"The Written Word <bugzilla-novell@thewrittenword.com>" for #271837
2005-07-25 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c: Added summary file
related members and some void pointers for future use, to
EBookBackendGroupwisePrivate structure.
(e_book_backend_groupwise_init)(e_book_backend_groupwise_dispose):
Initialize and free newly added members.
* backends/ldap/e-book-backend-ldap.c: Similar.
* backends/file/e-book-backend-file.c: Similar.
* backends/vcf/e-book-backend-vcf.c: Similar.
2005-07-25 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_init): Checking for the environment variable
value for GROUPWISE_DEBUG and using value 2 for addressbook specific
debug messages.
2005-07-23 Sushma Rai <rsushma@novell.com>
* libedata-book/e-book-backend-summary.c
(e_book_backend_summary_add_contact): Checking for the NULL uid. Fixes
the crash when GroupWise server sends contacts with NULL UID.
2005-07-23 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_authenticate_user): Added the support for
refreshing the GW system address book cache at every 10 minutes or
at the interval specified by user using BOOK_CACHE_REFESH_INTERVAL.
(update_address_book_cache): spawns a thread to update the cache after
specifed time interval.
(e_book_backend_groupwise_init): Initializing the time out to zero.
(e_book_backend_groupwise_dispose): Cleanup time out.
2005-07-23 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(update_address_book_deltas): Updating the cache fully. Previously only
CURSOR_ITEM_LIMIT items were getting upddated.
Also using better variable names.
2005-07-13 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c (build_cache)
(update_cache)(update_address_book_deltas): Freezing the cache while
updating and writing to disk at once. Fixes the problem of high CPU
usage during huge cache updates.
* addressbook/backends/ldap/e-book-backend-ldap.c
(generate_cache_handler): Similar.
2005-07-09 Sushma Rai <rsushma@novell.com>
* libebook/e-vcard.h: Defined EVC_X_BOOK_URI.
* libebook/e-contact.[ch]: Added field E_CONTACT_BOOK_URI, to store
the URI of the book to which the contact belongs to.
* backends/groupwise/e-book-backend-groupwise.c: Setting the book uri
in the contact, whenever a contact is created. This is useful for
GroupWise address book, for getting the e-mail ids from a contact list
during autocompletion, as we don't get the list members from server for
autocompletion.
(e_book_backend_groupwise_get_contact): Setting the view as
"name email default members".
2005-07-06 Kjartan Maraas <kmaraas@gnome.org>
* backends/file/e-book-backend-file.c:
(e_book_backend_file_load_source): Free filename and dirname
in the error cases.
2005-07-06 Ross Burton <ross@burtonini.com>
* libebook/e-book-listener.c:
Free the private data.
2005-07-06 Sushma Rai <rsushma@novell.com>
* libedata-book/e-book-backend-cache.c
(e_book_backend_cache_is_populated): Returning FALSE on error.
2005-07-06 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_authenticate_user): Updating system address
book, only if marked for offline usage.
2005-07-05 Sushma Rai <rsushma@novell.com>
* libebook/e-contact.[ch]: Using gconstpointer instead of
const gpointer for return value of e_contact_get_const(). Fixes #309175.
2005-07-04 Sushma Rai <rsushma@novell.com>
* libedata-book/e-book-backend-sexp.c (prop_info_table[]): Added
E_CONTACT_UID. Fixes #309276.
(entry_compare): Skipping the any-field search for UID, so that we
we try not to show contacts those match the query partially.
Fixes #242165.
2005-07-01 Sushma Rai <rsushma@novell.com>
* backends/file/e-book-backend-file.c (book_view_thread): Checking for
database fatal error. Fixes the crash in case of corrupted db file.
2005-06-25 Sushma Rai <rsushma@novell.com>
* libebook/e-contact.c (e_contact_set_property): Setting TYPE=OTHER
default parameter to email attribute. Fixes #240756
2005-06-22 Tor Lillqvist <tml@novell.com>
* backends/*/Makefile.am (*_LIBADD): Add libebook, libedata-book,
libedataserver, libdb and EVOLUTION_ADDRESSBOOK_LIBS as needed to
satisfy -no-undefined.
(*_LDFLAGS): Use NO_UNDEFINED (expands to -no-undefined on
Windows).
* backends/file/e-book-backend-file-factory.c
* libedata-book/e-book-backend-factory.c
* libedata-book/e-book-backend.c
* libedata-book/e-data-book-factory.c: Drop superfluous inclusion
of <pthread.h>. No pthread API was used in these files.
* backends/file/e-book-backend-file.c (set_revision)
* backends/vcf/e-book-backend-vcf.c (set_revision): Use
g_get_current_time() instead of gettimeofday().
* libebook/Makefile.am
* libedata-book/Makefile.am: Use NO_UNDEFINED.
* libebook/e-book-view-listener.c: Don't include <pthread.h>. In
the (normally not even compiled) debugging output print the value
of g_thread_self() instead of pthread_self().
* libebook/e-book.c: Use GThread API instead of pthreads to start
the mainloop thread.
* libedata-book/e-book-backend-summary.c: Drop inclusion of
<netinet/in.h>. Use g_ntoh*() and g_hton*().
2005-06-16 Sushma Rai <rsushma@novell.com>
* backends/ldap/e-book-backend-ldap.c (func_contains): Ignoring
"any field contains" query with NULL value, so that we don't display
all the contacts while loading or refreshing the LDAP address book.
(e_book_backend_ldap_get_static_capabilities): Added do-initial-query,
so that we get a view, for notifying cache update.
(e_book_backend_ldap_search): Ignoring NULL LDAP query.
(ldap_search_handler): Using the error code
GNOME_Evolution_Addressbook_InvalidQuery, so that proper error message
is displayed for not handled search results.
(generate_cache_handler): Notifying cache update progress.
(e_book_backend_ldap_get_required_fields): Fixed some compile time
warnings.
(e_book_backend_ldap_search): Similar.
(e_book_backend_ldap_set_mode): Similar.
(query_ldap_root_dse): Similar.
2005-06-10 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c:
(add_sequence_to_cache): Adds the sequence information to the system
address book cache.
(build_cache): Moved out system address book cache sequence update from
here to add_sequence_to_cache().
(update_cache): Notifying status while, both replaing the cache item
and adding a new item to the cache.
(update_address_book_deltas): If the sequnces are reset at the server,
not adding them to cache too.
If all the sequences are not available in the server or PO is rebuilt,
re-building the cache with the new sequence information.
Notifying status while updating the cache.
(e_book_backend_groupwise_authenticate_user): Building the system address
book cache if marked for offline usage.
2005-06-10 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(book_view_notify_status): Notifying status if view is not null.
(find_book_view): Getting the list of views and returning the first.
(build_cache): Notifying the cache build progress.
(update_cache): Notifying the cache update progress.
(update_address_book_deltas): Fixed compile time warnings.
2005-06-08 Srinivasa Ragavan <sragavan@novell.com>
* backends/groupwise/e-book-backend-groupwise.c (update_cache):
For the GroupWise system address book, finding the changes in server
and updating the cache.
(update_address_book_deltas): Added new. Reads the sequence ids,
and adds the new items added in server, or deletes the items deleted
at server.
(e_book_backend_groupwise_authenticate_user): Calling
update_address_book_deltas().
2005-05-24 Chenthill Palanisamy <pchenthill@novell.com>
Commiting for Daniel van Eeden <daniel_e@dds.nl>
* libebook/e-contact.c: fixes naming consistency for
GroupWise.
Fixes bug #271901
2005-05-20 Ross Burton <ross@burtonini.com>
* backends/file/e-book-backend-file.c:
Fix a large memory leak (the cursor was not being freed).
2005-05-14 Hans Petter Jansson <hpj@novell.com>
* libedata-book/e-book-backend-cache.c:
* libedata-book/e-book-backend-factory.c:
* libedata-book/e-book-backend-sexp.c:
* libedata-book/e-book-backend-summary.c:
* libedata-book/e-book-backend-sync.c:
* libedata-book/e-book-backend.c:
* libedata-book/e-data-book-factory.c:
* libedata-book/e-data-book-view.c:
* libedata-book/e-data-book.c: Wrote API docs.
2005-05-11 Sushma Rai <rsushma@novell.com>
* libedata-book/e-book-backend-sexp.c (compare_name): Considering
nickname also in full name query. Fixes #255756
2005-05-09 Sushma Rai <rsushma@novell.com>
* backends/vcf/e-book-backend-vcf.c
(e_book_backend_vcf_get_required_fields): Removed unused variable i.
(do_create): Checking if last revision time (E_CONTACT_REV) is set on
contact, if not setting it.
(set_revision): Reading the system time and setting it as last revision
time for a contact.
2005-05-09 Sushma Rai <rsushma@novell.com>
* backends/groupwise/e-book-backend-groupwise.c: Added E_CONTACT_REV
field.
2005-05-09 Sushma Rai <rsushma@novell.com>
* libedata-book/e-book-backend-cache.c
(e_book_backend_cache_constructor): Freeing cache file name.
2005-05-06 Sushma Rai <rsushma@novell.com>
* libebook/e-vcard.c (e_vcard_attribute_add_param): Handling encoding
type BASE64.
* libebook/e-contact.c (n_getter): If FN attribute is not present,
forming FN value from N and adding it to the vcard.
Fixes #268271
2005-05-06 Sushma Rai <rsushma@novell.com>
* libedata-book/e-book-backend-cache.c
(e_book_backend_cache_get_contacts): Freeing the list of cache objects
and sexp.
(e_book_backend_cache_search): Freeing list of contacts matching the
query.
2005-05-04 Hans Petter Jansson <hpj@novell.com>
* libebook/e-address-western.c:
* libebook/e-book-listener.c:
* libebook/e-book-query.c:
* libebook/e-book-view-listener.c:
* libebook/e-book-view.c:
* libebook/e-book.c:
* libebook/e-contact.c:
* libebook/e-destination.c:
* libebook/e-name-western.c:
* libebook/e-vcard.c: Wrote API docs.
2005-04-27 Sushma Rai <rsushma@novell.com>
* libebook/e-book.c (e_book_response_add_contact): Setting the status
for both synchronous and asynchronous operations.
(e_book_response_get_required_fields): Similar.
(e_book_response_get_supported_fields): Similar.
(e_book_response_get_supported_auth_method): Similar.
(e_book_response_get_contacts): Setting the status outside the
operation type condition check.
(e_book_response_generic): Similar.
(e_book_response_open): Similar.
(e_book_response_remove): Similar.
Fixes #273716
2005-04-27 Ross Burton <ross@burtonini.com>
* libebook/e-book-listener.c:
* libebook/e-book-view-listener.c:
* libedata-book/e-data-book-factory.c:
* libedata-book/e-data-book-view.c:
* libedata-book/e-data-book.c:
Use a static POA instead of creating a new one every time.
2005-04-26 Ross Burton <ross@burtonini.com>
* addressbook/libedata-book/e-data-book-factory.c:
Don't leak a BookListener.
* addressbook/backends/file/e-book-backend-file.c:
Don't leak a sexp.
2005-04-11 Harish Krishnaswamy <kharish@novell.com>
* libebook/Makefile.am, libedata-book/Makefile.am:
use API_VERSION
2005-03-15 JP Rosevear <jpr@novell.com>
Fixes #68533 (hackily)
* libedata-book/e-data-book-factory.c (out_of_proc_check): call
back to check for out of proc backends
(e_data_book_factory_get_n_backends): if no out of proc clients
are left, report no backends
* libedata-book/e-book-backend.h: new proto
* libedata-book/e-book-backend.c
(e_book_backend_has_out_of_proc_clients): see if the remaining
clients are all in proc
2005-03-09 Not Zed <NotZed@Ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_load_source): use a single global ref-counted
db-env for all opened db's.
(e_book_backend_file_dispose): clean up the env when finished.
2005-03-07 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-bbok-backend-groupwise.c
(e_book_backend_groupwise_set_mode) : notify writable
state after looking at priv->is_writable. Some books
are read only for groupwise.
Fixes #73021
2005-03-02 JP Rosevear <jpr@novell.com>
Fixes #73226
* libebook/e-destination.c (e_destination_list_get_dests): get a
list of destination addresses
* libebook/e-destination.h: add proto
2005-03-01 Not Zed <NotZed@Ximian.com>
** See bug #72878
* libebook/e-destination.c (e_destination_copy): copy the raw
address.
2005-02-28 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-bbok-backend-groupwise.c
(e_book_backend_groupwise_get_contact_list)
(book_view_thread) (build_cache) : pass "name email
default members" as the view instead of just "members"
need to work well with latest server.
2005-02-25 Sivaiah Nallagatla <snallagatla@novell.com>
* libedata-book/e-book-backend.c (e_book_backend_notify_writable)
: save the writable status in priv->writable also so that
when new clients are created for an existing backend we report
correct writable status .
Fixes editors being editable in some cases in offline mode
2005-02-24 Harish Krishnaswamy <kharish@novell.com>
* backends/groupwise/e-book-backend-groupwise.c: (build_cache):
update the e_gw_connection_read_cursor to use the new prototype
that uses a position argument.
2005-02-22 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_create_contact) : Return permission denied
error when the book is read only. In case of read/write books
Make sure that server returns proper id for created contact.
(e_book_backend_groupwise_modify_contact)
(e_book_backend_groupwise_remove_contacts) : Return
permission denied in case of read only book.
Also use cursor version of update_cache instead of getItems
one
Fixes #72806
2005-02-19 Sivaiah Nallagatla <snallagatla@novell.com>
* libebook/e-vcard.c (e_vcard_remove_attributes) :
When passed in group is NULL, remove all the attributes
with name as passed in attribute name even when a attribute
has group name.
Fixes #70908
2005-02-17 Chenthill Palanisamy <pchenthill@novell.com>
* backends/groupwise/e-book-backend-groupwise.c:
(e_book_backend_groupwise_authenticate_user): changed
the syntax of the get_categories call.
(e_book_backend_groupwise_dispose),
(e_book_backend_groupwise_init): The hash table need not
be created or destroyed here, since connection handles it.
2005-02-14 Sivaiah Nallagatla <snallagatla@novell.com>
* libebook/e-vcard.c (read_attribute_value) :
Make sure that we decode only hex digits followed
by '=' while decoding from quoted printable encoding.
(read_attribute) : Reset the encoding as RAW for values
which are encoded in Quoated printable encoding in the
original vcard. We are not going encodwe them again
using quoated printable
(e_vcard_to_string_vcard_30) : use utf-8 version
of strlen and other functions while folding lines
as some the chars may be represented by more than one byte
Fixes an issue related to data loss in 1.4 -> 2.0
migration
2005-02-10 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_authenticate_user) : reconnect to
ldap server if simple bind returns LDAP_SERVER_DOWN
Fixes #67541
2005-02-06 Sivaiah Nallagatla <snallagatla@novell.com>
* libebook/e-contact.h : place the E_CONTACT_REV
field before E_CONTACT_NAME_ORG. It seems
all strings fields should be before that, doh
2005-02-06 Sivaiah Nallagatla <snallagatla@novell.com>
* libebook/e-contact.[ch] : Added
new field E_CONTACT_REV which reprsnets
the revision (last updated time of the contact)
Also Changed File As to File Under to match with ui
* backends/file/e-book-backend-file.c (do_create)
(e_book_backend_file_modify_contact) : set/update
the revsion field of the contact with current UTC time
Fixes #1069
2005-02-04 Ross Burton <ross@burtonini.com>
* backends/groupwise/create-account.c:
* tests/ebook/test-categories.c:
* tests/ebook/test-changes.c:
* tests/ebook/test-date.c:
* tests/ebook/test-ebook-async.c:
* tests/ebook/test-ebook-view.c:
* tests/ebook/test-ebook.c:
* tests/ebook/test-nonexistent-id.c:
* tests/ebook/test-photo.c:
* tests/ebook/test-query.c:
* tests/ebook/test-search.c:
* tests/ebook/test-self.c:
* tests/ebook/test-stress-bookviews.c:
* tests/ebook/test-string.c:
* tests/ebook/test-undefinedfield.c:
* tests/ebook/test-untyped-phones.c:
Remove useless libgnome usage.
2005-02-04 Vivek Jain <jvivek@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
e_book_backend_groupwise_authenticate_user: (included one
condition to check for the server version)
* idl/Evolution-DataServer-Addressbook.idl
included InvalidServerVersion in enum callstatus
* libebook/e-book-tpes.h added enum in callstatus
* libebook/e-book-listner.c
(e_book_listner_conver_status): added conversion of InvalidServerVersion
* libedata-book/e-book-backend.c
(e_book_backend_open)
(e_book_backend_load_store) : added InvalidServerVersion as a
response to be accepted as success
2005-02-02 Ross Burton <ross@burtonini.com>
* backends/file/e-book-backend-file.c:
* backends/groupwise/e-book-backend-groupwise.c:
* backends/ldap/e-book-backend-ldap.c:
* backends/vcf/e-book-backend-vcf.c:
* libebook/e-book.c:
* libebook/e-contact.c:
* libebook/e-destination.c:
Use glib/gi18n.h.
2005-01-31 Hans Petter Jansson <hpj@novell.com>
* backends/vcf/Makefile.am:
* backends/ldap/Makefile.am:
* backends/groupwise/Makefile.am:
* backends/file/Makefile.am:
Build as modules.
2005-01-30 Sivaiah Nallagatla <snallagtla@novell.com>
* libebook/e-vcarc.c (skip_until) :
advancd to next char in the loop
(read_attribute_params) : If we reach
end of line after skipping invalid parameter
break out of loop
Fixes #70918
2005-01-31 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_load_source) : return
OfflineAvailable error code if book is not marked for
offline. Call _notify_connection_stautus in online case too
2005-01-29 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_load_source) : Change the default
port to 7191
2005-01-28 Sivaiah Nallagatla <snallagatla@novell.com>
* libedata-book/e-book-backend-sexp.c
(compare_name) : while comparing name
use given name too along with surname and full_name strings
Just using full name breaks completion based on given name
where full name has prefixes like Mr
Fixes #67267
2005-01-28 Sivaiah Nallagatla <snallagatla@novell.com>
* libedata-book/e-book-backend-summary.c (do_compare) :
use surname, givenname and full_name for searches on name
not just full_name value
Fixes #71827
2005-01-28 Sivaiah Nallagatla <snallagatla@novell.com>
* libebook/e-book.c (e_book_cancel)
(do_open) (e_book_load_uri) (fetch_corba_book)
(e_book_get_self) (e_book_set_default_source) :
Generalize the messages marked for
translation. Fixes #68172
2005-01-27 Christophe Fergeau <teuf@gnome.org>
* libebook/e-contact.c (e_contact_pretty_name):
Replace the textdomain call with bind_textdomain_codeset
Fixes #71116
2005-01-24 Hans Petter Jansson <hpj@novell.com>
* libebook/e-destination.c (e_destination_set_contact): Ref the new
contact before unreffing the old one. Safe if it's the same one.
2005-01-23 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_load_source) : change if
condtion from if(marked_offline) to if (!marked_offline), Doh
2005-01-17 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c (
e_book_backend_groupwise_load_source) : use https always except
when use_ssl is "never". This change is part of the changes done to remove
separate settings for ssl for soap in account config
2005-01-13 Sivaiah Nallagatla <snallagatla@novell.com>
* libedatabook/e-book-backend-summary.c (do_compare):
compare full_name against string instead of given name
and surname.This fixes is full_name query on summary
* backends/file/e-bbok-backend-file.c
(e_book_backend_file_get_contact_list) : see if
query is a summary query and search over summary
to get matching contacts instead of iterating
over all contacts in db. Improves Performance
2005-01-10 Hans Petter Jansson <hpj@novell.com>
* backends/file/e-book-backend-file.c
* backends/file/e-book-backend-file.h
* backends/file/e-book-backend-file-factory.c
* backends/vcf/e-book-backend-vcf.c
* backends/vcf/e-book-backend-vcf.h
* backends/vcf/e-book-backend-vcf-factory.c
* backends/ldap/e-book-backend-ldap.c
* backends/ldap/e-book-backend-ldap.h
* backends/ldap/e-book-backend-ldap-factory.c
* backends/groupwise/e-book-backend-groupwise.c
* backends/groupwise/e-book-backend-groupwise.h
* backends/groupwise/e-book-backend-groupwise-factory.c: Update
copyright and license notices.
2005-01-10 Hans Petter Jansson <hpj@novell.com>
* backends/ldap/e-book-backend-ldap.c
(check_schema_support): Add robustness against not being connected.
(query_ldap_root_dse): Ditto.
(e_book_backend_ldap_reconnect): Ditto, and against not having a
book_view to signal.
(ldap_op_finished): Robustness.
(create_contact_handler): Ditto, and add the contact to cache too.
(e_book_backend_ldap_create_contact): Robustness.
(remove_contact_handler): Ditto, and remove the contact from cache.
(e_book_backend_remove_contacts): Ditto, and fix a memory leak.
(modify_contact_modify_handler): Robustness, and modify the cached
contact too.
(modify_contact_search_handler): Robustness.
(e_book_backend_ldap_modify_contact): Ditto.
(get_contact_handler): Ditto.
(e_book_backend_ldap_get_contact): Robustness, and implement offline
case.
(contact_list_handler): Robustness.
(e_book_backend_ldap_get_contact_list): Robustness, and implement
offline case.
(poll_ldap): Robustness, and set the poll_timeout to -1 when we return
FALSE. Otherwise we might never poll again.
(ldap_search_handler): Robustness.
(e_book_backend_ldap_search): Robustness, and implement offline case.
(generate_cache_handler): Implement.
(generate_cache_dtor): Implement.
(generate_cache): Implement.
(e_book_backend_ldap_authenticate_user): Robustness, implement offline
case.
(ldap_cancel_op): Robustness.
(e_book_backend_ldap_load_source): Implement offline case. Cache when
online.
(stop_views): Implement.
(start_views): Implement.
(e_book_backend_ldap_set_mode): Do nothing if mode didn't change. Kick
off a cache attempt when going online. Cancel running operations when
mode changes.
(call_dtor): Robustness.
* libedata-book/e-book-backend-cache.c
(e_book_backend_cache_get_contacts): Check that objects we retrieve
are likely to be vcards before trying to parse them. Fixes some
warnings.
2004-12-24 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_set_mode) : unbind when going to offline mode
(e_book_backend_ldap_authenticate_user) : call e_book_backend_ldap_connect
after checking priv->connected state. We may not be connected here
when switching from offline to online
2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_create_contact)
(e_book_backend_ldap_modify_contact)
(e_book_backend_ldap_remove_contacts)
(e_book_backend_ldap_get_contact)
(e_book_backend_ldap_get_contact_list)
(e_book_backned_ldap_search)
(e_book_backend_ldap_autheniticate_user) :
Don not try to connect to server when called in offline mode instead
return Repository offline error
2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
Part of merge from e-d-s offline branch
* idl/Evolution-DataServer-Addressbook.idl : added notifyAuthRequired
api for backends to request password from clients . Added
OfflineUnavailable error code
* libedata-book/e-data-book.[ch] : added new method
e_data_book_report_auth_required
* libedata-book/e-book-backend.[ch] : added new method
e_book_backend_notify_auth_required
* libedata-book/e-book-backend-cache.[ch] : added nw methods
e_book_backend_cache_set_populated and
e_book_backend_cache_is_populated to set and get
a flag on cache to see whehter it is completely popluated
or not. new mehod e_book_backend_cache_search returns
the ids matchingg contacts
* backends/groupwise/e-book-backend-groupwise.c :
(build_summary) (update_summary) : removed.
(build_cache) (update_cache) : use these instead
* libebook/e-boo-listener.[ch] : new method
impl_BookListener_report_auth_required;
(e_book_listener_convert_status) : added OfflineUnavailable error handling
* libebook/e-book-types.h : added error code E_BOOK_ERROR_OFFLINE_UNAVAILABLE
* libebook/e-book.[ch] :
added new signal AUTH_REQUIRED
(e_book_handle_response) : added handling for AuthRequiredEvent
(e_book_idle_auth_required) : new function to emit AUTH_REQUIRED signal
on EBook clients
2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
Part of merge from e-d-s offline branch
* libebook/e-book.c (e_book_handle_response) :
put a break statment in LinkStateEvent case
2004-12-22 Sivaiah Nallagatla <snalalgatla@novell.com>
Part of merge from e-d-s offline branch
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_class_init) : assingn the corresponding
function for new _mode virtual method.
(e_book_backend_groupwise_set_mode) : new function to set mode
(e_book_backend_groupwise_create_contact)
(e_book_backend_groupwise_remove_contacts)
(e_book_backend_groupwise_modify_contact ) : Added online/offline
handling. When offline return repository offline
error and when online do the stuff as usual
(e_book_backend_groupwise_get_contact) :
(e_book_backend_groupwise_get_contact_list) :
(book_view_thread) : Added online /offline handling
When offline read the items from cache and do not try to contact server
When offline read from server as usual
(e_book_backend_groupwise_authenticate_user) : Added online/offline
handling. When in offline just return success and when online
reeally auth to server
(e_book_backend_groupwise_load_source) : Store the original uri
as it is present in incoming ESource in priv struct. We need it for creating
cache file. Create and cache and summary files here
(populate_cache) : function to download the items from server
and to populate cache
2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
Part of merge from e-d-s offline branch
* backends/file/e-book-backend-file.c
(e_book_backend_file_class_init) : assingn the corresponding
function for new _mode virtual method.
(e_book_backend_file_set_mode) : new function to set mode
. After setting mode it notifies all the clients
about any changes in the connection status and writable status
* backends/vcf/e-book-backend-vcf.c : ditto
* backends/ldap/e-book-bakcend-ldap.c : ditto
2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
Part of merge from e-d-s offline branch
* libedata-book/e-book-backend.[ch] : new functions
(e_book_backend_set_mode) : a virtual method
to set online/offline mode on backends
(e_book_backend_notify_writable) : A function
using which a backend can notify all of its clients
about changge in its writable status
(e_book_backend_notify_connection_status) : A fcuntion using
which a backend can notify all of its clients
about change in the online/offline status
* libedata-book/e-data-book.[ch] : new function
(e_data_book_report_connection_status) : notifes the corresponding
EBook client about change in connection status via
EbookListener
* libedata-book/e-data-book-factory.[ch] : new functions
(e_data_book_factory_set_backend_mode) : sets the online/offline
mode on all the backends created by it
(set_backend_online_status) : sets the online/offline status on a backend
(impl_GNOME_Evolution_Addressbook_BookFactory_getBook) : changed this
function set online/offline mode on the backend after creating it
* idl/Evolution-DataServer-Addressbook.idl : Define constants
MODEL_LOCAL, MODE_REMOTE etc for online/offline modes
Added notifyConnectionStatus method to BookListner interface
* libebook/e-book-listner.c : new function
(impl_BookListener_report_link_status) : informs Ebook about
change in the online status of the backend it is talking to
* libebook/e-book.[ch] :
Added a new signal connection_status which gets emitted whenever
there is change in the connection status of the book (because
of the change in the online status of the corresponding backend)
(e_book_is_online) : new function to get online status
(e_book_handle_response) : added the handling for LinkStatusEvent
(e_book_idle_connection) : new idle functions which emits
connection_status signal on EBook
2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
Part of merge from e-d-s offline branch
* libedata-book/e-book-backend-cache.[ch] :
added new functions e_book_backend_check_contact
and e_book_backend_cache_exists
2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
Part of merge from e-d-s offline branch
* libedata-book/Makefile.am : added e-book-backend-cache.c to
SOURCES and e-book-backend-cache.h to HEADERS sections
2004-12-22 Sivaiah Nallagatla <snallagatla@novell.com>
Part of merge from e-d-s offline branch
* libedata-book/e-book-backend-cache.[ch] : A new class
to cache contacts on local file system to use in offline
mode. Based on e-file-cache.
2004-12-20 Hans Petter Jansson <hpj@novell.com>
* libebook/e-book.c (e_book_is_opened): Implement a simple
accessor so we can see if a book has been successfully opened
previously.
2004-12-19 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_build_query) : add filter
objectclass=person so that we don't get objects O, OU and other unwanted
objects in search results.
Fixes #68454
2004-12-11 Hans Petter Jansson <hpj@novell.com>
* libebook/e-destination.h: Add "changed" signal.
* libebook/e-destination.c: Add "changed" signal.
(e_destination_class_init): Init changed signal.
(e_destination_set_book): Emit changed signal. Additionally, fix
something that looks like a long standing bug; a negated test would
make it crash if dest->priv->source_uid was NULL when the book was
being set.
(e_destination_set_contact_uid)
(e_destination_set_source_uid)
(e_destination_set_name)
(e_destination_set_email)
(e_destination_set_auto_recipient)
(e_destination_set_raw)
(e_destination_set_html_mail_pref)
(e_destination_set_contact): Emit changed signal.
2004-12-09 Hans Petter Jansson <hpj@novell.com>
* libebook/e-destination.c: Remove antiquated comments.
2004-12-08 Hans Petter Jansson <hpj@novell.com>
* libebook/Makefile.am: Build e-destination.c, install e-destination.h.
Link with Camel.
* libebook/e-contact.h: Include E_CONTACT_FIELD_FIRST in the field
enum (currently, the fields are numbered starting at 1).
* libebook/e-destination.c: Remove bogus includes.
(utf8_casefold_collate_len)
(utf8_casefold_collate): Keep local copies of these functions for now.
(e_destination_equal): Use local utf8_casefold_collate ().
2004-12-08 Rodney Dawes <dobey@novell.com>
* libebook/e-book-contact.c: #include <config.h>
(e_contact_pretty_name): Bind and set the textdomain for eds so that
we get translated strings when we call this outside of eds, as it is
public API
2004-12-05 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_modify_contact)
(e_book_backend_groupwise_get_contact) : use the
changed prototype of e_gw_connection-get_item
2004-11-28 Sivaiah Nallagatla <snallagatla@novell.com>
* libebook/e-book.[ch] :
(e_book_get_required_fields)
(e_book_async_get_required_fields)
(do_get_required_fields)
(e_book_response_get_required_fields)
(e_book_response_get_required_fields): new methods
to required fields defined by backends
(e_book_handle_response) : added handling for
GetRequiredFieldsResponse case
* libebook/e-book-listener.[ch]
Added GetRequiredFieldsResponse to book listener
operations
(impl_BookListener_respond_get_required_fields):
new method for required fields
(e_book_listener_class_init) : init notifyRequiredFields
with corresponding implementation method
* idl/Evolution-DataServer-Addressbook.idl : added getRequiredFields
and notifyRequiredFields to book and book listener interfaces
* libedatabook/e-data-book.[ch] :
(impl_GNOME_Evolution_Addressbook_Book_getRequiredFields)
(e_data_book_respond_get_required_fields) : new methods for required
fields handling
(e_data_book_class_init) : init notifyRequiredFields
with corresponding implementation method
* libedatabook/e-book-backend.[ch] :
(e_book_backend_get_required_fields) : new methods
for required fields handling.
* libedatabook/e-book-backend-sync.[ch] :
(e_book_backend_sync_get_required_fields)
(_e_book_backend_get_required_fields) : ditto
(e_book_backend_sync_class_init) : init the new get_required_fields
method
* backends/file/e-book-backend-file.c :
(e_book_backend_file_get_required_fields) : get_required_fields
implementation
(e_book_backend_file_class_init) : init get_requires_method
* backends/vcf/e-book-backend-vcf.c :
(e_book_backend_vcf_get_required_fields)
(e_book_backend_vcf_class_init) :ditto
* backends/ldap/e-book-backend-ldap.c :
(e_book_backend_ldap_get_required_fields)
(e_book_backend_ldap_class_init) : ditto
* backends/groupwise/e-book-backend-groupwise.c :
(e_book_backend_groupwise_get_required_fields)
(e_book_backend_groupwise_class_init) :ditto
2004-10-30 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c (
e_book_backend_groupwise_get_contact_list) : move e_book_backend_sexp_match_contact
inside if(match_needed) sp that contact won't be returned
where match is needed but contact does not match the criteria
2004-10-29 Diego Gonzalez <diego@pemas.net>
* backends/file/e-book-backend-file.c (e_book_backend_file_modify_contact):
don't crash if the UID of the contact being commited is NULL.
2004-10-29 Diego Gonzalez <diego@pemas.net>
* libebook/e-book.c (do_commit_contact): when doing a e_book_commit_contact,
several times, the first time that this funcion was called with the
sync flag it cleared the UID of the contact, in the next operation the
server would crash due to the UID being null. This fixes the client side
and seems to work without a glitch.
I just removed the e_contact_set as it seems (from visual inspection of
e_contact_set) that this operation doesn't cause any call in the backend,
and thus it will not force the previous operation to be completed.
2004-10-26 Sivaiah Nallagatla <snallagatla@novell.com>
* libedata-book/e-book-backend-sexp.c : Remove E_CONTACT_UID
from the list of feilds we search in.
Fixes #42165
2004-10-25 JP Rosevear <jpr@novell.com>
From Anders Carlsson <andersca@gnome.org>
* libedata-book/e-book-backend-factory.c
(e_book_backend_factory_get_type): allocate the right size for the
class
2004-10-24 Nat Friedman <nat@novell.com>
* libedata-book/e-book-backend-sexp.c (compare_im_groupwise): Make
GroupWise IM names searchable.
2004-10-14 Rodney Dawes <dobey@novell.com>
* backends/*/Makefile.am: Add -avoid-version to LDFLAGS for all
of the backends
2004-10-13 Sivaiah Nallagatla <snallagatla@novell.com>
* backend/groupwise/e-book-backend-groupwise.c (
e_book_backend_groupwise_create_contact)
(e_book_backend_groupwise_get_contact_list)
(book_view_thread) (e_book_backend_groupwise_authenticate_user)
: call the e_gw_connection_* api again if the retuned status
code is E_GW_CONNECTION_STATUS_INVALID_CONNECTION. Part of the fix
for #64298
2004-10-04 Chris Toshok <toshok@ximian.com>
* backends/groupwise/e-book-backend-groupwise-factory.c: use the new
E_BOOK_BACKEND_FACTORY_SIMPLE macro.
* backends/groupwise/e-book-backend-groupwise-factory.h: nuke
* backends/groupwise/Makegroupwise.am (libebookbackendgroupwise_la_SOURCES):
remove e-book-backend-groupwise-factory.h.
* backends/ldap/e-book-backend-ldap-factory.c: use the new
E_BOOK_BACKEND_FACTORY_SIMPLE macro.
* backends/ldap/e-book-backend-ldap-factory.h: nuke
* backends/ldap/Makeldap.am (libebookbackendldap_la_SOURCES):
remove e-book-backend-ldap-factory.h.
* backends/vcf/e-book-backend-vcf-factory.c: use the new
E_BOOK_BACKEND_FACTORY_SIMPLE macro.
* backends/vcf/e-book-backend-vcf-factory.h: nuke
* backends/vcf/Makevcf.am (libebookbackendvcf_la_SOURCES):
remove e-book-backend-vcf-factory.h.
* backends/file/e-book-backend-file-factory.c: use the new
E_BOOK_BACKEND_FACTORY_SIMPLE macro.
* backends/file/e-book-backend-file-factory.h: nuke
* backends/file/Makefile.am (libebookbackendfile_la_SOURCES):
remove e-book-backend-file-factory.h.
* libedata-book/e-book-backend-factory.h: add a macro for all the
factory boilerplate.
2004-10-04 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise-ebook-backend-groupwise.c :
(e_book_backend_groupwise_build_gw_filter) : add an argument
to get the search string present in query
(book_view_thread) : create a gw filter with just firstName
and lastNmae in case of system address book. This is to simplify the
auto completion query. Server team believes that this improves scalability limit
(e_book_backend_groupwise_get_contact_list) : pass NULL to
extra arument added to e_book_backend_groupwise_build_gw_filter
. We do't need top get back serch string here
2004-09-30 Hans Petter Jansson <hpj@ximian.com>
Fixes bug #66368.
* libebook/e-contact.c (e_contact_new_from_vcard): If the constructed
vcard does not have a file_as attribute, try to generate one.
2004-09-30 Chris Toshok <toshok@ximian.com>
* libedata-book/e-data-book-factory.c
(e_data_book_factory_register_backend): this function takes an
EBookBackendFactory* now, instead of an EBookBackendFactoryFn.
(e_data_book_factory_register_backends): new function. Get the
extensions that implement E_TYPE_BOOK_BACKEND_FACTORY, and
register them.
(e_data_book_factory_lookup_backend_factory): use an
EBookBackendFactory instead of EBookBackendFactoryFn.
(impl_GNOME_Evolution_Addressbook_BookFactory_getBook): change to
match the EBookBackendFactoryFn -> EBookBackendFactory switch.
* libedata-book/e-book-backend.h: remove typedef for
EBookBackendFactoryFn.
* libedata-book/e-book-backend-sync.h: remove typedef for
EBookBackendSyncFactoryFn, since it wasn't ever used (and even the
non-sync version is obsolete now.)
* libedata-book/e-book-backend-factory.[ch]: new file, superclass
for all dynamically loaded addressbook factories.
* libedata-book/Makefile.am (libedata_book_la_SOURCES): add
e-book-backend-factory.c
(libedata_bookinclude_HEADERS): add e-book-backend-factory.h
* libebook/e-book.c (activate_factories_for_uri): don't look for
factories based on the supported_protocol property, since we can't
use those anymore with dynamically loaded backends.
* backends/file/e-book-backend-file-factory.[ch]: new files,
subclass EBookBackendFactory.
* backends/file/Makefile.am (extension_LTLIBRARIES):
libebookbackendfile.la is no longer noinst.
(libebookbackendfile_la_SOURCES): add
e-book-backend-file-factory.[ch].
* backends/groupwise/e-book-backend-groupwise-factory.[ch]: new
files, subclass EBookBackendFactory.
* backends/groupwise/Makefile.am (extension_LTLIBRARIES):
libebookbackendgroupwise.la is no longer noinst.
(libebookbackendfile_la_SOURCES): add
e-book-backend-groupwise-factory.[ch].
* backends/ldap/e-book-backend-ldap-factory.[ch]: new files,
subclass EBookBackendFactory.
* backends/ldap/Makefile.am (extension_LTLIBRARIES):
libebookbackendldap.la is no longer noinst.
(libebookbackendfile_la_SOURCES): add
e-book-backend-ldap-factory.[ch].
* backends/vcf/e-book-backend-vcf-factory.[ch]: new files,
subclass EBookBackendFactory.
* backends/vcf/Makefile.am (extension_LTLIBRARIES):
libebookbackendvcf.la is no longer noinst.
(libebookbackendfile_la_SOURCES): add
e-book-backend-vcf-factory.[ch].
2004-09-23 Diego Gonzalez <diego@pemas.net>
Fixes #66574.
* libebook/e-book.c (e_book_get_self): open the book before
getting the contact.
2004-09-23 JP Rosevear <jpr@novell.com>
* libebook/Makefile.am: build a versioned lib, don't hard
code the pkgconfig version
* libedata-book/Makefile.am: ditto
* backends/file/Makefile.am: link against the correct library
version
* backends/groupwise/Makefile.am: ditto
* backends/vcf/Makefile.am: ditto
* backends/ldap/Makefile.am: ditto
* tests/vcard/Makefile.am: ditto
* tests/ebook/Makefile.am: ditto
2004-09-22 William Jon McCann <mccann@jhu.edu>
* libebook/e-book.c (emit_async_open_response)
(e_book_response_open):
* libebook/e-book-view-listener.c (d): Disable debugging noise.
2004-09-16 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/gropwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_get_contact_list) :
don't try to search over summary in case of system addr book
as we don't maintain one.
2004-09-13 Hans Petter Jansson <hpj@ximian.com>
* backends/ldap/e-book-backend-ldap.c: Revert the LDAP attribute names
changed by Sivaiah's last commit.
2004-09-09 Hans Petter Jansson <hpj@ximian.com>
Fixes #63385.
* libebook/e-book.c (fetch_corba_book): Use g_signal_connect_object ()
to connect to the listener, so we won't be destroyed in another thread
while processing signals from it.
(e_book_dispose): Only disconnect the listener signal if it hasn't
already been done by GLib. Bug compatibility.
2004-09-06 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/ldap/e-book-backend-ldap.c : Update
the ldap attribute names for calendar ui and free busy uri
fileds to match with what is present in evolutionPerson.schema
(add_to_supported_fields) : add E_CONTACT_EMAIL_1 also to list of supported fields.
Also use e_contact_field_name function instead of hardcodring field names
(anniversary_populate) : correct incorrect contact date
parameter passing. Also free the contact date
Fixes some of the issues mentioned in #59582
2004-08-26 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_authenitcate_user) : don' try
to get container id and categories if we have already authenitcated
Fixes #63844
2004-08-25 Frederic Crozat <fcrozat@mandrakesoft.com>
* tests/ebook/test-photo.c:
Add missing prototype.
2004-08-23 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_get_contact_list)
(book_view_thread)
(set_members_in_gw_item) : add "members" view
while getting items explicitly to take care of change in server
behaviour
(e_book_backnd_groupwise_start_book_view) : make the thread
non-joinable
(e_book_backend_groupwise_stop_book_view) : don;'t try to join
the thread as it is acusing gui blokcing when server response is slow
2004-08-20 Chris Toshok <toshok@ximian.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_dispose): free bl->priv->schema_dn.
2004-08-20 Sivaiah Nallagatla <snallagatla@novell.com>
* backend/groupwise/e-book-backend-groupwise.c (populate_full_name) :
ignore the name prefix returned by server as it is reurning incorrect values
see #63225
2004-08-19 Chris Toshok <toshok@ximian.com>
[ part of fix for #60889 ]
* backends/file/e-book-backend-file.c
(e_book_backend_file_load_source): add DB_THREAD flag to all calls
to db->open.
(string_to_dbt): set dbt->flags to DB_DBT_USERMEM.
(e_book_backend_file_modify_contact): set dbt->flags to
DB_DBT_MALLOC and free the dbt's data when we're done.
(e_book_backend_file_get_contact): same.
(book_view_thread): same.
(e_book_backend_file_changes_foreach_key): same.
(e_book_backend_file_maybe_upgrade_db): same.
2004-08-17 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c (func_begins_with):
do a OR operation insted of assinging BEGINS_WITH_FILE_AS
2004-08-17 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c (book_view_thread) :
don't update the view with contact when id is not present. Send the
"name email" view to server when the query is for auto-completion
don't try to search on system address book with out filter
(e_book_backend_groupwise_build_gw_filter) : add an extra argument to know
whether the query is auto-completion one or not
(e_book_backend_groupwise_get_contact_list) : call the updated build_gw_filter
method
(e_book_backend_groupwise_remove) : return error when
there is an attempt to remove System adddress book
(e_book_backend_groupwise_get_supported_auth_methods ) : return plain/password
2004-08-16 Chris Toshok <toshok@ximian.com>
* backends/vcf/e-book-backend-vcf.c: keep both a hash table and a
GList around for the contacts.
(insert_contact): insert the contact into the GList and insert the
GList* into the hashtable.
(save_file): just use the GList directly instead of building it up
from the hash table.
(do_create): call insert_contact instead of directly inserting
into the hash table.
(e_book_backend_vcf_remove_contacts): remove the contact from both
the hashtable and the list.
(e_book_backend_vcf_modify_contact): just update the GList.
(e_book_backend_vcf_get_contact): the hashtable contains GList*'s.
(foreach_get_contact_compare): this is a GFunc now, not a GHFunc.
(e_book_backend_vcf_get_contact_list): iterate over the list, not
the hashtable.
(foreach_search_compare): nuke.
(book_view_thread): do the iteration here, and break out properly
when the search is stopped.
(e_book_backend_vcf_load_source): use g_hash_table_new instead of
_new_full here.
(e_book_backend_vcf_dispose): destroy the list and free the hash
keys.
2004-08-13 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(populate_birth_date), (populate_full_name),
(set_emails_in_gw_item) : patch
from Vincent Noel (vnoel@cox.net) to fix
#62597
2004-08-12 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_get_static_capabilities) : add "anon-access"
static capability
2004-08-09 Chris Toshok <toshok@ximian.com>
* tests/vcard/README (Test): add note about 11.vcf.
2004-08-03 Chris Toshok <toshok@ximian.com>
[ fixes #61719 ]
* libebook/e-vcard.c (read_attribute_params): fix the one
remaining g_assert_not_reached case.
2004-08-03 Chris Toshok <toshok@ximian.com>
* tests/vcard/Makefile.am (EXTRA_DIST): add 11.vcf.
* tests/vcard/11.vcf: new test, for missing attribute parameters.
2004-07-23 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_load_source) : read the "use_ssl"
property from ESource and form the uri accrodingly
(e_book_backend_groupwise_authenticate_user) : when "use_ssl" is
"when-posible", try with https first and then http if that fails.
(e_book_backend_groupwise_init) (e_book_backend_groupwise_dispose) :
initialize and free the newly added priv member use_ssl
2004-07-19 Hans Petter Jansson <hpj@ximian.com>
Really fixes #61052, #61466, #61160. Tested.
* libebook/e-book.c (e_book_op_remove): Don't lock the book's
mutex here, for symmetry with e_book_new_op ().
(do_add_contact): Lock book around op removal.
(do_commit_contact): Ditto.
(do_get_supported_fields): Ditto.
(do_get_supported_auth_methods): Ditto.
(do_authenticate_user): Ditto.
(do_get_contact): Ditto.
(do_get_contacts): Ditto.
(do_get_changes): Ditto.
(do_open): Ditto.
(do_remove): Ditto.
(emit_async_add_contact_response): Widen the scope of the
book's lock.
(emit_async_elist_response): Ditto.
(emit_async_get_contact_response): Ditto.
(emit_async_get_book_view_response): Ditto.
(emit_async_get_contacts_response): Ditto.
(emit_async_get_changes_response): Ditto.
(emit_async_generic_response): Ditto.
(emit_async_open_response): Ditto.
(e_book_response_add_contact): Lock book around op manipulation,
widen scope.
(e_book_response_get_supported_fields): Ditto.
(e_book_response_get_supported_auth_methods): Ditto.
(e_book_response_get_contact): Ditto.
(e_book_response_get_book_view): Ditto.
(e_book_response_get_contacts): Ditto.
(e_book_response_get_changes): Ditto.
(e_book_response_generic): Ditto.
(e_book_response_open): Ditto.
(e_book_response_remove): Ditto.
2004-07-19 Sivaiah Nallagatla <snallagatla@novell.com>
* libedata-book/e-book-backend-sexp.c (compare_address) : provided
implementation, search in all fileds of all types of addresses
till a match occurs
Fixes #58701
2004-07-16 Chris Toshok <toshok@ximian.com>
[ fixes #61052 ]
* libebook/e-book.c (e_book_op_remove): lock the book's mutex
around operations on the id_to_op hashtable, as is done in all
other e_book_* functions.
(emit_async_add_contact_response): lock the book's mutex around
operations on the pending_idle list.
(e_book_response_add_contact): same.
(emit_async_elist_response): same.
(e_book_response_get_supported_fields): same.
(e_book_response_get_supported_auth_methods): same.
(emit_async_get_contact_response): same.
(e_book_response_get_contact): same.
(emit_async_get_book_view_response): same.
(e_book_response_get_book_view): same.
(emit_async_get_contacts_response): same.
(e_book_response_get_contacts): same.
(emit_async_get_changes_response): same.
(e_book_response_get_changes): same.
(emit_async_generic_response): same.
(e_book_response_generic): same.
(emit_async_open_response): same.
(e_book_response_open): same.
(e_book_response_remove): same.
2004-07-14 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_idle_writable): simplify this a bit,
since we don't need to pass the writable state in a closure - we
can just get it from the book. also wrap stuff up in a mutex
since we can get multiple report_writable calls from a backend.
(e_book_handle_response): make sure we only have 1 idle call at a
time going, and simplify the closure passing to be just the EBook.
same with the mutex juju.
(e_book_dispose): remove the writable idle callback if there is
one registered.
2004-07-13 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_get_self): only propagate the GError
if @error != NULL. Fixes some console warnings.
(e_book_set_default_source): same.
(e_book_new_system_addressbook): same.
(e_book_new_default_addressbook): same.
2004-07-13 Chris Toshok <toshok@ximian.com>
[ fixes #58639 ]
* libebook/e-book-listener.c (impl_BookListener_respond_get_view):
no need to wrap the g_signal_emit with dup_ref/release_unref. the
construct for EBookView does a dup_ref of its own.
* libedata-book/e-data-book-view.c
(e_data_book_view_notify_update): don't call
e_data_book_view_notify_remove when the pending_mutex is already
called. call notify_remove directly.
2004-07-09 Chris Toshok <toshok@ximian.com>
[ part of fix for #56520 ]
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_get_static_capabilities): add
"contact-lists".
* backends/vcf/e-book-backend-vcf.c
(e_book_backend_vcf_get_static_capabilities): add "contact-lists".
* backends/file/e-book-backend-file.c
(e_book_backend_file_get_static_capabilities): add
"contact-lists".
2004-07-03 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(book_view_thread) : fix the problem
of returning from the fucntion without singalling the
parent thread when cnc is null. A probable fix for #60947
Also send the query to server when summary is not present
(build_summary), (update_summary) : set priv->is_summary_ready
to TRUE when summary loading is done
2004-06-26 Chris Toshok <toshok@ximian.com>
* backends/ldap/e-book-backend-ldap.c (get_ldap_library_info): use
ldap_unbind_ext_s.
(e_book_backend_ldap_connect): same.
(e_book_backend_ldap_dispose): unbind our LDAP* when we're shut
down.
* libedata-book/e-data-book-view.h: add prototype for
e_data_book_view_set_thresholds.
2004-06-24 Hans Petter Jansson <hpj@ximian.com>
See bug #51127.
* backends/vcf/e-book-backend-vcf.c (e_book_backend_vcf_load_source):
Don't add a default vcard to new books.
* backends/file/e-book-backend-file.c
(e_book_backend_file_load_source): Don't add default vcard to new
books.
2004-06-23 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_response_add_contact): ref in the
assignment.
(e_book_response_get_supported_fields): same.
(e_book_response_get_supported_auth_methods): same.
(emit_async_get_contact_response): unref the book before
returning.
(e_book_response_get_contact): ref the book in the assignment.
(emit_async_get_book_view_response): unref the book before
returning.
(e_book_response_get_book_view): ref the book in the assignment.
(e_book_response_get_contacts): same.
(emit_async_get_changes_response): unref the book before
returning.
(e_book_response_get_changes): ref the book in the assignment.
(emit_async_generic_response): we ref before registering the idle
handler.
(e_book_response_generic): ref the book in the assignment.
(emit_async_open_response): unref the book before returning
(e_book_response_open): ref the book in the assignment.
(e_book_response_remove): same.
2004-06-23 Hans Petter Jansson <hpj@ximan.com>
* libebook/e-book.c (emit_async_generic_response): Keep a ref on
the book while we're accessing it, since the callback might unref
it to zero, causing a crash.
2004-06-22 Chris Toshok <toshok@ximian.com>
* libedata-book/e-data-book-view.c
(e_data_book_view_set_thresholds): allow consumers of
EDataBookView to control the thresholds used in aggregating
contacts before sending them to the gui. allows us to implement
the different thresholds that were used in the 1.4.x ldap and file
backends.
* libedata-book/e-data-book-view.h: add prototype for
e_data_book_view_set_thresholds.
2004-06-21 Chris Toshok <toshok@ximian.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_search): clamp the search result limit to the
ldap backend's limit.
2004-06-21 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (e_contact_get_const): reorder some stuff
so we only generate 1 free per string on object destruction.
2004-06-21 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (e_contact_get_const): cache the most
recently fetched const pointer so we can hand it out more than
once (unless there's an intervening _set). Should substantially
lessen the number of allocations we do because of this function.
(e_contact_set): clear the cached slot for this field, so we'll
allocate/return a new const string from e_contact_get_const.
2004-06-18 Chris Toshok <toshok@ximian.com>
[ fixes #59978 ]
* backends/ldap/e-book-backend-ldap.c (photo_ber): implement
(photo_compare): same.
(prop_info): set add ber/compare functions for E_CONTACT_PHOTO.
2004-06-18 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_new_system_addressbook): "oops".
2004-06-18 Chris Toshok <toshok@ximian.com>
[ fixes #57628 ]
* libebook/e-book.c (e_book_new_system_addressbook): use the
new_default_addressbook model, and search for a property on
sources (system=true). If we find one, use that source, otherwise
default to ~/.evolution/local/system.
2004-06-17 Chris Toshok <toshok@ximian.com>
* tests/ebook/test-ebook-async.c: down with e-book-async.h, up
with e-book.h.
* libedata-book/e-data-book.h: add @opid args to all the
e_data_book_respond* functions.
* libedata-book/e-data-book.c
(impl_GNOME_Evolution_Addressbook_Book_open): add @opid arg and
pass it on.
(impl_GNOME_Evolution_Addressbook_Book_remove): same.
(impl_GNOME_Evolution_Addressbook_Book_getContact): same.
(impl_GNOME_Evolution_Addressbook_Book_getContactList): same.
(impl_GNOME_Evolution_Addressbook_Book_authenticateUser): same.
(impl_GNOME_Evolution_Addressbook_Book_addContact): same.
(impl_GNOME_Evolution_Addressbook_Book_removeContacts): same.
(impl_GNOME_Evolution_Addressbook_Book_modifyContact): same.
(impl_GNOME_Evolution_Addressbook_Book_getBookView): same.
(impl_GNOME_Evolution_Addressbook_Book_getChanges): same.
(impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): same.
(impl_GNOME_Evolution_Addressbook_Book_getSupportedAuthMethods): same.
(e_data_book_respond_open): same.
(e_data_book_respond_remove): same.
(e_data_book_respond_create): same.
(e_data_book_respond_remove_contacts): same.
(e_data_book_respond_modify): same.
(e_data_book_respond_authenticate_user): same.
(e_data_book_respond_get_supported_fields): same.
(e_data_book_respond_get_supported_auth_methods): same.
(e_data_book_respond_get_book_view): same.
(e_data_book_respond_get_contact): same.
(e_data_book_respond_get_contact_list): same.
(e_data_book_respond_get_changes): same.
* libedata-book/e-book-backend.h: add @opid args everywhere.
* libedata-book/e-book-backend.c (e_book_backend_open): add @opid
arg, and pass it along to the backend subclass, as well as all
calls to e_data_book_respond_*.
(e_book_backend_remove): same.
(e_book_backend_create_contact): same.
(e_book_backend_remove_contacts): same.
(e_book_backend_modify_contact): same.
(e_book_backend_get_contact): same.
(e_book_backend_get_contact_list): same.
(e_book_backend_start_book_view): same.
(e_book_backend_stop_book_view): same.
(e_book_backend_get_changes): same.
(e_book_backend_authenticate_user): same.
(e_book_backend_get_supported_fields): same.
(e_book_backend_get_supported_auth_methods): same.
* libedata-book/e-book-backend-sync.h: add @opid args everywhere.
* libedata-book/e-book-backend-sync.c
(e_book_backend_sync_create_contact): add @opid arg and pass it
along to subclass.
(e_book_backend_sync_remove): same.
(e_book_backend_sync_remove_contacts): same.
(e_book_backend_sync_modify_contact): same.
(e_book_backend_sync_get_contact): same.
(e_book_backend_sync_get_contact_list): same.
(e_book_backend_sync_get_changes): same.
(e_book_backend_sync_authenticate_user): same.
(e_book_backend_sync_get_supported_fields): same.
(e_book_backend_sync_get_supported_auth_methods): same.
(_e_book_backend_remove): same.
(_e_book_backend_create_contact): same.
(_e_book_backend_remove_contacts): same.
(_e_book_backend_modify_contact): same.
(_e_book_backend_get_contact): same.
(_e_book_backend_get_contact_list): same.
(_e_book_backend_get_changes): same.
(_e_book_backend_authenticate_user): same.
(_e_book_backend_get_supported_fields): same.
(_e_book_backend_get_supported_auth_methods): same.
* libebook/e-book.c (struct EBookOp): augment this structure with
enough info to handle the asynchronous operations.
(struct _EBookPrivate): remove the current_op pointer and add a
hashtable mapping ids to ops. The current sync op is always id 0.
(e_book_new_op): add @sync arg.
(e_book_get_op): add @opid arg, and look up the op in the
hashtable.
(e_book_get_current_sync_op): convenience function to lookup the
current sync op.
(e_book_op_remove): remove the op from the hashtable.
(do_add_contact): split out all the code from e_book_add_contact
here, and make it handle both synchronous and async calling
sequences.
(e_book_add_contact): call do_add_contact.
(e_book_async_add_contact): same.
(e_book_response_add_contact): handle both sync/async ops. sync =
notify on our cvar and return. async = add idle handler that will
call the op's callback.
(emit_async_add_contact_response): idle handler for adding
contacts asynchronously.
(do_commit_contact): same pattern as above...
(do_get_supported_fields): same.
(do_get_supported_auth_methods): same.
(do_authenticate_user): same.
(do_get_contact): same.
(do_remove_contacts): same.
(do_get_book_view): same.
(do_get_contacts): same.
(do_get_changes): same.
(do_open): same.
(do_remove): same.
* libebook/e-book.h: move all the async api foo here.
* libebook/e-book-listener.h (struct _EBookListenerResponse): add
opid slot.
* libebook/e-book-listener.c
(impl_BookListener_respond_create_contact): add @opid arg and add
it to the response struct.
(impl_BookListener_respond_remove_contacts): same.
(impl_BookListener_respond_modify_contact): same.
(impl_BookListener_respond_get_contact): same.
(impl_BookListener_respond_get_contact_list): same.
(impl_BookListener_respond_get_view): same.
(impl_BookListener_respond_get_changes): same
(impl_BookListener_respond_open_book): same.
(impl_BookListener_respond_remove_book): same.
(impl_BookListener_respond_authentication_result): same.
(impl_BookListener_respond_get_supported_fields): same.
(impl_BookListener_respond_get_supported_auth_methods): same.
* libebook/Makefile.am (libebook_la_SOURCES): remove
e-book-async.c
(libebookinclude_HEADERS): remove e-book-async.h
* idl/Evolution-DataServer-Addressbook.idl: add opid args to all
the oneway void Book methods, and to all the responses in
BookListener.
* backends/vcf/e-book-backend-vcf.c
(e_book_backend_vcf_create_contact)
(e_book_backend_vcf_remove_contacts)
(e_book_backend_vcf_modify_contact)
(e_book_backend_vcf_get_contact)
(e_book_backend_vcf_get_contact_list)
(e_book_backend_vcf_authenticate_user)
(e_book_backend_vcf_get_supported_fields): add @opid arg.
(init_closure): make this more like the file:// backend.
(closure_destroy): free the cvar.
(book_view_thread): move the search code into another thread.
(e_book_backend_vcf_start_book_view): steal this from the file
backend.
(e_book_backend_vcf_stop_book_view): same.
* backends/ldap/e-book-backend-ldap.c (struct LDAPOp): add opid.
(ldap_op_add): add @opid arg.
(create_contact_handler): use op->opid in calls to
e_data_book_respond_*.
(e_book_backend_ldap_create_contact): same.
(remove_contact_handler): same.
(e_book_backend_ldap_remove_contacts): same.
(modify_contact_modify_handler): same.
(modify_contact_search_handler): same.
(e_book_backend_ldap_modify_contact): same.
(get_contact_handler): same.
(e_book_backend_ldap_get_contact): same.
(contact_list_handler): same.
(e_book_backend_ldap_get_contact_list): same.
(e_book_backend_ldap_authenticate_user): same.
(e_book_backend_ldap_get_supported_fields): same.
(e_book_backend_ldap_get_supported_auth_methods): same.
(e_book_backend_ldap_get_changes): add @opid arg.
(e_book_backend_ldap_remove): same.
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_create_contact)
(e_book_backend_groupwise_remove_contacts)
(e_book_backend_groupwise_modify_contact)
(e_book_backend_groupwise_get_contact)
(e_book_backend_groupwise_get_contact_list)
(e_book_backend_groupwise_get_changes)
(e_book_backend_groupwise_authenticate_user)
(e_book_backend_groupwise_get_supported_fields)
(e_book_backend_groupwise_get_supported_auth_methods)
(e_book_backend_groupwise_remove): : add @opid arg, and pass it to
e_data_book_respond_* functions.
* backends/file/e-book-backend-file.c
(e_book_backend_file_create_contact)
(e_book_backend_file_remove_contacts)
(e_book_backend_file_modify_contact)
(e_book_backend_file_get_contact)
(e_book_backend_file_get_contact_list)
(e_book_backend_file_get_changes)
(e_book_backend_file_authenticate_user)
(e_book_backend_file_get_supported_fields)
(e_book_backend_file_remove): add @opid arg.
2004-06-16 Not Zed <NotZed@Ximian.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_cancel_operation): implement, noop
currently. Saves an assert exploding the server.
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_cancel_operation): implement.
(ldap_cancel_op): cancel each operation synchronously (?).
Related to #56479.
2004-06-15 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(populate_contact_members) : set EVC_X_DEST_CONTACT_UID
EVC_X_DEST_NAME parameters also
(set_members_in_gw_item) : read the uid's of contacts
and use them instead of searching based on email values
2004-06-09 Chris Toshok <toshok@ximian.com>
[ probable fix for #58803 ]
* backends/ldap/e-book-backend-ldap.c (ldap_search_handler):
remove the ref/unref of the book view here.
(e_book_backend_ldap_search): move the dup_ref of the book view
here.
(ldap_search_dtor): and the release_unref to here.
2004-06-09 Chris Toshok <toshok@ximian.com>
* backends/ldap/e-book-backend-ldap.c (ldap_search_dtor): we don't
need to lock/unlock the view's mutex anymore.
2004-06-07 Chris Toshok <toshok@ximian.com>
[ fixes bug #58606 ]
* libebook/e-vcard.c (read_attribute_params): actually do what the
commend above this block says - if there aren't values, free the
parameter and skip past the character (unless it's a :).
2004-06-03 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(update_summary) : new function to update the summary after
getting the changes from server
2004-06-01 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_remove_contacts) : use the new
e_gw_connection_remove_items which removes all the items form the
server at once instead of sending one request for each item
2004-05-28 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
( e_book_backend_groupwise_authenicate_user) : form the summary
(e_book_backend_groupwise_start_book_view),
(e_book_backend_groupwise_get_contact_list) : search over the
summary to get ids and retrieve those items from the summary
2004-05-25 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_load_source) : port is no longer part of
uri, read it from e-source
(set_memebers_in_groupwise_item) : compare emails with ignore case
fixes #58888
2004-05-25 Chris Toshok <toshok@ximian.com>
* libebook/e-book-query.c (e_book_query_to_string): encode the
values we place in the sexp.
2004-05-20 Chris Toshok <toshok@ximian.com>
[ fixes bug #58495 ]
* libebook/e-book-async.c (worker): this is now a thread pool
function, so there's no to_worker_queue to pop things off of.
(init_async): create the thread pool with MAX_WORKERS threads
maximum.
(e_book_async_open, e_book_async_get_supported_fields)
(e_book_async_get_supported_auth_methods)
(e_book_async_authenticate_user, e_book_async_get_contact)
(e_book_async_remove_contacts, e_book_async_add_contact)
(e_book_async_commit_contact, e_book_async_get_book_view)
(e_book_async_get_contacts): use g_thread_pool_push here.
2004-05-19 Chris Toshok <toshok@ximian.com>
* tests/ebook/*.c: port to new e_book_new/e_book_open apis.
* libebook/e-book-types.h (EBookStatus): URI -> SOURCE.
* libebook/e-book-async.c (e_book_async_open): new function,
mostly the same as e_book_async_load_source was.
(e_book_async_load_local_addressbook, e_book_async_load_source,
e_book_async_load_uri, e_book_async_get_default_addressbook):
nuke.
* libebook/e-book-async.h: remove prototypes for
e_book_async_load_uri/source/local_address, and
e_book_async_get_default_addressbook.
* libebook/e-book.c (EBookLoadState): URI -> SOURCE.
(e_book_add_contact): URI -> SOURCE, and "e_book_load_uri" ->
"e_book_open"
(e_book_commit_contact): same.
(e_book_get_supported_fields): same.
(e_book_get_supported_auth_methods): same.
(e_book_authenticate_user): same.
(e_book_get_contact): same.
(e_book_remove_contacts): same.
(e_book_get_book_view): same.
(e_book_get_contacts): same.
(e_book_get_changes): same.
(e_book_open): new function, mostly split out from the old
contents of fetch_corba_book. call Book::open here.
(e_book_remove): we no longer require the book is loaded here, as
the source (and corba book) is associated at e_book_new time.
(e_book_unload_uri): URI -> SOURCE.
(backend_died_cb): same.
(fetch_corba_book): split out roughly half of the inner loop (the
part that calls Book::open). This does nothing more than find a
factory that will hand us a reference to a corba book.
(e_book_load_source, e_book_load_uri,
e_book_load_local_addressbook, e_book_get_default_addressbook):
nuke.
(e_book_get_static_capabilities): URI -> SOURCE.
(e_book_get_self): use new e_book_new* api.
(e_book_set_default_addressbook): URI -> SOURCE.
(e_book_new): set the source and call fetch_corba_book here.
(e_book_new_from_uri): new function, implement in terms of the new
e_book_new.
(e_book_new_system_addressbook): new function, implement in terms
of e_book_new_from_uri.
(e_book_new_default_addressbook): new function, implement in terms
of the new e_book_new.
(e_book_init): URI -> SOURCE.
(e_book_dispose): same.
* libebook/e-book.h: rework the e_book_new_* api to be more like
the calendar. gone is the constructor with no args. now you
associate a source/uri/etc with an ebook at creation time. Also,
add e_book_open, and remove all the e_book_load_* calls.
2004-05-19 Hans Petter Jansson <hpj@ximian.com>
* backends/ldap/e-book-backend-ldap.c (add_to_supported_fields):
Add EMAIL_4 field.
(email_ids): Add EMAIL_4.
(email_populate): Ditto.
(email_ber): Ditto.
* libebook/e-contact.c (field_info): Add EMAIL_4 field.
* libebook/e-contact.h: Add EMAIL_4 field.
* libedata-book/e-book-backend-sexp.c (compare_email): Add
EMAIL_4.
* libedata-book/e-book-backend-summary.c: Add EMAIL_4 to structs,
bump version to 5000 (5.0).
(free_summary_item): Add EMAIL_4.
(e_book_backend_summary_load_item): Ditto.
(e_book_backend_summary_save_item): Ditto.
(e_book_backend_summary_add_contact): Ditto.
(do_compare): Ditto.
(e_book_backend_summary_get_summary_vcard): Ditto.
2004-05-18 Chris Toshok <toshok@ximian.com>
[ fixes #58522, and some other misc update problems ]
* libedata-book/evolutionperson.schema: make both evolutionPerson
and evolutionPersonList AUXILIARY classes, so they can be added to
inetOrgPerson objects in openldap 2.1.x+ servers.
* backends/ldap/e-book-backend-ldap.c (free_mods): guard against
mod->mod_bvalues/mod->mod_values being NULL... this shouldn't ever
happen, but it seem to, and is causing a crash.
(category_ber): simpler check to see if there are categories - get
the CATEGORIES property and check if it's NULL/0-length.
* libebook/e-contact.c (e_contact_set_property): remove the
CATEGORIES attribute if the string is empty or NULL, and do the
same for non-synthetic string attributes.
2004-05-18 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c (set_members_in_gw_item) :
make sure not to add more than one item id for single email
Fixes #58369
(set_organization_in_gw_item) (set_organization_changes_in_gw_item) :
new functions to add organization field le storing contact on server
Fixes #57846
2004-05-17 Rodney Dawes <dobey@ximian.com>
* libebook/Makefile.am (libebook_la_LIBADD):
* libedata-book/Makefile.am (libedata_book_la_LIBADD):
Add $(EVOLUTION_ADDRESSBOOK_LIBS) to link to all the right dependencies
so that the mono bindings will work correctly
Fixes #58615
2004-05-17 Chris Toshok <toshok@ximian.com>
[ fixes bug #57505 ]
* backends/ldap/e-book-backend-ldap.c (category_ber): only include
category list elements in the ber if they're non-empty.
(category_compare): don't free the const char*'s.
(address_ber): make static.
(add_to_supported_fields): make sure "categories" gets included in
the list if we support "category_list", since the contact editor
uses the former, not the latter (and they're really the same thing
as far as the backend is concerned.)
2004-05-10 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c (populate_ims) :
if im does not correspond to one supported in evo, ignore it
fixes #58262
2004-05-04 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c (populate_ims) :
set type paraemter with value as WORK on attributes while setting ims in
contact so that they appear in preview pane
(free_attr_list) : new function to free list of attributes
fixes #56776
2004-05-03 William Jon McCann <mccann@jhu.edu>
* addressbook/libebook/e-address-western.h:
* addressbook/libebook/e-contact.h:
* addressbook/libebook/e-name-western-tables.h:
* addressbook/libebook/e-name-western.h:
* addressbook/libebook/e-vcard.h:
* addressbook/libedata-book/e-book-backend-sexp.h:
* addressbook/libedata-book/e-book-backend-summary.h:
* addressbook/libedata-book/e-book-backend-sync.h:
* addressbook/libedata-book/e-book-backend.h:
* addressbook/libedata-book/e-data-book-types.h:
* addressbook/libedata-book/e-data-book-view.h:
* addressbook/libedata-book/e-data-book.h:
Add missing G_BEGIN_DECLS and G_END_DECLS
2004-05-02 Chris Toshok <toshok@ximian.com>
* libedata-book/e-book-backend-sexp.c (prop_info_table): add
BLOG_URL, CALENDAR_URI, FREEBUSY_URL, ICS_CALENDAR, and VIDEO_URL.
* libedata-book/e-book-backend-summary.c (check_symbols): add
"exists".
2004-04-28 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(set_member_changes) : new function added to apply changes
in the contact-list on server
2004-04-27 Jeffrey Stedfast <fejj@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_changes_foreach_key): Revert yesterday's
changes.
2004-04-26 Jeffrey Stedfast <fejj@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_changes_foreach_key): Updated to take 3
arguments (change to e_dbhash_foreach_key).
2004-04-23 Chris Toshok <toshok@ximian.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_connect): always set the protocol level to 3
first (even if we're not doing TLS/SSL) so we can attempt a v3
bind before falling back to the v2 bind.
2004-04-22 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(populate_contact_members) : set the emails using EVC_X_DEST_EMAIL
parameter
2004-04-21 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (E_CONTACT_COMPANY): make this an
ATTR_TYPE_STR field, using EVC_X_COMPANY as the TYPE.
* libebook/e-vcard.h (EVC_X_COMPANY): add new parameter type.
2004-04-21 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (photo_setter): setters aren't called with
NULL data anymore.
(fn_setter): same.
(n_setter): same.
(adr_setter): same.
(date_setter): same.
(cert_setter): same.
(e_contact_set_property): only call struct_setter if the data is
non-NULL and non-empty. otherwise remove the newly created
attribute.
* libebook/e-book-view-listener.h: doh, really add _start
prototype.
* libebook/e-book-query.c (func_exists): new function - we weren't
parsing the "exists" query before, so duplicating a query
containing one failed (duplication = unparse + parse).
* libebook/e-book-listener.c (impl_BookListener_respond_get_view):
don't rely on bonobo_object_dup_ref returning the same object.
2004-04-21 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_load_source) : change the separtor used between uri
and book name to ';' from '?'
2004-04-20 Chris Toshok <toshok@ximian.com>
* tests/ebook/Makefile.am: add test-nonexistent-id and test-query.
* tests/ebook/test-nonexistent-id.c: test for both
e_book_remove_contact (which was broken until recently) and the
behavior of libebook when you try to remove a non-existent id.
* tests/ebook/test-query.c: new test, to see if we correctly
unparse/parse queries.
2004-04-19 Sivaiah Nallagatla <snallagatla@novell.com>
* e-book-backend-groupwise.c (book_view_thread) : the start_
book_view implementation is moved this method and executed in a separate thread
(e_book_backend_groupwise_start_book_view) : start the new thread for getting book view
(e_book_backend_groupwise_stop_book_view ) : set the stopped closure
field to TRUE and join on the thread.
(e_book_backend_groupwise_load_source) : change the separtor used between uri
and book name to ';' from '?'
2004-04-17 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-vcard.c (e_vcard_remove_attributes): Don't pass NULL
attr_group on to string comparison function.
(e_vcard_escape_string)
(e_vcard_attribute_new): Separate variable initialization from
declaration.
(e_vcard_unescape_string)
(e_vcard_new_from_string)
(e_vcard_to_string_vcard_30)
(e_vcard_dump_structure)
(e_vcard_attribute_new)
(e_vcard_attribute_free)
(e_vcard_remove_attribute)
(e_vcard_add_attribute)
(e_vcard_add_attribute_with_value)
(e_vcard_add_attribute_with_values)
(e_vcard_attribute_add_values)
(e_vcard_attribute_remove_values)
(e_vcard_attribute_param_free)
(e_vcard_attribute_param_copy)
(e_vcard_attribute_add_param)
(e_vcard_attribute_param_add_value)
(e_vcard_attribute_param_add_values)
(e_vcard_attribute_add_param_with_value)
(e_vcard_attribute_add_param_with_values)
(e_vcard_attribute_param_remove_values)
(e_vcard_get_attributes)
(e_vcard_attribute_get_group)
(e_vcard_attribute_get_name)
(e_vcard_attribute_get_values)
(e_vcard_attribute_get_values_decoded)
(e_vcard_attribute_is_single_valued)
(e_vcard_attribute_get_value)
(e_vcard_attribute_get_value_decoded)
(e_vcard_attribute_has_type)
(e_vcard_attribute_param_get_name)
(e_vcard_attribute_param_get_values)
(_evc_base64_encode_simple)
(_evc_base64_decode_simple): Insert preconditions.
2004-04-16 Chris Toshok <toshok@ximian.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_start_book_view): remove the race prevention
stuff from here, since we set up everything before returning and
we know that stop_book_view won't be called before we return.
(e_book_backend_ldap_stop_book_view): same.
* backends/file/e-book-backend-file.c (FileBackendSearchClosure):
add slots for a GCond and GThread, as well as for our backend
here.
(closure_destroy): destroy the cvar.
(init_closure): init the cvar, thread, and backend slots.
(book_view_thread): new function - this contains the majority of
the code in the old ::start_book_view, except it lacks any of the
race prevention code, which it no longer needs. We use the cvar
to keep the ::start_book_view thread waiting until the view is
actually set up and is about to enter the loop, so we know that
the search closure has been initialized.
(e_book_backend_file_start_book_view): start up the
book_view_thread with the closure's mutex locked so it'll pause
until we wait on the condition variable. by the time we return
from this method we know the book view thread has started and is
at the point where the loop starts.
(e_book_backend_file_stop_book_view): set the stopped closure
field to TRUE and join on the thread. remove all the race
prevention code from here too. yay.
* libedata-book/e-data-book-view.c (e_data_book_view_new): switch
from PER_REQUEST to PER_OBJECT. This means that all requests are
serialized per object, but come in on a thread specific to this
object.
(e_data_book_view_dispose): destroy the id's hash table.
* libebook/e-book-view.c (e_book_view_start): start our
EBookViewListener.
(e_book_view_stop): stop the listener.
* libebook/e-book-view-listener.h: add prototypes for
e_book_view_listener_start and _stop.
* libebook/e-book-view-listener.c
(impl_BookViewListener_notify_contacts_added): add the thread id
to the spew.
(impl_BookViewListener_notify_contacts_removed): same.
(impl_BookViewListener_notify_contacts_changed): same.
(impl_BookViewListener_notify_sequence_complete): same.
(impl_BookViewListener_notify_progress): same.
(e_book_view_listener_init): we start off in a stopped state.
(e_book_view_listener_start): new function - set stopped to FALSE.
The next message queued will create the idle handler.
(e_book_view_listener_stop): remove the idle handler and set
stopped to TRUE - this will cause all _queue_message calls to drop
the messages.
* libebook/e-contact.c (struct _EContactPrivate): add "int
padding", just so that g_new (EContactPrivate, 1) doesn't return
NULL.
(e_contact_dispose): similar change to e-vcard's dispose method.
don't return early if ->priv == NULL, as we need to chain up to
the parent's dispoes method. this and/or the struct
_EContactPrivate change plug a memory leak as well that was
causing the EVCardPrivate to go unfreed.
* libebook/e-vcard.c (e_vcard_dispose): don't return if evc->priv
is NULL - we still need to chain up the parent's dispose method.
2004-04-15 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(set_categories_in_gw_item): store only that part of id which is before '@'
symbol
2004-04-14 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (e_contact_set_property): remove the
MULTI_ELEM attribute if the string is NULL or empty. This keeps
us from writing out empty EMAIL attributes.
2004-04-14 Chris Toshok <toshok@ximian.com>
[ fixes part of bug #55776 ]
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_remove): new method, we need this or else
e-d-s exits when you try to remove an LDAP addressbook.
(e_book_backend_ldap_class_init): hook up
EBookBackendClass::remove.
2004-04-14 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_remove_contact): fix deadlock when
calling this function - there's no reason to lock the book's mutex
here, as all we do is build a list and call
e_book_remove_contacts, which does the locking. Fixes
gnomemeeting's e-d-s problem.
2004-04-14 Chris Toshok <toshok@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_remove): fix c&p error, unlink filename and
summary_filename, not filename twice.
2004-04-10 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_load_source) : retrieve the book name form uri instead
of e-source
(set_members_in_gw_item) : new function to set the ids of contact-list members into
e-gw-item
2004-04-07 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.h: reorder the EVC_X #defines a bit, and add in
all he EVC_X_DEST_* #defines (for use with the new EDestination
stuff.)
2044-04-07 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c (func_is) :
Correct a small type in field name FullName -> fullName
2004-04-06 Chris Toshok <toshok@ximian.com>
* backends/ldap/e-book-backend-ldap.c (struct
_EBookBackendLDAPPrivate): add a mutex around our it_to_op
GHashTable.
(struct _EBookBackendLDAPCursorPrivate): nuke.
(view_destroy): lock around access to id_to_op.
(add_to_supported_fields): plug leak (don't strdup the arg to
g_hash_table_lookup.)
(query_ldap_root_dse): fix c&p bugs with
supported_fields/supported_auth_methods.
(e_book_backend_ldap_connect): add a check for
LDAP_PARTIAL_RESULTS (which is apparently what certain versions of
GWIA's ldap returns when we try a root dse query.) Also, try a v2
bind if the v3 bind fails.
(ldap_op_add): lock access to id_to_op hash.
(ldap_op_finished): same.
(create_contact_handler): add more debug spew (additional ldap
error info.)
(remove_contact_handler): same.
(modify_contact_modify_handler): same.
(modify_contact_search_handler): same.
(get_contact_handler): same.
(contact_list_handler): same.
(poll_ldap): lock around id_to_op.
(ldap_search_handler): add more spew, and just use view instead of
search_op->view.
(ldap_search_dtor): lock the book view's mutex here, and clear the
::search_op g_object_data.
(e_book_backend_ldap_search): set the book view's ::search_op.
(e_book_backend_ldap_start_book_view): add race detection with
::stop here.
(e_book_backend_ldap_stop_book_view): same.
(e_book_backend_ldap_load_source): make the default for
unrecognized ssl type "NO" instead of "WHENEVER".
(e_book_backend_ldap_dispose): lock access to id_to_op while we
destroy it, and free our mutex. also free up some additional
private data we were leaking before (the ->ldap_host,
->ldap_rootdn).
(e_book_backend_ldap_init): init the mutex.
2004-04-06 Chris Toshok <toshok@ximian.com>
* backends/file/e-book-backend-file.c (create_contact): new
function, for use when creating a contact from the db. all the
libedata-book machinery depends on the contact having a UID, so if
it doesn't have one (i.e. it's been corrupted), set it to be the
uid we pass in (the db key).
(build_summary): use create_contact
(e_book_backend_file_start_book_view): same.
(e_book_backend_file_get_changes): same.
(e_book_backend_file_upgrade_db): same.
(e_book_backend_file_load_source): add lots more g_warning spew in
the event the load fails.
2004-04-05 Sivaiah Nallagatla <snallagatla@novell.com>
* e-book-backend-groupwise.c : added code to build groupwise filter from
the query passed to get_contact_list and start_book_view functions
modified e_book_backend_groupwise_start_book_view and
e_book_backend_groupwise_get_contact_list to make use of filter
Also included gnome-i8n.h
2004-04-02 Dan Winship <danw@ximian.com>
* libedata-book/e-book-backend-sync.c
(_e_book_backend_create_contact,
_e_book_backend_remove_contacts,
_e_book_backend_modify_contact,
_e_book_backend_get_contact,
_e_book_backend_get_supported_fields,
_e_book_backend_get_supported_auth_methods): Don't try to free the
returned data if the method didn't actually return anything
2004-04-02 JP Rosevear <jpr@ximian.com>
* backends/groupwise/Makefile.am: fix includes for builddir != srcdir
2004-03-31 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (e_contact_get_first_attr): ignore the
attribute's group.
(e_contact_set_property): same.
(e_contact_find_attribute_with_types): same.
(e_contact_get_property): same.
(e_contact_get_attributes): same.
* libebook/e-vcard.c (e_vcard_to_string_vcard_30): ignore the
attribute's group when looking for VERSION attributes.
2004-03-30 Chris Toshok <toshok@ximian.com>
[ backend portion of fix for #51977 ]
* libedata-book/e-book-backend-sexp.c (prop_info_table): category
-> category_list.
* libebook/e-contact.c (e_contact_get_property): LIST fields (of
which there is one, "category_list"), need to duplicate both the
list and the list elements before returning from ::get_property.
2004-03-30 Chris Toshok <toshok@ximian.com>
[ backend portion of fix for #54528 ]
* libebook/e-vcard.c (read_attribute_params): deal with vcards
that specify the encoding as "BASE64", even though this isn't the
proper encoding type for vcard 3.0 cards (that's 'b').
2004-03-30 Chris Toshok <toshok@ximian.com>
[ backend portion of fix for #48665 ]
* libedata-book/e-data-book.c
(impl_GNOME_Evolution_Addressbook_Book_getBookView): pass
max_results to e_data_book_view_new.
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_search): pass the book view's @max_results as
the ldap search limit.
* libedata-book/e-data-book-view.c (e_data_book_view_new): add
@max_results and pass it to ::construct.
(e_data_book_view_construct): add @max_results.
(e_data_book_view_get_max_results): new function.
* libedata-book/e-data-book-view.h: add max_results arg to ::new,
and add prototype for e_data_book_view_get_max_results.
2004-03-30 Chris Toshok <toshok@ximian.com>
[ looks like this fixes #55527 ]
* libedata-book/e-data-book-view.c (e_data_book_view_construct):
use bonobo_object_dup_ref instead of CORBA_Object_duplicate here.
2004-03-28 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c : added new functions
set_categories_in_gw_item and set_categories_changes to store contact
categories in gw contacts
2004-03-19 Chris Toshok <toshok@ximian.com>
* libebook/e-book-view-listener.c (main_thread_get_response):
don't unref the listener in the loop.
(e_book_view_listener_queue_response): don't ref the listener for
every request.
(e_book_view_listener_dispose): add some debug spew.
2004-03-18 Chris Toshok <toshok@ximian.com>
* tests/ebook/Makefile.am (noinst_PROGRAMS): add test-stress-bookviews.
* tests/ebook/test-stress-bookviews.c: create and dispose of a ton of
EBookViews very quickly. designed to flush out races/problems in
the way we use bonobo/orbit (and at the time of its writing it
does show a problem).
2004-03-17 Chris Toshok <toshok@ximian.com>
* backends/vcf/e-book-backend-vcf.c (closure_destroy): new
function, mostly lifted from EBookBackendFile.
(init_closure): same.
(get_closure): same.
(e_book_backend_vcf_start_book_view): mostly copy the file
backend's start/stop race fixing code.
(e_book_backend_vcf_stop_book_view): same.
(e_book_backend_vcf_load_source): create the directory before
trying to open the database if !only_if_exists.
2004-03-15 Chris Toshok <toshok@ximian.com>
* libedata-book/e-data-book.c (e_data_book_respond_create): only
look up the contact's UID if status == Success. otherwise, send
"".
2004-03-15 Rodney Dawes <dobey@ximian.com>
* libebook/libebook-1.0.pc.in:
* libedata-book/libedata-book-1.0.pc.in: Add @LIBBONOBO_REQUIRED@ for
the libbonobo dependency
2004-03-14 Harish K <kharish@novell.com>
* backends/groupwise/e-book-backend-groupwise.c :
Update calls to e_gw_connection_get_items with the new prototype.
2004-03-12 Chris Toshok <toshok@ximian.com>
* libedata-book/e-data-book-view.h: add prototype for
e_data_book_view_get_mutex.
* libedata-book/e-data-book-view.c (e_data_book_view_get_mutex):
new function, return the book view's mutex.
(e_data_book_view_dispose): free priv->mutex.
(e_data_book_view_init): init priv->mutex.
* backends/file/e-book-backend-file.c (closure_destroy):
GDestroyNotify to clear up the search closure.
(init_closure): initialize the object data we use to store search
information (just a "stopped" flag at the moment)
(get_closure): return the object data.
(e_book_backend_file_start_book_view): add code to deal with the
race between start and stop, locking the book_view's mutex around
the initial get/set of the closure. also, switch from using
g_object_ref to bonobo_object_ref on the book_view, and don't do
any freeing of the search closure here. it's handled
automatically for us by virtue of the GDestroyNotify.
(e_book_backend_file_stop_book_view): flesh this out to fix the
race between start/stop.
2004-03-12 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (e_contact_set_property): in the CATEGORIES
case when we're adding a new attribute to the vcard, make sure to
call e_vcard_add_attribute after creating it. also, use
EVC_CATEGORIES instead of hardcoding the string.
(e_contact_get_property): use EVC_CATEGORIES.
2004-03-12 Chris Toshok <toshok@ximian.com>
* tests/ebook/test-categories.c (main): test setting CATEGORIES as
well as CATEGORY_LIST.
2004-03-09 Sivaioah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.[ch] : added
code to compare two e-gw-items and get the changes
nd did some code formatting
2004-03-02 Chris Toshok <toshok@ximian.com>
* libebook/e-book-query.h (EBookQueryTest): comment out the
unsupported query types.
2004-02-26 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.h: add
E_CONTACT_IM_GROUPWISE_{HOME,WORK}_{1,2,3}.
* libebook/e-contact.c: add attributes
E_CONTACT_IM_GROUPWISE_{HOME,WORK}_{1,2,3}.
2004-02-25 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (e_vcard_attribute_is_single_valued):
predicate returning TRUE if there's only one value for the
attribute.
(e_vcard_attribute_get_value): return the first value in the list,
if there is one. also, warn if called on a multi-valued
attribute.
(e_vcard_attribute_get_value_decoded): same, but return a GString.
(e_vcard_attribute_has_type): predicate to check for TYPE=@typestr
in the parameter list for an attribute.
* libebook/e-vcard.h: add prototypes for
e_vcard_attribute_is_single_valued and
e_vcard_attribute_get_value{_decoded}. Also, add
e_vcard_attribute_has_type.
* libebook/e-contact.h: add prototypes for
e_contact_{get,set}_attributes, and e_contact_vcard_attribute.
* libebook/e-contact.c (e_contact_vcard_attribute): new function,
return the vcard attribute for a given EContactField id.
(e_contact_get_attributes): get a GList* of EVCardAttributes for
the given EContactField. This allows you to get at the parameters
to the attribute, which you can't get with e_contact_get.
(e_contact_set_attributes): an analogous setter for
e_contact_get_attributes.
2004-02-25 Sivaiah Nallagatla <snallagatla@novell.com>
* libebook/e-vcard.h : added EVC_X_GROUPWISE definition
* libebook/e-contact.[ch] : added E_CONTACT_IM_GROUPWISE field to EContact
to store groupwise im ids
2004-02-24 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-book-async.c (_default_book_response_dtor): Don't
unref the *new* book after returning it to user. This was causing
hard to trace crashes.
* libebook/e-book.c (e_book_get_default_addressbook): Correctly
assert the pointer-to-pointer, not the pointed-to pointer.
2004-02-23 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (parse): wrap spew in "#define d(x)".
(e_vcard_attribute_add_value_decoded): same.
(_evc_base64_encode_close): same.
(_evc_base64_encode_step): same.
* libebook/e-contact.c (e_contact_set_property): wrap spew in
"#define d(x)".
(e_contact_set): same.
(e_contact_get_email_list): nuke dead function.
* libebook/e-book.c (e_book_add_contact): wrap spew in "#define
d(x)" and reindent.
(e_book_response_add_contact): same.
(e_book_response_get_contact): same.
(e_book_response_get_book_view): same.
(e_book_response_get_contacts): reindent.
(e_book_response_get_changes): same.
(e_book_response_generic): same.
(e_book_response_open): same.
(e_book_response_remove): same.
* libebook/e-book-view-listener.c
(impl_BookViewListener_notify_contacts_added): wrap spew in
"#define d(x)".
(impl_BookViewListener_notify_contacts_removed): same.
(impl_BookViewListener_notify_contacts_changed): same.
(impl_BookViewListener_notify_sequence_complete): same.
(impl_BookViewListener_notify_progress): same.
* libebook/e-book-listener.c (impl_BookListener_respond_get_view):
wrap spew in "#define d(x)".
2004-02-23 JP Rosevear <jpr@ximian.com>
* tests/vcard/Makefile.am: add extra includes for srcdir !=
builddir
* tests/ebook/Makefile.am: ditto
* libedata-book/Makefile.am: ditto
* libebook/Makefile.am: ditto
* backends/vcf/Makefile.am: ditto
* backends/ldap/Makefile.am: ditto
* backends/file/Makefile.am: ditto
2004-02-23 Chris Toshok <toshok@ximian.com>
* tests/ebook/test-search.c: add a utility so we can perform
searches against addressbooks without having to bring up a gui.
* tests/ebook/Makefile.am (test_search_LDADD): add.
(noinst_PROGRAMS): add test-search
2004-02-20 Chris Toshok <toshok@ximian.com>
[ fixes bug #53994 ]
* libebook/e-book-query.c (e_book_query_get_type): new function,
supply e_book_query_copy as the CopyFunc, and e_book_query_unref
as the FreeFunc.
(e_book_query_copy): new function, just convert @q to a string and
reparse it, ala the EVCard copy function.
* libebook/e-book-query.h: add prototypes for
e_book_query_get_type and e_book_query_copy. also add
E_TYPE_BOOK_QUERY.
* libebook/e-contact.h: add
E_TYPE_CONTACT_{DATE,NAME,PHOTO,CERT,ADDRESS}.
2004-02-20 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/create-account.c : new file to create an acoount
2004-02-20 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/Makefile.am : added groupwise to SUBDIRs
* backends/groupwise/Makefile.am
* backends/groupwise/e-book-backend-groupwise.[ch] : new
groupwise address book backend class
2004-02-12 Chris Toshok <toshok@ximian.com>
* libebook/e-book-listener.c
(impl_BookListener_respond_get_contact_list): unref the contacts
and free the response.list.
* libebook/e-book.c (e_book_response_get_contacts): copy the GList
and ref the contacts in it.
2004-02-12 Chris Toshok <toshok@ximian.com>
* libebook/e-book-listener.c (e_book_listener_new): use
ORBIT_THREAD_HINT_ON_CONTEXT, and specify _ebook_context.
* libebook/e-book.c (e_book_activate): init _ebook_context.
(startup_mainloop): fun the mainloop on _ebook_context.
2004-02-11 Chris Toshok <toshok@ximian.com>
* libebook/e-book-listener.c (e_book_listener_new): fix typo.
2004-02-11 Chris Toshok <toshok@ximian.com>
* libedata-book/e-data-book.c (view_listener_died_cb): nuke, moved
to e-data-book-view.c.
(impl_GNOME_Evolution_Addressbook_Book_getBookView): remove the
call to ORBit_small_listen_for_broken. That's handled in
e-data-book-view.c too, and don't g_object_unref the view (it's a
BonoboObject anyway, and we can't unref it after the oneway corba
call like we could before when it wasn't oneway.)
(view_destroy): just call e_book_backend_remove_book_view.
* libedata-book/e-data-book-view.c (view_listener_died_cb): move
this here from e-data-book.c.
(e_data_book_view_construct): call ORBit_small_listen_for_broken
here.
(impl_GNOME_Evolution_Addressbook_BookView_dispose): call
ORBit_small_unlisten_for_broken, and unref the view.
(e_data_book_view_get_card_query): add arg check.
(e_data_book_view_get_backend): same.
(e_data_book_view_get_listener): same.
(e_data_book_view_class_init): fill in epv->dispose.
* libedata-book/e-book-backend.c (e_book_backend_get_book_views):
FALSE => NULL.
(e_book_backend_add_book_view): add a arg check.
(e_book_backend_remove_book_view): same.
(e_book_backend_init): don't use ref/unref for the EList
functions, since we use a weakref to manage the contents of the
list elsewhere.
* libebook/e-book-listener.c (impl_BookListener_respond_get_view):
release_unref after the signal. the callee must ref to keep the
book_view alive.
* libebook/e-book-view.c (e_book_view_do_added_event): don't free
up the response stuff here, it's handled in the listener code now.
(e_book_view_do_modified_event): same.
(e_book_view_do_removed_event): same.
(e_book_view_do_status_message_event): same.
(e_book_view_handle_response): add a comment about a useless (imo)
check. also, don't g_free (resp).
(e_book_view_construct):
(e_book_view_dispose): call BookView::dispose before we
release_unref it.
* libebook/e-book-view-listener.c (free_response): new method.
free up an EBookViewListenerResponse*.
(main_thread_get_response): call free_response on the response
after emitting the signal.
(e_book_view_listener_queue_response): just call free_response
here instead of duplicating its code.
* libebook/e-book.c (e_book_response_get_book_view): we don't want
to ref the listener here. *unref* it.
(e_book_get_addressbooks): check addressbook_sources, not
*addressbook_sources, in the precondition.
* idl/Evolution-DataServer-Addressbook.idl (BookView): add dispose
call.
2004-02-09 Michael Meeks <michael@ximian.com>
* libedata-book/e-data-book.c (view_destroy): tolerate NULL
book views.
2004-02-08 Chris Toshok <toshok@ximian.com>
* tests/ebook/Makefile.am (noinst_PROGRAMS): build
test-ebook-async
* tests/ebook/test-ebook-async.c: async version of test-ebook.c
* tests/ebook/test-ebook.c (main): remove the call to
bonobo_main_quit here - we don't need it.
2004-02-08 Chris Toshok <toshok@ximian.com>
* libebook/e-book-async.c (main_thread_get_response): lock the
idle mutex around this function, reset it to -1, and return FALSE.
(push_response): abstract out all the g_async_queue_push stuff
from the various handlers. do proper locking, and register the
main thread idle handler if we need to.
(e_book_async_load_local_addressbook): new function. async
version of e_book_load_local_addressbok.
(*_handler): use push_response instead of g_async_queue_push.
(init_async): remove the timeout stuff. we register idle handlers
when we need to. no more polling the async queue.
* libebook/e-book-async.h: add prototype for
e_book_async_load_local_addressbook.
* libebook/e-book-view-listener.c (main_thread_get_response): new
function to read responses from the CORBA request threads.
(e_book_view_listener_queue_response): don't just emit a signal
here, as that causes the response to be handled on the request
thread, and hoists re-entrancy requirements on calling code.
instead, push the response onto the async queue.
(e_book_view_listener_new): initialize the
queue/idle_mutex/idle_id.
(e_book_view_listener_dispose): dispose of the idle foo/queue.
2004-02-08 Chris Toshok <toshok@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_start_book_view): don't free the
closure/mutex inside the loop, then access it again right after
the loop. Should fix crashes when doing repeated searches (while
stopping them often), like when autocompleting.
2004-02-06 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-address-western.c (e_address_western_extract_region):
Don't allow end index to go below start index when extracting the
region. Also handle the case where there is no whitespace after comma
more gracefully.
2004-02-06 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_activate): if bonobo hasn't been
initialized, do it here. This should be enough to get
evolution-sharp based programs up and running.
(activate_factories_for_uri): include the bonobo exception text in
the console spew.
2004-02-05 Chris Toshok <toshok@ximian.com>
[ along with previous fixes, this fixes #53129 ]
* backends/ldap/e-book-backend-ldap.c (find_book_view): we no
longer use EBookBackendLDAPBookView.
2004-02-05 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (startup_mainloop): switch from using
bonobo_main to using a separate GMainLoop attached to the default
context.
2004-02-04 Chris Toshok <toshok@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_remove_contacts): there's no reason to search
for the card before removing it. the error condition is the same
anyway, and it'll slow us down.
2004-02-04 Chris Toshok <toshok@ximian.com>
[ fixes bug #53130 ]
* libedata-book/e-data-book-view.c (MAKE_REALLOC): this might end
up being a bad assumption, but since it's only used for string
sequences, assume it always will be. We need to make a deep copy
of the sequence. a memcpy isn't enough, as freeing the buffer
causes the child strings to be freed.
2004-02-04 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_op_free): remove the misleading "XXX
more here" comment from here - there's nothing else to free here.
2004-02-04 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_load_source): lock the book's mutex
before checking load_state. Also, set the load_state to
E_BOOK_URI_LOADING before we relinquish the lock. It will be
reset to URI_NOT_LOADED in fetch_corba_book if there's a problem.
(e_book_load_uri): remove the e_return_error_if_fail about
load_state. It'll be handled by e_book_load_source.
(fetch_corba_book): reset load_state to E_BOOK_URI_NOT_LOADED in
all the cases where we return FALSE.
* libebook/e-contact.c (e_contact_set_property): for GETSET
properties that aren't STRUCT's, it's a string, not a pointer.
(e_contact_get_property): same.
2004-02-04 Michael Meeks <michael@ximian.com>
* libebook/e-book-async.c (_get_book_view_handler):
g_new0 so we don't have a bogus uninitialized pointer
to segv on in _get_book_view_response_dtor.
2004-02-03 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (e_vcard_to_string_vcard_30): use "VCARD"
instead of "vCard" because gnome-vfs is busted and doesn't use a
case insensitive string check.
2004-02-02 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (GETSET_FIELD): these are also of type
STRING. if you want a GETSET field that's a struct, use
STRUCT_FIELD. Fixes a problem with FULL_NAME reflection for
evolution-sharp.
2004-02-02 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (e_vcard_attribute_remove_params): clear
attr->encoding_set and attr->encoding, since that is just cached
information from the attribute parameters. Fixes a spurious
g_warning.
2004-02-02 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (e_vcard_attribute_remove_values): make sure
to set attr->decoded_values to NULL as well. fixes oddness when
overwriting the PHOTO attribute.
2004-02-02 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-contact.c (photo_getter): Return NULL if image length is
zero.
(photo_setter): Warn and don't set photo if image length is zero.
2004-02-02 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-contact.c (photo_setter): Handle NULL.
(fn_setter): Handle NULL.
(n_setter): Handle NULL.
(adr_setter): Handle NULL.
(date_getter): Return NULL if attr present, but no value.
(date_setter): Handle NULL.
(cert_setter): Handle NULL.
(e_contact_set_property): Don't pass NULL data to setters, remove the
attribute (if present) instead.
2004-02-02 Michael Meeks <michael@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_stop_book_view): unlock after
taking a lock.
2004-01-30 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-book-async.c (e_book_async_load_source)
(e_book_async_load_uri)
(e_book_async_get_default_addressbook)
(e_book_async_get_supported_fields)
(e_book_async_get_supported_auth_methods)
(e_book_async_authenticate_user)
(e_book_async_get_contact)
(e_book_async_remove_contact)
(e_book_async_remove_contact_by_id)
(e_book_async_remove_contacts)
(e_book_async_add_contact)
(e_book_async_commit_contact)
(e_book_async_get_book_view)
(e_book_async_get_contacts): Add argument preconditions.
* libebook/e-contact.c (e_contact_new_from_vcard)
(e_contact_duplicate)
(e_contact_name_from_string)
(e_contact_name_copy)
(e_contact_date_from_string): Add argument preconditions.
2004-01-30 Chris Toshok <toshok@ximian.com>
* libedata-book/e-book-backend.c (e_book_backend_remove_client):
add ref/unref around this function body so that we don't get
unreffed by something below last_client_gone.
2004-01-29 Chris Toshok <toshok@ximian.com>
* libedata-book/ximian-vcard.h (XIMIAN_VCARD): update for new
office location, and change the FILE-AS/ORG fields to say Novell
Ximian Group.
2004-01-30 Radek Doulik <rodo@ximian.com>
* backends/ldap/e-book-backend-ldap.c (contact_list_dtor): don't
g_object_unref contact list, it contains strings which are freed
in e_data_book_respond_get_contact_list, the list is freed there
as well
(category_compare): make sure categories != NULL before calling
strcmp
(build_mods_from_contacts): make sure we don't introduce new empty
fields
(build_mods_from_contacts): make sure the ber_func and
compare_func are non NULL before calling them
2004-01-29 Chris Toshok <toshok@m198-139.dsl.rawbw.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_load_source): honor the @only_if_exists arg
before creating the db or directory. i.e. fix this so it's not
completely broken.
2004-01-28 Radek Doulik <rodo@ximian.com>
* libebook/e-contact.c (e_contact_set_property): use "CATEGORIES"
instead of null vcard_field_name
(e_contact_set_property): check for NULL string value, test for
single category
2004-01-27 Chris Toshok <toshok@ximian.com>
* libebook/e-book-async.h: nuke the prototype for
e_book_async_unload_uri.
* libebook/e-book-async.c (e_book_async_unload_uri): nuke.
2004-01-27 Chris Toshok <toshok@ximian.com>
* libebook/e-book.h: remove the prototype for e_book_unload_uri.
If you want to unload the uri, unref the book and create a new
one.
* libebook/e-book.c (e_book_cancel): add some preconditions.
(e_book_load_local_addressbook): same.
(e_book_get_source): same.
(e_book_get_static_capabilities): same. also, set the GError
instead of generating a g_warning. This should probably return
NULL in the error cases instead of g_strdup(""), but i'm not sure
if that'll break things.
(e_book_check_static_capability): add some preconditions.
(e_book_is_writable): same.
(e_book_set_self): same.
(e_book_is_self): same.
(e_book_set_default_addressbook): same.
(e_book_set_default_source): same.
(e_book_get_addressbooks): same.
(e_book_unload_uri): make this static.
* libebook/e-book-types.h (EBookStatus): add
E_BOOK_ERROR_NO_SUCH_SOURCE.
2004-01-27 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_load_local_addressbook): change the
local addressbook path to .evolution/addressbook/local/system, and
pass FALSE for @only_if_exists, so it'll always be created if it's
not there already.
2004-01-27 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-book.c (e_book_unload_uri): If the load_state is
E_BOOK_URI_LOADING, don't try to kill the book, just cancel the op
and let fetch_corba_book() take care of it.
(fetch_corba_book): Handle cancellation properly.
2004-01-26 Chris Toshok <toshok@ximian.com>
* tests/ebook/Makefile.am (noinst_PROGRAMS): add
test-untyped-phones.
(test_untyped_phones_LDADD): new variable.
* tests/ebook/test-untyped-phones.c: new test for 40013.
2004-01-26 Chris Toshok <toshok@ximian.com>
[ fixes bug #53228 ]
* tests/ebook/test-categories.c: new test.
* tests/ebook/Makefile.am (noinst_PROGRAMS): add test-categories.
* libebook/e-vcard.c (e_vcard_to_string_vcard_30): this is really
gross. We don't escape the ,'s if we're generating the value for
a CATEGORIES attribute. I can't believe the RFC specifies commas
for use as a toplevel list separator for CATEGORIES. That's what
;'s are for.
(read_attribute_value): split the CATEGORIES attribute up like a
normal list would be, only use ','s for it.
* libebook/e-contact.c (e_contact_set_property): implement the
setter portion of CATEGORIES support.
(e_contact_get_property): implement the CATEGORIES getter.
2004-01-26 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_get_default_addressbook): implement
this the right way by searching for the "default" property over
all sources, and returning that source, or the local addressbook
if there isn't a default source.
(e_book_set_default_addressbook): new function.
(e_book_set_default_source): new function.
* libebook/e-book.h: add prototypes for
e_book_set_default_addressbook/e_book_set_default_source.
2004-01-23 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (e_vcard_unescape_string): make public.
(e_vcard_escape_string): same.
(e_vcard_to_string_vcard_30): use the public escape_string
function.
(e_vcard_dump_structure): same.
* libebook/e-vcard.h (e_vcard_unescape_string): expose this
(e_vcard_escape_string): and this.
* libebook/e-contact.h: rearrange the enum again, to keep
strings/structs separate.
* libebook/e-book.c (e_book_get_default_addressbook): might as
well switch this to the new folder layout.
(e_book_load_local_addressbook): same.
* libebook/e-contact.c (e_contact_find_attribute_with_types): only
find the attribute that matches the types explicitly. this is the
only way to implement "other phone/fax" currently.
(e_contact_set_property): same.
2004-01-21 Nat Friedman <nat@novell.com>
* libedata-book/e-book-backend-sexp.c (compare_im): New function
to allow searching of IM fields.
* libedata-book/e-book-backend-sexp.c (compare_im_aim): Likewise.
* libedata-book/e-book-backend-sexp.c (compare_im_msn): Likewise.
* libedata-book/e-book-backend-sexp.c (compare_im_icq): Likewise.
* libedata-book/e-book-backend-sexp.c (compare_im_yahoo):
Likewise.
* libedata-book/e-book-backend-sexp.c (compare_im_jabber):
Likewise.
* libedata-book/e-book-backend-sexp.c (prop_info_table): Added
entries for IM field searching.
2004-01-20 Hans Petter Jansson <hpj@ximian.com>
* libedata-book/e-data-book-view.c (e_data_book_view_new): Pass a
threaded POA policy to g_object_new (). Fixes deadlocks.
2004-01-16 JP Rosevear <jpr@ximian.com>
* libebook/e-book.c (e_book_idle_writable): idle handler to emit
the writable signal on the main thread
(e_book_handle_response): use above
2003-01-11 Christian Hammond <chipx86@gnupdate.org>
* addressbook/libebook/e-contact.[ch]: Changed the IM account field
types from LIST_FIELD to MULTI_LIST_FIELD, as discussed with Chris
Toshok. Added convenience fields for WORK and HOME entries for each
IM account list. Add support for setting LIST_FIELD types.
2004-01-09 Jeffrey Stedfast <fejj@ximian.com>
* tests/ebook/test-date.c (main): Don't let control reach the end
of a non-void function
* backends/ldap/e-book-backend-ldap.c (find_book_view): Don't let
control reach the end of a non-void function
* libebook/e-contact.c (cert_getter): Don't let control reach the
end of a non-void function
* tests/ebook/test-string.c: Same as below.
* tests/ebook/test-photo.c: #include <string.h> for strlen and
memcmp.
(main): Don't let control reach the end of a non-void function
2004-01-09 Ross Burton <ross@burtonini.com>
* libebook/e-book-async.h:
* libebook/e-book-async.c:
Change the API of e_book_async_get_book_view and
e_book_async_get_contacts to match e-book.h.
2004-01-08 Ross Burton <ross@burtonini.com>
* libebook/e-contact.c:
* libebook/e-contact.h:
Add a video conferencing URL field.
2004-01-07 JP Rosevear <jpr@ximian.com>
* libedata-book/Makefile.am: remove DISABLE_DEPRECATED flags
* libebook/Makefile.am: ditto
2004-01-06 Chris Toshok <toshok@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_load_source): use e_util_mkdir_hier here
instead of mkdir.
(do_create): add the db_error to the spew.
(e_book_backend_file_load_source): don't use mkdir here, use
e_util_mkdir_hier.
2004-01-05 Christian Neumair <chris@gnome-de.org>
* libebook/e-book.c: Generalize some strings.
2003-12-29 Chris Toshok <toshok@ximian.com>
* tests/ebook/test-undefinedfield.c: new test - make sure we
return NULL for undefined/unimplemented fields.
* tests/ebook/Makefile.am (noinst_PROGRAMS): add
test-undefinedfield.
2003-12-29 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (e_contact_get_property): reset the GValue
if there's a problem getting it (will force it to NULL).
2003-12-29 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (e_contact_get): initialize value to NULL
so that if the field is unknown (meaning we haven't gotten around
to implementing it yet, like the category list stuff), we don't
return an invalid pointer.
2003-12-19 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.h: add lots more #defines, some EVC_X ones for
attribute TYPE's, as well as the vcard specified "KEY" attribute.
* libedata-book/e-book-backend.c (e_book_backend_remove_client):
reorder some code so we hold the lock up until we're done with
backend->priv->clients.
* backends/ldap/e-book-backend-ldap.c (prop_info): add an entry
for E_CONTACT_X509_CERT, and map it to the userCertificate ldap
attribute. not sure if this is strictly correct... the
inetOrgPerson schema mentions using userSMIMECertificate (which
contains the full certificate chain in pkcs#7 form) in favor of
userCertificate for S/MIME applications.
* libebook/e-contact.h: add the CERT field types, the EContactCert
struct type, and prototypes for e_contact_cert_get_type and
e_contact_cert_free.
* libebook/e-contact.c (field_info): add E_CONTACT_X509_CERT
(cert_getter, cert_setter): new functions, implement
getting/setting of certs.
(e_contact_cert_free): new function.
(e_contact_cert_copy): same.
(e_contact_cert_get_type): same.
2003-12-17 Chris Toshok <toshok@ximian.com>
* libebook/e-book-async.c (_get_book_view_response_dtor): if
there's a crash in the wombat and we're left with an invalid
EBook, resp->book_view will be NULL here. don't unref it.
2003-12-16 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-book.c (fetch_corba_book): Ref and keep the loaded
ESource around. Unref old source if present.
(e_book_get_source): Implement.
(e_book_init): Init source pointer.
(e_book_dispose): Unref source, if any.
2003-12-15 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-contact.c (adr_getter): Initialize the address_format
field. Absence of this was causing crashes.
(e_contact_set_property): For synthetic attr_type fields, add a
case for struct/get_set alongside strings. This makes addresses work.
(e_contact_get_property): For multi_elem strings, count the matching
attributes instead of trying to get a list from the first attribute
encountered (which is what list_elem does). This makes e-mail
addresses work.
2003-12-10 Hans Petter Jansson <hpj@ximian.com>
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_load_source): Get attributes from source, not URI.
2003-12-09 Chris Toshok <toshok@ximian.com>
* backends/file/e-book-backend-file.c (select_changes): change to
return gboolean and take the filename, not the struct dirent *.
(e_book_backend_file_remove): switch from using scandir to
g_dir_*.
2003-12-07 JP Rosevear <jpr@ximian.com>
* libedata-book/e-data-book-factory.c: version the OAFIID
* libebook/e-book.c (activate_factories_for_uri): update repo id
2003-12-07 JP Rosevear <jpr@ximian.com>
* libebook/e-book.c (activate_factories_for_uri): use the
versioned repo id
2003-12-05 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (e_contact_get_const): make this only work
for strings, since really that's all it works for now.
2003-12-05 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-contact.c (e_contact_get_property): Return boxed type
for struct.
(e_contact_name_from_string): Never pass NULL to
e_name_western_parse ().
2003-12-04 Chris Toshok <toshok@ximian.com>
* tests/ebook/test-ebook.c (print_email): print out the
NAME_OR_ORG of the contact too.
* libebook/e-contact.h (EContactField): add NAME_OR_ORG.
* libebook/e-contact.c (field_info): add NAME_OR_ORG.
(e_contact_get_property): handle NAME_OR_ORG.
2003-12-01 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-book.c (e_book_unload_uri): When clearing the cached
capabilities, also clear the cap_queried flag.
2003-12-01 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-book.c (fetch_corba_book): If the book failed to load,
set load_state to E_BOOK_URI_NOT_LOADED, so _unload () won't crash.
2003-12-01 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-book-async.c (_load_uri_response_handler)
(_load_uri_response_dtor)
(_load_uri_handler)
(_load_uri_dtor)
(_default_book_response_handler)
(_default_book_response_dtor): Pass source instead of URI, and
s/uri/source/.
(e_book_async_load_source): Implement.
(e_book_async_load_uri): Create a source and pass that to worker.
2003-11-28 Chris Toshok <toshok@ximian.com>
* tests/ebook/Makefile.am (test_ebook_view_LDADD): new variable.
(noinst_PROGRAMS): add test-ebook-view
* tests/ebook/test-ebook-view.c: new test for ebook view's.
2003-11-26 Hans Petter Jansson <hpj@ximian.com>
* backends/file/e-book-backend-file.c (e_book_backend_file_load_uri):
Rename to e_book_backend_file_load_source () and take an ESource
instead of an URI.
(e_book_backend_file_dispose): Don't free URI anymore.
(e_book_backend_file_class_init): load_uri -> load_source.
(e_book_backend_file_init): Don't init URI anymore.
* backends/ldap/e-book-backend-ldap.c (e_book_backend_ldap_load_uri):
Rename to e_book_backend_ldap_load_uri () and take an ESource instead
of an URI.
(e_book_backend_ldap_dispose): Don't free URI anymore.
(e_book_backend_ldap_class_init): load_uri -> load_source.
* backends/vcf/e-book-backend-vcf.c (e_book_backend_vcf_load_uri):
Rename to e_book_backend_vcf_load_source () and take an ESource
instead of an URI.
(e_book_backend_vcf_dispose): Don't free URI anymore.
(e_book_backend_vcf_class_init): load_uri -> load_source.
(e_book_backend_vcf_init): Don't init URI anymore.
* idl/Evolution-DataServer-Addressbook.idl (getBook): In parameter
"uri" renamed to "source". Takes standalone source XML.
* libebook/e-book.c (fetch_corba_book): Implement, taking ESource.
(e_book_load_source): Implement.
(e_book_load_uri): Create a source based on the URI and use
e_book_load_source () to load that.
* libedata-book/e-book-backend.c (e_book_backend_load_uri): Renamed
to e_book_backend_load_source () and takes ESource instead of URI.
(e_book_backend_get_uri): Renamed to e_book_backend_get_source ()
and returns ESource instead of URI.
(e_book_backend_open): Use e_book_backend_load_source ().
(e_book_backend_init): Don't init URI anymore.
(e_book_backend_dispose): Don't free URI anymore.
* libedata-book/e-data-book-factory.c (backend_last_client_gone_cb):
Get URI from backend's ESource.
(impl_GNOME_Evolution_Addressbook_BookFactory_getBook): Take
standalone source XML, construct an ESource, and fetch a backend
with that.
* libedata-book/e-data-book.c (e_data_book_get_uri): Renamed to
e_data_book_get_source () and return ESource.
(e_data_book_construct): Take ESource instead of URI.
(e_data_book_new): Take ESource instead of URI.
(e_data_book_dispose): Don't free URI. Instead, unref ESource.
2003-11-25 Chris Toshok <toshok@ximian.com>
* tests/ebook/test-self.c: new file/test, print out the current
self contact.
* tests/ebook/test-ebook.c (print_email): fix the email printing.
* libebook/e-vcard.c (parse): if the vcard doesn't begin with a
"begin" attribute, we still want to add the attribute to the
vcard.
* libebook/e-contact.c (field_info): add GETSET_FIELD for fields
that don't have a structured type associated with them (such as
FN) but that need getter/setter methods for some reason. add a
GType getter function to STRUCT_FIELD, and fill in the getter
(e_contact_class_init): use boxed types for STRUCT fields.
(adr_setter): implement.
(e_contact_set_property): use g_value_get_boxed for STRUCT types.
(e_contact_get_property): implement GETSET getter.
(e_contact_name_get_type): implement.
(e_contact_date_copy): same.
(e_contact_date_get_type): same.
(e_contact_date_new): same.
(e_contact_photo_copy): same.
(e_contact_photo_get_type): same.
(e_contact_address_copy): same.
(e_contact_address_get_type): same.
* libebook/e-contact.h: add prototypes for
e_contact_{date,name,photo,address}_get_type.
* libebook/e-book-types.h: add E_BOOK_ERROR_NO_SELF_CONTACT.
* libebook/e-book.c (e_book_get_self): implement.
(e_book_set_self): same.
(e_book_is_self): same.
(e_book_get_default_addressbook): add more to the comment telling
how this *really* should be implemented.
(e_book_get_addressbooks): implement.
* libebook/e-book.h: add prototype for e_book_is_self, change
e_book_set_self to take an EContact instead of just the uid.
Also, unifdef the prototype for e_book_get_addressbooks.
2003-11-23 Chris Toshok <toshok@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_load_uri): remove the db3 version checks, and
add the extra transaction arg to db->open.
* backends/file/Makefile.am (INCLUDES): use the embedded db4.
2003-11-22 Chris Toshok <toshok@ximian.com>
* backends/ldap/e-book-backend-ldap.c (contact_list_handler,
contact_list_dtor, e_book_backend_ldap_get_contact_list):
implement get_contact_list for the ldap backend.
(category_populate): un-ifdef this.
(category_ber): same.
(category_compare): same.
(e_book_backend_ldap_class_init): fill in
EBookBackendClass::get_contact_list.
2003-11-11 Chris Toshok <toshok@ximian.com>
* tests/vcard/dump-vcard.c (main): convert the vcard to a string
and print it out as well. also fix the evcard leak.
* tests/vcard/README: add blurb about 10.vcf.
* tests/vcard/Makefile.am (EXTRA_DIST): add 10.vcf
* tests/vcard/10.vcf: new quotted attribute parameter value test.
* tests/vcard/[1-9].vcf: add these back in.
2003-11-10 JP Rosevear <jpr@ximian.com>
* libebook/e-book-listener.c: remove construct method, it did
nothing and should use construct time args in future if needed
2003-11-10 Dan Winship <danw@ximian.com>
* libebook/e-contact.c (e_contact_date_equal): New utility
function to compare two (possibly NULL) EContactDates
* backends/ldap/e-book-backend-ldap.c (anniversary_compare,
birthday_compare): Use it
* libedata-book/e-book-backend-summary.c
(e_book_backend_summary_check_contact): New utility function to
check if an id is in the summary (without doing any additional
work beyond that).
2003-11-10 Dan Winship <danw@ximian.com>
* libedata-book/e-book-backend.h:
s/E_TYPE_BACKEND/E_TYPE_BOOK_BACKEND/
s/E_IS_BACKEND/E_IS_BOOK_BACKEND/
* libedata-book/e-book-backend-sync.h: Likewise
* backends/file/e-book-backend-file.h: Likewise
* backends/vcf/e-book-backend-vcf.h: Likewise
* backends/ldap/e-book-backend-ldap.h: Likewise
* libedata-book/e-book-backend.c: Update for that. Also simplify
some redundant g_return_if_fail tests and reindent a bunch of
lines that were indented wrong after the pas->e_book renaming.
* libedata-book/e-book-backend-sync.c: Likewise
* backends/file/e-book-backend-file.c: Likewise
* backends/vcf/e-book-backend-vcf.c: Likewise
* backends/ldap/e-book-backend-ldap.c: Likewise
2003-11-08 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (skip_until): implement.
(read_attribute_params): implement quoted parameter values, in our
trademark overly accepting way. it'll accept "hi" as well as
"hi"and"bye" as parameter values (with the values being "hi" and
"hiandbye" respectively).
(e_vcard_to_string_vcard_30): hardcode VERSION:3.0 here, since
we're outputing a version 3.0 card. also, ignore any VERSION
attributes that may be in the vcard we parsed in. lastly, search
parameter values for whitespace before outputting them, and wrap
them in quotes if they have any.
* libebook/e-book-async.c (e_book_async_add_contact): use
e_contact_duplicate here so if the caller modifies the contact
after calling us we use the original copy.
(e_book_async_commit_contact): same.
2003-11-07 Dan Winship <danw@ximian.com>
* libebook/e-address-western.c:
* libebook/e-name-western.c: Move these here.
* libebook/e-contact.c: Update e-name-western include
* libebook/Makefile.am (libebook_la_SOURCES): Add
e-address-western.c and e-name-western.c.
(libebookinclude_HEADERS): and their headers
(libebook_la_LDFLAGS): Remove -no-undefined
* libedata-book/Makefile.am (libedata_book_la_LDFLAGS): Likewise
2003-11-06 Dan Winship <danw@ximian.com>
* backends/ldap/e-book-backend-ldap.c: Remove the word "process"
from method names, which hasn't really made sense since 1.2.
* backends/vcf/e-book-backend-vcf.c: Likewise
2003-11-06 <jpr@ximian.com>
* libebook/Makefile.am: don't add libename
2003-11-06 JP Rosevear <jpr@ximian.com>
* libebook/e-book.c: replace e_mutex stuff with gthread stuff
2003-11-06 JP Rosevear <jpr@ximian.com>
* Makefile.am: build new subdirs
* backends/*: build the file, vcf and ldap backends here
* libedata-cal/Makefile.am: no longer build them here
2003-11-05 JP Rosevear <jpr@ximian.com>
* rename libedatabook to libedata-book
2003-11-05 JP Rosevear <jpr@ximian.com>
* libebook/Makefile.am: use privincludedir
* libedatabook/Makefile.am: ditto
* libedatabook/libedatabook-1.0.pc.in: use privincludedir; remove
gal
* libebook/libebook-1.0.pc.in: ditto
2003-11-05 Rodrigo Moya <rodrigo@ximian.com>
* libedatabook/e-book-backend-sexp.c:
* libedatabook/e-book-backend-summary.c:
* libedatabook/e-book-backend-vcf.c:
* libedatabook/e-book-backend-file.c: removed GAL dependency.
2003-11-04 JP Rosvear <jpr@ximian.com>
* libedatabook/e-data-book-factory.c: use properly name spaced
default id
* libebook/e-book.c: kill unneccesary define
2003-11-04 JP Rosevear <jpr@ximian.com>
* libedatabook/e-data-book-factory.c: remove corbe header include
* libedatabook/e-data-book.h: include corba header correctly
* libedatabook/e-data-book-view.h: ditto
* libedatabook/e-data-book-factory.h: ditto
* libedatabook/e-book-backend.h: ditto
* libedatabook/e-book-backend-sync.h: ditto
* libedatabook/Makefile.am: reflect idl name change
* libebook/e-book-view.c: remove corba header include
* libebook/e-book.c: ditto
* libebook/e-book.h: include corba header correctly
* libebook/e-book-view.h: ditto
* libebook/e-book-view-listener.h: ditto
* libebook/e-book-listener.h: ditto
* idl/Makefile.am (idl_DATA): rename idl to
Evolution-DataServer-Addressbook.idl
* libebook/Makefile.am: reflect idl name change
|