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
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
|
2007-06-12 Wang Xin <jedy.wang@sun.com>
Fixes #444248.
* addressbook/gui/widgets/e-minicard.c
2007-06-06 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* Makefile.am:
Reverted automake 1.6 breakage. Fixes bug 444747.
Patch by Patch by Daniel Gryniewicz <dang@nemesis.fprintf.net>.
2007-06-03 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #386503 from Matthew Barnes
* gui/contact-editor/e-contact-editor.c: (show_help_cb):
2007-06-03 Srinivasa Ragavan <sragavan@novell.com>
** Fix for version removal from Installed files from Gilles Dartiguelongue
* Makefile.am:
* conduit/Makefile.am:
* gui/component/Makefile.am:
2007-06-02 Gilles Dartiguelongue <dartigug@esiee.fr>
reviewed by: <delete if not using a buddy>
* conduit/address-conduit.c: (local_record_to_pilot_record):
* gui/component/addressbook-config.c: (query_for_supported_bases),
(eabc_commit):
* gui/component/addressbook-migrate.c: (get_integer_child),
(migrate_ldap_servers), (migrate_completion_folders):
* gui/component/addressbook-view.c:
(selector_tree_drag_data_received):
* gui/contact-editor/e-contact-editor.c: (fill_in_simple_field),
(extract_simple_field):
* gui/contact-editor/e-contact-quick-add.c:
* gui/contact-list-editor/e-contact-list-editor.c:
(table_drag_data_received_cb), (extract_info), (fill_in_info):
* gui/merging/eab-contact-merging.c: (dialog_map),
(dropdown_changed), (mergeit), (check_if_same), (response),
(match_query_callback):
* gui/merging/eab-contact-merging.h:
* gui/widgets/e-addressbook-view.c: (table_drag_data_get),
(make_suboptions), (eab_view_delete_selection), (selection_get),
(selection_received):
* gui/widgets/e-minicard-view.c: (e_minicard_view_drag_data_get):
* gui/widgets/e-minicard.c: (add_email_field):
* gui/widgets/eab-contact-display.c: (eab_selection_get),
(on_url_requested), (render_contact):
* gui/widgets/gal-view-minicard.c: (gal_view_minicard_load),
(gal_view_minicard_save), (column_width_changed):
* printing/e-contact-print.c: (e_contact_build_style):
fixing casts and other compilation warnings
2007-05-30 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #333858 from Milan Crha
* gui/contact-editor/e-contact-editor.c: (categories_response),
(categories_clicked), (e_contact_editor_init):
* gui/contact-editor/e-contact-editor.h:
* importers/evolution-vcard-importer.c: (vcard_import_contacts),
2007-05-25 Matthew Barnes <mbarnes@redhat.com>
* gui/component/addressbook-component.c (ensure_sources):
* gui/component/addressbook-migrate.c (ensure_sources):
Don't assume the relative URI is non-NULL (#427232).
2007-05-14 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #424055 from Øystein Gisnås
* gui/contact-list-editor/contact-list-editor.glade:
2007-05-14 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #417797 from Øystein Gisnås
* gui/component/addressbook-view.c: (selector_tree_drag_motion),
(selector_tree_drag_data_received):
2007-05-14 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #404239 from Øystein Gisnås
* /addressbook/gui/widgets/e-minicard.c:
2007-05-14 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #358250 from Javier F. Serrador
* gui/widgets/e-addressbook-view.etspec:
* gui/widgets/eab-contact-display.c: (render_contact):
2007-05-12 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #337616
* Makefile.am: Add $(schema_DATA) to DISTCLEANFILES.
2007-05-11 Srinivasa Ragavan <sragavan@novell.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Add Tango
icons to preference window.
2007-05-08 Wang Xin <jedy.wang@sun.com>
*tools/evolution-addressbook-export-list-cards.c:
Fixes 394932.
2007-04-23 Matthew Barnes <mbarnes@redhat.com>
* gui/contact-editor/e-contact-editor.c:
* gui/widgets/e-addresbook-reflow-adapter.c:
* gui/widgets/e-addresbook-view.c:
Don't include e-contact-print-envelope.h.
2007-04-20 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #426816
* gui/component/addressbook-view.c:
* gui/widgets/e-addressbook-view.c:
* gui/widgets/e-addressbook-view.h:
* printing/e-contact-print.c:
* printing/e-contact-print.h:
* printing/e-contact-print-types.h:
Refactor the printing infrastructure.
Migrate off of libgnomeprint[ui] once and for all.
* printing/test-print.c:
Migrate off of libgnomeprint[ui] once and for all.
* printing/e-contact-print-envelope.c:
* printing/e-contact-print-envelope.h:
This module is unused. Disable it, but keep the logic around for
future reference.
* printing/Makefile.am:
Remove e-contact-print-envelope.[ch].
2007-04-19 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #429422
* tools/evolution-address-export.c:
Migrate from popt to GOption.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
Use gtk_window_set_icon_from_file() instead of
gnome_window_icon_set_from_file().
* gui/widgets/e-addressbook-table-adapter.c:
* gui/widgets/e-addressbook-model.c:
* gui/widgets/eab-gui-util.c:
Include missing header file(s).
* gui/widgets/eab-vcard-control.c (pstream_load), (book_open_cb),
(free_struct):
* gui/widgets/eab-gui-util.c (process_unref):
* gui/widgets/e-addressbook-view.c (eab_view_print),
(eab_view_print_preview), (eab_view_delete_selection),
(eab_view_save_as), (eab_view_view), (eab_view_send),
(eab_view_send_to):
e_free_object_list() is dead; just do it manually.
* gui/widgets/e-addressbook-view.c (eab_view_print),
(eab_view_print_preview):
* conduit/address-conduit.c (addrconduit_load_configuration):
Use g_object_ref_sink() instead of gtk_object_sink().
* conduit/address-conduit.c (e_addr_gui_new):
Use gtk_menu_shell_append() instead of gtk_menu_append().
* printing/e-contact-print.c (e_contact_build_style):
Use g_build_filename() instead of g_concat_dir_and_file().
* printing/e-contact-print-style-editor.c
(e_contact_print_style_editor_new):
Use g_object_new() instead of gtk_type_new().
2007-04-18 Srinivasa Ragavan <sragavan@novell.com>
** Committed Contact Merging patch from Ebby Wiselyn
* gui/merging/eab-contact-duplicate-detected.glade:
* gui/merging/eab-contact-merging.c: (free_lookup), (dialog_map),
(dropdown_changed), (mergeit), (check_if_same), (response),
(match_query_callback), (eab_merging_book_add_contact),
(eab_merging_book_commit_contact):
2007-04-10 Elizabeth Greene <nerdygirl_ellie@yahoo.com>
** Fix for bug #426743.
* addressbook/tools/evolution-addressbook-export.c:
Corrected typo "asychronous".
2006-04-10 Andre Klapper <a9016009@gmx.de>
* gui/widgets/eab-contact-display.c:
change "E-Mail" to "Email". Fixes bug #404233.
2007-04-09 simon.zheng <simon.zheng@sun.com>
** Fix for bug #426487
* gui/widgets/eab-contact-display.c: (accum_time_attribute):
strftime() supplied by OS is subject to locale encoding, i.e.
ja_JP.PCK. Using g_date_strftime() instead, which works on a
UTF-8 format string and store a UTF-8 result.
2007-04-09 simon.zheng <simon.zheng@sun.com>
** Fix for bug #426829.
* gui/contact-editor/eab-editor.c: (eab_editor_confirm_delete):
* gui/widgets/eab-contact-display.c: (render_contact):
To avoid printing a NULL char point, adding statements to
check the return result of et_email_location() and e_contact_get().
2007-04-05 Matthew Barnes <mbarnes@redhat.com>
* gui/component/addressbook-config.c (addressbook_config_edit_source):
Call gettext() on the EConfigItem labels. (#406933)
Patch from Jeff Cai.
2007-03-27 Matthew Barnes <mbarnes@redhat.com>
* gui/contact-editor/e-contact-editor.c:
* gui/contact-editor/e-contact-quick-add.c:
* gui/component/addressbook-component.c:
* gui/component/addressbook-view.c:
* gui/widgets/eab-contact-display.c:
* gui/widgets/gal-view-minicard.c:
* gui/widgets/e-addressbook-view.c:
Don't mix declarations and code (#405495).
2007-03-20 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #419524
* Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.
2007-03-16 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #360240
* gui/widgets/e-addressbook-view.c (e_contact_print_button):
* printing/e-contact-print.c (complete_sequence),
(e_contact_build_style), (e_contact_print_response),
(e_contact_print_contact_list_dialog_new):
Remove unused variables.
2007-03-01 Tor Lillqvist <tml@novell.com>
* gui/widgets/e-addressbook-view.c (e_contact_print_button):
* printing/e-contact-print.c (e_contact_print_response):
Bypass the body of these functions on non-G_OS_UNIX for now as
they use gtk_print_unix_dialog_get_settings(). Gtk printing on
Win32 needs work.
2007-02-26 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #232065
* gui/widgets/e-addressbook-view.c: (eab_view_delete_selection): Fix
for selection jump on delete from Ebby Wiselyn.
2007-02-12 Kjartan Maraas <kmaraas@gnome.org>
* gui/contact-editor/contact-editor.glade: Fix critical warnings
from typos in the glade file. Closes bug #397893. Patch
from Wang Xin.
2007-02-12 Srinivasa Ragavan <sragavan@novell.com>
** Print migration updates from Ebby Wiselyn.
* gui/component/addressbook-view.c: (print_cb), (print_preview_cb):
* gui/widgets/e-addressbook-view.c: (print),
(e_contact_print_button), (eab_view_print),
(eab_view_print_preview):
* printing/e-contact-print.c: (e_contact_print_contact),
(complete_sequence), (book_view_loaded), (print_func),
(e_contact_print_response), (e_contact_print_dialog_new),
(e_contact_print_contact_dialog_new),
(e_contact_print_contact_list_dialog_new), (contact_draw_page):
2007-02-08 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #332908
* gui/contact-editor/e-contact-editor.c: (extract_simple_field): Dont
popup if the size of the image is small
2007-02-08 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #400726
* printing/e-contact-print.h: Declare e_contact_print_response().
2007-01-22 Srinivasa Ragavan <sragavan@novell.com>
** GtkPrint api migration from Ebby Wiselyn.
* gui/component/addressbook-view.c: (print_cb):
* gui/widgets/e-addressbook-view.c: (print),
(e_contact_print_button), (contact_print_button_draw_page),
(eab_view_print), (eab_view_print_preview):
* gui/widgets/e-addressbook-view.h:
* printing/e-contact-print.c: (e_contact_output),
(e_contact_text_height), (e_contact_rectangle),
(e_contact_print_letter_heading), (e_contact_start_new_page),
(e_contact_get_contact_size), (e_contact_print_contact),
(e_contact_start_new_column), (complete_sequence),
(book_view_loaded), (e_contact_do_print_contacts),
(e_contact_build_style), (e_contact_print_response),
(e_contact_print_dialog_new), (e_contact_print_contact_dialog_new),
(contact_draw_page):
2007-01-08 Veerapuram Varadhan <vvaradhan@novell.com>
Patch submitted by Nathan Owens <pianocomp81@yahoo.com> and
Jerry Yu <jijun.yu@sun.com>
* conduit/address-conduit.c: Add pilot-link 0.12 compatibility.
2006-12-04 Matthew Barnes <mbarnes@redhat.com>
Fixes bug #357970
* gui/contact-editor/e-contact-editor.c:
* gui/widgets/e-minicard.c:
* gui/widgets/eab-contact-display.c:
Don't call deprecated GLib / GDK functions.
2006-11-11 Francisco Javier F. Serrador <serrador@openshine.com>
* gui/widgets/e-minicard.c: Fixed #358249
* gui/widgets/eab-contact-display.c: Fixed #358249
2005-10-16 Devashish Sharma <sdevashish@novell.com>
* gui/widgets/e-addressbook-view.c (display_view): Changed the
parameter passed to gal_view_minicard_attach.
* gui/widgets/gal-view-minicard.c (column_width_changed): Sets the
horizontal scroll amount for the addresss card view to the current
page size.
* gui/widgets/gal-view-minicard.h: Changed function prototype for
gal_view_minicard_attach. Passing EABView instead of
EMinicardViewWidget.
Fixes Bug#218273
2006-10-16 Ushveen Kaur <kushveen@novell.com>
** Fixes bug#332908
* addressbook.error.xml :
* gui/contact-editor/e-contact-editor.c : Prompt-resize dialog
options changed. Three options given now, "Resize", "Use as it is"
and "Do not save".
2006-10-01 Kjartan Maraas <kmaraas@gnome.org>
* gui/component/addressbook-component.c: Remove duplicate include.
* gui/contact-editor/e-contact-editor.c: (extract_simple_field):
Fix some compiler warnings.
* gui/contact-editor/e-contact-quick-add.c:
(build_quick_add_dialog): Cast away a compiler warning.
* gui/widgets/e-addressbook-view.c: (generate_viewoption_menu):
#if 0 out an unused array, fix 0 vs NULL initialization in some
other arrays and remove an unused GSList.
* gui/widgets/e-minicard.c: (add_email_field): Make a var const.
* gui/widgets/eab-gui-util.c: (eab_contact_save),
(eab_contact_list_save): Add some casts to fix compiler warnings
and #if 0 out an unused function.
* util/eab-book-util.c: (escape), (eab_contact_list_from_string):
Some GString fixes. All of this from bug #332101.
2006-08-24 Ushveen Kaur <kushveen@novell.com>
** Fixes bug #261062
* addressbook.error.xml: Translator comments added.
2006-09-28 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #357811
* gui/widgets/e-addressbook-view.c: (search_activated): Fix for search
on any type to work.
2006-09-18 Matthew Barnes <mbarnes@redhat.com>
Fixes bug #351332
* gui/widgets/e-minicard.c:
Fix implicit function declarations.
2006-09-12 Ushveen Kaur <kushveen@novell.com>
** Fixes bug #352353
* gui/widgets/eab-gui-utils.c (file_exists): Translator comment
is added.
2006-08-21 Srinivasa Ragavan <sragavan@novell.com>
* gui/widgets/e-addressbook-view.c: (string_without_underscores),
(generate_viewoption_menu), (make_suboptions): Fixes a lot of search
issues.
2006-08-17 Kjartan Maraas <kmaraas@gnome.org>
* gui/component/addressbook-component.c: (impl_requestCreateItem):
Plug a leak.
2006-08-09 Ushveen Kaur <kushveen@novell.com>
** Fixes bug #261239
* gui/contact-editor/contact-editor.glade: Tab focus corrected in
Mailing Address tab of Contact Editor.
2006-08-07 Sushma Rai <rsushma@novell.com>
* gui/widgets/e-addressbook-view.c (eab_view_delete_selection): Added a
callback function to handle the contact deletion error.
(delete_contacts_cb): Added new, a callback function.
* addressbook.error.xml: Added a error code contact-delete-error-perm
and corresponding error string. Fixes #260403
Original patch was submitted by "Vandana Shenoy .B"
2006-07-25 Johnny Jacob <jjohnny@novell.com>
* gui/widgets/e-addressbook-view.c: (search_activated),
(query_changed), (make_suboptions) : Assign proper search item ids.
2006-07-24 Sushma Rai <rsushma@novell.com>
* gui/widgets/e-addressbook-view.c (search_activated): Commented out
reference to undefined function eab_search_dialog_new(). See #347910.
2006-07-24 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c:
* gui/contact-editor/e-contact-editor-im.c: Added support for gadu gadu im
in contact entry.
2006-07-22 Mikhail Zabaluev <mhz@altlinux.org>
Reviewed by Harish Krishnaswamy <kharish@novell.com>
* printing/Makefile.am: Add missing .la files
Fixes #334206.
2006-07-20 Boby Wang <boby.wang@sun.com>
Reviewed by Harish Krishnaswamy <kharish@novell.com>
** Fix bug #347381
* gui/contact-editor/e-contact-editor.c: (image_clicked):
Set the image chooser dialog to modal dialog, then we can focus back to
the chooser dialog by <ALT + TAB>
2006-07-19 Devashish Sharma <sdevashish@novell.com>
* addressbook/gui/widgets/e-minicard.c :
* addressbook/gui/widgets/eab-contact-display.c : In the minicard view
and preview pane, show the type(home, work) of email instead of showing
email1,email2.
Fixes Bug 343816.
2006-07-18 Ross Burton <ross@openedhand.com>
* addressbook/gui/contact-editor/e-contact-editor.c:
* addressbook/gui/contact-list-editor/e-contact-list-editor.c:
* addressbook/gui/widgets/eab-contact-display.c:
Fix for EContactPhoto changes. Partially fixed by Hiroyuki Ikezoe
<poincare@ikezoe.net>, finished by myself. (#347870).
2006-07-18 Andre Klapper <a9016009@gmx.de>
* gui/contact-editor/contact-editor.glade:
* gui/contact-editor/fulladdr.glade:
* gui/contact-editor/fullname.glade:
* gui/contact-editor/im.glade:
* gui/contact-list-editor/contact-list-editor.glade:
remove "*" from translation. Fixes bug #331147.
2006-19-06 Ushveen Kaur <kushveen@novell.com>
** Fixes bug #332909
* gui/contact-editor/e-contact-editor.[ch]: once asked for resizing, it
wont ask again.
2006-07-08 Aishwarya K <aishkalyan@gmail.com>
Fix for #332963
* e-contact-editor.c: Set the mnemonic character for "No image"
2006-06-30 Johnny Jacob <jjohnny@novell.com>
* gui/cal-search-bar.c: (get_current_category),
(get_category_sexp), (notify_e_cal_view_contains),
(notify_category_is), (regen_query), (regen_view_query),
(make_suboptions), (cal_search_bar_construct): Added/Removed code
for new search ui.
* gui/e-tasks.c: (search_bar_sexp_changed_cb):
Added/Removed code for search ui.
2006-06-29 simon.zheng <simon.zheng@sun.com>
* gui/widgets/eab-gui-util.c: (file_exists): Convert filename
from glib encoding to utf8 encoding.
Fixes Bug #339151
2006-06-27 Devashish Sharma <sdevashish@novell.com>
* gui/widgets/eab-gui-util.c (do_delete) :Fix for
Bug #333691.
2006-06-16 Devashish Sharma <sdevashish@novell.com>
* gui/contact-list-editor/e-contact-list-editor.c :
Fix for Bug #317511
2006-06-15 Devashish Sharma <sdevashish@novell.com>
* gui/component/addressbook-view.c : Drag-n-drop contacts now
defaults to Moving the contact and the contacts moved will be
instantly removed from the source addressbook.
Fixes Bug #337085 and #337086
2006-06-14 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fixes bug #344227
* gui/widgets/eab-contact-display.c:
(eab_contact_display_render_compact): gdk_pixbuf_loader_close should
be called before gdk_pixbuf_loader_get_pixbuf.
2006-06-13 Hiroyuki Ikezoe <poincare@ikezoe.net>
** Fixes bug #342646
* gui/widgets/e-addressbook-view.c: Plugged memory leak.
* gui/widgets/e-minicard-view.c: Ditto.
2006-06-13 Oswald Rodrigues <ozzy_rodrigues@yahoo.com>
* gui/contact-editor/e-contact-quick-add.c (build_quick_add_dialog):
created patch to make _F,_m,_S mnemonics in contact-quick add
dialog work. Fixes bug #332347.
2006-06-12 simon.zheng <simon.zheng@sun.com>
Fix for #336453
* gui/component/addressbook-config.c: (addressbook_ldap_init):
Add SunLDAP library support - a variant of Netscape LDAP.
2006-06-12 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c : If company name
is set and full name and file as are not set, set company name
as full name and fle name.
Fixes Bug #206320, 342903
2006-06-12 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-quick-add.c :Fix for Bug #341465
2006-06-09 Chris Heath <chris@heathens.co.nz>
* gui/widgets/eab-popup-control.c (eab_popup_control_set_free_form): Fix
memory leak
* gui/contact-editor/e-contact-quick-add.c (quick_add_merge_contact): Ditto.
Fixes bug #335423.
2006-05-25 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-quick-add.c : Right click add to
contacts doesnt work on email addresses in received mails.
2006-05-25 Devashish Sharma <sdevashish@novell.com>
* gui/widgets/eab-contact-display.c : Name of some fields differ
when seen in preview pane and contact editor (Video Chat in contact
editor and Video Conferencing in preview pane).
2006-05-25 Devashish Sharma <sdevashish@novel.com>
* gui/contact-list-editor/e-contact-list-editor.c : Contacts
added to a contact list cant be added again.
2006-05-25 Srinivasa Ragavan <sragavan@novell.com>
** Added code to save vcards/addressbooks to remote shares
* gui/widgets/eab-gui-util.c: (save_it), (eab_contact_save),
(eab_contact_list_save):
2006-05-17 Roozbeh Pournader <roozbeh@farsiweb.info>
Fix for gnome bug #341931, farsiweb #562
* gui/contact-editor/e-contact-editor.c: Mark a few messages for
translation.
2006-05-12 simon.zheng <simon.zheng@sun.com>
Fix for Bug 341521
* gui/contact-editor/contact-editor.glade: Change the label
name of categories button.
2006-04-27 Boby Wang <boby.wang@sun.com>
** Fix for bug # 336470
* gui/contact-editor/fullname.glade:
Add labelled-by relationship to gtkcombo.
2006-04-26 Srinivasa Ragavan <sragavan@novell.com>
** Patch from PR Suman to add icons missing in menu items.
* gui/component/addressbook-view.c: Added icons for forward and send.
2006-02-18 M Victor Aloysius J <victoraloy@gmail.com>
** Fixes bug #317512
* gui/eab-contact-editot.c:
* gui/eab-popup.h:
* gui/eab-popup.c:
Hyperlinked email-addresses and websites in preview pane support right
click mouse options.
2006-04-21 Simon Zheng <simon.zheng@sun.com>
Fix for bug #337604
* printing/e-contact-print.c: (e_contact_print_response):
Should destory the print dialog window after clicking Print
Preview button.
2006-04-21 Devashish Sharma <sdevashish@novell.com>
Fix for Bug 333869.
* printing/e-contact-print-types.h: Remove member letter_tabs in
struct _EContactPrintStyle.
* printing/e-contact-print.c (e_contact_start_new_page),
(e_contact_get_contact_size), (e_contact_print_contact),
(e_contact_start_new_column), (complete_sequence),
(e_contact_build_style), (e_contact_print_response),
(e_contact_print_preview):
To be consistent with minicard view, remove functions and data structure
associated with letter tab printing.
Patch by Simon Zheng <simon.zheng@sun.com>.
2006-04-21 Devashish Sharma <sdevashish@novell.com>
Fix for Bug 336713
* gui/merging/eab-contact-merging.c: (cancelit): After selecting
"cancel duplicate" when pasting contacts, can't remove those
EContactMergingLookup. Make finished_lookup() available.
Patch by Simon Zheng <simon.zheng@sun.com>.
2006-03-29 Li Yuan <li.yuan@sun.com>
Fix for bug #336454
* gui/component/addressbook-view.c:
(source_selector_key_press_event_callback):
we should return false if it is not a del event to make gtktreeview
deal the rest of keys.
2006-03-10 Devashish Sharma <sdevashish@novell.com>
* gui/component/ldap-config.glade : ldap port numbers
were marked for translation. Fixes 331020.
2006-03-10 Devashish Sharma <sdevashish@novell.com>
Fix for bug #333855
* gui/contact-editor/e-contact-editor.c (full_name_response),
(full_name_key_press_event), (full_name_editor_delete_event_cb),
(full_name_clicked):
The fullname dialog should be non-modal as well as categories dialog.
Patch by Simon Zheng <simon.zheng@sun.com>. Made some changes to the
patch and committed.
2006-03-06 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c (fill_in_address_textview):
Fix for Bug 332915.
2006-03-06 Devashish Sharma <sdevashish@novell.com>
* importers/evolution-ldif-importer.c (ldif_import):
* importers/evolution-csv-importers.c (csv_import) :
* importers/evolution-vcard-importer.c (vcard_import) :
Fix for Bug 332136: Evolution fails to import contacts from a file into
an addressbook if the addressbook is never opened.
Patch by Xiurong Simon Zheng.
2006-03-05 Devashish Sharma <sdevashish@novell.com>
* gui/widgets/e-addressbook-view.etspec : Fix for bug 268458.
2006-02-28 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c (extract_simple_field): Fix for Bug
#332811 crash adding an image to a contact.
2006-02-27 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c: Fix for Bug #332498: orphaned
category editor crashes Evo.
Close the category editor when the contact editor is closed.
2006-02-27 Devashish Sharma <sdevashish@novell.com>
* gui/component/addressbook-view.c (selector_tree_drag_data_received) :
Fix for Bug 322689: Cant copy contact to addressbook if addressbook
just created.
2006-02-23 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c (update_preview_cb) :
Fixes Bug #332123 - crash while trying to add an image to a contact
2006-02-23 Devashish Sharma <sdevashish@novell.com>
* gui/component/addressbook-component.c (impl_requestCreateItem) :
New Contact should create contact on selected Addressbook.
Fixes Bug # 326788 and 326721.
2006-02-22 Simon Zheng <simon.zheng@sun.com>
Fix for 331993.
* printing/medbook.ecps: Add "Regular" to the font name.
2006-02-14 Devashish Sharma <sdevashish@novell.com>
* e-contact-print.c : Use of pango for text handling when
printing address book.
See Bug #269430.
2006-02-13 Andre Klapper <a9016009@gmx.de>
* ldap-config.glade: Fix the Security options to finally be
descriptive, rather than obscuring. Identical to the changes in
mail/em-account-editor.c to fix the UI part of bug #321797.
2006-02-05 Karsten Bräckelmann <guenther@rudersport.de>
* gui/component/GNOME_Evolution_Addressbook.server.in.in:
Correcting "Addressbook" to properly read "Address Book".
Fixes bug #326256.
* gui/component/addressbook-config.c (addressbook_config_edit_source):
* gui/component/addressbook-component.c (impl_upgradeFromVersion):
Correcting "Addressbook" to properly read "Address Book".
Fixes bug #326256.
2006-02-05 Andre Klapper <a9016009@gmx.de>
* gui/component/ldap-config.glade: fixing one typo.
fixes #304996 partially.
2006-02-01 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c: File selector shows preview
of the image when choosing picture of a contact.
Fixes bug #300884.
2006-02-01 Devashish Sharma <sdevashish@novell.com>
* gui/widgets/e-minicard.c : (e_minicard_reflow) Fixed a bug which was
causing addressbook view by address card getting all messed up.
Fixes Bug #329315.
2006-01-30 Tor Lillqvist <tml@novell.com>
* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
Link with libefilterbar, too.
2006-01-30 Harish Krishnaswamy <kharish@novell.com>
* gui/component/addressbook-view.c:
* gui/widgets/e-addressbook-view.c:
Remove inclusion of unused header.
2006-01-30 Sushma Rai <rsushma@novell.com>
* gui/component/Makefile.am: Removed reference to "search" directory.
Fixes the build issue.
2006-01-30 Devashish Sharma <sdevashish@novell.com>
* gui/widgets/e-addressbook-view.[ch]: Added save advanced search for
contacts.
* gui/widgets/addresstypes.xml: Search types for contacts. Moved the file
from search directory to here as that directory is no longer required.
2006-01-30 Elijah Newren <newren@gmail.com>
* gui/contact-editor/e-contact-editor.c: removed an unused variable.
2006-01-27 Kjartan Maraas <kmaraas@gnome.org>
reviewed by: Harish Krishnaswamy <kharish@novell.com>
* gui/component/addressbook-component.c: (impl_requestCreateItem):
Remove unused bits.
* gui/component/addressbook-config.c: (eabc_general_type),
(eabc_general_offline): Same here.
* gui/component/addressbook-migrate.c: Remove unused static function.
* gui/component/addressbook-view.c: (selector_tree_drag_motion):
Remove unused static function and init uninitialized var.
* gui/contact-editor/e-contact-editor-address.c:
(fill_in_countries): Return early if setlocale() fails.
* gui/contact-editor/e-contact-editor.c: (file_as_get_style),
(extract_email), (extract_phone), (sensitize_phone_types),
(extract_im), (sensitize_im_types), (init_simple):
Mark some arrays static, remove unused variables, fix gcc warnings
* gui/contact-list-editor/e-contact-list-editor.c: (fill_in_info):
Remove unused var.
* gui/merging/eab-contact-compare.c: (eab_contact_compare_name):
Remove unused static function and unused vars.
* gui/search/e-addressbook-search-dialog.c:
(eab_search_dialog_dispose): Remove unused vars.
* gui/widgets/e-addressbook-model.c: (get_view): Add comment.
* gui/widgets/e-addressbook-view.c: (eab_view_class_init),
(eab_view_delete_selection): Remove unused var
* gui/widgets/e-addressbook-view.h: Remove extra semi-colon.
* gui/widgets/e-minicard-label.c: (e_minicard_label_unrealize):
Remove unused var.
* gui/widgets/e-minicard.c: (e_minicard_unrealize),
(e_minicard_event), (add_field), (remodel), (e_minicard_reflow):
Remove unused vars. s/if/ifdef in some places, use passed in parameter
instead of redeclaring the thing locally.
* gui/widgets/eab-contact-display.c: (accum_address),
(eab_contact_display_render_compact): s/if/ifdef.
* gui/widgets/eab-gui-util.c: (eab_select_source): Comment out unused var.
* gui/widgets/eab-popup-control.c: (eab_popup_control_cleanup): s/if/ifdef
* printing/e-contact-print-style-editor.c:
(e_contact_print_style_editor_class_init),
(e_contact_print_style_editor_set_arg),
(e_contact_print_style_editor_get_arg): Remove unused vars.
* util/eab-book-util.c: s/if/ifdef
2006-12-7 M Victor Aloysius J <victoraloy@gmail.com>
* gui/contact-editor/e-contact-editor.c (style_makes_sense):
(name_to_style):Added feature for missing middle name.
Fixes #237297
2006-01-25 Devashish Sharma <sdevashish@novell.com>
* gui/component/addressbook-view.c :
* gui/widgets/e-addressbook-view.[ch] :
Added functions for handling callbacks from the folder menu items and
modified some existing functions.
2006-01-25 Simon Zheng <simon.zheng@sun.com>
** Fixes #327203
* gui/contact-editor/e-contact-editor.c (app_delete_event_cb):
Checking the validity of contact editor should be done after
extracting all fields. This's done in save_contact().
* gui/contact-editor/eab-editor.c
(eab_editor_prompt_to_save_changes): To avoid repeating free memory,
delete eab_editor_close(). In fact, eab_editor_save_contact() has
done it before.
2006-01-23 Devashish Sharma <sdevashish@novell.com>
* importers/evolution-csv-importer.c : Made some changes for solving some
bugs in csv and tab file import. Mainly changes made to file parsing
mechanism.
2006-01-23 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-quick-add.c : Added source selector to
the quick add dialog so that the user can choose the addressbook also
while storing the contact. Earlier it automatically went to the
default addressbook.
* gui/widgets/eab-popup-control.c : It now directly tries to quick add
the contact to the selected addressbook. All the duplicate detected and
merging contacts logic is then handled by duplicate contact detected
dialog. So removed the searching and merging code from the file.
Earlier it added the contact to the default addressbook and checked
for duplicated there only.
2006-01-23 Sushma Rai <rsushma@novell.com>
* addressbook/gui/component/addressbook.c (addressbook_authenticate):
Checking for the property user and username. Fixes #327819.
2006-01-16 Harish Krishnaswamy <kharish@novell.com>
* gui/component/addressbook-component.c:
(impl__get_userCreatableItems):
remove shortcut keys (UI Hackfest -
See http://go-evolution.org/Shortcut_Keys_Review).
2005-01-16 Devashish Sharma <sdevashish@novell.com>
* importers/evolution-csv-importer.c : Added support for CSV and TAB
file import.
2006-01-16 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c (full_name_clicked) : Setting
the default response for categories dialog.
Fixes #317283
2006-01-16 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c (full_name_clicked) : Setting
the default response for contact full name dialog.
Fixes #317282
2006-01-16 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c : Fixed the default focus in
the contact editor dialog.
2006-01-13 Srinivasa Ragavan <sragavan@novell.com>
** Fixes bug #326268
* gui/widgets/e-addressbook-view.c: Adds mnemonics to Advanced Search
menu item in contacts view.
2006-01-12 Srinivasa Ragavan <sragavan@novell.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in:
Changes Contacts View accel from Control+F2 to Control+2.
2006-01-10 Simon Zheng <simon.zheng@sun.com>
* gui/widgets/eab-gui-util.c:use e_filename_make_safe() in
evolution-data-server/libedataserver/e-data-server-util.c
instead of the copy in evolution/e-util/e-util.c.
2006-01-09 Ali Akcaagac / Andre Klapper <a9016009@gmx.de>
* tools/evolution-addressbook-clean.in: changing old evo1.4 path to
current path. Fixes bug 307513.
Committing on behalf of Ali Akcaagac.
2006-01-06 Andre Klapper <a9016009@gmx.de>
* evolution/addressbook/gui/widgets/eab-gui-util.c:
changing "cancelled" (British English)
to "canceled" (American English). Fixes bug 325334.
2006-01-04 Shi Pu <shi.pu@sun.com>
* gui/component/addressbook-config.c (eabc_details_search): add a not
NULL-pointer check before using lud->scope.
2005-12-22 Srinivasa Ragavan <sragavan@novell.com>
* gui/search/addresstypes.xml: Modified the categories to option menu
format in advanced search
2005-12-21 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook-component.c (impl_createView): changed
from createControls for new shell apis.
Committed on behalf of Notzed - partha
2005-12-17 Tor Lillqvist <tml@novell.com>
* gui/component/addressbook-migrate.c
* importers/evolution-vcard-importer.c
* tools/evolution-addressbook-export-list-folders.c: Use gstdio
wrappers. Use GDir API instead of dirent. Use GLib to convert file
names to URIs and back. Open files in binary mode.
* gui/widgets/gal-view-minicard.c
* printing/e-contact-print.c: Use libedataserver's
e_xml_parse_file() and e_xml_save_file() instead of calling libxml
functions directly, as they don't understand the GLib file name
encoding (UTF-8) on Win32.
* tools/evolution-addressbook-export-list-cards.c: Use gstdio
wrappers. No fork() on Windows, but the fork-to-background
functionality doesn't seem essential?
2005-12-15 Srinivasa Ragavan <sragavan@novell.com>
* gui/search/e-addressbook-search-dialog.c: (dialog_response): Added
code to set the color from the theme to indicate advance search
presence.
2005-12-14 Sushma Rai <rsushma@novell.com>
* importers/evolution-ldif-importer.c (ldif_import): Proceeding with
the import activity only if the book is writable.
* importers/evolution-vcard-importer.c (vcard_import): Similar.
Fixes #266003
2005-12-10 Sushma Rai <rsushma@novell.com>
* gui/contact-editor/e-contact-editor.c (fill_in_address_textview):
Not inserting new line at the end and also, placing the cursor at
the beginning of the widget. Fixes #300300.
2005-12-06 Veerapuram Varadhan <vvaradhan@novell.com>
* conduits/addressbook-conduit.c: (pre_sync):
Authenticate by reading the store-password for calendars that has
"auth" property set.
* conduits/addressbook-conduit.c: (addressbook_authenticate):
Implement authentication using e-passwords.
2005-11-26 Tor Lillqvist <tml@novell.com>
* gui/contact-editor/e-contact-editor.c
* gui/contact-editor/e-contact-editor-address.c
* gui/contact-editor/e-contact-editor-fullname.c
* gui/contact-editor/e-contact-editor-im.c
* gui/contact-list-editor/e-contact-list-editor.c
* gui/merging/eab-contact-merging.c
* gui/widgets/e-addressbook-view.c
* printing/e-contact-print.c
* printing/e-contact-print-style-editor.c: Include
e-util-private.h to get redefinition of compile-time pathnames as
calls to functions on Windows. Construct the pathnames of files
and directories under the installation prefix at run-time to
enable install-anywhere on Windows. No effect on functionality on
Unix.
2005-11-25 Tor Lillqvist <tml@novell.com>
* gui/component/openldap-extract.h: New file. Contains various
things lifted from OpenLDAP for use on Windows where we use
Microsoft's LDAP implementation. The same file is also in
e-d-s/backends/ldap.
* gui/component/Makefile.am: Distribute openldap-extract.h.
* gui/component/addressbook-config.c: Include openldap-extract.h on
Windows. Include e-util-private.h to get redefinition of
EVOLUTION_GLADEDIR (as a call to a function) on Windows.
(query_for_supported_bases, eabc_general_name, eabc_general_host,
eabc_general_auth, eabc_details_search, eabc_details_limit,
addressbook_config_edit_source): Construct the path of the glade
file at run-time to enable install-anywhere on Windows.
* gui/component/addressbook-view.c (control_activate): Include
e-util-private,h to get redefinition of EVOLUTION_UIDIR (as a call
to a function) on Windows. Construct the path of the xml file at
run-time to enable install-anywhere on Windows.
* importers/evolution-ldif-importer.c (ldif_import)
* gui/widgets/eab-gui-util.c (eab_load_error_dialog): Use
g_filename_from_uri() instead of just stripping off the "file://"
prefix for Win32 portability.
* importers/evolution-ldif-importer.c (ldif_import): Use gstdio
wrappers for better non-ASCII filename support on Windows.
* gui/component/addressbook-component.c (ensure_sources): Use
g_filename_to_uri() instead of just prefixing "file://" for Win32
portability.
2005-11-24 Sushma Rai <rsushma@novell.com>
* addressbook.error.xml: Added new error id "gw-book-list-init" and
corresponding warning message.
2005-10-04 Srinivasa Ragavan <sragavan@novell.com>
* gui/component/addressbook-view.c (abv_source_popups):
* gui/widgets/e-addressbook-view.c (eabv_popup_items):
Added keyboard accelerators for contacts.
2005-11-11 Evan Yan <evan.yan@sun.com>
* pinting/e-contact-print.c (e_contact_build_style):
Add a config argument to get the actual page size and set it to style.
(e_contact_print_response): modify the call to e_contact_build_style
accordingly.
e_contact_print_preview): modify the call to e_contact_build_style
accordingly.
Fixes # 316280
2005-10-26 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c: Sets the focus to the
corresponding ntry field after changing dropdown menus for phone, im
and e-mail fields in contact editor. Fixes #229972.
2005-10-22 Sushma Rai <rsushma@novell.com>
* gui/widgets/eab-gui-util.c (eab_send_contact_list_as_attachment):
Marked subject line for translation. Fixes #317753
2005-10-22 Sushma Rai <rsushma@novell.com>
* gui/component/addressbook-config.c: Storing the search filter entered
at configuration dialog.
(addressbook_ldap_init)(source_to_uri_parts): Handling search filter.
(eabc_details_search): Storing the serch filter value and added
callback to handle search filter changes.
(search_filter_changed_cb)(url_changed): Store search filter in LDAP
url.
(from_ldap_search_filter): If search filter entered is missing
parenthesis, adds them.
* gui/component/ldap-config.glade: Added an entry for entering the
search filter.
Fixes #311884
2005-10-04 Devashish Sharma <sdevashish@novell.com>
* gui/widgets/e-addressbook-view.etspec: Changed the compare type for
"Organization" to stringcase. This new type has been defined for
performing case insensitive locale sensitive UTF8 string compares.
Fixes #207110.
2005-10-04 Devashish Sharma <sdevashish@novell.com>
* gui/widgets/e-addresbook-view.etspec: Changed the compare type for
"File As" to "collate", so that proper lexicographical sorting (based
on users locale)is employed. Fixes #271594, #273870.
2005-10-04 Devashish Sharma <sdevashish@novell.com>
* gui/contact-list-editor/e-contact-list-editor.etspec: Set the
sorting column so that the contacts are alphabetically sorted in
contact list editor. Fixes #265353.
2005-10-03 Devashish Sharma <sdevashish@novell.com>
* gui/widgets/e-addressbook-view.c (eab_view_print): Get selected
contacts list and forward it. Earlier list was not being sent so no
chance of printing the selected contacts.
(eab_view_print_preview): Same as for print above.
* printing/e-contact-print.c (e_contact_print_dialog_new): uses_book was
being set in every case. removed that and set contact list which is now
being passed to it from eab_view_print.
(e_contact_print_preview): It was generating preview for the whole
book in all cases. Now if there is a list of selected contacts it
generates preview for only those contacts and if the list is NULL (no
selected contacts), it generates preview for the whole book.
(e_contact_print_response): Checks the current range selected (All or
selection) and prints the contacts based on that. If All is selected
all contacts are printed and if Selection is selected only the selected
contacts are printed.
* printing/e-contact-print.h: Changed the function prototype for
e_contact_print_dialog_new and e_contact_print_preview, both of them
now accept a list of selected contacts.
Fixes #248624, #274285, #209354, #202201
2005-09-30 Devashish Sharma <sdevashish@novell.com>
* gui/merging/eab-contact-compare.c
(name_fragment_match_with_synonyms): Changed name compare logic where
it matches names with starting part same. (it matches rob and robert).
Fixes #315034.
2005-09-30 Sarfraaz Ahmed <asarfraaz@novell.com>
* gui/component/addressbook.c (remove_parameters_from_uri) : This now
takes care to escape any auth mechanism in the uri.
2005-09-30 Sushma Rai <rsushma@novell.com>
* importers/evolution-ldif-importer.c: Added some missing attrbutes and
mozilla specific attributes.
(populate_contact_address): Forms the address and also formats it.
(parseLine): Handling the work address, home address, wants to receieve
html mail option, aim screen name.
(getNextLDIFEntry): Handling work and home addresses.
Fixes #316373.
2005-09-28 Devashish Sharma <sdevashish@novell.com>
* gui/contact-list-editor/e-contact-list-editor.c
(table_drag_data_received_cb): Added a check that the contact received
through drag contains an email-id. There is no point in adding a
contact to the contact-list if the contact has no email-id. This was
causing a crash also.
* gui/widgets/eab-contact-display.c
(eab_contact_display_render_compact): Added a check for catching null
email-ids, in case of contact-lists, so that null ids are not passed
for rendering, which was causing a crash.
2005-09-28 Devashish Sharma <sdevashish@novell.com>
* gui/component/addressbook-view.c (addressbook_view_init): Added a
callback, source_selector_key_press_event_callback() so that the
contact folder can be removed with Del/Delete Key.
Fixes #233424.
2005-09-28 Tor Lillqvist <tml@novell.com>
* gui/component/addressbook.c (get_remember_password): Use
g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to
the literal "true", just casefolding ASCII is enough. Also better
for portability.
2005-09-14 Sushma Rai <rsushma@novell.com>
* gui/contact-list-editor/e-contact-list-editor.etspec: Set selection
mode to multiple. Related to the patch submitted already to fix #235038.
2005-08-26 Devashish Sharma <sdevashish@novell.com>
* gui/widgets/e-addressbook-view.etspec: In ETableSpecification source
column and field name were not in proper order. Because of this all the
values in view by phone list and view by company were shown in wrong
columns. Fixes #313124.
2005-08-23 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook.c (addressbook_authenticate):
de-constify uri, and fix its creation logic.
(load_source_cb): cast for warning.
* gui/widgets/e-addressbook-view.c: more missing a11y include.
* gui/widgets/e-minicard-view.c: another missing a11y include.
* gui/widgets/e-minicard.c: include missing a11y include.
(e_minicard_activate_editor): fix cast.
* gui/widgets/eab-popup-control.c (eab_popup_control_display_contact): remove unused.
* gui/widgets/eab-gui-util.c (eab_contact_save): fix conditional build.
(eab_send_to_contact_and_email_num_list): fix boolean conversion.
* gui/widgets/eab-contact-display.c (eab_contact_display_init): cast.
* gui/contact-list-editor/e-contact-list-editor.c (fill_in_info): constify file_as.
* gui/contact-editor/e-contact-editor.c (init_im_record_location):
fix warnings for conditional building.
(fill_in_simple_field): do proper boolean conversion.
(extract_simple_field): do proper boolean conversion.
(response): constify categories, and dont bother initialising it.
(image_clicked): remove warnings for conditional build.
(e_contact_editor_is_valid): constify text.
(e_contact_editor_create_web): cast.
2005-08-22 Sushma Rai <rsushma@novell.com>
* gui/widgets/eab-contact-display.c
(eab_contact_display_render_normal): Using e_contact_get() instead of
e_contact_get_const() for E_CONTACT_IS_LIST. Patch to fix #314152, by
"ross@burtonini.com (Ross Burton)".
Also fixed some compile time warnings.
(eab_contact_display_render_compact): Fixed some compile time warnings.
2005-08-22 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c (categories_clicked): Makes Edit
categories dialog non-modal.
Fixes Bug #241219
2005-08-22 Sushma Rai <rsushma@novell.com>
* tools/evolution-addressbook-export-list-cards.c
enum _EContactFieldCSV: Handling four e-mail ids.
enum _EContactCSVFieldData: Similar.
set_pre_defined_field: Similar.
Fixes the crash which was happening because list of email ids for a
contact was handled as a one email id value. Fixes #269870
2005-08-22 Sushma Rai <rsushma@novell.com>
* gui/contact-list-editor/e-contact-list-editor.c (remove_entry_cb):
Changes contact-list-editor so that multiple items can be selected and
removed at once. Fixes #235038.
Patch submitted by "sean.gao@sun.com (Sean Gao)" and patch was
corected by "Devashish Sharma <sdevashish@novell.com>"
2005-08-22 Devashish Sharma <sdevashish@novell.com>
* gui/widgets/eab-contact-compare.c (match_email_hostname): This
function was never returning true and the comparison was also not
proper. Fixed this.
2005-08-17 Devashish Sharma <sdevashish@novell.com>
* gui/merging/eab-contact-compare.c (use_common_book_cb): When
adding/modifying a contact list there is no need to check if the emails
in the list are there in existing contact lists or contacts. Also there
is no need for comparing EContactName in case of contact list. Added a
condition to check this.
(eab_contact_compare): Added a check to skip email comparison in case
of contact list.
Fixes #312554.
2005-08-17 Devashish Sharma <sdevashish@novell.com>
* gui/merging/eab-contact-compare.c (eab_contact_compare): Add an email
which is not there in any contact to a contact list, now if you want
to add a contact with that email id it gives you duplicate detected. So
while checking for duplicates when adding a new contact emails should
not be compared with existing contact lists email.
2005-08-17 Devashish Sharma <sdevashish@novell.com>
* gui/merging/eab-contact-merging.c (response): If the Duplicate
Contact Detected Dialog is closed by clicking the cross on the dialog
window the contact-list-editor or contact-editor dialog become unusable
and cant be closed. Added a case for catching GTK_RESPONSE_DELETE_EVENT.
2005-08-17 Devashish Sharma <sdevashish@novell.com>
* gui/merging/eab-contact-duplicate-detected.glade: In case of a
duplicate contact list if the list is big the Cancel and Add buttons of
the Duplicate Contact Detected Dialog were going out of the screen
scope. Added a scrollbar to the Dialog to fix this problem.
2005-08-17 Tor Lillqvist <tml@novell.com>
* gui/widgets/Makefile.am (libeabwidgets_la_SOURCES): Add
eab-popup.c back which apparently was accidentally removed.
2005-08-15 Christian Kellner <gicmo@gnome.org>
* gui/widgets/Makefile.am: Install missing e-plugin header
eab-config.h, eab-menu.h and eab-popup.h. Fixes bug: #313585.
2005-08-13 Sushma Rai <rsushma@novell.com>
* gui/component/addressbook-config.c (do_ldap_root_dse_query): Checking
for naming context value.
2005-08-10 Tor Lillqvist <tml@novell.com>
* importers/Makefile.am: Use privsolib instead of privlib (no
difference on Unix, on Win32 privsolib means lib). Use
NO_UNDEFINED. Link with libeabutil.la.
2005-08-05 Sushma Rai <rsushma@novell.com>
* gui/widgets/eab-contact-display.c (render_contact): Using
gtk_html_stream_printf() with format specifier. Vulnerability patch
submitted by "Sitic Vulnerability Advisory <sitic@pts.se>"
2005-08-05 Sushma Rai <rsushma@novell.com>
* importers/evolution-ldif-importer.c (ldif_import): Initialize gci->size to
the file size, which is used for indicationg the import progress. Fixes the
crash due to devide by zero, while importing more than fifty contacts.
2005-08-03 Jules Colding <colding@omesc.com>
* gui/component/addressbook-view.c: Added forward references to functions that were
used before being defined.
2005-08-03 Sushma Rai <rsushma@novell.com>
* gui/widgets/eab-gui-util.c (eab_transfer_contacts): Initialize the
flag status to FALSE.
(got_book_cb): Set status to TRUE on loading the address book.
(contact_added_cb): Set status to FALSE on error or cancel operation.
Set status to true on success. Call process_unref always.
(delete_contacts): Delete the contacts only on success.
Fixes #311133, #273716.
2005-08-03 Srinivasa Ragavan <sragavan@novell.com>
* gui/widgets/eab-gui-util.c (eab_load_error_dialog): Made the error dialog
for load-error nonmodal, since it blocks the UI along with popup menu.
* gui/component/addressbook-view.c (load_uri_for_selection)
(primary_source_selection_changed_callback) (addressbook_view_init):
Checks whether the book is already selected. If so it doesn't reselect
it on a right-click. Fixes the bug #309247
2005-08-03 Frank Arnold <farnold@cvs.gnome.org>
* addressbook.error.xml: Marked string for translation
and removed trailing space. Fixes bug #254923 again.
2005-08-01 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/eab-editor.c (sensitize_ok): fixes the behaviour
of OK button. OK is not enabled until both Full name and File Under are
specified. Fixes #258257.
2005-07-29 Srinivasa Ragavan <sragavan@novell.com>
* gui/contact-editor/eab-editor.c: (eab_editor_prompt_to_save_changes)
(eab_editor_request_close_all) Fixes the bug #309416
2005-07-29 Srinivasa Ragavan <sragavan@novell.com>
* tools/evolution-addressbook-export-list-cards.c: (output_n_cards_file)
Fixes the bug #269870. Commiting Michael Meeks patch.
2005-07-29 Srinivasa Ragavan <sragavan@novell.com>
* gui/contact-editor/e-contact-editor.c: (extract_simple_field)
(image_selected): Fixed in a genereic way, the resizing of contact
photos.
2005-07-26 Harish Krishnaswamy <kharish@novell.com>
* gui/component/Makefile.am: fix make distcheck issues.
* gui/component/addressbook-config.c: remove duplicate
inclusion of header
2005-07-25 Srinivasa Ragavan <sragavam@novell.com>
* addressbook.error.xml: Added a string for resize popup
* gui/contact-editor/e-contact-editor.c: (image_selected) Added
code to check the size of image and prompt for resize.
2005-07-25 Arunprakash <arunp@novell.com>
* gui/contact-editor/e-contact-editor.c (file_as_entry_changed)
(fill_in_simple) : Modified the way of constructing the title
for the contact editor to facilitate proper translation.
2005-07-22 Sushma Rai <rsushma@novell.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Using
autocompletion stock icon instead of contacts icon, for
autocompletion. Fixes #257329.
2005-07-22 Arunprakash <arunp@novell.com>
* gui/contact-editor/e-contact-editor.c (name_entry_changed): Modified
to reset the title of the contact editor when the name is deleted
completely.
(file_as_entry_changed) : Modified to update the title with the new
file_as name.
(fill_in_simple) : Modified to set the title initially with the file_as
name. Fixes #235830.
2005-07-21 Sushma Rai <rsushma@novell.com>
* gui/widgets/e-addressbook-view.[ch] (eab_view_delete_selection):
Prompt for confirmation only while deleting the contact, and not for
cut operation.
(delete)(eab_view_cut): Using the flag to inidicate delete/cut.
* addressbook/gui/component/addressbook-view.c (delete_contact_cb):
Similar. Fixes #311090
2005-07-19 Arunprakash <arunp@novell.com>
* gui/widgets/eab-gui-util.c: Added two new entries in array
status_to_string for two left out values of EBookStatus. Fixes #310343.
(eab_error_dialog): Marked status_str for translation.
2005-07-15 Sushma Rai <rsushma@novell.com>
* gui/component/addressbook-migrate.c (migrate_contacts): unref query.
(migrate_contact_lists_for_local_folders): Similar.
(migrate_company_phone_for_local_folders): Similar.
* util/eab-book-util.c: using e_book_query_unref instead of
g_object_unref.
2005-07-13 Sushma Rai <rsushma@novell.com>
* addressbook/importers/evolution-vcard-importer.c (vcard_supported):
Return false in the source URI does not start with "file://".
* addressbook/importers/evolution-ldif-importer.c
(ldif_import_contacts): Using the proper file pointer.
(ldif_supported): Return false in the source URI does not start with
"file://".
(ldif_import_done): Close the file opened.
(ldif_import): Opening the proper file.
2005-07-09 Veerapuram Varadhan <vvaradhan@novell.com>
* gui/component/addressbook-component.c: (impl_createControls):
* gui/component/addressbook-view.[c,h]: (addressbook_view_edit_contact):
(impl_handleURI): Handle contacts:// uris.
2005-07-08 Sushma Rai <rsushma@novell.com>
* gui/widgets/eab-gui-util.c (eab_load_error_dialog): Including the
file path in the error string. Fixes #309624
2005-07-07 Frederic Crozat <fcrozat@mandriva.com>
* gui/component/addressbook-component.c: (ensure_sources):
* gui/component/addressbook-migrate.c: (create_groups):
Enable autocompletion on personal addressbook when creating it
(Mandriva bug #16427).
2005-07-06 Vivek Jain <jvivek@novell.com>
* gui/component/addressbook-view.c: (popup_event_callback)
* gui/widget/e-addressbook-view.c :(do_popup_menu)
added comments about the hookpoints
2005-07-06 Srinivasa Ragavan <sragavan@novell.com>
* gui/widgets/eab-gui-util.c: (contact_added_cb): Fixed for bug
309245.
* /gui/widgets/e-addressbook-view.c: Fixes the bug 206774, 242154.
* gui/widgets/eab-popup.c: (eab_popup_target_new_select) Fixes the
bug 206774, 242154.
* gui/widgets/eab-popup.h: Fixes the bug 206774, 242154.
2005-07-06 Not Zed <NotZed@Ximian.com>
* Makefile.am (SUBDIRS): build importers before the gui code.
* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
link to importer plugin builtins.
* importers/Makefile.am: just build a shared library with all the
importers in it, we dont install a plugin, it is just linked to
the main app for simplicity.
* importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in:
* importers/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in:
removed.
* importers/evolution-vcard-importer.c: ported
to eimport, simplified some logic (why test extensions and then test
file content anyway), fixed some memory leaks, etc.
* importers/evolution-ldif-importer.c (ldif_import): remove
progress dialog stuff, move to update e-import api.
2005-07-01 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook-component.c
(addressbook_component_init): hookup the builtin importer
'plugins'.
* importers/*: fix for importers->eplugin, also added a
window/progress dialog and cancel button.
2005-06-25 Harish Krishnaswamy <kharish@novell.com>
* gui/contact-list-editor/Makefile.am: The previous commit breaks
the build by introducing a circular dependancy. Revert the
changes.
2005-06-25 Sushma Rai <rsushma@novell.com>
* gui/component/addressbook-migrate.c (migrate_contacts): Setting
TYPE=OTHER default parameter to email attribute. Fixes #240756.
2005-06-25 Sushma Rai <rsushma@novell.com>
* gui/contact-list-editor/Makefile.am: Linking to
libevolution-addressbook.
2005-06-18 Tor Lillqvist <tml@novell.com>
* gui/component/Makefile.am
* gui/contact-editor/Makefile.am
* gui/contact-list-editor/Makefile.am
* gui/merging/Makefile.am
* gui/search/Makefile.am
* gui/widgets/Makefile.am: Prune unnecessary and nonexistent
directories from the -I options. Prune pathname macros not used in
the sources in that directory from the -D options.
* gui/component/Makefile.am
* gui/contact-editor/Makefile.am
* gui/contact-list-editor/Makefile.am
* util/Makefile.am: Use NO_UNDEFINED. Link with all necessary
libraries.
* gui/component/Makefile.am: Use Win32-specific hack to work
around MSYS feature in the gconftool invocation.
* gui/contact-editor/Makefile.am
* gui/contact-list-editor/Makefile.am: Use bootstrap library
libevolution-addressbook on Win32.
* gui/contact-editor/Makefile.am
* gui/contact-list-editor/Makefile.am
* util/Makefile.am: Use privsolib_LTLIBRARIES instead of
privlib_LTLIBRARIES (see ../ChangeLog).
* gui/component/GNOME_Evolution_Addressbook.server.in.in
* importers/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in
* importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in:
Use SOEXT.
2005-06-09 Sushma Rai <rsushma@novell.com>
* gui/widgets/e-addressbook-view.c:
Patch submitted by Hans Petter Jansson <hpj@novell.com>, for
Removing the references to the old wombat master category list,
replacing them with e-categories from libedataserver.
2005-05-16 Not Zed <NotZed@Ximian.com>
* moved e-error to e-util
* Makefile.am: renamed error xml file & u18n stuff.
2005-05-16 Srinivasa Ragavan <sragavan@novell.com>
* gui/components/GNOME_Evolution_Addressbook.server.in.in: Added tooltips
2005-05-12 Ulrich Neumann <uli@myuli.com>
* gui/contact-editor/contact-editor.glade:
Fixed wrong xalign of Zip/Postal Code. This
was very ugly in languages like german, dutch etc.
2005-05-11 Srinivasa Ragavan <sragavan@novell.com>
* gui/widgets//e-minicard.c: (add_field), (remodel):
Fixed the bug 209416. It shows a different view for contact lists
2005-05-09 Sushma Rai <rsushma@novell.com>
* gui/widgets/eab-gui-util.c (eab_contact_save)(eab_contact_list_save):
Finding if multiple contacts or a single contact has been selected for
saving, and storing it in SaveAsInfo structure.
(save_it): Depending on selected contacts, forming a part of error
message.
* addressbook-errors.xml: Changed the save-error message, to read
string contact/contacts.
Fixes #261969.
2005-05-09 Sushma Rai <rsushma@novell.com>
* gui/widgets/e-addressbook-view.c (eab_view_delete_selection): Checking
if single or multiple contacts/contact lists are being deleted. Also
finding the name, if the single contact/contact list is being deleted.
* gui/contact-editor/eab-editor.c (eab_editor_confirm_delete): Forming
the display messages based on the contact/contact list and number of
contacts/contact lists being deleted.
Fixes #222599
2005-05-06 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #301459
* gui/contact-list-editor/contact-list-editor.glade: Corrected
the spelling for addresses and address.
2005-05-06 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #272464
* addressbook-errors.xml:
* addressbook-errors.xml.h: Changed the primary and secondary
to make it more clear.
2005-04-28 Ross Burton <ross@burtonini.com>
* gui/widgets/e-addressbook-view.c:
* gui/widgets/eab-contact-display.c:
Fix some memory leaks.
2005-04-21 Mengjie Yu <meng-jie.yu@sun.com>
* gui/widgets/e-minicard-view-widget.c:
(e_minicard_view_widget_class_init),
(e_minicard_view_widget_real_focus_in_event):
Add focus_in_event function.
Fixes #300968 (gnome bugzilla bugID)
2005-04-17 Mengjie Yu <meng-jie.yu@sun.com>
* gui/widgets/e-minicard.c: (e_minicard_event):
We should incarnate the reflow item if it doesn't exist.
Fixes #300970 (gnome bugzilla bugID)
2005-04-04 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook.c (load_source_auth_cb)
(addressbook_authenticate) : get the uri from Ebook
instead of Esource. e_source_get_uri returns NULL when
it does not have a reference to source group with it
which happens when the source list from which this source
was taken is destroyed but Ebook has reference to that source.
e_book_get_uri returns the same uri and it will be always present
Fixes #73330
2005-04-03 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/eab-gui-util.c (do_copy) :
use eab_merging_book_add_contact instead of
e_book_async_add_contact to take care of duplicate
checking
Fixes #74255
2005-03-16 Li Yuan <li.yuan@sun.com>
* gui/widgets/gal-view-minicard.c: (gal_view_minicard_class_init):
remove the edit function.
Fixes #40762
2005-03-16 Mengjie Yu <meng-jie.yu@sun.com>
* gui/widgets/e-addressbook-view.c: (search_menu_activated):
make the search field consistent with the Search Dialog.
Fixes #73270
2005-03-03 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook.c (load_source_auth_cb):
Make sure LoadSourceData has call back installed
before calling it. cb is NULL when called from
auth_required_cb
Fixes #73206
2005-02-26 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/e-addressbook-view.c :
Change the e-popup item type for "Cut"
from E_POPUP_BAR to E_POPUP_ITEM
Fixes #73013
2005-02-25 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/conact-editor/eab-editor.c
(eab_editor_prompt_to_save_changes) : Just close
the editor when user presees cancel or closes the editor
when there are no changes. Seems to be broken
by earlier Change for #70371
Fixes #73005
2005-02-24 Sushma Rai <rsushma@novell.com>
* gui/component/addressbook-config.c (addressbook_config_edit_source):
Removed the hack, setting absolute URI to NULL. Fixes #72715
2005-02-23 Hans Petter Jansson <hpj@novell.com>
* gui/component/addressbook-view.c:
* gui/component/addressbook.c: Include
<libedataserverui/e-passwords.h>.
2005-02-19 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/eab-editor.c
(eab_editor_prompt_to_save_changes) : close
the editor here in case of save and discard
so that callers need not worry about closing
* gui/contact-list-editor/e-contact-list-editor.c
(closed_cb) (app_delete_event_cb) : don't close
the editor here as that is handled by _save_changes
call. Also no need to check for return value of that
function as it does not matter here.
Fixes #70371
2005-02-19 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook-component.c
(ensure_sources) : update the base uri
of the "On This Computer" group when user home dir
changes. Also unref personal source if created here.
Fixes #67724
2005-02-09 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook-config.c
(eabc_details_limit) : connect to "value_changed"
signal of spin button instead of "changed"
Fixes #72369
2005-02-09 Hans Petter Jansson <hpj@novell.com>
* gui/contact-editor/Makefile.am:
* gui/contact-list-editor/Makefile.am:
* util/Makefile.am: Install shared libraries to privlibdir.
2005-02-08 Christophe Fergeau <teuf@users.sourceforge.net>
* importers/evolution-vcard-importer.c (has_bom)
(fix_utf16_endianness) (utf16_to_utf8)
guess_vcard_encoding) : New functions which peeks at
the conents of the file and guesses the encoding and
to convert UTF-16 strings to UTF-8.
(load_file_fn) : check the encoding of the file
and convert UTF-16 and locale encoding to UTF-8
Fixes #54825
2005-02-07 JP Rosevear <jpr@novell.com>
* gui/component/apps_evolution_addressbook.schemas.in.in: clean up
descriptions
2005-01-06 Sivaiah Nallagatla <snallagatla@novell.com>
* e-minicard.c (remodel) : changed the loop
termination check to E_CONACT_LAST_SIMPLE_STRING -1
so that we will avoid displaying revision field
value in the minicard
2005-01-04 vivek jain <jvivek@novell.com>
* gui/component/addressbook.c (load_source_auth_cb):
display a warning dialog if the server version is not proper
* addressbook-errors.xml: added warning message for
invalid server version
2004-02-02 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-component.c (ensure_sources): Implement
based on the create_groups () function in addressbook-migrate.c.
(addressbook_component_init): Call ensure_sources (). This will create
the necessary addressbook source groups if they somehow disappeared
from GConf.
* gui/component/addressbook-config.c (addressbook_config_edit_source):
If we can't get any source groups, just issue a console warning and
return NULL. Creating sources without groups is meaningless.
Work around for #67411
2005-02-02 Rodney Dawes <dobey@novell.com>
* gui/component/ldap-config.glade: Fix a small spacing issue in the
Display section's children, to be HIG compliant
2005-01-31 Hans Petter Jansson <hpj@novell.com>
* gui/widgets/eab-config.c (_EABConfigPrivate): Use guint instead of
ulong for signal ID.
2004-01-29 Parthasarathi Susarla <sparthasarathi@novell.com>
* addressbook/gui/contact-list-editor/e-contact-list-editor.c
(save_contact) : call the eab_merging_* functions instead of
e_book_sync* directly. The merging function check for duplication.
The following functions have been called:
1. eab_merging_book_add_contact for adding a new entry
2. eab_merging_book_commit_contact for commiting a modified entry
Fixes bug #57819
2005-01-29 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.c
(sensitize_im_types) : new function to sensitize
im types based on supported fields
(sensitize_im_record) : call sensitize_im_types
for each record
(sensitize_im) : if none of the im types
are supported disable the im entries
Fixes #68799
2005-01-28 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/eab-vcard-control.c (pstream_load) :
Changed a string to make it complete and clear
for transaltion
Fixes #61067
2005-01-26 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook.c (addressbook_authenticate) :
Remove leading "%s" from the transalatable string
Fixes #36137
2005-01-26 Sivaiah Nallagatla <snallagatla@novell.com>
* util/eab-book-util.c (strstrcase) :
case insesitive version of strstr. Used
from camel
(eab_contact_list_from_string) : do case in sensitive
search for "BEGIN:VCARD" and "END:VCARD" to
take care of broken vcards
Fixes #70339
2005-01-26 Hao Sheng <hao.sheng@sun.com>
* gui/contact-list-editor/e-contact-list-editor.c:
(setup_name_selector): add access key to 'Member' Button.
2005-01-25 Rodrigo Moya <rodrigo@novell.com>
* gui/contact-editor/e-contact-editor.c (categories_clicked): use the
new ECategoriesDialog widget.
2005-01-21 JP Rosevear <jpr@novell.com>
Fixes #70622
* gui/widgets/eab-contact-display.c (eab_contact_display_init):
construct the html widget
2005-01-21 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/e-addressbook-model.[ch]
(eab_model_class_init) : renamed the signal
CONTACT_REMOVED to CONTACTS_REMOVED and chaned
the param type POINTER from INT
(remove_contact) : delete all the contacts
from the model and emit CONATCTS_REMOVED
signal instead of emitting it many times
* gui/widgets/e-addressbook-reflow-adpater.c
(e_addressbook_reflow_adapter_construct)
(remove_contacts) : renamed remove_contact to remove_contacts
and when number of conacts is more than 1 use _model_changed
instead of _remove_item
* gui/widgets/e-addressbook-table-adapter.c
(eab_table_adapter_construct)
(remove_contacts) : ditto
* gui/widgets/e-addressbook-view.c
(eab_view_new) :
(contacts_removed) : renamed contact_removed
to contacts_removed and traverese over indices
to find displayed contact indiex
fixes #71448
2005-01-21 Rodney Dawes <dobey@novell.com>
* gui/contact-editor/e-contact-quick-add.c (build_quick_add_dialog):
Change the xpad and ypad to 0 here, we don't need the extra padding
Add the GTK_DIALOG_NO_SEPARATOR flag for creating the dialog
Set proper border widths on some dialog containers for the HIG
Set the row/column spacings for the table widget
Create the labels outside of the table packing calls and set the proper
alignment for them to be HIG compliant
Set the border width of the table widget to 12 for HIG compliance
* gui/widgets/eab-popup-control.c (edit_contact_info_cb): Removed
(eab_popup_control_display_contact): Just go ahead and open the
editor, no need to have an intermittent window with a button for it
(add_contacts_cb): Remove this as we don't need it any more
(eab_popup_control_no_matches): Just go straight to the quick-add
dialog, and don't pop up an intermittent window with a button
Fixes #41210 #60852
2005-01-21 Rodney Dawes <dobey@novell.com>
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
Call gtk_widget_ensure_style to ensure that we set the border widths
of some dialog containers properly for HIG compliance
2005-01-21 Rodney Dawes <dobey@novell.com>
* gui/merging/eab-contact-duplicate-detected.glade:
Fix some spacing and remove the separator for HIG compliance
* gui/merging/eab-contact-merging.c (match_query_callback):
Set proper border widths on some dialog containers for the HIG
Fixes #41228
2005-01-21 JP Rosevear <jpr@novell.com>
Fixes #46404
* gui/widgets/e-addressbook-view.c (eab_view_print): just show the
dialog, not show all (margin settings aren't supposed to be used);
use e_print to get the dialog
(eab_view_print_preview): use e_print config for previewing
* printing/e-contact-print.c (e_contact_print_preview): get the
e_print config for previewing
(e_contact_print_contact_dialog_new): use e_print to get the
print dialog
* printing/e-contact-print-envelope.c
(e_contact_print_envelope_dialog_new): use e_print to get the
print dialog
2005-01-21 Hans Petter Jansson <hpj@novell.com>
* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name)
(quick_add_set_email): Don't set properties on the contact immediately.
(clicked_cb): Set the properties on the contact immediately before
passing it on. This way, the FULL_NAME will only be set once, and so
the FILE_AS field will be updated here.
2005-01-21 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook-config.c
(eabc_commit) : in case of new book
set the uid of the source as the relative
uri.
2005-01-19 Hao Sheng <hao.sheng@sun.com>
* gui/contact-editor/contact-editor.glade:
add accessable key to the contact editor UI.
* gui/contact-list-editor/contact-list-editor.glade:
add accessable key to the contact list editor UI.
2005-01-18 Hao Sheng <hao.sheng@sun.com>
* gui/component/addressbook-view.c:
(addressbook_view_init): add a11y name for the contact's
treeview.
2005-01-18 Hao Sheng <hao.sheng@sun.com>
* gui/contact-editor/contact-editor.glade:
add a11y names for widgets named "Image","Anniversary" and "Birthday".
* gui/contact-editor/e-contact-editor.c:
(e_contact_editor_create_date): add string1 as entry's a11y name.
2005-01-17 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.c
(fill_in_email_record) : show "other" when email
does not carry "TYPE"
(fill_in_email) : pass deafult email
types instead of -1 when clearing fields
Fixes #70922
2005-01-17 Hao Sheng <hao.sheng@sun.com>
* gui/contact-editor/contact-editor.glade:
add the a11y name for arrow-button named "Telephone".
2005-01-12 JP Rosevear <jpr@novell.com>
Fixes #61973
* gui/widgets/e-addressbook-view.etspec: add translator comment for TTYTDD
2005-01-11 Not Zed <NotZed@Ximian.com>
* util/eab-book-util.c (eab_name_and_email_query): cast length
specifier to int.
2005-01-10 Hans Petter Jansson <hpj@novell.com>
* gui/widgets/e-minicard.c (e_minicard_activate_editor): When spawning
an editor, set the initial editability from the target book, not from
the minicard's own (usually stale, useless) editable state.
2005-01-06 JP Rosevear <jpr@novell.com>
* gui/component/Makefile.am: install schemas properly
2004-12-21 Andre Klapper <a9016009@gmx.de>
* tools/evolution-addressbook-export.c:
Fixing bug 61068 (removing a white space in a string).
2004-12-23 Sivaiah Nallagatla <snallagatla@novell.com>
Part of merge from offline branch
* gui/widgets/addresbook-config.c (eabc_general_offline) :
fix some compile warings
(offline_status_changed_cb) : set "0" instead of NULL
as e-source property when offline is not checked
2004-11-23 Sivaiah Nallagatla <snallagatla@novell.com>
Part of merge from offline brnach
* gui/widgets/eab-gui-util.c (eab_load_error_dialog) :
added message which gets prompted when user tries
to access a book which is not available in offline mode
* gui/component/addressbook-config.c (eabc_general_offline)
(offline_status_changed_cb) : added a new check box
to properties page to mark a book for offline usage
* gui/component/addressbook.c (load_source_cb) : do no try to
authenticate in case of offline mode.
(auth_required_cb) : new call back which gets called
when backend sends notification for password to client
2004-12-23 Hans Petter Jansson <hpj@novell.com>
This is the last we see of ESelectNames.
* gui/component/select-names/Evolution-Addressbook-SelectNames.idl
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in
* gui/component/select-names/Makefile.am
* gui/component/select-names/e-select-names-bonobo.c
* gui/component/select-names/e-select-names-bonobo.h
* gui/component/select-names/e-select-names-completion.c
* gui/component/select-names/e-select-names-completion.h
* gui/component/select-names/e-select-names-config-keys.h
* gui/component/select-names/e-select-names-config.c
* gui/component/select-names/e-select-names-config.h
* gui/component/select-names/e-select-names-factory.c
* gui/component/select-names/e-select-names-factory.h
* gui/component/select-names/e-select-names-manager.c
* gui/component/select-names/e-select-names-manager.h
* gui/component/select-names/e-select-names-marshal.list
* gui/component/select-names/e-select-names-model.c
* gui/component/select-names/e-select-names-model.h
* gui/component/select-names/e-select-names-popup.c
* gui/component/select-names/e-select-names-popup.h
* gui/component/select-names/e-select-names-section.etspec
* gui/component/select-names/e-select-names-table-model.c
* gui/component/select-names/e-select-names-table-model.h
* gui/component/select-names/e-select-names-text-model.c
* gui/component/select-names/e-select-names-text-model.h
* gui/component/select-names/e-select-names.c
* gui/component/select-names/e-select-names.etspec
* gui/component/select-names/e-select-names.h
* gui/component/select-names/recipient.glade
* gui/component/select-names/select-names.glade: Begone.
2004-12-23 Hans Petter Jansson <hpj@novell.com>
* gui/component/Makefile.am (SUBDIRS): No more select-names.
(libevolution_addressbook_la_LIBADD): Remove libeselectnames.la.
* gui/component/component-factory.c (factory): Remove the select-names
component.
* gui/contact-list-editor/Makefile.am (IDL)
(IDL_GENERATED_H)
(selectnamesdir): No longer needed, so removed.
2004-12-22 Hans Petter Jansson <hpj@novell.com>
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_dispose): Unref the name selector.
(e_contact_list_editor_save_contact): Fix a warning.
(add_to_model): Take a list instead of a vector of destinations.
(select_names_ok_cb): Adapt to new name selector.
(setup_corba): Renamed to setup_name_selector () and adapted.
(select_cb): Adapt to new name selector.
* gui/contact-list-editor/e-contact-list-editor.h: Adapt to new
name selector and remove CORBA/Bonobo.
* gui/widgets/eab-popup.c (eabp_target_free)
(eabp_popup_target_new_select_names): #ifdef out code that
depended on the old name selector.
2004-12-17 Not Zed <NotZed@Ximian.com>
* util/ea-popup.c (emp_standard_menu_factory):
* gui/component/select-names/e-select-names.c (section_right_click_cb):
* gui/component/addressbook-view.c (popup_event_callback):
* gui/widgets/e-addressbook-view.c (do_popup_menu): api changes.
2004-12-21 JP Rosevear <jpr@novell.com>
Fixes #61975
* gui/widgets/test-reflow.c: kill translated strings that were #if
0'd anyhow
2004-12-21 JP Rosevear <jpr@novell.com>
* gui/search/e-addressbook-search-dialog.c: convert to
G_DEFINE_TYPE
* gui/widgets/gal-view-factory-minicard.c: ditto
* gui/widgets/gal-view-factory-treeview.c: ditto
2004-12-13 Vivek Jain <jvivek@novell.com>
* gui/component/addressbook-config.c (addressbook_config_edit_source): set the
window title based upon the source
2004-12-08 Hans Petter Jansson <hpj@novell.com>
* gui/component/addressbook-migrate.c
* gui/component/select-names/e-select-names-completion.c
* gui/component/select-names/e-select-names-manager.c
* gui/component/select-names/e-select-names-model.h
* gui/contact-list-editor/e-contact-list-editor.h
* gui/contact-list-editor/e-contact-list-model.h
* gui/widgets/e-minicard.c
* gui/widgets/eab-gui-util.c
* importers/evolution-ldif-importer.c
* importers/evolution-vcard-importer.c: Include
<libebook/e-destination.h> from evolution-data-server.
* util/Makefile.am: Remove e-destination.[ch] from here.
* util/e-destination.[ch]: Removed.
2004-12-08 S. Caglar Onur <caglar@uludag.org.tr>
* evolution-2.0.2/addressbook/gui/contact-editor/e-contact-editor.c
(get_ui_slot_param)
(get_attributes_named): some strcasecmp() calls changed with
g_ascii_strcasecmp() for Turkish character conversiton problems
[ http://www.i18nguy.com/unicode/turkish-i18n.html ]
2004-12-06 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook-config.c (eabc_general_type): set the
active item based on the current group.
2004-12-01 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.c (save_contact) :
save the uid and set it again in the contact. Otherwise, there is
possibility we trying to save the contact wiht out UID, as we destory the
contact and create new one when data is wrong
2004-11-28 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.h : Define
new list for storing required fields
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_class_init) : install new REQUIRED_FIELDS
property
(e_contact_editor_set_property)
(e_contact_editor_get_property) : added handling
for new RQUIRED_FIELDS_PROPERTY
(e_contact_editor_dispose) : unref the new
required_fields member
(required_fields_cb) : call back to set required fields into
contact editor
(is_non_string_field) : new method to detect
whether a particular field in contact is a string or not
(e_contact_editor_is_valid) : check for presence of
all required fields
(save_contact) : extract all the data before
calling e_contact_editor_is_valid so that
it can check for required fields. Clean up the contact
if there is an error
2004-11-27 Sushma Rai <rsushma@novell.com>
* gui/widgets/e-minicard-view.c (set_empty_message):
Checking for the static capability "do-initial-query",
and setting the relevent empty addressbook message.
2004-11-26 JP Rosevear <jpr@novell.com>
* gui/component/select-names/e-select-names-popup.c
(populate_popup_contact): get image directly from icon factory
* gui/contact-editor/e-contact-editor-im.c
(setup_service_optmenu): ditto
2004-11-25 Hao Sheng <hao.sheng@sun.com>
* gui/contact-editor/contact-editor.glade:
add "labelled by" between entry and label,
make accessbility work.
* gui/contact-editor/e-contact-editor.c:
(e_contact_editor_create_web): add accessible name to e_url_entry.
2004-11-22 Joan Sanfeliu <joan@fibranet.com>
* gui/component/apps_evolution_addressbook.schemas.in.in:
* gui/component/ldap-config.glade : Evolution product name spelled
with an uppercase E
Fixes #61065
2004-11-22 Rodney Dawes <dobey@novell.com>
* importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in:
Fix name attribute values to be identical
Fixes #61976
2004-11-21 Sivaiah Nallagatla <snallagatla@novell.com>
* rever last commit , it is supposed to for offline
branch not to HEAD
2004-11-21 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/eab-gui-util.c (eab_load_error_dialog) :
added message which gets prompted when user tries
to access a book which is not available in offline mode
* gui/component/addressbook-config.c (eabc_general_offline)
(offline_status_changed_cb) : added a new check box
to properties page to mark a book for offline usage
* gui/component/addressbook.c (load_source_cb) : do no try to
authenticate in case of offline mode.
(auth_required_cb) : new call back which gets called
when backend sends notification for password to client
2004-11-07 Sivaiah Nallagatla <snallagatla@novell.com>
* util/eab-book-util.c (eab_name_and_email_query) :
When name is NULL query against complete email id instead of
user name part to take care of users@foo.org not matching
against users@bar.org . Also include query based on name always
Fix for #67656
2004-11-16 Not Zed <NotZed@Ximian.com>
* util/Makefile.am (libeabutil_la_LIBADD): remove camel, add
ADDRESSBOOK_LIBS.
* conduit/Makefile.am (libeaddress_conduit_la_LIBADD): remove
camel.
* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
remove camel.
2004-11-15 Not Zed <NotZed@Ximian.com>
* *.c: Moved various things from e-util to libedataserver, where
appropriate.
2004-11-08 Andre Klapper <a901600@gmx.de>
Fixes bug #61966.
* addressbook-errors.xml: Add a missing word to a string.
2004-11-08 Steven Zhang <steven.zhang@sun.com>
* gui/widgets/e-minicard.c: (e_minicard_activate_editor):
rename and make it a public function.
(e_minicard_event): change accordingly.
* gui/widgets/e-minicard.h: ditto.
2004-11-04 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.c (save_contact) :
populate contact only afte we are sure that data is valid
and we can create that.
Fixes #69079
2004-11-07 Rodney Dawes <dobey@novell.com>
* gui/contact-editor/e-contact-editor.c
(init_email_record_location, init_im_record_location):
Translate the category pretty names that we pass for creation of
new menu item entries for the E-Mail and IM dropdown selections
Partially fixes bug #66854
2004-11-04 mengjie yu <meng-jie.yu@sun.com>
fix for bugzilla #44876
* gui/component/select-names/e-select-names-manager.c:
(e_select_names_manager_entry_new):add a atk name for the entry.
2004-11-2 Hao Sheng <hao.sheng@sun.com>
* gui/widgets/e-minicard-view.c: popup right-click menu after
pressing Shift+F10.
2004-11-01 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/eab-gui-util.c
(added_cb) (_modified_cb) : Don't show
error dialogs when status code is E_BOOK_ERROR_CANCELLED. We don't
wabt to show "Error adding contact, Cancelled" dialogs when user
cancels duplicated contact detected dialog.
2004-10-27 Andre Klapper <a9016009@gmx.de>
* tools/evolution-addressbook-export.c:
Fixing a typo (bug 61069).
2004-10-26 Andre Klapper <a9016009@gmx.de>
Fixes #61972.
* addressbook/gui/contact-editor/e-contact-editor-address.c:
Typo in country name: was "Grena-dines", now "Grenadines".
2004-10-25 Nat Friedman <nat@novell.com>
* gui/widgets/eab-contact-display.c (accum_multival_attribute):
Display mutlivalued contact attributes in the preview.
(render_contact): Render all IM fields using the new multival
function.
2004-10-21 JP Rosevear <jpr@novell.com>
* gui/widgets/eab-config.c (ecph_class_init): correct hook name
typo
* gui/component/addressbook-view.c: add appropriate popup icons
2004-10-21 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook-config.c
(addressbook_config_edit_source): fix a past-o for no-ldap case.
2004-10-20 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook-component.c
(addressbook_component_init): register config hook.
* gui/component/addressbook-config.c: mostly re-written to use econfig.
(query_for_supported_bases): convert to gtktreeview.
* gui/widgets/eab-config.c (ecp_set_target): hook onto source changed.
(ecp_source_changed): propagate changed state info.
(ecp_class_init): setup private data.
2004-10-19 Not Zed <NotZed@Ximian.com>
* gui/widgets/eab-menu.c (eabm_target_free): don't unref null
book.
2004-10-19 JP Rosevear <jpr@novell.com>
* gui/component/addressbook-view.c,
gui/component/select-names/e-select-names.c,
gui/widgets/e-addressbook-view.c, gui/widgets/eab-menu.c,
gui/widgets/eab-popup.c: convert to org.gnome hook names
2004-10-15 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/e-addressbook-view.c : add EAB_POPUP_SELECT_ANY
mask instead of EAB_POPUP_SELECT_MANY, so that
all the options like Save as, Forward etc are enabled even
single contact is selected.
2004-10-15 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/eab-contact-display.c : uncomment
HANDLE_MAILTO_INTERNALLY define so that we will
launch composer through bonobo instead of using
gnome_url_show
2004-10-15 Not Zed <NotZed@Ximian.com>
* gui/widgets/eab-popup.c: added an any select mask and updated
the hook maps.
* gui/component/addressbook-component.c
(addressbook_component_init): register the addressbook hooks.
* gui/component/addressbook-view.c (addressbook_view_init): setup
the menu manager.
(control_activate_cb): activate the menu manager.
(update_command_state): and update the menu manager.
* gui/widgets/eab-menu.[ch]: Added menu manager class.
2004-10-13 JP Rosevear <jpr@novell.com>
* importers/evolution-vcard-importer.c: find source selector and
option menu in libedataserverui
* importers/evolution-ldif-importer.c: ditto
* gui/widgets/eab-popup.c: ditto
* gui/widgets/eab-gui-util.c: ditto
* gui/contact-list-editor/e-contact-list-editor.c: ditto
* gui/contact-editor/e-contact-editor.c: ditto
* gui/component/select-names/e-select-names.h: ditto
* gui/component/autocompletion-config.c: ditto
* gui/component/addressbook-view.c: ditto
2004-10-11 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-view.c (source_list_changed_cb): Don't
unref the view - removing it from the hash table will do this for us.
Remove from hash table after removing the notebook page.
(addressbook_view_init): Unref views when removed from the hash
table.
2004-10-06 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook-view.c (popup_event_callback):
* gui/component/select-names/e-select-names.c (section_right_click_cb):
* gui/widgets/e-addressbook-view.c (do_popup_menu): fix for
e-popup api changes. Moved all mask specifiers to visible rather
than enable in the menu table.
2004-10-06 Not Zed <NotZed@Ximian.com>
* gui/contact-editor/e-contact-editor.c: removed
gnome-popup-menu.h (unused).
* gui/widgets/e-addressbook-reflow-adapter.c:
* gui/widgets/eab-popup-control.c: remove e-popup-menu.h (unused).
* gui/component/select-names/e-select-names.c
(section_right_click_cb): use e-popup. Somewhat overengineered
for this use ...
(remove_cb): api changes.
* gui/widgets/eab-popup.c (eab_popup_target_new_select_names):
added pretty useless wrapper for the select names popup. Added to
hook maps.
2004-10-01 Not Zed <NotZed@Ximian.com>
* gui/widgets/e-addressbook-view.c (do_popup_menu): convert to
using EABPopup.
(sources): remove dead code.
(has_email_address_1, get_has_email_address): removed now
redundant code.
(save_as, send_as, send_to, print, copy, paste, cut, delete)
(copy_to_folder, move_to_folder, new_card, new_list): new api.
(free_popup_info): dead.
(print_envelope): not pining.
(get_contact_list): take a popup target instead, don't ref.
(get_contact_list_1): not required no more.
(contact_and_book_free): same.
(delete): call eab_view_delete_selection.
(eab_view_delete_selection): do the actual delete here.
* gui/widgets/eab-popup.c (eab_popup_target_new_select): implement.
2004-10-01 Not Zed <NotZed@Ximian.com>
* gui/widgets/eab-popup.[ch]: addressbook popup driver.
* gui/component/addressbook-view.c (delete_addressbook_cb): use
e-error for the message prompt. don't bother keeping it around,
it can never be re-sensitised anyway.
(book_removed): no longer destroy the original dialogue.
* addressbook-errors.xml: add ask-delete for deleting
addressbooks.
* gui/component/addressbook-view.c (addressbook_view_init):
connect to popup_event rather than fill_popup_menu now.
(fill_popup_menu_callback): renamed to popup_event_callback,
changed to use epopup.
(add_popup_menu_item): remove, no longer needed.
2004-09-29 Not Zed <NotZed@Ximian.com>
Fixes bug #66520.
* gui/widgets/e-addressbook-view.c (eab_view_dispose): don't unref
the contact_display_window, it will be destroyed by being
parented.
2004-09-29 Hans Petter Jansson <hpj@ximian.com>
Fixes bug #66369.
* util/eab-book-util.c (eab_contact_list_from_string): Make the
vcard splitter work with any amount of blank lines between vcards.
2004-09-29 Hans Petter Jansson <hpj@ximian.com>
Fixes bug #65537.
* gui/merging/eab-contact-compare.c (query_cb): Protect against NULL
UIDs, and make fewer calls to e_contact_get_const () as a bonus.
2004-09-24 Hao Sheng <hao.sheng@sun.com>
Fix for #66523
* gui/contact-list-editor/e-contact-list-model.c:
(e_contact_list_model_add_email): estimate the same mail address
and popup a warning dialog.
* addressbook-errors.xml: add the question message for the warning
dialog.
2004-09-23 Pamplona Hackers <gnome-desarrollo@es.gnome.org>
Fixes #61978
* tools/evolution-addressbook-export.c (main): use more
meaningful error message.
2004-09-23 Fazlu & Hannah <hannah_lins@yahoo.co.in>
* tools/evolution-addressbook-export.c (main):
Changed the string into proper grammar 'In normal mode, there
should not need size option.' to 'In normal mode, there is no need
for the size option.'
2004-09-23 JP Rosevear <jpr@novell.com>
* conduit/address-conduit.c (ecard_from_remote_record): only set
the file as address to the company if no full name exists
(delete_record): don't bail out if the record simply isn't found
Fixes #59725
* conduit/address-conduit.c (local_record_from_uid): remove
extraneous semicolon
2004-09-21 William Jon McCann <mccann@jhu.edu>
* gui/component/component-factory.c (factory): Quiet debug messages.
* gui/widgets/e-addressbook-view.c (eab_view_new): Remove
unnecessary label widget placeholder. Make vertical scrollbar
policy automatic. Use gtk_paned_add2 instead of
gtk_container_add.
* gui/component/apps_evolution_addressbook.schemas.in.in: Add
missing show_preview schema. Add missing long descriptions.
2004-09-13 Rodney Dawes <dobey@novell.com>
* gui/contact-editor/e-contact-editor.c (show_help_cb):
Point at the correct XML file for documentation
2004-09-13 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.c
(sensitize_address) : check for _LABEL
type address fields also in supported fileds
while sensitizing the address fields
2004-09-03 JP Rosevear <jpr@novell.com>
Fixes #63191
* gui/contact-list-editor/contact-list-editor.glade: set the title
properly
2004-09-08 Not Zed <NotZed@Ximian.com>
** See bug #64080.
* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
link addressbook to camel.
2004-09-04 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/e-addressbook-view.h : add
new widget variable contact_dsiplay_window to _EABView strcut
to store. Remove unused scrolled varible
* gui/widgets/e-addressbook-view.c (eab_view_init)
(eab_view_dispose) : initialize and unref the new widget
added
(eab_view_new) : remove the loca variable scrlled_window
instead use eav->contact_display_window
(eab_view_show_contact_preview) : show/hide contact_display_window
instead of contact_display
Fixes #64024
2004-08-27 Not Zed <NotZed@Ximian.com>
** See bug #62856 (workaround).
* gui/component/addressbook.c (addressbook_authenticate): add
online flag to password request.
** See bug #64011.
* gui/component/addressbook-view.c (edit_addressbook_cb): Remove
double ;; in declaration section (c99 extension). From Vincent
Noel <vnoel@cox.net>.
2004-08-26 Hans Petter Jansson <hpj@ximian.com>
Really fixes #61833 and #63697.
* gui/component/select-names/e-select-names.etspec: Fetch values from
column 86 (NAME_OR_ORG), instead of 2 (FILE_AS).
2004-08-26 Chris Toshok <toshok@ximian.com>
[ patch for the rest of 60889 ]
* gui/merging/eab-contact-merging.c (add_lookup): new function,
either start up the query or add it to the queue if we're over the
number of simultaneous queries.
(finished_lookup): start up enough pending queries to get us to
our limit again.
(free_lookup): free lookup->avoid.
(final_id_cb): call finished_lookup.
(eab_merging_book_add_contact): set lookup->avoid to NULL and
replace call to eab_contact_locate_match_full with add_lookup.
(eab_merging_book_commit_contact): set lookup->avoid to the
contact, and make the same
s/eab_contact_locate_match_full/add_lookup/ replacement.
2004-08-26 Christian Neumair <chris@gnome-de.org>
* gui/component/GNOME_Evolution_Addressbook.server.in.in:
Don't mark component menu accel for translation.
2004-08-25 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook-config.c (source_to_dialog) :
disbale the display name widget in case of groupwise as we can not handle renames as
of now
(dialog_to_source) also copy "use_ssl" property to new source so that
new books also use ssl
2004-08-25 Hans Petter Jansson <hpj@ximian.com>
May fix #61833.
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): Get E_CONTACT_NAME_OR_ORG (first found from File As,
Full Name, Organization, Email 1) for the "name" field. Hopefully
will prevent most cases of blank entries.
2004-08-25 Frederic Crozat <fcrozat@mandrakesoft.com>
* gui/component/addressbook-view.c: (delete_addressbook_cb):
Don't call gtk_dialog_set_has_separator on Gtk Message Dialog
with GTK+ >= 2.4.0.
2004-08-20 Chris Toshok <toshok@ximian.com>
* gui/component/component-factory.c (factory): remove the dead
ldap config control stuff.
2004-08-20 Hans Petter Jansson <hpj@ximian.com>
Fixes bug #62715.
* gui/contact-editor/e-contact-editor.c
(fill_in_address_label_textview): Implement.
(fill_in_address_field): If structured address information is not
available, try putting the "label" blob in the free-form field.
2004-08-19 Hans Petter Jansson <hpj@ximian.com>
Makes the contact image selector use GtkFileChooser if available.
* gui/contact-editor/e-contact-editor.c (image_selected_cb): Take just
the editor as an argument, so we can call from other places without
having to supply dummy args. Rename to image_selected, since it's no
longer strictly a callback. Include optional code to use the new
GtkFileChooser.
(image_cleared_cb): Ditto. Rename to image_cleared.
(file_chooser_response): Optional response handling for GtkFileChooser.
(image_clicked): Include optional code to use the new GtkFileChooser.
Move common strings to variables. For GtkFileSelection, swap callback
parameters for the modified image_selected () and image_cleared ().
2004-08-19 Chris Toshok <toshok@ximian.com>
[ likely fixes #61500 ]
* addressbook-errors.xml (remove-addressbook): remove the
secondary text, since we don't have the gerror text to supply it
anymore.
* gui/component/addressbook-view.c (book_removed): new function,
move the error handling here.
(delete_addressbook_cb): create a closure with necessary data, and
call the e_book_async_remove instead of e_book_remove.
2004-08-18 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/select-names/e-select-names.c (e_select_names_init) :
select names dialog can not be modal as password dialogs can come up while
user is in this dialog for address books which require authentication
like groupwise and LDAP
FIxes #63257
2004-08-11 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (app_delete_event_cb):
Remove the custom prompt-to-save dialogs from here - use
eab_prompt_save_dialog (), and then only if the contact actually
changed.
2004-08-16 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-gui-util.c (eab_show_multiple_contacts):
reinstate the ngettext patch that was part of the #53464 commit of
2004-03-24 by dsegan@gmx.net.
2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org>
* gui/widgets/eab-gui-util.c: Optionally use GtkFileChooser if
compiled against Gtk+ >= 2.4.0
2004-08-10 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook.c (addressbook_authenticate): e
passwords api change/reprompt if we need to.
2004-08-12 Sivaiah nallagatla <snallagatla@novell.com>
* gui/compoent/addressbook.c : just revering a local change
gone in in the commit i just made
2004-08-12 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addresbook.c (load_source_auth_cb) :
when user cancels auth dialog send the anonoymous query
only in case of ldap
*gui/component/addresbook-view.c (book_open_cb) : no need to
display the error dialog when user cancels that
2004-08-04 Rodney Dawes <dobey@novell.com>
* gui/widgets/eab-popup-control.c: #include <gtk/gtkvbox.h>
2004-08-02 Hans Petter Jansson <hpj@ximian.com>
Fixes #60529.
* gui/contact-list-editor/e-contact-list-editor.c
(table_drag_drop_cb): Make sure to get the text/x-vcard target.
2004-08-02 Hans Petter Jansson <hpj@ximian.com>
Fixes #62085.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_class_init): Set the save_contact method.
(e_contact_list_editor_save_contact): Implement.
2004-08-02 JP Rosevear <jpr@novell.com>
* conduit/address-conduit.c (addrconduit_load_configuration): get
source uid
(addrconduit_dupe_configuration): copy source_uid
(addrconduit_destroy_configuration): free source_uid
(e_addr_context_new): get the source list
(e_addr_context_destroy): unref the source list
(pre_sync): open the source that was set earlier
(fill_widgets): set the source option menu value
(create_settings_window): pass source list to pilot settings
(save_settings): save source uid
* conduit/Makefile.am: link to and include misc. widgets
2004-08-02 Rodney Dawes <dobey@novell.com>
* gui/component/ldap-config.glade: Make the main dialog here be
an actual GtkDialog instead of a GtkWindow
Fix up a few small spacing issues with the UI
Change "Contacts Group" to "Address Book"
* gui/component/addressbook-config.c (query_for_supported_bases):
Use gtk_widget_ensure_style instead of gtk_widget_realize
(addressbook_add_server_dialog):
Use gtk_widget_ensure_style on the dialog and fix the spacing and
border width of the dialog containers
Fixes #61365
2004-07-30 Chris Toshok <toshok@ximian.com>
[ fixes #61365 and other misc issues with the addressbook source
editors ]
* gui/component/ldap-config.glade: change the
supported-bases-dialog to be initially hidden.
* gui/component/addressbook-view.c (editor_weak_notify): new
function, remove the editor from our hash.
(source_list_changed_cb): destroy the editors for given sources if
they're up when the source disappears.
(edit_addressbook_cb): add the editor (and some other misc info we
need) to our uid_to_editor hash so we can look it up later. only
create the editor if one doesn't exist for the given source.
(destroy_editor): GHFunc that destroys the widgets.
(addressbook_view_dispose): destroy uid_to_editor.
(addressbook_view_init): init uid_to_editor.
* gui/component/addressbook-config.h: change return values for
_edit_source and _new_source - they both return GtkWidget*s now.
* gui/component/addressbook-config.c (addressbook_ldap_init):
attempt set the protocol version to LDAPv3. This makes the
ldap_auth stuff work if the server requires v3.
(addressbook_root_dse_query): we don't need the separate window
arg, since all of this now happens *before* the supported bases
dialog is shown. we just use the source dialog's window for the
various error dialogs.
(do_ldap_root_dse_query): same.
(query_for_supported_bases): same, and set the supported bases
dialog as transient-for the source dialog, and make it modal.
Lastly, don't make the editor modal.
(addressbook_config_edit_source): return the editor's window.
(addressbook_config_create_new_source): same.
2004-07-26 JP Rosevear <jpr@novell.com>
* gui/component/ldap-config.glade: change contacts group to
address book
* gui/component/addressbook-component.c
(impl__get_userCreatableItems): ditto
2004-07-19 Radek Doulik <rodo@ximian.com>
* gui/widgets/eab-vcard-control.c (eab_vcard_control_new): but
buttons to button box, use vbox instead of table
* gui/widgets/eab-contact-display.c: base this widget directly on
gtkhtml
* gui/widgets/e-addressbook-view.c (eab_view_new): put contact
display in scrolled window
2004-07-20 Not Zed <NotZed@Ximian.com>
* gui/widgets/eab-contact-display.c:
* gui/contact-editor/eab-editor.c:
* gui/component/addressbook-migrate.c: include config.h #61395.
2004-07-21 Chris Toshok <toshok@ximian.com>
[ fixes #60508 ]
* gui/component/addressbook-config.h: reorder the Scopes so that
they match the option menu.
* gui/component/ldap-config.glade: change the scope option menu to
only display One and Sub, and also set the Login field to Lo_gin
in both dialogs. Add accelerators for the details page as well.
2004-07-21 Rodney Dawes <dobey@novell.com>
* gui/contact-editor/contact-editor.glade:
Give a reasonable name to the widget for the _Where label
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
Set the mnemonic widget for the _Where label
Fixes #61544
2004-07-20 JP Rosevear <jpr@novell.com>
* gui/component/autocompletion-config.c
(autocompletion_config_control_new): don't set the toggle
selection
2004-07-16 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (contact_added_cb)
(save_contact)
(app_delete_event_cb): Check source book writeability directly instead
of relying on stored state.
(e_contact_editor_init): Don't init source_editable.
(e_contact_editor_dispose): We don't listen for source writeability
anymore.
(writable_changed): Source writeability doesn't affect widget
status; remove code to check for it.
(e_contact_editor_set_property): Do nothing if book being set is
the same as currently set book; previously we would end up
unreffing then reffing it. Don't watch for source writeability, but
do so for target; fixes a warning. Only call sensitize_all() if
writeability on target changed.
* gui/contact-editor/e-contact-editor.h (EContactEditor): We don't
need the source_editable and source_editable_id vars anymore.
2004-07-14 Chris Toshok <toshok@ximian.com>
[ fixes #60873, and possibly other crashes ]
* gui/widgets/e-addressbook-model.c (get_view): don't call
free_data before potentially making an async call. Or rather,
don't call free_data without ensure we'll be emitting
MODEL_CHANGED shortly after.
2004-07-14 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/.cvsignore: ignore
Evolution-Addressbook-SelectNames.h.
* gui/contact-list-editor/e-contact-list-editor.c: include our
local (in this directory) generated
Evolution-Addressbook-SelectNames.h
* gui/contact-list-editor/Makefile.am: add stuff to generate (and
clean up) the select names header we need to include.
2004-07-13 Rodney Dawes <dobey@novell.com>
[ fixes #56657 ]
* gui/component/addressbook-migrate.c (get_source_by_uri):
Replace this call with get_source_by_name ()
(migrate_completion_folders): Fix the non-local folder migration
to look up sources for the migrated folders based on name, instead
of using the URI
2004-07-12 Chris Toshok <toshok@ximian.com>
[ fixes #61299 ]
* gui/component/addressbook.c (addressbook_load_default_book):
don't pass @closure to load_source_cb, since that expects to get a
LoadSourceData*. also, don't always call e_book_async_open. only
do that when the book is non-NULL.
2004-07-12 Chris Toshok <toshok@ximian.com>
[ part of fix for bug #56520 ]
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_init): init allows_contact_lists to TRUE.
(list_deleted_cb): nuke, it's unused.
(e_contact_list_editor_set_property): check if the book supports
contact lists, and desensitize things if it doesn't.
(select_names_ok_cb): this isn't valid C. declarations must come
before code.
(set_editable): the editable state of the dialog depends on
whether or not the backend supports contact lists.
(command_state_changed): the ok button needs to depend on
allows_contact_lists.
(extract_info): quiet compiler warning.
* gui/contact-list-editor/e-contact-list-editor.h (struct
_EContactListEditor): add allow_contact_lists.
2004-07-08 Frederic Crozat <fcrozat@mandrakesoft.com>
* gui/component/Makefile.am:
tarball should ship .schemas.in.in files, not generated files.
* gui/component/apps_evolution_addressbook.schemas.in.in:
Don't set empty default value on an int, this causes gconf warning.
(bug #60859)
2004-09-04 Not Zed <NotZed@Ximian.com>
* util/e-destination.c: include gnome-i18n.h since camel-object no
longer does(!).
2004-07-02 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c
(command_state_changed): Set the source option menu sensitivity here.
2004-06-30 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_dispose): disconnect source/target_editable
signal ids.
(e_contact_editor_set_property): disconnect/connect editable
signals.
(writable_changed): new function - we need this since writable
status is generally communicated asynchronously with the async
interface.
* gui/contact-editor/e-contact-editor.h (struct _EContactEditor):
add source/target_editable_id slots.
2004-06-29 Rodney Dawes <dobey@novell.com>
* tools/Makefile.am (bin_PROGRAMS): Change to privlibexec_PROGRAMS
Fixes #60832
2004-06-28 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook-component.c
(impl__get_userCreatableItems): fix shortcuts. #56746
2004-06-25 Hans Petter Jansson <hpj@ximian.com>
* gui/meging/eab-contact-compare.[ch] (eab_contact_compare_file_as):
Implement.
(eab_contact_compare_name): Don't leak if only one of the strings is
NULL.
(use_common_book_cb): Include file_as in query.
2004-06-25 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (fill_in_address_textview): Add
a newline between street line and rest of extended address.
(extract_address_textview): Omit the newline trailing the street line.
2004-06-24 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (address_labels): Add table.
(append_to_address_label): Implement.
(set_address_label): Implement.
(extract_address_record): Set the address label fields.
2004-06-24 Hans Petter Jansson <hpj@ximian.com>
* util/eab-book-util.c (eab_contact_list_from_string): Don't accept
input that doesn't have at least a "BEGIN:VCARD" in it.
2004-06-24 Radek Doulik <rodo@ximian.com>
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_get_textification): do not limit the text
len to 2047 characters
See bug #60366
2004-06-23 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Set window to be invisible
initially.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Set
the type hint to "normal", and show the window after init.
2004-06-23 Not Zed <NotZed@Ximian.com>
* gui/widgets/eab-gui-util.c
(eab_send_contact_list_as_attachment): use memcpy not strcpy to
copy to memory buffer. Fixes a UMW. See #60532.
2004-06-23 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-view.c: Add an x-source-vcard target entry
that includes the source book URI.
(destroy_merge_context): Implement.
(removed_contact_cb): Implement.
(merged_contact_cb): Implement.
(selector_tree_drag_data_received): Get the source and target books,
and see if we need to remove contacts from source after they're added
to target. Copy contacts sequentially, not in parallel, with a
callback.
* gui/widgets/e-addressbook-view.c: Add an x-source-vcard target entry
that includes the source book URI.
(table_drag_data_delete): Remove. This is handled by the drag target.
(table_drag_data_get): Handle more than one contact. Supply source.
(create_table_view): Don't connect to the delete signal.
* gui/widgets/e-minicard-view.c: Add an x-source-vcard target entry
that includes the source book URI.
(e_minicard_view_drag_data_delete): Remove. This is handled by the
drag target.
(e_minicard_view_drag_data_get): Handle x-source-vcard target.
(e_minicard_view_drag_begin): Don't connect to the delete signal.
(e_minicard_view_dispose): Don't disconnect from the delete signal.
(e_minicard_view_init): Don't init delete_id.
* gui/widgets/e-minicard-view.h: Remove delete_id from struct.
* util/eab-book-util.[ch] (eab_contact_list_from_string): Skip the
source URI if present.
(eab_book_and_contact_list_from_string): Create the source book from
the provided URI, if present.
(eab_book_and_contact_list_to_string): Include the book URI in
generated string.
2004-06-23 Rodney Dawes <dobey@novell.com>
* gui/component/select-names/select-names.glade:
Move the search bar to the top and add a label _Search so that the
entry has a mnemonic for keyboard accessibility
Fixes #52914 and #58448
2004-06-22 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Name the labels.
* gui/contact-editor/e-contact-editor.c (sensitize_email_record)
(sensitize_phone_record)
(sensitize_im_record)
(sensitize_address_textview)
(sensitize_address_field)
(simple_field_map)
(sensitize_simple_field): Make entries uneditable and labels
insensitive, if field is disabled or read-only.
2004-06-22 Hans Petter Jansson <hpj@ximian.com>
Fixes #59622.
* gui/widgets/e-minicard-view.c (e_minicard_view_init): Clear drag_list
and canvas_drag_data_delete_id.
(e_minicard_view_dispose): Clear drag_list. Disconnect drag_data_delete
signal if connected.
(e_minicard_view_drag_begin): Set up drag_data_delete signal if
necessary. Clear old data before drag starts.
(clear_drag_data): Implement.
(e_minicard_view_drag_data_delete): Implement.
(e_minicard_view_drag_data_get): Don't clear drag_list here.
2004-06-22 Chris Toshok <toshok@ximian.com>
[ should fix #60495, #58635 ]
* gui/widgets/eab-popup-control.c (name_only_query_cb): don't free
the list of contacts - libebook still owns it.
(query_cb): same.
2004-06-22 Larry Ewing <lewing@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (add_email_cb):
don't set the changed flag unless we actually add something.
2004-06-21 Federico Mena Quintero <federico@ximian.com>
* gui/contact-editor/contact-editor.glade: Make the scrolled
windows around text views use GTK_SHADOW_IN, for consistency with
the GtkEntries.
2004-06-21 Chris Toshok <toshok@ximian.com>
* gui/component/ldap-config.glade: remove the auth-entry-notebook
in the edit dialog, and rename the auth entry to... auth-entry.
* gui/component/addressbook-config.c (source_to_dialog_new): nuke
- it's identical to source_to_dialog.
(dialog_to_source): we only have one auth entry now. fill it in
properly.
(source_to_dialog): fill in the auth entry properly based on the
auth type, and remove auth_entry_notebook references.
(auth_optionmenu_activated): remove auth_entry_notebook
references.
(setup_general_tab): same, and use auth-entry instead of
email-entry/dn-entry.
(general_tab_check): use auth_principle instead of email/binddn.
(add_folder_modify): same.
(addressbook_add_server_dialog): put setup_connecting_tab inside
the ifdef HAVE_LDAP, and call source_to_dialog instead of
source_to_dialog_new.
(addressbook_config_edit_source): always call setup_general_tab.
* gui/component/addressbook-config.h (AddressbookLDAPScopeType):
reorder to match order in option menu (we should really remove
BASE altogether.. it's useless for searching.)
* gui/component/addressbook-view.c (update_command_state):
macroize this, annoying seeing the same 4 lines repeated 15 times.
2004-06-21 Jeffrey Stedfast <fejj@novell.com>
* conduit/address-conduit.c (local_record_from_uid): Make sure the
UIDs match. Should fix bug #59725.
2004-06-19 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook-config.c (dialog_to_source) :
set auth-domain property on groupwise sources, so that
newly created contact groups can share remembered passwords
2004-06-18 Jeffrey Stedfast <fejj@novell.com>
* conduit/address-conduit.c (ecard_from_remote_record): Always set
the File_As attribute in case the pilot attrib changed. Fixes bug
#59723.
2004-06-18 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_load_contacts): only go through the process
of creating/loading the EBook if the model has some data in it.
2004-06-18 Chris Toshok <toshok@ximian.com>
[ fixes bug #59376 ]
* gui/component/addressbook-view.c (fill_popup_menu_callback):
make this work with absolute uris in sources. Thanks to Sushma
Rai for the initial patch to fix this.
2004-06-17 Chris Toshok <toshok@ximian.com>
[ fixes bug #58696 ]
* gui/widgets/eab-gui-util.c (eab_transfer_contacts): use
addressbook_load instead of e_book_async_open, so we do auth stuff
for the destination book.
2004-06-17 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (e_contact_editor_new):
EBookFieldsCallback -> EBookEListCallback.
(e_contact_editor_set_property): same.
2004-06-17 Chris Toshok <toshok@ximian.com>
* util/eab-book-util.c (eab_name_and_email_query):
EBookContactsCallback -> EBookListCallback.
(eab_nickname_query): same.
* printing/e-contact-print.c: e-book-async.h -> e-book.h
* gui/widgets/eab-vcard-control.c: e-book-async.h -> e-book.h.
* gui/widgets/e-addressbook-model.h: e-book-async.h -> e-book.h.
* gui/widgets/eab-popup-control.h: e-book-async.h -> e-book.h.
* gui/widgets/eab-popup-control.c: remove e-book-async.h include.
* gui/merging/eab-contact-merging.h: e-book-async.h -> e-book.h.
* gui/contact-editor/e-contact-editor.h: e-book-async.h ->
e-book.h.
* gui/contact-editor/e-contact-editor.h: same.
* gui/contact-list-editor/e-contact-list-editor.h: same.
* gui/contact-list-editor/e-contact-list-model.h: remove include
of e-book-async.h
* gui/component/select-names/e-select-names-completion.h: include
e-book.h, not e-book-async.h
* gui/component/select-names/e-select-names-model.c: same.
* gui/component/select-names/e-select-names.c: same.
* gui/component/addressbook-migrate.c: include e-book.h, not
e-book-async.h
* gui/component/addressbook-view.c: same.
* gui/component/addressbook.h: same.
* gui/component/addressbook.c: remove include e-book-async.h.
2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/e-addressbook-view.etspec : update
the model column numbers as new fields like E_CONTACT_EMAIL_4
are added to EContact
Fixes #59621
2004-06-16 Not Zed <NotZed@Ximian.com>
* gui/component/autocompletion-config.c
(autocompletion_config_control_new): set the source selector to be
able to toggle the current selection. Fix for #55614.
2004-06-16 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.c (full_name_clicked) :
compare old and new full names and if it is different set the new
the name using gtk_entry_set_text instead of set_entry_text
as this function blocks siganls hence preventing ok button being
enabled
2004-06-14 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (extract_im_record): set
things to HOME, since we don't offer TYPE=OTHER IM attributes
through the EContact api, and one choice is just as good as
another if we aren't displaying it anyway.
* gui/widgets/eab-contact-display.c (render_contact): move the IM
stuff out of home/work, since we don't allow people to edit
location for them anymore. Also, change the IM accounts we look
up to "HOME", since that's what we hardcode them to in the contact
editor.
2004-06-14 Not Zed <NotZed@Ximian.com>
* importers/evolution-ldif-importer.c (parseLine): handle LIST
field types.
(ldif_fields[]): Add a list type. E_CONTACT_EMAIL is a list field
type. See #58855.
2004-06-08 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-model.c (get_view_idle): new
function. do the get_view in an idle handler.
(eab_model_set_property): don't call get_view directly from any
setter block. instead just add the idle handler (if it's not
already added.) This keeps us from duplicating queries when both
"book" and "query" are set using the same g_object_set.
* gui/widgets/e-addressbook-model.h: add book_view_idle_id.
2004-06-07 Hans Petter Jansson <hpj@ximian.com>
Fixes #58921.
* gui/contact-editor/e-contact-editor.c (extract_address_record):
Also check if the po box field is non-empty.
2004-06-07 Jon Oberheide <jon@focalhost.com>
* gui/contact-list-editor/e-contact-list-model.c: disable editing
of cells in the contact table.
2004-06-07 Hans Petter Jansson <hpj@ximian.com>
Fixes #57795.
* gui/component/addressbook-migrate.c (migrate_contacts): Change
the "POSTAL" address in 1.4 to "OTHER" in 1.5.
2004-06-07 Hans Petter Jansson <hpj@ximian.com>
* gui/Makefile.am (SUBDIRS): Fix order of dependencies.
2004-06-07 H P Nadig <hpnadig@pacific.net.in>
* gui/contact-list-editor/e-contact-list-editor.h: Added few
headers needed for select names dialog.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_init): Added select button handler.
(select_cb): The callback function for Select Button.
(setup_corba): To setup corba for select names dialog.
(select_names_ok_cb): Handle Select names dialog entries.
(add_to_model): Adds cards to the model.
* gui/contact-list-editor/contact-list-editor.glade: New 'Select'
Button. Tooltips added for buttons in button Box.
2004-06-07 Dan Winship <danw@novell.com>
* gui/component/addressbook-view.c: s/stock_save_as/stock_save-as/
2004-06-04 Larry Ewing <lewing@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c: remove bonobo
menus and cruft add ok/cancel buttons.
* gui/contact-list-editor/e-contact-list-editor.h: add buttons for
ok/cancel.
* gui/contact-list-editor/contact-list-editor.glade: add fields for
ok/cancel reparent to GtkDialog, other minor adjustments.
2004-06-04 JP Rosevear <jpr@novell.com>
Fixes #55945
* importers/*.server.in.in: ditto
* importers/evolution-ldif-importer.c: fix OAFIIDs
* importers/evolution-vcard-importer.c: ditto
2004-06-04 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-model.c
(name_and_email_simple_query_cb): only resolve destinations
against persons, not contact lists.
2004-06-03 Hans Petter Jansson <hpj@ximian.com>
Fixes #53643 and #26903.
* gui/search/addresstypes.xml: category -> category_list
* gui/search/e-addressbook-search-dialog.c (get_widget): Get
filter rule from parent view.
(eab_search_dialog_set_property): Implement.
(eab_search_dialog_get_property): Impleent.
(eab_search_dialog_class_init): Set up property methods.
(get_query): Get filter rule from parent view.
(eab_search_dialog_init): Don't get the filter widget here,
wait until parent view property is set.
(eab_search_dialog_new): Don't poke the parent view in, set it
as a property instead.
(eab_search_dialog_dispose): No longer needs to unref rule.
* gui/search/e-addressbook-search-dialog.c: EABSearchDialog no
longer needs to keep rule internally.
* gui/widgets/Makefile.am: Set SEARCH_RULE_DIR define.
* gui/widgets/e-addressbook-view.c (eab_view_new): Set up filter
rule and context.
(eab_view_peek_search_context): Implement.
(eab_view_peek_search_rule): Implement.
* gui/widgets/e-addressbook-view.h: Keep track of filter rule
and context. Add protos for added API.
2004-06-03 Jeffrey Stedfast <fejj@novell.com>
* conduit/address-conduit.c (set_status_cleared): Protect against
a NULL uid. Fixes bug #57619.
(ecard_from_remote_record): Set the full_name of the contact so
that we can use that as the FILE_AS rather than the company name,
which sucked. Fixes a bug I may or may not have reported months
ago. Ahah, fixes bug #57620.
2004-06-02 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-migrate.c
(migrate_contact_folder_to_source): Add missing negation that caused
a crash.
2004-06-02 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (addressbook_migrate):
remove hidden field migration, and add in a phase to clear the
absolute_uri properties on ESources.
2004-06-02 Rodney Dawes <dobey@novell.com>
* gui/component/addressbook-config.c (focus_help, add_focus_handler):
Don't need these two functions any more
(source_to_dialog, auth_optionmenu_func):
Don't try to change the notebook page or set the widget sensitive,
for a notebook that doesn't exist any more
(reparent_to_vbox): Don't need this function any more, as the
widgets are all contained in the same dialog in the glade now
(setup_general_tab, setup_connecting_tab, setup_searching_tab):
We don't need to do the focus-based "tooltip" stuff any more
We just use tooltips on the widgets now
(ssl_optionmenu_selected, add_ssl_activate_cb):
We don't need the ssl_optionmenu_selected callback any more, as the
tooltips are just set on the necessary widgets now
(query_for_supported_bases): Set the border widths on the dialog's
vbox and action_area to be compliant with the HIG
(addressbook_add_server_dialog): Unref the GConfClient object
(addressbook_config_edit_source): Create the source_list so that
we can actually save the changes that we make here
Create the GladeXML with only the widget subtree that we need to
use here, to avoid popping up other visible dialogs
Set the border widths on the dialog's vbox and action_area to be
compliant with the HIG
We don't need to reparent widgets to vboxes any more, as the widgets
are now part of the dialog's widget tree
If we are without LDAP or not in LDAP mode, then hide the notebook
borders, and change the border size of its child to appear as though
we are a normal non-LDAP dialog
We don't need to set the type hint on the window as we are no a
real GtkDialog
* gui/component/ldap-config.glade: Update the properties dialogs to
be compliant with the HIG layout
Get rid of some of the extra windows and put their children in the
appropriate places in the properties dialog
Make the properties dialog be a real GtkDialog
Fixes #41141
2004-06-01 Larry Ewing <lewing@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c: Add in a source
option menu to the dialog and make is sensitive only on new lists.
* gui/contact-list-editor/e-contact-list-editor.h: add load_book
fields for async book loading.
* gui/contact-list-editor/contact-list-editor.glade: add the new
source selector in a table reorder some of the other widgets.
2004-05-28 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c (render_contact): render all
email addresses, not just the first 3.
(eab_contact_display_class_init): use a C comment, not C++.
2004-05-28 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(entry_set_property_fn): call e_select_names_model_load_contacts
after setting text/addresses/destinations.
* gui/component/select-names/e-select-names-model.c
(name_and_email_simple_query_cb): new function, ripped from the
1.4 e-destination stuff.
(book_opened): new function, fire off eab_name_and_email_query for
each item in our model (that doesn't represent a contact already).
(e_select_names_model_load_contacts): new function, open the
default addressbook (yeah yeah, i know we should open something
different/more.)
(e_select_names_cancel_contacts_load): new (unimplemented, and how
do we implement it?) function.
* gui/component/select-names/e-select-names-model.h: add
prototypes for e_select_names_model_load_contacts and
e_select_names_cancel_contacts_load.
* gui/component/select-names/e-select-names.c (set_book): call
get_query_string and set the book and query in a single call to
g_object_set, just because we can/should.
(update_query): reimplement in terms of get_query_string.
(get_query_string): new function, build up the query string.
* gui/component/select-names/Makefile.am (INCLUDES): add
$(top_srcdir)/addressbook/util to INCLUDES.
2004-05-28 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Add back office, spouse,
web log fields. Allow for 8 phone numbers, of which 4 can be hidden.
* gui/contact-editor/e-contact-editor.c (phones_default): Add more
defaults.
(im_service_default): Add more defaults.
(expand_phone): Implement.
(fill_in_phone_record): Expand if we have any records past 4.
(init_im_record_location)
(fill_in_im_record)
(extract_im_record)
(sensitize_im_record): Remove location.
(simple_field_map): Add spouse, office, web log.
(expand_phone_toggle): Implement.
(e_contact_editor_init): Hook up expander button.
2004-05-28 Christophe Fergeau <teuf@gnome.org>
* gui/component/addressbook-config.c: added missing #ifdef HAVE_LDAP
2004-05-26 Radek Doulik <rodo@ximian.com>
* gui/widgets/e-addressbook-view.c (e_contact_print_button): call
gnome_print_beginpage
(e_contact_print_button): call gnome_print_beginpage
Fixes #58977
2004-05-25 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_activate_obj): reenable this function,
in a slightly broken manner. we don't have e_contact_get_book
anymore (well, we never had it really... but we lost
e_card_get_book). load the system addressbook and supply that to
the editors. shouldn't be a problem, since it's a read-only
editor anyway.
2004-05-25 Chris Toshok <toshok@ximian.com>
[ fixes #58654 ]
* gui/component/select-names/e-select-names.c (update_query):
build up the query using e_book_query calls so we're insulated
from field name changes. also, conjoin if we have more than 1
query element, not more than 2 (i *hope* this was an off by 1
error...)
2004-05-25 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook.c (load_source_auth_cb )
(load_source_auth_cb ) : read the "auth-domain" property
from e-source and use it as the component name for e_password_*
calls if it exists
2004-05-25 Jeffrey Stedfast <fejj@novell.com>
* Makefile.am: Generate the addressbook-errors.xml.h file and
install the xml file and all that jazz.
* addressbook-errors.xml: New error xml file.
* gui/widgets/e-addressbook-view.c (backend_died): Use
e_error_run().
* gui/widgets/eab-gui-util.c (eab_error_dialog): Use
e_error_run().
(eab_load_error_dialog): Same.
(eab_search_result_dialog): Same.
(eab_prompt_save_dialog): Same.
(save_it): Same.
* gui/contact-editor/e-contact-editor.c (categories_clicked): Use
e_error_run().
(e_contact_editor_is_valid): Same.
(save_contact): Same.
* gui/component/addressbook-view.c (delete_addressbook_cb): Use
e_error_run().
* gui/component/addressbook-config.c (addressbook_ldap_init): Use
e_error_run().
(addressbook_ldap_auth): Same.
(addressbook_root_dse_query): Same.
(do_ldap_root_dse_query): Same.
(do_schema_query): Same.
2004-05-24 Chris Toshok <toshok@ximian.com>
* Makefile.am (SUBDIRS): add tools back to the build.
2004-05-24 Chris Toshok <toshok@ximian.com>
* tools/Makefile.am: fix this for current build foo.
* tools/evolution-addressbook-export-list-folders.c,
* tools/evolution-addressbook-export-list-cards.c,
* tools/evolution-addressbook-export.c: revive this.
2004-05-24 Chris Toshok <toshok@ximian.com>
[ fixes bug #32194 ]
* importers/evolution-vcard-importer.c (process_item_fn): make
sure all ADR attributes have HOME/WORK/OTHER.
2004-05-24 Chris Toshok <toshok@ximian.com>
[ fixes bug #40013 ]
* importers/evolution-vcard-importer.c (process_item_fn): for TEL
attribute that don't specify a location (HOME/WORK/OTHER), default
to "OTHER". For TEL attributes that *only* specify a location,
default to "VOICE".
2004-05-21 H P Nadig <hpnadig@pacific.net.in>
Fixes #58516.
* gui/contact-editor/contact-editor.glade: 'Job Title' is now called
'Title'.
2004-05-20 Hans Petter Jansson <hpj@ximian.com>
* importers/evolution-ldif-importer.c (add_to_notes): Add helper
func.
(process_item_fn): Add undisplayed fields to notes.
* importers/evolution-vcard-importer.c (add_to_notes): Add helper
func.
(process_item_fn): Add undisplayed fields to notes.
2004-05-20 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-migrate.c (add_to_notes): Implement.
(migrate_contacts_hidden_fields): Implement.
(migrate_contacts): Copy fields that are now hidden in the UI,
to the notes field.
2004-05-20 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c (impl_requestCreateItem):
use the new ebook api here. missed this one in my earlier commit.
2004-05-20 Radek Doulik <rodo@ximian.com>
* printing/e-contact-print.c (complete_sequence): finish pages
printing by gnome_print_job_close call before showing preview or
calling gnome_print_job_print
See #54482
* gui/widgets/e-addressbook-view.c (eab_view_print_preview): added
call to begin page, ref printable and sink it to avoid finalizing of
floating object
(eab_view_print): ref and sink printable to avoid finalizing of
floating object
Fixes #46658
2004-05-19 Chris Toshok <toshok@ximian.com>
* importers/evolution-vcard-importer.c (load_file_fn): use the new
e_book_new and e_book_open apis.
* importers/evolution-ldif-importer.c (load_file_fn): use the new
e_book_new and e_book_open apis.
* gui/widgets/eab-gui-util.c (eab_transfer_contacts): use the new
e_book_new and e_book_async_open apis.
* gui/contact-editor/e-contact-editor.c (cancel_load):
addressbook_load_source_cancel -> addressbook_load_cancel.
(source_selected): use the new e_book_new and addressbook_load.
* gui/component/select-names/e-select-names.c
(addressbook_model_set_source): use the new e_book_new and
addressbook_load.
* gui/component/select-names/e-select-names-manager.c
(update_completion_books): use the new e_book_new and
addressbook_load.
* gui/component/addressbook.h: rename
addressbook_load_source{_cancel} to addressbook_load{_cancel}, and
remove the source arg.
* gui/component/addressbook.c (addressbook_load): rename since we
aren't passing a source anymore.
(addressbook_load_cancel): same.
(addressbook_load_default_book): use the new e_book_new_* apis.
* gui/component/addressbook-view.c (delete_addressbook_cb): just
use e_book_new, not e_book_load_source.
(selector_tree_drag_data_received): switch to new
e_book_new_*/e_book_open apis.
(activate_source): same, and addressbook_load_source ->
addressbook_load.
* gui/component/addressbook-migrate.c
(migrate_contact_folder_to_source): switch to new
e_book_new_*/e_book_open apis.
(migrate_contact_lists_for_local_folders): same.
(migrate_company_phone_for_local_folders): same.
* conduit/address-conduit.c (pre_sync): switch to new
e_book_new_*/e_book_open apis.
2004-05-19 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (sensitize_email): Check
if individual email fields are supported.
2004-05-19 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (extract_simple_field):
Remove debug output.
(real_save_contact): Separate out actual save logic from
save_contact ().
(save_contact): If the user wants to move the contact from one
address book to another, but the source is read-only, as to
save a copy instead.
(e_contact_editor_is_valid): The dialog should be an error dialog.
(app_delete_event_cb): If the target book is read-only, prompt
to discard. If the user wants to move but cannot, prompt to save
a copy. Also validate.
* gui/contact-editor/eab-editor.c (eab_editor_prompt_to_save_changes):
Remove comment about invalid data dialog, it's not handled here
anymore.
2004-05-19 Hans Petter Jansson <hpj@ximian.com>
Fixes a number of bugs, adds some unimplemented functionality, and
makes code more structured.
* gui/contact-editor/e-contact-editor.h: Eliminate company,
fullname_editable, address_editable fields from EContactEditor.
* gui/contact-editor/e-contact-editor.c
(enable_writable_fields): Removed.
(set_editable): Removed.
(fill_in_info): Removed.
(extract_field): Removed.
(extract_info): Removed.
(set_fields): Removed.
(command_state_changed): Removed.
(widget_changed): Removed.
(enable_widget): Removed.
(nonempty): Invert and rename to STRING_IS_EMPTY().
(STRING_MAKE_NON_NULL): Impl.
(is_field_supported): Implement.
(file_as_get_style): Eliminate editor->company.
(file_as_set_style): Ditto. Also don't set empty fields in combo.
(update_file_as_combo): Implement.
(sensitize_ok): Implement.
(object_changed): Implement.
(image_chooser_changed): Don't call widget_changed() from here.
(set_option_menu_history): Implement.
(init_email_record_location): Hook up signals after init.
(init_phone_record_type): Ditto.
(init_im_record_location): Ditto.
(init_im_record_service): Ditto.
(init_address_textview): widget_changed -> object_changed
(init_address_field): Ditto.
(fill_in_email_record): Use set_option_menu_history(), blocking
signals.
(fill_in_im_record): Ditto.
(fill_in_address_field): Use set_entry_text(), blocking signals.
(alloc_ui_slot): nonempty -> STRING_IS_EMPTY
(extract_email): Ditto.
(fill_in_phone_record): Ditto.
(extract_im): Ditto.
(extract_address_record): Ditto.
(sensitize_email_record): Implement.
(sensitize_email): Implement.
(sensitize_phone_types): Implement.
(sensitize_phone_record): Impleent.
(sensitize_phone): Implement.
(sensitize_im_record): Implement.
(sensitize_im): Implement.
(sensitize_address_textview): Implement.
(sensitize_address_field): Implement.
(sensitize_address_record): Implement.
(sensitize_address): Implement.
(simple_field_map): Add all simple fields/widgets to a table with
attributes saying how to handle sensitivity and data transfer.
(init_simple_field): Implement.
(fill_in_simple_field): Implement.
(extract_simple_field): Implement.
(sensitize_simple_field): Implement.
(init_simple): Implement.
(fill_in_simple): Implement.
(extract_simple): Implement.
(sensitize_simple): Implement.
(fill_in_all): Implement.
(extract_all): Implement.
(sensitize_all): Implement.
(set_entry_changed_signal_field): Removed.
(set_urlentry_changed_signal_field): Removed.
(set_entry_activate_signal_field): Removed.
(new_target_cb): Don't signal changes.
(set_entry_activate_signals): Removed.
(set_entry_changed_signals): Removed.
(full_name_clicked): Honor field_supported and target_editable.
Use set_entry_text() and block changed signals.
(image_selected_cb): widget_changed -> object_changed. Don't clear
pointer to file_selector.
(image_cleared_cb): Ditto.
(contact_moved_cb): command_state_chaned() -> sensitize_all().
(contact_added_cb): Ditto.
(supported_fields_cb): Ditto.
(contact_modified_cb): Ditto.
(save_contact): extract_info() -> extract_all().
(e_contact_editor_is_valid): Be more verbose. Make sure File As is
non-empty.
(e_contact_editor_init): Call init_all() in place of lots of setup
calls. Remove reference to editor->company.
(e_contact_editor_dispose): Remove reference to editor->company.
(command_state_changed): Removed.
(e_contact_editor_set_property): Axe unneeded complexity, now that
we have sensitize_all() and sensitize_ok().
(set_fields): Removed.
(fill_in_field): Removed.
(field_mapping): Removed.
(disable_widget_foreach): Removed.
(widget_field_mapping): Removed.
(num_widget_field_mappings): Removed.
(enable_widget): Removed.
2004-05-05 William Jon McCann <mccann@jhu.edu>
* gui/component/GNOME_Evolution_Addressbook.server.in.in:
Add menu_label and menu_accelerator.
2004-05-18 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c
(file_send_as_cb): pass 0 to eab_send_contact.
(file_send_to_cb): same.
2004-05-18 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-gui-util.c
(eab_send_to_contact_and_email_num_list): split out the
DISPOSITION_AS_TO stuff here, and make it take a GList of
ContactAndEmailNum, so we can set it for the single contact case.
(eab_send_contact_list_as_attachment): split out the
DISPOSITION_AS_ATTACHMENT stuff here.
(eab_send_contact_list): call one or the other of the above,
munging the list if disposition is set to TO.
(eab_send_contact): call eab_send_to_contact_and_email_num_list
directly with the supplied email_num, instead of calling
eab_send_contact_list.
* gui/widgets/eab-gui-util.h (eab_send_contact) add "email_num"
arg, so we can specify the email address we want to be selected.
* gui/widgets/eab-contact-display.c (on_link_clicked): add
(ifdefed out at the moment) code to handle mailto: urls
internally, instead of farming them out to gnome_url_show.
(render_contact): same.
2004-05-18 Jerome Lacoste <jerome@coffeebreaks.org>
Fixes #57940
* gui/widgets/e-addressbook-view.c: "Save as VCard" ->
"Save as VCard..."
2004-05-17 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
Hook up image button.
(e_contact_editor_dispose): Dispose of file selector if it's around.
(image_clicked): Implement.
(file_selector_deleted): Implement.
(image_cleared_cb): Implement.
(image_selected_cb): Implement.
* gui/contact-editor/contact-editor.glade: Make the contact image
be a button that lets you change or discard the image.
2004-05-17 Jeffrey Stedfast <fejj@novell.com>
* gui/contact-list-editor/e-contact-list-editor.c: Change E_PIXMAP
size args over to E_ICON_SIZE_* values.
* gui/component/addressbook-view.c: Change E_PIXMAP size args over
to E_ICON_SIZE_* values.
* gui/widgets/e-minicard.c (e_minicard_init): Use an E_ICON_SIZE
enum value for the icon_size argument to get_icon.
* gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget):
Use E_ICON_SIZE_DIALOG as the icon_size argument to
get_icon_filename.
* gui/widgets/eab-contact-display.c (on_url_requested): Use an
E_ICON_SIZE enum as the icon_size argument to get_icon_filename.
* gui/contact-editor/e-contact-editor-im.c
(setup_service_optmenu): Use E_ICON_SIZE_MENU here.
* gui/component/select-names/e-select-names-popup.c
(populate_popup_contact): Use E_ICON_SIZE_MENU here instead of 16.
* gui/component/addressbook-view.c (set_status_message): Use the
E_ICON_SIZE corresponding to 16x16 pixels.
2004-05-12 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Add PO box entries.
* gui/contact-editor/e-contact-editor.c (init_address_record): Hook
up PO box entry.
(fill_in_address_record): Ditto.
(extract_address_record): Ditto.
2004-04-18 S N Tejasvi <tejasvi_sn@gawab.com>
Fixes bug #55208.
* gui/contact-editor/e-contact-editor.c (save_contact):
Do e_contact_editor_is_valid check to check the birth date and
anniversary date format when user wants to save and warn him.
2004-05-11 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook-component.c (impl_upgradeFromVersion):
set exception properly on failure.
* gui/component/addressbook-migrate.c (addressbook_migrate): take
a GError error return. Doesn't do anything with it ... but ...
2004-05-11 Dan Winship <danw@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Remove
the addressbook control
* gui/component/component-factory.c (factory): Remove support for
the addressbook control
* gui/component/addressbook-view.c: Remove all the property-bag
stuff.
2004-05-11 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook-config.c (dialog_to_source) : see if the selected
group is groupwise one and setup the relative uri and other properties into
e-source
2004-05-10 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
Fixes bug #44196 addressbook table view uses ASCII sort
* addressbook/gui/widgets/e-addressbook-view.c (compare_subitems):
Uses g_utf8_collate for right UTF8 sort. Made faster using
g_utf8_collate_key.
Also fixes a bug in
* gui/component/select-names/e-select-names.c (select_entry_changed):
Changed g_utf8_collate for strcmp as we are already comparing keys
made from g_utf8_collate_key.
2004-05-08 Enver ALTIN <enver.altin@frontsite.com.tr>
* gui/component/GNOME_Evolution_Addressbook.server.in.in:
Fix parts of #53466.
2004-05-05 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (init_address_textview):
Implement.
(init_address_record): Init textview.
(fill_in_address_textview): Implement.
(fill_in_address_record): Fill in textview.
(extract_address_textview): Implement.
(extract_address_record): Extract from textview.
* gui/contact-editor/contact-editor.glade: Combine address-[12] fields
into one multiline text view, as per Anna's new design.
2004-05-04 Larry Ewing <lewing@ximian.com>
* gui/component/addressbook-config.c (query_for_supported_bases):
fixup the dialog initialization.
2004-05-04 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (phones_default): Use defaults
from Anna.
(im_service_default): Ditto.
(email_default): Ditto.
(im_location): Renamed to common_location, as it's used by both IM
and e-mail.
(init_email_record_location): im_location -> common_location
(init_im_record_location): Ditto.
(email_index_to_location): Ditto.
(im_index_to_location): Ditto.
(get_email_location): Ditto.
(get_im_location): Ditto.
(fill_in_email_record): Consult defaults.
(fill_in_im_record): Ditto.
2004-05-04 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (set_entry_activate_signals):
Remove blog, add home page.
(set_entry_changed_signals): Ditto.
(setup_tab_order): Ditto.
(field_mapping): Ditto.
(widget_field_mappings): Ditto.
* gui/contact-editor/contact-editor.glade: Replace blog with home
page.
2004-05-03 Hans Petter Jansson <hpj@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_set_property): Do ref, unref
in right order, so the same contact can be set twice without ill
effects.
(e_minicard_finalize): NULL pointers after unreffing their objects.
2004-05-03 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (phones_default): Establish
defaults for the phone number option menus.
(fill_in_phone_record): Fall back to defaults.
2004-05-03 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (show_help_cb): Implement.
(e_contact_editor_init): Hook up the help button.
* gui/contact-editor/contact-editor.glade: Give the help button a
sensible name.
2004-05-03 Larry Ewing <lewing@ximian.com>
* gui/component/ldap-config.glade: bump the maximum download limit
to 1000.
* gui/component/addressbook-config.c (add_folder_modify): set the
email entry sesitive only when anonymous isn't selected. Make the
details tab insensitive if the method is local.
* gui/component/ldap-config.glade: remove unused colorpicker.
2004-05-03 JP Rosevear <jpr@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: set the
config item type
2004-05-02 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook-config.c (dialog_to_source) : see if the selected
group is groupwise one and setup the relative uri and other properties into
e-source
2004-05-01 Larry Ewing <lewing@ximian.com>
* gui/component/addressbook-config.c: sensitize the details dialog
where appropriate. Don't try to read from widgets that don't
exist.
2004-04-30 Chris Toshok <toshok@ximian.com>
* util/e-destination.c (e_destination_set_contact): don't use
"email" twice for a variable name.. even though they don't really
conflict, it's ugly and confusing.
2004-04-30 Enver ALTIN <enver.altin@frontsite.com.tr>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Fixed a
type-o.
2004-04-29 Hans Petter Jansson <hpj@ximian.com>
* printing/e-contact-print.c: Don't dereference the file_as pointer
if it turns out to be NULL.
2004-04-28 Jeffrey Stedfast <fejj@ximian.com>
* gui/component/addressbook-migrate.c: We need a migration dialog
if the revision <= 10. Fixes bug #57770.
2004-04-27 Larry Ewing <lewing@ximian.com>
* gui/component/addressbook-config.c: remove debug spew.
2004-04-27 Jeffrey Stedfast <fejj@ximian.com>
* gui/component/addressbook-migrate.c (addressbook_migrate):
Migrate pilot data.
(migrate_pilot_data): Oops. Apparently the addressbook didn't
change the format of the changelog file from db3 to xml, so fix to
simply copy the file over.
2004-04-27 Rodney Dawes <dobey@ximian.com>
* gui/contact-editor/e-contact-editor-fullname.c:
(e_contact_editor_fullname_init):
* gui/contact-editor/fullname.glade:
* gui/search/e-addressbook-search-dialog.c (eab_search_dialog_init):
Update dialog vbox and action area border widths to be HIG compliant
Update main child widget border widths to be HIG compliant
2004-04-27 Larry Ewing <lewing@ximian.com>
* gui/component/addressbook-config.c (source_to_dialog_new): fix
warnings, remove unused code.
* gui/component/addressbook-config.c: start integrate the new
dialog.
* gui/component/ldap-config.glade: add the new dialog.
2004-04-26 Rodney Dawes <dobey@ximian.com>
* gui/contact-editor/contact-editor.glade:
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
Set spacing around notebook widget and the dialog's action area and
vbox widgets to be compliant with the HIG dialog specs
2004-04-25 Chris Toshok <toshok@ximian.com>
* importers/evolution-ldif-importer.c (ldif_fields): add "mobile"
mapping to E_CONTACT_PHONE_MOBILE, which is what thunderbird uses
(and really what we should have always been using.)
2004-04-23 Jeffrey Stedfast <fejj@ximian.com>
* conduit/address-conduit.c (get_next_mail): The firt EMAIL item
is EMAIL_1, not EMAIL (assuming we want simple strings).
(local_record_from_ecard): Use e_contact_get() for getting the
EContactAddress. Loop from FIRST_ADDRESS_ID up to and *including*
LAST_ADDRESS_ID.
(ecard_from_remote_record): When searching for an address field,
loop from FIRST_ADDRESS_ID up to and *including* LAST_ADDRESS_ID.
(pre_sync): Use e_book_query_any_field_contains() rather than
e_book_query_from_string ("#t") which doesn't work anyway.
2004-04-20 Jeffrey Stedfast <fejj@ximian.com>
* conduit/address-conduit.c (map_name): Updated to use
~/.evolution as the evolution directory rather than ~/evolution.
2004-04-23 Dan Winship <danw@ximian.com>
* gui/component/component-factory.c (factory): Fix the addressbook
control to not crash. (Temporary fix.)
2004-04-23 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-gui-util.c (added_cb): this signal takes an
EContact* too.
(modified_cb): same.
(deleted_cb): same.
(eab_error_dialog): pad the table of status messages out with the
new status codes, and don't specify gui text for messages that
aren't generated by the backends. This fixes the "U" error
messages people were seeing.
2004-04-22 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Correct the dialog's title.
* gui/contact-editor/e-contact-editor.c (init_email_record_location):
Connect to entry's activate signal.
(init_phone_record_type): Ditto.
(init_im_record_location): Ditto.
(init_address_field): Ditto.
(set_entry_changed_signal_field): Remove unnecessary checks.
(set_urlentry_changed_signal_field): Ditto.
(set_entry_changed_signals): Ditto.
(set_entry_activate_signal_field): Implement.
(set_urlentry_activate_signal_field): Implement.
(set_entry_activate_signals): Implement.
(e_contact_editor_init): Call set_entry_activate_signals ().
2004-04-22 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init):
Override the save_contact function.
(e_contact_editor_save_contact): Implement.
(e_contact_editor_init): Remove some unnecessary checks - if
something's the matter with the UI files, that needs to be warned
about and fixed, not silently worked around.
2004-04-22 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Make the window be a
GtkDialog.
2004-04-21 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (free_attr_list): Implement.
(extract_email): Preserve offscreen addresses.
(extract_phone): Preserve offscreen phone numbers.
(extract_im): Preserve offscreen IM accounts.
2004-04-21 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c: Add defines for the slot
counts for email, phone, im, address.
(phones): Add E_CONTACT_PHONE_COMPANY back in, now that we can
differentiate it.
(init_email): Use EMAIL_SLOTS and a loop.
(init_im): Ditto for IM_SLOTS.
(init_phone): Ditto for PHONE_SLOTS.
(fill_in_address)
(extract_address)
(init_address): Ditto for ADDRESS_SLOTS.
(get_ui_slot_param): Implement.
(get_ui_slot): Implement.
(set_ui_slot): Implement.
(alloc_ui_slot): Implement.
(fill_in_email): Add code to preserve spatial organization.
(extract_email): Ditto.
(fill_in_phone): Ditto.
(extract_phone): Ditto.
(fill_in_im): Ditto.
(exctract_im): Ditto.
2004-04-21 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (setup_progress_dialog):
store off the label as well as the folder name label, so we can
reuse the dialog and update the label. Also, no longer take the
string to display here.
(dialog_set_label): new function.
(migrate_contact_lists_for_local_folders): call
dialog_set_folder_name here so we can see the folder being
migrated.
(migrate_company_phone_for_local_folders): new function for
updating the way we store company phone numbers.
(addressbook_migrate): split out the logic for setting up/tearing
down the dialog from the individual migration points so we can
reuse the same dialog and not have get destroyed/recreated for
each stage. Also add a new migration point ( <= 1.5.8) for
migrating the company phone numbers.
2004-04-21 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook.c (remove_parameters_from_uri) : added
a new function to striff off any parameters present after ';' in
the uri
(load_source_auth_cb) (addressbook_authenticate) : call above
function to remove anything after ';' before passing uri to
e-password calls
2004-04-21 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.h (EContactEditor): Remove
unused fields.
* gui/contact-editor/e-contact-editor.c (emails): Remove.
(e_contact_editor_init): Don't init unused fields.
(e_contact_editor_dispose): Don't free/clear unused fields.
(enable_writable_fields): Don't use email_choice anymore. Enable
checkbutton-htmlmail only once.
2004-04-21 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Make the phone type
selectors be option menus.
* gui/contact-editor/e-contact-editor.c (phones): Store the phone
param mappings locally.
(set_entry_changed_signals): Don't special-case phone entries here.
(enable_writable_fields): Don't mess with the phone widgets anymore.
(set_fields): Use fill_in_phone ().
(extract_info): Use extract_phone ().
(phone_index_to_type): Implement.
(get_phone_type): Implement.
(get_attributes_named): Implement.
(set_attributes_named): Implement.
(fill_in_phone_record): Implement.
(extract_phone_record): Implement.
(fill_in_phone): Implement.
(extract_phone): Implement.
(init_phone_record_type): Implement.
(init_phone): Implement.
(connect_arrow_button_signal): Remove.
(connect_arrow_button_signals): Remove.
(phone_entry_changed): Remove.
(set_entry_changed_signal_phone): Remove.
(_arrow_pressed): Remove.
(_phone_arrow_pressed): Remove.
(e_contact_editor_build_ui_info): Remove.
(e_contact_editor_build_phone_ui): Remove.
(set_phone_field): Remove.
2004-04-21 Not Zed <NotZed@Ximian.com>
* gui/component/addressbook-view.c (addressbook_view_init): fix
for e_user_creatable_items handle api changes.
2004-04-20 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.etspec: use cursor-mode="line" to
get rid of the annoying cell cursor.
* gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget):
create the image chooser even if we aren't given an initial
filename.
* gui/contact-editor/e-contact-editor.c (new_target_cb):
addressbook_show_load_error_dialog -> eab_load_error_dialog.
2004-04-19 Rodney Dawes <dobey@ximian.com>
* gui/contact-editor/contact-editor.glade: Set the default image for
the contact photo to be the stock_person image in the icon theme
2004-04-19 Michael Terry <mike@mterry.name>
* gui/component/GNOME_Evolution_Addressbook.server.in.in:
* gui/component/addressbook-component.c:
* gui/component/addressbook-view.c:
* gui/component/select-names/e-select-names-popup.c:
* gui/contact-editor/e-contact-editor-address.c:
* gui/contact-editor/e-contact-editor-fullname.c:
* gui/contact-editor/e-contact-editor-im.c:
* gui/contact-list-editor/contact-list-editor.glade:
* gui/contact-list-editor/e-contact-list-editor.c:
* gui/merging/eab-contact-commit-duplicate-detected.glade:
* gui/merging/eab-contact-duplicate-detected.glade:
* gui/widgets/e-minicard.c:
* gui/widgets/eab-contact-display.c:
* gui/widgets/eab-gui-util.c: Update the addressbook to use the icon
theme via the EIconFactory object in e-util
2004-04-18 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (nonempty): new macro.
(extract_email): only create/add the attribute if the email
address is nonempty.
(extract_im): same, but for im accounts.
(extract_address_record): same, but for addresses.
2004-04-16 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Add "wants HTML" checkbox.
* gui/contact-editor/contact-editor.c (email_location_to_index)
(email_entry_changed)
(set_entry_changed_signal_email)
(file_save_cb)
(file_close_cb)
(file_save_as_cb)
(file_send_as_cb)
(file_send_to_cb)
(contact_deleted_cb)
(delete_cb)
(print_cb)
(print_envelope_cb)
(tb_save_and_close_cb)
(verbs)
(pixmaps)
(create_ui): Remove unused funcs.
(command_state_changed): Remove bonobo calls.
(e_contact_editor_init): Remove bonobo stuff.
(fill_in_email)
(fill_in_im): Remove unused vars.
2004-04-16 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c (book_loaded_cb): new
function, use the async interface to load the book.
(impl_requestCreateItem): use
e_book_async_get_default_addressbook.
2004-04-16 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Commit new contact editor
UI by Anna.
* gui/contact-editor/e-contact-editor.c: Comment out bonobo includes.
(_email_arrow_pressed)
(_address_arrow_pressed)
(set_im_fields)
(find_address_mailing)
(set_address_field)
(add_im_clicked)
(edit_im_clicked)
(remove_im_clicked)
(im_button_press_cb)
(im_selected_cb)
(im_treeview_drag_data_get_cb)
(im_treeview_drag_data_rcv_cb)
(setup_im_treeview)
(email_entry_changed)
(address_to_text)
(text_to_address)
(address_text_changed)
(address_mailing_changed)
(full_addr_clicked)
(e_contact_editor_build_email_ui)
(e_contact_editor_build_address_ui)
(_email_arrow_pressed)
(_address_arrow_pressed)
(find_address_mailing)
(add_im_field)
(set_im_fields)
(set_address_field): Removed.
(address_name)
(im_service)
(im_location): Add lookup structs.
(init_email_record_location)
(init_email)
(fill_in_email_record)
(extract_email_record)
(email_location_to_index)
(email_index_to_location)
(im_index_to_location)
(get_email_location)
(get_im_location)
(fill_in_email)
(extract_email)
(init_im_record_location)
(init_im_record_service)
(init_im)
(fill_in_im_record)
(fill_in_im)
(extract_im_record)
(extract_im)
(init_address_field)
(init_address_record)
(init_address)
(fill_in_address_field)
(fill_in_address_record)
(fill_in_address)
(extract_address_field)
(extract_address_record)
(extract_address)
(file_save_and_close_cb)
(file_cancel_cb)
(set_entry_text): Implemented.
(connect_arrow_button_signals): Updated some widget names.
(set_entry_changed_signals): Removed dead widgets, updated names for
others.
(print_cb)
(tb_save_and_close_cb)
(create_ui): Disabled Bonobo toolbar/menus.
(e_contact_editor_init): Disabled Bonobo toolbar/menus. Init new
UI elements. Remove init of old UI elements.
(command_state_changed): Disabled Bonobo toolbar/menus. Act on new
ok/cancel buttons.
(_phone_arrow_pressed): Updated widget names.
(set_phone_field): Use set_entry_text ().
(set_fields): Update widget names, remove old address code, call new
fill_in_* code.
(field_mapping): Remove dead widgets.
(widget_field_mapping): Ditto.
(enable_writable_fields): Remove calls for old email/address UI.
Update some names.
(fill_in_info): Don't find_address_mailing() or set_im_fields().
(extract_info): Call new extraction funcs.
2004-04-14 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-view.c (book_open_cb): force the info
label to update its contents here if the load was successful.
* gui/component/addressbook-migrate.c (migration_context_new): use
e_book_get_addressbooks instead of getting source_list from the
component.
(migration_context_free): unref the source_list.
* gui/component/addressbook-config.c (dialog_to_source): sync the
dialog->source_list, since we have it.
2004-04-14 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c: rip out tons of functions - they
all live in addressbook-view.c now. the only thing left in this
file is the addressbook_load* calls that do authentication.
* gui/component/addressbook.h: remove prototypes for
addressbook_new_control and addressbook_load_uri (it was #if 0'ed
anyway.)
* gui/component/addressbook-component.h: remove prototypes for
_peek_activity_handler and _peek_source_list.
* gui/component/addressbook-component.c: rip out tons of functions
- they all live in addressbook-view.c now.
(impl_createControls): simplify this immensely. we just create an
AddressbookView and get the various widgets/controls from it.
(impl_requestCreateItem): this function loses slightly - it needs
per-window info (the selected source) but there's no way to get
it. So we load the default book. Also, this uses a synchronous
e_book call to load the book, which is not good.
(addressbook_component_peek_source_list): nuke, not used by
anything anyway.
(addressbook_component_peek_activity_handler): nuked, not used by
anything - and it's per-window anyway.
* gui/component/Makefile.am (libevolution_addressbook_la_SOURCES):
add addressbook-view.[ch].
* gui/component/addressbook-view.[ch]: rip out all of the per
window stuff from addressbook.[ch] and addressbook-component.[ch]
and put it here.
2004-04-13 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c (accum_address): disable the
map link for 2.0.
2004-04-13 Larry Ewing <lewing@ximian.com>
* gui/widgets/e-addressbook-view.c (create_table_view): add
GDK_ACTION_COPY to the supported drag types. Connect to the
table_drag_data_delete callback.
(table_drag_data_delete): remove the drag rows.
2004-04-13 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook.c (addressbook_authenicate):
added a check for new auth type "plain/password"
for groupwise in addressbook_authenicate function
2004-04-12 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-popup-control.c (email_menu_add_option): treat
"" the same as NULL (don't add it to the list).
2004-04-12 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (addressbook_load_default_book):
quiet valgrind uninitialized memory warning.
2004-04-12 Chris Toshok <toshok@ximian.com>
[ should fix #56537 ]
* gui/widgets/eab-popup-control.c (EMPTY_ENTRY): use _(), not N_()
here.
(email_menu_add_options_from_contact): and g_strdup it here, so
that the g_list_foreach (... g_free ..) doesn't cause things to
blow up.
(email_menu_unset_options): nuke ifdefed function.
* gui/widgets/eab-popup-control.h: don't include gtk.h, include
just what we need.
2004-04-10 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-gui-util.h: add prototypes for
eab_load_error_dialog and eab_search_result_dialog.
* gui/widgets/eab-gui-util.c (eab_load_error_dialog): the new
addressbook_show_load_error_dialog.
(eab_search_result_dialog): new function, the old contents of
addressbook.c:search_result.
* gui/component/addressbook.c
(addressbook_show_load_error_dialog): move this function to
eab-gui-utils.[ch]
(search_result): split out the body of this into
eab_search_result_dialog in eab-gui-utils.[ch].
(book_open_cb): call eab_load_error_dialog.
* gui/component/addressbook.h: remove prototype for
addressbook_show_load_error_dialog.
2004-04-10 Chris Toshok <toshok@ximian.com>
* util/e-destination.h: remove the e_destination_get_book api,
since the function doesn't exist.
2004-04-09 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (addressbook_migrate): bump
version required to 8 for the contact list migration foo.
2004-04-09 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c
(selector_tree_drag_motion): pass GDK_CURRENT_TIME instead of a
function pointer to "time" to gdk_drag_status. not sure if this
is right, but it's definitely more right than it was :)
(impl_createControls): create the info label and add it to the
sidebar control. it's not hooked up yet.
2004-04-09 Chris Toshok <toshok@ximian.com>
* importers/evolution-ldif-importer.c (resolve_list_card): use the
new e_destination_export_to_vcard_attribute call to build up the
attributes.
* importers/evolution-vcard-importer.c (process_item_fn): if we're
importing a vcard that we wrote out previously containing xml in
the EMAIL attributes, DTRT and strip it out and use
e_destination_export_to_vcard_attribute to build up the proper
attribute.
* util/Makefile.am (libeabutil_la_SOURCES): remove
eab-destination.[ch] and add e-destination.[ch].
* printing/e-contact-print.c (e_contact_print_contact): we don't
have to worry about the "<?xml..." EMAIL fields anymore.
* gui/widgets/eab-gui-util.c (eab_send_contact_list): just use the
value as the address (since that's what it is) in the list case.
* gui/widgets/eab-contact-display.c (render_contact_list): remove
the EABDestination stuff from here.
(eab_contact_display_render_compact): same.
* gui/widgets/e-minicard.c (activiate_editor): fix warnings - use
EAB_EDITOR instead of G_OBJECT.
(add_field): we don't have to worry about the "<?xml..." EMAIL
fields anymore.
(remodel): same.
* gui/widgets/e-addressbook-treeview-adapter.c
(adapter_get_value): we don't have to worry about the "<?xml..."
EMAIL fields anymore.
* gui/widgets/e-addressbook-table-adapter.c
(addressbook_value_at): we don't have to worry about the
"<?xml..." EMAIL fields anymore.
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_value_at): eab->e.
(contact_list_model_dispose): we're not a GtkObject, we're a
GObject. rename _destroy to _dispose, and chain up to the parent
class's ::dispose.
(e_contact_list_model_class_init): GtkObject -> GObject, and
destroy -> dispose.
(e_contact_list_model_init): GtkObject -> GObject, and EAB -> E.
(e_contact_list_model_add_destination): EAB -> E.
(e_contact_list_model_add_email): same.
(e_contact_list_model_add_contact): same.
(e_contact_list_model_get_destination): same.
* gui/contact-list-editor/e-contact-list-editor.c
(table_drag_data_received_cb): add email num arg to
e_contact_list_model_add_contact.
(extract_info): fill in the vcard attributes instead of just
generating xml.
(fill_in_info): extract the values from the vcard attributes.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): eab->e, and don't
sometimes copy, sometimes ::new. always ::new.
(e_select_names_text_model_delete): same.
(e_select_names_text_model_obj_count): same.
(nth_obj_index): same.
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): eab -> e.
* gui/component/select-names/e-select-names-popup.c
(make_contact_editor_cb): eab -> e.
(change_email_num_cb): same.
(toggle_html_mail_cb): same.
(populate_popup_contact): same, and remove code that checks for
<?xml, then imports the EDestination.
(quick_add_cb): eab -> e.
(populate_popup_nocontact): same.
(e_select_names_populate_popup): same.
* gui/component/select-names/e-select-names-model.h: eab -> e, and
remove prototypes for nuked functions.
* gui/component/select-names/e-select-names-model.c
(destination_changed_proxy, send_changed, connect_destination,
disconnect_destination): nuke.
(e_select_names_model_duplicate): EAB -> E.
(e_select_names_model_get_textification): same.
(e_select_names_model_get_address_text): same.
(e_select_names_model_get_destination): same.
(e_select_names_model_export_destinationv): same.
(send_changed): same.
(e_select_names_model_import_destinationv): same.
(e_select_names_model_get_contact): same.
(e_select_names_model_contains): same.
(e_select_names_model_insert): same, and remove call to
connect_destination.
(e_select_names_model_append): same.
(e_select_names_model_replace): same, and remove call to
disconnect/connect_destination.
(e_select_names_model_delete): same.
(delete_all_iter): nuke.
(e_select_names_model_delete_all): use g_object_unref for the
foreach call.
(e_select_names_model_merge): EAB -> E.
(e_select_names_model_name_pos): same.
(e_select_names_model_name_pos): same.
(e_select_names_model_load_all_contacts): nuke.
(e_select_names_model_cancel_all_contact_load): nuke.
* gui/component/select-names/e-select-names-manager.c
(clean_cb, focus_in_cb, focus_out_cb, completion_popup_cb): nuke.
(completion_handler): EAB -> E, and the signals are gone.
* gui/component/select-names/e-select-names-completion.c: in
general, s/eab_dest/e_dest and s/EABDest/EDest.
(e_select_names_completion_got_book_view_cb): move the
e_book_view_start to below the assignment of
sequence_complete_received, just to put my mind at ease.
(e_select_names_completion_stop_query): un-#if notyet the call to
e_book_cancel.
(e_select_names_completion_start_query): free the waiting_query
before assigning to it.
* gui/component/select-names/e-select-names-bonobo.c
(entry_set_property_fn): remove calls to
e_select_names_model_load_all_contacts, since that function is
dead.
* gui/component/addressbook-migrate.c (setup_progress_dialog):
take the label to display to the user as an arg.
(migrate_contact_lists_for_local_folders): loop over all contacts
in all local addressbooks looking for ones that have <?xml in
their EMAIL attributes. for the ones we find, call
e_destination_export_to_vcard_attribute to build up the proper
attribute.
(addressbook_migrate): add in a clause for all versions under
1.5.7 to convert contact lists. also, move the unrefs of the
sources/groups to outside the if, as they're created outside it.
* gui/component/Makefile.am (INCLUDES): remove the
addressbook/backend/ dirs, since libebook isn't there anymore
(nothing is, actually). Add addressbook/util/.
2004-04-09 Dan Winship <danw@ximian.com>
* gui/component/addressbook.c (addressbook_new_control): create an
EUserCreatableItemsHandler
(addressbook_view_clear): destroy it
(control_activate): Activate it
* gui/component/addressbook-component.c
(impl__get_userCreatableItems): Add object/folder flags to the
creatable items. Rename "Address Book" to "Contacts Group" per new
specs
2004-04-07 Chris Toshok <toshok@ximian.com>
* util/e-destination.c (e_destination_copy): we don't have an
EBook* anymore.
(e_destination_clear): same.
(e_destination_set_contact): same.
(e_destination_set_book): same, just cache the source_uid.
(e_destination_set_book_uri): nuke.
(e_destination_set_contact_uid): we don't have an EBook*.
(e_destination_xml_decode): same.
(e_destination_export_to_vcard_attribute): new function, fill in
an EVCardAttribute with EDestination values.
* util/e-destination.h: add prototype for
e_destination_export_to_vcard_attribute.
2004-04-07 Jeffrey Stedfast <fejj@ximian.com>
* gui/component/autocompletion-config.c
(source_selection_changed): Sync the changes here rather than
setting 'changed' on the config control (since that no longer
exists).
(autocompletion_config_control_new): Don't connect to an apply
signal, no such signal.
2004-04-06 Chris Toshok <toshok@ximian.com>
* util/e-destination.[ch]: old name, new trimmed down
implementation. This will be replacing eab-destination.[ch].
2004-04-06 Hao Sheng <hao.sheng@sun.com>
* gui/widgets/e-minicard.c:
(e_minicard_event) : implement keyboard navigation(TAB/shift+TAB)
(activaite_editor) : add a new function to activiate contact editor
for support "Enter" key
Fixes #55056
2004-04-05 Chris Toshok <toshok@ximian.com>
* util/eab-destination.h: wrap this with the correct #ifdef.
2004-04-05 Chris Toshok <toshok@ximian.com>
* gui/merging/eab-contact-merging.c (match_query_callback): use
the correct glade filename.
2004-04-01 Hari Prasad Nadig <hp@ndeepak.info>
Fixes #53433.
* gui/component/addressbook-config.c (searching_tab_check): added
the tab check for search tab.
(dialog_to_source): added timeout to be saved.
(source_to_dialog): just a piece to retrieve timeout from source.
(addressbook_root_dse_query): few necessary changes.
(do_ldap_root_dse_query): again few changes that were required.
* gui/component/ldap-config.glade : set right the Hscale to
display the selected value.
2004-03-30 Chris Toshok <toshok@ximian.com>
[ fixes bug #34777 ]
* gui/contact-editor/e-contact-editor.c (file_as_entry_changed):
set the window title to File As if the file as entry has something
in it. "Contact Editor" otherwise.
(set_entry_changed_signals): hook up the file-as-entry's "changed"
signal.
* gui/contact-list-editor/e-contact-list-editor.c
(list_name_changed_cb): analogous fix, but "List Name" and
"Contact List Editor".
2004-03-30 Chris Toshok <toshok@ximian.com>
[ fixes bug #53544 ]
* gui/component/addressbook-component.c
(impl__get_userCreatableItems): add "address_book" to the user
creatable items list. complete with incorrect accelerator and
shortcut!
(impl_requestCreateItem): handle "address_book" here, and plug a
memory leak.
2004-03-30 Chris Toshok <toshok@ximian.com>
[ part of the fix for #51977, the other part is in e-d-s ]
* gui/widgets/e-addressbook-view.c (search_activated): the name of
the category list property has changed from "category" to
"category" list in 1.5. track the change here to get category
searching working again.
2004-03-30 Chris Toshok <toshok@ximian.com>
[ part of the fix for #54528, the other part is in e-d-s ]
* importers/evolution-vcard-importer.c (process_item_fn): get and
set the PHOTO attribute before storing the contact in the book.
this has the affect of making EContact sniff the image format.
the apple addressbook doesn't give PHOTO's a TYPE.
2004-03-30 Chris Toshok <toshok@ximian.com>
[ fixes bug #53094 ]
* gui/component/ldap-config.glade: nuke
addressbook-sources-window.
* gui/component/addressbook-config.c (main): nuke, we don't need
this test case anymore, and it doesn't really work anyway anymore.
2004-03-30 Chris Toshok <toshok@ximian.com>
[ fixes bug #53634 ]
* gui/widgets/e-addressbook-view.c (eab_view_new): call
e_search_bar_set_menu to add the Advanced... menu item to the
search menu, and connect to "menu_activated".
(search_menu_activated): new function, pop up the advanced dialog
if id == ESB_ADVANCED.
(query_changed): use e_search_bar_get_item_id instead of
g_object_get.
* gui/component/addressbook.c (verbs): remove ToolSearch.
(pixmaps): remove the ToolSearch pixmap.
2004-03-30 Chris Toshok <toshok@ximian.com>
[ gui part of the fix required for #48665 ]
* gui/widgets/e-addressbook-model.c (get_view): pass the source's
"limit" property (if it exists) to e_book_async_get_book_view.
2004-03-29 Larry Ewing <lewing@ximian.com>
* gui/component/addressbook-component.c
(selector_tree_drag_data_received): call drag_finish properly.
(selector_tree_drag_motion): set the drag status properly.
2004-03-25 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/eab-editor.c (eab_editor_prompt_to_save_changes) :
do eab_editor_is_valid check only when user wants to save.
2004-03-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c
(fill_popup_menu_callback): don't let the user delete their
Personal addressbook. This is just a nice UI thingy.. A similar
fix needs to be made to e-d-s. so that attempts that circumvent a
nice UI will also fail.
2004-03-24 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-gui-util.c (eab_show_multiple_contacts): don't
know what I was thinking approving this change. the _() was only
used in the plural case (in fact where n > 5), so a singular case
was never necessary, and neither was the call to ngettext.
2004-03-24 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_get_type): parent_type == EAB_TYPE_EDITOR.
(e_contact_list_editor_class_init): fill in editor_class virtual
functions, and remove all the signals.
(list_added_cb): call eab_editor_contact_* instead of emitting a
signal here. also call eab_editor_close
(list_modified_cb): same.
(e_contact_list_editor_is_valid): new function.
(e_contact_list_editor_is_changed): same.
(e_contact_list_editor_get_window): same.
(file_close_cb): call eab_editor_ functions.
(list_deleted_cb): call eab_editor_contact_* instead of emitting a
signal here. also call eab_editor_close
(delete_cb): call eab_editor_* functions.
(contact_list_editor_destroy_notify): call eab_editor_remove.
(e_contact_list_editor_new): call eab_editor_add, and remove the
g_object_ref/gtk_object_sink two-step.
(e_contact_list_editor_show): make static, and make arg EABEditor.
(e_contact_list_editor_raise): same.
(e_contact_list_editor_close): same.
(app_delete_event_cb): call eab_editor_ functions.
(command_state_changed): use eab_editor_is_valid instead of
is_named.
(e_contact_list_editor_request_close_all): nuke.
* gui/contact-list-editor/e-contact-list-editor.h: nuke a bunch of
prototypes for functions that are now either virtual functions
from EABEditor or eab_editor_* functions.
(struct _EContactListEditor): we subclass from EABEditor.
(struct _EContactListEditorClass): same, and nuke all the signals.
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_get_type): parent_type == EAB_TYPE_EDITOR.
(e_contact_editor_class_init): fill in editor_class virtual
functions, and remove all the signals.
(contact_moved_cb): call eab_editor_contact_* instead of emitting
a signal here. also call eab_editor_close
(contact_added_cb): same.
(contact_modified_cb): same.
(e_contact_editor_close): rename from close_dialog.
(e_contact_editor_is_valid): new function.
(e_contact_editor_is_changed): new function.
(e_contact_editor_get_window): new function.
(file_close_cb): use eab_editor_ calls here.
(e_contact_editor_confirm_delete): nuke.
(contact_deleted_cb): call eab_editor_contact_* instead of
emitting a signal here. also call eab_editor_close
(delete_cb): use eab_editor_ functions.
(e_contact_editor_dispose): chain up to our parent's ::dispose.
(contact_editor_destroy_notify): use eab_editor_remove.
(e_contact_editor_new): use eab_editor_add, and remove the
g_object_ref/gtk_object_sink two-step.
(_popup_position): nuke dead function.
(set_fields): i is an index, not a field_id.
(e_contact_editor_raise): make this static, and it takes an
EABEditor arg now, not a EContactEditor.
(e_contact_editor_show): same.
(e_contact_editor_request_close_all): nuke.
* gui/contact-editor/e-contact-editor.h: nuke a bunch of
prototypes for functions that are now either virtual functions
from EABEditor or eab_editor_* functions.
(struct _EContactEditor): we subclass from EABEditor.
(struct _EContactEditorClass): same, and remove the signals.
* gui/widgets/e-addressbook-view.c (delete): call
eab_editor_confirm_delete.
* gui/widgets/eab-popup-control.c (contact_editor_cb): don't
bother calling e_contact_editor_raise since this is a new contact
editor anyway.
* gui/widgets/eab-gui-util.c (eab_show_contact_list_editor): use
EABEditor signals, and eab_editor_show.
* gui/widgets/e-minicard.h: "editor" is now of type EABEditor, not
GObject.
* gui/widgets/e-minicard.c (e_minicard_event): just use
eab_editor_raise instead of
e_contact_editor_raise/e_contact_list_editor_raise.
* gui/component/addressbook-component.c (impl_requestQuit):
implement this again, calling eab_editor_request_close_all.
(addressbook_component_class_init): fill in epv->requestQuit.
2004-03-24 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/eab-editor.[ch]: superclass for both
EContactEditor and EContactListEditor. A start toward simplifying
the interface to both of them, and a place to abstract code.
* gui/contact-editor/Makefile.am (libecontacteditor_la_SOURCES):
add eab-editor.[ch]
2004-03-24 Danilo Segan <dsegan@gmx.net>
* gui/widgets/e-addressbook-model.c (update_folder_bar_message):
Use ngettext for handling plural forms (fixes bug #53464).
* gui/widgets/eab-gui-util.c (eab_show_multiple_contacts): Likewise.
* gui/widgets/eab-vcard-control.c (pstream_load): Likewise.
2004-03-22 Chris Toshok <toshok@ximian.com>
[ fixes bug #53653, and a couple other instances ]
* gui/widgets/eab-gui-util.c (file_exists): REJECT -> CANCEL, so
esc works (patch from Pratik V. Parikh <pratikvp@despammed.com>)
(save_it): REJECT -> CANCEL.
(eab_select_source): same.
2004-03-17 Hans Petter Jansson <hpj@ximian.com>
Fixes #53625.
* gui/widgets/eab-contact-display.c (render_contact): Show home and
mobile phone numbers too.
2004-03-15 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.c (enable_writable_fields) :
loop only up to < G_N_ELEMENTS instead of <= G_N_ELEMENTS. Prevents
out of bound indexing of addresses array
2004-03-15 Hao Sheng <hao.sheng@sun.com>
* gui/component/Makefile.am : build a11y/addressbook dir
* gui/widgets/e-addressbook-view.c :
(eab_view_class_init) : add the accessibility support for
EAddressbookView
* gui/widgets/e-minicard-view.c :
(e_minicard_view_class_init) : add the accessibility support for
EMinicardView
* gui/widgets/e-minicard.c :
(e_minicard_class_init) : add the accessibility support for EMinicard
2004-03-10 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c (render_address): #if 0 this,
since nothing uses it anymore.
(accum_address): new function, build up a GString.
(accum_name_value): same.
(accum_attribute): same.
(render_contact): don't just blindly render the work/personal
blocks, since if they're empty it looks stupid. instead,
accumulate each block into a GString and only output the entire
block if the string is non-empty.
2004-03-10 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (phone_entry_changed):
phone_choice is an index into the phones array.
(_phone_arrow_pressed): same.
(address_text_changed): address_choice is an index into the
addresses array.
(_address_arrow_pressed): same.
(set_address_field): same.
(_email_arrow_pressed): email_choice is an index into the emails
array.
(full_addr_clicked): same, and same with
s/addresses/address_editable.
(e_contact_editor_init): initialize the *_choice fields as indices
into their respective *es arrays.
(e_contact_editor_build_address_ui): initialize the labels from
the addresses array.
(set_fields): *_choice fields are indices into *es arrays.
(enable_writable_fields): same.
2004-03-09 Rodney Dawes <dobey@ximian.com>
* gui/contact-editor/e-contact-editor.c (_arrow_pressed): Don't try
to calculate the position of the popup menu for the dropdowns
2004-03-09 Rodney Dawes <dobey@ximian.com>
* gui/contact-editor/e-contact-editor-im.c (e_contact_editor_im_edit):
Remove the dialog separator, and set appropriate border widths for the
button area box and the dialog's vbox
* gui/contact-editor/im.glade: Apply patch from Christian Neumair to
make the IM editor dialog HIG compliant
2004-03-08 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.c (enable_writable_fields):
fixed a typo, which is causing probelm in building up email ui
2004-03-04 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook-config.c :
(addressbook_add_server_druid) : maintain a list of only those source groups which are added to menu
instead of all
(source_group_changed_cb) : use the new list to get the selected group
(addressbook_source_dialog_destroy) : free the new list
2004-03-04 Not Zed <NotZed@Ximian.com>
** See #54991.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): dont try to unref a null
query.
(name_style_query): use a GString to build the query, so we can
use e_sexp_encode_string to properly encode the sub terms.
2004-03-03 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-component.c (delete_addressbook_cb):
Set error to NULL before using it.
2004-03-03 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-component.c (delete_addressbook_cb):
Remove local data, with error reporting on failure.
2004-03-02 Larry Ewing <lewing@ximian.com>
* gui/component/addressbook-component.c: add drop support for
text/x-vcard to the source list.
2004-02-27 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c
(eab_contact_display_render_compact): ref the pixbuf before we
close/unref the loader so the pixbuf sticks around, and make the
scaling logic a bit more transparent.
2004-02-27 Rodney Dawes <dobey@ximian.com>
* gui/contact-editor/contact-editor.glade: Change the button relief
back to normal for the drop-down buttons and move the text labels
inside the buttons as well
2004-02-27 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (eab_view_set_property): add
missing "break" to PROP_SOURCE's case.
2004-02-27 Rodney Dawes <dobey@ximian.com>
* gui/contact-editor/contact-editor.glade: Get rid of some extraneous
event boxes that were not needed/used for anything really
Set the button relief for the pop-down buttons to NONE
Set the shadow type for the arrows in the pop-down buttons to NONE,
so that we look good with themes that actually handle shadow types on
arrows, since most things just ignore the shadow type anyway
Fixes #8516
2004-02-26 Hans Petter Jansson <hpj@ximian.com>
* util/eab-destination.c (name_and_email_cb): Move unused variable
declaration inside notyet conditional.
* printing/e-contact-print.c: Include gal/util/e-util.h
* gui/merging/eab-contact-compare.c (eab_contact_locate_match): Cast
callback to an EBookCallback.
(eab_contact_locate_match_full): Ditto.
* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name):
Remove unused variable and cast 3rd arg to e_contact_set () (perhaps
this should take a gconstpointer?).
* gui/contact-editor/e-contact-editor-im.c (setup_service_optmenu):
Remove unused variable.
* gui/component/select-names/e-select-names.c (e_select_names_init):
Cast the vbox to a GtkBox.
* gui/component/addressbook-config.c (dialog_to_source): Correctly cast
the spin button to a GtkSpinButton, not a GtkEntry.
* gui/component/addressbook-component.c (load_primary_selection):
Remove unused variable.
2004-02-26 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c (render_contact): add the
Groupwise IM attributes to the list of those we render.
2004-02-26 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (set_view_preview): call
eab_view_show_contact_preview here so we maintain the preview
state when switching folders. we don't (yet... won't ever?) have
per-addressbook preview settings.
2004-02-26 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c
(eab_view_show_contact_preview): view->scrolled ->
view->contact_display. fixes crash.
2004-02-26 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (edit_im_clicked): fix
checks for locations.
2004-02-26 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/im.glade: set the location label/option menu
to visible.
* gui/contact-editor/e-contact-editor.c (add_im_clicked): build up
the vcard attributes manually so we can set the TYPE= parameter to
the location the user specifies.
(edit_im_clicked): same. Also, use COLUMN_IM_LOCATION_TYPE, which
is not localized to pass the location to the editor.
(remove_im_clicked): reindent.
(im_treeview_drag_data_get_cb): same.
(im_treeview_drag_data_rcv_cb): same.
(setup_im_treeview): add another column for the (non-localized)
location type, and reindent.
(add_im_field): use the new attribute api for EContact so we can
get the location of each account, and set things appropriately on
the store.
* gui/contact-editor/e-contact-editor-im.c
(e_contact_editor_im_class_init): reindent.
(e_contact_editor_im_new): same.
(fill_in_info): same.
2004-02-25 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor-im.c : added
groupwise im related label and icon image file name
* gui/contact-editor/e-contact-editor.c :
(im_treeview_drag_data_get_cb), (im_treeview_drag_data_rcv_cb) :
(set_im_fields) : added code to add Gw Im id to contact-editor
2004-02-24 Hans petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name):
Port to new way of setting name in contact.
2004-02-24 JP Rosevear <jpr@ximian.com>
* gui/component/addressbook-migrate.c (migration_context_new):
don't init the dialog here
(addressbook_migrate): init it here
Fixes #54214
2004-02-20 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (phone_entry_changed):
remove some spew.
2004-02-19 Chris Toshok <toshok@ximian.com>
* gui/component/component-factory.c: s/HAVE_NSS/ENABLE_SMIME.
* gui/component/addressbook-component.c: s/HAVE_NSS/ENABLE_SMIME.
2004-02-19 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (activate_source): split out the
majority of the set_prop code for PROPERTY_SOURCE_UID_IDX here, so
it can be used for both SOURCE_UID and FOLDER_URI.
(set_prop): add a setter for "folder_uri". we sorta fudge things
and use the uri for the uid (the uid is only used as a hash key to
look up the view associated with the uri/source, so we should be
good still.)
(get_prop): add getter for "folder_uri".
(addressbook_new_control): add the "folder_uri" property to our
property bag.
2004-02-19 Hans Petter Jansson <hpj@ximian.com>
Fixes #45308 and duplicates.
* gui/widgets/e-addressbook-model.c (eab_model_set_property): Store
the IDs of book signals connected to, so we can disconnect from them
later.
2004-02-18 Hao Sheng <hao.sheng@sun.com>
[ fixes bug #52765 ]
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_confirm_delete): make delete dialog support
ESC press.
2004-02-17 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.h (struct
_EContactListEditor): add image_set slot.
* gui/contact-list-editor/e-contact-list-editor.c
(list_image_changed_cb): set image_set = TRUE.
(e_contact_list_editor_init): init image_set = FALSE
(extract_info): only set the LOGO attribute if image_set = TRUE.
* gui/contact-editor/e-contact-editor.h (struct _EContactEditor):
add image_set slot.
* gui/contact-editor/e-contact-editor.c (extract_info): only set
the PHOTO attribute if image_set == TRUE.
(image_chooser_changed): new function, set image_set = TRUE and
call widget_changed.
(e_contact_editor_init): init image_set to FALSE.
(_address_arrow_pressed): quiet compiler.
2004-02-17 Chris Toshok <toshok@ximian.com>
[ fixes bug #53620 ]
* gui/merging/eab-contact-compare.c (eab_contact_compare_name): ""
is a valid (and common) value for elements of EContactName now.
it's semantically equivalent to NULL in the old ECard foo.
2004-02-12 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (migrate_contacts): free up
the list returned by e_book_get_contacts.
2004-01-12 Rodney Dawes <dobey@ximian.com>
* gui/component/addressbook-component.c (delete_addressbook_cb):
Fix capitalization of Address Book usage in sentence form
* gui/component/ldap-config.glade: Use Address Book instead of
Addressbook in here (Patch from Aaron Weber <aaron@ximian.com>)
2004-02-11 Rodney Dawes <dobey@ximian.com>
* gui/component/addressbook-component.c (delete_addressbook_cb):
(fill_popup_menu_callback):
* gui/widgets/e-addressbook-view.c (init_collection):
* gui/widgets/eab-gui-util.c (eab_error_dialog):
* gui/widgets/eab-popup-control.c (eab_popup_control_contstruct):
Address Book, not Addressbook
Fixes #54166 and #54120
2004-02-10 JP Rosevear <jpr@ximian.com>
* Makefile.am: build importers dir
2004-02-08 Rodney Dawes <dobey@ximian.com>
* gui/component/addressbook-migrate.c (create_groups): Initialize the
personal_source to NULL
Fixes #54015
2004-02-08 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/widgets/e-addressbook-view.c (delete) : pass contact
as an argument instead of contact id to e_book_async_remove_contact
2004-02-06 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (create_groups): don't
bother using a function-wide variable to store the personal
source. also, use g_build_filename properly (because fejj is a
whiner.)
(migrate_local_folders): same (wrt fejj whining).
2004-02-06 Rodney Dawes <dobey@ximian.com>
* gui/component/addressbook.c (addressbook_new_control): Hide the
border on the notebook also
* gui/widgets/e-addressbook-view.c (eab_view_new): Don't pack another
scrolled window inside of a scrolled window, just pack the contact
display inside the paned, since it already has a scrolled window
2004-02-06 Rodney Dawes <dobey@ximian.com>
* gui/widgets/e-addressbook-view.c: Use "Address Book" instead of
"folder" or "Addressbook" for the "Address Book Sources..." and
copy/move contact menu items
Fixes #53654
2004-02-06 Chris Toshok <toshok@ximian.com>
* importers/evolution-ldif-importer.c (getNextLDIFEntry): only set
the address if something in it's been filled in.
(resolve_list_card): build up a separate list representing the xml
formatted crud.
(process_item_fn): remove FIXME.
(factory_fn): use g_new0 since we test for NULL-ness later on.
* importers/evolution-vcard-importer.c (factory_fn): use g_new0
since we test for NULL-ness later on.
2004-02-06 JP Rosevear <jpr@ximian.com>
* importers/evolution-ldif-importer.c (importer_destroy_cb):
implement
2004-02-06 JP Rosevear <jpr@ximian.com>
* importers/evolution-vcard-importer.c (importer_destroy_cb):
implement
(load_file_fn): use g_file_get_contents to get a string we can
convert to a contact list with eab_contact_list_from_string
2004-02-06 JP Rosevear <jpr@ximian.com>
* importers/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in:
shlib importer info
* importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in:
ditto
* importers/Makefile.am: build shlib addressbook importers
* importers/evolution-ldif-importer.c: First crack at resurrecting
* importers/evolution-vcard-importer.c: ditto
2004-02-03 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c (on_url_requested): remove
some spew, and add an evo-icon: handler, for things in evolution's
imagedir.
(render_address): hack up the html.
(render_name_value): new function, just render a name/value/icon.
(render_attribute): split out most of this function into
render_name_value. this just checks to see if the EContact
attribute has something in it before passing it along.
(render_contact_list): split this out from
eab_contact_display_render_normal.
(start_block): new function, insert a row of height 20 with a
header.
(end_block): new function, insert a row of height 20.
(render_contact): split this out from
eab_contact_display_render_normal, and prettify the contact
display.
(eab_contact_display_render_normal): call render_contact and
render_contact_list.
(eab_contact_display_new): create a scrolled window and add the
GtkHTML to it so we actually have scrollbars.
2004-02-03 Dan Winship <danw@ximian.com>
* gui/component/select-names/Makefile.am (INCLUDES): add
widgets/misc for e-activity-handler.h
2004-02-03 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/component/addressbook-config.c (dialog_to_source)
(source_to_dialog) : use gtk_spin_button_* apis to get and set
values for download limit spin button instead of gtk_entry
Fixes #53432
2004-02-02 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (eab_view_new): hook up
contact_changed/contact_removed signals.
(contact_changed): new function. if the changed contact is the
one we're displaying, re-render it.
(contact_removed): new function. if the removed contact is the
one we're displaying, clear the display.
(render_contact): set displayed_contact to the row.
(eab_view_init): init displayed_contact to -1.
(selection_changed): set displayed_contact to -1 when we clear the
display.
* gui/widgets/e-addressbook-view.h (struct _EABView): add
"displayed_contact" so we can update the contact preview when it
changes.
2004-01-30 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c: enable d&d drop photos.
* gui/contact-editor/contact-editor.glade: use
eab_create_image_chooser_widget for the d&d'able image.
* gui/contact-list-editor/e-contact-list-editor.c: abstract out
all the d&d image support (it's now in
widgets/misc/e-image-chooser.[ch]).
* gui/contact-list-editor/contact-list-editor.glade: use
eab_create_image_chooser_widget for the d&d'able image.
* gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget):
new function.
* gui/widgets/eab-gui-util.h: add prototype for
eab_create_image_chooser_widget.
2004-01-29 Hans Petter Jansson <hpj@ximian.com>
* gui/widgets/eab-gui-util.c (source_selection_changed_cb): Implement.
(eab_select_source): Implement. Public function that prompts user to
select a source from a list.
(eab_transfer_contacts): Enable and use eab_select_source () and
ESource, instead of old shell folder/URI stuff.
2004-01-29 Hans Petter Jansson <hpj@ximian.com>
* gui/component/ldap-config.glade: Changed "Finish" to "Apply" in
dialog finish page text.
2004-01-29 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-config.c (dialog_to_source): Sync the
modified source list.
* gui/component/addressbook-component.c (delete_addressbook_cb): Sync
the modified source list.
2004-01-29 Chris Toshok <toshok@m198-139.dsl.rawbw.com>
* gui/component/addressbook-migrate.c (setup_progress_dialog): use
the MigrationContext struct.
(dialog_close): same.
(dialog_set_folder_name): same.
(dialog_set_progress): same.
(migrate_contacts): same, and pass it along to other functions.
(migrate_contact_folder_to_source): same.
(migrate_contact_folder): same. also, add the old path/uid to the
folder_uid_map.
(migrate_local_folders): same.
(create_groups): use the MigrationContext struct.
(migrate_completion_folders): if it's a file uri, look up the old
path in our hash table for a uid to use. otherwise use the old
behavior.
(migration_context_new): new function, initialize the
MigrationContext.
(migration_context_free): free up everything.
(addressbook_migrate): create the context, pass it to everything,
destroy the context, shine toshok's shoes, etc.
2004-01-29 Radek Doulik <rodo@ximian.com>
* gui/component/addressbook-config.c (dialog_to_temp_source): set
group to temporary source
2004-01-28 Hans Petter Jansson <hpj@ximian.com>
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): Get file_as instead of full_name.
* gui/compoent/select-names/e-select-names.etspec: Show the file_as
column instead of full_name.
2004-01-27 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_set_property): Handle NULL name. Fixes
#53071.
2004-01-27 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (dialog_to_source): set the
relative_uri of a local source to be its uid.
* gui/component/addressbook-migrate.c
(migrate_contact_folder_to_source): remove the dest_group arg,
since we don't use it.
(migrate_contact_folder): set the relative uri of the source to be
its uid.
(PERSONAL_RELATIVE_URI): "Personal" -> "system".
(create_groups): don't actually make the directory hierarchy for
the personal folder here. let e-d-s do that. Also remove
OnThisComputer from the base uri.
(migrate_local_folders): track change to
migrate_contact_folder_to_source.
2004-01-26 Chris Toshok <toshok@ximian.com>
[ Should fix #53361 and other migration problems/crashes ]
* gui/component/addressbook-migrate.c
(migrate_contact_folder_to_source): new function, takes most of
migrate_contact_folder's contents. Fix some of the refcounting
problems though, by not unreffing dest_group, and using
e_group_add_source instead of e_source_set_group.
(migrate_contact_folder): convert to calling
migrate_contact_folder_to_source.
(create_groups): add an out parameter for *personal_source.
(migrate_local_folders): add personal_source as an arg, so we can
get the source that create_groups created/found. Call
migrate_contact_folder_to_source for the personal_source.
(addressbook_migrate): pass personal_source to
migrate_local_folders.
2004-01-26 Chris Toshok <toshok@ximian.com>
[ fixes #53238 ]
* util/eab-destination.c (nonempty): make this accept NULL's (and
return FALSE for them).
(eab_destination_is_empty): shorten some of the tests since
nonempty takes NULL now.
(eab_destination_get_address): only call
camel_internet_address_add if both name and email are non-empty.
otherwise call camel_address_decode and let camel try to deal with
it.
(eab_destination_xml_encode): call xmlEncodeEntitiesReentrant on
the strings before adding them to the xml, so people that enter
[<>&] won't end up with broken EABDestinations.
2004-01-26 Radek Doulik <rodo@ximian.com>
* gui/widgets/e-addressbook-view.c (selection_received): make sure
we pass \0 terminated string to eab_contact_list_from_string
[it may fix #51743]
2004-01-25 Chris Toshok <toshok@ximian.com>
[ fixes bug #51171 ]
* gui/widgets/eab-gui-util.c (eab_send_contact_list): get this
working.
2004-01-24 Rodney Dawes <dobey@ximian.com>
* gui/component/select-names/e-select-names.c (e_select_names_init):
Select Contacts from Address Book, not Contents
Fixes #53263
2004-01-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (migrate_local_folders):
oops.
(migrate_contact_folder): fix the unreffing.
2004-01-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (migrate_local_folders): use
_("Personal"), not "Personal".
2004-01-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (migrate_local_folders):
don't create/add the source here. it's done in
migrate_contact_folder.
2004-01-24 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (migrate_local_folders): use
e_folder_map_local_folders.
(find_addressbook_dirs): nuke.
2004-01-24 JP Rosevear <jpr@ximian.com>
* gui/widgets/e-addressbook-view.c (init_collection): use
.evolution to store view info
2004-01-23 Chris Toshok <toshok@ximian.com>
[ fixes bug #52571 ]
* util/eab-book-util.c (escape): ugh. name fields that have \"
around the name break our queries, because it turns it into (for
instance): (contains "full_name" ""Toshok""). so we need to turn
that into: (contains "full_name" "\"Toshok\"").
(eab_name_and_email_query): escape both the name and email, and
use an EBookQuery instead of passing the string to
e_book_async_get_contacts. Looks like ross missed a couple of
spots.
(eab_nickname_query): same.
* gui/component/addressbook.c (free_load_source_data): new
function, free up the data and unref the source if there is one.
(load_source_auth_cb): call free_load_source_data instead of just
g_free'ing the struct.
(load_source_cb): same.
(default_book_cb): new function, we need this so we can fill in
the source for the default book. get the source, then call
load_source_cb to continue processing as normal.
(addressbook_load_default_book): use default_book_cb instead of
load_source_cb.
2004-01-22 Chris Toshok <toshok@ximian.com>
[ fixes bug #53184 ]
* gui/component/addressbook-migrate.c (migrate_contacts): handle
the fact that the xml 1.4 spits out contains unescaped ';'s in the
EMAIL attributes for mailing lists.
2004-01-22 Chris Toshok <toshok@ximian.com>
[ fixes bug #52944 ]
* gui/component/addressbook-migrate.c (migrate_contacts): do some
massaging of contacts as we import them, to fix up the differences
between 1.4 and 1.5 vcards.
2004-01-21 Nat Friedman <nat@novell.com>
* gui/contact-editor/contact-editor.glade: Added missing
entry-blog widget.
2004-01-21 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-config.c (create_source_dir): Remove.
(dialog_to_source): Don't create source dir, backend takes care of
that now.
2004-01-21 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c
(addressbook_component_peek_gconf_client): new function.
* gui/component/addressbook-component.h: add prototype for
addressbook_component_peek_gconf_client.
* gui/component/addressbook-migrate.c
(migrate_completion_folders): more gross hacking. migrate the
completion settings.
(get_source_by_uri): function to search for an ESource given the
entire uri. used for migrate_completion_folders.
(migrate_ldap_servers): get_string_value -> get_string_child.
same with get_integer_child.
(get_string_child): rename to make it apparent it's a child, not a
property.
(get_integer_child): same.
(addressbook_migrate): call migrate_completion_folders.
2004-01-21 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (new_target_cb): call
widget_changed here too, since we're changing the destination.
2004-01-20 Chris Toshok <toshok@ximian.com>
[ fixes bug #52955 ]
* gui/merging/eab-contact-compare.c (use_common_book_cb): handle
the case properly where there are no query parts (p == 0).
Instead of passing "" to e_book_query_from_string, just set the
query to NULL.
* util/eab-book-util.c (eab_contact_list_to_string): we need to
put a blank line here, so \r\n\r\n, not just \r\n.
2004-01-20 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (create_groups): deal with
the groups/sources already being there. Essentially make this
function idempotent.
(addressbook_migrate): unconditionally call create_groups now.
move the version logic here from ipl_upgradeFromVersion, and
include more versions in the set of those we upgrade from.
* gui/component/addressbook-migrate.h: add major/minor/revision
args to addressbook_migrate.
* gui/component/addressbook-component.c (impl_upgradeFromVersion):
remove the version logic from here.
2004-01-20 Sivaiah Nallagatla <snallagatla@novell.com>
* printing/e-contact-print.c (e_contact_print_response): do not
try to unref when query is NULL
2004 -01-20 Sivaiah Nallagatla <snallagatla@novell.com>
* gui/contact-editor/e-contact-editor.c (edit_im_clicked) : do not call
gtk_tree_model_get when nothing in the list is selected
2004-01-19 Hans Petter Jansson <hpj@ximian.com>
* gui/component/select-names/e-select-names.etspec: Get name from
correct model column.
2004-01-19 Hans Petter Jansson <hpj@ximian.com>
* printing/e-contact-print.c (complete_sequence): Only unref if we
have a query.
2004-01-19 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-component.c
(get_primary_source): Implement.
(load_primary_selection): Use get_primary_source ().
(impl_requestCreateItem): Use get_primary_source (), fixing a crash
when we're asked to create a new item and we don't have the controls.
2004-01-16 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook.c (load_source_auth_cb): Don't run
callback if the action was cancelled.
(load_source_cb): Ditto.
(addressbook_load_source): Return an ID for the load attempt.
(addressbook_load_source_cancel): Implement, allows cancelling a
load attempt.
* gui/contact-editor/e-contact-editor.c (new_target_cb): Clear the
values for in-progress load operation. Only unref new_book if it's
non-NULL.
(cancel_load): Implement. Cancels the load operation if one is in
progress.
(source_selected): Cancel any running load operation before starting
a new one. Set up in-progress values.
(e_contact_editor_init): Clear the in-progress values.
(e_contact_editor_dispose): Cancel load operation.
(e_contact_editor_set_property): If a new target book is set, cancel
any conflicting load operation in progress.
* gui/widgets/e-addressbook-view.c (set_paned_position): Remove
debug output.
(get_paned_position): Ditto.
2004-01-16 JP Rosevear <jpr@ximian.com>
* gui/component/addressbook.c (set_prop): only set the menus and
command state if we actually are already displayed, otherwise wait
for activation
2004-01-15 Hans Petter Jansson <hpj@ximian.com>
* gui/widgets/e-addressbook-view.c (set_paned_position): Implement.
(get_paned_position): Implement.
(eab_view_new): Connect signal to get paned position changes.
Remove old hack.
(display_view): Set paned position properly.
2004-01-12 JP Rosevear <jpr@ximian.com>
* gui/component/addressbook-component.c (impl_upgradeFromVersion):
revert dumb upgrade change
2004-01-12 JP Rosevear <jpr@ximian.com>
* gui/component/addressbook-component.c (impl_upgradeFromVersion):
migrate from 1.5.0 and 1.5.1 properly
2004-01-12 JP Rosevear <jpr@ximian.com>
* gui/contact-editor/contact-editor.glade: de-bold ui elements
2004-01-09 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-component.c (add_popup_menu_item): Take a
sensitivity flag per menu item, and fall back to stock icons.
(delete_addressbook_cb): Implement.
(fill_popup_menu_callback): Reorder items, remove "remove" item, set
sensitivity.
* gui/component/ldap-config.glade: "Edit LDAP Server" ->
"Addressbook Properties".
2004-01-11 Christian Hammond <chipx86@gnupdate.org>
* addressbook/gui/contact-editor/e-contact-editor-im.[ch],
addressbook/gui/contact-editor/im.glade: Added a dialog for
adding a new IM account.
* addressbook/gui/contact-editor/Makefile.am: Added the previously
mentioned files, and depend on camel for necessary MIME parsing.
* addressbook/gui/contact-editor/contact-editor.[ch],
addressbook/gui/contact-editor/contact-editor.glade: Add and implement
2004-01-09 Ross Burton <ross@burtonini.com>
* gui/component/select-names/e-select-names-completion.c:
* gui/merging/eab-contact-compare.c:
* gui/widgets/e-addressbook-model.c:
* printing/e-contact-print.c:
Update for API changes to e-book-async.
2004-01-08 Ross Burton <ross@burtonini.com>
* gui/contact-editor/contact-editor.glade:
* gui/contact-editor/e-contact-editor.c:
Add the video conferencing field.
2004-01-07 Rodney Dawes <dobey@ximian.com>
* gui/component/select-names/e-select-names.c:
* gui/component/select-names/select-names.glade: Make the ESelectNames
object be a HIG-compliant dialog, change "Folder" to be "Address Book",
and fix a mnemonic conflict with "Category" and "Cancel"
Fixes #51966
2004-01-07 Rodney Dawes <dobey@ximian.com>
* gui/component/addressbook-component.c: Move the smime_component_init
call to the instance init callback, rather than the class init, and
wrap it in #if HAVE_NSS, so the addressbook works without smime support
2004-01-07 JP Rosevear <jpr@ximian.com>
* gui/component/Makefile.am: link in printer stuff
Fixes #51172
2004-01-06 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-migrate.c (check_for_conflict): remove
spew.
(migrate_contacts): same.
(migrate_contact_folder): same.
(migrate_local_folders): same, and plug a leak.
2004-01-06 Chris Toshok <toshok@ximian.com>
* gui/component/Makefile.am (libevolution_addressbook_la_SOURCES):
add addressbook-migrate.[ch].
* gui/component/addressbook-component.c
(addressbook_component_init): remove the source creation from
here, it's in the migration code now.
(impl_upgradeFromVersion): new function, call the
addressbook-migration stuff.
(addressbook_component_class_init): fill in
epv->upgradeFromVersion, and call smime_component_init.
(addressbook_component_peek_base_directory): new function.
(addressbook_component_peek_source_list): same.
* gui/component/addressbook-component.h: add prototypes for
_peek_base_directory and _peek_source_list.
* gui/component/addressbook-migrate.[ch]: add migration code to
convert stuff from 1.x over to 1.5/2.0.
2004-01-06 Rodney Dawes <dobey@ximian.com>
* gui/contact-editor/e-contact-editor-address.c: Apply
patch from Roozbeh Pournader to update countries list
Fixes #48151
2004-01-06 JP Rosevear <jpr@ximian.com>
* gui/component/select-names/e-select-names-popup.c
(popup_info_cleanup): disconnect from selection-done signal
2004-01-05 JP Rosevear <jpr@ximian.com>
* gui/component/addressbook.c
(addressbook_show_load_error_dialog): these line breaks in the
error messages should actually be spaces
Fixes #51732
2003-12-19 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-component.c (find_first_source): Impl.
from calendar.
(save_primary_selection): Implement, similar to calendar.
(load_primary_selection): Implement, similar to calendar.
(primary_source_selection_changed_callback): Save selection.
(impl_createControls): Load selection.
2003-12-18 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (widget_changed):
editable -> target_editable
(e_contact_editor_get_property): Same.
(_email_arrow_pressed): Same.
(enable_writable_fields): Same.
(set_editable): Same.
(contact_added_cb): Make sure source book is editable before trying
to remove contact from there.
(e_contact_editor_init): Set up source/target editability.
(command_state_changed): Allow save only if target editable. Allow
delete only if source editable.
(e_contact_editor_set_property): Set editability flags for
source/target.
* gui/contact-editor/e-contact-editor.h: Add source_editable,
target_editable flags in place of old editable flag.
2003-12-17 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (eab_view_class_init): install
the "source" property.
(eab_view_init): init eav->source to NULL.
(eab_view_dispose): disconnect the ecml_changed_id and unref
source.
(eab_view_new): create the search bar here.
(view_preview): c&p the mailer's code mostly for this - this is
the toggle listener for the Preview Pane menuitem.
(setup_menus): add a listener for the ContactsViewPreview toggle.
(eab_view_set_property): sensitize the search bar based on whether
or not we have a book set. This makes it so you can't search
until the book is loaded. Also add handling for the "source"
attribute and print a warning when it's set multiple times
(something that's not supported at the moment.)
(eab_view_get_property): add "source" case.
(search_activated, query_changed, compare_subitems, make_subitems,
ecml_changed, get_master_list, connect_master_list_changed): move
this here from addressbook.c
(eab_view_show_contact_preview): implement - just show or hide the
scrolled window.
(eab_view_setup_menus): call e_search_bar_set_ui_component here,
kind of a hack.
* gui/widgets/e-addressbook-view.h: make this inherit from GtkVBox
instead of GtkEventBox since we'll be packing children. Add a
prototype for eab_view_show_contact_preview.
* gui/component/addressbook.c (get_current_view): return the
EABView associated with the active notebook page.
(save_contact_cb): use the current view.
(view_contact_cb): same.
(search_cb): same.
(delete_contact_cb): same.
(print_cb): same.
(print_preview_cb): same.
(stop_loading_cb): same.
(cut_contacts_cb): same.
(copy_contacts_cb): same.
(paste_contacts_cb): same.
(select_all_contacts_cb): same.
(send_contact_cb): same.
(send_contact_to_cb): same.
(copy_contact_to_cb): same.
(move_contact_to_cb): same.
(update_command_state): same.
(change_view_type): nuke, nothing uses this.
(control_activate): use the current view.
(control_activate_cb): same.
(source_list_changed_cb): new function, remove the notebook pages
(and destroy the EABView's) for sources that no longer exist.
(addressbook_view_clear): dispose of the uid_to_view hash.
(book_open_cb): store the ESource on the EABView too. this
function now takes a struct containing both EABView and ESource
since we can't store either in the AddressbookView.
(set_prop): if we have a view already for this uid, bring it up.
otherwise create a new one and start the book loading.
(addressbook_search_activated): nuked - this is being moved to
e-addressbook-view.
(addressbook_query_changed): same.
(compare_subitems, make_subitems, ecml_changed,
connect_master_list_changed): same.
(addressbook_new_control): simplify things a bunch. create a
notebook to store the views in. the search/vbox stuff is gone.
use e_source_list_new_for_gconf_default, and handle the source
list's "changed" signal.
2003-12-17 Rodney Dawes <dobey@ximian.com>
* gui/component/autocompletion-config.c:
(autocompletion_config_control_new): Embed Tree in GtkScrolledWindow
2003-12-16 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (contact_added_cb): Update
the contact's UID after normal add.
2003-12-16 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook.c (addressbook_show_load_error_dialog):
Make a public function that shows an error dialog, which can be used
when a source fails to load.
(book_open_cb): Call addressbook_show_load_error_dialog () on error.
(set_prop): Don't reuse the book when loading a new source. This was
confusing the contact-editor, which gets the book passed in.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init):
Make "source_book" and "target_book" distinct properties.
(new_target_cb): Implement.
(source_selected): Implement.
(contact_moved_cb): Implement.
(contact_added_cb): Handle the case where source_book != target_book as
a move - if the add was successful, remove contact from source book.
(save_contact): Handle case where source_book != target_book.
(delete_cb): "book" renamed to "source_book".
(e_contact_editor_init): Set up source_selected signal.
(e_contact_editor_dispose): Dispose of both source and target books.
(e_contact_editor_new): "book" renamed to "source_book".
(e_contact_editor_set_property): If a source book is set, and we don't
have a target book, make target_book == source_book. Allow setting
target book, and base editability on that. If we're editing an existing
contact, treat book change as a change, and update command state.
(e_contact_editor_get_property): Allow getting target book.
(set_source_field): Indicate the selected book.
2003-12-16 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (set_source_field): Implement.
Makes the source menu reflect the source for the current book.
2003-12-16 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_create_source_option_menu): Implement. Creates
source selection option menu.
* gui/contact-editor/contact-editor.glade: Add source selection custom
widget.
2003-12-16 Hans Petter Jansson <hpj@ximian.com>
* gui/widgets/e-addressbook-table-adapter.c
(addressbook_is_cell_editable): Disable cell editing.
2003-12-15 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor.c (address_to_text): Implement.
(text_to_address): Implement, using EAddressWestern.
(address_text_changed): Adapt to EContactAddress.
(full_addr_clicked): Ditto. Fix field IDs.
(e_contact_editor_init): Init address_choice.
(_email_arrow_pressed): Fix field IDs.
(_address_arrow_pressed): Adapt to EContactAddress and fix field IDs.
(find_address_mailing): Leave out for now. Addresses don't have flags
anymore...
(set_fields): Adapt to EContactAddress and fix field IDs. Make sure
changes to other widgets don't make us go back to the first listed
address.
(set_address_field): Adapt to EContactAddress and fix field IDs.
(enable_writable_fields): Ditto.
(fill_in_info): Disable find_address_mailing () for now.
2003-12-10 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_class_init): Make "address" a boxed type.
(e_contact_editor_address_init): Set address to NULL.
(e_contact_editor_address_dispose): Free address.
(e_contact_editor_address_new): Take an EContactAddress.
(e_contact_editor_address_set_property): Re-implement setting the
address property.
(e_contact_editor_address_get_property): Ditto for getting.
(fill_in_info): Enable, use EContactAddress fields.
(extract_info): Ditto.
* gui/contact-editor/e-contact-editor-address.h:
Re-enable the address field, as EContactAddress.
2003-12-09 JP Rosevear <jpr@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (fill_in_info):
free email list properly
2003-12-09 JP Rosevear <jpr@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (extract_info):
free the list, not unref it, and free the elements
Fixes #51976
2003-12-06 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(open_book_cb): change prototype to fix warning, and change the
comment to read load_source instead of load_uri (which isn't what
we use anymore.)
(update_completion_books): just use our source list for this.
check the "completion" source property.
(source_list_changed): recreate the completion books.
(e_select_names_manager_init): connect to the source_list's
changed signal.
(e_select_names_manager_dispose): don't need to free the
completion_uids list anymore.
* gui/component/select-names/e-select-names-config.c
(e_select_names_config_get_completion_books,
e_select_names_config_set_completion_books,
e_select_names_config_add_notification_completion_books): remove.
* gui/component/select-names/e-select-names-config.h: remove the
completion books calls, since we can just use the source list.
* gui/component/component-factory.c (factory): create the
autocompletion control.
* gui/component/autocompletion-config.[ch]: new config control for
selecting completion folders. Uses e-source-selector. Could
probably be beautified a bit.
* gui/component/Makefile.am (libevolution_addressbook_la_SOURCES):
add autocompletion-config.[ch]
* gui/component/GNOME_Evolution_Addressbook.server.in.in: remove
the ldap config control server, and add the autocompletion one.
2003-12-06 JP Rosevear <jpr@ximian.com>
* */Makefile.am: Remove hard coded disable deprecated flags
2003-12-05 JP Rosevear <jpr@ximian.com>
* gui/component/select-names/select-names.glade: no more custom
widget for the selection of the search source
* gui/component/select-names/e-select-names.h: add member
* gui/component/select-names/e-select-names.etspec: update model
column
* gui/component/select-names/e-select-names.c (find_first_source):
find the first source in the list
(addressbook_model_set_source): we have the source to set directly
now
(source_selected): listen for the source item to change
(e_select_names_init): create a source option menu and hook it up
(e_select_names_dispose): destroy the source list
(e_select_names_new): do away with the config setup here
* gui/component/select-names/e-select-names-manager.h: update
members
* gui/component/select-names/e-select-names-manager.c
(update_completion_books): add books based on source uid
(config_completion_books_changed_cb): handle the completion list
changing
(config_min_query_length_changed_cb): handle minimum query length
changing
(e_select_names_manager_new): we don't do the settings stuff here
any more
(e_select_names_manager_init): do the initial set up here for the
book loaded and listen for changes
(e_select_names_manager_dispose): destroy the new stuff
* gui/component/select-names/e-select-names-config.[hc]: config
information
* gui/component/select-names/e-select-names-config-keys.h: the
config keys
* gui/component/select-names/e-select-names-bonobo.c
(impl_SelectNames_activate_dialog): do away with the shell client
stuff
* gui/component/select-names/Makefile.am: build new files
2003-12-05 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-model.c (book_view_loaded): call
remove_book_view/free_data here as well, to guard against multiple
book_view's being loaded.
2003-12-05 Hans Petter Jansson <hpj@ximian.com>
* gui/widgets/e-addressbook-view.etspec: Clean up and sync with
current model columns.
2003-12-04 Christian Hammond <chipx86@gnupdate.org>
* addressbook/gui/contact-editor/e-contact-editor-im.[ch],
addressbook/gui/contact-editor/im.glade: Added a dialog for
adding a new IM account.
* addressbook/gui/contact-editor/Makefile.am: Added the previously
mentioned files, and depend on camel for necessary MIME parsing.
* addressbook/gui/contact-editor/contact-editor.[ch],
addressbook/gui/contact-editor/contact-editor.glade: Add and implement
the Instant Messaging tab.
2003-12-03 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook.c
(retrieve_shell_view_interface_from_control): Remove.
(set_folder_bar_label): Remove.
(addressbook_new_control): Don't connect.
2003-12-03 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook-config.c: Do not depend on
e-folder-list.
* gui/component/select-names/e-select-names.c: Remove dependency
on evolution-folder-selector-button.
(e_addressbook_create_folder_selector): Just return a FIXME label
for now.
(folder_selected): #if 0 out.
(e_select_names_init): Do not connect.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_activate_dialog): Don't get a shell_client
arg anymore.
(load_completion_books): Stub out.
* gui/component/select-names/e-select-names.c
(e_select_names_new): Don't get an EvolutionShellClient anymore.
Don't create the folder selector button for now.
* gui/component/select-names/e-select-names.h: Remove dependency
on evolution-shell-client.
* gui/component/select-names/e-select-names-bonobo.c: Remove
dependency on evolution-shell-client.
(impl_SelectNames_activate_dialog): Stub out.
* gui/widgets/eab-gui-util.c: Remove dependency on
evolution-shell-client.
(eab_transfer_contacts): Stub out.
2003-12-02 Rodney Dawes <dobey@ximian.com>
* gui/component/Makefile.am: Version the schemas
* gui/component/apps_evolution_addressbook.schemas: Removed
* gui/component/apps_evolution_addressbook.schemas.in.in: Added
2003-12-02 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook.c (set_status_message): Call
e_activity_handler_operation_finished() on the current activity ID
when done.
2003-12-01 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook.c (struct AddressbookView): Replace
activity_client with activity_id.
(set_status_message): Use the EActivityHandler from the
AddressbookComponent.
* gui/component/addressbook-component.c (struct
_AddressbookComponentPrivate): New member activity_handler.
(addressbook_component_init): Init.
(impl_dispose): Unref.
(addressbook_component_peek_activity_handler): New.
(impl_createControls): Return an ETaskBar as the statusbar control
and attach it to the activity handler.
2003-12-01 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook-component.c (impl_createControls):
Pass a label for the status bar control for now.
2003-12-01 Larry Ewing <lewing@ximian.com>
* gui/component/Makefile.am (INCLUDES): remove
GTK_DISABLED_DEPRECATED so that we can build with gtk-2.3.
2003-12-01 Rodney Dawes <dobey@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in:
* gui/component/addressbook-config.c:
* gui/component/addressbook.c:
* gui/component/component-factory.c:
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in:
* gui/component/select-names/e-select-names-bonobo.c:
* gui/component/select-names/e-select-names-factory.c:
* gui/widgets/eab-gui-util.c:
* gui/widgets/eab-vcard-control.c: Use BASE_VERSION for repo_ids and
OAFIIDs
2003-12-01 Hans Petter Jansson <hpj@ximian.com>
* gui/component/ldap-config.glade: Fix start page text.
2003-12-01 JP Rosevear <jpr@ximian.com>
* conduit/Makefile.am: use privconduitdir
* conduit/e-address.conduit.in: subst right thing
2003-12-01 JP Rosevear <jpr@ximian.com>
* conduit/e-address.conduit.in: specify privlibdir as the location
* conduit/Makefile.am: install the conduit to privlibdir
2003-12-01 JP Rosvear <jpr@ximian.com>
* conduit/Makefile.am: version the .conduit file
2003-12-01 Hans Petter Jansson <hpj@ximian.com>
* gui/component/new-addressbook.glade: Remove this too.
* gui/component/Makefile.am (glade_DATA): Remove new-addressbook.glade.
2003-12-01 Hans Petter Jansson <hpj@ximian.com>
* gui/component/Makefile.am (libevolution_addressbook_la_SOURCES):
Remove addressbook-storage.[ch] and new-addressbook.[ch].
* gui/component/addressbook-storage.[ch]: Removed from repository.
* gui/component/new-addressbook.[ch]: Removed from repository.
* gui/component/addressbook-component.c (load_uri_for_selection):
Set source_uid property on view control, not folder_uri.
(new_addressbook_cb): Call addressbook_config_create_new_source ().
(edit_addressbook_cb): Implement.
(fill_popup_menu_callback): Hook up edit_addressbook_cb ().
(addressbook_component_init): Create the LDAP source group.
* gui/component/addressbook-config.c (AddressbookSourceDialog):
Take out the NEW_ADVANCED_UI stuff and add ESource related vars.
(ldap_unparse_auth)
(ldap_parse_auth)
(ldap_unparse_scope)
(ldap_unparse_ssl)
(ldap_parse_ssl): Moved here from addressbook-storage.c.
(addressbook_dialog_get_source)
(addressbook_dialog_set_source)
(objectclasses_create_server_table)
(objectclasses_create_evolution_table)
(objectclasses_add_foreach)
(objectclasses_add)
(objectclasses_sever_double_click)
(objectclasses_remove_foreach)
(objectclasses_remove)
(objectclasses_evolution_double_click)
(objectclasses_restore_default)
(server_selection_model_changed)
(evolution_selection_model_changed)
(setup_objectclasses_tab): Nuke aging, unfinished NEW_ADVANCED_UI.
(add_source_clicked)
(edit_source_clicked)
(delete_server)
(delete_source_clicked)
(ldap_config_control_destroy_callback)
(ldap_config_control_apply_callback)
(sources_selection_changed)
(sources_table_row_activated)
(ldap_dialog_new)
(addressbook_dialog_create_sources_table)
(ldap_config_control_new)
(addressbook_config_control_new): Nuke config control.
(create_source_dir)
(dialog_to_source)
(dialog_to_temp_source)
(source_to_uri_parts)
(source_to_dialog)
(source_group_changed_cb)
(source_group_menu_add_groups)
(folder_page_forward)
(finish_page_back): Implement.
(addressbook_ldap_init): Take ESource instead of AddressbookSource.
(addressbook_ldap_auth): Don't take a source, not needed.
(addressbook_root_dse_query): Ditto.
(addressbook_source_dialog_destroy): Clean up destroy function.
(addressbook_add_server_druid_finish): Clean up, create ESource.
(general_tab_check): If it's not LDAP, these options don't matter.
(do_ldap_root_dse_query): Source no longer needed here.
(query_for_supported_bases): Use a temp source generated from
current dialog settings.
(display_name_page_prepare): Renamed to folder_page_prepare ().
(druid_display_name_page_modify_cb): Renamed to
druid_folder_page_modify_cb ().
(addressbook_add_server_druid): Set up source list, group selector.
Make LDAP pages optional, dependent on selected group. Use ESource.
(edit_dialog_store_change): Remove config control list stuff,
export settings to ESource.
(addressbook_edit_server_dialog): Renamed to
addressbook_config_edit_source (), which takes an ESource. Remove
config control list stuff, make LDAP pages show up only if we have
an LDAP source. Remove NEW_ADVANCED_UI cruft.
(addressbook_config_create_new_source): Just call
addressbook_add_server_druid ().
* gui/component/addressbook-config.h: Move LDAP enums here, from
addressbook-storage.h.
* gui/component/addressbook.c (control_activate_cb): uri -> source
(addressbook_view_clear): Unref source list.
(book_open_cb): Use ESource.
(load_uri_auth_cb): Renamed to load_source_auth_cb (), manipulate
ESource instead of URI.
(get_remember_password): Implement.
(set_remember_password): Implement.
(addressbook_authenticate): Use ESource properties.
(load_uri_cb): Renamed to load_source_cb (), ESource adaptation.
(addressbook_load_uri): Renamed to addressbook_load_source (), takes
ESource.
(addressbook_load_default_book): ESource adaptation.
(get_prop): folder_uri property -> source_uid property.
(set_prop): folder_uri property -> source_uid property. Find ESource
by UID.
(addressbook_new_control): Set up source_uid property and ESourceList.
* gui/component/component-factory.c (factory): Disable config control.
* gui/component/ldap-config.glade: Druid and notebook dialogs
generalized to deal with local sources as well as LDAP. This file
should probably be renamed...
* gui/component/select-names/e-select-names-manager.c
(load_completion_books): Use addressbook_load_source (). However, this
needs a bit more work to get source UIDs instead of URIs.
* gui/component/select-names/e-select-names.c
(addressbook_model_set_uri): Use addressbook_load_source (). However,
this needs a bit more work to get source UIDs instead of URIs.
2003-11-26 JP Rosevear <jpr@ximian.com>
* gui/widgets/Makefile.am: turn on deprecated gtk and libgnomeui
stuff
* gui/component/select-names/Makefile.am: turn on deprecated gtk
stuff
* gui/contact-editor/Makefile.am: ditto
2003-11-17 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-component.c (impl_createControls): Store
a ref to the source selector.
(impl_requestCreateItem): Implement.
(impl_dispose): Unref the source selector.
(addressbook_component_init): Set up default sources.
* gui/widgets/e-addressbook-model.c (eab_model_set_property): If
the 'book' property is set, and editability changes, emit a signal
to that effect.
2003-11-14 JP Rosevear <jpr@ximian.com>
* gui/component/new-addressbook.c: include e-source from e-d-s
2003-11-13 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_is_cell_editable): Return TRUE for all cells, for now.
* gui/widgets/e-addressbook-table-adapter.c (card_modified_cb):
Renamed to contact_modified_cb ().
(addressbook_set_value_at): Port to use EContact instead of ECard.
(addressbook_is_cell_editable): Ditto.
(addressbook_append_row): Ditto.
* gui/widgets/e-minicard-label.c (e_minicard_label_set_property):
Make not editable, ever, and add a comment to this effect.
(e_minicard_label_realize): Ditto.
* gui/widgets/e-minicard.c (e_minicard_set_property): Ditto.
(add_field): Ditto.
2003-11-13 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook-component.c
(impl__get_userCreatableItems): New, implementation for the
userCreatableItems property.
(impl_requestCreateItem): New, implementation for the
requestCreateItem method.
(addressbook_component_class_init): Install.
2003-11-12 Ettore Perazzoli <ettore@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Add
component_alias of "contacts".
2003-11-08 Hans Petter Jansson <hpj@ximian.com>
* gui/component/Makefile.am (libevolution_addressbook_la_SOURCES):
Add new-addressbook.[ch].
(glade_DATA): Add new-addressbook.glade.
* gui/component/addressbook-component.c (add_popup_menu_item):
Implement.
(new_addressbook_cb): Implement.
(delete_addressbook_cb): Implement (skeletal).
(fill_popup_menu_callback): Implement.
(impl_createControls): Hook up fill_popup_menu_callback().
* gui/component/new-addressbook.[ch]: New files.
* gui/component/new-addressbook.glade: New file.
2003-11-07 Dan Winship <danw@ximian.com>
* util/Makefile.am (INCLUDES): Remove some includes of directories
that don't exist any more
2003-11-07 JP Rosevear <jpr@ximian.com>
* gui/contact-editor/Makefile.am: don't include the c marshaller
file twice
* gui/widgets/Makefile.am: ditto
2003-11-07 JP Rosevear <jpr@ximian.com>
* gui/widgets/Makefile.am: make sure the marshal header is in the
source list
* gui/component/select-names/Makefile.am: ditto
* gui/contact-editor/Makefile.am: ditto
* gui/contact-list-editor/Makefile.am: ditto
2003-11-07 JP Rosevear <jpr@ximian.com>
* util/Makefile.am: dist the marshal list
2003-11-07 JP Rosevear <jpr@ximian.com>
* gui/widgets/e-addressbook-view.c (change_view_type): don't
destroy the widget here - its dead when removed from the paned
container
2003-11-07 JP Rosevear <jpr@ximian.com>
* In the gui this is a search and replace commit for moving the
addressbook to evolution-data-server; it also deletes the old
backend files
2003-11-05 Larry Ewing <lewing@ximian.com>
* gui/widgets/e-addressbook-view.c (create_minicard_view): fix cast.
2003-11-03 Ettore Perazzoli <ettore@ximian.com>
* gui/component/select-names/e-select-names-factory.c: Update
factory ID.
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in:
Version the SelectNames server IDs by appending a "_2".
2003-11-03 Ettore Perazzoli <ettore@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Change
"evolution:config_item" into "evolution2:config_item".
2003-10-29 Chris Toshok <toshok@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: add the
S/MIME config control here.
2003-10-29 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-listener.c (e_book_listener_new): change
the poa hint to PER_REQUEST. fixes a couple of deadlocks.
2003-10-29 Chris Toshok <toshok@ximian.com>
* gui/component/component-factory.c (factory): ifdef the smime
code with HAVE_NSS.
* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
conditionally include libevolution-smime.la.
2003-10-24 Dan Winship <danw@ximian.com>
* backend/pas/Makefile.am (libpas_la_LIBADD): libpas should depend
on libebook, but NOT on libpasfile, etc, since it needs to be
linked into all backends, not just the wombat.
(libpasfile_la_LIBADD): depend on libpas.la and libedb3util.la
(libpasvcf_la_LIBADD): depend on libpas.la
(libpasldap_la_LIBADD): depend on libpas.la and $(LDAP_LIBS)
2003-10-23 Dan Winship <danw@ximian.com>
* backend/ebook/e-contact.c (e_contact_date_equal): new util func
* backend/pas/pas-backend-ldap.c (anniversary_compare,
birthday_compare): Use it
* backend/pas/pas-backend-summary.c
(pas_backend_summary_check_contact): Check if an ID exists in the
summary.
2003-10-23 Chris Toshok <toshok@ximian.com>
* tools/Makefile.am: convert 8 spaces to a tab.
* tools/.cvsignore: ignore evolution-addressbook-abuse and
evolution-addressbook-clean.
* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
add libevolution-smime.la.
* gui/component/component-factory.c (factory): add the certificate
manager config control stuff here, at least for now.
* gui/component/GNOME_Evolution_Addressbook.server.in.in: same.
2003-10-23 Rodrigo Moya <rodrigo@ximian.com>
* gui/component/addressbook-config.c
(addressbook_dialog_create_source_table): fixed typo in variable name.
2003-10-22 Ettore Perazzoli <ettore@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an
"evolution:button_icon" attribute.
2003-10-22 Ettore Perazzoli <ettore@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an
"evolution:button_sort_order" property.
2003-10-22 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook-component.c (impl_createControls):
Make the the scrolled window have an "in" shadow.
* gui/component/addressbook-config.c
(addressbook_dialog_create_sources_table): Likewise.
* gui/widgets/e-addressbook-view.c (create_minicard_view): Likewise.
(create_treeview_view): Likewise.
2003-10-22 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook-component.c (impl_createControls): Set
the GtkScrolledWindow scrollbar policy to "automatic" for both the
horizontal and the vertical scrollbar.
2003-10-22 Ettore Perazzoli <ettore@ximian.com>
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an
"evolution:button_label" property on the component for use in the
shell.
2003-10-21 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c: make it work with the new ebook api
* backend/pas/pas-book.c (pas_book_respond_get_changes): put the
vcard in for every change
* backend/pas/pas-backend.c (pas_backend_change_add_new): just use
the vcard field
(pas_backend_change_modify_new): ditto
(pas_backend_change_delete_new): ditto
* backend/pas/pas-backend-file.c
(pas_backend_file_changes_foreach_key): create a fake contact with
the uid
(pas_backend_file_get_changes): add the card to the changes
* backend/ebook/tests/ebook/test-changes.c (main): just print the
uid
* backend/ebook/e-book.c (e_book_free_change_list): unref the
contact
* backend/ebook/e-book-types.h: the change struct contains an
EContact now
* backend/ebook/e-book-listener.c
(impl_BookListener_respond_get_changes): create the contact from
the vcard string
* backend/idl/addressbook.idl: Book change item is no longer a
union, it always gives back a card
2003-10-21 Chris Toshok <toshok@ximian.com>
* tools/evolution-addressbook-abuse.c: use the synchronous api for
this. simplifies it a bunch.
2003-10-21 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book.c
(impl_GNOME_Evolution_Addressbook_Book_remove): we can ill afford
bad debug spew.
(view_listener_died_cb): implement.
(impl_GNOME_Evolution_Addressbook_Book_getBookView): hook up an
ORBit_small connection listener on the view's listener.
(pas_book_respond_create): use e_contact_get_const instead of
e_contact_get here. fixes a leak.
* backend/pas/pas-book-view.c
(impl_GNOME_Evolution_Addressbook_BookView_stop): implement, call
pas_backend_stop_book_view.
(pas_book_view_get_listener): return the book view's listener.
(pas_book_view_class_init): fill in epv->stop.
(pas_book_view_init): use a #define for THRESHOLD_MAX instead of
the constant.
* backend/pas/pas-book-view.h: add prototype for
pas_book_view_get_listener.
* backend/pas/pas-backend.c (pas_backend_stop_book_view):
implement.
(pas_backend_remove_book_view): implement.
* backend/pas/pas-backend.h: add prototype for stop_book_view and
remove_book_view.
* backend/pas/pas-backend-vcf.c (load_file): pass in the fd and
use fdopen here.
(foreach_build_list): don't creat EContacts here, because we'll
just be converting them back to vcards anyway.
(save_file): use char*'s instead of EContacts, and split entries
with 2 blank lines. Also, hold the lock over the entire function.
(do_create): hold the lock around uid generation and touching the
hash table.
(pas_backend_vcf_process_remove_contacts): same.
(pas_backend_vcf_process_modify_contact): same.
(pas_backend_vcf_stop_book_view): new function, but leave
unimplemented for now.
(pas_backend_vcf_load_uri): the uri contains the directory name,
not the filename.
(pas_backend_vcf_dispose): grab the lock here just for sanity's
sake. Also reorder things a bit, and free the hashtable and
mutex.
(pas_backend_vcf_init): init the mutex.
* backend/pas/pas-backend-summary.c
(pas_backend_summary_add_contact): don't unref the contact here.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_stop_book_view): new function, but leave
unimplemented for now.
* backend/pas/pas-backend-file.c (build_summary): use an EContact
for this call.
(do_summary_query): nuke, the contents of this has been moved to
start_book_view.
(pas_backend_file_search_timeout): same.
(pas_backend_file_search): same.
(pas_backend_file_start_book_view): glom everything into here
involving searching. This function could (and should) be renamed
and reused from both this function and _get_contact_list.
(pas_backend_file_stop_book_view): new function.
(pas_backend_file_class_init): fill in backend->stop_book_view.
* backend/pas/Makefile.am (LDAP_BACKEND): libpasldap.a ->
libpasldap.la
(noinst_LTLIBRARIES): *.a -> *.la.
(libpas_la_SOURCES): same.
(libpasfile_la_SOURCES): same.
(libpasvcf_la_SOURCES): same.
(libpasldap_la_SOURCES): same.
* backend/idl/addressbook.idl: add BookView::stop.
* backend/ebook/e-vcard.c (read_attribute_value): fix GString
related leaks.
(read_attribute_params): same.
(parse): don't leak the EVCardAttributes corresponding to
BEGIN/END:vCard.
(free_gstring): new function
(e_vcard_attribute_remove_values): free the decoded_values list,
using free_gstring.
* backend/ebook/e-book.c (e_book_response_get_book_view): ref the
listener here.
* backend/ebook/e-book-view.h: add prototype for e_book_view_stop.
* backend/ebook/e-book-view.c (e_book_view_stop): new function.
* backend/ebook/e-book-async.c (_get_book_view_response_dtor):
unref the book view.
2003-10-20 Dan Winship <danw@ximian.com>
* backend/pas/pas-book-view.c: Queue up removes and modifies as
well as adds, and remove the calls that took a list of changes
rather than a single change, since no one was really using the
list versions. Keep a list of IDs currently in the view so we can
more easily figure out what changes count as adds, modifies, and
removes.
(send_pending_adds): Don't reset next_threshold if it's being
called from notify_add.
(send_pending_changes, send_pending_removes): New
(pas_book_view_notify_update): Simplified add/change interface.
Takes an EContact and figures out if it's new, modified, or
removed relative to this view.
(pas_book_view_notify_change, pas_book_view_notify_change_1,
pas_book_view_notify_add, pas_book_view_notify_add_1): Gone.
(pas_book_view_notify_remove): Now does what remove_1 used to do.
(pas_book_view_vcard_matches): Remove this; no longer used.
* backend/pas/pas-backend.c (pas_backend_notify_update): New.
Calls pas_book_view_notify_update() on each of the backend's views.
(pas_backend_notify_remove): Likewise for notify_remove().
(pas_backend_notify_complete): And notify_complete().
* backend/pas/pas-book.c (pas_book_respond_create): Take an
EContact instead of an id and a vcard. Use
pas_backend_notify_update.
(pas_book_respond_remove_contacts): Use pas_backend_notify_remove.
(pas_book_respond_modify): Take a single EContact instead of two
vcards. Use pas_backend_notify_update.
* backend/pas/pas-backend-sync.c
(pas_backend_sync_create_contact): Return an EContact rather than
an id.
(pas_backend_sync_modify_contact): Return an EContact rather than
the old_vcard.
(_pas_backend_create_contact, _pas_backend_modify_contact): Update
* backend/pas/pas-backend-file.c (do_summary_query): Use
pas_book_view_notify_update.
(pas_backend_file_search_timeout): Likewise
(pas_backend_file_create_contact): Update for API changes
(pas_backend_file_modify_contact): Likewise.
* backend/pas/pas-backend-ldap.c (create_contact_handler,
pas_backend_ldap_process_create_contact): Update for API changes
(modify_contact_modify_handler, modify_contact_search_handler,
pas_backend_ldap_process_modify_contact): Likewise
(ldap_search_handler): Use pas_book_view_notify_update
* backend/pas/pas-backend-vcf.c (foreach_search_compare): Use
pas_book_view_notify_update.
(pas_backend_vcf_process_create_contact): Update for API changes
(pas_backend_vcf_process_modify_contact): Likewise
* backend/pas/pas-backend-summary.c
(pas_backend_summary_add_contact): Take an EContact instead of a
const char *vcard.
* backend/ebook/e-contact.c (photo_getter): s/malloc/g_malloc/
2003-10-20 JP Rosevear <jpr@ximian.com>
* backend/pas/pas-backend-vcf.c (pas_backend_vcf_search): compiler
with non-c99 compilers
2003-10-17 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-contact.c (fn_getter): new function, just return
the full name value.
(fn_setter): rather distasteful hack. set the N attribute if it's
not already present.
(n_setter): set the X-EVOLUTION-FILE-AS attribute if it's not
already set.
* backend/pas/pas-backend-ldap.c (prop_info): add PROP_WRITE_ONLY
flag for properties (right now just 'sn') that we don't want to
use when building the EContact - we only use it when storing the
contact out to the ldap server.
(build_contact_from_entry): skip WRITE_ONLY properties.
2003-10-17 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (init_collection): add the
minicard factory back in.
(display_view): add the minicard case back in.
(get_selection_model): same.
(minicard_right_click): resurrect.
(create_minicard_view): same.
(change_view_type): add the minicard case back in.
(eab_view_print): same.
(eab_view_print_preview): same.
* gui/widgets/e-addressbook-view.h (EABViewType): add MINICARD
back in.
* gui/widgets/e-addressbook-model.c (eab_model_new):
E_TYPE_AB_MODEL -> EAB_TYPE_MODEL.
* gui/widgets/e-addressbook-model.h: rename E_TYPE_AB_MODEL to
EAB_TYPE_MODEL.
* gui/widgets/Makefile.am (libeabwidgets_la_SOURCES): add the
minicard stuff back into the build.
* gui/widgets/e-addressbook-reflow-adapter.[ch],
gui/widgets/e-minicard-label.[ch],
gui/widgets/e-minicard-view-widget.[ch],
gui/widgets/e-minicard-view.[ch], gui/widgets/e-minicard.[ch],
gui/widgets/gal-view-factory-minicard.[ch], gal-view-minicard.h:
resurrect the minicard stuff, in a new uneditable,
EContact-friendly state. no in-place editing anymore.
2003-10-10 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (fill_in_info): un-ifdef
the date handling code.
(extract_info): same.
* backend/pas/pas-backend-ldap.c (prop_info): add the address
labels and dates to the build.
(anniversary_populate): un-ifdef and get this working.
(anniversary_ber): same.
(anniversary_compare): same.
(birthday_populate): same.
(birthday_ber): same.
(birthday_compare): same.
* backend/ebook/tests/ebook/.cvsignore,
backend/ebook/tests/ebook/Makefile.am
backend/ebook/tests/ebook/test-date.c: add a test for EContactDate
getting/setting.
* backend/ebook/e-vcard.h: add EVC_BDAY.
* backend/ebook/e-contact.h: add prototypes for the
e_contact_date_* functions.
* backend/ebook/e-contact.c (field_info): add
BIRTH_DATE/ANNIVERSARY fields.
(date_getter): new
(date_setter): new
(e_contact_date_new): new
(e_contact_date_from_string): new
(e_contact_date_to_string): new
(e_contact_date_free): new
2003-10-10 Not Zed <NotZed@Ximian.com>
*
gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in:
Use the main factory on the .so file, so it can be found.
2003-10-08 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.c (contact_key): add a
descriptive comment about this "#if notyet".
* gui/component/select-names/e-select-names-model.h
(e_select_names_model_thaw): add prorotype for
e_select_names_model_cancel_all_contact_load.
* gui/component/select-names/e-select-names-bonobo.c
(_EntryPropertyID): remove the SIMPLE_CARD_LIST property.
(entry_get_property_fn): same.
(impl_SelectNames_get_entry_for_section): same.
* backend/ebook/e-contact.h: add prototype for
e_contact_name_to_string.
2003-10-07 Chris Toshok <toshok@ximian.com>
* util/eab-book-util.c: remove a bunch of ifdef'ed code (that's
going to be living in e-book.c)
* backend/pas/pas-backend-summary.c
(pas_backend_summary_add_contact): un-ifdef some code.
(pas_backend_summary_get_summary_vcard): same.
* backend/pas/pas-backend-ldap.c (prop_info): remove the
query_prop field since we can get it from e_contact_field_name.
also remove it from all the macros and their uses.
(homephone_populate): un-ifdef.
(homephone_ber): same.
(homephone_compare): same.
(business_populate): same.
(business_ber): same.
(business_compare): same.
(query_prop_to_ldap): use e_contact_field_name to get the query
prop for a given attribute.
(add_oc_attributes_to_supported_fields): same.
* backend/pas/pas-backend-card-sexp.c (compare_phone): use the new
EContactField constants to iterate over the phone list.
* backend/ebook/e-contact.h (EContactField): add some useful
constants for those pieces of code that iterate over
email/phones/addresses.
2003-10-07 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-vcard-control.c (book_open_cb): un-ifdef this.
(eab_vcard_control_new): put the buttons above the vcard so they
don't move when it's expanded.
* gui/widgets/eab-popup-control.h: remove prototypes for
eab_popup_control_set_name and eab_popup_control_set_email.
* gui/widgets/eab-popup-control.c (email_table_ok_cb): remove the
stupid idle function and do the work here.
(eab_popup_control_set_name): make this static - noone uses it.
(eab_popup_control_set_email): same.
* gui/widgets/eab-gui-util.c (eab_show_contact_editor):
e_contact_editor_new is what we use for the time being.
* gui/widgets/eab-contact-display.c (render_string): abstract this
code out.
(render_url): same.
(eab_contact_display_render_normal): make use of render_string and
render_url.
* gui/widgets/e-addressbook-view.c (delete): un-ifdef this and get
it working.
(selection_received): same.
* gui/widgets/e-addressbook-model.c (get_view): nuke some code
that was moved to another function.
(eab_model_set_property): get the writable state when we set the
book - don't rely on the timing of signals.
* gui/contact/editor/contact-editor.glade: add the blog field
below the homepage url field.
* gui/contact/editor/e-contact-editor-address.[ch]: get this
building with the new stuff.
* gui/contact/editor/e-contact-editor-fullname.[ch]: get this
building with the new stuff.
* gui/contact-editor/e-contact-editor.[ch]: get this most of the
way there.
* gui/contact-editor/e-contact-quick-add.[ch]: get this building
with the new stuff.
* gui/contact-editor/Makefile.am (libecontacteditor_la_SOURCES):
remove e-contact-save-as.[ch]. They're in
addressbook/widgets/eab-gui-util.[ch] now.
* gui/merging/Makefile.am: track all the naming changes.
* gui/merging/*.glade: gratuitous renaming.
* gui/merging/eab-contact-compare.[ch]: gratuitous renaming, and
move this from the old ebook/
* gui/merging/eab-contact-merging.[ch]: gratuitous renaming.
* backend/ebook/e-contact.[ch]: lots of overly complicated changes
for an overly complicated piece of code.
* backend/ebook/e-book-view.c (e_book_view_do_added_event): remove
some ifdef'ed code.
(e_book_view_do_modified_event): same.
* backend/ebook/e-vcard.c (parse): plug a memory leak.
(escape_string): deal with @s being NULL.
(e_vcard_remove_attribute): new function.
(e_vcard_attribute_remove_params): same.
(e_vcard_attribute_param_free): same.
(e_vcard_attribute_param_remove_values): same.
* backend/ebook/e-vcard.h: add prototypes for
e_vcard_remove_attribute, e_vcard_attribute_remove_params, and
e_vcard_attribute_param_remove_values.
* backend/ebook/e-book.c (e_book_handle_response): cache the
writable state of the ebook before generating the signal.
(e_book_unload_uri): initialize cap to NULL and writable to FALSE.
* backend/ebook/e-book.h: add prototype for e_book_is_writable.
* backend/ebook/e-book-async.c (_get_fields_response_handler):
don't call the callback if it's NULL.
(_get_methods_response_handler): same.
(_auth_user_response_handler): same.
(_get_contact_response_handler): same.
(_remove_contacts_response_handler): same.
(_add_contact_response_handler): same.
(_commit_contact_response_handler): same.
(_get_book_view_response_handler): same.
(_get_contacts_response_handler): same.
(_remove_contacts_dtor): free the list.
(e_book_async_remove_contacts): duplicate the list.
* backend/pas/pas-backend.c (pas_backend_open): if we successfully
load the uri, report the writable status back.
* backend/pas/pas-backend-sync.c (_pas_backend_remove_contacts):
free the list of ids.
* backend/pas/pas-backend-file.c (do_create): return the contact
we create here.
(pas_backend_file_create_contact): format the newly created
contact as a string to add to the summary.
(pas_backend_file_remove_contacts): don't free the list of removed
cards here - it happens in pas-backend-sync.
(pas_backend_file_load_uri): pass NULL for @contact to do_create.
2003-10-01 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c (render_address): move the :'s
inside the <b>'s. Thanks for pointing this out, guenther. :)
(eab_contact_display_render_normal): same.
(eab_contact_display_render_compact): same.
* gui/widgets/eab-vcard-control.c (save_in_addressbook): track
change to address_load_default_book.
2003-10-01 Chris Toshok <toshok@ximian.com>
* gui/component/Makefile.am: remove some commented out crap about
e-address-popup.[ch].
* gui/component/component-factory.c (factory): use
eab_popup_control_new for the AddressPopup iid.
* gui/widgets/Makefile.am (libeabwidgets_la_SOURCES): add
eab-popup-control.[ch].
* backend/ebook/e-book.c (e_book_get_default_addressbook): hack
this so it at least sorta works - hardcode the
~/evolution/local/Contacts uri for now.
* gui/component/addressbook.[ch] (addressbook_load_default_book):
remove the EBook argument, and call
e_book_async_get_default_addressbook.
* gui/component/e-address-popup.[ch]: nuke.
* gui/widgets/eab-popup-control.c: rename
gui/component/e-address-popup.c to this.
* gui/widgets/eab-popup-control.h: rename
gui/component/e-address-popup.h to this.
* backend/ebook/e-book-async.h: add prototype for
e_book_async_get_default_addressbook.
* backend/ebook/e-book-async.c
(e_book_async_get_default_addressbook): new function.
2003-10-01 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (eab_view_new): create the
scrolled window to embed the EABContactDisplay widget inside of.
* gui/widgets/e-addressbook-view.h (struct _EABView): add scrolled;
* gui/widgets/eab-contact-display.h: add
EABContactDisplayRenderMode enum, and add @render_mode arg to
eab_contact_display_render.
* gui/widgets/eab-contact-display.c
(eab_contact_display_render_compact): new function, render a
compact format suitable for inclusion in the mail display.
(eab_contact_display_render_normal): move the previouw contents of
eab_contact_display_render here.
(eab_contact_display_render): render in either compact or normal
mode depending on @mode.
(eab_contact_display_new): remove the scrolled window stuff from
here, as in the compact mode we don't want it present. push it up
into the e-addressbook-view.c code.
* gui/widgets/eab-vcard-control.[ch]: bonobo control that wraps up
the EABContactDisplay stuff and lets us display vcards in a pretty
format in mail messages.
* gui/component/component-factory.c (factory): replace the #if
notyet'ed minicard control code with the new vcard control.
* gui/component/Makefile.am (INCLUDES): remove gui/minicard.
* gui/component/GNOME_Evolution_Addressbook.server.in.in: remove
the MiniCard_Control iid, and replace it with VCard_Control.
2003-10-01 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c
(destination_folder_handle_drop): use
eab_contact_list_from_string, and un-"#if notyet" this.
* gui/component/addressbook.c: remove #include
"e-contact-save-as.h"
* gui/contact-list-editor/e-contact-list-editor.c
(file_save_as_cb): use eab_contact_save.
(file_send_as_cb): use eab_send_contact, un-"#if notyet" this.
(file_send_to_cb): same.
(table_drag_data_received_cb): use eab_contact_list_from_string.
* gui/widgets/e-addressbook-reflow-adapter.[ch]: nuke. last
vestiges of the minicard view.
* gui/widgets/e-addressbook-view.c (eab_view_init):
s/clipboard_cards/cliboard_contacts.
(eab_view_dispose): same.
(get_contact_list_1): s/card/contact
(get_contact_list): same.
(save_as): same, and use eab_contact_list_save.
(send_as): reenable this code, s/card/contact, and use
eab_send_contact_list.
(send_to): same.
(print): s/card/contact.
(delete): same.
(new_card): same, and un-"#if notyet" some code.
(selection_get): use eab_contact_list_to_string.
(selection_clear_event): s/card/contact
(selection_received): same.
(get_selected_contacts): same.
(eab_view_save_as): same, and use eab_contact_list_save.
(eab_view_view): same, and use eab_show_multiple_contacts.
(eab_view_send): reenable this code, s/card/contact, and use
eab_send_contact_list.
(eab_view_send_to): same.
(eab_view_copy): s/card/contact.
(view_transfer_contacts): same.
(eab_view_copy_to_folder): same.
(eab_view_move_to_folder): same.
* gui/widgets/e-addressbook-view.h (struct _EABView): rename
clipboard_cards to clipboard_contacts.
* gui/widgets/eab-gui-util.c (view_contacts): un-"#if notyet"
(file_exists): moved from e-contact-save-as.c
(save_it): same.
(close_it): same.
(destroy_it): same.
(make_safe_filename): same.
(eab_contact_save): same, and renamed from e_contact_save_as.
(eab_contact_list_save): same, and renamed from
e_contact_list_save_as.
(contact_deleted_cb): s/card/contact.
(do_delete): same, and use e_book_async.
(delete_contacts): s/card/contact.
(process_unref): same.
(contact_added_cb): same.
(do_copy): same, and use e_book_async.
(got_book_cb): same.
(eab_transfer_contacts): same, and use e_book_async.
(eab_send_contact_list): s/card/contact
(eab_send_contact): same.
* gui/widgets/eab-gui-util.h: some random s/card/contact work, and
move the contents of e-contact-save-as.h here.
* util/eab-book-util.c (eab_contact_list_from_string): rename
eab_load_contacts_from_string to this.
(eab_contact_list_to_string): new function.
* util/eab-book-util.h: add prototype for
eab_contact_list_to_string, and rename
eab_load_contacts_from_string to eab_contact_list_from_string.
* gui/contact-editor/e-contact-save-as.[ch]: nuke. the contents
of these files has been wrapped up in
gui/widgets/eab-gui-util.[ch].
2003-09-30 Chris Toshok <toshok@ximian.com>
* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
add libecontactlisteditor.la back into the build.
* gui/component/addressbook-component.c (new_item_cb): enable the
contact list editor portion.
* util/eab-book-util.c (eab_load_contacts_from_string): new
function, return a GList of EContact*'s parsed from the string.
* util/eab-book-util.h: add prototype for
eab_load_contacts_from_string.
* gui/contact-list-editor/contact-list-editor.glade: set the id of
the list-image widget.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_class_init): PROP_CARD -> PROP_CONTACT.
(e_contact_list_editor_init): initialize image_buf to null and
card -> contact. also, hook up the dnd signals on the list_image
widget so we can drop images.
(e_contact_list_editor_dispose): free the image_buf.
(list_added_cb): card -> contact.
(list_modified_cb): same.
(save_contact): same, and use the ebook-async api.
(prompt_to_save_changes): card -> contact.
(file_save_cb): same.
(file_save_as_cb): same.
(file_send_as_cb): #if notyet for now.
(file_send_to_cb): same.
(tb_save_and_close_cb): card -> contact.
(list_deleted_cb): same.
(delete_cb): same.
(delete_cb): same, and use ebook-async.
(e_contact_list_editor_new): card -> contact.
(e_contact_list_editor_set_property): same.
(table_drag_motion_cb): use GDK_POINTER_TO_ATOM instead of
casting.
(table_drag_data_received_cb): use eab_load_contacts_from_string,
and card -> contact.
(set_image_from_data): new function. create a pixbuf from the
image data and composite it in an image that's the same size as
the initial list_image widget.
(image_drag_motion_cb): new function.
(image_drag_drop_cb): new function.
(image_drag_data_received_cb): new function.
(extract_info): port to EContact, and add support for the image.
(fill_in_info): same.
* gui/contact-list-editor/e-contact-list-editor.h (struct
_EContactListEditor): add image stuff, and ECard -> EContact.
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_value_at): e_destination -> eab_destination.
(e_contact_list_model_init): same.
(e_contact_list_model_add_destination): same.
(e_contact_list_model_add_email): same.
(e_contact_list_model_add_contact): same, and card -> contact.
(e_contact_list_model_remove_row): e_destination ->
eab_destination.
(e_contact_list_model_get_destination): same.
* gui/contact-list-editor/e-contact-list-model.h: card -> contact,
and e-destination -> eab-destination.
* gui/widgets/e-addressbook-view.etspec: fix a couple of
fields.. this needs a completely once-over at some point soon.
* gui/widgets/e-addressbook-view.c (table_double_click): reenable
all of this.
* gui/widgets/eab-contact-display.c (render_address): use
e_text_to_html to convert the \n's to <br>'s.
(on_url_requested): get PHOTO if there is one, otherwise LOGO.
(eab_contact_display_render): escape all the text we're sending to
gtkhtml with e_text_to_html. also, if it's a contact list, output
_("List Members") with the contents of _EMAIL.
* gui/widgets/eab-gui-util.h: rename eab_send_card{_list} to
eab_send_contact{_list}.
2003-09-30 Chris Toshok <toshok@ximian.com>
* backend/ebook/tests/ebook/Makefile.am (noinst_PROGRAMS): add
test-string.
* backend/ebook/tests/ebook/test-string.c: test setting/getting a
string attribute.
* backend/ebook/e-contact.c (photo_setter): do gnome-vfs mime type
sniffing before we set the attribute value.
(e_contact_set_property): implement setting of MULTI list
attributes (like MAIL).
(e_contact_get_property): rework the ATTR_TYPE attribute handling
so we aren't calling g_value_set_pointer on a value that holds a
string (and vice versa).
* backend/ebook/e-vcard.c (e_vcard_remove_attributes): implement.
(e_vcard_attribute_add_param): use g_ascii_strcasecmp.
* backend/ebook/e-vcard.h: rename e_vcard_remove_attribute to
e_vcard_remove_attributes, since it removes all matching
attributes.
* backend/ebook/e-book.c (e_book_response_add_contact): we need to
strdup the id here since the listener frees it.
(e_book_handle_response): implement the WritableStatusEvent part
of the switch.
* backend/ebook/e-book-listener.c
(impl_BookListener_report_writable): un-"#if notyet" this.
* backend/ebook/e-book-async.c (_add_contact_handler): fill in
response->id.
2003-09-29 Chris Toshok <toshok@ximian.com>
* printing/e-contact-print-envelope.c: card -> contact.
* printing/e-contact-print-envelope.h: card -> contact.
* printing/e-contact-print.c: card -> contact.
* printing/e-contact-print.h: card -> contact.
* printing/Makefile.am (contact_print_test_LDADD): add
libeabutil.la and reorder things so it links.
(contact_print_style_editor_test_LDADD): same.
2003-09-29 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-text-model.c:
e-addressbook-util.h -> eab-gui-util.h.
* gui/component/select-names/e-select-names-popup.c:
e-addressbook-util.h -> eab-gui-util.h.
* gui/component/e-address-popup.c: e-addressbook-util.h ->
eab-gui-util.h.
* gui/component/component-factory.c: #if notyet the minicard
control stuff, since it's been completely nuked from the tree.
* gui/component/addressbook.c: e-addressbook-util.h ->
eab-gui-util.h.
* gui/component/addressbook-component.c: e-addressbook-util.h ->
eab-gui-util.h.
* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
rename libeminicard to libeabwidgets.
* Makefile.am (SUBDIRS): add util/ to the build.
2003-09-29 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-treeview-adapter.c:
e-addressbook-util.h -> eab-gui-util.h, and convert some
EDestination code to EABDestination.
* gui/widgets/e-addressbook-table-adapter.c: e-addressbook-util.h
-> eab-gui-util.h, and include util/eab-destination.h.
(addressbook_value_at): un-#if 0 some code.
* gui/widgets/e-addressbook-model.c: e-addressbook-util.h ->
eab-gui-util.h
* gui/widgets/e-addressbook-view.c: e-addressbook-util.h ->
eab-gui-util.h
* gui/widgets/e-minicard-control.c,
gui/widgets/e-minicard-control.h, gui/widgets/e-minicard-label.c,
gui/widgets/e-minicard-label.h,
gui/widgets/e-minicard-view-widget.c,
gui/widgets/e-minicard-view-widget.h,
gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h,
gui/widgets/e-minicard-widget-test.c,
gui/widgets/e-minicard-widget.c, gui/widgets/e-minicard-widget.h,
gui/widgets/e-minicard.c, gui/widgets/e-minicard.h,
test-minicard-label.c, test-minicard-view.c, test-minicard.c: nuke
all of the old minicard stuff.
* gui/widgets/eab-gui-util.[ch]: rename e-addressbook-util.[ch] to
this and nuke e-addressbook-util.[ch].
* gui/widgets/Makefile.am (INCLUDES): change G_LOG_DOMAIN to
eab-widgets, and add -I$(top_srcdir)/addressbook.
(noinst_LTLIBRARIES): rename to libeabwidgets.la
(libeabwidgets_la_SOURCES): rename e-addressbook-util.[ch] to
eab-gui-util.[ch].
2003-09-29 Chris Toshok <toshok@ximian.com>
* gui/widgets/eab-contact-display.c (eab_contact_display_new):
track change from E_TYPE_AB_CONTACT_DISPLAY to
EAB_TYPE_CONTACT_DISPLAY.
* gui/widgets/eab-contact-display.h: change from E_* type foo to
EAB_* type foo.
2003-09-29 Chris Toshok <toshok@ximian.com>
* gui/search/e-addressbook-search-dialog.[ch]: convert everything
from e_addressbook_search_dialog to eab_search_dialog, and
EAddressbookSearchDialog to EABSearchDialog.
* gui/component/addressbook.c (search_cb):
e_addressbook_search_dialog -> eab_search_dialog.
(addressbook_search_activated): same.
(addressbook_query_changed): same.
2003-09-29 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book.c (pas_book_respond_get_supported_fields):
don't free the fields here - the backends hold onto them.
(pas_book_respond_get_supported_auth_methods): don't free the
auth_methods here - the backends hold onto them.
* backend/pas/pas-backend-file.c
(pas_backend_file_get_supported_fields): fields go from 1 to
E_CONTACT_FIELD_LAST, not 0.
2003-09-29 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c: e-book-util.h -> eab-book-util.h
* gui/component/addressbook-component.c: e-book-util.h ->
eab-book-util.h.
(new_item_cb): enable the contact editor portion of this.
(user_create_new_item_cb): convert to async_load_uri api, and
ifdef the _use_default_book crap.
(ensure_completion_uris_exist): e_book_get_config_database ->
eab_get_config_database.
* gui/component/e-address-widget.h: e-book-util.h ->
eab-book-util.h.
* gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
add selectnames back in, and add util/libeabutil.la.
2003-09-29 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-contact.c: my head explodes from so many
changes.
* backend/ebook/e-contact.h: reorder fields such that all the
string fields are first in the enum (and add a
E_CONTACT_LAST_SIMPLE_STRING value, ala the old e-card-simple
stuff.) Also, add E_CONTACT_LOGO, WANTS_HTML, IS_LIST, and
LIST_SHOW_ADDRESSES. remove E_CONTACT_PHOTO_URI.
* backend/ebook/e-vcard.c (e_vcard_remove_attribute): rename from
e_card_remove_attribute, and add a g_assert_not_reached.
(_evc_base64_encode_simple): make this not static (we need it for
a test.)
(_evc_base64_decode_simple): same.
* backend/ebook/e-vcard.h: add LOGO, X-MOZILLA-HTML,
X-EVOLUTION-LIST, and X-EVOLUTION-LIST-SHOW_ADDRESSES #defines.
* backend/ebook/e-book.c (EBookLoadState): change from
UriNotLoaded to E_BOOK_URI_NOT_LOADED, etc.
(e_book_add_contact): track _URI_ change.
(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_response_get_contact): remove the ifdefed call to
e_contact_set_book.
(e_book_remove_contacts): track _URI_ change.
(e_book_get_book_view): same.
(e_book_get_contacts): same.
(e_book_get_changes): same.
(e_book_remove): same.
(e_book_unload_uri): same.
(e_book_load_uri): same.
(e_book_load_uri): same.
(e_book_get_self): start the implementation of this.
(e_book_get_default_addressbook): ifdef out a possible
implementation of this (it's broken.)
(e_book_init): track _URI_ change.
(e_book_dispose): same.
* backend/ebook/e-book.h: move get_default_addressbook out of the
ifdef, and change get_default_addressbook/get_addressbooks to be
more like the rest of the api.
* backend/ebook/e-book-util.[ch]: nuke.
* backend/ebook/e-card-compare.[ch]: nuke.
* backend/ebook/e-destination.[ch]: nuke.
* backend/ebook/e-book-query.c (func_and): fix valgrind error.
(func_or): same.
* backend/ebook/e-book-listener.h: drop #include of e-list.h
* backend/ebook/e-book-async.c (_get_contacts_response_handler)
(_get_contacts_response_dtor, _get_contacts_handler)
(_get_contacts_dtor, e_book_async_get_contacts): new functions,
implementing e_book_async_get_contacts.
* backend/ebook/e-book-async.h: add e_book_async_get_contacts.
2003-09-29 Chris Toshok <toshok@ximian.com>
* util/eab-marshal.list: new file.
* util/eab-destination.[ch]: rename
backend/ebook/e-destination.[ch] to this, and change all the entry
point names too.
* util/eab-book-util.[ch]: rename backend/ebook/e-book-util.[ch]
to this, and change all the entry point names too.
* util/Makefile.am: new file, build libeabutil.la
2003-09-29 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.c
(addressbook_model_set_uri): e_addressbook_model -> eab_model.
(contact_key): e-contactify this, and remove the call to
e_contact_get_book since we don't have it.
(sync_one_model): card -> contact.
(real_add_address_cb): track various name changes.
(esn_get_key_fn): same.
(e_addressbook_create_ebook_table): same.
(folder_selected): same.
(select_entry_changed): same.
(e_select_names_new): same.
* gui/component/select-names/e-select-names-text-model.c
(dump_model): s/card/contact.
(e_select_names_text_model_insert_length): e-destination ->
eab-destination.
(e_select_names_text_model_delete): same.
(e_select_names_text_model_obj_count): same.
(nth_obj_index): same.
(e_select_names_text_model_activate_obj): ifdef this out since we
don't have e_contact_get_book in the new api.
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): convert to e_contact/eab_destination.
* gui/component/select-names/e-select-names-popup.c
(change_email_num_cb): e_destination -> eab_destination.
(populate_popup_contact): same, and ECard -> EContact. Also, the
email attribute is a GList, not an EList. lastly, rename from
populate_popup_card.
(populate_popup_nocontact): same, and rename from
populate_popup_nocard.
(e_select_names_populate_popup): same.
* gui/component/select-names/e-select-names-model.h: track changes
to e_destination, and rename the cardify methods to something mode
descriptive.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_duplicate): e_destination ->
eab_destination.
(e_select_names_model_get_textification): same.
(e_select_names_model_get_address_text): same.
(e_select_names_model_get_destination): same.
(e_select_names_model_export_destinationv): same.
(send_changed): same.
(e_select_names_model_import_destinationv): same.
(e_select_names_model_get_contact): same, and rename from
_get_card
(e_select_names_model_get_string): same.
(connect_destination): same.
(disconnect_destination): same.
(e_select_names_model_contains): same.
(e_select_names_model_insert): same.
(e_select_names_model_append): same.
(e_select_names_model_replace): same.
(e_select_names_model_delete): same.
(e_select_names_model_clean): same.
(delete_all_iter): same.
(e_select_names_model_overwrite_copy): same.
(e_select_names_model_merge): same.
(e_select_names_model_name_pos): same.
(e_select_names_model_text_pos): same.
(e_select_names_model_cardify): nuke.
(e_select_names_model_uncardify): nuke.
(e_select_names_model_cancel_cardify): nuke.
(e_select_names_model_load_all_contacts): rename _cardify_all to
this.
(e_select_names_model_cancel_all_contact_load): rename
_cancel_cardify to this.
* gui/component/select-names/e-select-names-manager.c
(focus_in_cb): cancel_cardify_all -> cancel_all_contact_load
(focus_out_cb): cardify_all -> load_all_contacts.
(completion_popup_cb): same.
(load_completion_books): no e_book_expand_uri anymore.
(e_select_names_manager_new): e_book_get_config_database ->
eab_get_config_database.
(e_select_names_manager_dispose): same.
* gui/component/select-names/e-select-names-completion.h: e-book.h
-> e-book-async.h
* gui/component/select-names/e-select-names-completion.c:
EContactify this.
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): ifdef out the SIMPLE_CARD_LIST getter,
and cardify_all -> load_all_contacts.
* gui/component/select-names/Evolution-Addressbook-SelectNames.idl:
nuke all the SimpleCard stuff. It's a horribly inefficient way to
deal with vcards, and since ebook is platform level now, we can
(and should) promote just linking to ebook to do this.
2003-09-19 Gilbert Fang <gilbert.fang@sun.com>
* addressbook/gui/component/addressbook-component.c (xfer_folder):
remove the "addressbook.db.summary" correctly. #48538
2003-09-11 Dan Winship <danw@ximian.com>
* backend/ebook/Makefile.am (privlib_LTLIBRARIES): Remove
libebook-static.la
* conduit/Makefile.am (libeaddress_conduit_la_LIBADD): Use
non-static versions of libraries: the static ones were only needed
for libtool 1.3.
2003-09-07 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-contact.c (e_contact_get_property): implement
getters for the address labels. they aren't really synthetic, but
we can't handle them as normal strings because they switch off the
TYPE parameter, not the attribute name (go go vcard.) Also add
getters for the structured address fields (ADR). Also fix a spot
where we were using strcmp instead of strcasecmp.
(e_contact_address_free): new function.
* backend/ebook/e-contact.h: Add EContactAddress structure, which
will probably go away once i merge in my cool spiffy address
editor. Add LABEL fields for the address labels, and add
prototype for e_contact_address_free.
* backend/ebook/e-vcard.h: add EVC_LABEL and EVC_X_BLOG_URL.
* backend/ebook/e-vcard.c (read_attribute_value): step to the next
character after unescaping \-escaped characters. keeps commas
from multiplying.
* gui/widgets/eab-contact-display.c (render_address): new function
(eab_contact_display_render): display email, delivery addresses,
and the blog url.
2003-09-06 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-contact.c (e_contact_set_property): implement
E_CONTACT_EMAIL_*.
* backend/pas/pas-backend-ldap.c (email_ber): EContact-ify and
re-enable this code.
(email_compare): same.
(email_populate): same.
* backend/pas/pas-backend-vcf.c (pas_backend_vcf_load_uri): use
XIMIAN_VCARD.
* backend/pas/pas-backend-file.c (pas_backend_file_load_uri): use
XIMIAN_VCARD, and don't fail if the directory already exists.
just try to create the db anyway.
* backend/pas/Makefile.am (libpas_a_SOURCES): add ximian-vcard.h
* backend/pas/ximian-vcard.h (XIMIAN_VCARD): put the initial vcard
here, so we can share 1 #define between file/vcf backends. Also,
add a jpeg photo.
2003-09-06 Chris Toshok <toshok@ximian.com>
* gui/widgets/Makefile.am (libeminicard_la_SOURCES): add
eab-contact-display.[ch]
* gui/widgets/e-addressbook-view.c (eab_view_init): just init
everything to NULL.
(eab_view_new): move a bunch of stuff that was in eab_view_init
here. create a vpaned to hold the contact display, and create the
contact display.
(render_contact): render the selected contact to the
contact_display.
(selection_changed): add logic to display the currently selected
contact in the preview pane.
(create_table_view): add the table to the paned.
(create_treeview_view): add the scrolled to the paned.
(change_view_type): remove view->widget from the paned.
* gui/widgets/e-addressbook-view.h: switch from using a GtkTable
to a GtkEventBox - we don't need the table logic anymore.
* gui/widgets/e-addressbook-model.c (create_contact): indent
(eab_model_get_contact): same.
* gui/widgets/eab-contact-display.[ch]: new files - this
implements the preview pane.
2003-09-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (BINARY_PROP): new type of
property, for specifying data coming back from the ldap server
with both data/length (like photos).
(photo_populate): set the contact's photo.
(build_contact_from_entry): add PROP_TYPE_BINARY handling.
* backend/ebook/e-vcard.c (EVCardEncoding): new enum for use with
the ENCODING attribute parameter. Right now, just "raw",
"base64", and "quoted-printable".
(struct _EVCardAttribute): add a "decoded_values" list of
GString*'s, as well as fields to hold encoding/encoding_set.
(e_vcard_class_init): call _evc_base64_init.
(e_vcard_attribute_add_value_decoded): based on what encoding the
attribute uses, add the value properly.
(e_vcard_attribute_add_param): if the parameter is ENCODING, work
our magic.
(e_vcard_attribute_get_values_decoded): spit out properly decoded
values depending on the decoding type.
(_evc_base64*): copy the camel base64 routines here.
* backend/ebook/e-vcard.h: add prototypes for
e_vcard_attribute_add_value_decoded and
e_vcard_attribute_get_values_decoded.
* backend/ebook/e-contact.c (e_contact_get_first_attr): move this
to above _set_property so we can make use of it there.
(e_contact_set_property): fix up the generic STRING field handler,
and implement E_CONTACT_PHOTO setting.
(e_contact_get_property): add handling for
E_CONTACT_PHOTO/E_CONTACT_PHOTO_URI.
(e_contact_photo_free): new function.
* backend/ebook/e-contact.h: add EContactPhoto struct, a prototype
for e_contact_photo_free, and two new EContactField elements (PHOTO and
PHOTO_URI).
* backend/ebook/tests/ebook/.cvsignore: ignore test-photo
* backend/ebook/tests/ebook/Makefile.am (noinst_PROGRAMS): add test-photo
* backend/ebook/tests/ebook/test-photo.c: test for the photo
set/get routines (which do base64 encoding/decoding).
2003-09-02 Chris Toshok <toshok@ximian.com>
* gui/component/Makefile.am: comment out a buncha stuff just to
get this building.
* gui/component/select-names/e-select-names.c: #include
e-book-async.h
(search_result): EAddressbookModel -> EABModel.
(addressbook_model_set_uri): same, and don't use
e_book_expand_uri, as it's dead.
(esn_get_key_fn): EAddressbookModel -> EABModel.
(e_addressbook_create_ebook_table): same.
(status_message): same.
* gui/component/select-names/e-select-names.h (struct
_ESelectNames): EAddressbookModel -> EABModel.
* gui/component/addressbook-component.c (new_item_cb): ifdef out
for now.
(dnd_drop_book_open_cb): s/card/contact.
(destination_folder_handle_drop): ifdef out.
(request_quit): same.
* gui/component/addressbook.c: track api changes - e_addressbook_
-> eab_, and e_book_* becomes e_book_async_*.
* gui/component/addressbook.h: #include e-book-async.h
* gui/component/e-address-widget.c (query_results_cb):
e/EBookSimpleQueryStatus/EBookStatus
* gui/component/e-address-widget.h: s/ECard/EContact.
* gui/component/e-cardlist-model.[ch]: nuke.
* gui/component/e-address-popup.c: s/e-book.h/e-book-async.h
* gui/component/e-address-popup.h: s/ECard/EContact
2003-09-02 Chris Toshok <toshok@ximian.com>
* backend/ebook/Makefile.am (libebook_la_SOURCES): remove
e-card.c,e-card.simple.c
* backend/ebook/tests/ebook/test-ebook.c: remove #include of
e-card-simple.h
* backend/ebook/tests/ebook/test-changes.c: remove #include of
e-card-simple.h
* backend/ebook/e-card.[ch], backend/ebook/e-card-simple.[ch]:
nuke.
* backend/ebook/e-book-util.h: s/card/contact.
* backend/ebook/e-book-util.c: ifdef out an #include.
* backend/ebook/e-book-async.[ch]: stop doing the stupid #define
renaming trick, and just rename all the prototypes from e_book_*
to e_book_async_*. Also, get rid of the *_vcard variants.
2003-09-02 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-card-sexp.[ch]
(pas_backend_card_sexp_match_contact): rename
pas_backend_card_sexp_match_card, and it takes an EContact now.
Also, port this file to use EContact instead of ECard, and ifdef
out lots of stuff.
* backend/pas/pas-backend-ldap.c: convert this to use EContact
instead of ECard, and ifdef great swaths of code to make it
compile.
* backend/pas/pas-book.c (pas_book_respond_modify): convert this
from ECard to EContact.
2003-09-02 Chris Toshok <toshok@ximian.com>
* gui/widgets/Makefile.am (libeminicard_la_SOURCES): remove all
the reflow/minicard stuff from the build.
(e-addressbook-marshal.[ch]): change the prefix on the marshallers to
eab_marshal.
* gui/widgets/e-addressbook-view.etspec: bring this more in line
with the field ids for EContact, and comment out a ton of them
that aren't there yet.
* gui/widgets/e-addressbook-view.[ch]: big renaming - rename
e_addressbook_view to eab_view, and EAddressbookView to EABView.
* gui/widgets/e-addressbook-util.c (eab_error_dialog): rename, and
change a few of the error strings s/Card/Contact.
(added_cb): E_BOOK_STATUS_SUCCESS => E_BOOK_ERROR_OK.
(modified_cb): same.
(e_addressbook_show_contact_editor): this takes an EContact now,
and track the change to the contact editor signal names.
(e_addressbook_show_contact_list_editor): this takes an EContact
now.
(view_contacts): rename view_cards to this, and ifdef the body.
(e_addressbook_show_multiple_contacts): rename
e_addressbook_show_multiple_cards to this, and s/card/contact.
* gui/widgets/e-addressbook-util.h: ifdef some things out, and
rename e_addressbook_error_dialog to eab_error_dialog.
* gui/widgets/e-addressbook-table-adapter.[ch]: big renaming -
rename e_addressbook_table_adapter to eab_table_adapter, and
EAddressbookTableAdapter to EABTableAdapter. Also, remove the
simple mapping - we can do ECardSimple-like operations directly on
the EContacts from the EABModel.
* gui/widgets/e-addressbook-model.[ch]: big renaming - rename
e_addressbook_model to eab_model, and EAddressbookModel to
EABModel. Also, convert everything from ECard to EContact.
2003-09-01 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-vcard.c (e_vcard_new_from_string): omg i'm dumb.
don't call e_vcard_new here since it just turns around and calls
e_vcard_new_from_string again.
2003-09-01 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book-view.c (pas_book_view_notify_change): guard
pending adds foo.
(pas_book_view_notify_remove): same.
(pas_book_view_notify_add): same.
(pas_book_view_notify_complete): same.
(pas_book_view_construct): init mutex
(pas_book_view_dispose): free mutex
* backend/pas/pas-backend-ldap.c (func_exists): new function.
(send_pending_adds): remove
(ldap_search_handler): let the BookView stuff handle the pending
adds for us.
(ldap_search_dtor): remove pending adds stuff.
(pas_backend_ldap_search): same
* backend/pas/pas-backend-card-sexp.c (func_exists): new function.
* backend/ebook/tests/ebook/test-ebook.c (print_all_emails): use
an exists query.
2003-08-31 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-query.c (func_and, func_or, func_not)
(func_contains, func_is, func_beginswith, func_endswith)
(e_book_query_from_string): adapt the pas ldap backend sexp
parsing code to this, build up an EBookQuery that represents the
sexp.
* backend/ebook/e-contact.h (e_contact_field_id): add prototype.
* backend/ebook/e-contact.c (e_contact_field_id): new function.
* backend/ebook/Makefile.am (libebook_la_SOURCES): add
e-book-util.c back into the build, if only for the config_database
thingy.
2003-08-31 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-contact.c (e_contact_duplicate): new function.
* backend/ebook/e-contact.h: add prototype for
e_contact_duplicate.
* backend/ebook/e-book-util.[ch]: massive ifdeffing. most of this
is either gone or will be unnecessary soon.
* backend/ebook/e-book-query.c (e_book_query_from_string): hack
this so it'll at least generate a query.
* backend/ebook/e-book-listener.c
(impl_BookListener_respond_get_view): add some debug spew and
remove a c&p'ed comment.
* backend/ebook/e-book-async.h: add prototype for
e_book_async_unload_uri.
* backend/ebook/e-book-async.c (e_book_async_unload_uri): new
function.
* backend/pas/pas-book-view.c (pas_book_view_construct): switch to
CORBA_Object_duplicate, ala pas_book.
* backend/pas/pas-backend-sync.c (pas_backend_sync_class_init):
fix typo and the build.
2003-08-29 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (ldap_error_to_response):
s/card/contact.
(pas_backend_ldap_process_create_contact): same.
(remove_contact_handler): same.
(remove_contact_dtor): same.
(pas_backend_ldap_process_remove_contacts): same.
(modify_contact_modify_handler): same.
(modify_contact_dtor): same.
(pas_backend_ldap_process_modify_contact): same.
(get_contact_handler): same.
(get_contact_dtor): same.
(pas_backend_ldap_process_get_contact): same.
(pas_backend_ldap_class_init): same.
* backend/pas/pas-backend-summary.c
(pas_backend_summary_add_contact): s/card/contact, and mostly
switch from ECard{Simple} to EContact.
(pas_backend_summary_get_summary_vcard): same.
(pas_backend_summary_remove_contact): s/card/contact
* backend/pas/pas-backend-summary.h: s/card/contact.
* backend/pas/pas-backend-file.c (build_summary): fix g_warning,
and return immediately if the db->cursor call fails.
(pas_backend_file_create_contact): s/card/contact
(pas_backend_file_remove_contacts): same.
(pas_backend_file_modify_contact): same.
(pas_backend_file_get_contact): same.
(pas_backend_file_get_contact_list): same.
(pas_backend_file_class_init): same.
* backend/pas/pas-backend-vcf.c
(pas_backend_vcf_process_create_contact): s/card/contact.
(pas_backend_vcf_process_remove_contacts): same.
(pas_backend_vcf_process_modify_contact): same.
(pas_backend_vcf_process_get_contact): same.
(pas_backend_vcf_process_get_contact_list): same.
(pas_backend_vcf_class_init): same.
* backend/pas/pas-backend-sync.c (pas_backend_sync_create_contact): s/card/contact.
(pas_backend_sync_remove_contacts): same.
(pas_backend_sync_modify_contact): same.
(pas_backend_sync_get_contact): same.
(pas_backend_sync_get_contact_list): same.
(_pas_backend_create_contact): same.
(_pas_backend_remove_contacts): same.
(_pas_backend_modify_contact): same.
(_pas_backend_get_contact): same.
(_pas_backend_get_contact_list): same.
(pas_backend_sync_class_init): same.
* backend/pas/pas-backend-sync.h: s/card/contact.
* backend/pas/pas-backend.c (pas_backend_create_contact): s/card/contact.
(pas_backend_remove_contacts): same.
(pas_backend_modify_contact): same.
(pas_backend_get_contact): same.
(pas_backend_get_contact_list): same.
(pas_backend_change_add_new): same.
(pas_backend_change_modify_new): same.
(pas_backend_change_delete_new): same.
* backend/pas/pas-backend.h: s/card/contact.
* backend/pas/pas-book-view.c (send_pending_adds): s/card/contact
(pas_book_view_notify_change): same.
(pas_book_view_notify_remove): same.
* backend/pas/pas-book.c
(impl_GNOME_Evolution_Addressbook_Book_getContact): s/card/contact
(impl_GNOME_Evolution_Addressbook_Book_getContactList): same.
(impl_GNOME_Evolution_Addressbook_Book_addContact): same.
(impl_GNOME_Evolution_Addressbook_Book_removeContacts): same.
(impl_GNOME_Evolution_Addressbook_Book_modifyContact): same.
(pas_book_respond_create): same.
(pas_book_respond_remove_contacts): same.
(pas_book_respond_modify): same.
(pas_book_respond_get_contact): same.
(pas_book_respond_get_contact_list): same.
(pas_book_respond_get_changes): same.
(pas_book_class_init): same.
* backend/pas/pas-book.h: s/card/contact
* backend/ebook/tests/vcard/dump-vcard.c: #include
"ebook/e-vcard.h"
* backend/ebook/tests/vcard/Makefile.am (TEST_LIBS): use
top_builddir.
(CFLAGS): same.
* backend/ebook/tests/ebook/Makefile.am (TEST_LIBS): use
top_builddir.
(CFLAGS): use srcdir
* backend/ebook/test-card.c, backend/ebook/test-client-list.c,
backend/ebook/test-client.c, backend/ebook/test-ebook.c: remove.
* backend/ebook/e-card-cursor.[ch]: remove.
* backend/ebook/e-card-pairs.h: remove.
* backend/ebook/e-book.c (e_book_add_contact): s/Card/Contact.
(e_book_commit_contact): same
(e_book_get_contact): same.
(e_book_remove_contacts): same.
(e_book_get_contacts): same.
(e_book_handle_response): same.
* backend/ebook/e-book-view.c (e_book_view_do_added_event):
s/card/contact
(e_book_view_do_modified_event): same.
(e_book_view_do_removed_event): same.
(e_book_view_handle_response): same.
(e_book_view_class_init): same.
* backend/ebook/e-book-view.h: s/card/contact and pad the class
struct.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_queue_response): s/Card/Contact.
(e_book_view_listener_queue_status_event): no need to assign
things to NULL, we g_new0.
(e_book_view_listener_queue_idlist_event): s/Card/Contact, and no
need to assign things to NULL, we g_new0.
(e_book_view_listener_queue_sequence_event): same.
(e_book_view_listener_queue_message_event): same.
(impl_BookViewListener_notify_contacts_added): s/Card/Contact.
(impl_BookViewListener_notify_contacts_removed): same.
(impl_BookViewListener_notify_contacts_changed): same.
(e_book_view_listener_class_init): same.
* backend/ebook/e-book-view-listener.h: s/Card/Contact
* backend/ebook/e-book-types.h: s/CARD/CONTACT
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): s/Card/Contact
(impl_BookListener_respond_create_contact): same.
(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_changes): same.
(e_book_listener_class_init): same.
* backend/ebook/e-book-listener.h: pad the class struct, and
s/Card/Contact.
* backend/ebook/e-book-async.c (_load_uri_handler): GError
changes.
(_get_fields_handler): same.
(_get_methods_handler): same.
(_auth_user_handler): same.
(_get_card_handler): same.
(_remove_cards_handler): same.
(_add_vcard_handler): same.
(_commit_vcard_handler): same.
(_get_book_view_handler): same.
(e_book_async_get_book_view): use an EBookQuery instead of a char*.
* backend/ebook/Makefile.am: remove the test handling.
(SUBDIRS): set to ". tests"
(libebook_la_SOURCES): add e-book-async.c
* backend/idl/addressbook.idl: possibly gratuitous renaming, but i
was sick of seeing "Card" being used everywhere. "Contact" is the
new "Card".
2003-08-28 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book.c (e_book_op_free): rename from
e_book_free_op.
(e_book_op_remove): rename from e_book_remove_op.
(e_book_clear_op): new function, remove the op, unlock its mutex,
and free it.
(e_book_add_contact): use e_book_clear_op.
(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_load_uri): same.
(e_book_remove): new function.
(e_book_response_remove): new function.
(e_book_handle_response): add handling for RemoveBookResponse.
(e_book_load_local_addressbook): pass TRUE for e_book_load_uri
@only_if_exists.
* backend/ebook/e-book.h: add @only_if_exists arg to
e_book_load_uri so we can support folder creation at load_uri
time, and add prototype for e_book_remove.
* backend/ebook/e-book-types.h: add an "id" slot in EBookChange.
* backend/ebook/e-book-listener.c
(impl_BookListener_respond_get_changes): handle union in idl.
(impl_BookListener_respond_open_book): remove unnecessary
exception check.
(impl_BookListener_respond_remove_book): new function.
(impl_BookListener_respond_get_supported_fields): rename this from
_response_.
(impl_BookListener_respond_get_supported_auth_methods): same.
(e_book_listener_class_init): add _remove_book and track change to
get_supported_fields/get_supported_auth_methods names.
* backend/ebook/e-book-listener.h: add RemoveBookResponse to
EBookListenerOperation enum.
* backend/idl/addressbook.idl: make BookChangeItem a union that
switches over BookChangeType.
* backend/pas/pas-backend.c (pas_backend_change_add_new): new
function, create a BookChangeItem representing the addition of a
contact.
(pas_backend_change_modify_new): same, but for modifications.
(pas_backend_change_delete_new): same, but for deletions.
* backend/pas/pas-backend.h: add prototypes for
pas_backend_change_{add,modify,delete}_new
* backend/pas/pas-backend-file.c (pas_backend_file_changes): nuke.
(do_create): fix memory corruption.
(pas_backend_file_get_changes): copy the body of
pas_backend_file_changes here, and rework so that it's synchronous
and return a list instead of the book view hack.
(pas_backend_file_load_uri): mkdir the directory (we need a mkdir
-p here).
(select_changes): new function, scandir helper.
(pas_backend_file_remove): NULL out bf->priv->summary to quiet
valgrind, and call scandir to accumulate the .changes.db files
then unlink them.
* backend/pas/pas-book.c (pas_book_respond_remove): new function.
(pas_book_respond_get_supported_fields): unifdef this, and make it
use a glist.
(pas_book_respond_get_supported_auth_methods): same.
(pas_book_respond_get_changes): this code is kinda gross... lots
of copying going on, there's got to be a better way. but it
works.
2003-08-26 Chris Toshok <toshok@ximian.com>
* backend/idl/addressbook.idl: add oneway void Book::remove() and
oneway void notifyBookRemoved()
2003-08-26 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend.c (pas_backend_remove): new function.
(pas_backend_add_book_view): new function.
(pas_backend_add_client): move the "real_add_client" code here.
(pas_backend_remove_client): move the "real_remove_client" code
here.
(pas_backend_class_init): remove assignments of add_client and
remove_client vtable entries.
(pas_backend_is_removed): new function.
(pas_backend_set_is_removed): new function.
(pas_backend_init): init clients_mutex and views_mutex.
* backend/pas/pas-backend.h: remove the vtable entries for
add/remove_client, since these are fully handled in PASBackend.
Add prototypes for
pas_backend_is_removed/pas_backend_add_book_view/pas_backend_set_is_removed.
* backend/pas/pas-book.c
(impl_GNOME_Evolution_Addressbook_Book_remove): new function.
(impl_GNOME_Evolution_Addressbook_Book_getBookView): clean things
up a bit, and don't use pas_backend_get_book_views as it can't
lock the list of views.
(pas_book_respond_get_supported_auth_methods): remove the extra
unnecessary arg from the corba call.
(pas_book_respond_get_changes): same.
(pas_book_class_init): fill in epv "remove" slot.
* backend/pas/pas-book.h: rename pas_book_respond_remove to
pas_book_respond_remove_cards, and add a new
pas_book_respond_remove for use with removing books.
* backend/pas/pas-backend-sync.c (pas_backend_sync_remove): new
function.
(_pas_backend_remove): new function.
(pas_backend_sync_class_init): fill in the "remove" vtable entry.
(_pas_backend_remove_cards): track change to
pas_book_respond_remove_cards (pas_book_respond_remove is used for
removing the book, not the cards.)
* backend/pas/pas-backend-sync.h: add pas_backend_sync_remove
prototype and add remove_sync virtual function.
2003-08-26 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_create_card,
pas_backend_file_remove_cards, pas_backend_file_modify_card,
pas_backend_file_get_vcard, pas_backend_file_get_card_list,
pas_backend_file_start_book_view, pas_backend_file_get_changes,
pas_backend_file_authenticate_user,
pas_backend_file_get_supported_fields): rename from
pas_backend_file_process_*
(pas_backend_file_load_uri): save off the dirname/summary
filename.
(pas_backend_file_remove): new function, unlink all the files we
know about.
(pas_backend_file_class_init): track changes to functions, and add
pas_backend_file_remove.
2003-08-26 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (ecard_from_remote_record): duplicate
the extra address lines
2003-08-22 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book.[ch]: switch from using the PASRequest
union and a central PASBackend dispatch function. just call the
pas_backend methods directly and expand the args out.
* backend/pas/pas-backend.[ch]: same.
* backend/pas/pas-backend-sync.[ch]: same.
* backend/pas/pas-backend-vcf.c, backend/pas/pas-backend-file.c,
backend/pas/pas-backend-ldap.c: same, and get these all compiling
against the rest of the current pas/ebook code.
2003-08-21 Chris Toshok <toshok@ximian.com>
* backend/ebook/test-ebook.c: track GError case.
* backend/ebook/e-book.[ch]: GError-ify the api, and clean up some
cases where we weren't removing the current op.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_convert_status): track change from
E_BOOK_VIEW_STATUS_* to E_BOOK_VIEW_ERROR_*.
* backend/ebook/e-book-types.h: track change from E_BOOK_STATUS_*
to E_BOOK_ERROR_*, and some E_BOOK_VIEW_STATUS_* to
E_BOOK_VIEW_ERROR_*.
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): track change from
E_BOOK_STATUS_* to E_BOOK_ERROR_*.
* backend/ebook/e-book-query.c (e_book_query_any_field_contains):
new function.
(e_book_query_unref): handle the any_field_contains case.
(e_book_query_to_string): same.
* backend/ebook/e-book-query.h: add prototype for
e_book_query_any_field_contains.
* backend/ebook/e-card.c (e_card_load_uri): ifdef this out for
now.
* backend/ebook/e-contact.[ch] (e_contact_get_const): new
function/prototype.
2003-08-20 Gilbert Fang <gilbert.fang@sun.com>
* gui/widgets/e-addressbook-util.c
(e_addressbook_send_card_list): use memcpy to assign
CORBA_char_sequence instead of strcpy. (#46706)
2003-08-18 Ettore Perazzoli <ettore@ximian.com>
* gui/component/component-factory.c: Update OAFIIDs.
* gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards):
Removed extern declaration for global_shell_client [yuck].
(e_addressbook_transfer_cards): #if 0 the invocation for
evolution_shell_client_user_select_folder(), we need to
reimplement this component-side now.
* gui/component/component-factory.c (factory): Call
addressbook_component_peek() here instead of
addressbook_component_init() [since the latter is no more].
* gui/component/addressbook.c (set_status_message): Don't create
the activity client for now.
* gui/component/addressbook-config.c: Removed member shell from
struct AddressbookDialog.
(ldap_dialog_new): Do not take a shell arg anymore.
(ldap_config_control_new): Likewise.
(addressbook_config_control_new): No need to get the global shell
pointer here anymore.
* gui/component/addressbook-component.c: Rewritten to support the
new ::Component interface.
* gui/component/addressbook-component.h: Likewise.
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Version
factory's OAFIID. Remove ShellComponent server, add Component
server.
2003-08-12 Rodrigo Moya <rodrigo@ximian.com>
* backend/ebook/e-book.c (e_book_dispose): unref the
EComponentListener before unloading the CORBA object.
2003-08-12 Hans Petter Jansson <hpj@ximian.com>
* backend/ebook/e-destination.c (e_destination_dispose): Chain.
* gui/component/e-address-widget.c (e_address_widget_destroy): Chain.
Prevent double frees. Prevent double GSource removal.
* gui/component/e-cardlist-model.c (e_cardlist_model_class_init):
Store parent class.
(e_cardlist_model_dispose): Chain. Prevent double frees and unrefs.
* gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_dispose): Chain.
* gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_dispose): Chain.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_dispose): Chain.
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_model_destroy): Chain. Prevent double frees and unrefs.
* gui/widgets/e-addressbook-reflow-adapter.c (addressbook_dispose):
Chain.
(addressbook_finalize): Chain.
* gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose):
Chain.
* gui/widgets/e-addressbook-treeview-adapter.c (addressbook_destroy):
Chain. Prevent double free.
* gui/widgets/gal-view-minicard.c (gal_view_minicard_dispose):
Chain. Prevent double free and detach.
* gui/widgts/gal-view-treeview.c (gal_view_treeview_dispose):
Chain. Prevent double free and detach.
* printins/e-contact-print-style-editor.c
(e_contact_print_stule_editor_destroy): Chain. Prevent double unref.
2003-08-07 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-vcard.c (e_vcard_to_string_vcard_21): new,
unimplemented, function.
(e_vcard_to_string_vcard_30): move the 3.0 vcard export code here.
(e_vcard_to_string): call e_vcard_to_string_vcard_21 or
e_vcard_to_string_vcard_30 based on @format.
(e_vcard_attribute_remove_values): new function.
* backend/ebook/e-vcard.h: add @format to e_vcard_to_string, and
add prototype for e_vcard_attribute_remove_values. also, add
prototype for e_vcard_decode_b_encoding.
2003-08-07 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-listener.c
(impl_BookListener_respond_open_book): remove the book arg.
* backend/ebook/e-book-listener.h (struct _EBookListenerResponse):
remove the corba book.
* backend/ebook/e-book-async.c (_get_book_view_dtor): free the
query string.
(e_book_async_get_book_view): dup the query string.
* backend/ebook/e-book.h: change e_book_get_book_view and
e_book_get_contacts to take a const char * query string instead of
an EBookQuery.
* backend/ebook/e-book.c (e_book_add_contact): pass
EVC_FORMAT_VCARD_30 to e_vcard_to_string.
(e_book_commit_contact): same.
(e_book_get_book_view): take a const char* query string instead of
an EBookQuery.
(e_book_get_contacts): same.
(e_book_response_open): track change - the Book is no longer
communicated back here.
(listener_cb): nuke.
(e_book_handle_response): track change to e_book_response_open.
(e_book_load_uri): rework this from using BookFactory::openBook to
BookFactory::getBook + Book::open.
(e_book_get_uri): new function, reimplement from old api.
(e_book_get_static_capabilities): same.
(e_book_check_static_capability): same.
(startup_mainloop): new function, run bonobo_main.
(e_book_activate): start up a thread with startup_mainloop as the
start func.
(e_book_new): call e_book_activate.
* backend/idl/addressbook.idl: Add Book::open, remove the Book
from notifyBookOpened's args, and change BookFactory::openBook to
BookFactory::getBook.
* backend/pas/pas-backend-file.c (pas_backend_file_load_uri): add
only_if_exists - stop using the "create-initial" special file.
* backend/pas/pas-backend-vcf.c (pas_backend_vcf_load_uri): add
only_if_exists - stop using the "create-initial" special file.
* backend/pas/pas-backend.c (pas_backend_load_uri): add
@only_if_exists, and pass it along to the virtual method.
(pas_backend_open): new function, lock the mutex so only one
PASBook can actually call load_uri. call load_uri with
pas_book_get_uri, and req->only_if_exists.
(pas_backend_handle_request): rename process_client_request to
this, and expose it publicly. Also add a case statement for
"Open".
(real_add_client): gut this function, we don't need to create the
book anymore, just add the client to the list and do the weak
ref/ORBit small stuff.
(pas_backend_add_client): track change to signature - BookListener
-> PASBook.
(pas_backend_init): init open_mutex.
(pas_backend_dispose): free open_mutex.
* backend/pas/pas-backend.h (PASBackendClass): add @only_if_exists
to the load_uri virtual method, and change the add_client virtual
method to take a PASBook instead of a BookListener. add the same
args to _load_uri and add_client. Also, add prototypes for
pas_backend_handle_request and pas_backend_open.
* backend/pas/pas-book-factory.c
(_pas_book_factory_send_open_book_response): nuke.
(pas_book_factory_launch_backend): just return NULL, don't call
_pas_book_factory_send_open_book_response, in the error case.
(start_backend): nuke
(impl_GNOME_Evolution_Addressbook_BookFactory_getBook): rename
_openBook to this. clean up the code a bit. Create the PASBook
here, and always track change to pas_backend_add_client's type (we
pass the book now, not the listener).
(pas_book_factory_class_init): openBook -> getBook.
* backend/pas/pas-book.c
(impl_GNOME_Evolution_Addressbook_Book_open): new function, call
pas_backend_open.
(impl_GNOME_Evolution_Addressbook_Book_getVCard): get rid of the
signal crap, just call pas_backend_handle_request.
(impl_GNOME_Evolution_Addressbook_Book_getCardList): same.
(impl_GNOME_Evolution_Addressbook_Book_authenticateUser): same.
(impl_GNOME_Evolution_Addressbook_Book_addCard): same.
(impl_GNOME_Evolution_Addressbook_Book_removeCards): same.
(impl_GNOME_Evolution_Addressbook_Book_modifyCard): same.
(impl_GNOME_Evolution_Addressbook_Book_getChanges): same.
(impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): same.
(impl_GNOME_Evolution_Addressbook_Book_getSupportedAuthMethods):
same.
(impl_GNOME_Evolution_Addressbook_Book_cancelOperation): same.
(pas_book_get_backend): aggregate some g_return_if_fail's.
(pas_book_get_listener): new function.
(pas_book_get_uri): new function.
(pas_book_respond_open): just call BookListener::notifyBookOpened.
(pas_book_construct): add @uri, and g_strdup it.
(pas_book_new): add @uri, and pass it to pas_book_construct.
(pas_book_class_init): remove the "request" signal stuff, and fill
in epv->open.
* backend/pas/pas-book.h: add PASOpenRequest struct/enum entry.
Also, add @uri to the pas_book_new args, and add a prototype for
pas_book_get_uri. Also, remove the "request" signal.
2003-08-07 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book-factory.c
(pas_book_factory_get_n_backends): lock map_mutex around hash
table work.
(pas_book_factory_dump_active_backends): same.
(backend_last_client_gone_cb): same.
(_pas_book_factory_send_open_book_response): track CallStatus idl
change.
(start_backend): simplify this greatly, since the factory is
tagged with HINT_PER_THREAD.
(impl_GNOME_Evolution_Addressbook_BookFactory_openBook): lock
around hash table.
(pas_book_factory_init): initialize map_mutex.
(pas_book_factory_dispose): free map_mutex.
2003-08-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_book_view_copy): nuke.
(pas_backend_file_book_view_free): same.
(view_destroy): same.
(pas_backend_file_changes): #if notyet
(do_create): e-card -> e-contact.
(pas_backend_file_process_create_card): remove view handling from
here.
(pas_backend_file_process_remove_cards): same.
(pas_backend_file_process_modify_card): convert to e-contact, and
remove view handling.
(pas_backend_file_get_book_view): nuke.
(pas_backend_file_process_get_supported_fields): e-card-simple ->
e-contact.
(pas_backend_file_upgrade_db): e-card -> e-contact.
(pas_backend_file_cancel_operation): implement, just return
CouldNotCancel.
(pas_backend_file_class_init): assign cancel_operation, and remove
get_book_view assignment.
(pas_backend_file_init): remove book_views assignment.
2003-08-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-vcf.c (pas_backend_vcf_book_view_copy):
nuke.
(pas_backend_vcf_book_view_free): same.
(view_destroy): same.
(insert_contact): new function, insert the contact into our hash
table.
(load_file): reimplement without the e_card stuff.
(foreach_build_list): e_card -> e_contact.
(save_file): mostly reimplement in terms of e-contact. more error
case work needs doing.
(do_create): e-card -> e-contact.
(pas_backend_vcf_process_create_card): remove the view handling
from here.
(pas_backend_vcf_process_remove_cards): implement this, just
remove it from the hash table and set ourselves to dirty.
(pas_backend_vcf_process_modify_card): remove the view handling
from here.
(pas_backend_vcf_process_get_book_view): nuke.
(pas_backend_vcf_process_get_supported_fields): reimplement in
terms of e-contact.
(INITIAL_VCARD): add in a FN attribute, and remove the quoted
printable encoding.
(pas_backend_vcf_cancel_operation): implement, just always return
CouldNotCancel.
(pas_backend_vcf_class_init): fill in cancel_operation, and remove
get_book_view_sync.
(pas_backend_vcf_init): remove book_views handling.
* backend/pas/pas-backend-vcf.h: update copyright.
2003-08-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-sync.c (pas_backend_sync_remove_cards):
add out param @ids, so we can call pas_book_respond_remove
properly.
(_pas_backend_remove_cards): the other half of the change - pass
the ids on to pas_book_response_remove.
(pas_backend_sync_modify_card): add out param @old_vcard so we can
call pas_book_respond_modify properly.
(_pas_backend_modify_card): the other half of the change, pass the
old_vcard on to pas_book_respond_modify.
(pas_backend_sync_get_book_view): nuke.
(pas_backend_sync_get_changes): track change (book view -> GList)
(_pas_backend_is_threaded): nuke.
(_pas_backend_create_card): indent.
(_pas_backend_remove_cards): same.
(_pas_backend_modify_card): same.
(_pas_backend_get_card_list): same.
(_pas_backend_get_changes): same.
(_pas_backend_authenticate_user): same.
(_pas_backend_get_supported_fields): same.
(_pas_backend_get_supported_auth_methods): same.
(_pas_backend_get_book_view): nuke.
(pas_backend_sync_class_init): remove assignment to is_threaded
and get_book_view.
* backend/pas/pas-backend-sync.h: add out-params @ids to
remove_cards_sync, @old_vcard to modify_card_sync.
get_changes_sync's out-param is a GList instead of a book view,
and remove get_book_view_sync.
* backend/pas/pas-backend.c (pas_backend_get_book_view): nuke.
(pas_backend_is_threaded): nuke.
(pas_backend_start_threaded): nuke.
(pas_backend_init): initialize priv->views.
(pas_backend_dispose): free priv->views.
(pas_backend_get_book_views): new function, return priv->views.
* backend/pas/pas-backend.h: remove the get_book_view virtual
method, and the pas_backend_get_book_view prototype. Also, track
the CallStatus change, and add a cancel_operation virtual method
and prototype, and add pas_backend_get_book_views function, so the
PASBook's can get ahold of the list.
* backend/pas/pas-book-view.h: track collapsing of
Addressbook::BookListenerCallStatus and
Addressbook::BookView::CallStatus enums into
Addressbook::CallStatus.
* backend/pas/pas-book-view.c: same.
* backend/pas/pas-card-cursor.[ch]: nuke
* backend/pas/pas-book.c: track collapsing of
Addressbook::BookListenerCallStatus and
Addressbook::BookView::CallStatus enums into
Addressbook::CallStatus.
(impl_GNOME_Evolution_Addressbook_Book_getBookView): implement
this all here, instead of farming it out to the backends.
(impl_GNOME_Evolution_Addressbook_Book_getChanges): track change
to signature. this is no longer a book view, it'll return an
actual list.
(impl_GNOME_Evolution_Addressbook_Book_cancelOperation): new
function, implement.
(pas_book_respond_create): iterate over the views, notifying them
if the new card matches their query.
(pas_book_respond_remove): iterate over the views, telling them to
delete the card matching the id.
(pas_book_respond_modify): iterate over the views, notifying them
if they need to change/add/remove that card.
(view_destroy): move this here from the backends.
(pas_book_respond_get_book_view): weak-ref the book view.
(pas_book_new): remove the is_threaded switch on POA hints, and
always use PER_REQUEST.
(pas_book_class_init): fill in cancelOperation.
* backend/pas/pas-book.h: track collapsing of
Addressbook::BookListenerCallStatus and
Addressbook::BookView::CallStatus enums into
Addressbook::CallStatus.
2003-08-01 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-async.c: mostly finished.
2003-08-01 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-async.[ch]: new files, create async methods
similar to the old ebook api that use GThread/GAsyncQueue to
simulate the old async behavior.
2003-07-29 Chris Toshok <toshok@ximian.com>
* backend/idl/addressbook.idl: collapse
Addressbook::BookListenerCallStatus and
Addressbook::BookView::CallStatus enums into
Addressbook::CallStatus.
2003-07-29 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-types.h: add EBookChangeType/EBookChange.
2003-07-29 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-view-listener.c: track collapsing of
Addressbook::BookListenerCallStatus and
Addressbook::BookView::CallStatus enums into
Addressbook::CallStatus.
* backend/ebook/e-book-listener.c track collapsing of
Addressbook::BookListenerCallStatus and
Addressbook::BookView::CallStatus enums into
Addressbook::CallStatus.
(response_free): nuked
(e_book_listener_check_queue): nuked
(e_book_listener_queue_response): nuked
(e_book_listener_queue_progress): nuked
(e_book_listener_queue_get_view_response): nuked
(e_book_listener_queue_get_changes_response): nuked
(e_book_listener_queue_writable_status): nuked
(e_book_listener_queue_authentication_response): nuked
(e_book_listener_queue_get_supported_fields_response): nuked
(e_book_listener_queue_get_supported_auth_methods_response): nuked
(e_book_listener_dispose): nuked
* backend/ebook/e-book-listener.h: remove prototypes for
check_pending and pop_response.
* backend/ebook/e-book.c (e_book_get_changes): new function.
implement this as more of a getCardList type function, instead of
getBookView.
(e_book_response_get_changes): new function.
(e_book_free_change_list): new function.
* backend/ebook/e-book.h: add prototype for
e_book_free_change_list.
2003-07-23 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book.c (e_book_get_book_view): new function,
implement this.
(e_book_response_get_book_view): same.
(e_book_get_contacts): remove the op so we don't see BUSY after
this request.
(e_book_handle_response): unifdef a few things.
(e_book_unload_uri): fix the assertion about URI_NOT_LOADED, and
unifdef some code.
(e_book_dispose): fix a typo.
* backend/ebook/e-book-view.c (e_book_view_handle_response):
rename _check_listener_queue to this. we don't need to pop the
response either, it's passed as an arg.
(e_book_view_construct): "response_queued" -> "response"
(e_book_view_start): new function, call BookView.start.
(e_book_view_dispose): track the signal id change.
* backend/ebook/e-book-view.h: add prototype for
e_book_view_start.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): remove.
(e_book_view_listener_queue_response): just emit the signal.
(impl_BookViewListener_notify_card_added): spew.
(impl_BookViewListener_notify_card_changed): spew.
(impl_BookViewListener_notify_sequence_complete): spew.
(impl_BookViewListener_notify_progress): spew.
(e_book_view_listener_check_pending): remove
(e_book_view_listener_check_pop_response): remove
(e_book_view_listener_new): use the ALL_AT_IDLE poa policy.
(e_book_view_listener_init): remove the queue/timeout stuff.
(e_book_view_listener_dispose): remove the queue/timeout stuff.
* backend/ebook/e-book-view-listener.h: remove _check_pending and
_pop_response.
2003-07-23 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c (do_summary_query): remove the
completion_search argument, and remove the aggregating stuff.
just call pas_book_view_notify_add_1.
(pas_backend_file_book_view_copy): remove card_sexp crap.
(pas_backend_file_book_view_free): same.
(get_length): remove
(get_nth): remove
(cursor_destroy): remove
(vcard_matches_search): remove
(ecard_matches_search): remove
(pas_backend_file_search_timeout): remove the aggregating stuff.
just call pas_book_view_notify_add_1.
(pas_backend_file_search): simplify this a bunch.
(do_create): use pas_book_view_vcard_matches.
(pas_backend_file_process_get_card_list): add some more error
checks.
(pas_backend_file_process_get_book_view): unifdef this, and
implement it.
(pas_backend_file_start_book_view): kick off the search.
(pas_backend_file_get_uri): remove.
(pas_backend_file_class_init): remove get_uri, add
start_book_view.
* backend/pas/pas-backend-ldap.c (view_destroy): don't need to
unref the card_sexp, as the PASBookView owns it now.
(create_card_handler): use pas_book_view_vcard_matches.
(modify_card_modify_handler): same.
(ldap_get_view): initialize the view properly.
(pas_backend_ldap_get_uri): remove.
(pas_backend_ldap_class_init): remove the get_uri assignment.
* backend/pas/pas-backend-sync.c (_pas_backend_get_card_list):
don't free this, it's freed in the pas_book code.
* backend/pas/pas-backend-sync.h: make use of pas-types.h and
remove some typedefs.
* backend/pas/pas-backend-summary.h: same.
* backend/pas/pas-backend-card-sexp.h: same.
2003-07-23 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book.c
(impl_GNOME_Evolution_Addressbook_Book_getBookView): spew.
(pas_book_respond_create): unifdef this.
(pas_book_respond_remove): same.
(pas_book_respond_modify): same.
(pas_book_respond_authenticate_user): same.
(pas_book_respond_get_supported_fields): unref the iterator.
(pas_book_respond_get_book_view): unifdef, and add spew.
* backend/pas/pas-book.h: make use of pas-types.h and remove some
typedefs.
2003-07-23 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-types.h: new file, all the typedefs shared
between files here.
2003-07-23 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book-view.c (send_pending_adds): abstract all
the aggregating code to the book view. backends just call
notify_card_added and the superclass does all the aggregating.
(pas_book_view_notify_change): if there are pending adds, send
them before we send the change.
(pas_book_view_notify_remove): same.
(pas_book_view_notify_add): the other part of the aggregating
code.
(pas_book_view_notify_complete): send pending adds if there are
any.
(impl_GNOME_Evolution_Addressbook_BookView_start): new function,
call pas_backend_start_book_view.
(pas_book_view_get_card_query): new function.
(pas_book_view_get_card_sexp): new function.
(pas_book_view_get_backend): new function.
* backend/pas/pas-book-view.h: add a PASBackend arg to the
constructor, as well as the char* query and PASBackendCardSExp
form. also add accessors for card_query, card_sexp, and backend.
* backend/idl/addressbook.idl
(GNOME::Evolution::Addressbook::BookView): add start() method.
(GNOME::Evolution::Addressbook::BookListener): remove the oneway
tag from notifyBookOpened, notifyViewRequested, and
notifyChangesRequested so the call doesn't return until the remote
object has gotten the method call.
* backend/pas/pas-backend.c (pas_backend_load_uri): fill in the
uri slot if the load was successful.
(pas_backend_get_uri): return the uri, remove the virtual method
call.
(pas_backend_start_book_view): new function.
(process_client_request): ifdef out the threaded foo, since i'm
not certain it's at all necessary.
(real_add_client): remove the bonobo_object_unref of the book,
since it's immortal.
(pas_backend_dispose): free the uri.
* backend/pas/pas-backend.h: remove the get_uri virtual method,
and add the start_book_view virtual method and
pas_backend_start_book_view prototype.
2003-07-23 Chris Toshok <toshok@ximian.com>
* backend/pas/Makefile.am (libpasvcf_a_SOURCES): new.
(noinst_LIBRARIES): add libpasvcf.a
* backend/pas/pas-backend-vcf.[ch]: new files, implement a vcard
file backend. the backend api still needs a little work, but it's
getting easier to write backends.
2003-07-23 Chris Toshok <toshok@ximian.com>
* printing/e-contact-print.c (e_contact_print_response): deal with
"uses_list". Fixes #30839.
(e_contact_print_dialog_new): use GINT_TO_POINTER instead of
casting to void*, and set "uses_list" to FALSE.
(e_contact_print_card_dialog_new): same.
(e_contact_print_card_list_dialog_new): same, but set "uses_list"
to TRUE.
2003-07-23 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book.c (e_book_dispose): fix a typo.
2003-07-22 Akira TAGOH <tagoh@redhat.com>
* printing/e-contact-print-envelope.c (ecpe_print): Use 'Sans'
instead of 'Helvetica' for the font name.
* printing/e-contact-print.c (e_contact_build_style): Likewise.
2003-07-23 Dan Winship <danw@ximian.com>
* backend/ebook/Makefile.am: use EVO_MARSHAL_RULE
* backend/pas/Makefile.am: Likewise
* gui/component/select-names/Makefile.am: Likewise
* gui/contact-editor/Makefile.am: Likewise
* gui/contact-list-editor/Makefile.am: Likewise
* gui/widgets/Makefile.am: Likewise
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_class_init):
s/ece_marshal/e_contact_editor_marshal/
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_class_init): Likewise for ecle_marshal
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): Remove gtk_window_set_policy
call since that function is deprecated and it was just setting
everything to the default values anyway.
* gui/widgets/e-addressbook-util.c: #include gal/util/e-util.h for
e_free_object_list.
2003-07-22 Dan Winship <danw@ximian.com>
* backend/ebook/e-card.c: (e_card_new,
e_card_new_with_default_charset): Make the "vcard" arg const.
...: add lots and lots of other consts as a side effect
2003-06-30 Dan Winship <danw@ximian.com>
* gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose):
disconnect from model signals to prevent a race condition at
shutdown where the view gets destroyed and then the model notices
the backend dying before being destroyed itself.
* gui/widgets/e-addressbook-reflow-adapter.c
(addressbook_finalize): add, to free priv.
(e_addressbook_reflow_adapter_class_init): set it up
* gui/component/e-address-popup.c (e_address_popup_set_free_form):
Don't leak strings
* gui/component/addressbook-storage.c (load_source_data): don't
leak xml data.
* gui/component/addressbook-component.c (new_item_cb): don't leak
the new card.
2003-06-25 Gilbert Fang <gilbert.fang@sun.com>
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_real_focus_in_event): new function,
override the event handler for focus_in_event, set the first item
be focused if no focused item at all. Fixes bug 41826.
2003-06-18 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (fill_in_field): in the
EUrlEntry case just reassign widget. it'll be handled by the
GtkEditable code below. Fixes #43841.
2003-06-14 Larry Ewing <lewing@ximian.com>
* gui/backend/ebook/e-card-simple.c:
* gui/backend/ebook/e-card.c:
* gui/backend/ebook/evolution-ldif-importer.c:
* gui/backend/ebook/load-pine-addressbook.c:
* gui/backend/ebook/test-card.c:
* gui/backend/pas/pas-backend-card-sexp.c:
* gui/backend/pas/pas-backend-ldap.c: Fix lots of leaks, update
for correct use of g_object_get. Some cleanups.
2003-06-13 Larry Ewing <lewing@ximian.com>
* gui/component/addressbook.c:
* gui/component/e-cardlist-model.c:
* gui/component/select-names/e-select-names-text-model.c:
* gui/contact-editor/e-contact-editor.c:
* gui/contact-editor/e-contact-save-as.c:
* gui/contact-list-editor/e-contact-list-editor.c:
* gui/widgets/e-addressbook-table-adapter.c:
* gui/widgets/e-addressbook-util.c:
* gui/widgets/e-addressbook-view.c:
* gui/widgets/e-minicard-view.c:
* gui/widgets/e-minicard.c: Fix lots of leaks, update for correct
use of g_object_get. Some misc cleanups.
* printing/e-contact-print.c: update for correct use of
g_object_get.
2003-06-05 Not Zed <NotZed@Ximian.com>
** For #42691.
* gui/component/select-names/Makefile.am (%.server.in): implicit
rule for .in file.
(BUILT_SOURCES): added server_DATA.
* gui/component/Makefile.am (%.server.in): use implicit rule for
.in file.
(BUILT_SOURCES): added, just server_DATA.
(CLEANFILES): added
* backend/ebook/Makefile.am (BUILT_SOURCES): add server_DATA.
2003-06-04 Rodrigo Moya <rodrigo@ximian.com>
* backend/ebook/ebook.c (e_book_do_response_open): adapted to
changes in EComponentListener API.
** See ChangeLog.pre-1-4 for older changes
|