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
|
2007-03-23 Alberto Mardegan <alberto.mardegan@nokia.com>
* doc/reference/libmissioncontrol-server/tmpl/*.sgml:
Automatic update.
* configure.ac, libmissioncontrol/mc-profile.c,
src/mcd-chan-handler.c:
Move to XDG compliant directory location for Telepathy data files.
2007-03-21 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-account-monitor.c:
Make clear in documentation that the account name passed with the
McAccountMonitor signals is not the display name.
* src/mcd-manager.c:
Fix possible critical messages.
* Makefile.am, configure.ac, doc/Makefile.am,
libmissioncontrol/Makefile.am, src/Makefile.am, tools/*, xml/*:
Build MissionControl D-Bus interface documentation from the embedded
docstrings found in D-Bus service XML file.
2007-03-21 Naba Kumar <naba.kumar@nokia.com>
* autogen.sh: Added autogen script
2007-03-16 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-profile.c:
Gracefully handle the lack of a Capabilities field in the .profile
config file.
* configure.ac:
Use the autotools' "datadir" variable to determine the location of the
profiles.
2007-03-14 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* doc/*:
Move libmissioncontrol documentation to a subdirectory and setup a
tree for libmissioncontrol-server docs.
2007-03-14 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac: Version 4.18.
* src/mcd-dispatcher-context.h, src/mcd-dispatcher.c:
Rewrite filter API to allow single filter registration and execution
priority.
2007-03-13 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-mission.c, src/mcd-controller.c, src/mcd-chan-handler.c,
src/mcd-connection.c, src/mcd-operation.c, src/mcd-service.c,
src/mcd-channel.c, src/mcd-manager.c, src/mcd-proxy.c,
src/mcd-dispatcher.c, src/mcd-debug.c,
src/mcd-master.c, src/mcd-presence-frame.c: Added API section docs.
2007-03-13 Alberto Mardegan <alberto.mardegan@nokia.com>
Patch from Xavier Claessens:
* src/mcd-channel.c, src/mcd-connection.c:
Apply patch from Xavier Claessens to make MC server build with
gcc 4.x.
2007-03-12 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-account-cli.c,
libmissioncontrol/mc-account.[hc], libmissioncontrol/mc-manager.[hc],
libmissioncontrol/mc-profile.[hc], libmissioncontrol/mc-protocol.[hc],
libmissioncontrol/test.c:
Deprecate mc_{account,profile,protocol,manager}_free() and substitute
them with g_object_unref().
* libmissioncontrol/mc-account.c:
Correct documentation: mc_account_lookup*() does increment the
reference count.
2007-03-09 Naba Kumar <naba.kumar@nokia.com>
* configure.ac: Version 4.17.
* configure.ac, server/Makefile.am: Fixed server conditional build
and simplified enable args.
* configure.ac: Removed date from version number.
* test/Makefile.am, configure.ac, server/Makefile.am,
Makefile.am: Fixed conditional build of server and test.
2007-03-09 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac, server/Makefile.am,
server/com.nokia.chavo.mission_control.service.in,
server/org.freedesktop.Telepathy.MissionControl.service.in,
xml/mcd-dbus-services.xml, libmissioncontrol/mission-control.h,
src/mcd-service.c:
Change DBus paths to org.freedesktop.Telepathy.MissionControl.
* Makefile.am, com.nokia.chavo.mission_control.service.in,
configure.ac, server/Makefile.am, test/Makefile.am, test/mc-server.c:
Moving mc-server into a separate directory, and add a configure switch
to install it as the mission-control server. Move the DBus service
file to the same directory.
2007-03-05 Naba Kumar <naba.kumar@nokia.com>
* configure.ac, debian/changlog: Bumped version to 4.16.
* (removed) LICENSE: Removed because it is redundant with COPYING file.
* test/mc-server.c, test/mc-client.c, debian/copyright,
src/mcd-master.h, src/mcd-presence-frame.h, src/mcd-mission.c,
src/mcd-controller.c, src/mcd-chan-handler.c, src/mcd-mission.h,
src/mcd-controller.h, src/mcd-chan-handler.h, src/mcd-connection.c,
src/mcd-operation.c, src/mcd-service.c, src/mcd-connection.h,
src/mcd-operation.h, src/mcd-service.h, src/mcd-channel.c,
src/mcd-manager.c, src/mcd-channel.h, src/mcd-dispatcher-context.h,
src/mcd-manager.h, src/mcd-proxy.c, src/mcd-main.c,
src/mcd-dispatcher.c, src/mcd-debug.c, src/mcd-proxy.h,
src/mcd-dispatcher.h, src/mcd-debug.h, src/mcd-master.c,
src/mcd-presence-frame.c, COPYING, libmissioncontrol/mc-protocol.c,
libmissioncontrol/mc-account.h, libmissioncontrol/mc-account-cli.c,
libmissioncontrol/mc.c, libmissioncontrol/mission-control.c,
libmissioncontrol/mc-account-monitor-priv.h,
libmissioncontrol/mc-profile.h, libmissioncontrol/mc-protocol.h
libmissioncontrol/mc.h, libmissioncontrol/mission-control.h,
libmissioncontrol/mc-manager.c, libmissioncontrol/mc-manager.h,
libmissioncontrol/mc-account-priv.h,
libmissioncontrol/mc-account-monitor.c, libmissioncontrol/test.c,
libmissioncontrol/mc-protocol-priv.h,
libmissioncontrol/mc-account-monitor.h, libmissioncontrol/mc-account.c,
libmissioncontrol/mc-manager-priv.h, libmissioncontrol/mc-profile.c:
Set lisence to LGPL.
2007-03-02 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
Version 4.15.
* libmissioncontrol/mc-account-monitor.c:
Don't emit notifications when the avatar token changes; "avatar_id" is
the key to be monitored.
* libmissioncontrol/mc-account-priv.h:
* libmissioncontrol/mc-account.[hc]:
* src/mcd-connection.c:
Introduce a new GConf key for the accounts, "avatar_id", which is
meant to change whenever the avatar image changes.
2007-02-28 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 4.14.
* libmissioncontrol/mission-control.c:
* xml/mcd-dbus-services.xml:
Make the D-Bus methods store the presence in an unsigned integer.
* libmissioncontrol/mc-account.c:
* src/mcd-connection.c:
Implement clearing of avatars.
* configure.ac:
* debian/control:
* libmissioncontrol/mission-control.[hc]:
* src/mcd-channel.[hc]:
* src/mcd-connection.c:
Support for libtelepathy version 0.0.50.
2007-02-23 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-account-monitor.c:
After emitting the "account-created" signal, check if the account is
already enabled and, in case, emit "account-enabled".
2007-02-16 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-account.c:
Make sure all the data has been flushed into the GConf DB before
enabling an account.
* configure.ac:
* debian/changelog:
Version 4.13.
* libmissioncontrol/mc-account.c:
Create account data directory if it not exists.
* src/mcd-connection.[hc], src/mcd-master.c:
Monitor account changes and call mcd_connection_account_changed() to
update the avatar.
* src/mcd-connection.c:
Connect the "destroy" signal only after making sure the proxy is
valid.
2007-02-14 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 4.12.
* configure.ac:
* src/mcd-chan-handler.c:
Make the channel handler location path configurable.
* src/Makefile.am:
* src/mcd-service.c:
Set a prefix when calling dbus-binding-tool.
* configure.ac:
* debian/changelog:
Version 4.11.
2007-02-13 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-account.c:
Fix typo in accessing the GConf key.
2007-02-07 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 4.10.
2007-02-06 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-account-monitor.h:
Add include guards.
* src/mcd-channel.[hc]:
Add mcd_channel_get_name() for getting the Telepathy name of the
channel.
2007-02-02 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-account.c:
* src/mcd-connection.c:
Allow setting NULL as avatar filename.
2007-01-31 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-account.[hc]:
* libmissioncontrol/mc-profile.[hc]:
Remove deprecated *_supports_invisible() APIs.
* libmissioncontrol/test.c:
* src/mcd-master.c:
Use new APIs for testing if invisible presence is supported.
2007-01-30 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 4.9.
* libmissioncontrol/mc-account.c:
Avoid duplicating code too much.
* libmissioncontrol/mc-account.[hc]:
Add mc_account_set_avatar_mime_type() (only for MC).
* libmissioncontrol/mission-control.c:
Implement D-Bus call to MC's RemoteAvatarChanged method.
* src/mcd-connection.[hc], src/mcd-dispatcher.h, src/mcd-master.[hc],
src/mcd-service.c, xml/mcd-dbus-services.xml:
Implement remote_avatar_changed method, for retrieving our own avatar.
* libmissioncontrol/mc-account.c:
Fix avatar copy function, unset token when setting the avatar.
2007-01-29 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 4.8.
* src/mcd-connection.c:
Set the avatar when connecting.
* libmissioncontrol/mc-account.[hc]:
Add mc_account_set_avatar_token(), to be used by MC when updating the
avatar.
* libmissioncontrol/mc-profile.[hc]:
Add "supports-avatars" capability to profiles.
* configure.ac:
Allow setting the account data base directory.
* libmissioncontrol/mc-account-priv.h:
* libmissioncontrol/mc-account.c:
Implement mc_account_{get,set}_avatar() APIs. On account
creation/deletion, create/delete the account data directory.
2007-01-26 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mission-control.[hc]:
Add a TpConn parameter to mission_control_remote_avatar_changed API.
* doc/reference/mission-control-sections.txt:
* doc/reference/tmpl/mc-account.sgml:
* doc/reference/tmpl/mission-control.sgml:
* libmissioncontrol/mc-account.[hc]:
* libmissioncontrol/mission-control.[hc]:
Stubs for new APIs: mc_account_{set,get}_avatar() for setting/getting
the account avatar in GConf, and
mission_control_remote_avatar_changed() method for signalling that the
own avatar has been changed in the server.
2007-01-23 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 4.7.
* src/mcd-connection.c: (on_presence_requested):
Disconnect the connection before closing it.
2007-01-22 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 4.6.
* src/mcd-connection.[hc]:
* src/mcd-manager.c:
When disabling accounts, emit the AccountStatusChanged signal with the
reason "requested". Fixes NB#50067.
* libmissioncontrol/mission-control.c:
Don't make a D-Bus call whenever we want to know if MC is running.
* libmissioncontrol/mission-control.c:
Don't register a D-Bus filter for every instance; instead, install
only a global filter and maintain a list of the objects which must be
notified of the "ServiceEnded" signal.
2007-01-19 Alberto Mardegan <alberto.mardegan@nokia.com>
* doc/reference/mission-control-sections.txt:
* doc/reference/tmpl/mission-control-unused.sgml:
* doc/reference/tmpl/mission-control.sgml:
* libmissioncontrol/mission-control.h:
Documentation updates.
* libmissioncontrol/mission-control.c:
Added mission_control_free_account_statuses() API to free the array of
the account states returned in the callback function of
mission_control_get_current_status().
2007-01-18 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 4.5.
* libmissioncontrol/mc-account-monitor.h:
Make apps which use only McAccountMonitor compile.
2007-01-18 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 4.4.
* libmissioncontrol/mc-account.c: (_add_one_setting):
Add support for 32-bit integer parameters.
* libmissioncontrol/mission-control.[hc]:
* src/mcd-service.c:
* xml/mcd-dbus-services.xml:
Added a new method, mission_control_get_current_status(), for querying
the global status of MC: presence, connection status, and all
accounts' states too.
* src/mcd-connection.c: (_mcd_connection_setup):
Fix possible memleak.
* src/mcd-manager.c: (_find_connection_by_path):
Fix possible segfault.
2007-01-17 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-account.h:
* libmissioncontrol/mc-profile.[hc]:
Mark some functions as deprecated, and remove some unused code.
* libmissioncontrol/mc-account-monitor.[hc]:
Add new API mc_account_monitor_get_supported_presences() for listing
all presences supported in any account.
* libmissioncontrol/Makefile.am:
* libmissioncontrol/mc-account.[hc]:
* libmissioncontrol/mc-profile.[hc]:
* libmissioncontrol/mission-control.h:
Add new APIs in McAccount and McProfile for retrieving the supported
presences, and to test if one presence state is supported.
2007-01-11 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 4.3.
* libmissioncontrol/mission-control.[hc]:
Let the ..._request_channel() method return an operation id to be used
for cancelling the channel request.
2007-01-11 Naba Kumar <naba.kumar@nokia.com>
* src/*.[ch], libmissioncontrol/*.[ch], test/*.[ch], debian/copying,
COPYING, LICENSE: Updated license headers.
2007-01-10 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 4.2.
2007-01-09 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-profile.c:
* src/mcd-channel.c:
* src/mcd-connection.c:
* src/mcd-debug.c:
* src/mcd-dispatcher.c:
* src/mcd-master.c:
* src/mcd-service.c:
Memleak hunting!
* libmissioncontrol/mc-account-cli.c:
* libmissioncontrol/mc-account.[hc]:
* libmissioncontrol/mission-control.c:
* libmissioncontrol/test.c:
Rewritten McAccount's API: now the mc_account_get_{unique,display,
normalized}_name() functions return a const string, not to be freed.
2007-01-05 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/rules:
* libmissioncontrol.pc.in:
* libmissioncontrol/mc-profile.c:
Turn the profiles' directory into a configure switch, and make it
available in pkg-config too.
* src/mcd-master.c:
Implement "default-presence" property.
2007-01-04 Naba Kumar <naba.kumar@nokia.com>
* src/*.[ch], libmissioncontrol/*.[ch], test/*.[ch], debian/copying,
COPYING: Added license headers.
2007-01-04 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-master.[hc]:
Add a method for setting the default presence, instead of retrieving
it from a hardcoded GConf key.
* src/mcd-dispatcher.c:
* src/mcd-master.c:
* src/mcd-proxy.c:
Correct object disposal so all reference counts end up at zero.
2007-01-03 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-chan-handler.c:
Remove unnecessary parameters, use g_error() for reporting errors and
aborting.
2007-01-02 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mission-control.[hc]:
Make the operation_id counter a static variable, since it must be
unique in the context of a process. Remove its usage in functions
which are not supposed to be cancelled.
* Makefile.am:
* configure.ac:
* test/Makefile.am:
* test/mc-server.c:
Create a client and a server basic test applications.
* libmissioncontrol/mission-control.c:
Don't use a negative value for indicating an error in the connection
status.
* configure.ac:
* debian/changelog:
Version 4.1.
* libmissioncontrol/mission-control.c:
Don't free the GError after the callback invocation; let the callback
handler take care of it.
* src/mcd-service.c:
Free error after calling dbus_g_method_return_error().
* libmissioncontrol/mission-control.[hc]:
Make mission_control_cancel_channel_request return a gboolean.
2006-12-29 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c:
Remove unused properties.
* src/mcd-channel.c:
* src/mcd-connection.c:
Since libtelepathy doesn't synthesize the StatusChanger and Closed
signals, take care of proxy destruction by monitoring the "destroy"
signal.
2006-12-28 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-channel.h, src/mcd-connection.[hc], src/mcd-manager.[hc],
src/mcd-master.[hc], src/mcd-service.c:
Unify request_channel and request_channel_with_string_handle
implementations, removing some duplicate code.
* doc/reference/tmpl/mission-control.sgml:
* libmissioncontrol/mc-account-monitor.c:
* libmissioncontrol/mission-control.c:
Don't emit the "Error" signal if MC is not running (the error is being
reported by the API anyway). Some documentation updates.
* src/mcd-service.c:
* xml/mcd-dbus-services.xml:
Remove the CancelLastRequest call completely.
2006-12-27 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mission-control.[hc]:
Modify all synchronous functions by adding a GError parameter and
removing the "Error" signal. Modify asynchronous functions, and add a
callback function for error reporting.
2006-12-19 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c:
Reset the abort reason when reconnecting. Don't use the "network
error" reason when we don't know the real reason for an early
disconnection. Fixes NB#50067.
* doc/mc-dbus-iface.html:
D-Bus docs updated.
* libmissioncontrol/mission-control.[hc]:
Removed mission_control_cancel_last_request() API, and all related
code.
2006-12-18 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_status_changed_cb):
Initiate auto-reconnection even in the case where we get disconnected
with no reason specified. Fixes NB#42727.
* src/mcd-connection.c: (_mcd_connection_setup):
If opening a new Telepathy connection fails, set the account status to
disconnected. This will help the clients to notify the user that we
couldn't connect, and also eliminates some critical warnings.
2006-12-15 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Releasing version 4.0.
* libmissioncontrol/mission-control.c:
Emit Error signal whenever needed.
* src/mcd-service.c:
Correctly set up so that errors will be shown as g_warnings.
* configure.ac, debian/changelog,
libmissioncontrol/mission-control.c,
src/mcd-connection.c, src/mcd-manager.c:
Merge in all changes till version 3.17.
* libmissioncontrol/mission-control-signals-marshal.list,
libmissioncontrol/mission-control.[hc], src/mcd-channel.[hc],
src/mcd-connection.[hc], src/mcd-manager.[hc], src/mcd-master.[hc],
src/mcd-service.c, src/mcd-signals-marshal.list,
xml/mcd-dbus-services.xml:
Rewrite the D-Bus interface: remove the client-pid and serial
parameters from most calls, and instead consider the sender of the
D-Bus calls.
Turn the request_channel* functions into async calls.
2006-12-12 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.15.
2006-12-11 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_set_presence):
Add the weak pointer only after we are sure it's not NULL.
2006-12-08 Alberto Mardegan <alberto.mardegan@nokia.com>
* doc/reference/Makefile.am:
* doc/reference/mission-control.types:
Support for signals documentation.
* libmissioncontrol/mc-manager.c, libmissioncontrol/mc-profile.c,
libmissioncontrol/mc-protocol.c, libmissioncontrol/mc-protocol.h,
doc/reference/tmpl/*:
Add some API documentation.
2006-12-07 Alberto Mardegan <alberto.mardegan@nokia.com>
* debian/rules, libmissioncontrol/mc-account-monitor.c,
libmissioncontrol/mc-account.c, libmissioncontrol/mc.c,
libmissioncontrol/mission-control.c:
Documenting MC API.
* configure.ac:
* debian/changelog:
Version 3.14.
* src/mcd-presence-frame.c: (mcd_presence_frame_disconnect),
(mcd_presence_frame_class_init):
When we get disconnected, clear the requested presence.
Fixes NB#49144.
2006-12-05 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_release_tp_connection):
Set the account status to disconnected, regardless whether the
Telepathy connection is there or not.
* src/mcd-service.c:
Reintroduce the handler for the status-actual signal from
McdPresenceFrame, but now exit only if there are no connections;
connections in disconnected state will prevent MC from exiting, since
they are supposed to be trying tor reconnect.
* src/mcd-connection.c: (_mcd_connection_status_changed_cb),
(_mcd_connection_setup):
Set the account status to "connecting" as soon as the connection gets
disconnected because of network error.
* doc/mc-dbus-iface.html, libmissioncontrol/mission-control.c,
src/mcd-service.c, src/mcd-signals-marshal.list,
xml/mcd-dbus-services.xml:
Add the last requested presence as a parameter for the StatusActual
DBus signal.
2006-12-04 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c:
Instead of a fixed interval timer for reconnection, double the time at
every attempt (but make it no longer than half a hour anyway).
* src/mcd-connection.c:
If the connection is disconnected, don't abort it; instead, set up a
timer and try to reconnect it later. Fixes NB#49028.
* src/mcd-connection.c:
Don't leave the interface proxies around: store them as weak pointers.
* src/mcd-service.c:
Don't shutdown when the presence goes offline, since the cause could
be a network error.
Don't shutdown when status-actual signal is emitted with DISCONNECTED
state (again, could be a network error); remove the _on_status_actual
signal handler.
Instead, shutdown when McdService gets disconnected.
* src/mcd-manager.c:
Remove the on_account_status_changed() handler from Mcdmanager, since
it was useless (it was called when the connection had already been
removed).
2006-12-01 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mission-control.c:
* libmissioncontrol/mission-control.h:
Move gtk-doc comments from .h to .c and clean them up.
2006-11-30 Alberto Mardegan <alberto.mardegan@nokia.com>
* Makefile.am:
* configure.ac:
* doc/*:
Add initial support for gtk-doc.
* xml/mcd-dbus-services.xml:
Naming all input parameters.
* doc/mc-dbus-iface.html:
Including short HTML documentation of the DBus MC interface.
2006-11-29 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.13.
* libmissioncontrol/mission-control.[ch], src/mcd-service.c,
xml/mcd-dbus-services.xml:
Implement the StatusActual signal. Fixes NB#42727.
2006-11-28 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.12.
2006-11-24 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-master.c: (_mcd_master_init_account_monitoring),
(_mcd_master_dispose_account_monitoring), (_mcd_master_dispose):
Remove unused variables and release the account monitor on McdMaster
disposal.
2006-11-22 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-master.c, src/mcd-master.h, src/mcd-service.c,
xml/mcd-dbus-services.xml:
Remove channel usage count test for determining whether to go
automatically offline. Instead, rewrite the
connect-all_with_default_presence() method to make it asyncronous and
store the DBus sender strings to determine if the processes which
requested the default presence are alive; if they are all dead, switch
back to offline presence (unless the user manually switched it to
online).
2006-11-20 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-profile.c: (_mc_profile_load):
Retrieve localized display name for the profile. Fixes NB#47596.
2006-11-20 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mission-control.c:
(mission_control_cancel_last_request):
Since cancel_last_request is broken, but someone might still be using
it, make it call cancel_last_channel_request.
* src/mcd-connection.c: (_mcd_connection_get_normalized_name),
(_mcd_connection_status_changed_cb):
When the connection is established, inspect the self handle and set
the normalized name into the account.
2006-11-17 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.11.
* libmissioncontrol/mc-account-priv.h:
* libmissioncontrol/mc-account.c: (mc_account_get_normalized_name),
(mc_account_set_normalized_name):
* libmissioncontrol/mc-account.h:
Add mc_account_{get,set}_normalized_name() to the API.
* libmissioncontrol/mission-control.c: (mission_control_new):
Don't listen to every dbus message, but only to NameOwnerChange.
* libmissioncontrol/mission-control.c,
libmissioncontrol/mission-control.h, src/mcd-connection.c,
src/mcd-connection.h, src/mcd-manager.c, src/mcd-manager.h,
src/mcd-master.c, src/mcd-master.h, src/mcd-service.c,
xml/mcd-dbus-services.xml:
Introduce new API: mission_control_cancel_channel_request() for
cancelling a channel request identified by the operation_id now
returned by mission_control_request_channel_with_string_handle().
2006-11-15 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c:
Completely rewritten presence implementation. Correctly handles all
telepathy well-known statuses and uses much less memory.
2006-11-14 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-manager.c: (_mcd_manager_nuke_connections):
Reset the error to NULL, or there'll be problem on the next iteration
of the loop.
2006-11-13 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.10.
* src/mcd-manager.c: (on_presence_requested),
(mcd_manager_request_channel_with_string_handle):
* src/mcd-master.c:
(mcd_master_request_channel_with_string_handle):
* src/mcd-service.c:
(mcd_service_request_channel_with_string_handle):
Make sure we go online before attempting to request a channel.
Fixes NB#47136.
2006-11-10 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mission-control.c: (dbus_filter_func),
(mission_control_dispose), (mission_control_class_init),
(mission_control_new):
Implemented "ServiceEnded" signal: this will be emitted whenever a
mission-control process terminates.
2006-11-09 Naba Kumar <naba.kumar@nokia.com>
* libmissioncontrol/mc-account-cli.c: Fixed account addition and
removal. Changed how parameters are specified.
2006-11-09 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.9.
* libmissioncontrol/mc-account-cli.c: (show_help), (main):
Correct program name in mc-account help screen.
* src/mcd-dispatcher.c: (_mcd_dispatcher_send):
Was still using "suppress-handler" property of McdChannel; change it
to "outgoing". Fixes NB#46811.
2006-11-03 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-operation.c: (_mcd_operation_take_mission):
When reparenting, inherit all possible statuses from the parent
mission.
2006-11-03 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.8.
* src/mcd-operation.c: (_mcd_operation_take_mission):
Inherit the "connected" status from the parent mission.
2006-11-03 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-connection.c: Remove timer and idle sources
when connection object is destroyed. Fixes bug #46307
2006-11-03 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* libmissioncontrol/mc-account.c: (_account_name_from_key):
* libmissioncontrol/test.c: (test_mc_account_list),
(test_account_monitor), (main):
Fix compilation warnings.
2006-11-02 Naba Kumar <naba.kumar@nokia.com>
* libmissioncontrol/mc-account-priv.h,
libmissioncontrol/mc-account-monitor.c,
libmissioncontrol/mc-account.c: Emit account-created signal
only when the account is 'complete' and do not enable
the account by default (let the accounts creation wizard
enable it when it is finished creating the account). Only
mark deleted accounts by a 'deleted' flag so that the account
is still usabled/accesible after deletion and set up a timer
to expunge deleted accounts after 2 secs. mc_accounts_list()
will now only return 'complete' accounts and not anything that
is found in gconf database. Accounts that have been marked
deleted are considered incomplete. Fixes NB#46297
* configure.ac, debian/control: Bumped version to 3.7
2006-11-01 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-channel.c: (_mcd_channel_dispose):
* src/mcd-operation.c: (_mcd_operation_dispose),
(_mcd_operation_remove_mission):
Clean some more debug messages.
* src/mcd-debug.c: (mcd_debug_get_level):
* src/mcd-debug.h:
Add mcd_debug_get_level() function.
* configure.ac:
* debian/changelog:
Version 3.6.
* debian/rules:
Compile with G_DISABLE_CAST_CHECKS.
* configure.ac:
Add independent configure flags for checks/cast checks/asserts.
* src/mcd-debug.c: (mcd_debug_ref), (mcd_debug_unref),
(mcd_debug_print_tree), (mcd_debug_init):
* src/mcd-debug.h:
Introduce a MC_DEBUG environment variable to turn on/off some
debugging informations.
2006-10-31 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mc-profile.c: (mc_profile_get_unique_name),
(mc_profile_get_configuration_ui), (mc_profile_get_display_name),
(mc_profile_get_icon_name), (mc_profile_get_branding_icon_name),
(mc_profile_get_supports_invisible), (mc_profile_get_protocol),
(mc_profile_get_protocol_name), (mc_profile_get_vcard_field),
(mc_profile_get_default_account_domain),
(mc_profile_is_default_for_vcard_field),
(mc_profile_get_capabilities), (mc_profile_get_default_setting):
Take out the calls to _mc_profile_load() from g_return* checks, since
we want it to be executed anyway.
* configure.ac:
Allow disabling of GLIB checks (G_DISABLE_ASSERT, G_DISABLE_CHECKS).
2006-10-27 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-dispatcher-context.h:
* src/mcd-master.c: (mcd_master_set_offline_on_idle):
Minor cleanups, removed some unnecessary code.
2006-10-26 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_release_tp_connection):
Removed some unused code about contacts' precences.
2006-10-25 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.5.
2006-10-24 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-manager.c: (abort_requested_channel),
(abort_requested_channels), (on_presence_requested):
If mission-control is going online because of some channel request
and the user cancels the connectivity setup, we must notify the UI
about these requested channels being aborted (fixes NB#43666).
* libmissioncontrol/mc-account.c: (mc_accounts_list):
Removed duplicate call to _mc_account_monitor_list() (fixes NB#39642).
2006-10-23 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.4.
* src/mcd-master.c: (mcd_master_set_default_presence):
Avoid setting the default presence if we are disconnected but a
presence has already been requested (fixes #44124).
* src/mcd-connection.c: (presence_str_to_enum),
(_mcd_connection_set_fallback_presences),
(_mcd_connection_presence_enable), (_mcd_connection_set_presence):
Remodel the presence fallback structure, and return the actually
selected presence in the AccountStatusChanged signal (fixes #42138).
* src/mcd-presence-frame.c:
(_mcd_presence_frame_update_actual_presences),
(_mcd_presence_frame_update_actual_presence):
Correct the way the actual presence is computed.
2006-10-20 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_new_channel_cb),
(on_capabilities_changed), (on_channel_capabilities_timeout),
(on_capabilities_timeout), (_mcd_connection_setup_capabilities),
(_mcd_connection_status_changed_cb),
(mcd_async_request_chan_callback),
(mcd_async_request_handle_callback):
Wait for capabilities: if a call fails within 5 seconds from the
connection establishment, wait for the contact's CapabilitiesChanged
signal and try again in case we receive any (fixes #36260).
For outgoing channels, ignore the NewChannel handler; instead, perform
the channel creation when the RequestChannel method returns.
* src/mcd-connection.c: (on_channel_capabilities_timeout),
(map_tp_error_to_mc_error), (mcd_async_request_chan_callback):
Report MC_CONTACT_DOES_NOT_SUPPORT_VOICE_ERROR only for StreamedMedia
channels (better fix for #43777).
2006-10-20 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.3.
* libmissioncontrol/makefile.am:
Fix libmissioncontrol-config library version.
2006-10-19 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.2.
* src/mcd-channel.c: (_mcd_channel_set_property),
(_mcd_channel_get_property), (mcd_channel_class_init),
(mcd_channel_new):
* src/mcd-channel.h:
* src/mcd-connection.c: (_mcd_connection_new_channel_cb),
(mcd_connection_request_channel),
(mcd_connection_request_channel_with_string_handle):
* src/mcd-dispatcher.c: (_mcd_dispatcher_enter_state_machine):
Substitute the "suppress-handler" property from McdChannel with
"outgoing" and handle it accordingly.
Ignore unexpected NewChannel signals which have the suppress_handler
flag set (fixes #43446).
* src/mcd-dispatcher.c:
Fix some crashes that happened randomly when the channel was closed
shortly after creation.
* src/mcd-connection.c: (map_tp_error_to_mc_error):
Fix error code returned to the UI in case of missing capabilities
(fixes #43777).
2006-10-18 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-channel.c: (mcd_channel_new):
* src/mcd-channel.h:
Use TelepathyConnectionHandleType instead of guint.
* src/mcd-master.c: (_on_dispatcher_channel_removed),
(mcd_master_set_offline_on_idle):
Don't go offline if channels other than text/streamed are closed.
2006-10-18 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 3.1.
2006-10-18 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_new_channel_cb),
(mcd_async_request_handle_callback):
Rewritten the check for existing channels: compare the channel type,
and not the channel handle type (fixes #43422).
* libmissioncontrol/mc-account-priv.h:
Revert the accounts path back to "/apps/telepathy/mc/accounts".
2006-10-18 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-master.c: (mcd_master_get_online_connection_names):
Add a NULL pointer at the end of the connection names array (fixes
#43192).
2006-10-17 Naba Kumar <naba.kumar@nokia.com>
* libmissioncontrol/mc-account-priv.h: Fixed account gconf path.
* libmissioncontrol/mc-*.[ch]: Moved accounts/profiles/managers code
in libmissioncontrol.
* Makefile.am, src/Makefile.am, libmissioncontrol/Makefile.am,
xml/Makefile.am: Fixed Makefile.am files for proper installation and
packaging.
* configure.ac: Removed dependency on account library.
* libmissioncontrol.pc.in: Updated library flags.
* libmissioncontrol/mission-control.[ch], src/*.[ch]: Updated to use
new accounts api.
2006-10-13 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-channel.c: (on_channel_members_changed),
(mcd_channel_new):
* src/mcd-connection.c: (_mcd_connection_presence_enable),
(_mcd_connection_new_channel_cb), (_mcd_connection_finalize),
(_mcd_connection_release_tp_connection):
* src/mcd-dispatcher.c: (mcd_dispatcher_get_channel_type_usage):
* src/mcd-manager.c: (on_presence_requested),
(_mcd_manager_finalize):
* src/mcd-mission.c: (_mcd_mission_set_mode), (_mcd_set_property):
* src/mcd-operation.c: (_mcd_operation_remove_mission):
* src/mcd-service.c: (_on_dispatcher_channel_removed),
(_on_dispatcher_channel_dispatched):
Remove some g_debug()s.
2006-10-11 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 2.6.
2006-10-10 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-channel.c: (_mcd_channel_release_tp_channel):
Don't close Telepathy Contact List channels.
* src/mcd-master.c:
(mcd_master_request_channel_with_string_handle):
Make sure the connectivity is up (or has been requested) before
attempting to request a channel (fixes #42822).
2006-10-09 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version 2.5.
2006-10-09 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-channel.c: (mcd_channel_class_init):
* src/mcd-connection.c: (mcd_async_request_handle_callback):
* src/mcd-dispatcher.c: (_mcd_dispatcher_handle_channel_async_cb),
(channel_on_state_machine), (_mcd_dispatcher_send):
If the requested channel is already open, return it (works for both
incoming and outgoing channels).
2006-10-06 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-manager.c: (_mcd_manager_set_presence_frame),
(_mcd_manager_dispose), (_mcd_manager_set_property):
Move the setting of the "presence-frame" property to a separate
function, since beacuse of the G_PARAM_CONSTRUCT_ONLY flag we were
not allowed to set it via a g_object_set().
2006-10-06 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-proxy.c: (mcd_proxy_class_init):
Set McdProxy as a subclass of McdOperation.
Install "proxy-object" property.
* src/mcd-master.c: (_mcd_master_dispose), (mcd_master_init):
Create a proxy for forwarding McdMission signals to the McdDispatcher
and McdPresenceFrame.
2006-10-05 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-dispatcher.c: (_mcd_dispatcher_handle_channel_async_cb),
(mcd_dispatcher_init):
Moved away all mode-setting stuff into the filters.
2006-10-05 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Releasing MC 2.4.
2006-10-05 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-master.c: (mcd_master_set_default_presence):
Conditions rewritten for better consistency.
2006-10-05 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-master.c: (mcd_master_set_default_presence):
Don't allow setting the default presence if a presence
has already been requested.
2006-10-04 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Releasing version 2.3
2006-10-04 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-chan-handler.c: (_mcd_channel_handler_packer),
(_mcd_channel_handlers_read_conf_files):
* src/mcd-chan-handler.h:
* src/mcd-connection.c: (_mcd_connection_advertise_capabilities),
(_mcd_connection_status_changed_cb):
* src/mcd-dispatcher.c: (_mcd_dispatcher_finalize),
(_build_channel_capabilities), (mcd_dispatcher_init),
(mcd_dispatcher_get_channel_capabilities):
* src/mcd-dispatcher.h:
Added support for channel handlers' capabilities.
2006-10-04 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-dispatcher.c: (_mcd_dispatcher_remove_channel_watch),
(mcd_dispatcher_init):
Removed some old "exit_after_last_channel" stuff, which is now handled
in mcd-master under the name "offline_on_idle".
2006-10-04 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
Version number++.
* src/mcd-master.c: (mcd_master_set_default_presence):
Add some more checks before setting "offline_on_idle".
2006-10-03 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mission-control.c:
(mission_control_set_presence):
Don't ignore requests for offline presence if MC is not running: fixes
bug #42150.
2006-10-03 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-service.c: (mcd_dispose), (mcd_service_init):
Disconnecting handlers. Also keep a reference to presence_frame and
dispatcher as long signals are connected to them.
2006-10-03 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-master.c: (_on_dispatcher_channel_removed),
(_mcd_master_dispose), (mcd_master_init),
(mcd_master_set_offline_on_idle), (mcd_master_request_presence),
(mcd_master_set_default_presence):
If online presence was not requested directly by the user, when the
last conversation channel is closed set the presence to offline again.
Fixes bug #42013.
2006-10-02 Alberto Mardegan <alberto.mardegan@nokia.com>
* libmissioncontrol/mission-control.h:
Added declaration for mission_control_get_used_channels_count()
(closes bug #42020).
2006-10-02 Alberto Mardegan <alberto.mardegan@nokia.com>
* configure.ac:
* debian/changelog:
* debian/control:
New maintainer, new version.
2006-10-02 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-manager.c: (requested_channel_process),
(on_presence_stable), (requested_channel_free),
(request_channel_delayed), (_mcd_manager_finalize),
(_mcd_manager_set_property), (mcd_manager_request_channel),
(mcd_manager_request_channel_with_string_handle):
If channel creation fails because the connection has not been set up
yet, store the channel request in a structure, and process it once the
"presence-stable" signal has been catched.
* src/mcd-presence-frame.c: (mcd_presence_frame_class_init),
(mcd_presence_frame_init), (_mcd_presence_frame_request_presence),
(_mcd_presence_frame_check_stable),
(_mcd_presence_frame_update_stable),
(mcd_presence_frame_set_account_status),
(mcd_presence_frame_is_stable):
* src/mcd-presence-frame.h:
* src/mcd-signals-marshal.list:
Add mcd_presence_frame_is_stable() function and "presence-stable"
signal.
2006-10-02 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (mcd_async_request_handle_callback):
Check for errors must be done before using the function parameters,
since in case of error they may be unset.
2006-09-29 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-manager.c: (_mcd_manager_dispose):
Use the "presence-frame" property to clean up in dispose.
2006-09-29 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-service.c: Fix bug on error handling: g_propagate_error()
itself takes care of freeing the error.
2006-09-27 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-connection.c: Restore channel object in cases where
handle == 0 in NewChannel events.
* src/mcd-service.c: Do not emit channel failed errors when
there is no requestor. Start shutdown timer if offline presence
is requested.
* src/mcd-connection.c, src/mcd-channel.c: Added type checks,
debug prints and ref accounting.
* src/mcd-dispatcher.c: Fixed memory corruption that would
lead to randon crashes when a channel is destroyed.
* src/mcd-channel.c: Close channel on abort.
* src/dispatcher.c: Fixed flag to set.
2006-09-26 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_status_changed_cb):
_mcd_connection_set_presence() must be called in all cases.
2006-09-26 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-master.c:
Fix the gconf path name.
* src/mcd-mission.c: (_mcd_mission_set_mode):
Only set the mode when not already done.
2006-09-26 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-dispatcher.c: (mcd_dispatcher_get_channel_type_usage),
(_mcd_dispatcher_enter_state_machine),
(mcd_dispatcher_context_process):
Rename next_func_id to next_func_index.
2006-09-26 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-presence-frame.c: Emit status changed and presence
changed in the right order.
* src/mcd-service.c: Do not emit CONNECTING state to the interface,
cause the ui doesn't handle it correctly.
* src/mcd-connection.c: Pass connection status reason correctly.
2006-09-26 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-channel.c: (on_tp_channel_closed),
(_mcd_channel_set_property), (mcd_channel_get_members):
Correct an assertion and put one more.
2006-09-25 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-channel.c: (mcd_channel_get_members):
Removed an unneeded if.
2006-09-25 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-channel.c: (on_channel_members_changed),
(mcd_channel_new): Fix typo: signal "member-accepted" should be
"members-accepted".
2006-09-25 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-manager.c: Create connection objects only if they
are not already created.
* src/mcd-presence-frame.h, src/mcd-controller.c,
src/mcd-connection.c, src/mcd-service.c,
src/mcd-signals-marshal.list, src/mcd-presence-frame.c:
Defined a new 'status-actual' signal that acts as the accumulated
connection signal for all accounts. Shutdown MC if accumulated
connection status gets to DISCONNECTED (i.e. all accounts has
got to disconnected state). Also when created a new connection,
it might fail immidiately and we may not have a chance to capture
the status changed signal. Take care of that if the status is
disconnected just after creating a connection.
2006-09-25 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-channel.c: (_mcd_channel_set_property),
(mcd_channel_new): Only make assertions if the telepathy channel being
set is not NULL.
* src/mcd-connection.c: (_mcd_connection_status_changed_cb):
Add connection status to debug output.
2006-09-25 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_status_changed_cb):
Rewrote the function using a switch() on the connection status.
Calls to dbus_g_proxy_disconnect_signal() have been removed,
since the dispose or abort functions should take care of them.
2006-09-25 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_status_changed_cb):
Move the call to mcd_presence_frame_set_account_status() before the
call to _mcd_connection_set_presence(), because otherwise the
requested presence will not be set successfully.
2006-09-23 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-mission.c, src/mcd-mission.h, src/mcd-connection.c,
src/mcd-service.c, src/mcd-operation.c, src/mcd-manager.c,
src/mcd-proxy.c, src/mcd-dispatcher.c, src/mcd-master.c,
src/mcd-presence-frame.c: Removed bunch of virtual functions for
system states, instead used a generic flags that could be
set or unset. All system states now use this flags api.
* src/mcd-connection.c: Abort connection correctly by holding a
temporary reference to it (because it is not not know in advance
if the object would die during updating of account connection status).
* src/mcd-operation.c: Disconnect listening to abort signal in
dispose.
* src/mcd-manager.c: Used gtk idle to call on_presence_request_idle()
in _mcd_manager_connect() (just like it's been done in
on_presence_requested()). The call in _connect() was just a delayed
invokation.
2006-09-22 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-channel.c: (_mcd_channel_release_tp_channel):
Put some more debug.
* src/mcd-connection.c: (_mcd_connection_status_changed_cb),
(_mcd_connection_release_tp_connection), (_mcd_connection_dispose):
Disconnect tp_conn seperately.
* src/mcd-manager.c: (mcd_manager_remove_account):
Call mcd_mission_abort instead of emiting the signal.
* src/mcd-master.c: (_mcd_master_on_account_enabled):
Add account to manager first and then presence_frame.
* src/mcd-presence-frame.c: (mcd_presence_frame_add_account),
(mcd_presence_frame_remove_account): Do not set presence/status of the
account yourself on add/remove of account.
2006-09-22 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_set_presence),
(_mcd_connection_status_changed_cb):
Avoid calling mcd_presence_frame_set_account_status() if
the presence-frame is gone.
* src/mcd-manager.c: (_mcd_manager_disconnect),
(mcd_manager_class_init):
Abort all connections when getting disconnected.
* src/mcd-master.c: (_mcd_master_disconnect),
(mcd_master_get_account_status),
(mcd_master_get_account_connection_details):
unref() the accounts returned by rtcom_account_lookup().
* src/mcd-mission.c: (mcd_mission_class_init):
Added "dimmed" and "lit" signals.
2006-09-22 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-dispatcher.c: (_mcd_dispatcher_handle_channel_async_cb):
no need to unref DBusConnection.
2006-09-22 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-channel.c: (_mcd_channel_dispose),
(mcd_channel_get_members):
* src/mcd-connection.c: (_mcd_connection_dispose):
* src/mcd-dispatcher-context.h:
* src/mcd-dispatcher.c: (on_master_abort),
(_mcd_dispatcher_handle_channel_async_cb),
(_mcd_dispatcher_start_channel_handler),
(_mcd_dispatcher_set_property),
(mcd_dispatcher_context_get_channel_object),
(mcd_dispatcher_context_get_connection),
(mcd_dispatcher_context_get_connection_object):
* src/mcd-manager.c: (_mcd_manager_create_connection),
(_mcd_manager_create_connections), (_find_connection),
(_find_connection_by_path), (on_account_status_changed),
(_mcd_manager_set_property), (_mcd_manager_get_property),
(mcd_manager_can_handle_account), (mcd_manager_add_account),
(mcd_manager_remove_account):
* src/mcd-master.c: (_manager_has_account),
(_mcd_master_find_manager), (_is_manager_responsible),
(_mcd_master_find_potential_manager),
(_mcd_master_on_account_enabled),
(_mcd_master_on_account_disabled),
(_mcd_master_init_account_monitoring), (_get_default_presence),
(mcd_master_init), (mcd_master_get_account_for_connection):
* src/mcd-mission.c: (on_parent_abort), (_mcd_mission_set_parent),
(_mcd_set_property):
* src/mcd-presence-frame.c:
(_mcd_presence_frame_update_actual_presence),
(mcd_presence_frame_set_account_presence),
(mcd_presence_frame_set_account_status),
(mcd_presence_frame_add_account),
(mcd_presence_frame_remove_account):
* src/mcd-presence-frame.h:
* src/mcd-service.c: (mcd_service_init):
- Attempt to add support for setting the account presence on the fly
as soon as it get's enabled/disabled.
- Fixed reference leaks.
2006-09-22 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-master.h, src/mcd-presence-frame.h,
src/mcd-connection.c, src/mcd-service.c,
src/mcd-manager.c, src/mcd-dispatcher.c,
src/Makefile.am, src/mcd-master.c,
src/mcd-presence-frame.c,
libmissioncontrol/mission-control.c,
libmissioncontrol/mission-control.h,
libmissioncontrol/Makefile.am: Removed deprecated codes.
* configure.ac: Removed dead code.
2006-09-22 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-debug.h, src/mcd-debug.c,
src/mcd-service.c, src/mcd-mission.c, src/mcd-controller.c,
src/mcd-mission.h, src/Makefile.am: Added a hierarchy printing
debug function. Moved all debug codes to mcd-debug.[ch].
2006-09-22 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-operation.c: Abort children when abort requested on
operation.
2006-09-22 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-mission.c: (mcd_mission_ref), (mcd_mission_unref):
Add McdMission's reference count to g_debug information.
2006-09-21 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-manager.c: (on_presence_requested),
(_mcd_manager_connect), (mcd_manager_class_init):
Call on_presence_request_idle() only after the connection has
been set up.
2006-09-21 Naba Kumar <naba.kumar@nokia.com>
* debian/control, debian/mission-control-dev.install,
debian/mission-control.install, debian/libmissioncontrol-dev.install,
debian/libmissioncontrol.install: Removed no longer used dependencies.
Device implementation of mission-control has been moved outside
this package.
* mission-control.pc.in: Added libmissioncontrol-server in LIBS.
* src/mcd-device-controller.c, src/mcd-main.c, configure.ac,
src/mcd-device-controller.h: No longer any device specific code.
* src/Makefile.am: Disable build for the daemon for now.
* src/mcd-service.c, src/mcd-service.h: Fixed include file.
* (removed) mcd-filtering.c, (removed) mcd-filtering.h,
mcd-connection.c: Removed dead files and code.
* (removed) src/mcd-object.c, (added) src/mcd-service.c,
(removed) src/mcd-object.h, (added) src/mcd-service.h,
src/mcd-device-controller.h, src/Makefile.am: Renamed files
to mcd-service.[c,h].
* src/mcd-object.[ch], mcd-device-controller.[ch],
src/mcd-main.c: Renamed class McdObject to more appropriate
McdService.
* src/mcd-device-controller.c: Fixed compile errors.
* src/Makefile.am, xml/mcd-dbus-services.xml: Generate service
header files as mcd-service-gen.h instead of mcd-dbus-services-gen.h.
* src/mcd-object.c, src/mcd-object.h: Use mcd-service-gen.h
for dbus service methods. Register dbus interface to the class in
class init and register dbus object in instance init. Use dbus
connection object from master instead of creating one by itself.
src/mcd-connection.c: Use only dbus connection object from master.
src/mcd-master.c: Flush dbus connection object before exit.
* src/mcd-device-controller.c, src/mcd-device-controller.h: Fixed
class structure and cleaned up.
2006-09-21 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_status_changed_cb):
When a connection is created, set its presence status according to
what is currently requested in the presence frame.
2006-09-20 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-dbus-services.c, mcd-object.c: Moved dbus services to
McdObject class definition.
* src/mcd-object.c, src/mcd-object.h, src/mcd-controller.c,
src/mcd-controller.h,
(new) src/mcd-device-controller.c, src/mcd-main.c
(new) src/mcd-device-controller.h, src/Makefile.am,
src/mcd-master.c: Separated libmissioncontrol-server library
from the main application. Separated device specific logic
away from the server library and into application (daemon).
* src/mcd-init.c, src/mcd-telepathy-handler.c,
src/mcd-dsm.c, src/mcd-dsm.h, src/mcd.h,
mcd-dus-services.c: Removed dead files.
2006-09-19 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-channel.c: (_mcd_channel_dispose):
Set the is_disposed member to TRUE in the dispose() method.
* src/mcd-presence-frame.c: (_mcd_presence_frame_dispose),
(_mcd_presence_frame_finalize), (mcd_presence_frame_class_init):
Move the call to g_hash_table_destroy() from the finalize()
method to the dispose() one, since this table holds references to
other objects.
2006-09-19 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-chan-handler.c: (_mcd_channel_handler_free),
(_mcd_channel_handler_packer):
* src/mcd-chan-handler.h:
* src/mcd-dispatcher-context.h:
* src/mcd-dispatcher.c: (_mcd_dispatcher_handle_channel_async_cb),
(_mcd_dispatcher_start_channel_handler),
(mcd_dispatcher_context_get_chan_handler):
- Rename ChannelHandler to McdChannelHandler.
- Implement a getter for the McdChannelHandler object.
2006-09-19 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-connection.c: (_mcd_connection_new_channel_cb):
Fix updating of pending channels' hash table when a new channel is
added.
2006-09-12 Zeeshan Ali <zeeshan.ali@nokia.com>
* libmissioncontrol/mission-control.c:
(_missioncontrol_register_signal_marshallers),
(mission_control_init), (mission_control_dispose),
(mission_control_class_init), (mission_control_get_type),
(mission_control_new), (mission_control_set_presence),
(mission_control_get_presence),
(mission_control_get_presence_actual),
(mission_control_request_channel),
(mission_control_request_channel_with_string_handle),
(mission_control_connect_all_with_default_presence),
(mission_control_get_connection_status),
(mission_control_get_online_connections),
(mission_control_get_connection),
(mission_control_cancel_last_request),
(mission_control_get_account_for_connection),
(mission_control_get_used_channels_count), (_handle_mcd_errors),
(set_presence_async_cb), (request_channel_async_cb),
(request_channel_with_string_handle_async_cb),
(connect_all_with_default_presence_async_cb), (check_for_accounts),
(check_mc_running), (cancel_last_request_async_cb):
Merge changes from old mc.
* src/mcd-dispatcher.c: (mcd_dispatcher_register_filter_chain),
(_mcd_dispatcher_enter_state_machine):
Add some more info to the debug output.
2006-09-08 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-channel.c: Removed construct only flags for the
properties.
* src/mcd-main.c: Shutdown 3rd party services correctly.
* src/mcd-mission.c, src/mcd-operation.c: Release reference to
parent mission on its abort signal.
2006-09-08 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-dispatcher.c: (on_object_abort),
(_mcd_dispatcher_set_property):
Watch for abort signal and unref the object on abort.
* src/mcd-master.c: (_mcd_master_dispose), (mcd_master_class_init):
Master should also over-ride the dispose method to unref all the
member objects.
2006-09-08 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-manager.c: Nuke stale telepathy connections before
mission control takes over the job.
* src/mcd-connection.cm, src/mcd-channel.c, src/mcd-channel.h:
Get rid of hacky pending request sturct and instead use Channel
object themselfs as pending channels. Implemented get/set
channel status.
* xml/mcd-dbus-services.xml: Introduced GetUsedChannelsCount
method again.
* src/mcd-dbus-services.c: Reordered dbus method implementations
and defined them as static functions.
2006-09-08 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-main.c: (_shutdown_3rd_party_services),
(_raise_3rd_party_services), (main):
Raise 3rd-party services on start-up and shut them down on abort.
* src/mcd-master.c: (_mcd_master_get_property),
(mcd_master_class_init):
Add 'dbus-connection' property to McdMaster.
2006-09-08 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-mission.c: (mcd_mission_class_init):
Register McdMode as a GType rather than a GEnum.
2006-09-08 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-dispatcher-context.h:
* src/mcd-dispatcher.c: (_mcd_dispatcher_enter_state_machine),
(mcd_dispatcher_context_process):
Rename mcd_process_sm to mcd_dispatcher_context_process. Remove
mcd_cancel_sm
2006-09-08 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.c: Listen and respond to channel dispached and
friends signals.
* src/mcd-connection.c: Removed dead code and notify channel
abort if telepathy connection is disconnected.
* src/mcd-channel.c, src/mcd-channel.h: Defined channel status enum
and a notification signal for it.
* src/mcd-signals-marshal.list, src/mcd-dispatcher.c,
src/mcd-dispatcher.h: Implemented
channel-added, channel-removed, dispached, dispatch-failed signals.
and emit dispatch failed error messages.
* configure.ac, src/Makefile.am, src/mcd-mission.c: Generate enum
types dynamically.
* src/mcd-master.c: Make dispatcher a property of master.
2006-09-07 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-dispatcher-context.h:
* src/mcd-dispatcher.c: (_mcd_dispatcher_handle_channel_async_cb),
(_mcd_dispatcher_start_channel_handler),
(_mcd_dispatcher_drop_channel_handler),
(_mcd_dispatcher_leave_state_machine), (on_channel_abort_context),
(_mcd_dispatcher_enter_state_machine), (mcd_process_sm),
(mcd_dispatcher_context_free),
(mcd_dispatcher_context_get_channel_object),
(mcd_dispatcher_context_get_dispatcher),
(mcd_dispatcher_context_get_connection_object),
(mcd_dispatcher_context_get_channel),
(mcd_dispatcher_context_get_data),
(mcd_dispatcher_context_get_connection),
(mcd_dispatcher_context_get_members),
(mcd_dispatcher_context_set_abort_fn),
(mcd_dispatcher_context_set_data):
Rename all sm_context_t to McdDispatcherContext and also the functions
related to this sturcture.
2006-09-07 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.c: Cancel shutdown if a new presence was
requested which is not offline.
* src/mcd-mission.c, src/mcd-mission.h: Use better ref/unref
wrapper.
2006-09-07 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-dispatcher-context.h:
* src/mcd-dispatcher.c:
Remove wrapper functions for lock/unlock.
2006-09-07 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-dispatcher-context.h:
* src/mcd-dispatcher.c: (_mcd_dispatcher_handle_channel_async_cb),
(_mcd_dispatcher_start_channel_handler), (mcdf_ctx_get_connection):
Removed some more wrapper functions.
2006-09-07 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.c, src/mcd-mission.c, src/mcd-connection.c,
src/mcd-channel.c, src/mcd-main.c, src/mcd-dispatcher.c: Fixed 'abort'
signals and object life cycles. Exit mission-control on shutdown
timeout. Fixed state machine context handling.
2006-09-07 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-dispatcher-context.h:
* src/mcd-dispatcher.c:
Removed the device state related wrapper functions.
2006-09-07 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-dispatcher-context.h:
* src/mcd-dispatcher.c: (_mcd_dispatcher_handle_channel_async_cb),
(_mcd_dispatcher_start_channel_handler), (mcdf_ctx_get_channel):
Removed the channel-related wrapper functions.
2006-09-07 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-dispatcher-context.h:
* src/mcd-dispatcher.c: (_mcd_dispatcher_enter_state_machine),
(mcdf_ctx_get_display_state): Update device_state API to use booleans
instead of enums.
* src/mcd-mission.c: (mcd_mission_class_init): register mode by its
GType rather than as enum.
2006-09-07 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-controller.c, src/mcd-mission.h,
src/mcd-controller.h, src/mcd-operation.c
src/mcd-main.c, src/mcd-master.c: Fixed mission-control shutdown
and object abort signals.
* src/mcd-dispatcher.c: Moved context creation in enter state
machine.
* src/mcd-object.c, xml/mcd-dbus-services.xml,
src/mcd-signals-marshal.list, src/mcd-dbus-services.c:
Fixed method parameters.
* src/mcd-connection.c, src/mcd-channel.c, src/mcd-manager.c,
src/mcd-dispatcher.c, src/mcd-master.c,
src/mcd-operation.c, src/mcd-operation.h: Removed get_children()
method because there is similar get_missions() method and fixed
several memory corruptions. Fixed filters chains initialization.
Disabled filters for now (until the filters are fixed).
2006-09-07 Alberto Mardegan <alberto.mardegan@nokia.com>
* src/mcd-mission.c: (mcd_mode_get_type), (_mcd_mission_set_mode),
(mcd_mission_class_init): Register the McdMode enum.
2006-09-06 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-connection.c, src/mcd-dispatcher.c: Pass handle and
handle_type correctly. Fixed channel handlers launching.
* src/mcd-connection.c, src/mcd-channel.c,
src/mcd-dispatcher.c, src/mcd-master.c: Fixed dispatcher
propagation and channel properties.
* src/mcd-dispatcher-context.h, src/mcd-dispatcher.c:
Implement the lock/unlock function for the filters.
Port some more functions from the old mission-control.
* src/Makefile.am:
Also distribute mcd-dispatcher-context.h
2006-09-06 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-dispatcher.[c,h], src/mcd-dispatcher-context.h:
separated plugin context API from main dispatcher API.
* src/mcd-connection.c, src/mcd-connection.h,
src/mcd-manager.c, src/mcd-manager.h,
src/mcd-dispatcher.c, src/mcd-master.c,
src/mcd-dispatcher.h: Passed down dispatcher and dispatch
new channels.
2006-09-05 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-master.h, src/mcd-object.c, src/mcd-manager.c,
src/mcd-dbus-services.c, src/mcd-manager.h,
src/mcd-master.c: Implemented new method
mcd_get_account_for_connection() properly.
* src/mcd-object.c: Implemented mission control error quark.
* src/mcd-dbus-services.c: Implemented new method
mcd_get_account_for_connection()
* libmissioncontrol/mission-control.c,
libmissioncontrol/mission-control.h,
libmissioncontrol/mission-control-signals-marshal.list: Restored
libmissioncontrol from old MC.
* src/mcd-dispatcher.c, src/mcd-dispatcher.h: Added get/set
dispatcher methods in context.
* src/mcd-dispatcher.h: Fixed build error.
* src/mcd-chan-handler.c: Added missing file.
* src/mcd-master.h, src/mcd-chan-handler.h,
src/mcd-dbus-services.c, src/mcd-dispatcher.c,
src/Makefile.am, src/mcd-master.c, src/mcd-dispatcher.h:
Implemented missing pieces in dispatcher.
* src/mcd-dbus-services.c: Fixed build error due to
change in function name.
2006-09-04 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-channel.c: Implemented mcd_channel_get_members().
* src/mcd-master.h, src/mcd-connection.c,
src/mcd-connection.h, src/mcd-channel.c,
src/mcd-manager.c, src/mcd-channel.h,
src/mcd-dbus-services.c, src/mcd-manager.h,
src/mcd-master.c: Implemented channel request stack.
2006-09-03 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-controller.c, rc/mcd-channel.c,
mrc/mcd-channel.h, src/mcd-dispatcher.c, src/mcd-dispatcher.h:
Ported filtering codes.
2006-08-30 Naba Kumar <naba.kumar@nokia.com>
* src/Makefile.am, mission-control.pc.in: Install header files and
fixed include path.
* src/mcd-connection.c, src/mcd-channel.c, src/mcd-channel.h: Added
extra channel parameters.
2006-08-30 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-connection.c: (_mcd_connection_free_presence_info),
(_find_handle), (_mcd_connection_map_status_to_presences),
(_mcd_connection_presence_update_cb),
(_mcd_connection_store_tp_self_handle),
(_mcd_connection_get_tp_status_cb),
(_mcd_connection_set_fallback_presences),
(_mcd_connection_presence_enable), (on_presence_requested),
(_foreach_channel_remove), (_mcd_connection_status_changed_cb),
(_mcd_connection_setup), (_mcd_connection_dispose),
(_mcd_connection_set_property),
(mcd_connection_get_telepathy_details):
* src/mcd-connection.h:
* src/mcd-controller.c: (_mcd_controller_device_mode_cb),
(_mcd_controller_device_state_filter_func),
(_mcd_mode_to_mce_mode), (_mcd_controller_set_mode):
* src/mcd-dispatcher.c: (_mcd_dispatcher_load_filters),
(_mcd_dispatcher_unload_filters), (mcd_dispatcher_init),
(mcd_dispatcher_new), (channel_usage_counter),
(mcdf_get_channel_type_usage), (on_channel_members_changed),
(mcd_get_filter_chain), (mcd_register_filter_chain),
(mcd_unregister_filter_chain),
(mcd_dispatcher_remove_channel_watch), (get_local_pending_cb),
(mcd_dispatcher_add_channel_watch), (on_channel_closed),
(dispose_channel_request), (dispose_state_machine_data),
(mcd_cancel_sm), (enter_state_machine),
(mcdf_ctx_get_dbus_connection), (mcdf_ctx_get_account),
(mcdf_ctx_get_profile), (mcdf_ctx_set_data):
* src/mcd-dispatcher.h:
* src/mcd-filtering.c: (mcdf_ctx_get_channel_object),
(mcdf_ctx_get_request_chan_type_quark),
(mcdf_ctx_get_request_chan_type),
(mcdf_ctx_get_request_conninfo_proxy),
(mcdf_ctx_get_request_conninfo_account_name),
(mcdf_ctx_get_request_conninfo_self_handle),
(mcdf_ctx_get_request_obj_path),
(mcdf_ctx_get_request_handle_type), (mcdf_ctx_get_request_handle),
(mcdf_ctx_get_book), (mcdf_ctx_get_dbus_connection),
(mcdf_ctx_get_display_state), (mcdf_ctx_get_battery_state),
(mcdf_ctx_get_keylock_state), (mcdf_ctx_get_lowmem_state),
(mcdf_ctx_get_data), (mcdf_ctx_get_flags),
(mcdf_ctx_get_account), (mcdf_ctx_get_profile),
(_contact_handles_to_strings), (mcdf_ctx_get_members),
(mcdf_ctx_set_abort_fn), (mcdf_ctx_set_data),
(dispose_channel_request), (dispose_state_machine_data),
(start_channel_handler), (drop_channel_handler), (mcd_process_sm),
(mcd_cancel_sm), (enter_state_machine),
(mcd_async_request_chan_callback), (mcd_get_filter_chain),
(mcd_register_filter_chain), (mcd_unregister_filter_chain),
(on_channel_closed), (on_channel_memberschanged),
(get_local_pending_cb), (channel_usage_counter),
(mcdf_get_channel_type_usage), (mcdf_set_tklock_unlocked),
(remove_channel_watch), (add_channel_watch), (set_voip_mode),
(set_tklock), (channelhandler_destroy_cb),
(handle_channel_async_cb):
* src/mcd-filtering.h:
* src/mcd-manager.c: (_mcd_manager_create_connections),
(_find_connection), (on_account_status_changed),
(on_presence_requested_idle), (_mcd_manager_set_property),
(mcd_manager_new), (mcd_manager_get_account_connection):
* src/mcd-master.c: (_mcd_master_init_managers),
(_get_default_presence), (_is_manager_responsible),
(_mcd_master_find_manager), (_mcd_master_sleep),
(mcd_master_get_account_status),
(mcd_master_get_online_connection_names),
(mcd_master_get_account_connection_details):
* src/mcd-master.h:
* src/mcd-mission.c: (_mcd_mission_dispose),
(_mcd_mission_finalize), (mcd_mission_class_init):
* src/mcd-mission.h:
* src/mcd-object.c: (_on_account_status_changed),
(_on_account_presence_changed), (_on_presence_requested),
(_on_presence_actual), (mcd_object_get):
* src/mcd-operation.c: (_mcd_operation_dispose),
(_mcd_operation_remove_mission), (mcd_operation_get_children):
* src/mcd-operation.h:
* src/mcd-presence-frame.c: (_presence_to_status),
(_mcd_presence_frame_request_presence),
(mcd_presence_frame_request_presence),
(mcd_presence_frame_cancel_last_request),
(_mcd_presence_frame_update_actual_presences),
(_mcd_presence_frame_update_actual_presence),
(mcd_presence_frame_set_account_presence),
(mcd_presence_frame_set_account_status):
* src/mcd-presence-frame.h:
* src/mcd-proxy.c: (_mcd_proxy_abort),
(_mcd_proxy_connect_signals), (_mcd_proxy_disconnect_signals),
(_mcd_proxy_dispose), (mcd_proxy_new):
* src/mcd-proxy.h: Fix indentation.
2006-08-30 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-filtering.[c,h]: Moved codes from old MC.
2006-08-30 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/Makefile.am: Treat warnings as errors.
* src/mcd-controller.c: (_mcd_controller_set_mode): remove unused
varriable.
* src/mcd-dispatcher.c: (on_channel_members_changed),
(get_local_pending_cb), (mcd_dispatcher_add_channel_watch),
(mcdf_ctx_set_abort_fn):
* src/mcd-dispatcher.h:
* src/mcd-manager.c: (mcd_manager_init):
* src/mcd-mission.c: (mcd_mission_get_mode): Small fixes to make
mc built with the latest changes.
2006-08-30 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-mission.c: Fixed compiler warnings.
2006-08-29 Zeeshan Ali <zeeshan.ali@nokia.com>
* libmissioncontrol/mission-control.c:
(mission_control_get_presence),
(mission_control_get_presence_actual):
* src/Makefile.am:
* src/mcd-chan-handler.h:
* src/mcd-connection.c: (_mcd_connection_status_changed_cb):
* src/mcd-controller.c: (_mcd_controller_device_mode_cb),
(_mcd_controller_device_state_filter_func),
(_mcd_mode_to_mce_mode), (_mcd_controller_set_mode),
(mcd_controller_class_init):
* src/mcd-dispatcher.c: (_mcd_dispatcher_send),
(_mcd_dispatcher_load_filters), (_mcd_dispatcher_unload_filters),
(_mcd_dispatcher_set_property), (_mcd_dispatcher_get_property),
(_mcd_dispatcher_dispose), (mcd_dispatcher_class_init),
(mcd_dispatcher_init), (mcd_dispatcher_new),
(channel_usage_counter), (mcdf_get_channel_type_usage),
(on_channel_memberschanged), (mcd_get_filter_chain),
(mcd_register_filter_chain), (mcd_unregister_filter_chain),
(mcd_dispatcher_remove_channel_watch),
(mcd_dispatcher_add_channel_watch), (on_channel_closed),
(start_channel_handler), (drop_channel_handler), (mcd_process_sm),
(dispose_channel_request), (dispose_state_machine_data),
(mcd_cancel_sm), (enter_state_machine),
(mcdf_ctx_get_channel_object),
(mcdf_ctx_get_request_chan_type_quark),
(mcdf_ctx_get_request_chan_type), (mcdf_ctx_get_request_obj_path),
(mcdf_ctx_get_request_handle_type), (mcdf_ctx_get_request_handle),
(mcdf_ctx_get_book), (mcdf_ctx_get_dbus_connection),
(mcdf_ctx_get_display_state), (mcdf_ctx_get_battery_state),
(mcdf_ctx_get_keylock_state), (mcdf_ctx_get_data),
(mcdf_ctx_get_account), (mcdf_ctx_get_profile),
(mcdf_ctx_get_members), (mcdf_ctx_set_abort_fn),
(mcdf_ctx_set_data):
* src/mcd-dispatcher.h:
* src/mcd-filtering.c:
(mcdf_ctx_get_data), (mcdf_ctx_get_account),
(mcdf_ctx_get_profile), (mcd_get_filter_chain),
(mcd_register_filter_chain), (mcd_unregister_filter_chain):
* src/mcd-filtering.h:
* src/mcd-manager.c: (on_account_status_changed),
(mcd_manager_class_init), (mcd_manager_init), (mcd_manager_new),
(mcd_manager_get_account_connection):
* src/mcd-manager.h:
* src/mcd-master.c: (_mcd_master_init_managers),
(_mcd_master_find_manager), (mcd_master_init),
(mcd_master_get_account_connection_details):
* src/mcd-mission.c: (_mcd_mission_set_mode),
(_mcd_mission_get_mode), (_mcd_set_property), (_mcd_get_property),
(mcd_mission_class_init), (mcd_mission_set_mode),
(mcd_mission_get_mode):
* src/mcd-mission.h:
* src/mcd-object.c:
* src/mcd-operation.c:
* src/mcd-operation.h:
Trying to port dispatcher with working code from the old mc.
2006-08-26 Naba Kumar <naba.kumar@nokia.com>
* (new) src/mcd-proxy.[c,h], src/Makefile.am: Implemented
proxy class.
2006-08-21 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-presence-frame.c: (mcd_presence_free): No need to check for
NULL before calling g_free() on a pointer.
2006-08-18 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-manager.c: Removed an unneeded function:
mcd_manager_get_account_status.
2006-08-18 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-dbus-services.c: (mcd_cancel_last_request):
* src/mcd-master.c: (mcd_master_cancel_last_request):
* src/mcd-master.h:
* src/mcd-presence-frame.c: (mcd_presence_new),
(mcd_presence_free), (mcd_presence_copy),
(_mcd_presence_frame_finalize), (mcd_presence_frame_init),
(_mcd_presence_frame_request_presence),
(mcd_presence_frame_request_presence),
(mcd_presence_frame_cancel_last_request):
* src/mcd-presence-frame.h:
Implement CancelLastRequest.
2006-08-18 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-connection.c: (mcd_connection_get_telepathy_details):
* src/mcd-connection.h:
* src/mcd-dbus-services.c: (mcd_get_connection):
* src/mcd-manager.c: (_find_connection),
(mcd_manager_get_account_connection):
* src/mcd-manager.h:
* src/mcd-master.c: (_is_manager_responsible),
(_mcd_master_find_manager),
(mcd_master_get_online_connection_names),
(mcd_master_get_account_connection_details):
* src/mcd-master.h:
Implement GetConnection.
2006-08-17 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-dbus-services.c: (mcd_get_online_connections):
* src/mcd-master.c: (mcd_master_get_online_connection_names):
* src/mcd-master.h: Implement GetOnlineConnections.
2006-08-17 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-dbus-services.c: (mcd_get_connection_status):
* src/mcd-manager.c: (on_presence_requested_idle),
(mcd_manager_get_account_status):
* src/mcd-master.c: (mcd_master_get_account_status):
* src/mcd-master.h: Implement GetConnectionStatus.
* src/mcd-presence-frame.c: (_presence_to_status),
(_mcd_presence_frame_update_actual_presence): Refactor: Put the
presence to status translation into a static inline function.
2006-08-17 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-dbus-services.c: (mcd_connect_all_with_default_presence),
(mcd_request_channel), (mcd_request_channel_with_string_handle):
* src/mcd-master.c: (_get_default_presence),
(mcd_master_set_default_presence):
* src/mcd-master.h:
Implement ConnectAllWithDefaultPresence.
2006-08-16 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-dbus-services.c: (mcd_get_presence),
(mcd_get_presence_actual):
* src/mcd-master.c: (mcd_master_get_actual_presence),
(mcd_master_get_requested_presence):
* src/mcd-master.h: Implement GetPresence and GetPresenceActual.
2006-08-16 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-mission.c, src/mcd-operation.c, src/mcd-controller,
src/mcd-master.c, src/mcd-object: Added some class documents.
2006-08-16 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-manager.c: (on_presence_requested_idle): Corrected the logic
for deciding wether to create the connection manager and connections.
2006-08-16 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-connection.c: (_mcd_connection_set_property): One more line
break makes code a bit clearer.
* src/mcd-manager.c: (on_presence_requested_idle): Only create TP
connection manager and connections if they are not already created.
* src/mcd-object.c: (_on_account_presence_changed),
(mcd_object_get): Handle presence-changed and emit the appropriate
signal on the dbus.
* src/mcd-presence-frame.c: (mcd_presence_frame_class_init),
(mcd_presence_frame_set_account_presence): rename presence-set signal to
pressence-changed.
2006-08-15 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-master.c: (_mcd_master_sleep): Only set presence to away
automatically if the current presence is AVAILABLE.
2006-08-15 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-controller.c: (_mcd_controller_on_sleep_timeout),
(_mcd_controller_inactivity_cb): Introduce a timeout function for
auto-away
* src/mcd-master.c: (_mcd_master_sleep), (_mcd_master_wakeup),
(mcd_master_class_init): Override sleep/wakeup to implement auto-away.
* src/mcd-presence-frame.c:
(mcd_presence_frame_get_actual_presence),
(mcd_presence_frame_get_actual_presence_message):
* src/mcd-presence-frame.h: Add API to support querying actual presence.
2006-08-15 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-connection.c: (_mcd_connection_presence_enable):
BUGFIX: assuming wrong type of user_data in a callback, which
made mc segfault when setting the presence to away.
2006-08-15 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-connection.c: (on_presence_requested): A small indentation
fix.
* src/mcd-presence-frame.c: (_mcd_presence_frame_finalize),
(mcd_presence_frame_set_account_status): save the previous status of
accounts before updating it and call
_presence_frame_set_account_presence() only when needed.
2006-08-14 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-presence-frame.c: (_mcd_presence_frame_finalize),
(mcd_presence_frame_init),
(mcd_presence_frame_get_requested_presence),
(_mcd_presence_frame_update_actual_presence),
(mcd_presence_frame_get_account_presence),
(mcd_presence_frame_get_account_status),
(mcd_presence_frame_get_account_status_reason),
(mcd_presence_frame_set_accounts): Keep track of actual presence
seperately then the requested presence. assume UNSET to be the
lowest presence level rather than OFFLINE.
2006-08-14 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-connection.c: (_mcd_connection_set_property): Use
connect_after instead of connect so that the signal handler is called
after all other signal handlers.
* src/mcd-manager.c: (on_presence_requested_idle),
(on_presence_requested): set the presence in an idle handler.
2006-08-11 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-connection.c: (mcd_connection_class_init): Fixed a small typo in
naba's last commit.
2006-08-11 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-connection.c: (_mcd_connection_setup): Emit a dbus signal
on connecting the accounts
* src/mcd-object.c: (_on_presence_actual), (mcd_object_get): Rename
presence-settled to presence-actual.
* src/mcd-presence-frame.c: (mcd_presence_frame_class_init),
(_mcd_presence_frame_update_actual_presences),
(_mcd_presence_frame_update_actual_presence),
(mcd_presence_frame_set_account_presence),
(mcd_presence_frame_set_account_status): Rename
presence-settled to presence-actual and try to emit presence-actual
signal when it's time to do so.
* src/mcd-presence-frame.h: Rename
presence-settled to presence-actual.
2006-08-10 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-connection.c: Fixed property param spec.
* src/mcd-connection.c: Implemented presence status changes
from telepathy connection.
* src/mcd-connection.c: Backported new changes from old mission
control.
2006-08-09 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/mcd-object.c: (_on_presence_settled), (mcd_object_get):
Emit PresenceStatusActual signal when/if received from the
presence-frame
2006-08-09 Zeeshan Ali <zeeshan.ali@nokia.com>
* ChangeLog: Starting to maintain a ChangeLog from now on.
* src/mcd-master.h, src/mcd-presence-frame.h, src/mcd-object.c
src/mcd-connection.c, src/mcd.h, src/mcd-manager.c, src/mcd-master.c
src/mcd-presence-frame.c: Converting from
TelepathyConnectionPresenceType to McPresence
* libmissioncontrol/mission-control.[ch]: Moved code from old
missioncontrol.
2006-08-09 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c: emit the AccountStatusChanged? signal on the dbus so
that presence
2006-08-09 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c: applet can update itself.
2006-08-08 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c: You can go now go online, then offline and then
again online and so on without causing a segfault. :)
2006-08-03 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c: Use the dbus bus that started us rather than the
session bus.
2006-08-03 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c:
Figure-out and save the new state on presence change.
2006-07-27 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c:
Renamed mcd_master_set_presence() to mcd_master_request_presence()
2006-07-27 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c:
Renamed the object varriable according to the new API (athough the code
is commented out atm)
2006-07-27 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c:
Renamed the MCObject structures to McdObject?
2006-07-26 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c:
Setting the indentation according to the gnu coding style
2006-07-26 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c:
g_object_new expects a NULL in the end (bugfix)
2006-07-26 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c:
Connecting the chain of SetPresence?
2006-07-26 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c:
DBUS_API_SUBJECT_TO_CHANGE declaration is enough in one place
(Makefile.am)
2006-07-25 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c: Corrected the verion in debian/changelog
2006-07-25 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c: Imported signals to mcd-object from the old version
2006-07-25 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c: Moved some more code from the old mission-control
2006-07-25 Zeeshan Ali <zeeshan.ali@nokia.com>
* src/*.h, src/*.c: Updated the version string in configure.ac and debian files
2006-06-12 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-presence-frame.h, src/mcd-connection.c
src/mcd-connection.h, src/mcd-channel.c
src/mcd-manager.c, src/mcd-channel.h
src/mcd-signals-marshal.list, src/mcd-dispatcher.c
src/Makefile.am, src/mcd-dispatcher.h
src/mcd-presence-frame.c: New implementation of channel class. Futher
implementation of connection and presence-frame classes. Initial
implementation of dispatcher class.
2006-06-02 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-connection.c, src/mcd-operation.c, src/mcd-master.h,
src/mcd-presence-frame.h, src/mcd-connection.h,
src/mcd-operation.h, src/mcd-manager.c,
src/mcd-signals-marshal.list, src/mcd-manager.h,
src/mcd-mission.c, src/mcd-controller.c,
src/mcd-mission.h, src/Makefile.am,
src/mcd-controller.h, src/mcd-master.c,
src/mcd-presence-frame.c: Fixed all classess to build. Partial
implementation of all classes.
2006-06-01 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-connection.c, src/mcd-master.h, src/mcd-presence-frame.h,
src/mcd-connection.h, src/mcd-manager.c, src/mcd-manager.h,
src/mcd-controller.c, src/Makefile.am, src/mcd-master.c,
src/mcd-presence-frame.c: Created master, manager
and presence frame classes and initial structure.
2006-06-01 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-mission.[c,h], src/mcd-operation.[c,h],
src/mcd-controller.[c,h], src/mcd-connection.[c,h], src/Makefile.am:
Added initial mission control structure.
2006-05-26 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-init.c, src/mcd-object.c, src/mcd-telepathy-handler.c,
src/mcd-object.h, src/mcd-dbus-services.c, src/mcd-filtering.c:
Cleanups.
* src/mcd-dbus-services.c: Refactored common code into
_mcd_get_default_presence().
* src/mcd-dbus-services.c: Refactored common code into
_mcd_request_channel().
* src/mcd-object.c, src/mcd-telepathy-handler.c, src/mcd-object.h:
Made mcd_free_presence_info() easier to use.
* src/mcd-dbus-services.c: Made mcd_cancel_last_request() use
_mcd_set_presence().
* src/mcd-object.c, src/mcd-telepathy-handler.c:
_mcd_status_changed_handler() duplicated a lot of code from
mcd_set_account_presence().
2006-05-24 Naba Kumar <naba.kumar@nokia.com>
* libmissioncontrol/mission-control.h, src/mcd.h,
src/mcd-filtering.c(mcd_async_request_chan_callback): Added
MC_CONTACT_DOES_NOT_SUPPORT_VOICE_ERROR.
* src/mcd-filtering.c, src/mcd-object.c,
src/mcd-telepathy-handler.c: Minor cleanups.
* src/mcd-object.c: Don't try to connect the same account more
than once. g_hash_table_insert() will call the key_destroy_func
on the key if it is already present. This corrupted the object
path that was being used as the key.
* src/mcd-object.c, src/mcd-telepathy-handler.c,
src/mcd-object.h, src/mcd-dbus-services.c, src/mcd-filtering.c,
xml/mcd-dbus-services.xml, libmissioncontrol/mission-control.c,
libmissioncontrol/mission-control.h: Added presence-status-actual
signal which reflects the combined status of out accounts.
presence-status-requested was fixed to be emitted when a presence
is actually requested.
2006-05-23 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.c: Don't clear exit_after_last_channel flag when
mcd_connect_all_with_default_presence() is called.
Partial fix for bug #27122.
* src/mcd-init.c: Re-connect all accounts even when connectivity
is already connected. Fixes bug #30344.
2006-05-19 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.c: Set new connection status to CONNECTING.
Fixes bug #29265.
2006-05-19 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-dbus-services.c, src/mcd-dsm.c, src/mcd-filtering.c,
src/mcd-init.c, src/mcd-object.c, src/mcd-telepathy-handler.c,
src/mcd-object.h: Andrei's changes to .manager file reading and
minor refactoring + debugging output additions.
2006-05-17 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.c: Don't hog the CPU and prevent gabble from
doing real work.
2006-05-16 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-dbus-services.c, xml/mcd-dbus-services.xml,
libmissioncontrol/mission-control.[c|h]: Added
GetUsedChannelsCount DBUS method with libmissioncontrol
bindings to query for ongoing VoIP calls etc. This fixes bug
#29651.
2006-05-12 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-filtering.c (start_channel_handler): A few mcd-error
signal emits were missing when we had trouble handling the
channel. The emits should fix bug #26504.
2006-05-12 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.[c|h], src/mcd-telepathy-handler.c:
Reverted _mcd_connection_destroyed_cb removal from yesterday
since apparently both this and the recent libtelepathy addition
are needed by someone.
2006-05-12 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.c: Connection status is now also updated when
starting to connect an account. This fixes bug #29265.
* src/mcd-object.c, src/mcd-signals-marshal.list,
xml/mcd-dbus-services.xml, libmissioncontrol/mission-control.c,
libmissioncontrol/mission-control-signals-marshal.list:
Added PresenceStatusRequested signal which is emitted whenever a
presence change is requested. Emitting can happen due to a request
from application, auto-away etc.
2006-05-11 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.[c|h], src/mcd-telepathy-handler.c:
Due to recent changes in libtelepathy, mission control is no
longer responsible for detecting destroyed connections. Thus,
_mcd_connection_destroyed_cb and the associated helper struct
destroy_signal_data have been removed as obsolete. Part of
fix for bug #28543.
2006-05-09 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.c, src/mcd-telepathy-handler.c,
src/mcd-signals-marshal.list, xml/mcd-dbus-services.xml,
libmissioncontrol/mission-control.c,
libmissioncontrol/mission-control-signals-marshal.list: Backed off
the AccountStatusChanged signal modifications done by Tuomas, as
we've been requested to do this differently.
* src/mcd-dsm.c (_close_channel): Mission Control attempted to
close chanels with wrong type of pointer when shutdown_ind signal
has been received, effectively causing a crash. Now channels are
closed properly.
* src/mcd-filtering.[c|h] (add_channel_watch),
(remove_channel_watch): Mission Control will have to monitor
MembersChanged signals for VOIP calls in order to know whether the
T&K lock needs to be be locked when the call ends. The locking
functionality has also been added to MC. MC also provides a method
available for filters to indicate whether filters opened the T&K
lock.
* src/mcd-object.[c|h]: A flag has been added to Mission Control
for keeping track of T&K unlock operations done by the
filters. It's needed to know whether we need to lock T&K again
when call ends.
* src/mcd-init.c (_mcd_setup_device_state_monitoring): Mission
Control will request information about the T&K lock status on
startup, otherwise we might not know the lock status during the
first VOIP call.
2006-05-08 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.[c|h], src/mcd-dbus-services.c,
src/mcd-filtering.c: Presence and connectivity are set offline
after the last channel closes in case the channel was initiated
from those conditions. This fixes bug #27122.
* src/mcd-object.c, src/mcd-telepathy-handler.c,
src/mcd-signals-marshal.list, xml/mcd-dbus-services.xml,
libmissioncontrol/mission-control.c,
libmissioncontrol/mission-control-signals-marshal.list:
AccountStatusChanged signal API changed. Added last requested
presence as the signal's second parameter.
* src/mcd-dbus-services.c: Connectivity is now handled also in
ConnectAllWithDefaultPresence method. This fixes bug #26797.
2006-05-05 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-dbus-services.c: Cancellation for the pending MC
shutdown has been added to situations where it makes sense.
* src/mcd-init.c (_mcd_iap_cb): When we've been disconnected in an
uncontrollable manner, set presence to offline to match reality.
* src/mcd-dsm.c (_mcd_state_filter_func): The fix for the T&K lock
tracking was still not quite right. Corrected a flawed comparison.
* src/mcd-init.c: Emit an error signal to indicate when we've lost
network connectivity in an uncontrolled manner.
2006-05-04 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-init.c (_mcd_inactivity_cb): Fix the autoaway state
book-keeping to complete the bug #23758 fix.
* src/mcd-object.c (mcd_set_presence_autoaway): Do not touch the
away message string when going to autoaway.
2006-05-03 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-dbus-services.c: Added implementation of the presence
revert operation when a request is cancelled.
* src/mcd-object.[c|h]: Added support for storing the previous
presence data when doing a request, so that we can 'cancel' the
request.
* src/mcd.h: MC_NETWORK_ERROR has been added to supported error
signals.
* libmissioncontrol/mission-control.c (_handle_mcd_errors):
Support emission of 'generic' errors that are not directly caused
by the request performed by the current application. They will
have PID parameter value 0. Added method
mission_control_cancel_last_request() that can be used to cancel
the last method call (currently only really supports the
mission_control_request_channel_with_string_handle() cancellation).
* src/mcd-object.c (_mcd_connect_account_from_hash): Emit
MC_NETWORK_ERROR if creation of a connection failed.
* libmissioncontrol/mission-control.[c|h]: Added the
mission_control_connect_all_with_default_presence() method to the
API to connect all accounts with default presence when we're not
yet offline. MC_NETWORK_ERROR has been added to error signals.
* src/mcd-dbus-services.c (mcd_connect_all_with_default_presence):
Added a handler for the ConnectAllWithDefaultPresence D-BUS
method. It will connect all accounts with the default presence
value from GConf if we're not online yet.
* xml/mcd-dbus-services.xml: Added the definition of the new
method ConnectAllWithDefaultPresence. Added CancelLastRequest
method definition.
2006-05-02 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-init.c, src/Makefile.am, configure.ac: The plugin directory
location is now provided by the autotools files instead of being
hardcoded in the Mission Control.
* mission-control.pc.in (pluginlibdir): We now provide the plugin
library location in the package configuration file for other
interested components (i.e. the filters)
2006-04-28 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.[c|h], src/mcd-telepathy-handler.c: Main presence
is now updated when going autoaway thus fixing bug #23758.
Added just-in-time fetching of available presence states:
In case the presence interface doesn't exist yet when status
changes to connected but becomes available later, the presence
options are fetched when setting the account's presence. This fixes
the related race condition.
2006-04-27 Naba Kumar <naba.kumar@nokia.com>
* libmissioncontrol/mission-control.[c|h]: Libmissioncontrol methods
will now check whether there are any enabled accounts before doing
anything that will invoke Mission Control. Initial experimental
code for the request cancellation support has been added, but it's
not yet tested.
2006-04-25 Naba Kumar <naba.kumar@nokia.com>
* libmissioncontrol/mission-control.[c|h]
(mission_control_get_presence): We now check whether the Mission
Control is present on the D-BUS in order to avoid unnecessary
starting it up when we're offline and want to know our presence.
* src/mcd-dsm.c (mcd_shutdown_ind_cb): Mission Control will now
explicitly call close for all channels in order to fix the bug
#25155, in case there will be some connection manager that does
not do it while disconnecting a connection.
2006-04-24 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-filtering.h: The channel type quark getter prototype
name mismatched the implementation. Fixed.
* src/mcd.h: Moved some definitions to mcd-filtering.h, because
plugins need access to the same D-BUS service.
2006-04-23 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-dbus-services.c: Fixed a build breakage.
2006-04-21 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-init.c (_mcd_inactivity_cb): Mission Control should now
no longer enter autoaway when there is an ongoing VOIP call.
2006-04-21 Naba Kumar <naba.kumar@nokia.com>
* libmissioncontrol/mission-control.h, src/mcd.h,
src/mcd-dbus-services.c: Added MC_NO_ACCOUNTS_ERROR.
The error is sent in response to all the DBUS methods in case
there aren't any enabled accounts. MC also exits in that case.
* src/mcd-dbus-services.c: On channel requests in disconnected
state, presence setting is now read from GConf.
* src/mcd-init.c: Minor change on e_book_open() function call's
parameters to fix bug #26998.
2006-04-20 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-filtering.c: Merged some upstream fixes from Andrei to
the VOIP mode handling.
2006-04-19 Naba Kumar <naba.kumar@nokia.com>
* src/mcd.h: Added definitions for the MCE service calls.
* src/mcd-filtering.c (remove_channel_watch): When we have no
longer VOIP calls going, exit from VOIP mode to the normal mode by
sending a request to the MCE.
(add_channel_watch): When we have a VOIP call going, send a
request to the MCE to enter the VOIP mode.
2006-04-12 Naba Kumar <naba.kumar@nokia.com>
* libmissioncontrol/mission-control.[c|h], src/mcd-object.c,
src/mcd-signals-marshal.list, src/mcd-filtering.c,
src/src/chan-handler.h, xml/mcd-dbus-services.xml,
libmissioncontrol/mission-control-signals-marshal.list: Provided
the requested further improvements in the libmissioncontrol error
reporting, so that individual clients get only error signals that
are relevant to them.
* src/mcd-filtering.[c|h]: The filtering API has been updated to
provide access to the RtcomAccount and RtcomProfile for the
current channel request. Also, the API now includes a helper for
getting the list of addresses for the participants of current
channel.
2006-04-11 Naba Kumar <naba.kumar@nokia.com>
* configure.ac: Version number upgraded.
* xml/mcd-dbus-services.xml: The method definitions have been
changed to include the serial number of the operation. Error
signal has been added.
* debian/control (Depends): Added dependency for the galago-daemon
version that no longer appears to have issues when being started
by Mission Control.
* libmissioncontrol/mission-control.c: Support for receiving the
Error signal from the missioncontrol. Do not emit the signal based
on g_error anymore.
* src/mcd.h, libmissioncontrol/missioncontrol.h: The error domain
quark definition has been removed, as it's no longer used.
* src/mcd-init.c: The environmental variable check to determine
whether we should launch galago and friends has been disabled and
the startup is done by default.
* src/mcd-telepathy-handler.c: Use of some obsolete context
members has been removed, other cleanups.
* src/mcd-chan-handler.h (struct chan_handler_req_t): The channel
handler request structure has been cleaned of some now unnecessary
members. The channel type is now represented as a quark.
* src/mcd-filtering.[c|h]: The filtering context and the access
API for it had some cleanups. We also keep up a count of the
channel instances per channel type. Part of the fix for bug #25260
is also here.
* src/mcd-object.[c|h]: Support for the counting of channels per
channel type has been added. Some obsolete code has been
removed. We now emit error signal to provide applications calling
MCD through libmissioncontrol information about error situations
(bug #25260).
* src/mcd-dbus-services.c: We now emit error signal to provide
applications calling MCD through libmissioncontrol information
about error situations (bug #25260). Some obsolete code has been
eliminated.
2006-04-09 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.c, src/mcd-telepathy-handler.c: Rearranged
"destroy" signal disconnection and connection object unreferencing
so that MC behaves nicely when connecting accounts with invalid
passwords. Now MC also exits after last account disconnects. These
fix bug 25951.
* src/mcd-dbus-services.c: Reconnecting the accounts which were
lost due to a Connection Manager crash is now possible.
* src/mcd-object.c: Minor change to call tp_key_value_list_free
for freeing the keyval list
2006-04-06 Naba Kumar <naba.kumar@nokia.com>
* libmissioncontrol/mission-control-signals-marshal.list: The
"error" signal signature has been added.
* src/mcd-dbus-services.c,
libmissioncontrol/missioncontrol.c,
libmissioncontrol/missioncontrol.h: Partial fix for the bug 25260;
instead of pringing warnings, MissionControl sets GError
approriately, so libmissioncontrol can emit error signals
instead. Libmissioncontrol will now also free the allocated
account names to avoid memory leaks (fixing bug 25272).
* src/mcd.h: Some definitions needed by bug 25260 work were added.
2006-04-06 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-init.c, src/mcd-object.[c|h]: Mission Control will now
listen for accidentally destroyed connections (for example when
a Connection Manager crashes).
* src/mcd-init.c, src/mcd-object.c, mcd-dbus-services.c: Fixed
emission of account-status-changed signal in case Connectivity
is lost during it's establishment.
* src/mcd-init.c, src/mcd-object.[c|h]: Added reading of
MC_RAISE_SERVICES environment variable to decide if external
daemons are started/stopped
2006-04-05 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.c (mcd_dispose, mcd_connect_all_accounts): The
shutdown/startup of Galago is currently disabled
* src/mcd-init.c: When Connectivity is lost, Mission Control will
wait for a moment and only then exit if Connectivity does not
return.
* src/mcd-filtering.[c|h]: Added getter for the self handle
property of the connection.
2006-04-04 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-telepathy-handler.c: _mcd_free_presence_info was moved
into mcd-object.c and is now public.
* src/mcd-object.[c|h]: Mission Control will now start Galago when
accounts are connected and shut it when Mission Control exists.
* src/mcd-init.c (_mcd_read_account_settings): Minor memory leak
fixes
2006-04-03 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.c: Minor changes to internal filter functionality
calls to be in sync with the naming conventions.
* src/mcd-filtering.[c|h]: Major updates to the context getters and
context structure.
* src/mcd-filtering-int.h: The filter processing internal function
definitions have been separated here.
2006-03-30 Naba Kumar <naba.kumar@nokia.com>
* debian/control, debian/mission-control-dev.install
debian/changelog, debian/libmissioncontrol-dev.install
src/Makefile.am, configure.ac, mission-control.pc.in
Makefile.am: Split mission-control and filters and have
separate mission-control development package.
* filter-plugins/mcd-filter-common.h,
filter-plugins/mcd-text-filter-plugin.c,
filter-plugins/mcd-filter-plugins.h,
filter-plugins/mcd-filter-common.c,
filter-plugins/mcd-voip-filter-plugin.c: Moved the filters
to mission-control-filters/src in repository.
* filters-plugins/*: Removed dead directory.
2006-03-30 Naba Kumar <naba.kumar@nokia.com>
* filter-plugins/Makefile.am (libmcd_text_filter_la_SOURCES)
(libmcd_voip_filter_la_SOURCES): While compiling plugins, also use
the new common plugin code file.
* filter-plugins/mcd-text-filter-plugin.[c|h]: As the plugins
shared most of their code, the overlapping part was moved into
separate source and header files. Minor error handling fixes also
included.
2006-03-30 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-filtering.c: Naming of functions was unified a
bit. Error messages now include the function where things went
wrong. Memory allocation done with g_new0.
2006-03-29 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-object.[c|h], src/mcd-telepathy-handler.c,
src/mcd-dbus-services.c, src/mcd-filtering.c,
src/mcd-chan-handler.h, filter-plugins/mcd-text-filter-plugin.c,
filter-plugins/mcd-voip-filter-plugin.c: The
(mission_control_request_channel_with_string_handle) now works
properly.
2006-03-28 Naba Kumar <naba.kumar@nokia.com>
* libmissioncontrol/mission-control.[c|h]: API changes:
(mission_control_request_channel) no longer uses ChaVoAddress, but
takes the handle and handle type directly instead. Added
(mission_control_request_channel_with_string_handle) function as
requested.
* libmissioncontrol/chavo-utils.[c|h]: Chavo-utils have been made
obsolete and removed.
* src/mcd-main.c (main): While initializing the MC, use the new
getter function for the actual MC object.
* src/mcd-filtering.c: Changed the filtering implementation to
pluginize it. Added the support functions for the pluginized
filters (registration/unregistration, context manipulation etc).
* src/mcd-dbus-services.c (mcd_request_channel): Changed the
function API as requested to make the ChaVoAddress structure
unnecessary.
(mcd_request_channel_with_string_handle): Added initial version of
the channel request function variant that supports the handle as a
string.
(mcd_get_connection): Ensure that we do not attempt to access an
invalid TpConn object, which would cause a crash.
* src/mcd-telepathy-handler.c (_mcd_new_channel_handler): Collect
new channel requests with directionality info so that they can be
handled by the filter plugins.
* src/mcd-object.[c|h]: Clean the filter plugins and channel request
hash while disposing mission control. Mission Control has been
singletonized. Corresponding changes to the header.
* src/mcd-init.c: Load the filter plugins. Read only the enabled
accounts.
* filter-plugins/*, debian/mission-control.install, Makefile.am:
The filters have been separated to dynamically loadable libraries.
2006-03-22 Naba Kumar <naba.kumar@nokia.com>
* libmissioncontrol/Makefile.am: Added util library to build
flags/libs.
* libmissioncontrol/chavo-utils.[c|h]: Removed the now obsolete
ChavoAccount definition, as well as its helper function.
* xml/mcd-dbus-services.xml: Updated RequestChannel method signature.
* src/mcd-dbus-services.c (mcd_request_channel): The channel type
is now a string, instead of an enum. Removed now unnecessary
mapping from an enum to a string.
* src/filter-type-voip.c (filter3_invoke_voipengine): Fixed a
couple of warnings by adding the missing casts.
* src/mcd-init.c (_mcd_read_account_settings): We progressed to
next item in a GList with g_slist_next. While it worked, it's not
really the right thing to do.
* libmissioncontrol/mission-control.[c|h]: Libmissioncontrol now
uses the string identifiers for the channels instead of the old
enum system. Libmissioncontrol now also uses RtcomAccounts instead
of the old ChavoAccount.
* configure.ac: Version number updated.
2006-03-21 Naba Kumar <naba.kumar@nokia.com>
* configure.ac: Bumped up the version to 0.7. util library is no
longer a dependency (control file also updated
accordingly). util library version 0.0.3 or newer is required.
* src/mcd-init.c (_mcd_read_account_settings): Account settings
are now read with the util library instead of the deprecated
util library.
2006-03-17 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-filtering.c (mcd_async_request_chan_callback): No longer
call the filter chain for outgoing requests (fixes bug #24105)
2006-03-15 Naba Kumar <naba.kumar@nokia.com>
* configure.ac: Version number update.
* src/mcd-telepathy-handler.c (_mcd_free_presence_info): Presence
information memory handling fixes.
* src/mcd-object.[c|h] (_mcd_disconnect_account_from_hash): Emit the
AccountStatusChanged signal only if we're doing
auto-disconnect. PresenceUpdate signal handling/crash fix.
* src/filter-type-text.c: A missing licence header was added.
* src/mcd-init.c: Connectivity is now used only on
ARM. Connectivity handling fixes. When returning from autoaway,
preceding presence value is restored.Added listener for system
state events.
* src/mcd-filtering.c: A missing licence header was added. VOIP
filter support was added.
* src/Makefile.am (mission_control_SOURCES),
src/filter-type-voip.c: VOIP filter functions added to build.
2006-03-08 Naba Kumar <naba.kumar@nokia.com>
* src/mcd-telepathy-handler.c (_mcd_status_changed_handler):
Support added for handling of pending channel requests.
* src/mcd-object.h: Added device state info structure needed for
the DSM filters.
* src/mcd-object.c, src/mcd-dbus-services: Support added for use
of Connectivity on ARM.
* src/mcd-init.c (mcd_init): Added setup for DSM event
monitoring. Also, support added for use of Connectivity on ARM.
* src/mcd-filtering.c: mcd_async_request_chan_callback moved here.
* src/Makefile.am (mission_control_SOURCES): mcd-dsm.c added to
build (Contains the callbacks for device state book-keeping).
* src/filter-type-text.c: Added filter functions for battery low,
display and keylock. Contacts plugin is again used.
* configure.ac: Version updated.
2006-03-02 Naba Kumar <naba.kumar@nokia.com>
* configure.ac: Version updated to 0.2
* src/mission-control.[c|h]:
* src/mcd-object.[c|h]:
- Dispose handling problems should now be fixed.
* src/mcd-dbus-services.c: (_mcd_async_request_chan_callback) Some
missing error handling was added
* configure.ac:
* debian/control:
* src/mcd-object.[c|h]:
* src/mcd-filtering.[c|h]:
* src/mcd-init.c:
* src/filter-type-text.c
* src/mcd-telepathy-handler.c
- Added support for contact filtering, merged with other changes.
* src/mcd-dbus-services.c:
* src/mcd-object.[c|h]:
- AccountStatusChange signal support was completed and some
related presence handling bugs (at least #23194) fixed.
|