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
|
2001-03-06 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_replace): Fix a reference counting bug.
* gui/component/select-names/e-select-names-manager.c (popup_cb):
A callback for creating the appropriate popup by calling
e_select_names_popup.
(e_select_names_manager_create_entry): Connect popup_cb to the
entry's popup signal
* gui/component/select-names/e-select-names-popup.c: Added. Code
for popup right-click menus for recipient entries. Still a bit
incomplete.
* backend/ebook/e-destination.c (e_destination_get_email_num):
Added.
* contact-editor/e-contact-quick-add.c: Added. Some code and a
dialog for very quickly adding entries to the address book.
Still not fully working.
2001-03-04 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c: Cleaned up the formatting in this
file a bit.
* contact-editor/e-contact-editor.c (e_contact_editor_set_arg):
Made it so that passing in NULL to the writable_fields arg sets
the set of writable fields to the empty set.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_activate_obj): Pass NULL as the
writable_fields argument here.
* gui/widgets/e-addressbook-model.c: Don't offset by one here.
This way we will get the file_as field as one of our
ETableColumns.
* gui/widgets/e-addressbook-view.c (SPEC): Updated this for the
changes in ECardSimple.
* gui/widgets/e-minicard.c (remodel): Don't remodel if the item
isn't realized.
2001-03-02 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c: doh, track renaming of
objectclass from evolvePerson to evolutionPerson.
2001-03-02 Chris Toshok <toshok@ximian.com>
* backend/pas/evolutionperson.schema: rename evolveperson.schema
to this, and add remaining attributes.
* backend/pas/pas-backend-ldap.c: add remaining fields, and fix up
ones that were incorrent (either the ldap_attr or the query prop).
2001-03-02 JP Rosevear <jpr@ximian.com>
* conduit/Makefile.am: update sed script
* conduit/e-address.conduit.in: update for new pilot foo
2001-03-02 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_activate_obj): track change to
e_contact_editor_new.
2001-03-02 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (add_objectclass_mod): add
objectclasses for "person", "organizationalPerson", and "top" as
well, just to be complete.
(check_schema_support): rename check_for_evolve_person to this, to
reflect that we're doing more than just checking for that
objectClass.
(add_oc_attributes_to_supported_fields): new function.
(add_to_supported_fields): new function.
(pas_backend_ldap_destroy): unref supported_fields.
2001-03-02 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard-view.c (supported_fields_cb): new
function.
(e_minicard_view_event): split out the creation of the contact
editor to the supported_fields callback.
* gui/widgets/e-minicard.c (supported_fields_cb): new function.
(e_minicard_event): split out the creation of the contact editor
to the supported_fields callback.
* gui/widgets/e-addressbook-view.c (table_double_click): split
function into two functions, since e_book_get_supported_fields
requires a callback now.
(supported_fields_cb): new function.
* gui/component/addressbook.c (new_contact_cb): split this into
two functions, since e_book_get_supported_fields requires a
callback now.
(supported_fields_cb): new function.
* contact-editor/test-editor.c (main): track change to
e_contact_editor_new (pass NULL for the writable_fields arg.)
* contact-editor/contact-editor.glade: fix several labels so they
make better sense (since we look them up in e-contact-editor.c.)
* contact-editor/e-contact-editor.h (struct _EContactEditor): add
writable_fields. also, add it to e_contact_editor_new.
* contact-editor/e-contact-editor.c (e_contact_editor_class_init):
add writable_fields arg.
(e_contact_editor_destroy): unref the writable_fields list.
(e_contact_editor_new): pass @fields as the writable_fields arg.
(e_contact_editor_set_arg): add writable_fields support.
(enable_writable_fields): new (very hairy) function, to disable
everything and reenable just the fields listed in the
writable_fields list.
(_email_arrow_pressed): set label-email1, entry-email1, and
checkbutton-htmlmail to be sensitive since the only way to get
here is to activate a writable field in the menu.
(_address_arrow_pressed): set label-address, button-fulladdr, and
text-address to be sensitive for the same reason.
(_phone_arrow_pressed): sensitize the label and entry for the same
reason.
2001-03-02 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-card-simple.c (field_data): add new entries for
phone enums, and fill in the ecard_field with (bogus in all but a
few cases) strings. these are the strings sent from wombat to
evolution-addressbook for supported_fields.
(e_card_simple_get_ecard_field): new function.
(e_card_simple_map_phone_to_field): new function.
(e_card_simple_map_email_to_field): new function.
(e_card_simple_map_address_to_field): new function.
* backend/ebook/e-card-simple.h: add a few phone entries to the
ECardSimpleField enum, and add prototypes for mapping the list
types (phone, email, address) to ECardSimpleField. Also, add
prototype for e_card_simple_get_ecard_field.
* backend/ebook/e-book.c
(e_book_do_response_get_supported_fields): don't build the EList
here, it's already built.
* backend/ebook/e-book-listener.h: change fields from the CORBA
sequence to the EList in our reponse struct.
* backend/ebook/e-book-listener.c
(e_book_listener_queue_get_supported_fields_response): we make the
EList here, since after we return the CORBA list is freed up.
2001-03-02 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c
(pas_backend_file_process_get_supported_fields): implement
properly, we support everything.
2001-03-01 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(entry_set_property_fn): Oops, we do need to be able to write to
"text" after all (for things like Reply-to: to work properly).
Fixed.
(impl_SelectNames_get_entry_for_section): Made "text" a writeable
property again.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): Increment pos so that
we don't reverse strings when length > 1 (a particularly amusing
bug).
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_destroy): Check for NULL before calling
gtk_object_unref (GTK_OBJECT (---)), to get rid of annoying error
messages.
2001-03-01 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c: I am an
idiot.
2001-03-01 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): Change for new EDestination/ESelectNamesModel API.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_get_source): Added. A function for
looking up the ESelectNamesModel by id. (I didn't end up using
this function, but it might come in handy later.)
(e_select_names_manager_get_cards): #if 0/#endif out this
function.
(e_select_names_manager_create_entry): Modified to attach an
ESelectNamesCompletion to the entry we create.
(completion_handler): A post-completion handler for our EEntry, to
take the completion's extra data (an EDestination) and properly
stick it into our ESelectNamesModel.
* gui/component/select-names/e-select-names.c
(real_add_address_cb): Changed to operate on EDestinations rather
than ECards and to use the new ESelectNamesModel API. This leads
to a rather nice code simplication.
(remove_address): Changed for new ESelectNamesModel API.
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Rather than just passing the entry's text
through the property bag, get the "address text" from the model.
This returns a nice, verbose string of addresses with names
expanded when the address is tied to an ECard (i.e. "Jon
Trowbridge <trow@ximian.com>").
(impl_SelectNames_get_entry_for_section): Make the text property
read-only.
(entry_set_property_fn): ...and since it is read-only now, chop
out the setter code.
* gui/component/select-names/e-select-names-text-model.h:
* gui/component/select-names/e-select-names-text-model.c: Again,
this code has been (pretty much) totally rewritten to convert all
text operations into changes on the ESelectNamesModel. This lets
us give the associated EEntry some (IMHO) nice semantics regarding
whitespace, etc. Includes object activation, so destinations tied
to ECards are underlined and can be double-clicked to bring up a
contact editor.
* gui/component/select-names/e-select-names-model.h:
* gui/component/select-names/e-select-names-model.c: I've heavily
modified this object to both hide all implementation details
(which the old version exposed a bit too much for my peculiar
tastes) and to act as an EDestination container. The old code put
the text model operations here. I've moved them all to
ESelectNamesTextModel --- so the text model actions (insert,
delete, etc.) are all done through the API rather than operating on
ESelectNamesModel internals.
* gui/component/select-names/e-select-names-completion.c: Added. A
fairly complicated object derived from ECompletion that searches
our local addressbook in various and sundry ways.
* gui/component/select-names/e-select-names-completion.h:
* backend/ebook/e-destination.h:
* backend/ebook/e-destination.c: Added. This object encapsulates
a place to sent an email to, which can either be just a address as
a string ("trow@ximian.com"), a fancier string ("Jon Trowbridge
<trow@ximian.com>"), or an ECard and a specific address within
that ECard.
2001-03-01 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h,
gui/widgets/e-minicard.c, gui/widgets/e-minicard.h: Used
ESelectionModelSimple and the changes to EReflow and EReflowSorted
to get multiple selection in the minicard view.
* gui/widgets/test-reflow.c: Changed this to get it to compile
with the changes to EReflow.
2001-02-21 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_search): Made
this pay attention to the return value of e_sexp_parse.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_activate_obj): Fixed a const
inconsistency here.
2001-02-21 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book.c (pas_book_queue_get_supported_fields):
new function.
(impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): track
change to idl.
(pas_book_respond_get_supported_fields): new function.
* backend/pas/pas-book.h: add GetSupportedFields to the
PASOperation enum. Also, add a stringlist field to the PASRequest
struct. lastly, add a prototype for
pas_book_respond_get_supported_fields.
* backend/pas/pas-backend.h: remove prototype for
pas_backend_get_supported_fields, and remove it from the vtable.
* backend/pas/pas-backend.c (pas_backend_get_supported_fields):
remove.
(pas_backend_class_init): no vtable entry for get_supported_fields
anymore.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_get_supported_fields): new function.
(pas_backend_ldap_process_client_requests): add case for
GetSupportedFields.
(pas_backend_ldap_class_init): get_supported_fields isn't in
vtable anymore.
* backend/pas/pas-backend-file.c
(pas_backend_file_process_get_supported_fields): new function.
(pas_backend_file_process_client_requests): add case for
GetSupportedFields.
(pas_backend_file_class_init): get_supported_fields isn't in
vtable anymore.
* backend/idl/addressbook.idl: Book::getSupportedFields now
returns void and add BookListener::notifySupportedFields.
* backend/ebook/test-client.c (get_fields_cb): new function.
(auth_user_cb): track change to e_book_get_supported_fields.
* backend/ebook/e-book.c
(e_book_do_response_get_supported_fields): new function.
(e_book_check_listener_queue): add case
GetSupportedFieldsResponse.
(e_book_get_supported_fields): switch to async model.
* backend/ebook/e-book.h: switch e_book_get_supported_fields to an
async model.
* backend/ebook/e-book-listener.c
(e_book_listener_queue_get_supported_fields_response): new
function.
(impl_BookListener_response_get_supported_fields): new function.
(e_book_listener_get_epv): fill in epv's "notifySupportedFields"
* backend/ebook/e-book-listener.h: add an async response for
GetSupportedFields and add a stringlist member to the
EBookListenerResponse struct.
2001-02-20 Federico Mena Quintero <federico@ximian.com>
* backend/pas/pas-book-factory.c (pas_book_factory_activate):
Moved the register_factory() code to here, since it was the only
thing being called anyways.
(PasBookFactoryPrivate): Added a "registered" flag.
(pas_book_factory_activate): Set the registered flag.
(pas_book_factory_destroy): Deactivate the factory when we go away.
2001-02-20 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book.c (e_book_get_supported_fields): new function.
* backend/ebook/e-book.h: add e-book interface to getting
supported fields.
* backend/ebook/test-client.c (auth_user_cb): shoe-horn in some
spew about supported fields.
2001-02-19 JP Rosevear <jpr@ximian.com>
* conduit/Makefile.am: Remove PISOCK_LIBDIR
2001-02-19 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_create_entry): When creating the entry,
open up an ebook (corresponding to the local addressbook) and make
the entry use an EAddressCompletion.
(completion_handler): Added; this is the actual completion
handler, which manipulates the entry when the user selects
something from the drop-down.
* gui/component/select-names/e-select-names-model.c: Various hacks
by clahey to unbreak e_select_names_model_add_item,
e_select_names_model_replace_item (which I added) and
e_select_names_model_remove_item.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_obj_count,
e_select_names_text_model_get_nth_obj): Make chunks of text that
correspond to ECards in the ESelectNamesModel be embedded objects.
(e_select_names_text_model_activate_obj): On activation, pop up a
contact editor for the embedded object's card.
(e_select_names_text_model_model_changed): Fixed to work with
ETextModel API changes.
(e_select_names_text_model_set_text): Make const correct.
(e_select_names_text_model_insert): Make const correct.
(e_select_names_text_model_insert_length): Make const correct.
* backend/ebook/e-address-completion.h,
backend/ebook/e-address-completion.c: Added. EAddressCompletion
is a derived class of ECompletion that does asynchronous address
lookups for completions.
2001-02-17 Chris Toshok <toshok@ximian.com>
* backend/idl/addressbook.idl: add sequence<string> typedef, and
add getSupportedFields method.
* backend/pas/pas-book.c
(impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): new
function.
* backend/pas/pas-backend.c (pas_backend_class_init): init
get_supported_fields = NULL.
(pas_backend_get_supported_fields): new function.
* backend/pas/pas-backend.h: add prototype for
pas_backend_get_supported_fields.
* backend/pas/pas-backend-file.c
(pas_backend_file_get_supported_fields): new function.
(pas_backend_file_class_init): fill in get_supported_fields.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_get_supported_fields): new function.
(pas_backend_ldap_class_init): fill in get_supported_fields.
2001-02-14 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-ldap.c: Undefine E_STRING_PROP and
E_LIST_PROP here.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h (e_contact_editor_raise): Added
this function.
* gui/widgets/e-minicard.c, gui/widgets/e-minicard.h
(e_minicard_event): Added an editor field to the EMinicard object.
Made it so that if you double click on the same card twice, it
doesn't open a new window, but instead raises the old.
2001-02-08 Iain Holmes <iain@ximian.com>
* gui/component/addressbook-storage.c (addressbook_source_free):
Free the ldap.binddn.
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_setup_menus): Free the dir strings.
2001-02-08 Christopher James Lahey <clahey@ximian.com>
* contact-editor/e-contact-editor.c (categories_clicked): Set the
header on the category dialog we pop up.
2001-02-12 Kjartan Maraas <kmaraas@gnome.org>
* backend/ebook/GNOME_Evolution_Addressbook_GnomeCard_Importer.oaf.in: Translations.
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.oaf.in:
Marked strings for translation in this newly created file.
* gui/component/select-names/Makefile.am: Hook up the .oaf.in files in the
xml-i18n-tools framework.
* gui/component/Makefile.am: Same as above.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Marked stuff for translation here
too.
2001-02-11 Jason Leach <jasonleach@usa.net>
* gui/component/addressbook.c: Removed an ancient #include
<libgnorba/gnorba.h>
2001-02-11 Gediminas Paulauskas <menesis@delfi.lt>
Really use xml-i18n-tools.
* conduit/e-address-conduit-control-applet.desktop: removed.
* conduit/e-address-conduit-control-applet.desktop.in: added empty.
* conduit/Makefile.am: reflect above changes, merge translations.
* contact-editor/e-contact-editor-strings.h,
contact-editor/fulladdr.glade.h, contact-editor/fullname-strings.h,
contact-editor/e-contact-editor-confirm-delete.glade.h,
gui/component/select-names/select-names.glade.h:
removed these files, xml-i18n-extract takes care of strings itself.
* contact-editor/*.glade,
gui/component/select-names/select-names.glade,
gui/widgets/alphabet.glade, printing/e-contact-print.glade:
changed project options to not output_translatable_strings.
* contact-editor/Makefile.am, gui/widgets/Makefile.am,
gui/component/select-names/Makefile.am, printing/Makefile.am:
do not include removed files in EXTRA_DIST.
2001-02-07 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (check_for_evolve_person): flesh
out this check. #ifdef the entire thing OPENLDAP2, as it only
works with the new schema stuff in openldap 2.x (both on server
and client, so upgrade your server.)
2001-02-07 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c: Added N_("* Click here to add
a contact *").
2001-02-07 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): only
set the DEBUG_LEVEL if we're OPENLDAP2.
2001-02-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (email_compare): return TRUE if
equal, FALSE otherwise.
(business_compare): same.
(homephone_compare): same.
(email_ber): return NULL if there are no elements in our list.
(homephone_ber): same.
(business_ber): same.
(build_mods_from_ecards): add smarts to handle list elements
properly (like email, business_phone, home_phone.) now we'll
properly send updates if any element in the list changes.
2001-02-06 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/Makefile.am (INCLUDES): Added
-DEVOLUTION_DATADIR=\""$(datadir)"\".
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_setup_menus): Changed the local and system
directories.
2001-02-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (create_card_handler): doh,
didn't mean to commit this.
2001-02-06 Chris Toshok <toshok@ximian.com>
* backend/pas/evolveperson.schema: new file. this will eventually
form the suggested additions to an existing openldap server that,
along with support for inetorgperson, will allow people to store
all evolution attributes in ldap.
2001-02-06 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_init): don't
need the = NULL's since we g_new0.
(check_for_evolve_person): new function.
(pas_backend_ldap_connect): check to see if the evolvePerson
objectclass is there.
(build_mods_from_ecards): right now, just silently skip the extra
attributes if we don't support evolvePerson.
(add_objectclass_mod): new function, add both inetOrgPerson and
(if it's available) evolvePerson as objectclasses.
(pas_backend_ldap_process_authenticate_user): also check to see if
evolvePerson is there, if we couldn't do it (due to auth reasons)
in the connect method.
(prop_info): change the telephoneNumber LDAP attribute to be used
for evolution's business phone numbers. the primary phone number
will be a single valued attribute on evolvePerson.
(business_populate): new function.
(business_ber): new function.
(business_compare): new function.
2001-02-05 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (create_card_handler): err,
allocate 2 char*s when i assign 2 char*s.
2001-02-05 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (modify_card_handler): switch to
ldap_modify_ext_s if OPENLDAP2, as ldap_modify_s is deprecated.
(build_mods_from_ecards): don't include the mod if the value is ""
- this isn't valid on schema checking ldap servers.
(homephone_populate): new function.
(homephone_ber): new function.
(homephone_compare): new function.
(create_card_handler): add spew when adding cards so I can see
what's going on.
2001-02-05 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook-config.c (table_add_elem): Save the
help_text in the closure.
2001-02-05 Christopher James Lahey <clahey@helixcode.com>
* gui/widgets/Makefile.am (libeminicard_a_SOURCES): Added
gal-view-factory-minicard.c, gal-view-factory-minicard.h,
gal-view-minicard.c, and gal-view-minicard.h.
* gui/widgets/gal-view-factory-minicard.c,
gui/widgets/gal-view-factory-minicard.h,
gui/widgets/gal-view-minicard.c, and
gui/widgets/gal-view-minicard.h: New classes for minicard view
type.
* gui/widgets/e-addressbook-view.c: Deploy gal-view stuff
properly.
2001-02-05 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c (e_card_get_vcard): Make the Note field
be quoted printable.
2001-01-27 Christopher James Lahey <clahey@helixcode.com>
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): This should be a close button,
not a cancel button.
2001-02-04 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_activate_dialog): Call
e_select_names_set_default when appropriate.
* gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h: Added support for
double clicking sending the selected contacts to the default
section. Added a set_default function. Made multiple selection
work.
2001-01-29 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_config_source_label): #ifdef INCLUDE_FILE_SOURCE.
(table_add_elem): add help_text parameter and set up focus_in
events to display the help in the dialog's html area.
(focus_help): new function, calls put_html on the help text.
(addressbook_ldap_auth_item_new): add help texts.
(addressbook_source_item_new): add help texts.
(addressbook_source_dialog): add help texts.
2001-01-27 Ettore Perazzoli <ettore@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_add_section): Remove the butt-ugly arrow icon and
replace it with a less invasive "->" icon.
2001-01-25 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (build_mods_from_ecards): add
comment about the else block here.
(prop_info): add home_address, business_address, business_fax,
assistant, and isdn.
2001-01-25 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c (pas_backend_file_load_uri): Made
this only add the initial VCard if it finds a file
"create-initial" in the directory it's creating the database in.
* gui/component/addressbook-component.c (factory_fn): Added a
create_folder function.
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): Fixed an unused variable
warning.
2001-01-25 Christopher James Lahey <clahey@helixcode.com>
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_setup_menus): Setup the view collection
properly and handle the "display_view" signal.
2001-01-25 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook.c (update_pixmaps): Consider the
placeholder in the path for the "Print" item.
2001-01-25 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook.c (update_pixmaps): Set the icon for
"/Toolbar/Find" to "24_find_contact.xpm".
2001-01-25 Ettore Perazzoli <ettore@ximian.com>
* gui/component/addressbook.c (set_pixmap): New.
(update_pixmaps): New function, setting the pixmaps for the items
of type "pixbuf", using `set_pixmap'.
(control_activate): Call it.
2001-01-25 Not Zed <NotZed@Ximian.com>
* backend/pas/pas-backend-ldap.c: esexp api change fixes.
* backend/pas/pas-backend-file.c (entry_compare): Fix for e_sexp api changes.
(vcard_matches_search): esexp api fixes.
(pas_backend_file_search): Ouch, unref the e-sexp properly (not gtk object).
2001-01-24 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-ldap.c (email_ber_func): make sure to
add the lengths here (include the \0? anyone?).
(build_mods_from_ecards): if we're filling in mod->mod_bvalues,
set mod_op |= LDAP_MOD_BVALUES.
2001-01-23 Jason Leach <jasonleach@usa.net>
(Fix #1225: advanced search cancel/close)
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): Set it up with Search and a
Cancel button, Search is still the default.
2001-01-23 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (local_record_from_ecard): properly ref
the ecard. still need to kill some memory leaks.
2001-01-22 JP Rosevear <jpr@ximian.com>
* conduit/Makefile.am: remove vfs dependency
2001-01-21 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (delete_record): Remove
deleted records from the pilot map so we don't have dupes in the future
2001-01-19 Dan Winship <danw@ximian.com>
* gui/widgets/e-addressbook-view.c (table_right_click):
* gui/widgets/e-minicard.c (e_minicard_event): Update for
e_popup_menu_run prototype change.
2001-01-19 Jason Leach <jasonleach@usa.net>
(Adding a boolean "entry_changed" BonoboPropertyBag arg)
* gui/component/select-names/e-select-names-bonobo.c
(entry_set_property_fn): Use a gtk_object_set_data to set the
property to TRUE here.
(entry_changed): New function, calls bonobo_control_set_property
if entry_changed hasn't been set to TRUE yet.
(impl_SelectNames_get_entry_for_section): Connect "changed" on
each entry_widget to the new entry_changed() func.
2001-01-19 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (ecard_from_remote_record): always free
the delivery elements and correct embarrassingly stupid memory error
that was causing the addressbook conduit problems.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): ref/unref ourself when processing
in case someone we signal unrefs us.
* conduit/address-conduit.c (sequence_complete): disconnect signals
when complete
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* backend/pas/pas-book-factory.c (pas_book_factory_activate): Made
it return a gboolean; it was completely ignoring the return value
from register_factory().
2001-01-17 Larry Ewing <lewing@helixcode.com>
* backend/ebook/.cvsignore: add evolution-gnomecard-importer.
* backend/ebook/Makefile.am (oaf_DATA): don't require the pine
oainfo file until it is actually added to the repository. We need
to keep the build working for nightlies to work.
2001-01-16 Jason Leach <jasonleach@usa.net>
* backend/pas/pas-backend-file.c (INITIAL_VCARD): s/Helix
Code/Ximian/ for the initial contact card.
2001-01-15 JP Rosevear <jpr@ximian.com>
* conduit/address-conduit.c (print_local): prevent segfaults and
buffer overflows
(print_remote): ditto
2001-01-14 JP Rosevear <jpr@ximian.com>
* conduit/Makefile.am: pass -module and -avoid-version to conduit
linker
2001-01-12 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook-component.c (factory_fn): Pass NULL as
the @copy_folder_fn arg to `evolution_shell_component_new'.
2001-01-12 Miguel de Icaza <miguel@ximian.com>
* gui/widgets/e-addressbook-view.c: added i18n for etable.
2001-01-11 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_create_card): get a book view from
somewhere so we can give status messages - choose the first one in
the list.
(pas_backend_ldap_process_modify_card): same.
(pas_backend_ldap_process_remove_card): same.
(prop_info): add more properties, like home_phone, mobile, pager,
uri, org_unit, office, title, and manager.
2001-01-09 Miguel de Icaza <miguel@gnu.org>
* gui/widgets/Makefile.am (minicard_widget_test_LDADD): Put GNOME
libraries at the end to make the thing compile.
* printing/Makefile.am: Order LDADD flags correctly so it compiles.
2001-01-09 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (addressbook_factory_new_control):
connect with the EAddressbookView's status_message signal.
(set_status_message): set the status message on the ShellView
Interface associated with our control.
(retrieve_shell_view_interface_from_control): new function. get
the shell view inteface associated with a control.
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_class_init): register status_message signal.
(status_message): new function, emit our status_message signal.
(change_view_type): connect with the view->object's
"status_message" signal.
* gui/widgets/e-addressbook-view.h (struct
_EAddressbookViewClass): add status_message signal.
2001-01-09 Chris Toshok <toshok@helixcode.com>
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_class_init): register our status_message
signal.
(status_message): new function, emit our status_message signal.
(e_minicard_view_widget_realize): connect to the EMinicardView's
status_message signal.
* gui/widgets/e-minicard-view-widget.h: add status_message signal.
* gui/widgets/e-minicard-view.c (e_minicard_view_class_init):
register our status_message signal.
(e_minicard_view_init): init status_message_id.
(status_message): new function, emit our status_message signal.
(book_view_loaded): connect to the EBookView's status_message
signal.
(disconnect_signals): disconnect status_message_id.
* gui/widgets/e-minicard-view.h: add status_mesage_id, and
status_message signal.
* gui/widgets/e-addressbook-model.c (status_message): new
function, emit our status_message.
(e_addressbook_model_class_init): register our "status_message"
signal.
(book_view_loaded): connect to the EBookView's status_message
signal, so we can chain it to our parent.
(e_addressbook_model_init): init status_message_id.
(remove_book_view): disconnect status_message_id.
* gui/widgets/e-addressbook-model.h: add status_message_id, and
status_message signal.
* backend/pas/pas-backend-ldap.c change the objectclass we create
objects with to "inetOrgPerson" as it encompasses the fields we
use.
(create_dn_from_ecard): remove the mail/org handling from
here. we just prepend cn=$cn onto the base dn.
(create_card_handler): remove the NULL that build_mods_from_ecards
adds at the end, and insert our objectClass.
(modify_card_handler): call search_for_dn to get the ECardSimple
of the old card, since it might (and does in the current code)
doing a brute force search.
(search_for_dn): new function, to search for an entry by its dn.
right now we brute force (objectclass=*) under the base dn and
compare dn's. going to add a first pass that explodes the dn and
searches that way, using (objectclass=*) as a last resort. also,
here's where we'd put the extensibleMatch code if we want to go
that route.
* backend/ebook/e-card.c (e_card_set_arg): if we're setting the
full name regenerate ecard->name.
2001-01-04 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-book-listener.c
(e_book_listener_queue_authentication_response): new function.
(impl_BookListener_respond_authentication_result): new function.
(e_book_listener_get_epv): fill in
epv->notifyAuthenticationResult.
* backend/ebook/e-book-listener.h: add AuthenticationResponse to
EBookListenerOperation.
* backend/ebook/e-book.c (e_book_authenticate_user): new function.
* backend/ebook/e-book.h: add prototype for
e_book_authenticate_user.
* backend/idl/addressbook.idl (GNOME:Evolution:Addressbook:Book):
add authenticateUser method.
(GNOME:Evolution:Addressbook:BookListener): add
AuthenticationFailed and AuthenticationRequired to CallStatus.
also add notifyAuthenticationResult method.
* backend/pas/pas-backend-file.c
(pas_backend_file_process_authenticate_user): dummy
authenticate_user function that always succeeds.
(pas_backend_file_process_client_requests): respond to the
AuthenticateUser request.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_query):
gtk_object_unref(sexp) => s_exp_unref(sexp).
(pas_backend_ldap_process_authenticate_user): fill in to use
ldap_simple_bind_s.
(pas_backend_ldap_process_client_requests): respond to the
AuthenticateUser request.
* backend/pas/pas-book.c (pas_book_queue_authenticate_user): new
function.
(impl_GNOME_Evolution_Addressbook_Book_authenticateUser): new
function.
(pas_book_respond_authenticate_user): new function.
(pas_book_get_epv): fill in epv->authenticateUser.
* backend/pas/pas-book.h: add AuthenticateUser operation type, and
add user/passwd to the PASRequest struct.
* gui/component/addressbook-storage.c
(addressbook_storage_get_source_by_uri): new function. should use
a hashtable, perhaps, but the lists will generally be small
anyway.
* gui/component/addressbook-storage.h: add prototype for
addressbook_storage_get_source_by_uri.
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): fill in the binddn if the
auth page is shown.
* gui/component/addressbook.c (book_open_cb): shoe-horn
authentication in here. if the source was configured to use
authentication, authenticate the user after opening the ebook.
also, be paranoid and clear out the password after authenticating.
(book_auth_cb): callback for auth. set the "book" arg on the
view->view here.
(passwd_cb): set the view's passwd that'll be used in
book_open_cb.
(addressbook_view_free): g_free view->passwd.
2001-01-04 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook-component.c,
gui/component/addressbook-component.h
(addressbook_component_get_shell_client): Added this function.
* gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h: Added code for the
ability to switch between different folders. This doesn't work
yet.
* gui/component/select-names/select-names.glade,
gui/component/select-names/select-names.glade.h: Added an option
menu to this dialog.
2001-01-04 JP Rosevear <jpr@helixcode.com>
* conduit/Makefile.am: Fix hard coded library names that were
accidentally committed (i'm looking at you miggie)
* contact-editor/e-contact-editor.c (categories_clicked): Reflect
renaming.
* contact-editor/e-contact-editor-categories.[hc]: These are
living in gal now
2001-01-04 JP Rosevear <jpr@helixcode.com>
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_free):
Need to e_sexp_unref the the sexp, not gtk_object_unref it.
2001-01-03 Michael Meeks <michael@helixcode.com>
* gui/widgets/e-addressbook-model.c (get_view): check
capabilities is valid before doing a strstr.
2001-01-03 Michael Meeks <michael@helixcode.com>
* backend/pas/pas-backend-file.c (pas_backend_file_search):
g_strdup things we g_free.
2001-01-02 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c (delete_cb): Make sure this
won't crash if the given contact is removed from the database
while this function is being called.
* gui/widgets/e-minicard.c: Made sure this won't crash if the
given contact is removed from the database while the right click
menu is being displayed.
2000-12-30 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook-config.c (edit_source_clicked): copy
the dialog's source, destroy the dialog after we're done, and make
sure to update both columns in the clist.
(add_source_clicked): copy the dialog's source, and destroy the
dialog when we're done.
(addressbook_source_dialog_destroy): free up all the dialog's
memory.
* gui/component/addressbook.c (set_prop): allow file: uri's that
point to files, not just dirs that contain addressbook.db. The
rule is the addressbook file has to end in .db.
* gui/component/addressbook-storage.c (file_source_foreach):
contactserver => contactfile. cut and paste error.
(addressbook_storage_init_source_uri): use file://%s to build the
uri.
* gui/component/e-ldap-server-dialog.[ch]: forgot to remove these
in my last commit.
2000-12-29 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (config_cb): new function, calling
our new config ui code.
(control_activate): no longer load evolution-addressbook-ldap.xml,
as it's not there.
* gui/component/addressbook-component.c (owner_set_cb):
setup_ldap_storage => addressbook_storage_setup.
* gui/component/Makefile.am (evolution_addressbook_SOURCES):
remove e-ldap-storage.[ch] and add addressbook-storage.[ch].
(glade_DATA): remove ldap-server-dialog.glade and add
addressbook-config.glade.
(EXTRA_DIST): same.
* gui/component/addressbook-config.[ch]: add another dialog to
give a list of our sources and offer the Add/Delete/Edit
interface. This plugs into the previous dialog work (the source
editor.)
* gui/component/addressbook-storage.[ch]: new files, containing
the remains of e-ldap-storage.[ch] and adding the new
AddressbookSource type and it's subordinates. Also, the xml
format has changed slightly and the file name is no longer
~/evolution/ldap-servers.xml - it's
~/evolution/addressbook-sources.xml.
* gui/component/addressbook-config.glade: new file, new config
interface.
* gui/component/ldap-server-dialog.glade: removed.
* gui/component/e-ldap-storage.[ch]: removed.
2000-12-28 Chris Toshok <toshok@helixcode.com>
* gui/component/Makefile.am (evolution_addressbook_SOURCES): add
addressbook-config.[ch].
* gui/component/addressbook-config.c,
gui/component/addressbook-config.h: new files, containing at the
moment a beautiful "new/edit source dialog" inspired by the
mail-config-gui code. It'll be ready for prime time after rev'ing
the .xml file the addressbook uses to store it's "other sources"
to include files, and the addition of the ldap auth stuff.
2000-12-25 Miguel de Icaza <miguel@helixcode.com>
* gui/widgets/e-minicard.c (e_minicard_realize): Set draw
background to FALSE.
* gui/widgets/e-minicard-label.c (e_minicard_label_construct): ditto.
(e_minicard_label_construct): ditto
2000-12-23 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/fullname-strings.h,
contact-editor/fullname.glade: Added Ms. and Miss to the prefix
drop down box. Patch submitted by Martin Hicks <mort@bork.org>.
2000-12-21 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (cursor_cb): Ref the cards that get put
in the change list
(next_changed_item): util function to get the real next changed item
(compute_status): really compute the status of the record
(local_record_from_uid): Set the id of the temporary card
(check_for_slow_setting): Make this check a little saner
(card_added): Only record the CardObjectChange if the card is not
archived
(card_changed): ditto
(card_removed): ditto
(set_status_cleared): actually clear the status
(for_each_modified): Clean out cruft and use next_changed_item
(add_record): Set the new id properly in our local card copy
(replace_record): handle the case where the record has been deleted
and we need to call add. need to update the changed_hash entry
(delete_record): Don't panic if the card is not found, its already
been deleted.
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy):
The change_context no longer has a del_cards member
(pas_backend_file_book_view_free): ditto
(pas_backend_file_process_get_changes): ditto
(pas_backend_file_changes_foreach_key): just record the id
(pas_backend_file_changes): notify_remove needs an id not a vcard
2000-12-20 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (match): Use my own wrapper
functions instead of trying to *directly* access the the data
structures my self
(post_sync): Put in hack to prevent syncing the same records twice
(local_record_from_uid): set the card id when creating a blank one
(add_record): Set the id of the card we have and don't go to the
server to get the latest version
2000-12-19 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (ecard_from_remote_record): Convert
pilot strings to utf for the e-cards.
2000-12-19 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (local_record_from_ecard): Convert ecard
strings to pilot encodings
2000-12-19 Christopher James Lahey <clahey@helixcode.com>
* gui/widgets/e-addressbook-view.c (delete): Made it so that if
you select multiple contacts, the right click menu to delete
deletes them all.
2000-12-18 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c (ldap_error_to_response): always
use LDAP_NAME_ERROR (in the openldap1 case it's #defined to
NAME_ERROR).
(build_card_from_entry): ldap_get_values can return NULL. also,
openldap2 keeps us from getting at ldap->ld_errno, so we can't
tell if there was a decoding error like we used to. the double
free problem where ldap would free the ber if there was a decoding
problem might be fixed now.. further investigation is needed.
for now we leak in openldap2.
(ldap_search_handler): the ldap structure is opaque, so use
ldap_search_ext to give the extra information (the max responses,
timeout, etc.) in the openldap2 case.
2000-12-13 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-ldap.c (ldap_error_to_response): Test
for the existance of LDAP_NAME_ERROR and if it exists as a macro,
use it instead of NAME_ERROR.
2000-12-14 Michael Meeks <michael@helixcode.com>
* gui/component/GNOME_Evolution_Addressbook.oafinfo: update cut
and paste description error.
2000-12-13 Dan Winship <danw@helixcode.com>
* gui/widgets/e-minicard-control.c (stream_read): NULL-terminate
the returned vcard so we don't sometimes end up with trailing
junk that makes libversit unhappy.
2000-12-13 Iain Holmes <iain@helixcode.com>
* gui/component/select-names/e-select-names.c
(e_select_names_add_section): Make the -> into a GNOME stock image.
2000-12-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/select-names/e-select-names.c
(e_select_names_init): Connect to the "cursor_change" signal on
the ETable here instead of the ETableScrolled.
(remove_address): Added the col and event parameters to this
callback to match the added parameters to the double click signal.
(e_select_names_add_section): Connect to the "double_click" signal
on the ETable here instead of the ETableScrolled.
2000-12-09 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c (e_card_set_arg): When setting the "name"
argument, copy the incoming name. This fixes a crash.
2000-12-09 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Made editing the name using
the full name button set the file as entry properly. Made it
so that the address parse that the user chooses after
clicking on the Full Address... button gets saved.
2000-12-08 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c (full_name_clicked): Made it
so that the editor->name is set after the entry is changed. This
means that the reparse that the person chose is saved.
2000-12-07 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/e-ldap-storage.c (setup_ldap_storage): Pass NULL
as the @toplevel_node_handler_id argument to
`evolution_storage_new'.
2000-12-08 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Fixed some formatting.
* contact-editor/e-contact-editor-categories.h: Removed an
unneeded #include.
* gui/widgets/e-addressbook-view.c: Connect to the signals on the
ETable instead of the ETableScrolled.
2000-12-07 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (local_record_from_uid): Pass "" rather
than NULL to e_card_new.
(local_record_from_ecard): Make sure ecard->name is valid
(check_for_slow_setting): Remove hard coded test value
(card_added): g_strdup the resul of e_card_get_id
(card_changed): ditto
2000-12-07 Christopher James Lahey <clahey@helixcode.com>
* gui/widgets/e-addressbook-view.c: Got rid of code referencing
the ETableScrolled proxy functions.
2000-12-06 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Moved the gal view menu stuff from
here to EAddressbookView.
* gui/widgets/e-addressbook-view.c,
gui/widgets/e-addressbook-view.h: New function to set up the menus
for the EAddressbookView.
2000-12-06 JP Rosevear <jpr@helixcode.com>
* conduit/Makefile.am: Another conduit build fix
2000-12-05 JP Rosevear <jpr@helixcode.com>
* backend/pas/pas-backend-file.c (pas_backend_file_changes_foreach_key):
Create an empty vcard with the appropriate id for deleted cards
* conduit/address-conduit.c (ecard_from_remote_record): Ensure the
address fields are added sensibly
2000-12-05 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/e-ldap-storage.c (setup_ldap_storage): Updated the
call to `evolution_storage_new()': pass NULL for
@toplevel_node_uri.
2000-11-28 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (local_record_to_pilot_record): Return
a struct rather than a pointer to a struct
(view_cb): kill warning
(compare): local_record_to_pilot_record now returns a struct
(prepare): ditto
(free_prepare): remove as per gnome-pilot changes
(conduit_get_gpilot_conduit): don't listen for free_prepare signal
2000-11-27 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.h: Remove "complete" field
* conduit/address-conduit.c (print_local): Make it print useful debug
info
(print_remote): ditto
(local_record_from_ecard): Make sure phone numbers get out to the pilot
(ecard_from_remote_record): Set phone strings to "" if they are null
(sequence_complete): unref the book view
(view_cb): ref the book view
(free_prepare): do nothing
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_free):
Destroy the card lists with the rest of the view.
(pas_backend_file_changes): Don't destroy the card lists here
(pas_backend_file_book_view_free): Free the card/id lists in the
change context here, the correct place.
(pas_backend_file_changes): instead of here...
2000-11-22 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c: Set view.change_context to NULL
in pas_backend_file_process_get_book_view. Changed
pas_backend_file_book_view_copy a bit.
* backend/pas/pas-backend-ldap.c: Got rid of a warning.
2000-11-18 Matt Bissiri <matt@bissiri.org>
* gui/component/Makefile.am:
Add widgets/menus/libmenus.la to evolution_addressbook_LDADD
so that it will link properly now that gal-view-menus.[ch]
was moved from gal into evolution.
2000-11-15 JP Rosevear <jpr@helixcode.com>
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy):
Initialize destination struct with '0's.
2000-11-12 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Changed the mime type from "text/vcard"
to "text/x-vcard".
2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu>
* backend/ebook/.cvsignore: Add idl-generated files.
* backend/ebook/e-book.c: (e_book_do_response_get_changes):
* backend/ebook/e-card.c: (e_card_send):
s/Evolution_/GNOME_Evolution_/g;
2000-11-11 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Link in composer bonobo code.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added code to
send mail to an ECard or send an ECard as a VCard attachment.
* contact-editor/e-contact-editor.c: Add verbs to send the contact
as a VCard or send mail to the contact.
* gui/search/e-addressbook-search-dialog.c: Removed some unused
variables.
* gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard.c:
Added menu items to send the contact as a VCard or send mail to
the contact.
2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu>
* gui/component/addressbook.oafinfo:
* gui/component/select-names/evolution-addressbook-select-names.oafinfo:
Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*"
to sync up with yesterday's IDL re-scoping.
2000-11-09 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-ldap.c: Fixed a warning.
* gui/component/addressbook.c: Put in gal view menus for testing
purposes.
* printing/e-contact-print-envelope.c: Fixed up envelope printing
a bit. Added code for printing return addresses.
2000-11-09 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.h: Add changed_hash, change list and complete bool
* conduit/address-conduit.c (local_record_from_ecard): Add empty field checks
(card_added): callback for book view
(card_changed): ditto
(card_removed): ditto
(sequence_complete): ditto
(view_cb): callback for the get changes call
(pre_sync): force synchronous loading of book view
(for_each): we already have the card so create the local record directly
(for_each_modified): Uncomment and fix
(delete_record): ditto
* conduit/Makefile.am: link against gal for ebook - needs fixing
* backend/ebook/e-book.c (e_book_do_response_get_changes): Properly respond
to a get_changes call
(e_book_check_listener_queue): define the get changes response operation
* backend/ebook/e-book-listener.c (e_book_listener_queue_get_changes_response):
Queue up a get changes response
(impl_BookListener_respond_get_changes): Implement the get_changes method
(e_book_listener_get_epv): add get_changes implementation to epv
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): Only
copy the search_context and change_context elements if they actually exist
(pas_backend_file_changes): Hard code a path for now, only notify if
there is something to notify about
2000-11-07 JP Rosevear <jpr@helixcode.com>
* backend/pas/pas-book.h: Update PASRequest structure
* backend/pas/pas-book.c (impl_Evolution_Book_get_changes): update param name
(pas_book_queue_get_changes): Use PASRequest change_id slot
* backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy):
Properly copy change_id and change_context
(pas_backend_file_book_view_free): Free change_id/change_context
(pas_backend_file_changes_foreach_key): Callback to figure out the
deleted cards
(pas_backend_file_changes): Use new e-dbhash stuff to implement.
Write out updated hash
* backend/idl/addressbook.idl: Rename get_changes param
2000-11-06 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Switched from EAddressbookSearch to
ESearchBar.
* gui/widgets/Makefile.am, gui/widgets/e-addressbook-search.c,
gui/widgets/e-addressbook-search.h: Removed EAddressbookSearch.
This has been moved to filter/ and renamed ESearchBar.
* printing/e-contact-print-envelope.c: Forgot to set the font.
This works for me now.
2000-11-06 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/select-names/e-select-names-bonobo.c
(impl_SelectNames_get_entry_for_section): Duplicate the object
reference before returning.
2000-11-05 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c,
gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard.c: Add
menus items to the envelope printing stuff.
* gui/component/addressbook.c: Hook up the search menu.
* gui/widgets/e-addressbook-search.c,
gui/widgets/e-addressbook-search.h: Add the search menu.
* printing/Makefile.am: Add e-contact-print-envelope.c and
e-contact-print-envelope.h.
* printing/e-contact-print-envelope.c,
printing/e-contact-print-envelope.h: Added envelope printing.
2000-11-03 Federico Mena Quintero <federico@helixcode.com>
* gui/component/select-names/Makefile.am: Clean the idl-generated
files properly.
2000-11-02 Christopher James Lahey <clahey@helixcode.com>
* ename/.cvsignore, gui/minicard/.cvsignore: Removed these
unnecessary .cvsignores.
* gui/component/addressbook.c: Switch to using EAddressbookSearch
instead of custom quick search widget.
* gui/component/select-names/e-select-names.c: Made this do a
slightly better job of rendering names.
* gui/widgets/Makefile.am: Added e-addressbook-search.c and
e-addressbook-search.h.
* gui/widgets/e-addressbook-search.c,
gui/widgets/e-addressbook-search.h: New class that puts up an
entry and a combo box.
2000-11-01 Dan Winship <danw@helixcode.com>
* gui/component/e-ldap-storage.c (load_ldap_data):
(e_ldap_storage_add_server): Add "highlighted" flag to
evolution_storage_new_folder
2000-10-31 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (cursor_cb): Let the warning make sense
(compute_pid): remove
(local_record_from_ecard): Create local record from ecard - not finished
(local_record_from_uid): Obtain local_record from uid with the proper
e-book way
(set_status_cleared): Add empty callback
(add_archive_record): kill
(delete_archive_record): kill
(archive_record): Add empty callback
(conduit_get_gpilot_conduit): Update signal connects
* backend/pas/pas-backend-file.c (vcard_change_type): Function to determine
the type of change - not finished
(pas_backend_file_search_changes): Create a view and callback based on
how the cards have changed
(pas_backend_file_process_get_changes): Implement the get changes operation
for files
(pas_backend_file_process_client_requests): Add GetChanges method for
processing
* backend/pas/pas-book.c (pas_book_queue_get_changes): Add changes to
the list
(impl_Evolution_Book_get_changes): implement object method
(pas_book_get_epv): Add get changes to epv
(pas_book_respond_get_changes): Respond to the get changes operation
* backend/pas/pas-book.h: Add GetChanges PASOperation
* backend/idl/addressbook.idl: add get_changes and respond_get_changes
methods
* backend/ebook/e-book.c (e_book_get_changes): Client function
to a view of the changed objects
* backend/ebook/e-book.h: New prototype
2000-10-30 Kjartan Maraas <kmaraas@gnome.org>
* backend/e-book/e-card.c: Fixed marking of strings
for translation. Use "_(" instead of "_ (".
* gui/component/addressbook-factory.c: Add missing
calls to bindtextdomain() and textdomain noticed by
Dan Winship.
* gui/component/addressbook.c: Marked string for translation.
2000-10-27 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/Makefile.am, gui/search/Makefile.am,
printing/Makefile.am: Fixed these to include EXTRA_GNOME_CFLAGS.
* gui/component/select-names/e-select-names-manager.c: Turned off
newlines in header fields.
2000-10-26 Michael Meeks <michael@helixcode.com>
* printing/e-contact-print.c (e_contact_print_letter_tab),
(complete_sequence, e_contact_do_print_phone_list, lowify):
unsigned charness.
2000-10-25 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c (ldap_op_process_current): only
call the handler if the if we're connected, and if we fail to
connect finish the op and post a message.
(pas_backend_ldap_connect): add debug spew if DEBUG is defined.
(modify_card_handler): LDAP_RES_SEARCH_ENTRY => LDAP_SUCCESS.
(modify_card_handler): only perform the ldap_modify_s if we have a
list of modifications.
(get_cursor_handler): use ldap_error_to_response here.
(pas_backend_ldap_load_uri): use LDAP_PORT instead of the constant
389.
2000-10-23 Dan Winship <danw@helixcode.com>
* gui/component/select-names/Makefile.am (INCLUDES):
* gui/component/Makefile.am (INCLUDES): Update EVOLUTION_LOCALEDIR
* backend/pas/Makefile.am (INCLUDES):
* backend/ebook/Makefile.am (INCLUDES): Update GNOMELOCALEDIR.
2000-10-23 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.h: Use new libeconduit calls and
abstraction
* conduit/address-conduit.c: ditto
2000-10-23 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.c (pre_sync): Use e_pilot_map_read
(post_sync): Use e_pilot_map_write
* conduit/Makefile.am: Link libeconduit and not libical
2000-10-20 Michael Meeks <michael@helixcode.com>
* contact-editor/e-contact-editor.c (tb_save_and_close_cb):
* gui/component/addressbook.c (toggle_view_as_cb):
2000-10-20 JP Rosevear <jpr@helixcode.com>
* conduit/address-conduit.h: New structure of file - similar
to calendar/todo conduits
* conduit/address-conduit.c: ditto
* conduit/address-conduit-config.h: Config stuff for conduit
* conduit/.cvsignore: Update
* conduit/Makefile.am: Build fixes
* conduit/address-conduit-control-applet.desktop: Renamed
to e-address-conduit-control-applet.desktop
* conduit/address.conduit.in: Renamed to e-address.conduit.in
2000-10-19 Christopher James Lahey <clahey@helixcode.com>
* gui/widgets/e-addressbook-view.c (SPEC): Remove Family name
column since it's a bit weird. This also fixes the initial state
since all of the column choices were off by one.
2000-10-19 Ettore Perazzoli <ettore@helixcode.com>
* printing/Makefile.am (glade_DATA): Remove
`e-contact-print.glade.h'.
(EXTRA_DIST): Move here.
* gui/component/Makefile.am (glade_DATA): Remove
`ldap-server-dialog.glade.h'.
(EXTRA_DIST): Move here.
2000-10-19 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Change how the extension field acts when
converting delivery addresses to labels.
2000-10-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added the
function e_card_delivery_address_to_label.
* contact-editor/e-contact-editor-address.c: Fixed a potential
crash.
* contact-editor/e-contact-editor.c: Made this save the changed
data to the string version of the address.
2000-10-19 Michael Meeks <michael@helixcode.com>
* gui/component/addressbook.c (change_view_type): update to new
UI handler.
(update_view_type): split from (change_view_type).
(control_activate): add an update_view_type.
2000-10-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Change NAME_OR_ORG to return the
email address if both name and organization are taken.
* gui/component/select-names/e-select-names.c: Fixed up the spec
strings in this class. Removed the "cursor_mode" argument to
ETable since it's part of the spec now.
2000-10-17 Iain Holmes <iain@helixcode.com>
* contact-editor/contact-editor.glade: Change the initial dialog
visibility to FALSE
so the contact editor doesn't flash when it appears.
2000-10-16 Iain Holmes <iain@helixcode.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_activate_dialog): Only allow one dialog
per manager.
2000-10-16 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/fulladdr.glade: Fixed a typo. Made this look a
bit better.
2000-10-15 Dan Winship <danw@helixcode.com>
* gui/component/select-names/Makefile.am:
* gui/component/Makefile.am: Remove CPPFLAGS since they just
duplicate flags that were already in INCLUDES.
* printing/Makefile.am (ecpsdir):
* gui/widgets/Makefile.am:
* contact-editor/Makefile.am: Move -D flags from CPPFLAGS to
INCLUDES so they don't override any CPPFLAGS set at configure
time.
2000-10-14 Michael Meeks <michael@helixcode.com>
* gui/component/addressbook.c (control_activate): if we are in
LDAP mode then merge in the extra few items, otherwise just merge
the standard thing; saves duplication.
2000-10-14 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook.oafinfo: Added
"evolution:shell-component-icon" property.
2000-10-14 Iain Holmes <iain@helixcode.com>
* gui/component/select-names/e-select-names.c
(e_select_names_manager_activate_dialog): Only allow one dialog
per id.
(e_select_names_manager_destroy): Destroy the hashtable.
(e_select_names_manager_init): Init the hashtable.
2000-10-13 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/fulladdr.glade, contact-editor/fulladdr.glade.h:
Rearranged these fields a bit more.
2000-10-13 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c,
gui/component/select-names/e-select-names.c,
gui/widgets/e-addressbook-view.c: Changed these for boolean
ascending attribute instead of int ascending attribute. Fixed
e-select-names to not use a column past the end of its array.
* contact-editor/e-contact-editor-address.c,
contact-editor/fulladdr.glade, contact-editor/fulladdr.glade.h:
Rearranged the address editor dialog.
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Fixed the column
elements, the no-headers attribute and added a cursor-mode=line
attribute.
* gui/component/select-names/e-select-names.c,
gui/widgets/e-addressbook-view.c: Fixed the column elements here.
2000-10-11 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c,
gui/component/select-names/e-select-names.c,
gui/widgets/e-addressbook-view.c: Updated these to the new style
ETables.
2000-10-06 Not Zed <NotZed@HelixCode.com>
* gui/search/e-addressbook-search-dialog.c (get_widget): Removed
ondemand callback nonsense from rule_context_load().
2000-10-05 Michael Meeks <michael@helixcode.com>
* contact-editor/e-contact-editor.c (create_ui): upd.
(e_contact_editor_init): upd.
* gui/component/addressbook.c (control_activate_cb): upd.
(control_deactivate): kill.
(control_activate): upd.
2000-09-22 Michael Meeks <michael@helixcode.com>
* gui/component/addressbook.c (control_activate): update.
* contact-editor/e-contact-editor.c (create_ui): upd.
Fri Sep 29 07:33:54 2000 Christopher James Lahey <clahey@helixcode.com>
* gui/widgets/e-minicard.c, gui/widgets/e-minicard.h: Made it so
that minicard doesn't write out changes to the backend unless
something's actually changed.
Tue Sep 26 16:28:47 2000 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Make sure that card->name and
card->full_name are always valid.
* contact-editor/e-contact-editor.c: Removed some unused
variables.
2000-09-22 Matt Bissiri <bissiri@eecs.umich.edu>
* contact-editor/e-contact-editor-fullname.c (extract_info): If
(editor->name == NULL), store ptr to newly allocated ECardName in
editor->name, not just in a stack variable. This fixes a crash
which happened when you click "New", then click "Full Name...",
then enter name, then click "OK".
* backend/ebook/e-card.c (e_card_name_to_string): Add
g_return_val_if_fail.
2000-09-25 Jeffrey Stedfast <fejj@helixcode.com>
* gui/widgets/Makefile.am:
* gui/component/Makefile.am:
* contact-editor/Makefile.am:
* printing/Makefile.am: Look for ename in /e-util/ename instead of
/addressbook/ename
* backend/ebook/e-card.c: Updated to include e-util/ename/*.h
* ename: Moved to /e-util so it could be shared
* Makefile.am (SUBDIRS): took out ename
2000-09-25 Nat Friedman <nat@helixcode.com>
* ename/e-name-western-tables.h: Added a ton of new prefixes and
suffixes.
2000-09-22 Michael Meeks <michael@helixcode.com>
* gui/component/addressbook.c (control_activate): update.
* contact-editor/e-contact-editor.c (create_ui): upd.
2000-09-22 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c: lots of changes. flesh out the
remove/modify/create functions. add another flag for the property
table, PROP_DN, which makes it easy for us to determine when we
need to create a new DN for a record when we're modifying. also
add a ber_func to the table for PROP_TYPE_LIST fields, which fills
in the list of bvalues that we send to the ldap server. The
add/modify/delete stuff hasn't been tested yet, and it hopelessly
complex (yay ldap).
(ldap_search_handler): act synchronous when ldap_search responds
with -1.
(view_destroy): use pas_book_view_notify_status_message.
(ldap_op_process_current): same
(ldap_op_process): same
(poll_ldap): same
(ldap_search_handler): same
2000-09-22 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-card-simple.h: add
E_CARD_SIMPLE_FIELD_FAMILY_NAME to the enum.
* backend/ebook/e-card-simple.c (field_data): add
E_CARD_SIMPLE_FIELD_FAMILY_NAME.
(e_card_simple_get): add getter for FAMILY_NAME.
2000-09-22 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Made addresses be quoted printable again
so that they will encode properly if they have carriage returns in
them. This is possible now because of a fix in libversit.
2000-09-22 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-book-view-listener.c,
backend/ebook/e-book-view-listener.h, backend/ebook/e-book-view.c,
backend/ebook/e-book-view.h, backend/idl/addressbook.idl,
backend/pas/pas-book-view.c, backend/pas/pas-book-view.h: Added a
function to set the status message associated with a given view.
This is not yet implemented in the gui.
2000-09-22 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-book.c, backend/ebook/e-book.h,
backend/idl/addressbook.idl, backend/pas/pas-backend-file.c,
backend/pas/pas-backend-ldap.c, backend/pas-backend.c,
backend/pas/pas-backend.h, backend/pas/pas-book.c,
backend/pas/pas-book.h: Added a function to query static
capabilities (capabilities that can be reported immediately) and
implemented them in the 2 servers.
* gui/component/addressbook.c: Added a View All button and a Stop
button. Sorted out the new directory server stuff a bit.
* gui/widgets/e-addressbook-model.c,
gui/widgets/e-addressbook-model.h: Cleaned up a bit. Added a stop
function. Check for capabilities before deciding whether to load
all cards when initially viewed.
* gui/widgets/e-addressbook-view.c,
gui/widgets/e-addressbook-view.h: Added stop and view all
functions.
* 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:
Added a stop function. Check for capabilities before deciding
whether to load all cards when initially viewed.
2000-09-21 Michael Meeks <michael@helixcode.com>
* gui/component/addressbook.c (control_activate): remove _UIHandler
2000-09-21 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/load-pine-addressbook.c: Added a missing include
of ctype.h.
* backend/pas/pas-backend-file.c: Fixed a problem where using a
GList was causing us to not be reentrant. We now use an EList
here and so now this is reentrant. This should fix the "wombat
crashes every time you run evolution" bug.
* contact-editor/e-contact-editor.c: Fixed a type mismatch.
2000-09-21 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/load-pine-addressbook.c: Make this work when a
field is spread across multiple lines.
2000-09-20 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added a
wants_html field to cards. Uses "x-mozilla-html".
* contact-editor/Makefile.am: Added definition of
EVOLUTION_DATADIR.
* contact-editor/contact-editor.glade: Make Wants HTML check
button visible.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Make Wants HTML check button
active. Fix UI stuff to use XML. Set parent window of
confirm_delete dialog.
* gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard.c: Set
the parent window of the confirm_delete dialog.
2000-09-20 Christopher James Lahey <clahey@helixcode.com>
* gui/widgets/e-addressbook-view.c: Fixed display of the minicards
when the addressbook was first loading. (It was overwriting a
string with NULL during init.)
2000-09-19 Dan Winship <danw@helixcode.com>
* gui/search/Makefile.am (ruledir): Use $(datadir), not
$(prefix)/share
2000-09-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am, contact-editor/Makefile.am,
ename/Makefile.am, gui/component/Makefile.am,
gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
$(EXTRA_GNOME_LIBS). Removed unneeded libraries.
* backend/ebook/e-card.c, backend/pas/pas-backend-file.c,
contact-editor/e-contact-editor-address.c,
contact-editor/e-contact-editor-categories.c,
contact-editor/e-contact-editor-categories.h,
contact-editor/e-contact-editor-fullname.c,
contact-editor/e-contact-editor.c,
contact-editor/e-contact-save-as.c, ename/e-address-western.c,
ename/test-ename-western-gtk.c,
gui/component/addressbook-factory.c, gui/component/addressbook.c,
gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c,
gui/component/select-names/e-select-names-bonobo.c,
gui/component/select-names/e-select-names-manager.c,
gui/component/select-names/e-select-names-model.c,
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.h,
gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h,
gui/search/e-addressbook-search-dialog.c,
gui/widgets/e-addressbook-model.h,
gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c,
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.h, gui/widgets/e-minicard.c,
gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c,
printing/e-contact-print.c: Fixed the #include lines to deal
properly with gal.
2000-09-15 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.h,
contact-editor/e-contact-save-as.h,
gui/widgets/e-addressbook-model.h,
gui/widgets/e-minicard-view-widget.h,
gui/widgets/e-minicard-view.h, gui/widgets/e-minicard.c,
gui/widgets/e-minicard.h: Fixed the paths of some .h #includes.
* gui/component/addressbook.c: Removed all of the code to actually
create and display the correct view of the addressbook and moved
it to the new class gui/widgets/e-addressbook-view.c.
* gui/widgets/Makefile.am: Added everything necessary for
e-addressbook-view.c and e-addressbook-view.h.
* gui/widgets/e-addressbook-view.c,
gui/widgets/e-addressbook-view.h: New class to deal with actual
display of addresses and switching between card view and table
view.
* gui/widgets/e-minicard-view-widget.c: Made this deal more
gracefully with having the book set to NULL.
2000-09-16 Michael Meeks <michael@helixcode.com>
* gui/component/select-names/e-select-names.c: fix broken include.
* gui/component/Makefile.am (INCLUDES): define datadir.
(evolution_addressbook_SOURCES): remove e-addressbook-model.[ch]
* gui/component/addressbook.c (control_activate): use datadir.
2000-09-16 Ettore Perazzoli <ettore@helixcode.com>
* gui/widgets/Makefile.am (gladedir): Define.
(glade_DATA): Install `alphabet.glade'.
(EXTRA_DIST): Define.
* gui/component/Makefile.am (glade_DATA): Remove `alphabet.glade'.
(EXTRA_DIST): Remove `alphabet.glade.h'.
* gui/widgets/Makefile.am (libeminicard_a_SOURCES): Add
`e-addressbook-model.c' and `e-addressbook-model.h'. I hope this
is what Chris meant to do.
* gui/component/Makefile.am (INCLUDES): Add
`-I$(top_srcdir)/addressbook/gui/widgets'.
(evolution_addressbook_SOURCES): Remove `e-addressbook-model.c'
and `e-addressbook-model.h'.
* gui/component/select-names/e-select-names.c: #include
"e-addressbook-model.h" from "addressbook/gui/widgets" instead of
"addressbook/gui/component", as it has been moved there.
2000-09-15 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c: split all the ldap operations
into 2 halves, a handler, and destructor, and create a structure
containing two function pointers and any data they need. this
allows us queue up pending operations (since the LDAP*'s are no
longer view specific. there's one per backend.) also, add
support for restarting async operations if the SERVER DOWN error
isn't communicated until sometime after the handler is called (as
is the case with the async search stuff.)
2000-09-14 Dan Winship <danw@helixcode.com>
* gui/component/addressbook-factory.c (main): Call unicode_init
for e-font stuff.
2000-09-14 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/Makefile.am, gui/widgets/Makefile.am: Added
$(GNOME_PRINT_LIBS) to all of the test files in these directories.
2000-09-14 Michael Meeks <michael@helixcode.com>
* gui/component/Makefile.am (evolution_addressbook_LDADD): fix path.
* gui/component/addressbook.c: update include.
* gui/component/addressbook-factory.c: update include.
* gui/widgets/e-minicard-view.h: update include.
* gui/search/e-addressbook-search-dialog.c: update include path.
2000-09-13 Michael Meeks <michael@helixcode.com>
* contact-editor/e-contact-editor.c (e_contact_editor_init): hack.
(create_toolbar): ditto.
2000-09-07 Michael Meeks <michael@helixcode.com>
* gui/component/addressbook.c: Radicaly update UI handler code.
2000-09-13 Christopher James Lahey <clahey@helixcode.com>
* gui/widgets/*, gui/minicard/*: Moved gui/minicard to
gui/widgets, except for e-reflow.c, e-reflow.h, e-reflow-sorted.c,
and e-reflow-sorted.h.
* gui/widgets/Makefile.am: Added e-reflow to the INCLUDES list and
libereflow.a to a bunch of LDADD lines.
* gui/component/Makefile.am (evolution_addressbook_LDADD): Added
libereflow.a here.
* gui/Makefile.am (SUBDIRS): Replaced minicard with widgets.
2000-09-12 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/select-names/Makefile.am: Add space after `-I'
when invoking `orbit-idl'.
2000-09-12 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/Makefile.am (EXTRA_DIST): Remove `ui.xml'.
2000-09-11 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Fixed a crash error.
2000-09-11 Christopher James Lahey <clahey@helixcode.com>
* ename/e-address-western.c: Fixed some warnings.
2000-09-11 Jesse Pavel <jpavel@helixcode.com>
* ename/e-address-western.c: fixed certain address parsing
problems.
2000-09-11 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/fulladdr.glade: Made this a bit better balanced.
* gui/component/addressbook.c: Make the toolbar button for find do
the same thing that the menu item for search does.
* gui/search/e-addressbook-search-dialog.c: Made the top half of
this not expand.
2000-09-11 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Removed a bunch of redundant code. Made it so that when you set
an address label, it sets the delivery address as well. Added
functions to set and get the delivery address.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added code to
convert and address label to a delivery address.
* contact-editor/Makefile.am: Added e-contact-editor-address.[ch],
fulladdr.glade, fulladdr.glade.h.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Switched from a label
to a button to show the parsed address.
* contact-editor/e-contact-editor-address.c,
contact-editor/e-contact-editor-address.h: New class to implement
the parsed address dialog.
* contact-editor/e-contact-editor-fullname.c,
contact-editor/e-contact-editor-fullname.h: Added const to the
_new function.
* contact-editor/e-contact-editor.c: Implemented clicking on the
address button.
* contact-editor/fulladdr.glade, contact-editor/fulladdr.glade.h:
New glade files for the parsed address dialog.
* contact-editor/fullname-strings.h, fullname.glade: Changed these
accellabels to labels.
* ename/Makefile.am: Added e-address-western.c.
* ename/e-address-western.c: Fixed some warnings.
2000-09-10 Christopher James Lahey <clahey@helixcode.com>
* ename/e-address-western.c: Added by Jesse.
2000-09-08 Lauris Kaplinski <lauris@helixcode.com>
* gui/minicard/e-minicard-label.c (e_minicard_label_construct):
Use canvas default font
* gui/minicard/e-minicard.c (e_minicard_realize): Ditto
(get_left_width): Ditto
2000-09-08 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Fixed a few warnings.
2000-09-02 Lauris kaplinski <lauris@helixcode.com>
* contact-editor/e-contact-editor-categories.c: e_utf8 wrappers
* contact-editor/e-contact-editor.c: e_utf8 wrappers
2000-09-01 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/e-ldap-storage.c (load_ldap_data): Updated for the
extra arg now needed by `evolution_storage_new_folder()'.
(e_ldap_storage_add_server): Likewise.
2000-08-31 Ettore Perazzoli <ettore@helixcode.com>
* conduit/Makefile.am (INCLUDES): Add `BONOBO_GNOME_CFLAGS' and
`-I$(top_srcdir)'.
2000-08-31 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Install load-gnomecard-addressbook
and load-pine-addressbook.
2000-08-30 Lauris Kaplinski <lauris@helixcode.com>
* printing/e-contact-print.c: Countless small changes for gnome-print 0.21+
2000-08-30 Dan Winship <danw@helixcode.com>
* gui/component/addressbook.oafinfo: Add a name to the minicard
viewer.
2000-08-29 Dan Winship <danw@helixcode.com>
* backend/ebook/e-book.c:
* backend/ebook/test-client.c:
* backend/ebook/test-client-list.c:
* backend/ebook/load-gnomecard-addressbook.c:
* backend/ebook/load-pine-addressbook.c:
* backend/pas/pas-book-factory.c:
* conduit/address-conduit.h: Remove USING_OAF checks
2000-08-28 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Use the right argument name to turn
on grid lines.
2000-08-26 JP Rosevear <jpr@helixcode.com>
* gui/minicard/Makefile.am: Comment out minicard-view-test
since its gnorba dependent
2000-08-26 JP Rosevear <jpr@helixcode.com>
* gui/component/addressbook-component.c: Remove gnorba stuff
* gui/minicard/e-minicard-control.c (e_minicard_control_factory_init):
ditto
* gui/component/addressbook.c: ditto
* gui/component/addressbook-factory.c: ditto
2000-08-25 Christopher James Lahey <clahey@helixcode.com>
* demo/* Removed the demo directory since it's no longer used.
2000-08-26 JP Rosevear <jpr@helixcode.com>
* gui/minicard/Makefile.am: Remove gnorba stuff
* gui/minicard/e-minicard-control.gnorba: Kill
2000-08-26 JP Rosevear <jpr@helixcode.com>
* gui/component/addressbook.gnorba: Kill
* gui/component/Makefile.am: Remove gnorba stuff
2000-08-25 Dan Winship <danw@helixcode.com>
* gui/component/Makefile.am (evolution_addressbook_LDFLAGS): Add
-export-dynamic so libglade will be able to resolve custom widget
callbacks.
2000-08-23 Lauris Kaplinski <lauris@helixcode.com>
* backend/pas/pas-backend-file.c (func_contains): Use e_utf8_strstrcase
* contact-editor/e-contact-editor-fullname.c (fill_in_field): Use e_utf8 wrapper
(extract_field): Same
* contact-editor/e-contact-editor.c (full_name_clicked): Don't crash
* ename/Makefile.am: Link demo with libeutil.la
* ename/test-ename-western-gtk.c (full_changed_cb): Use e_utf8 wrapper
* gui/component/addressbook.c (find_contact_cb): Use e_utf8 wrapper
(search_entry_activated): Same
2000-08-22 Christopher James Lahey <clahey@helixcode.com>
* gui/search/e-addressbook-search-dialog.c: Fix an error in the
arguments to rule_context_load.
* backend/ebook/e-card.c: Fix this to not mess up if the person
passes a VCard with a carriage return in the mailing address.
2000-08-14 Not Zed <NotZed@HelixCode.com>
* gui/search/addresstypes.xml: Fixed fullname->full_name for
search field.
* gui/search/e-addressbook-search-dialog.c (get_widget): Check we
actually got any parts to build the dialogue with.
2000-08-13 Not Zed <NotZed@HelixCode.com>
* gui/component/addressbook-component.c (owner_set_cb): Set the
global_shell_client nastyhack when we know it.
This is only required to link with the filter code ...
* gui/component/Makefile.am (evolution_addressbook_LDADD): Added
libfilter.a to the link line.
* gui/search/Makefile.am (noinst_LIBRARIES): Change library name
from libaddressbooksearchdialog to libaddressbooksearch, as used
elsewhere.
* gui/search/e-addressbook-search-dialog.c (get_widget):
Implement.
(get_query): Likewise.
(e_addressbook_search_dialog_destroy): Unref filter stuff when
done.
* gui/component/addressbook.c (control_deactivate): Added chris's
patch to put the meny in
2000-08-22 Lauris Kaplinski <lauris@helixcode.com>
* contact-editor/e-contact-editor.c: Use e_utf8 wrappers everywhere
2000-08-22 Christopher James Lahey <clahey@helixcode.com>
* backend/e-card.h: Started adding a time zone field to ECard.
* gui/component/e-addressbook-model.c: Added
e_table_model_pre_change where appropriate.
* gui/minicard/e-minicard-control.c: Added a ref and unref pair.
2000-08-22 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Linked in the search dialog again.
It looks like some changes in the shell made this not work.
2000-08-19 Christopher James Lahey <clahey@helixcode.com>
* conduit/address-conduit.c, conduit/address-conduit.h: Changed
this to use ECardSimple.
* contact-editor/e-contact-editor.c: Fixed a memory leak.
* gui/component/addressbook.c: Added stuff to the right click
menu. Activated the new search dialog that doesn't quite work
yet.
* gui/minicard/e-minicard-view.c: Fixed some run time warnings.
2000-08-15 Larry Ewing <lewing@helixcode.com>
* gui/minicard/e-minicard.c (e_minicard_event): use style colors
for the selected state. This doesn't properly redraw the minicard
when there is a style_change event, that is next.
(e_minicard_realize): use style colors.
2000-08-14 Peter Williams <peterw@helixcode.com>
* backend/pas/pas-backend-file.c: Include the proper db1/db.h
as in RedHat 7.0 -- patch from Kenny Graunke <kwg@teleport.com>
2000-08-13 Chris Toshok <toshok@helixcode.com>
* conduit/Makefile.am (libaddress_conduit_la_SOURCES): add
address-conduit.h
* Makefile.am (CONDUIT_SUBDIR): only set subdir if
ENABLE_PILOT_CONDUITS is set.
2000-08-13 Chris Toshok <toshok@helixcode.com>
* Makefile.am (SUBDIRS): add conduit subdir.
2000-08-13 Chris Toshok <toshok@helixcode.com>
* conduit/address-conduit.c (conduit_get_gpilot_conduit): add
special oaf initialization hack so conduit can find wombat, and
accept all cookies so that we can actually talk to oaf.
2000-08-13 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c: Fixed a typo that cause the
wrong field to be searched.
* gui/component/select-names/e-select-names.c: Made the select
names dialog only display entries with email addresses.
2000-08-12 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/contact-editor.glade: Fixed a typo in the name of
the first phone entry.
2000-08-12 Christopher James Lahey <clahey@helixcode.com>
* gui/search/Makefile.am,
gui/search/e-addressbook-search-dialog.c,
gui/search/e-addressbook-search-dialog.h: A few small interface
fixes.
* gui/component/Makefile.am: Link in the addressbook search
dialog.
2000-08-12 Christopher James Lahey <clahey@helixcode.com>
* gui/Makefile.am: Added the search directory.
* backend/ebook/e-book.c: Fixed a potential crash.
* gui/minicard/e-reflow-sorted.h: Fixed an include line.
* gui/search/.cvsignore, gui/search/Makefile.am: New files.
* gui/search/e-addressbook-search-dialog.c: Fixed compilation.
2000-08-12 Christopher James Lahey <clahey@helixcode.com>
* printing/Makefile.am: Ettore fixed compilation.
2000-08-12 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/.cvsignore: Added load-gnomecard-addressbook.
2000-08-12 Christopher James Lahey <clahey@helixcode.com>
* gui/search/e-addressbook-search-dialog.c,
gui/search/e-addressbook-search-dialog.h: Made this into a Gtk
object.
2000-08-12 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-book-view.c: Ref our book view listener.
* gui/component/addressbook.c: Updated to use new minicard view
widget.
* gui/minicard/Makefile.am: Added e-minicard-view-widget.c and
e-minicard-view-widget.h.
* gui/minicard/e-minicard-view-widget.c,
gui/minicard/e-minicard-view-widget.h: New class that's just a
minicard view in an ECanvas.
* gui/search/e-addressbook-search-dialog.c: New file for
implementing a search dialog.
2000-08-11 Chris Toshok <toshok@helixcode.com>
* conduit/address-conduit.c (transmit): implement code to encode
the first email address and send to the pilot.
(get_phone_label_by_flag): rename find_phone_label_for_flags to
this, and implement by calling get_phone_label_by_name.
2000-08-11 Chris Toshok <toshok@helixcode.com>
* conduit/address-conduit.c (ecard_from_remote_record): add code
for handling email addresses from pilot (which stores it as a
phone number entry. go figure.)
(check_for_slow_setting): #if 0 out, since we don't use it (yet).
(update_record): un #if 0 the code to handle the case where the
pilot info has changed for a local record.
(merge_ecard_with_remote_record): implement function, but for now
just return the existing (desktop) record - we still don't allow
merge from the pilot.
2000-08-10 Christopher James Lahey <clahey@helixcode.com>
* gui/search/addresstypes.xml: Changed a couple of input field
names.
2000-08-10 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook-component.c: Remove prototype for
`setup_ldap_storage()', which shouldn't be here anyway.
2000-08-10 Christopher James Lahey <clahey@helixcode.com>
* gui/search/, gui/search/addresstypes.xml: New search dialog for
addressbook.
2000-08-10 Dan Winship <danw@helixcode.com>
* gui/component/addressbook-component.c (owner_set_cb): Update for
changed prototype, pass evolution_homedir arg to
setup_ldap_storage.
* gui/component/e-ldap-storage.c (setup_ldap_storage): Now takes
an evolution_homedir arg, uses that to generate the path to the
ldapservers.xml file, and stores the result in a static variable.
(e_ldap_storage_add_server, e_ldap_storage_remove_server): Use that
static variable rather than hardcoding the path to the file.
2000-08-10 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c: Fixed any search to not crash on
missing phone numbers or email addresses.
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard-control.c: Added a button to save to
your addressbook.
2000-08-09 Cody Russell <bratsche@gnome.org>
* gui/component/addressbook.c: Make the toolbar honor the user's
gnomecc settings for detachable toolbars.
2000-08-09 Nat Friedman <nat@helixcode.com>
* ename/e-name-western-tables.h: Added some military prefixes.
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Fixed a warning.
2000-08-09 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook.c (control_activate): Add the stock
print icon to the print item.
2000-08-09 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook.c (control_activate): Put the print
item in the right placeholder so that it gets the right position
in the "File" menu.
(control_deactivate): Updated accordingly.
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c, gui/minicard/e-minicard.c: Changed
e_popup_menu_run call to match the new arguments.
* gui/component/addressbook.oafinfo: Fixed this file to work
properly.
* gui/minicard/e-minicard-control.c: Use the correct oafinfo ID
here. Also cleaned up the code a bit with the help of Michael
Meeks.
2000-08-08 Chris Toshok <toshok@helixcode.com>
* gui/component/e-addressbook-model.c (e_addressbook_model_init):
use x-evolution-any-field.
* gui/component/addressbook.c (search_entry_activated): use
x-evolution-any-field.
(change_view_type): same.
* gui/minicard/e-minicard-view.c (e_minicard_view_init): set query
to x-evolution-any-field.
* backend/pas/pas-backend-ldap.c (func_contains): support
x-evolution-any-field for matching any evolution supported field.
* backend/pas/pas-backend-file.c (compare_email): switch to using
ECardSimple calls.
(compare_phone): same.
(compare_address): same.
(entry_compare): switch to using ECardSimple calls, and support a
'x-evolution-any-field' wildcard field.
(vcard_matches_search): use an ECardSimple.
2000-08-07 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Removed the next and prev
toolbar buttons since they don't do anything.
2000-08-07 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor.c: Fixed the tab order to not
repeat the web page address field.
2000-08-07 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Fixed the tab order for this
dialog.
2000-08-05 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Fixed a warning.
* backend/ebook/e-card.c: Cast to (char *) in
e_card_load_cards_from_file since libversit isn't const correct.
* backend/pas/pas-backend-file.c: Fixed a warning.
2000-08-04 Michael Meeks <michael@helixcode.com>
* gui/component/addressbook.c (control_activate): unref.
* demo/addressbook.c (control_activate): unref.
2000-08-02 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c,
gui/component/e-addressbook-model.c: Emit "model_pre_change"
signal as appropriate.
2000-08-02 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-addressbook-model.c: Adapted this to supply the
new append_row API of ETableModel.
2000-07-31 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Changed the default set of columns.
2000-07-29 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added load-gnomecard-addressbook
compilation.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added
e_card_load_cards_from_file helper function to load multiple cards
from a single file.
* backend/ebook/load-gnomecard-addressbook.c: New file to load
vcard files. I think this is the format that gnomecard uses so if
you copy your gnomecard file to gnomecard.vcf and then run this
program in the same directory, it'll copy all your gnome contacts
into evolution. It needs to be changed to take a filename as a
parameter. Some fields (phone and address information, for
example) aren't displayed properly, but are saved. This is new
code, so some other than phone and address may be lost.
2000-07-28 Ettore Perazzoli <ettore@helixcode.com>
* backend/pas/Makefile.am: Add `pas-backend-ldap.c' and
`pas-backend-ldap.h' to `EXTRA_DIST' so they get distributed even
if the OpenLDAP support is not enabled.
2000-07-27 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/load-pine-addressbook.c: Changed the URI to load
to.
2000-07-26 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard-widget-test.c: Fixed a warning.
2000-07-26 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c (view_destroy): wait to free the
view until we've taken care of freeing its internals. also, close
the ldap connection here.
(pas_backend_ldap_connect): rename p_b_l_ensure_connected to this,
since it's always called when we create a view.
(pas_backend_ldap_build_all_cards_list): open an ldap connection
in this function and close it at the end.
(poll_ldap): make sure to call ldap_unbind to close the view's
connection here.
(pas_backend_ldap_search): call pas_backend_ldap_connect here -
ldap_unbind will either be called from poll_ldap or from
view_destroy.
(pas_backend_ldap_get_vcard): the PASBackendLDAP no longer has an
LDAP*.
2000-07-26 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_build_all_cards_list): add support for user settable scope.
(pas_backend_ldap_search): same.
(pas_backend_ldap_load_uri): same.
2000-07-26 Dan Winship <danw@helixcode.com>
* gui/component/addressbook.oafinfo: lowercasify the
supported_mime_types
2000-07-25 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-card-types.h: add enum for e-card pilot status.
* conduit/address-conduit.c: #ifdef out all the archiving code with SUPPORT_ARCHIVING.
(purge): implement correctly - deleting ecards whose pilot status is DELETED.
(set_status): implement.
(set_pilot_id): add gtk_main call here to change commit_card into a synchronous
(delete_all): implement correctly - don't delete the records, just set their status to DELETED.
(local_record_from_ecard): get the current status from the ecard.
* backend/ebook/e-card.c (e_card_get_vcard): add vcard support for pilot status.
(parse_pilot_status): new function.
(e_card_class_init): add pilot status object arg.
(e_card_set_arg): add pilot status support.
(e_card_get_arg): same.
(e_card_init): initialize pilot_status to 0.
2000-07-25 Chris Toshok <toshok@helixcode.com>
* conduit/address-conduit.c: add comment headers to signals that
didn't have any.
2000-07-25 Chris Toshok <toshok@helixcode.com>
* conduit/address-conduit.c (start_address_server): use the user's
Contact db. not toshok's.
2000-07-25 Michael Meeks <michael@helixcode.com>
* backend/ebook/load-pine-addressbook.c (book_open_cb): check we
opened ok.
2000-07-25 Seth Alves <alves@hungry.com>
* ename/Makefile.am (libename_static_la_LDFLAGS): build static
version of the library for address conduit to use
* backend/ebook/Makefile.am: build a static version of the library
to link into the conduit
2000-07-25 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Added a #define for
"X-EVOLUTION-PILOTID". Added a parse_pilot_id to read pilot id's
in properly from VCards. Rearranged some field orders. Added a
get_arg case for ARG_PILOTID. Initialize pilot_id field to 0.
2000-07-24 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-card.h: add pilot_id.
* backend/ebook/e-card.c (e_card_get_vcard): add support for
X-EVOLUTION-PILOTD vcard field.
(e_card_class_init): add pilot_id arg.
(e_card_set_arg): handle pilot_id arg.
2000-07-23 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-book-view-listener.c: Remove the idle handler
when we're destroyed.
* printing/e-contact-print.c: Fixed the spacing on the card
header.
2000-07-20 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.oafinfo: Fixed the oaf info.
* gui/minicard/.cvsignore, gui/minicard/Makefile.am,
gui/minicard/e-minicard-widget-test.c: Added a test for the
minicard widget.
* gui/minicard/e-minicard-control.c: Fixed the mime type.
* gui/minicard/e-minicard.c: Fixed some crashes if your parent
isn't a minicard view.
* gui/minicard/e-minicard-control.oafinfo: Removed.
2000-07-20 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook-component.c (factory_fn): Update for
the new `evolution_shell_component_new()'.
2000-07-19 Fatih Demir <kabalak@gmx.net>
* conduit/address-conduit-control-applet.desktop:
Added the Turkish desktop entry.
2000-07-18 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard-control.c: Added "text/vCard" to the
list of mime types we support.
2000-07-18 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/Makefile.am: Added
gui/minicard/e-minicard-control.c,
gui/minicard/e-minicard-control.h,
gui/minicard/e-minicard-widget.c, and
gui/minicard/e-minicard-widget.h.
* gui/minicard/e-minicard-control.c,
gui/minicard/e-minicard-control.h,
gui/minicard/e-minicard-widget.c,
gui/minicard/e-minicard-widget.h: Got these to compile.
* gui/minicard/e-minicard-control.gnorba,
gui/minicard/e-minicard-control.oafinfo: Copied directly from
bonobo-clock-control. These aren't done yet.
2000-07-18 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard-control.c,
gui/minicard/e-minicard-control.h,
gui/minicard/e-minicard-widget.c,
gui/minicard/e-minicard-widget.h: New files for using a minicard
as a widget or a bonobo control.
2000-07-14 Chris Toshok <toshok@helixcode.com>
* gui/component/e-ldap-storage.c (ldap_server_foreach): duh.
don't save the port in the host slot either.
2000-07-13 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-confirm-delete.glade,
contact-editor/e-contact-editor-confirm-delete.glade.h: Added
these.
2000-07-13 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Switched the order of compilation of printing and
contact-editor.
* contact-editor/Makefile.am: Added printing libraries and a
confirm delete dialog glade file.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Enabled the delete and print
functions as well as providing a confirm delete dialog to the
outside world.
* gui/component/addressbook.c: Made the delete button on new cards
active.
* gui/minicard/Makefile.am: Added printing libraries to a number
of test programs.
* gui/minicard/e-minicard.c: Added print and delete to the right
click menu. Made the delete button on the card editor active.
* printing/e-contact-print.c, printing/e-contact-print.h: Added a
function to print a single card.
2000-07-12 Chris Toshok <toshok@helixcode.com>
* gui/component/e-ldap-storage.c (ldap_server_foreach): oops. fix
typo that was saving the port in the rootdn spot.
(save_ldap_data): make this a bit safer - writing to a new file
and renaming it.
(load_ldap_data): make this a bit smarter - if parsing the
ldapservers.xml file fails and there's a .new file there,
rename it.
2000-07-12 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c: Do case insensitive compares.
* addressbook/gui/component/addressbook.c: Make quick search
search both name and company name.
2000-07-12 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Add icons to the toolbars.
2000-07-12 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/Makefile.am: Added installation of arrow.png.
* contact-editor/e-contact-editor.c: Use EVOLUTIONDIR #define.
2000-07-11 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Removed an unused function
2000-07-10 Dan Winship <danw@helixcode.com>
* gui/component/select-names/Makefile.am (EXTRA_DIST): add idl
file to EXTRA_DIST
2000-07-10 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook.c (control_activate): Remove the
SelectNames test.
2000-07-10 Peter Williams <peterw@curious-george.helixcode.com>
* gui/component/select-names/e-select-names-model.c: (Clahey's fix)
Make multiple addresses be concatenated correctly.
2000-07-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c,
gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h: Switched from ETable
to ETableScrolled.
* addressbook/gui/minicard/e-minicard.c: Don't display mailer or
"name or org" fields.
2000-07-09 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Added a field that gives the name if it exists and the company
name otherwise.
* gui/component/e-addressbook-model.c: Formatting changes.
* gui/component/select-names/e-select-names-table-model.c: Added
stripping of names and display of company name if name doesn't
exist.
* gui/component/select-names/e-select-names.c: Fixed up the
display so that we display both name and email address.
2000-07-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/select-names/e-select-names-model.c: Fixed a small
off by one error that was causing an extra character to get
deleted sometimes.
2000-07-09 Anders Carlsson <andersca@gnu.org>
* gui/minicard/test-reflow.c (allocate_callback): Fix off by one bug with
scroll region setting.
(resize): Likewise.
(main): Put the contacts list in an EScrolledFrame instead of using a
separate GtkScrollbar.
* gui/minicard/e-reflow.c (e_reflow_event): Don't change mouse cursor and
don't allow drags on dividers that aren't visible.
* gui/component/addressbook.c (allocate_callback): Fix off by one bug with
scroll region setting.
(resize): Likewise.
(create_minicard_view): Put the contacts list in an EScrolledFrame instead of
using a separate GtkScrollbar.
2000-07-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Removed unused do_nothing_cb
function.
* gui/component/select-names/e-select-names-manager.c,
gui/component/select-names/e-select-names-manager.h: Made the OK
and Cancel buttons in the ESelectNames dialog we create work
properly.
* gui/component/select-names/e-select-names-model.c,
gui/component/select-names/e-select-names-model.h: Added
e_select_names_model_duplicate.
* gui/component/select-names/e-select-names-text-model.c: Made the
text be set correctly if there's already data in the source when
the text model is created.
* gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h: Removed handling of
the buttons (the user of this dialog will have to handle them.)
Added e_select_names_get_source. Fixed some typos.
2000-07-09 Not Zed <NotZed@HelixCode.com>
* gui/component/addressbook.c: Link the toolbar print button to
the print callback.
2000-07-08 Christopher James Lahey <clahey@helixcode.com>
* gui/component/select-names/e-select-names.c
(e_select_names_clicked): Hitting OK or Cancel at least closes the
dialog now.
2000-07-08 Christopher James Lahey <clahey@helixcode.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_create_entry): Set the returned entry to
use the ellipsis.
2000-07-08 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook-factory.c: Include
e-select-names-factory.h.
* gui/component/select-names/e-select-names-model.c: Handle a NULL
iterator properly in the replace function.
* gui/component/select-names/e-select-names-table-model.c: Fill in
info properly in the value_at function.
* gui/component/select-names/e-select-names-text-model.c: Don't
strlen a NULL text object.
* gui/component/select-names/e-select-names.c: Close if the person
hits ok or cancel (doesn't yet actually undo changes if Cancel is
hit.) Handle removing addresses when they're double clicked on.
* gui/component/select-names/select-names.glade,
gui/component/select-names/select-names.glade.h: Hid some unused
fields and changed the text at the top of the dialog.
2000-07-08 Jeffrey Stedfast <fejj@helixcode.com>
* gui/component/select-names/.cvsignore: Ignore dynamically
created source files
2000-07-08 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): New function to set the properties.
2000-07-08 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook-factory.c (main): Start up the factory
for `Evolution::Addressbook::SelectNames'.
* gui/component/select-names/evolution-addressbook-select-names.oafinfo:
New.
* gui/component/select-names/e-select-names-factory.c: New.
* gui/component/select-names/e-select-names-factory.h: New.
* gui/component/select-names/e-select-names-bonobo.c: New.
* gui/component/select-names/e-select-names-bonobo.h: New.
* gui/component/addressbook-factory.c (main): Call
`e_select_names_factory_init()'.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_add_section): Made const-aware.
(e_select_names_manager_create_entry): Made const-aware.
(e_select_names_manager_activate_dialog): Made const-aware.
* gui/component/select-names/Evolution-Addressbook-SelectNames.idl:
New.
2000-07-08 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-addressbook-model.c,
gui/component/e-addressbook-model.h: Added an "editable" argument.
* gui/component/select-names/e-select-names.c: Set our
EAddressModel to not be editable.
2000-07-07 Christopher James Lahey <clahey@helixcode.com>
* gui/component/select-names/e-select-names.c: Changed to line
mode.
2000-07-07 Christopher James Lahey <clahey@helixcode.com>
* gui/component/select-names/e-select-names-manager.c,
gui/component/select-names/e-select-names-model.c: Implemented the
get_cards function.
* gui/component/select-names/e-select-names.c: Implemented adding
cards through the interface.
2000-07-07 Christopher James Lahey <clahey@helixcode.com>
* gui/component/select-names/e-select-names-manager.c: Make the
entry widgets we create editable.
* gui/component/select-names/e-select-names-model.c: Use
e_strsplit instead of g_strsplit. Fixed an off by 1 error.
* gui/component/select-names/e-select-names-table-model.c: When
the model changes, send a model changed signal.
* gui/component/select-names/e-select-names-text-model.c: Made
changing this work correctly if it's empty. Made change signals
propagate properly. Is a bit better about freeing iterators when
done.
* gui/component/select-names/e-select-names.c: Made the finished
lists be in order instead of being sorted.
2000-07-07 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c (new_server_cb): Since
ELDAPServer->port is a char *, allocate a string with the number
389 contained.
* gui/component/addressbook.c: Make the select names test test the
new code instead of the old way of getting to an ESelectNames
dialog.
* gui/component/select-names/e-select-names-manager.c: Coded
storing the model for each section, creating an entry and
returning it, and for activating the dialog. Wrote a bit of the
get_cards code, but not all of it.
* gui/component/select-names/e-select-names-model.c,
gui/component/select-names/e-select-names-model.h: Coded all of
the code needed to make ESelectNamesTextModel work (it doesn't
yet, but all the code should be there.) Removed
E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL.
* gui/component/select-names/e-select-names-table-model.c,
gui/component/select-names/e-select-names-text-model.c: Changed
these to compensate for removal of
E_SELECT_NAMES_MODEL_DATA_TYPE_SEPARATION_MATERIAL.
* gui/component/select-names/e-select-names-table-model.h,
gui/component/select-names/e-select-names-text-model.h: Fixed some
silly typos.
* gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h: Added a parameter to
add_section that lets you specify the source ESelectNamesModel.
2000-07-06 Chris Toshok <toshok@helixcode.com>
* gui/component/e-ldap-storage.h: add scope to ELDAPServer, and
make port a string.
* gui/component/e-ldap-storage.c (load_ldap_data): don't load a
uri, load all the bits and pieces and build up the uri when
creating the folder, according to the openldap url format.
(ldap_server_foreach): store out each of the individual uri
pieces.
(e_ldap_storage_remove_server): free the new fields.
(get_string_value): if the text is empty, return the empty string
instead of NULL.
* gui/component/e-ldap-server-dialog.c (extract_server_info): port is a string now.
(fill_in_server_info): port is a string now.
2000-07-06 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Changed "FIXME: Save and
Close" to "Save and Close". Removed some toolbar items that will
never be used.
* gui/component/select-names/e-select-names-model.c,
gui/component/select-names/e-select-names-model.h: Added functions
to allow you to modify the model (not implemented yet.)
* gui/component/select-names/e-select-names-table-model.c,
gui/component/select-names/e-select-names-table-model.h: Finished
this. Doesn't support changing the model at all.
* gui/component/select-names/e-select-names-text-model.c: Finished
this. Changing the model by typing is done, but doesn't work
since none of the functions in the base model are implemented.
2000-07-05 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (new_server_cb): call
e_ldap_storage_add_server call.
* gui/component/ldap-server-dialog.glade: add name row.
* gui/component/e-ldap-server-dialog.h: remove the ELDAPServer type.
* gui/component/e-ldap-server-dialog.c (extract_server_info): add
support for the name-entry.
* gui/component/e-ldap-server-dialog.c (fill_in_server_info): same.
* gui/component/e-ldap-storage.h: add ELDAPServer type, and add
prototypes for e_ldap_storage_add_server and
e_ldap_storage_remove_server.
* gui/component/e-ldap-storage.c (e_ldap_storage_add_server): new
function, add it to our hash table, add a shell folder, and save
out the metadata.
(ldap_server_foreach): add the ldap server info under a
"contactserver" node.
(setup_ldap_storage): create our hashtable.
2000-07-05 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (set_prop): remove hack to read
"uri" file from local directory.
* gui/component/Makefile.am (evolution_addressbook_SOURCES): add
e-ldap-storage.{c,h}
* gui/component/addressbook-component.c (owner_set_cb): call
setup_ldap_storage.
* gui/component/e-ldap-storage.c (setup_ldap_storage): Register
the LDAP storage and load the .xml file.
(load_ldap_data): function to load our xml file.
(save_ldap_data): function to save our xml file.
* gui/component/e-ldap-storage.h: new file.
2000-07-03 Christopher James Lahey <clahey@helixcode.com>
* gui/component/select-names/e-select-names-manager.c,
gui/component/select-names/e-select-names-text-model.c,
gui/component/select-names/e-select-names.c: Fixed more compile
errors.
2000-07-03 Christopher James Lahey <clahey@helixcode.com>
* gui/component/select-names/Makefile.am: Fixed compile error.
2000-07-03 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Removed e-card-iterator.c,
e-card-iterator.h, e-card-list-iterator.c, e-card-list-iterator.h,
e-card-list.c, e-card-list.h.
* backend/ebook/e-card-iterator.c,
backend/ebook/e-card-iterator.h,
backend/ebook/e-card-list-iterator.c,
backend/ebook/e-card-list-iterator.h, backend/ebook/e-card-list.c,
backend/ebook/e-card-list.h: Removed in favor or versions without
the -card in the e-util directory since these classes are not
specific to cards at all.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h,
backend/ebook/e-card.c, backend/ebook/e-card.h,
backend/ebook/load-pine-addressbook.c, backend/ebook/test-card.c,
backend/pas/pas-backend-file.c: Changed the references to
e-card-list.c and friends to e-list.c and friends.
* contact-editor/e-contact-editor.c: Added #include
<e-contact-save-as.h> to fix a warning.
* gui/component/Makefile.am: Moved a number of classes associated
with the select-names object to the new select-names directory.
* gui/component/addressbook.c: Changed the reference to
e-select-names.h.
* gui/component/e-select-names.c, gui/component/e-select-names.h,
gui/component/select-names.glade,
gui/component/select-names.glade.h: Moved these files into
select-names/.
* gui/component/select-names/.cvsignore,
gui/component/select-names/Makefile.am,
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-model.c,
gui/component/select-names/e-select-names-model.h,
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.h,
gui/component/select-names/recipient.glade,
gui/component/select-names/select-names.glade,
gui/component/select-names/select-names.glade.h: New files for
select names dialog (e-select-names.c, e-select-names.h,
select-names.glade, select-names.glade.h and recipient.glade moved
from gui/component/.)
2000-06-29 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook-component.c (owner_set_cb): Get an
EvolutionShellClient instead of an Evolution_Shell to match the
changes in libeshell.
2000-06-28 Christopher James Lahey <clahey@helixcode.com>
* gui/component/select-names/,
gui/component/select-names/e-select-names-manager.c,
gui/component/select-names/e-select-names-manager.h: New select
names manager interface (Not complete.)
2000-06-26 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c,
addressbook/gui/component/e-cardlist-model.c: Added
value_to_string handlers.
* demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and
"y" arguments.
* addressbook/gui/component/addressbook.c: Activated Click To Add
and set the click to add message.
* addressbook/gui/component/e-addressbook-model.c: Added
value_to_string and append_row handlers.
* addressbook/gui/component/e-select-names.c: Added a column.
2000-06-26 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c (poll_ldap): remove spew.
(pas_backend_ldap_ensure_connected): duh, don't access a pointer
we know to be NULL.
(query_prop_to_ldap): rename map_e_card_prop_to_ldap to this.
easier to type.
2000-06-21 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/test-minicard-label.c,
gui/minicard/test-minicard.c, gui/minicard/test-reflow.c: Remove
usage of "x" and "y" arguments.
2000-06-18 <ettore@helixcode.com>
* contact-editor/Makefile.am (INCLUDES): Use
`$(BONOBO_GNOME_CFLAGS)' so that we compile when Bonobo is not in
the default GNOME prefix.
2000-06-17 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard-label.c,
gui/minicard/e-minicard-label.h, gui/minicard/e-minicard.c: Made
the left column of minicards not get any wider than the widest
possible name.
2000-06-13 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/Makefile.am (SHELL_OBJS): Removed.
(evolution_addressbook_LDADD): Link with
`$(top_builddir)/shell/libeshell.a'.
2000-06-12 Federico Mena Quintero <federico@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Removed the
ETableModel thaw handler.
* gui/component/e-cardlist-model.c: Likewise.
2000-06-11 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-select-names.c: Fixed the widget reparenting.
2000-06-11 Christopher James Lahey <clahey@helixcode.com>
* gui/component/Makefile.am: Added glade files.
* gui/component/addressbook.c: Added a test of the Select Names
functionality.
* gui/component/e-addressbook-model.c: Made this class_init
function a bit cleaner.
* gui/component/e-select-names.c: Tested this and fixed some
obvious errors.
* gui/component/select-names.glade: The main window shouldn't be
visible by default.
2000-06-11 Ettore Perazzoli <ettore@helixcode.com>
* contact-editor/Makefile.am (contact_editor_test_LDADD): Link
with libemiscwidgets.a.
* gui/component/Makefile.am (evolution_addressbook_LDADD): Likewise.
* gui/minicard/Makefile.am (minicard_test_LDADD): Likewise.
(reflow_test_LDADD): Likewise.
(minicard_view_test_LDADD): Likewise.
2000-06-10 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-cardlist-model.c: Renamed a bunch of functions
for better readability.
* gui/component/e-select-names.c, gui/component/e-select-names.h:
This should be a working dialog now.
* gui/component/select-names.glade: Changed the name & creation
function of the ETable here.
2000-06-10 Christopher James Lahey <clahey@helixcode.com>
* gui/component/select-names.glade,
gui/component/select-names.glade.h: Glade files for Select Names
dialog.
2000-06-10 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Do e_card_simple_sync and
extract_info more often.
* gui/component/addressbook.c: Added table printing code.
2000-06-09 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook-component.c (factory_fn): Pass NULL
for the new args @create_folder_fn and @remove_folder_fn.
2000-06-08 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook-component.c (create_view): Updated for
the new `EvolutionShellComponentCreateViewFn'. Return
`EVOLUTION_SHELL_COMPONENT_UNSUPPORTEDTYPE' if @type is not
"contacts".
2000-06-08 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Bind Save As to save the
current view of the contact as a vcard.
2000-06-08 Federico Mena Quintero <federico@helixcode.com>
* contact-editor/e-contact-editor.c (save_card): Doh, sync the
card simple and extract the card info.
2000-06-08 Federico Mena Quintero <federico@helixcode.com>
* contact-editor/e-contact-editor.h (EContactEditor): Now this
derives from GtkObject. It follows the same strategy as the
EventEditor in the calendar.
(EContactEditor): Added an is_new_card field so that we can know
whether to add() or commit() the card.
* contact-editor/e-contact-editor.c (e_contact_editor_get_type):
Derive from GtkObject.
(e_contact_editor_class_init): Likewise.
(e_contact_editor_class_init): Added an "is_new_card" argument.
(e_contact_editor_set_arg): Handle ARG_IS_NEW_CARD.
(e_contact_editor_get_arg): Likewise.
(e_contact_editor_new): Take in an is_new_arg argument and set it
on the object.
(e_contact_editor_init): Load the app widget into the app field of
the EContactEditor structure. Create its UIHandler as well.
(e_contact_editor_class_init): New "add_card", "commit_card", and
"editor_closed" signals.
* contact-editor/test-editor.c (main): Modified for the new API.
(editor_closed_cb): Tweaked for the new API.
Since this test program does not use Bonobo, it doesn't work,
though.
* gui/component/addressbook.c (new_contact_cb): Use the new
contact editor API.
(table_double_click): Ditto.
* gui/minicard/e-minicard-view.c (e_minicard_view_event): Use the
new contact editor API.
* gui/minicard/e-minicard.c (e_minicard_event): Use the new
contact editor API.
2000-06-08 Ettore Perazzoli <ettore@helixcode.com>
* contact-editor/Makefile.am (contact_editor_test_LDADD): Remove
the `$(srcdir)/' prefix from `libecontacteditor.a' because [of
course] the library is built in the build directory, not in the
source directory.
* gui/minicard/Makefile.am (minicard_test_LDADD): Likewise with
`libeminicard.a'.
(minicard_label_test_LDADD): Likewise.
(reflow_test_LDADD): Likewise.
(minicard_view_test_LDADD): Likewise.
2000-06-06 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Bind right click on the ETable to
"Save to VCard."
2000-06-02 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Made phone/email/address
labels change correctly again.
2000-06-02 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook-component.c: Made
evolution-addressbook shut down when the shell is done with it.
2000-06-02 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c: Made
double click only work on the first button.
2000-06-01 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard.c: return TRUE if opening a contact
editor so that we don't get a "new dialog" contact editor.
2000-06-01 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook.c (new_contact_cb): Use the stock
cancel button for the dialog.
(table_double_click): Likewise.
(find_contact_cb): Likewise.
2000-05-31 Miguel de Icaza <miguel@helixcode.com>
* contact-editor/contact-editor.glade: Added accelerators for
the remaining items.
Add spacing, beautify the dialogs.
2000-06-01 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook.c (control_activate): Put the toolbar
into a frame to make it look like standard GNOME toolbars. Also,
set `GNOME_DOCK_ITEM_BEH_NEVER_VERTICAL' so that it does not do
evil things when its moved to the left or the right of the window.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-cardlist-model.c,
gui/component/e-cardlist-model.h: New files for card list.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Fixed a memory leak.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* gui/component/alphabet.glade: Made the alphabet buttons not
focusable.
* gui/minicard/e-minicard-view.c: Made the "123" button work.
* gui/minicard/e-reflow-sorted.c: Made all buttons past the last
letter available work.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* gui/component/alphabet.glade: Added a bit of space around the
alphabet bar.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* gui/component/Makefile.am: Added alphabet.glade and
alphabet.glade.h.
* gui/component/addressbook.c, gui/component/alphabet.glade,
gui/component/alphabet.glade.h: Added an alphabet bar.
* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard-view.h,
gui/minicard/e-reflow-sorted.c, gui/minicard/e-reflow-sorted.h:
Added the ability to just to a particular spot in the reflow.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* printing/Makefile.am: Added BONOBO_GNOME_CFLAGS to CPPFLAGS.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard-view.c: Made double clicking create a
new card. Set the empty message.
* gui/minicard/e-minicard.c: Made sorting be case insensitive.
* gui/minicard/e-reflow-sorted.c, e-reflow.c, e-reflow.h: Added a
message for when the reflow is empty.
* printing/e-contact-print.c, printing/medbook.ecps: Made the
default printout be full page. Made sorting case insensitive.
2000-05-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-book-view-listener.c,
backend/ebook/e-book-view-listener.h, backend/ebook/e-book-view.c,
backend/ebook/e-book-view.h, backend/idl/addressbook.idl,
backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c,
backend/pas/pas-book-factory.c, backend/pas/pas-book-view.c,
backend/pas/pas-book-view.h: Added "sequence_complete" signal.
* printing/e-contact-print.c: Made printing wait for
"sequence_complete" signal and made it sort.
2000-05-25 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c,
gui/component/e-addressbook-model.c,
gui/component/e-addressbook-model.h: Added double click to open
contact editor.
2000-05-25 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Removed some columns.
2000-05-25 Ettore Perazzoli <ettore@helixcode.com>
* gui/component/addressbook.c (addressbook_factory_new_control):
New function.
(addressbook_factory): Use it.
* Makefile.am (evolution_addressbook_LDADD): Link with
`evolution-shell-component.o' from the shell directory.
* gui/component/addressbook-component.c: New.
* gui/component/addressbook-component.h: New.
2000-05-23 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Switched printing and gui.
* backend/ebook/e-book-view-listener.h,
backend/ebook/e-book-view.h, backend/ebook/e-book.h,
backend/ebook/e-card-cursor.h, backend/ebook/e-card-list.h,
backend/ebook/e-card-simple.h, backend/ebook/e-card.h: Fixed the
#defines to work elsewhere in evolution.
* gui/component/Makefile.am: Added linking to libecontactprint.
* gui/component/addressbook.c: Added a menu item to print the
current query.
* printing/Makefile.am: Add linking to libebook and requirements.
Add installation of ecps files.
* printing/e-contact-print.c, printing/e-contact-print.h: Changed
this to use real data from an EBook.
* printing/test-print.c: Made this pass NULL, NULL to
e_contact_print_dialog_new so that it will compile.
2000-05-23 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-save-as.c: Fixed some memory leaks.
2000-05-23 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/Makefile.am: Added e-contact-editor-save-as.c and
e-contact-editor-save-as.h.
* contact-editor/e-contact-save-as.c,
contact-editor/e-contact-save-as.h: New files that display a save
as dialog and then save the given card to that file.
* gui/minicard/e-minicard.c: Call e_contact_save_as in a right
click menu.
2000-05-19 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c,
gui/component/e-addressbook-model.c: Added initialize_value and
value_is_empty callbacks.
2000-05-19 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Fixed a bug that broke
address field support.
2000-05-19 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Added support for arbitrary
fields in the contact editor.
2000-05-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Fixed e_card_name_copy and
e_card_arbitrary_copy to deal correctly with a passed NULL.
* contact-editor/Makefile.am: Removed imagesdir stuff.
* contact-editor/arrow.png: Made this transparent.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Renamed some widgets
and added custom widgets for all of the images.
* contact-editor/e-contact-editor.c: Worked on making this work
decently well with messed up glade files. Cleaned up a lot of code.
2000-05-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Fixed the code to write out and read in
arbitrary fields.
2000-05-18 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h,
backend/ebook/e-card-types.h, backend/ebook/e-card.c,
backend/ebook/e-card.h: Implemented "MAILER" field. Added
arbitrary field support.
* contact-editor/e-contact-editor-categories.c: Fixed a warning.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Added E_CARD_SIMPLE_FIELD_MAILER. Not implemented yet.
2000-05-16 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c (construct_email_list): convert to use ECardSimple.
(poll_ldap): same.
2000-05-16 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-book.h: add typedefs for the can_write
functions, and add parameters to pas_book_new.
* backend/pas/pas-book.c (pas_book_construct): add can_write/can_write_card params.
(pas_book_new): same.
(impl_Evolution_Book_can_write): new function.
(impl_Evolution_Book_can_write_card): same.
(pas_book_get_epv): assign the can_write/can_write_card slots in the epv.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_can_write): new function.
(pas_backend_ldap_can_write_card): same.
(pas_backend_ldap_add_client): add can_write/can_write_card to pas_book_new call.
* backend/pas/pas-backend-file.c (pas_backend_file_can_write_card): new function, calls can_write.
(pas_backend_file_can_write): same.
(can_write): return TRUE if we can write to the addressbook file.
(pas_backend_file_add_client): add can_write/can_write_card to pas_book_new call.
* backend/idl/addressbook.idl (Evolution): add can_write and
can_write_card permission requests.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c (e_card_get_vcard): Fixed a large memory leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c (add_list_unique): Fixed another memory
leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/pas/pas-backend-file.c,
contact-editor/e-contact-editor.c, ename/e-name-western.c,
gui/component/addressbook.c, gui/minicard/e-minicard-view.c: Fixed
some memory leaks.
* backend/ebook/e-card.c: Rearranged some code.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Fixed a reference
leak.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Fixed a compile
error.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Got rid of a
memory leak. Rearranged a couple functions.
* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard-view.h:
Added some code to stop watching the EBook when the canvas is
destroyed (apparently the canvas is destroyed before our widget is
destroyed.)
2000-05-14 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-categories.c: Use the correct
policy for resize.
2000-05-14 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added libeutil for e-card's support
for categories.
* backend/ebook/e-card-list.c, backend/ebook/e-card-list.h: Added
a function to get the length.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added categories
support (accessible either as "categories" or "category_list".)
* contact-editor/Makefile.am: Added e-table and all of the
categories files.
* contact-editor/categories.glade,
contact-editor/categories-strings.h,
contact-editor/e-contact-editor-categories.c,
contact-editor/e-contact-editor-categories.h:
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Rearranged this dialog.
* contact-editor/e-contact-editor.c: Rearranged dialog a bit.
Added opening of categories dialog.
* gui/component/Makefile.am: Rearranged libraries so that
libetable would be available for the contact editor categories
dialog.
* gui/component/addressbook.c: Fix for new ETable resizing. Make
contact editor dialog resizable.
* gui/minicard/Makefile.am: Added libetable contact editor
categories dialog.
* gui/minicard/e-minicard.c: Make contact editor dialog resizable.
2000-05-12 Miguel de Icaza <miguel@gnu.org>
* contact-editor/fulname.glade: Use accelerators here.
2000-05-13 Valek Filippov <frob@df.ru>
* gui/component/ldap-server-dialog.glade: save translatable strings
* gui/component/ldap-server-dialog.glade.h: file with strings
* printing/e-contact-print.glade: save translatable strings
* printing/e-contact-print.glade.h: file with strings
2000-05-11 Dan Winship <danw@helixcode.com>
* gui/component/addressbook.c (control_activate): Now that we
depend on recent gnome-libs we can make the toolbar detachable
again.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Make the table view be sorted by
name initially.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-book-factory.c: Send a proper response when you
can't find the ldap URI.
* gui/component/addressbook.c: Cleaned up the open error dialog a
bit.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Added a dialog for when you can't
open an addressbook.
2000-05-10 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added e-book-types.h, e-card-pairs.h,
e-card-types.h.
* backend/pas/Makefile.am: Added pas-backend-ldap.h.
* contact-editor/Makefile.am: Added a proper EXTRA_DIST section.
Removed some old defines.
* ename/Makefile.am: Added e-name-western-tables.h.
* gui/component/Makefile.am: Added e-ldap-server-dialog.h. Added
a proper EXTRA_DIST section.
* gui/minicard/e-reflow.c: Added a missed cast.
* printing/Makefile.am: Added a proper EXTRA_DIST section.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Make sure that the canvas
doesn't intercept keyboard focus.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Use new art.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Replaced the Address
button with a label and rearranged the address area a bit.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard.c: Reenable editting.
* gui/minicard/e-reflow-sorted.c: Make reflow flow on deletion.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Destroy the view object when
leaving the minicard view.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-reflow-sorted.c: Fixed reflow sorting to call
reflow_request when sorting on an item changes.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Make File As change if name or
company are changed pretty much anywhere.
* gui/minicard/e-minicard.c: Turned off having minicard editing
effect anything since it's so crashy.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-ldap.c: Enabled a couple more fields
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c: Added a default card to all new
file backends.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-addressbook-model.c: Rearranged order of things
getting destroyed.
* gui/minicard/e-minicard-view.c: Rearranged order of things
getting destroyed. Don't set attributes of non-null or destroyed
items. Destroy parent object when destroyed. Maintain ref_count
of items in list.
* gui/minicard/e-minicard.c: Don't set attributes of non-null
items.
* gui/minicard/e-reflow-sorted.c: Maintain ref_count of items in
list.
* gui/minicard/e-reflow.c: Maintain ref_count of items in list.
Destroy parent object when destroyed.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Fixed some indentation.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Changed Email to
Primary Email.
* contact-editor/e-contact-editor.c: Added checkmarks to indicate
if data exists in the pull down menus for the phone, address, and
email fields.
2000-05-09 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Fixed the string duplication
problem. Fixed the business/home address string mix up.
* gui/component/addressbook.c: Made the minicard view the default
view.
2000-05-08 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c: Fixed this up a bit. Syncing
should work better now.
2000-05-08 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c,
gui/minicard/e-minicard.h, gui/minicard/e-reflow-sorted.c,
gui/minicard/e-reflow-sorted.h: Made a minimal number of things be
destroyed and recreated when updating a field.
2000-05-07 <toshok@the-dot-in.helixcode.com>
* gui/minicard/e-minicard.c (remodel): make sure to free the
return value of e_card_simple_get.
* gui/component/addressbook.c (teardown_table_view): destroy the
ECardSimple here, plug memory leak.
(create_table_view): use view->simple so we can destroy the
ECardSimple later on.
2000-05-07 Chris Toshok <toshok@helixcode.com>
* ename/e-name-western.c (e_name_western_extract_middle): comment
function, and fix an ABR.
2000-05-07 Chris Toshok <toshok@helixcode.com>
* ename/e-name-western.c (e_name_western_cleanup_string): comment
function, and fix an ABR.
2000-05-08 Christopher James Lahey <clahey@helixcode.com>
* gui/minicard/e-minicard.c: Added saving in minicard view.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c: Fixed an off by 2 error.
2000-05-07 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (set_prop): don't create a new
ebook. instead, unload the current uri (if there is one) and load
the new one.
(addressbook_factory): create the ebook once.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* gui/component/e-addressbook-model.c: Replaced some model_changed
calls with row_inserted calls.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c:
Removed some code that was notifying too many clients at the wrong
times.
* gui/component/addressbook.c: Set view->book. Unreffed
view->book. Unreffed the model instead of destroying it. Removed
the /tmp/test.db stuff.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Make the addressbook create the
correct file uri. Added a default query. Initialize view->model
and view->view to NULL.
* gui/component/e-addressbook-model.c,
gui/minicard/e-minicard-view.c: Only call get_book_view if both
book and query and non-null.
2000-05-06 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (control_deactivate): remove the
separator and toggle view items as well.
(toggle_view_as_cb): callback for the "/View/Toggle View" menu
item.
(get_query): getter for the query string that takes into account
the two view types.
(set_query): setter for the query string that takes into account
the two view types.
(set_book): setter for the EBook type - not really a setter, since
the book is kept in the AddressbookView, but this method actually
sets the "book" property on the current view.
(find_contact_cb): make use of get/set_query
(search_entry_activated): make use of set_query.
(control_activate): add a menu separator and an item to toggle
between view types.
(book_open_cb): make use of set_book.
(ebook_create): no longer needs to return the EBook, since we set
the book field in our view.
(teardown_minicard_view): destructor function for the minicard
specific ui.
(create_minicard_view): constructor function for the minicard
specific ui.
(teardown_table_view): destructor function for the e-table
specific ui.
(create_table_view): constructor function for the e-table specific
ui.
(change_view_type): destroy the old and create the new view ui,
change the label of the Toggle View menu item, and reset the book
and query on the new view type.
(addressbook_factory): create an all-encompassing vbox that the
view uses to create the bonobo control, which contains 1 widget
per ui specific view (the e-table in the table case, and another
vbox in the minicard case.) use change_view_type to create the
initial view.
2000-05-07 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-book.c: Made a NULL callback just mean to not
call back.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Reordered fields. Added a get_const function to get a constant
string that persists until the simple is destroyed.
* gui/component/Makefile.am: Added e-addressbook-model.c and
e-addressbook-model.h and all of the libraries and includes that
they are dependent on.
* gui/component/addressbook-factory.c: Initialize e cursors.
* gui/component/addressbook.c: Added inactive code to display an
ETable view of the addressbook.
* gui/component/e-addressbook-model.c,
gui/component/e-addressbook-model.h: New files to implement an
ETable model with a EBook back end.
2000-05-06 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Mostly finished ECardSimple.
* contact-editor/e-contact-editor.c: Changed this to match with
some of the changes to ECardSimple.
* gui/component/addressbook.c: Changed this to look for
"addressbook.db" in the given directory if it doesn't find the
file "uri".
* gui/minicard/e-minicard.c, gui/minicard/e-minicard.h: Changed
this to use ECardSimple.
2000-05-06 Chris Toshok <toshok@helixcode.com>
* gui/component/.cvsignore: ignore evolution-addressbook.pure
* gui/component/Makefile.am: add support for generating
evolution-addressbook.pure.
2000-05-06 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_load_uri): if a
port isn't specified in the uri default to 389.
2000-05-06 Christopher James Lahey <clahey@helixcode.com>
* gui/component/addressbook.c: Made this take a uri through its
property bag.
2000-05-05 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added e-card-simple.c and
e-card-simple.h.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
New card wrapper class to simplify things.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Changed e-contact-editor to use
ECardSimple a bit.
2000-05-03 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (control_deactivate): #ifdef
HAVE_LDAP the ldap specific stuff.
(null_cb): same.
(control_activate): same.
2000-05-02 Ettore Perazzoli <ettore@helixcode.com>
* backend/ebook/Makefile.am (INCLUDES): Add
`-I$(top_srcdir)/addressbook/ename'.
2000-05-02 Matt Loper <matt@helixcode.com>
* demo/Makefile.am: set G_LOG_DOMAIN.
* printing/Makefile.am: same.
2000-05-01 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-book-factory.c: Add back in the
CORBA_Object_release.
* backend/pas/pas-book.c: Properly duplicate and release the
listener passed to us.
2000-05-01 Christopher James Lahey <clahey@helixcode.com>
* backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c:
Made uri slightly better managed.
* backend/pas/pas-book-factory.c
(pas_book_factory_process_request): Remove this
CORBA_Object_release that causes things not to work. This is just
a temporary fix until we figure out what's actually wrong.
* backend/pas/pas-book.c: Fixed a copy and paste error in a warning.
2000-05-01 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Switched the subdirs order since backend depends on
ename.
2000-05-01 Larry Ewing <lewing@helixcode.com>
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_remove_client):
fix a typo in the for loop.
2000-05-01 Michael Meeks <michael@helixcode.com>
* backend/pas/pas-book-factory.c: include gtk.
2000-04-30 Federico Mena Quintero <federico@helixcode.com>
* backend/ebook/e-book-types.h (EBookStatus): Added new status
values for the IDL stuff.
* backend/pas/pas-book-factory.h (PASBookFactoryClass): New
"last_book_gone" signal.
* backend/pas/pas-book-factory.c
(pas_book_factory_launch_backend): Better error handling.
(pas_book_factory_process_queue): Let
pas_book_factory_process_request() free the request.
(pas_book_factory_process_request): Free the request here.
Perform better error handling.
(free_active_server_map_entry): Free an active server map entry;
free the URI key and unref the backend value. This function was
renamed; the old one was trying to CORBA_Object_unref() a GTK+
object!
(remove_backends_entry): Free a backend table entry; free the URI
key.
(backend_last_client_gone_cb): Remove the backend from the active
server map and emit the "last_book_gone" signal if appropriate.
(pas_book_factory_get_n_backends): New function to query the
number of running backends in an addressbook factory.
* backend/idl/addressbook.idl (BookListener::CallStatus): Added a
ProtocolNotSupported code. This is for when the addressbook
factory cannot find a provider for the requested URI.
* backend/pas/pas-backend.h (PASBackendClass): New
"last_client_gone" signal.
(PASBackendClass): New get_uri virtual method.
* backend/pas/pas-backend.c (pas_backend_load_uri): Return a
gboolean success code.
(pas_backend_add_client): Return a gboolean success code.
(pas_backend_last_client_gone): New function used by backend
implementations to notify upwards when the backend's last client
is destroyed.
(pas_backend_get_uri): New function to get the URI of a backend.
* backend/pas/pas-backend-file.c (pas_backend_file_add_client):
Pass the backend as the closure data to the "destroy" handler of
the book. We cannot call pas_book_get_backend() in the callback
since the book's private data has already been destroyed when the
callback is invoked. Alternatively, we could move the private
data destruction step to the book's ::finalize() method.
(pas_backend_file_book_destroy_cb): Get the backend from the
callback's data, not from the book.
(pas_backend_file_remove_client): Remove the book from the list of
clients. When all clients go away, call
pas_backend_last_client_gone().
(PASBackendFilePrivate): Added an uri field.
(pas_backend_file_get_uri): Implement the get_uri method.
(pas_backend_file_load_uri): Return a gboolean success code.
Also, store the URI in the private structure.
(pas_backend_file_add_client): Return a gboolean success code.
Also, call pas_backend_last_client_gone() if appropriate.
(pas_backend_file_destroy): Free the bf->priv->uri.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_add_client):
Pass the backend as the closure data to the "destroy" handler of
the book. See above for rationale.
(pas_backend_ldap_book_destroy_cb): Get the backend from the
callback's data.
(pas_backend_ldap_remove_client): Remove the book from the list of
clients. When all clients go away, call
pas_backend_last_client_gone().
(pas_backend_ldap_load_uri): Return a gboolean success code.
(pas_backend_ldap_add_client): Return a gboolean success code.
Also, call pas_backend_last_client_gone() if appropriate.
(PASBackendLDAPPrivate): New uri field.
(pas_backend_ldap_get_uri): Implement the get_uri method.
(pas_backend_ldap_load_uri): Store the uri in the private
structure.
(pas_backend_ldap_destroy): Free the bl->priv->uri.
2000-04-30 Chris Toshok <toshok@helixcode.com>
* gui/component/Makefile.am (evolution_addressbook_SOURCES): added
e-ldap-server-dialog.c
(glade_DATA): added ldap-server-dialog.glade
* gui/component/ldap-server-dialog.glade: new file.
* gui/component/e-ldap-server-dialog.h: new file.
* gui/component/e-ldap-server-dialog.c: new file, contains logic
associated with ldap server dialog.
* gui/component/addressbook.c (control_deactivate): remove the
directory server menu item.
(null_cb): do nothing callback for e_book_load_uri call. should
change to (at the very least) pop up a dialog if there was an
error.
(new_server_cb): new function - really just switches to a
particular ldap server, since the information isn't saved
anywhere.
(control_activate): add directory server menu item.
2000-04-30 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-book.c (e_book_load_uri): create the book
listener here, since it's destroyed in unload_uri.
(e_book_construct): remove the book listener construction here.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/.cvsignore: Added load-pine-addressbook.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor.c, gui/minicard/e-minicard.c: Made
some fields invisible that were visible before.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c: Make file as not have the : after it if
it's empty. If there's no name, or file_as, fill in these fields
with defaults based on full_name or name respectively.
* backend/ebook/load-pine-addressbook.c: New file to do import of
pine .addressbook files.
* backend/pas/pas-backend-file.c: Made empty fields act as the
empty string for searches.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Made the File As field update
properly as you edit the name and company fields. Added the pull
down list of File As choices. Made sure that all fields will
be set to NULL if they are deleted to the empty string.
* gui/minicard/e-minicard.c: Use the File As field instead of the
Full Name field for the header. Make identical compares on the
File As field do a compare on the uid.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor-fullname.c,
contact-editor/fullname.glade: Fixed a string mismatch.
2000-04-30 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/Makefile.am: Added ename includes and libs.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added
e_card_name_from_string. Added header for
e_card_delivery_address_from_string, even though it's not
implemented yet.
* contact-editor/Makefile.am: Removed the ename includes since we
no longer use ename directly here.
* contact-editor/e-contact-editor.c: Fixed this to properly save
the address labels displayed. Updated this to use the function
e_card_name_from_string instead of doing it by hand.
* contact-editor/fullname-strings.h,
contact-editor/fullname.glade: Deleted an unused field. Changed
the set of prefixes and suffixes.
2000-04-30 Chris Toshok <toshok@helixcode.com>
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_ensure_connected): add support for a rootdn in
the uri.
(pas_backend_ldap_build_all_cards_list): make use of the rootdn in
the call to ldap_search_s.
(pas_backend_ldap_search): same.
(pas_backend_ldap_load_uri): get the rootdn out of the passed in uri.
2000-04-29 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added
e_card_phone_new e_card_delivery_address_new,
e_card_delivery_address_to_string, e_card_name_copy,
e_card_name_new, e_card_name_to_string, and made e_card_name_free
public. Removed some unused code.
* backend/pas/pas-backend-file.c: Fixed a warning.
* contact-editor/Makefile.am: Added e-contact-editor-fullname.[ch]
and fullname.glade. Added e-name libs and includes.
* contact-editor/e-contact-editor-fullname.c,
contact-editor/e-contact-editor-fullname.h,
contact-editor/fullname-strings.h, contact-editor/fullname.glade:
New dialog for editing the fields of a name separately.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Create an
EContactEditorFullname when you click on the Full Name button.
Maintain a parsed name at all times.
* gui/component/Makefile.am, gui/minicard/Makefile.am: Added
e-name libs.
2000-04-28 Larry Ewing <lewing@helixcode.com>
* backend/pas/pas-book-factory.c (register_factory): fix the
`USING_OAF' changes so that they work for when we are not using
oaf.
2000-04-27 Ettore Perazzoli <ettore@helixcode.com>
* ename/Makefile.am
(gnome_libs): Use `BONOBO_GNOME_LIBS'.
(INCLUDES): Add `-I$(srcdir)/..'.
* backend/pas/pas-book-factory.c
(register_factory): New function to register the factory.
Implementation different according to `USING_OAF'.
(pas_book_factory_activate): Use `register_factory()'.
* gui/component/addressbook.c: New #define `CONTROL_FACTORY_ID',
varying depending on whether we are `USING_OAF'.
(addressbook_factory_init): Use `CONTROL_FACTORY_ID'.
* backend/ebook/test-client.c (init_corba): New function,
implemented differently according to the `USING_OAF' #define.
* backend/ebook/e-book.c: New #define `CARDSERVER_OAF_ID'.
(e_book_construct): Work with OAF #if `USING_OAF'.
* backend/ebook/Makefile.am (gnome_libs): Removed.
(corbadir): Removed.
(ebook_libs): Removed.
(test_client_LDADD): Just add `libebook.la'.
(test_card_LDADD): Likewise.
(test_client_list_LDADD): Likewise.
* gui/component/addressbook-factory.c
(init_corba): New helper function, implemented differently
according to `USING_OAF'.
(main): Call `init_corba()'.
2000-04-27 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added file as,
office, manager, assistant, spouse, and anniversary fields. These
all use "X-EVOLUTION-" fields in the VCards.
* backend/pas/pas-backend-file.c: Added all the new fields (except
anniversary) to the list of fields.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Fixed some misnamed
fields and fixed the placement of the comments field.
* contact-editor/e-contact-editor.c: Made the newly added fields
display properly.
* Makefile.am: Added ename.
* ename/e-name-western.h, ename/test-ename-western-gtk.c,
ename/test-ename-western.c: Fixed up some #includes.
* ename/.cvsignore: Added .cvsignore.
2000-04-26 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-types.h, backend/ebook/e-card.c,
backend/ebook/e-card.h: Added an address label field.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Got rid of some unused
fields.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Added the address label field.
Load only. Editing these fields seems to mess things up.
2000-04-26 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c: Added proper handling of the
email field.
2000-04-26 Christopher James Lahey <clahey@helixcode.com>
* backend/ebook/e-card-types.h, backend/ebook/e-card.c,
gui/minicard/e-minicard.c: Prefixed the ADDR_ flags.
* contact-editor/contact-editor.glade,
contact-editor/e-contact-editor-strings.h: Edited the glade file.
Removed all the fields that we don't use.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h: Made the phone fields work
properly. The address and email fields are temporarily turned off
until they can be made to work as the phone fields do.
2000-04-25 Ettore Perazzoli <ettore@helixcode.com>
* gui/minicard/Makefile.am (INCLUDES): Use
`$(BONOBO_GNOME_CFLAGS)'.
* backend/pas/Makefile.am (idl_flags): Add `-I $(datadir)/idl' to
pick up IDL files in the installation prefix as well.
(INCLUDES): Use `$(BONOBO_GNOME_CFLAGS)'.
* backend/ebook/Makefile.am (ORBIT_IDL): Use `-I $(datadir)/idl'
to get the IDLs from the installation prefix as well.
(INCLUDES): Add `$(BONOBO_GNOME_CFLAGS)'.
(test_client_LDADD): Use `$(BONOBO_GNOME_LIBS)' instead of
hardcoding `-lbonobo'! Also get rid of some other useless flags,
as `$(BONOBO_GNOME_LIBS)' really has all what we need.
(test_client_list_LDADD): Likewise.
(test_card_LDADD): Likewise.
2000-04-18 Federico Mena Quintero <federico@helixcode.com>
* gui/minicard/Makefile.am (INCLUDES): Use "e-minicard" as the log
domain.
* gui/component/Makefile.am (INCLUDES): Use
"evolution-addressbook" as the log domain.
* backend/pas/Makefile.am: Build libpas.a, not a shared library.
Do not install any header files.
(INCLUDES): Remove spurious include paths.
* backend/pas/*.[ch]: Fix includes.
* backend/ebook/Makefile.am: Do not install the test programs.
Fixed some include weirdness.
* backend/ebook/*.[ch]: Fix includes.
* contact-editor/Makefile.am (INCLUDES): Set the log domain to
"contact-editor".
(INCLUDES): Fix.
* contact-editor/*.[ch]: Fix includes.
* gui/minicard/*.[ch]: Fix includes.
* ChangeLog: Started a ChangeLog here.
|