1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
|
commit 49884241db42ea4d2eadd08cb8b5805a6708c925
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 17:15:57 +0000
Prepare version 0.83.1
Second try :-)
NEWS | 9 +++++----
configure.ac | 4 ++--
2 files changed, 7 insertions(+), 6 deletions(-)
commit c91476085faaf7456c5b67e431c11b153b3c8762
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 17:35:32 +0000
Use telepathy-glib's macros for desirable and undesirable compiler warnings
configure.ac | 26 ++++++++++++++++----------
m4/Makefile.am | 4 +++-
m4/tp-compiler-flag.m4 | 36 ++++++++++++++++++++++++++++++++++++
m4/tp-compiler-warnings.m4 | 40 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 95 insertions(+), 11 deletions(-)
commit 65838e33fc871a8cf4b18541a6b0a59af2951eb2
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 17:35:11 +0000
Require a halfway modern Automake
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 4bef0dcf7a040d3656b60e480e9e94b663887ab9
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 17:35:01 +0000
Support silent rules if automake >= 1.11
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit ea197112c5601b0b527b933c3e1241a1bdb02f9f
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 17:22:14 +0000
Fix signature and return value of Connection_tp_init (oops)
_dbus_bindings/conn.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit 1c9d2019260b38f7ee2eef1f73d07c0620ba51f2
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 17:21:56 +0000
Revert "Prepare version 0.83.1"
This reverts commit a63043f262e8938affe515faa145d0f619b9fae6.
NEWS | 9 ++++-----
configure.ac | 4 ++--
2 files changed, 6 insertions(+), 7 deletions(-)
commit a63043f262e8938affe515faa145d0f619b9fae6
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 17:15:57 +0000
Prepare version 0.83.1
NEWS | 9 +++++----
configure.ac | 4 ++--
2 files changed, 7 insertions(+), 6 deletions(-)
commit 2124e4f2a44791c92781276ebe7c4e9a458888d5
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 17:15:48 +0000
Ignore generated files from newer libtool
.gitignore | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit 35f4c2e950539f3c72628eb758b62ed2a0b70492
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 17:02:13 +0000
Use git log rather than git-log, to support distcheck with modern git
Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 50f0a326c63f35b2cafe8cb9e9082bc2c4a3fa1b
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 15:07:39 +0000
fd.o#21172: avoid DeprecationWarning with Python 2.6
_dbus_bindings/conn.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
commit abdf6021b21883beb51d92862caafc127d3c25ec
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 15:03:30 +0000
tests/cross-test-*: don't use deprecated sets module
set() has been a built-in since 2.4, and we don't support older versions.
test/cross-test-client.py | 3 +--
test/cross-test-server.py | 5 ++---
2 files changed, 3 insertions(+), 5 deletions(-)
commit add31c0964a0a659443aa534b1f114f4e0a2e7b3
Author: Simon McVittie <smcv@debian.org>
Date: 2010-02-18 14:45:24 +0000
fd.o #15013: expose dbus.lowlevel.MESSAGE_TYPE_SIGNAL and friends
_dbus_bindings/module.c | 2 --
dbus/lowlevel.py | 12 ++++++++++--
2 files changed, 10 insertions(+), 4 deletions(-)
commit c1ade22086f9d25cfd1d1096307bbf96cbb1ae29
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-09-30 15:38:16 +0100
Update NEWS again
NEWS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit a6df6fb20142e7624b78b5c84e9e23cba3d3a3b9
Author: Huang Peng <shawn.p.huang gmail com>
Date: 2008-09-30 15:35:39 +0100
Message.set_sender: allow org.freedesktop.DBus
I found Message.set_sender method only accepts unique bus name. But in
my project, I need implement a simple dbus daemon, it need set the sender
as "org.freedesktop.DBus".
_dbus_bindings/message.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 98d85a33c8570dff007ce79d87657b19e67e0f00
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-09-30 15:34:24 +0100
NEWS: mention mpg's bugfix
NEWS | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 29774bca65ef7f887f9dafda56cb167dc0a2e80e
Merge: 884acb5 6a94507
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-09-16 11:27:24 +0100
Merge branch 'mpg'
commit 884acb58ef583a7565bfa88f2dc161d10c8adde6
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-09-16 11:26:24 +0100
Start development for 0.83.1
NEWS | 9 +++++++++
configure.ac | 2 +-
2 files changed, 10 insertions(+), 1 deletions(-)
commit 6a945076699cd0a5eebde6bcf22a3cc4a4f9e547
Author: Marco Pesenti Gritti <mpgritti gmail com>
Date: 2008-09-15 18:09:00 +0100
Cleanup self._signal_recipients_by_object_path (fd.o #17551)
In Connection, add_signal_receiver adds object paths to
self._signal_recipients_by_object_path and they are not cleaned by
remove_signal_receiver.
As a result self._signal_recipients_by_object_path keeps growing indefinitely.
This seem to work for me. I know very little about dbus-python though, so I
could very well be doing it wrong.
https://bugs.freedesktop.org/show_bug.cgi?id=17551
https://bugs.freedesktop.org/attachment.cgi?id=18857
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/connection.py | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
commit 81d0dcd79e1bc6187faa2f6a2f6d4d821f879a0e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-23 17:45:07 +0100
Release version 0.83.0
NEWS | 2 +-
configure.ac | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
commit d634b018107c5aaeaeca704c14b9e853b9d52bfd
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-23 17:36:41 +0100
Avoid some compiler warnings
_dbus_bindings/dbus_bindings-internal.h | 1 +
_dbus_glib_bindings/module.c | 2 ++
test/dbus_py_test.c | 2 ++
3 files changed, 5 insertions(+), 0 deletions(-)
commit fe5981ca2b90978c75d3308b0f58844fabf8ea4d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-23 17:36:24 +0100
Make the API docs build correctly when out-of-tree
Makefile.am | 5 ++++-
NEWS | 2 ++
2 files changed, 6 insertions(+), 1 deletions(-)
commit 7ef26213b5b3b46444f87a603ee3bb5c6381a56a
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-23 17:16:43 +0100
Require dbus 1.0.
It's been out for ages, and we can finally drop DBUS_API_SUBJECT_TO_CHANGE if we do.
NEWS | 2 ++
configure.ac | 2 +-
dbus-python.pc.in | 2 +-
include/dbus-python.h | 1 -
4 files changed, 4 insertions(+), 3 deletions(-)
commit 8c2ef87d94525af4b1e7f21e18b0a07b30ab425b
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-17 13:06:06 +0100
Update NEWS again
NEWS | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
commit d1ded84e774c4aaad9bf02842e1898580dd599ea
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-17 13:00:15 +0100
Omit the remote traceback from certain D-Bus errors
Specifically, DBusException and its subclasses no longer have the remote
traceback by default (although subclasses can turn it back on again
by setting include_traceback = True, and the various "programmer error"
subclasses of DBusException do have this set).
Hopefully this will stop people thinking it's a dbus-python or
telepathy-python bug when a D-Bus API like Telepathy deliberately raises an
error (and so dbus-python or telepathy-python is visible in the traceback).
dbus/exceptions.py | 33 +++++++++++++++++++++++++++++++++
dbus/service.py | 5 ++++-
test/test-client.py | 37 +++++++++++++++++++++++++++++++++++++
test/test-service.py | 22 ++++++++++++++++++++++
4 files changed, 96 insertions(+), 1 deletions(-)
commit b962965f8c30d785ade69dd6a60924b42d6a1c8d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-17 12:17:31 +0100
Update NEWS. Let's call the next release 0.83 since it's a feature release
NEWS | 8 +++++++-
dbus/server.py | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
commit 90c84c2cbe826e8aa4a4a4d8c4f4926c77590f25
Merge: a7725c9 b5aa7ce
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-15 19:38:08 +0100
Merge branch 'master' into server
commit b5aa7ce1baa7628c883982f6dde9ca32958db857
Author: Huang Peng <phuang@redhat.com>
Date: 2008-07-15 19:37:00 +0100
Bugfix for: if using Connection.add_message_filter, only the last filter will be called
_dbus_bindings/conn-methods.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit a7725c9d7589773de7c068f11ca63b95f99ccfcc
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-15 19:33:01 +0100
Alter dbus.server.Server API to have pseudo-signals
By either appending to a list of callbacks, or subclassing and providing a
method, you can be notified when connections are added or removed.
Inspired by the DBusServer patch from Huang Peng.
dbus/server.py | 48 ++++++++++++++++++++++++++++++++++++++++++++----
test/test-server.py | 24 +++++++++++++-----------
2 files changed, 57 insertions(+), 15 deletions(-)
commit 810b67cd6d30e4af73067090c7fe1ae14952ce00
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-15 19:30:33 +0100
Initialize LibDBusConnection correctly
_dbus_bindings/module.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 07196538f58c069313eeda2c496278f8289b9437
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-15 19:22:33 +0100
Add some more compiler warning flags if supported
configure.ac | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit 88a08077393d4c6f091109ccc819c6ec4664ba71
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-15 19:22:21 +0100
Make DBusPyConnection_NewConsumingDBusConnection static now nobody else needs to call it
_dbus_bindings/conn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2f7e3865c5cae60769b98dac163802e224345fb9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-15 19:21:51 +0100
DbusPyServer: construct connections by calling the type, so the object will be fully initialized
_dbus_bindings/server.c | 28 ++++++++++++++++++++--------
1 files changed, 20 insertions(+), 8 deletions(-)
commit bdc76e63da5ca9e017cfbea6c1ce1b0e21ebf706
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-15 19:15:42 +0100
Refactor DBusPyConnection_NewForBus and make it go via DbusPyConnection_Type.tp_new
Now that we have the LibDBusConnection temporary objects, we don't have
to do strange sideways inheritance, we can just chain up to the superclass
constructor.
_dbus_bindings/bus.c | 85 ++++++++++++++++++++++++++++++++++---------------
1 files changed, 59 insertions(+), 26 deletions(-)
commit 0f0193180b7853cfea486d0aef1b60d4fa067ed2
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-15 19:13:55 +0100
_dbus_bindings._Connection: sort out constructor
Accept a LibDBusConnection for the address (sic) parameter,
so we can construct a Connection for a DBusConnection that already
exists.
The way all this works right now is a bit unfortunate, with hindsight,
but most of it is fixable like this.
_dbus_bindings/conn.c | 40 +++++++++++++++++++++++++++-------------
1 files changed, 27 insertions(+), 13 deletions(-)
commit 9d53f6c5179c590089bd6560e266dda538202f93
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-15 18:59:33 +0100
[trivial] un-extern Struct_tp_getattro
_dbus_bindings/containers.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 9d9322f9faf49f7ac8b4c3048f1333a9d7cabb48
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-15 18:54:54 +0100
Add LibDBusConnection in _dbus_bindings
_dbus_bindings/Makefile.am | 1 +
_dbus_bindings/conn-internal.h | 5 +
_dbus_bindings/dbus_bindings-internal.h | 16 +++-
_dbus_bindings/libdbusconn.c | 124 +++++++++++++++++++++++++++++++
4 files changed, 143 insertions(+), 3 deletions(-)
commit 565d2e88c54d3f2e6dab4ae0ed3202d3a26bfd2c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 18:44:15 +0100
Add Connection.call_on_disconnection
dbus/connection.py | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
commit a7e29e3dbab9651761fc9a7c3ec7fbc27c711286
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 17:30:43 +0100
Actually create objects of class Server->conn_class
_dbus_bindings/server.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
commit ee4c9f80cd6a6e839eeebd2e592e4793e9bb61a8
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 17:24:35 +0100
dbus.server.Server: implement a stub version of _on_new_connection
dbus/server.py | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
commit 689e366ec0192920bcc961a0c44e89898d9bd8b1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 17:19:56 +0100
Fix *another* thinko in dbus.server
dbus/server.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2a646b1a5ac0ac15923e657058703f146f12a452
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 17:18:45 +0100
Fix thinko in dbus.server: actually instantiate a _Server
dbus/server.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit b9925dc51a1fe6d07c263f7f956005b44ca95b29
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:56:02 +0100
Add some whitespace to make reStructuredText happy
dbus/_dbus.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit c731758bd9d5dfcfe2a9e3176596bb43777ea334
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:54:16 +0100
Hook DBusServer into the build system.
Based on parts of the patch by Huang Peng <phuang@redhat.com>
Makefile.am | 1 +
_dbus_bindings/Makefile.am | 1 +
_dbus_bindings/dbus_bindings-internal.h | 8 ++++++++
_dbus_bindings/mainloop.c | 19 +++++++++++++++++++
_dbus_bindings/module.c | 2 ++
5 files changed, 31 insertions(+), 0 deletions(-)
commit 6dcd530f0b6aa158330726d7a5cca9d6dd96eafb
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:43:15 +0100
Rename _dbus_bindings.Server to _dbus_bindings._Server
_dbus_bindings/server.c | 9 +++++----
dbus/server.py | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
commit 87a86d7d6033cbb61271a84f20d5d25c4b4182c0
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:41:28 +0100
DBusPyServer: construct a user-specified subtype of Connection
_dbus_bindings/server.c | 32 +++++++++++++++++++++++++-------
dbus/server.py | 20 ++++++++++++++++++++
2 files changed, 45 insertions(+), 7 deletions(-)
commit 8e213001de0523bd7971fc9251c56635a9e943db
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:40:32 +0100
test-server: import Connection from the right place
test/test-server.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 54a64a6571a6de18b87177ff1410e5d57f574463
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:16:22 +0100
DBusPyServer initialization: remove some debugging printfs
_dbus_bindings/server.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
commit 05c19f23c63246322e4c9dfed2af47aaf77f7619
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:15:43 +0100
DBusPyServer get_address, get_id: correct docs, these return str not String
_dbus_bindings/server.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit cf64e96607157f4e73c6dacaa34fb54fead26d1f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:14:48 +0100
DBusPyServer tp_dealloc: remove a stray debugging printf
_dbus_bindings/server.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit d9821035d58c4fe161a9ff0a2546198e2c1dbb49
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:13:34 +0100
DBusPyServer: correctly unref the partially constructed DBusPyServer on errors
_dbus_bindings/server.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 6d77f23d062f047437dc8ce428d86a7ad9fa05b2
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:12:27 +0100
DBusPyServer: correctly unref the weakref object on errors
_dbus_bindings/server.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 603d449610275db1e51816104630cce6d74ac9d4
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:11:30 +0100
DBusPyServer: fix a typo
_dbus_bindings/server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 0a888fb732074426d9b0dd6f487dffe5cee9df39
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:09:57 +0100
DBusPyServer: Fix refcounting of the main loop
_dbus_bindings/server.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
commit 1144c656fa9d956853fd8c03dc52937f60d3ee2e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:09:27 +0100
DBusPyServer: if there's no main loop, throw an exception
The code starting at the "err" label assumes that an exception has been
set already.
_dbus_bindings/server.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
commit 37fd41a721a5417eeb72e90cbe3296f823ccc1b2
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 16:08:26 +0100
Document that DBusPyServer_NewDBusServer consumes a reference to the server.
Rename it to DBusPyServer_NewConsumingDBusServer to make this clearer.
_dbus_bindings/server.c | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
commit 1896381006ec54b1dfaf8bbcaaeab14b8a12ed32
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 15:45:35 +0100
DBusPyServer: remove some stray debugging printfs
_dbus_bindings/server.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
commit ac83797b39b1d0eacaafcdf42772eab8ca91ce63
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-07-14 15:39:02 +0100
DBusPyServer: refactor set_auth_mechanisms
* save a malloc
* return a boolean
* don't crash if the sequence isn't a sequence
* don't coerce items to strings too hard (we only want to accept str or
unicode, accepting FooObject and trying to use it as an authentication
method "<FooObject at 0xdeadbeef>" would be silly)
_dbus_bindings/server.c | 52 ++++++++++++++++++++++++++--------------------
1 files changed, 29 insertions(+), 23 deletions(-)
commit 9774cdade2306b9bb641162a14645510fc822c86
Author: Mathias Hasselmann <mathias@openismus.com>
Date: 2008-01-31 23:26:30 +0100
Initial support for DBusServer class (#14322).
_dbus_bindings/server.c | 535 +++++++++++++++++++++++++++++++++++++++++++++++
dbus/server.py | 38 ++++
test/test-server.py | 74 +++++++
3 files changed, 647 insertions(+), 0 deletions(-)
commit dff98456995c37d964eb32a7de7ca718fc3d48d7
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2008-01-22 12:01:18 +0000
Don't assume that libdbus only gives method call messages to object-path handlers (fd.o #14199)
NEWS | 4 ++++
dbus/service.py | 5 ++++-
2 files changed, 8 insertions(+), 1 deletions(-)
commit 2295b58e4eef9f41a2f917c51408f83a4d2b7efd
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-12-19 18:19:02 +0000
doc/tutorial.txt: Briefly describe how to use the Qt event loop.
Based on a patch from Phil Thompson, riverbankcomputing.co.uk
doc/tutorial.txt | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
commit e0883f3518f137399077c13409f7a469924c0fd8
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-12-10 17:40:23 +0000
Unset release flag, and start NEWS for 0.82.5
NEWS | 7 +++++++
configure.ac | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
commit a536c5ed08c21e35937bc8ea52844c2f19bfdc55
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-12-10 17:39:20 +0000
Add a maintainer-upload target to the Makefile.am, which uploads the current .tar.gz and .tar.gz.asc
Makefile.am | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
commit ca0a58e3ef9fe1cc2b1282b52f652c71b736e182
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-12-10 15:14:06 +0000
Version 0.82.4
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit ae97b7432232bc008e20e4696c512bcf69938dd8
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-12-10 15:13:48 +0000
When user sets reply_handler but not error_handler raise MissingReplyHandlerException instead of MissingErrorHandlerException, and vice versa (fd.o #12304, patch from René Neumann)
NEWS | 5 ++++-
dbus/proxies.py | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
commit 2beb7890280ae3b553e59ab8355b65ec203e4776
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-10-12 11:34:37 +0100
Update NEWS
NEWS | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
commit 6076d4222af7da5a8aa1de28626423d811ba6be2
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-10-12 11:34:28 +0100
Don't try to make dbus/Makefile from dbus/Makefile.in; the fix for #12741 removed it
configure.ac | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit 4fdbc65e42d940ba6cc4445a8a83af90dc3d3a34
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-10-09 12:26:21 +0100
Revert "Make sure extensions are built before docs; get rid of strange inter-directory dependency"
This reverts commit 5321d836844f3bc06a6d5796c9ca902e0bd6f4cc.
Makefile.am | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
commit 09611c45b3301e93a34a03366e058c3edc184e47
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-10-09 12:24:52 +0100
Don't distribute COPYING.*, which we no longer have or need
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 81897e3143ff5d4c660e4960cc103b92d54ae14d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-10-09 12:24:15 +0100
Don't try to distribute COPYING.AFL-2.1 and COPYING.GPL-2, which we no longer have or need
Makefile.am | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
commit 0a8b67e2d99ed36f30d6709277a40fdd2812953d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-10-09 12:20:10 +0100
Use MIT/X11 license as per permission given on the dbus mailing list.
This affects code with copyright statements from the following individuals:
* Anders Carlsson
* Colin Walters
* David Zeuthen
* Rob Taylor
and the following companies:
* Collabora Ltd. (represented by me)
* Red Hat Inc. (represented by Havoc Pennington)
COPYING | 14 +-
COPYING.AFL-2.1 | 197 ----------------------
COPYING.GPL-2 | 342 --------------------------------------
dbus/__init__.py | 30 ++--
dbus/_dbus.py | 30 ++--
dbus/_expat_introspect_parser.py | 30 ++--
dbus/decorators.py | 30 ++--
dbus/glib.py | 30 ++--
dbus/mainloop/glib.py | 34 ++--
dbus/proxies.py | 34 ++--
dbus/service.py | 34 ++--
test/run-test.sh | 20 +++
test/run-with-tmp-session-bus.sh | 20 +++
13 files changed, 186 insertions(+), 659 deletions(-)
commit 5321d836844f3bc06a6d5796c9ca902e0bd6f4cc
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-10-09 12:07:57 +0100
Make sure extensions are built before docs; get rid of strange inter-directory dependency
Makefile.am | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
commit 07b0486fa32ede65b5c05011d56f2ee0694a5176
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-10-09 11:43:05 +0100
Use non-recursive make for dbus/ to work around types.py clash with top-level types module (fd.o #12741)
Makefile.am | 36 ++++++++++++++++++++++++++++++------
dbus/Makefile.am | 28 ----------------------------
2 files changed, 30 insertions(+), 34 deletions(-)
commit 64eeafbf7a167dd116aeabbcf78ebc257f551e1b
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-10-09 11:42:00 +0100
test/: add some missing copyright headers
test/dbus_py_test.c | 25 ++++++++++++++++++++++++-
test/run-test.sh | 3 +++
test/run-with-tmp-session-bus.sh | 4 ++++
3 files changed, 31 insertions(+), 1 deletions(-)
commit 5295a01631b2a02f948d22417de997a3200a2cee
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-28 11:49:28 +0100
License examples under MIT/X11.
According to history of dbus-core before the bindings split, the examples were
written by Red Hat employees, so we should be OK to relicense them; and it's
good to have copyright headers.
examples/example-async-client.py | 23 +++++++++++++++++++++++
examples/example-client.py | 23 +++++++++++++++++++++++
examples/example-service.py | 23 +++++++++++++++++++++++
examples/example-signal-emitter.py | 23 +++++++++++++++++++++++
examples/example-signal-recipient.py | 23 +++++++++++++++++++++++
examples/gconf-proxy-client.py | 23 +++++++++++++++++++++++
examples/gconf-proxy-service2.py | 24 ++++++++++++++++++++++++
examples/list-system-services.py | 23 +++++++++++++++++++++++
8 files changed, 185 insertions(+), 0 deletions(-)
commit c658f7804cf892c2c45548dc9283c06ce7249925
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-28 11:28:26 +0100
Use MIT/X11 license for code owned by Collabora and Red Hat only, as per Havoc's permission
(Message-ID: <815098350709271800k2505485dlef9414609d392b48@mail.gmail.com>)
test/dbus_python_check.py | 21 +++++++++++++++++++++
test/test-client.py | 33 ++++++++++++++++++---------------
test/test-p2p.py | 32 ++++++++++++++++++--------------
test/test-service.py | 32 ++++++++++++++++++--------------
test/test-signals.py | 33 ++++++++++++++++++---------------
5 files changed, 93 insertions(+), 58 deletions(-)
commit a6c85a634286fe6ddfb0d15c40a475acf4bd214c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-27 19:05:06 +0100
Unset dbus_python_released following release
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 137f8e8bbfcd1bef30efe8aec4923c407da180eb
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-27 18:36:07 +0100
Version 0.82.3
NEWS | 2 +-
configure.ac | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
commit a5d922d9605ae3c1540cd232cb754a9dc5dc7812
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-27 18:31:20 +0100
Don't try to distribute COPYING.LGPL-2.1 - no longer exists
Makefile.am | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
commit dfa86e6e601be2ebef25ad99056929ff30e1cac9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-27 18:24:58 +0100
Fix NEWS indentation
NEWS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 4e39a3c08aef2b502e9d330b372b7ab96fac6881
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-27 18:21:16 +0100
Mention relicensing in NEWS
NEWS | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit 2afba7e53cf65fccfd15c87852e791845cff8467
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-27 18:19:16 +0100
Update NEWS, and add regression tests for fd.o #12096 and #12403
NEWS | 11 +++++++++++
test/test-client.py | 15 +++++++++++++++
test/test-service.py | 8 ++++++++
3 files changed, 34 insertions(+), 0 deletions(-)
commit cb1ffaea799249d6c2dcc9452f758f57392f55e7
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-27 18:14:11 +0100
fd.o #12432: fix documentation for remove_from_connection
dbus/service.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
commit 05460fdecf77c56640c332d290a5950884f26769
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-27 18:13:42 +0100
dbus.exceptions.DBusException: allow setting _dbus_error_name in subclasses
dbus/exceptions.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit 79b4ea50399db59fa8459badf33918764677248d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-27 17:57:15 +0100
Don't raise KeyError when closing private dbus.Bus. (fd.o #12096)
Also deprecate private dbus.Bus in favour of dbus.bus.BusConnection - the only
things you gain from using dbus.Bus are the shared-instance behaviour and some
strange more-than-one-way-to-do-it APIs.
dbus/_dbus.py | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
commit d8c154284ca464f493c81a4d3b5a37890d68acec
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-27 13:57:49 +0100
Relicense Collabora code under the MIT/X11 license proposed for dbus core, removing all references to the LGPL as a result
COPYING | 36 ++-
COPYING.LGPL-2.1 | 510 -------------------------------
_dbus_bindings/abstract.c | 33 ++-
_dbus_bindings/bus.c | 33 ++-
_dbus_bindings/bytes.c | 33 ++-
_dbus_bindings/conn-internal.h | 30 +-
_dbus_bindings/conn-methods.c | 31 +-
_dbus_bindings/conn.c | 31 +-
_dbus_bindings/containers.c | 33 ++-
_dbus_bindings/dbus_bindings-internal.h | 31 +-
_dbus_bindings/debug.c | 33 ++-
_dbus_bindings/exceptions.c | 33 ++-
_dbus_bindings/float.c | 33 ++-
_dbus_bindings/generic.c | 33 ++-
_dbus_bindings/int.c | 33 ++-
_dbus_bindings/mainloop.c | 33 ++-
_dbus_bindings/message-append.c | 33 ++-
_dbus_bindings/message-get-args.c | 33 ++-
_dbus_bindings/message-internal.h | 33 ++-
_dbus_bindings/message.c | 33 ++-
_dbus_bindings/module.c | 33 ++-
_dbus_bindings/pending-call.c | 33 ++-
_dbus_bindings/signature.c | 33 ++-
_dbus_bindings/string.c | 33 ++-
_dbus_bindings/types-internal.h | 33 ++-
_dbus_bindings/validation.c | 31 +-
_dbus_glib_bindings/module.c | 33 ++-
dbus/bus.py | 30 +-
dbus/connection.py | 30 +-
dbus/exceptions.py | 22 ++
dbus/gobject_service.py | 30 +-
dbus/lowlevel.py | 30 +-
dbus/mainloop/__init__.py | 30 +-
doc/tutorial.txt | 34 ++-
include/dbus-python.h | 33 ++-
test/cross-test-client.py | 30 +-
test/cross-test-server.py | 30 +-
test/crosstest.py | 30 +-
test/test-standalone.py | 32 ++-
test/test-unusable-main-loop.py | 22 ++
40 files changed, 707 insertions(+), 1036 deletions(-)
commit 003204b6a58faad7bc937ba029a99204cfa417e1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-09-27 13:56:01 +0100
dbus.service: Don't assume that exceptions passed to asynchronous callbacks are the same as the pending exception
(fd.o #12403, https://dev.laptop.org/ticket/3370)
dbus/service.py | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
commit 7028d177352b18efa3cc567f6753e1dbdab8f025
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-06 14:27:01 +0100
Update NEWS
NEWS | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 050bf4a893e24061c3de35eb24c05d3d1002ed28
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-06 14:26:21 +0100
Makefile.am, test/Makefile.am: Use @abs_top_builddir@, @abs_top_srcdir@
This fixes incorrect Python path for docs and tests if doing an out-of-tree
build using an absolute path for $(srcdir), and is also less ugly.
Makefile.am | 6 ++++--
test/Makefile.am | 10 ++++++----
2 files changed, 10 insertions(+), 6 deletions(-)
commit 33773b778911c890d76c38b13f0fdb39df237d9e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-01 21:37:50 +0100
Unset dbus_python_released
NEWS | 3 +++
configure.ac | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
commit af16daa9ff5d7217f361d68ce2bfe405f2cbd412
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-01 21:37:02 +0100
Release 0.82.2
NEWS | 2 +-
configure.ac | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
commit f27c16490c23df1b7700904ea20232ef3e4097ae
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-01 20:00:37 +0100
Mention in NEWS that API docs are generated by default
NEWS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 44471aab0502cfccef6a4fb63f01feeb6bf8732e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-01 19:59:19 +0100
Reorganise README to reflect that API docs are generated by default
README | 31 +++++++++++--------------------
1 files changed, 11 insertions(+), 20 deletions(-)
commit d3208ff19c3b61ae006403a9096c7a7ac09d4f5f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-01 19:58:59 +0100
Mention incompatibility with 0.82.1 more prominently
NEWS | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
commit 8a27b1d1164c6c63467d79c497330fefd7c6de6e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-01 19:27:30 +0100
Check for epydoc version >= 3, and default to building API docs if available
configure.ac | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
commit 44f7d60ff7ea038c2e314f05f1ccbc3a76f258d5
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-01 19:15:45 +0100
Update NEWS to mention #11623 fix
NEWS | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
commit 5e6fa32bf95a0d17fe5ce6a4ecdcae5dd3f967d5
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-01 19:10:37 +0100
Add rel_path_keyword to @method (fd.o #11623)
dbus/decorators.py | 18 +++++++++++++++++-
dbus/service.py | 25 ++++++++++++++++++++++++-
test/test-client.py | 23 +++++++++++++++++++----
test/test-service.py | 15 ++++++++-------
4 files changed, 68 insertions(+), 13 deletions(-)
commit 65680613473b7ca39f68d25010b6b17eda841f6a
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-01 19:08:48 +0100
Avoid deprecated API in cross-test
test/cross-test-client.py | 5 ++---
test/cross-test-server.py | 14 ++++++++------
2 files changed, 10 insertions(+), 9 deletions(-)
commit cea890e5e98e1846c47b220b69ae00e843c695a1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-01 18:36:37 +0100
Update NEWS
NEWS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 159319390404ed58406dba5a42d931740660af78
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-08-01 18:34:38 +0100
Fix introspection on objects with more than one connection or more than one object path (bugs.fd.o #11794)
dbus/service.py | 12 ++++++------
test/test-client.py | 11 +++++++++++
test/test-service.py | 8 ++++++++
3 files changed, 25 insertions(+), 6 deletions(-)
commit 5aef31b429ac0c14312265e166aeeeda91b3f8ac
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-31 19:01:11 +0100
NEWS: mention the solved build problems related to python-config
NEWS | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit e821e102b2fa3baff4de719411b03385132dd0f4
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-31 18:49:43 +0100
Re-fix checking for Python include paths. Use $PYTHON-config like in 0.82.1 if we can, use the hard-coded logic from versions prior to 0.82.0 if we can't.
m4/am-check-python-headers.m4 | 27 +++++++++++++++++++--------
1 files changed, 19 insertions(+), 8 deletions(-)
commit f0291410ce950913593d5ae6c9fd4fabd5eaaa3f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-31 18:04:16 +0100
Complete the .m4 renaming
m4/dbus-py-add-rst2htmlflag.m4 | 23 +++++++++++++++++++++++
m4/dbuspy-add-rst2htmlflag.m4 | 23 -----------------------
2 files changed, 23 insertions(+), 23 deletions(-)
commit 4764f07dfeee9a3baa90399f9f2a18d7d5175fd2
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-31 17:47:12 +0100
Move dbus-py-add-rst2htmlflag.m4 to jh-add-cflag.m4 - the contents of two of the .m4 files were the opposite of what they should be
m4/dbus-py-add-rst2htmlflag.m4 | 20 --------------------
m4/jh-add-cflag.m4 | 20 ++++++++++++++++++++
2 files changed, 20 insertions(+), 20 deletions(-)
commit 3396bcbacfaaa4c2ad4ad1e9d627be8ce14a6d77
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-31 17:46:42 +0100
Move jh-add-cflag.m4 to dbuspy-add-rst2htmlflag.m4 - the contents of two of the .m4 files were the opposite of what they should be
m4/dbuspy-add-rst2htmlflag.m4 | 23 +++++++++++++++++++++++
m4/jh-add-cflag.m4 | 23 -----------------------
2 files changed, 23 insertions(+), 23 deletions(-)
commit a7b73b44ca3b86a0ccf0a58e2c1fdee205633657
Author: Simon McVittie <smcv@carbon.pseudorandom.co.uk>
Date: 2007-07-31 17:40:20 +0100
Revert "Use python-config to get Python cppflags (patch from Ubuntu, fd.o #11282)."
Python < 2.5 didn't have python-config (although some distributions, e.g.
Debian and Ubuntu, shipped it as an add-on). Even for 2.5, some distributions
install it under gratuitously different names (hi, Gentoo). As a result,
this patch needs replacing with one that doesn't rely on having python-config.
This reverts commit 7c9d08d1ba7f5b0a9aa4a37118e56b1725cdaef9.
m4/am-check-python-headers.m4 | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
commit 66ebaa801a13be7403e6ec47de1f322ccf310346
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-31 13:01:04 +0100
_dbus_bindings/mainloop.c: Remove Watch and Timeout.
They were never used, and didn't make a great deal of sense. I now believe the
right direction for pure-Python mainloop support is to define a Pythonic main
loop abstraction and coerce libdbus to fit into it, rather than pretending
the objects in libdbus' abstraction are Python objects.
_dbus_bindings/mainloop.c | 357 ---------------------------------------------
1 files changed, 0 insertions(+), 357 deletions(-)
commit 4856b6c485c430ac15d4a634b6958d5f6af89dfa
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-31 12:55:16 +0100
NEWS: update with timeout fix
NEWS | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
commit 5ab6cdc200267095edd56645df536dac5d4dc986
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-31 12:38:02 +0100
Measure async call timeout in seconds as intended, not in ms (blocking calls already used seconds). Add regression tests
dbus/connection.py | 2 +-
test/test-client.py | 40 ++++++++++++++++++++++++++++++++++++++++
test/test-service.py | 13 +++++++++++++
3 files changed, 54 insertions(+), 1 deletions(-)
commit 70f802152547898f225a0a675789fb923a5ea410
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-26 17:04:44 +0100
test-client: Avoid deprecated usage - explicitly pass SessionBus() to BusName ctor
test/test-client.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit f5eb61dce982d6c51a78f5bb745ebd632ef1ad70
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-18 21:26:10 +0100
Try to avoid importing things from _dbus_bindings when they could be imported from public API
dbus/_dbus.py | 6 ++----
dbus/bus.py | 2 +-
dbus/connection.py | 8 ++++----
dbus/decorators.py | 16 ++++++++--------
dbus/glib.py | 2 --
dbus/service.py | 28 ++++++++++++++--------------
6 files changed, 29 insertions(+), 33 deletions(-)
commit 4cab9350dda0b36446d7b2a935bd6451a38e67a2
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-12 16:26:05 +0100
Bump version to 0.82.1.YYYYMMDD
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 07bb7f1de21c64ea1f19ff107910daa2a14ec4ba
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-12 13:13:13 +0100
Avoid cpp directives inside macro calls, to be nice to old gcc versions
_dbus_bindings/containers.c | 6 +-----
_dbus_bindings/int.c | 14 --------------
2 files changed, 1 insertions(+), 19 deletions(-)
commit a94d9d68d17fd5284aa549187ac6fbb29c188efd
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-11 17:11:08 +0100
NEWS, configure.ac: 0.82.1, the "double precision" release
NEWS | 4 ++--
configure.ac | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
commit e94f1a9a3c4e9a7800e013dd61b06b5538c9b8ac
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-11 15:51:23 +0100
Use PyArg_ParseTuple correctly, fixing the timeout in send_message_with_reply and send_message_with_reply_and_block.
(bugs.fd.o #11489; thanks to Marco Pesenti Gritti for report and initial patch)
NEWS | 3 +++
_dbus_bindings/conn-methods.c | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
commit 9fc1958471a95249984e9556b7dab8838eb19844
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-07-03 19:54:06 +0100
Unset dbus_python_released
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit a2ee1a4bbdef1613c44be8131b9a89bf8c4543ba
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-29 17:54:02 +0100
.gitignore: ignore patch(1) cruft, and detached signatures for the release tarballs
.gitignore | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 439ceed581837381aa690b6a0b809a06470d167d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-29 17:47:23 +0100
Update NEWS
NEWS | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
commit 1b91d2d408ea471af1e4641e7fb31b4534026a70
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-29 17:38:46 +0100
dbus.proxies: If making a call with ignore_reply=True, don't block for introspection
dbus/proxies.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 06810eb34ed2cdc5f0def02b45680915b0e0b985
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-21 01:22:27 +0100
dbus.service: use DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE
dbus/service.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 9556649e48df344f6ec0010c4af00a076a751760
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-21 01:22:04 +0100
Expose HANDLER_RESULT_HANDLED, HANDLER_RESULT_NOT_YET_HANDLED as public API in dbus.lowlevel
dbus/lowlevel.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
commit 0d4f60d771305572594fb2cfb502bf565230fa37
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-21 01:21:33 +0100
Get stacklevel right on deprecation of not specifying bus in BusName.__init__
dbus/service.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 11925e0a12989793926f82d2286cbb20ef7a179d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-21 01:20:39 +0100
_dbus_bindings: add DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE etc.
_dbus_bindings/module.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
commit d45d56a6ba455ee9b12af4d2c8c448392d74d1b4
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-21 01:19:39 +0100
Avoid using deprecated dbus_watch_get_fd()
_dbus_bindings/mainloop.c | 8 +++++++-
configure.ac | 6 ++++++
2 files changed, 13 insertions(+), 1 deletions(-)
commit a2f7458105791f37be52e1de22b710968904b235
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-20 18:01:19 +0100
dbus.service: Deprecate the omission of the `bus` argument in the BusName constructor.
Explicit is better than implicit.
dbus/service.py | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
commit 39c996ac7439c5c9a61ddb0efc92bada491fa0e5
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-20 18:00:10 +0100
Stop using interactive-Python syntax in tutorial to reduce user confusion.
Closes bugs.fd.o #11209.
doc/tutorial.txt | 45 +++++++++++++++++++--------------------------
1 files changed, 19 insertions(+), 26 deletions(-)
commit 9f2e2040c33b09196e438c818379290c9e41a4ca
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-19 18:05:00 +0100
Version 0.82.0
NEWS | 2 +-
configure.ac | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
commit 343aaa190f8a1c7475e4565c50483abbc5914a75
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-19 13:59:23 +0100
Improve API documentation markup, particularly adding :Since: annotations
dbus/bus.py | 63 +++++++++++++++++++++++++++++++++++----------------
dbus/connection.py | 5 ++++
dbus/decorators.py | 14 +++++++++++
dbus/proxies.py | 6 ++--
dbus/service.py | 30 +++++++++++++++++++-----
5 files changed, 88 insertions(+), 30 deletions(-)
commit e631446a0c3113260c380284fe1f71419d5a7edb
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-19 13:58:37 +0100
Mark Bus.get_connection() as deprecated; improve Bus.__repr__
dbus/_dbus.py | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
commit 10c49fa072b4f28713cfc873444b902b0bbe021e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-19 13:37:30 +0100
Update NEWS with recent changes; next version should be 0.82.0 I think
NEWS | 19 +++++++++++++++----
1 files changed, 15 insertions(+), 4 deletions(-)
commit 7c9d08d1ba7f5b0a9aa4a37118e56b1725cdaef9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-19 13:22:31 +0100
Use python-config to get Python cppflags (patch from Ubuntu, fd.o #11282).
Thanks to Sebastien Bacher.
m4/am-check-python-headers.m4 | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
commit 543ebc088ffbef9a52de333d99361b47301571b3
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-18 16:31:20 +0100
Implement fallback objects.
In the process, simplify the signal decorator a bit - don't allow the signal
to be emitted from a subset of interfaces (removing connection_keyword),
deprecate path_keyword, disallow path_keyword on objects that support multiple
object paths, and add rel_path_keyword. This is an API removal since previous
patches, but is compatible with the last release.
dbus/decorators.py | 115 +++++++++++++++++++++++++++++++-------------------
dbus/service.py | 52 +++++++++++++++++++++--
test/run-test.sh | 3 +
test/test-client.py | 22 ++++++++-
test/test-service.py | 39 +++++++++++++++++
test/test-signals.py | 28 ++++++++++--
6 files changed, 205 insertions(+), 54 deletions(-)
commit b62c9694c5f3e39ef00c08fee5754a91515bca54
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-15 19:03:03 +0100
Unset dbus_python_released
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit c5f1a34d6319e768f38f18817b09134849c74794
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-15 18:51:46 +0100
Update NEWS
NEWS | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
commit b4a34bf6ac17fae4f0cc67f5b5082856f0aa7283
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-14 11:05:39 +0100
doc/tutorial.txt: @service and @method take dbus_interface=..., not interface=...
doc/tutorial.txt | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit dbfb6d7b676d22dc98c3ef88071a9deeffa79648
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-12 14:27:39 +0100
dbus.bus: In watch_name_owner, only watch the desired name!
dbus/bus.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 5b408fd8501d79f87bd752f9ce483f5beb6f157b
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-11 18:10:16 +0100
dbus.bus: Ignore any errors while cleaning up signal matches, so we can make the call asynchronously
dbus/bus.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7f2e0bfe0c205af512af716f4fcb7b8508269eb7
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-11 14:51:59 +0100
dbus.service: Allow objects to start off unexported, and become exported later.
Also allow them to be exported on more than one object path or even connection.
dbus.decorators: Allow connection_keyword on signals and methods, so we can
tell which connection to use for any follow-up actions.
dbus/decorators.py | 81 ++++++++++++++-----
dbus/service.py | 209 ++++++++++++++++++++++++++++++++++++++++++--------
test/test-service.py | 8 +-
3 files changed, 239 insertions(+), 59 deletions(-)
commit cc6ea2758794601e2747ad9deccf7c8e887b0100
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-07 20:11:57 +0100
dbus.bus: when a unique name goes away, disconnect all signal handlers.
Unique names are not recycled, so no more signals can arrive for that name.
dbus/bus.py | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
commit c2773de718d0cbcac27a60d2fc56063499eeef0e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-04 14:47:15 +0100
Update date in NEWS for 0.81.1 release
NEWS | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 8d5f51a95f04ddc524e8790a00635082c851b4a1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-04 14:19:21 +0100
Version 0.81.1
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 382b890175ecef7818ce07d8d36cdaab138032df
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-04 12:26:15 +0100
NEWS: update
NEWS | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit f1c2dcd0f7b9d177877aafed95fe64343862c1cf
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-04 12:24:58 +0100
dbus.service: change unexport() to remove_from_connection() at J5's request
dbus/service.py | 14 ++++++++------
test/test-client.py | 2 +-
test/test-service.py | 2 +-
3 files changed, 10 insertions(+), 8 deletions(-)
commit a370850a68659a771690c2dac7148e371b6c9b51
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-06-04 12:10:53 +0100
dbus-python.pc.in: Use -I${includedir} to allow libdbus and dbus-python to be in different ${prefix}es
Patch from Phil Thompson at Riverbank Computing Ltd.
dbus-python.pc.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit cf4afc9ccf1408f0f0fde2a01e2dd68ba59de1f9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-30 15:52:36 +0100
NEWS: Describe the fix for #10457
NEWS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit c87b55c6ab30542d5d17f2e2041e4c87b3df712d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-30 15:19:46 +0100
dbus.service: Make it possible to unexport objects (fd.o#10457)
dbus/service.py | 33 ++++++++++++++++++++++++++++++++-
test/test-client.py | 20 ++++++++++++++++++++
test/test-service.py | 34 +++++++++++++++++++++++++++++++---
3 files changed, 83 insertions(+), 4 deletions(-)
commit 030b68b4e6d64dc25904618852917839892de1be
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-29 15:33:44 +0100
NEWS: mention list_exported_child_objects() and its use in introspection
NEWS | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 5618e6182ded0d1861a9fcb5a26440e4454801f6
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-29 15:33:18 +0100
dbus.service: include child nodes in introspection
dbus/service.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 26288ab181eb2452fad7fd94c9bc00c817b4137d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-29 15:32:01 +0100
_dbus_bindings/conn-methods.c: add list_exported_child_objects().
This is equivalent to dbus_connection_list_registered() in libdbus.
_dbus_bindings/conn-methods.c | 62 +++++++++++++++++++++++++++++++++++++++++
test/test-client.py | 3 ++
test/test-service.py | 8 +++++
3 files changed, 73 insertions(+), 0 deletions(-)
commit f0947ab721499d5202cdbfcaad6fac7d781b5666
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-28 19:47:25 +0100
NEWS: mention the fix for Debian#426412
NEWS | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit ffb1d3310d97bc4d86a09604649f334e3367816f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-28 19:45:59 +0100
dbus.connection: Release signals lock before calling _clean_up_signal_match().
This prevents a deadlock when a signal match that's tracking name owner
changes is removed, causing a match on NameOwnerChanged to be removed too.
(Debian bug#426412)
Also move more of the tree manipulation inside the lock, to be nice to
anyone attempting a port to implementations without a GIL (mainly IronPython),
and add a regression test for the above bug.
dbus/bus.py | 2 +-
dbus/connection.py | 45 +++++++++++++++++++++++++--------------------
test/test-client.py | 2 ++
test/test-signals.py | 34 ++++++++++++++++++++++++----------
4 files changed, 52 insertions(+), 31 deletions(-)
commit 03bcbff71d4bf112441dfd53300328c70d3a512c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-21 13:18:18 +0100
dbus.bus: detect NameHasNoOwner correctly, using new get_dbus_name() method
dbus/bus.py | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
commit 09e138af65710b11363e0852711171c3a9f8ef00
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-21 13:15:48 +0100
NEWS: Describe new DBusException 'args' support
NEWS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit c68cc723a95f6a4716d61b4ae455e3f8382347e3
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-21 13:10:09 +0100
Describe DBusException.get_dbus_name() in NEWS
NEWS | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
commit 000536a6b707fe3b28f7afd5360058d48e281688
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-17 12:41:05 +0100
dbus.proxies: Log more informatively when introspection fails, and use logging rather than just stderr
dbus/proxies.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
commit b052211a63cf833ac394ca529c344c288e921401
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-16 11:05:29 +0100
Implement DBusException in pure Python; add get_dbus_name() method and name= keyword argument
_dbus_bindings/bus.c | 5 +-
_dbus_bindings/conn-methods.c | 6 +-
_dbus_bindings/dbus_bindings-internal.h | 2 +-
_dbus_bindings/exceptions.c | 99 ++++++++++++++++++-------------
_dbus_bindings/message.c | 6 +-
_dbus_bindings/module.c | 2 -
dbus/__init__.py | 7 +-
dbus/_dbus.py | 3 +-
dbus/bus.py | 2 +-
dbus/connection.py | 11 +--
dbus/dbus_bindings.py | 2 +-
dbus/decorators.py | 2 +
dbus/exceptions.py | 22 ++++++-
dbus/service.py | 11 ++-
14 files changed, 105 insertions(+), 75 deletions(-)
commit df88e33eb69ef1528f76d06429d451b8274bd69b
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-16 11:03:34 +0100
configure.ac: Reset released flag to 0
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 523e63fcef2c3391e94ded7959abdba739a52354
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-09 10:13:02 +0100
Update NEWS for 0.81.0
NEWS | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 85 insertions(+), 0 deletions(-)
commit fac67418d9bc51b75f39b108c3e5f0bd9d7e6a98
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-09 10:03:06 +0100
Increment version to 0.81.0
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 756d092e3bb346dbf791af32f31c0efe520573d1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-09 10:02:33 +0100
Don't run the examples during "make check" - timing/startup issues cause intermittent failures
test/run-test.sh | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
commit 32c4636888e03025b5f01167cea6530a8fb1ce53
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-09 09:56:51 +0100
Generate ChangeLog during make dist rather than during make.
Commit a dummy ChangeLog so the autotools won't fail in git checkouts.
.gitignore | 1 -
ChangeLog | 2 ++
Makefile.am | 9 +++++----
3 files changed, 7 insertions(+), 5 deletions(-)
commit 46d28550bbe03ccf9853f072743d879ae7d621ff
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-07 15:53:59 +0100
dbus/gobject_service.py: Make ExportedGObject __init__ accept GObject properties
dbus/gobject_service.py | 25 +++++++++++++++++++++++--
1 files changed, 23 insertions(+), 2 deletions(-)
commit 863cec2464edd80fcf7fbdf62cf1c89ecab647d0
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-04 19:51:50 +0100
Create doc directory before writing HTML into it
Makefile.am | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit 727fa4079d91f8dd1b301e21d3e4279c202a9739
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-04 19:44:18 +0100
doc/tutorial.txt: Don't claim we have a tutorial for p2p connections yet
doc/tutorial.txt | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 3033d92876dc094d5f86404bdf997af9b3bb3a82
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-04 19:43:14 +0100
Update tutorial to describe add_signal_receiver before connect_to_signal.
Also remove old ./configure substitutions and update to avoid deprecated API.
doc/tutorial.txt | 100 ++++++++++++++++++++++++++++++------------------------
1 files changed, 56 insertions(+), 44 deletions(-)
commit f1d118f3d8c7dee8f5611cba2786a77e3b3cdaf1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-04 19:41:59 +0100
Stop tutorial.txt being generated by ./configure - not worthwhile just for a version number
.gitignore | 1 -
configure.ac | 1 -
doc/tutorial.txt | 667 +++++++++++++++++++++++++++++++++++++++++++++++++++
doc/tutorial.txt.in | 667 ---------------------------------------------------
4 files changed, 667 insertions(+), 669 deletions(-)
commit 0432c5256bad3fbdf10240b7ef76cea181c9f8b7
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-04 19:39:54 +0100
dbus/service.py: Before emitting an error, configure logging to write to stderr, unless already configured
dbus/service.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 24bee8cea054fa21d3229c97d75b2c08f273d9d9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-04 19:39:16 +0100
Remove contents of TODO: the peer-to-peer Connection now exists and the string change has been rejected
TODO | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
commit ed2ace3161337789924e03f559603dccfa40c56e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-04 17:09:57 +0100
dbus/service.py: Don't use deprecated get_connection() in Object constructor.
The Connection and BusConnection base classes don't have it, and we can now
export Objects on a plain Connection.
dbus/service.py | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
commit 774e133d2cdc1a0fda2bd14d2354a9da2deece88
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-03 13:20:59 +0100
Deprecate all arguments called named_service; use bus_name instead
dbus/bus.py | 49 ++++++++++++++++++++++++++++++--------
dbus/connection.py | 61 ++++++++++++++++++++++++++++++++++++++++--------
dbus/proxies.py | 66 +++++++++++++++++++++++++++++++++++++--------------
3 files changed, 137 insertions(+), 39 deletions(-)
commit 040adaef5646823dfb9247247104cb678cecacad
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-03 13:19:12 +0100
examples/list-system-services.py: Make more exemplary
examples/list-system-services.py | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
commit e6d5bb0209c9cba4d42f12a448bd708a2cabaa9f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-03 12:11:31 +0100
dbus/gobject_service.py: Make ExportedGObject work correctly.
Also add a simple unit test for it.
dbus/Makefile.am | 1 +
dbus/gobject_service.py | 13 +++++++++++--
test/test-client.py | 10 ++++++++++
test/test-service.py | 11 +++++++++++
4 files changed, 33 insertions(+), 2 deletions(-)
commit 717837a91498f9f928a0affbfa39d8cd68de5ca1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-01 13:26:51 +0100
Simplify dbus_bindings backwards compatibility glue
dbus/_dbus.py | 26 ++++----------------------
dbus/dbus_bindings.py | 13 ++++++++++++-
dbus_bindings.py | 4 ----
3 files changed, 16 insertions(+), 27 deletions(-)
commit 77566373b89e721e468f411507821ee8a5273fff
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-05-01 12:18:50 +0100
dbus/bus.py: Add watch_name_owner().
Use it to avoid a race in signal name matching.
Also change SignalMatch API from sender_unique being a public attribute to
having a method set_sender_name_owner(), and make it hashable so we can
use it to look up associated signal-sender matches in a dict.
dbus/bus.py | 94 +++++++++++++++++++++++++++++++--------------------
dbus/connection.py | 54 +++++++++++++++++++----------
2 files changed, 92 insertions(+), 56 deletions(-)
commit 77f19ef18864f3468b7373bd75461aad3239fe52
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 13:38:50 +0100
test/test-p2p.py: Added. Test "peer-to-peer" connections.
(Actually tested by connecting to the bus daemon, because I haven't implemented
a Python binding for DBusServer yet.)
test/Makefile.am | 1 +
test/run-test.sh | 3 ++
test/test-p2p.py | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 95 insertions(+), 0 deletions(-)
commit a5905b31f82b898eaa3f80a907ea636e1e3d71eb
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 13:33:11 +0100
dbus/connection.py: comments
dbus/connection.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
commit c38536726dfced572da01604909888f1f78a0492
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 13:32:52 +0100
dbus/bus.py: correct name of logger
dbus/bus.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit e96509a88425c0f48c203fbfff100cde901adc7c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 13:15:28 +0100
Move signal matching machinery into superclasses
dbus/_dbus.py | 412 +---------------------------------------------------
dbus/bus.py | 90 +++++++++++-
dbus/connection.py | 387 +++++++++++++++++++++++++++++++++++++++++++++++--
3 files changed, 464 insertions(+), 425 deletions(-)
commit 494191632d27aa60c6f7c8fbcb1b595f8ff0253e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 12:55:21 +0100
tools/check-coding-style.mk: Work correctly with out-of-tree builds
tools/check-coding-style.mk | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 060ffcc1d3f3296c679b4e91c1ed070b2e0205f9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 12:36:37 +0100
Move get_object, constants into Connection and BusConnection. Add docstrings
dbus/_dbus.py | 64 +++++----------------------------------------------
dbus/bus.py | 60 ++++++++++++++++++++++++++++++++++++++++++++++--
dbus/connection.py | 30 ++++++++++++++++++++++++
3 files changed, 94 insertions(+), 60 deletions(-)
commit dff13840b106cf08a8227379e9bb82e654442e1d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 11:56:42 +0100
Convert _BusDaemonMixin and _MethodCallMixin into base classes BusConnection and Connection.
Also add method activate_name_owner() for proxies to use (so they don't need
to be aware of whether the connection is a bus daemon or not), and stop using
deprecated get_connection method.
dbus/_dbus.py | 8 +++-----
dbus/bus.py | 22 +++++++++++++++++++---
dbus/connection.py | 23 +++++++++++++++++------
dbus/proxies.py | 21 +++------------------
4 files changed, 42 insertions(+), 32 deletions(-)
commit 338b87fcc4010fe92b3f16ebbbf5955eab825dd7
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 11:43:26 +0100
dbus/service.py: Use public API for dbus.SessionBus, since we cause an import anyway
dbus/service.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 2eb946f58e132706683890a8b961423e16998efe
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 11:41:44 +0100
dbus/_dbus.py: in SignalMatch, use get_name_owner()
dbus/_dbus.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 26cccef4d8e049613b4b815bf9b9bd5ac86dc087
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 11:39:57 +0100
dbus/_bus_mixin.py: Add bindings for ListNames, ListActivatableNames, GetNameOwner too
dbus/bus.py | 29 +++++++++++++++++++++++++++++
test/test-client.py | 24 ++++++++++++++++++++++--
2 files changed, 51 insertions(+), 2 deletions(-)
commit f75c1a0c7f7f4365f1265c6ede0c9465e50466ff
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 11:38:32 +0100
dbus/_dbus.py: import constants from _dbus_bindings; use "from...import"
dbus/_dbus.py | 58 +++++++++++++++++++++++++++++++-------------------------
1 files changed, 32 insertions(+), 26 deletions(-)
commit 1d4594e2463e00def64dd10a71101a4a45e63553
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 11:35:54 +0100
dbus/connection.py: Import constants from _dbus_bindings; check for reserved local interface as well as path
dbus/connection.py | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
commit 02d302ce90b136991de60015285ff7a39ff54375
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 11:34:33 +0100
dbus/bus.py: get BUS_DAEMON_NAME etc. from _dbus_bindings
dbus/bus.py | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
commit 84beab96c9b9a1270e82e670aa3dca3f208b728f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 11:33:31 +0100
dbus/proxies.py: get INTROSPECTABLE_IFACE from _dbus_bindings
dbus/proxies.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
commit 3c62924718ff00839843cecaae09598e36199f79
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 11:31:22 +0100
Move the client method-call machinery from dbus.proxies to dbus.connection._MethodCallMixin.
This makes proxy methods much simpler, and allows the _BusDaemonMixin to bypass
the proxies module completely (since the signatures are already known, so
we don't need to introspect anything).
dbus/Makefile.am | 1 +
dbus/_dbus.py | 7 +-
dbus/bus.py | 76 ++++++++++--------------
dbus/connection.py | 139 ++++++++++++++++++++++++++++++++++++++++++++
dbus/proxies.py | 163 +++++++++++++++++++++-------------------------------
5 files changed, 242 insertions(+), 144 deletions(-)
commit e40ec8e4f29d104b66d78b183300e6bf134c2714
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 11:23:58 +0100
Remove BusImplementation, removing its remaining functionality to Connection.
* Move get_unique_name to Connection (it can be useful for connections which
aren't to a real bus daemon but partially emulate one, like Telepathy's
Tubes)
* Add set_unique_name to Connection (same reason)
* Convert BusImplementation.__new__ into Connection._new_for_bus
* Have dbus.Bus subclass _dbus_bindings.Connection directly
_dbus_bindings/bus.c | 134 ++++++++++++---------------------------
_dbus_bindings/conn-internal.h | 5 ++
_dbus_bindings/conn-methods.c | 30 +++++++++
_dbus_bindings/module.c | 2 -
dbus/_dbus.py | 8 +--
5 files changed, 79 insertions(+), 100 deletions(-)
commit 6963fa9cfa5be7af19b93c71d8a26c149cf2c88c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-30 11:20:53 +0100
Implement o.fd.DBus method wrappers in Python instead of C.
This reduces the need to have _dbus_bindings.BusImplementation and makes
peer-to-peer connections easier to implement.
_dbus_bindings/bus.c | 235 --------------------------------------------------
dbus/Makefile.am | 3 +-
dbus/_dbus.py | 4 +-
dbus/bus.py | 191 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 196 insertions(+), 237 deletions(-)
commit 478e03e211990d05725bfec5c44a1a1bf68eaf19
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-27 12:44:45 +0100
dbus/proxies.py: Give Interface some properties. Vastly simplify __getattr__ on Interface and ProxyObject
dbus/proxies.py | 55 +++++++++++++++++++++++++++++--------------------------
1 files changed, 29 insertions(+), 26 deletions(-)
commit f6fd7b7102ac5cfd961f4e53532eb7904f877a6e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-27 12:22:54 +0100
Move Interface from dbus._dbus to dbus.proxies (it belongs there really).
Make it a new-style object and document it more clearly.
dbus/__init__.py | 5 ++-
dbus/_dbus.py | 134 +-----------------------------------------------------
dbus/proxies.py | 72 +++++++++++++++++++++++++++++
3 files changed, 77 insertions(+), 134 deletions(-)
commit fe50b35f867caed213d30cf0e046f51aeb275b20
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-27 12:12:54 +0100
Remove redundant constants
dbus/_dbus.py | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
commit a6a86fbfc299cdc61c6d013a0081c2eec878f99a
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-27 12:11:28 +0100
dbus/_dbus.py: Match NameOwnerChanged correctly
dbus/_dbus.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 6457e018adf4bf87a1bb4791ba5a08ad6ac6ba51
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-26 15:53:06 +0100
test/test-service.py: Use constants for the bus name and object path
test/test-service.py | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
commit db310619c1bd0496259cd251e6df0c83af73f3d1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-25 18:33:55 +0100
dbus/__init__.py: Add well-known interface, path, bus-name constants
dbus/__init__.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit 4be15d3a5d949107c7cf51a87a02f8555791868e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-25 18:30:52 +0100
dbus/__init__.py: Remove pseudo-tutorial from docstring, we have a tutorial now
dbus/__init__.py | 111 ------------------------------------------------------
1 files changed, 0 insertions(+), 111 deletions(-)
commit 4a027b3240152f7b9d5eabb66c2c1a94bd5ef831
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-25 18:29:48 +0100
_dbus_bindings/module.c: Add some useful constants
_dbus_bindings/module.c | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
commit b6e2f84963ea0b399d50bbfeab7df046f6f24f5b
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-25 17:46:54 +0100
Make ProxyObject a new-style class, since it now has properties
dbus/proxies.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 26965c2bf04ffb3b101623bbe02c34f43bee9232
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-25 14:07:49 +0100
Add object_path, bus_name and requested_bus_name properties to ProxyObject.
There is also a placeholder for unique_bus_name, although it's not currently
implemented.
dbus/proxies.py | 43 +++++++++++++++++++++++++++++++++++++++++--
1 files changed, 41 insertions(+), 2 deletions(-)
commit a81f1e90b293f1279ad4797753649f4264c559f3
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 14:49:44 +0100
Revert the part of the previous patch that added dbus_name to signals.
Making this work correctly will also require changes to the introspect code.
dbus/decorators.py | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
commit e4050f2750d2fdb5c05a7d7b9cb4030b99133f13
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 14:45:14 +0100
Preparation for fallback-object support:
* Let exported methods receive the path, destination and raw message via
kwargs, as well as the sender
* Let exported signals be emitted from a variable object-path
dbus/decorators.py | 81 ++++++++++++++++++++++++++++++++++++++++++++-----
dbus/service.py | 8 ++++-
test/test-client.py | 11 +++++++
test/test-service.py | 8 +++++
4 files changed, 98 insertions(+), 10 deletions(-)
commit ae8014c72a7d304f20d9422009f42bc48fa8f298
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 17:45:03 +0100
Fix fd.o #10174: make it possible to return multiple values with no signature.
More specifically: when a service method with no signature synchronously
returns a tuple that is not a Struct, interpret it as a multi-valued return,
rather than as a structure.
This is a common Python idiom, and returning a struct makes little sense
anyway when D-Bus lets you return multiple values.
Returned lists are still interpreted as arrays - returning an array is
entirely sensible, and indeed likely to be common.
Async service methods are unaffected (there is no ambiguity), and it's still
possible to return a structure by returning a dbus.Struct with appropriate
contents.
https://bugs.freedesktop.org/show_bug.cgi?id=10174
dbus/service.py | 8 +++++++-
test/test-client.py | 6 ++++++
test/test-service.py | 5 +++++
3 files changed, 18 insertions(+), 1 deletions(-)
commit 705b343c205b82c93aab0f31535d1dc99a3c0265
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 17:39:27 +0100
test/test-service.py: use a constant for the interface name, for clarity
test/test-service.py | 43 +++++++++++++++++++++++--------------------
1 files changed, 23 insertions(+), 20 deletions(-)
commit a2fa9563ee9e3bfca549397c0bf58946eaff37b2
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 17:21:11 +0100
.gitignore: Ignore INSTALL and dbus-python-*.tar.gz
.gitignore | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 50469e3e0a04d27be1ee227518ca377e16919626
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 14:41:45 +0100
Remember to include tools in dist
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit df42e53ab497dce7f00bd2eb3f2af1c022c0096c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 13:51:51 +0100
Remove trailing whitespace in Python source
dbus/_dbus.py | 8 ++++----
dbus/decorators.py | 2 +-
dbus/proxies.py | 10 +++++-----
dbus/service.py | 2 +-
4 files changed, 11 insertions(+), 11 deletions(-)
commit 1fa0c331f5327ef1d622b55a050949845eb89b0f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 13:50:02 +0100
Remove trailing whitespace in C source
_dbus_bindings/abstract.c | 4 ++--
_dbus_bindings/conn-methods.c | 4 ++--
_dbus_bindings/conn.c | 2 +-
_dbus_bindings/containers.c | 4 ++--
_dbus_bindings/message-append.c | 6 +++---
_dbus_bindings/message-internal.h | 2 +-
_dbus_bindings/message.c | 2 +-
_dbus_bindings/pending-call.c | 2 +-
8 files changed, 13 insertions(+), 13 deletions(-)
commit cdf20eebae59e0ceb2cf8fc2660609e6c38ccebf
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 13:47:09 +0100
Add optional checks for coding style (mainly whitespace at the moment).
These are on by default for git builds, off by default for releases.
_dbus_bindings/Makefile.am | 3 +++
configure.ac | 17 ++++++++++++++++-
dbus/Makefile.am | 3 +++
tools/Makefile.am | 5 +++++
tools/check-c-style.sh | 17 +++++++++++++++++
tools/check-coding-style.mk | 25 +++++++++++++++++++++++++
tools/check-py-style.sh | 18 ++++++++++++++++++
tools/check-whitespace.sh | 17 +++++++++++++++++
8 files changed, 104 insertions(+), 1 deletions(-)
commit b5552a3ea76b3e229f40a06d32a5860b0e9e2217
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 13:05:17 +0100
Refactor build system:
* Use autoreconf to simplify autogen.sh considerably
* Use AC_CONFIG_MACRO_DIR and aclocal -I to pick up macros from m4/
* Drop acinclude.m4 in favour of putting our macros in m4/
Makefile.am | 4 +-
acinclude.m4 | 109 ----------------------------------------
autogen.sh | 64 ++++-------------------
configure.ac | 7 +--
m4/Makefile.am | 5 ++
m4/am-check-pymod.m4 | 37 ++++++++++++++
m4/am-check-python-headers.m4 | 24 +++++++++
m4/dbus-py-add-rst2htmlflag.m4 | 20 +++++++
m4/jh-add-cflag.m4 | 23 ++++++++
9 files changed, 126 insertions(+), 167 deletions(-)
commit 29fae4fdfd02cc2dd4c896a2cb271d9a3597623c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 12:27:18 +0100
test/run-with-tmp-session-bus.sh: untabify, remove trailing whitespace
test/run-with-tmp-session-bus.sh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit d6b644f9317346211c94a2ae75b77ca9369a7088
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 12:26:42 +0100
test/test-client.py: untabify
test/test-client.py | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
commit 35808b1bae43f846fdbcb740c359c66977231518
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 12:24:02 +0100
dbus/service.py: untabify
dbus/service.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7207bc9f616b2401de609b36dc774bbe79fa7166
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 12:23:47 +0100
configure.ac: untabify
configure.ac | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
commit c2aa57fc64f32e0c197320b050b93e71949edd53
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-04-24 12:23:24 +0100
_dbus_bindings/message.c: untabify
_dbus_bindings/message.c | 60 +++++++++++++++++++++++-----------------------
1 files changed, 30 insertions(+), 30 deletions(-)
commit a7110d5ee20f04f17346079a6a824a7c017fe124
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-03-02 18:46:12 +0000
Implement ExportedGObject, a convenience class to export GObjects on the bus.
This is non-trivial because dbus.service.Object and GObject both use
metaclasses, so we need to implement a metaclass inheriting from both their
metaclasses - it might as well go in dbus-python to avoid everyone having to
reinvent this solution.
dbus/gobject_service.py | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
commit cfb1ea5f32a5ab77078ce184cb13602f2e28fec1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-03-02 18:43:09 +0000
* dbus.service.Object: don't let the user try to export objects on the local
path reserved by libdbus/dbus-daemon, or on an invalid path.
* BusName: don't even try to claim an invalid bus name either.
dbus/service.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit 5ee2e05d5056584d589991f5d5fd0d22df598676
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-03-02 18:41:01 +0000
* ProxyObject: allow named_service to be None, in preparation for peer-to-peer
connections. If so, never attempt to follow name owner changes (doesn't make
sense when you're talking directly to the peer).
* _ProxyMethod: allow interface to be None, for when a method call is made
on a ProxyObject without going via a dbus.Interface.
dbus/proxies.py | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
commit f2fda30b23b0176dd314329050127f61b5e92255
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-03-02 18:38:00 +0000
SignalMatch: check that interface, member and sender are either valid, or None
dbus/_dbus.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
commit 91d0a865d574325328b67ec8c5dab9b841b9218c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-03-02 18:29:34 +0000
SignalMatch: remove assorted commented-out debug messages
dbus/_dbus.py | 24 +++---------------------
1 files changed, 3 insertions(+), 21 deletions(-)
commit bfc541fad2dec718abce406caa0285b1e40c4958
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-03-02 18:13:23 +0000
Remove FIXME comment - I think the current behaviour is correct.
dbus/service.py | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
commit cf48b799ebdcaf7dca0b6f729516b413be21e989
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-03-02 18:12:47 +0000
* Don't let the user call methods on the reserved local path - we'll get
kicked off the bus if they do.
* Don't try to introspect the reserved local path - same problem.
* Do earlier validation of bus names etc. in client proxies.
dbus/proxies.py | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
commit f1e0a64b9f02a77cfd468f146ed3f398b2c1c8bc
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-21 15:04:20 +0000
If send_with_reply() returns TRUE but with pending call NULL, cope gracefully.
This is a workaround for the fact that trying to use the object path
/org/freedesktop/DBus/Local in a message header (e.g. when introspecting
trackerd with dbus-inspector) causes us to be disconnected by the bus daemon.
_dbus_bindings/conn-methods.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
commit 8dce2df1ceacffb2aa6e2cc8b1d4b58ee95ac5b1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-21 12:31:15 +0000
Don't examine args for functions declared METH_NOARGS.
It's not guaranteed to be non-NULL, and Python checks there are no arguments
so we don't have to.
_dbus_bindings/conn-methods.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
commit 4f88700588d80861c8520e56407d3a40d5bd86e6
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-19 14:17:08 +0000
dbus/_dbus.py: When an exception is raised by a signal handler, print it to stderr
dbus/_dbus.py | 54 ++++++++++++++++++++++++++++++++----------------------
1 files changed, 32 insertions(+), 22 deletions(-)
commit a79f8dacbf86efce563cc29104bbacecb5ef9739
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-13 17:54:55 +0000
Update NEWS file for 0.80.2 (not actually present in the release, but at least it'll be in the next release's NEWS file)
NEWS | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
commit 22f2a483aa45720711b42fa8ce4ddf2d9fdbaec9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-13 17:44:38 +0000
Set released flag back to 0
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 728e8f47d884bdff66106b89cc1d803fa5f30456
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-13 16:54:51 +0000
Release version 0.80.2
configure.ac | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 87dc3d5807ba12c6396dbcb1acdebb8f453e8fcd
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-07 20:46:17 +0000
Actually commit the numerous copyright-statement changes.
COPYING | 551 +------------------------------
Makefile.am | 3 +-
_dbus_bindings/abstract.c | 16 +-
_dbus_bindings/bus.c | 14 +-
_dbus_bindings/bytes.c | 14 +-
_dbus_bindings/conn-internal.h | 14 +-
_dbus_bindings/conn-methods.c | 14 +-
_dbus_bindings/conn.c | 14 +-
_dbus_bindings/containers.c | 16 +-
_dbus_bindings/dbus_bindings-internal.h | 14 +-
_dbus_bindings/debug.c | 14 +-
_dbus_bindings/exceptions.c | 14 +-
_dbus_bindings/float.c | 14 +-
_dbus_bindings/generic.c | 14 +-
_dbus_bindings/message-get-args.c | 16 +-
_dbus_bindings/message-internal.h | 14 +-
_dbus_bindings/message.c | 14 +-
_dbus_bindings/module.c | 14 +-
_dbus_bindings/pending-call.c | 14 +-
_dbus_bindings/signature.c | 14 +-
_dbus_bindings/string.c | 16 +-
_dbus_bindings/types-internal.h | 16 +-
_dbus_bindings/validation.c | 14 +-
_dbus_glib_bindings/module.c | 8 +-
dbus/lowlevel.py | 14 +-
dbus/mainloop/__init__.py | 18 +
doc/tutorial.txt.in | 8 +-
include/dbus-python.h | 14 +-
test/cross-test-client.py | 8 +-
test/cross-test-server.py | 8 +-
test/crosstest.py | 8 +-
test/test-standalone.py | 8 +-
32 files changed, 217 insertions(+), 735 deletions(-)
commit 1f9f29452352baf103fd6620eb0cd8315f8b736d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-07 17:05:29 +0000
For files solely owned by Collabora Ltd., additionally allow use under LGPL 2.1.
Also:
* split out AFL, GPL from COPYING into separate files, and add LGPL.
* update copyright year in recently touched files
COPYING.AFL-2.1 | 197 +++++++++++++++++++++
COPYING.GPL-2 | 342 ++++++++++++++++++++++++++++++++++++
COPYING.LGPL-2.1 | 510 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 1049 insertions(+), 0 deletions(-)
commit 278b57d9f4a1aed4f0296b17a94bde2a36145a45
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-07 13:15:17 +0000
Audit tp_dealloc callbacks to make sure they preserve the exception state.
* Connection: use PyErr_Fetch and PyErr_Restore to preserve exception state
* MainLoop: add a comment indicating that the "free" callback needs to do the
same if it might alter the exception state
_dbus_bindings/conn.c | 5 +++++
_dbus_bindings/mainloop.c | 3 ++-
2 files changed, 7 insertions(+), 1 deletions(-)
commit ffe3b55b4b293c5dfb36de8cf2dc2b91d09a9f0d
Merge: 5135a35 66fb274
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-07 13:00:33 +0000
Merge git+ssh://people.freedesktop.org/home/smcv/public_html/git/dbus-python/
commit 5135a35677e25c473db0e8a463f97c15359c9e34
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-07 12:50:48 +0000
Fix memory leak where Struct, _LongBase, _StrBase, String leaked their __dict__ on deallocation.
* Use a fixed-size struct for String (unicode objects are in fact fixed-size)
and store its variant_level that way.
* Don't store Struct, _LongBase, _StrBase variant_level and Struct signature
in a __dict__, but instead have a global dict mapping object IDs to variant
levels, and a global dict mapping Struct IDs to signatures. This is a bit
strange, but easier than correctly freeing the __dict__ (which is stored
at the end of a variable-length struct, so somewhat hard to get at).
* With this change, allocating objects in a loop no longer leaks memory, and
neither does the test case supplied by Luka Renko.
_dbus_bindings/abstract.c | 194 +++++++++++++++++++++++++++++++-------
_dbus_bindings/containers.c | 132 +++++++++++++++++++++-----
_dbus_bindings/message-append.c | 6 +-
_dbus_bindings/string.c | 75 ++++++---------
_dbus_bindings/types-internal.h | 10 ++
5 files changed, 309 insertions(+), 108 deletions(-)
commit 870227fafd9c976a0354b02aff6052ba24234e91
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-05 16:21:13 +0000
Close a couple of reference leaks in String (there's another somewhere, but I can't find it)
_dbus_bindings/string.c | 30 ++++++++++++++++++++++--------
1 files changed, 22 insertions(+), 8 deletions(-)
commit c04456ff1b24de8695cda14f91e8886ca9c0bf0f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-05 15:18:39 +0000
Don't leak memory in Struct repr()
_dbus_bindings/containers.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
commit 192bd48b8a17e4f62400b64e037df22c3b47de88
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-05 15:18:14 +0000
Don't leak memory in _StringBase and _LongBase repr()
_dbus_bindings/abstract.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
commit 630f912b2155e6328a3fa48deb832f5c3d114b94
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-05 13:18:19 +0000
Switch _IntBase back to using generic alloc/free implementation rather than half-participating in the int free list (which would result in _IntBase instances leaking)
_dbus_bindings/abstract.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 95c0d3618041e8c8f9173a3eb8e8ddc93c456952
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-02-05 13:17:12 +0000
Fix a couple of memory leaks - D-Bus signature strings, and decoded Unicode objects
_dbus_bindings/message-get-args.c | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
commit 99e0758b1d4f958e5753d51e843f1254e15b93b2
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-31 13:47:49 +0000
_dbus_bindings/pending-call.c: Fix memory leak of one Message per method call.
Also fix a leak of references to Py_None (unlikely to be a practical problem,
but best to be correct).
_dbus_bindings/pending-call.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit 66fb2745189037ba634cc3574f174f26e53a9be6
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-31 13:27:16 +0000
Fix a leak of references to Py_None in slightly pathological cases (should never be a problem in practice, but correctness is good)
_dbus_bindings/pending-call.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 9285b0648419a6860ca274d381cdb2924f85fdd2
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-31 13:07:49 +0000
_pending_call_notify_function: stop leaking a Message per call
_dbus_bindings/pending-call.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit c0c48abc99e66998b4c81436a8f6eca58f93cef4
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-25 12:59:39 +0000
configure.ac: Only use -Werror if user passes --enable-Werror to configure.
Also improve clarity of help message for --enable-html-docs.
configure.ac | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
commit d7c11cccfcdc3ef94f183d79203fac136e2c3494
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-25 12:49:57 +0000
doc/tutorial.txt.in: Add copyright and license (GPL2/AFL2.1, like the code)
doc/tutorial.txt.in | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
commit dc6b66210bda929f92524ef10f5c3edbb3cb495c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-25 12:43:57 +0000
COPYING: Remove information about files we no longer have
COPYING | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
commit 00ffd01f3186bf7eab88a5408daa59d162efdf70
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-25 12:43:13 +0000
test/, include/: remove accidentally duplicated lines from license statement
include/dbus-python.h | 2 --
test/cross-test-client.py | 2 --
test/cross-test-server.py | 2 --
test/crosstest.py | 2 --
test/test-client.py | 2 --
test/test-service.py | 2 --
test/test-signals.py | 2 --
test/test-standalone.py | 2 --
8 files changed, 0 insertions(+), 16 deletions(-)
commit 41694b4df5c1dbf745e5ddd443571d5cb67d74b3
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-25 12:38:53 +0000
dbus, _dbus_bindings, _dbus_glib_bindings: remove accidentally duplicated lines in license statement
_dbus_bindings/abstract.c | 2 --
_dbus_bindings/bus.c | 2 --
_dbus_bindings/bytes.c | 2 --
_dbus_bindings/conn-internal.h | 2 --
_dbus_bindings/conn-methods.c | 2 --
_dbus_bindings/conn.c | 2 --
_dbus_bindings/containers.c | 2 --
_dbus_bindings/dbus_bindings-internal.h | 2 --
_dbus_bindings/debug.c | 2 --
_dbus_bindings/exceptions.c | 2 --
_dbus_bindings/float.c | 2 --
_dbus_bindings/generic.c | 2 --
_dbus_bindings/int.c | 2 --
_dbus_bindings/mainloop.c | 2 --
_dbus_bindings/message-append.c | 2 --
_dbus_bindings/message-get-args.c | 2 --
_dbus_bindings/message-internal.h | 2 --
_dbus_bindings/message.c | 2 --
_dbus_bindings/module.c | 2 --
_dbus_bindings/pending-call.c | 2 --
_dbus_bindings/signature.c | 2 --
_dbus_bindings/string.c | 2 --
_dbus_bindings/types-internal.h | 2 --
_dbus_bindings/validation.c | 2 --
_dbus_glib_bindings/module.c | 2 --
dbus/__init__.py | 2 --
dbus/_dbus.py | 2 --
dbus/_expat_introspect_parser.py | 2 --
dbus/decorators.py | 2 --
dbus/glib.py | 2 --
dbus/lowlevel.py | 2 --
dbus/mainloop/glib.py | 2 --
dbus/proxies.py | 2 --
dbus/service.py | 2 --
34 files changed, 0 insertions(+), 68 deletions(-)
commit 3706648c6ba07d2781fb9723eddc202a7e2b8a72
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 20:29:17 +0000
Use AC_PREREQ(2.59c) to make sure we can use docdir, which is relatively new
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 4c9b10a511f9465ee87e4f87065445c04a34d7e5
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 16:37:03 +0000
Reset released flag
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 130d1a59220a921af7cc7738306804a6f8878062
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 16:17:43 +0000
Version 0.80.1, the "oops" release. Install dbus/_version.py so dbus.__version__ exists again.
NEWS | 9 +++++++--
configure.ac | 4 ++--
dbus/Makefile.am | 1 +
dbus/_version.py.in | 2 +-
4 files changed, 11 insertions(+), 5 deletions(-)
commit 6e6b4cd1d7ade85612872d94374d722531f2e3f9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 16:03:37 +0000
Clear "released" flag after release
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 876f343d4eb39519ca155a4add1483d4f6ced641
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 16:01:09 +0000
Relax dbus requirement to 0.93, to be nice to Ubuntu 6.10 and Fedora Core 6 users. Release version 0.80.0
configure.ac | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
commit 1ad24fa7b36a333a0a4e0ce1f0afd2b201f09245
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 14:55:43 +0000
Remove unnecessary "..." in AC_MSG_CHECKING; correct quoting in AC_MSG_RESULT and tests
configure.ac | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
commit 3edafe1f009d0e228109368dcec3ba3da2d559a1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 14:37:32 +0000
Clear "released" flag. Improve checking for rst2html and epydoc.
configure.ac | 48 +++++++++++++++++++++++++++++++++++++++---------
1 files changed, 39 insertions(+), 9 deletions(-)
commit 057317ea759323f49133351e997ce7b892394889
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 14:31:54 +0000
Update NEWS, README for 0.80.0
NEWS | 6 +++---
README | 33 +++++++++++++++++++++------------
2 files changed, 24 insertions(+), 15 deletions(-)
commit bdf3c3a8ca30149b8d047ac0437858a47927f37e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 14:31:29 +0000
Remove from EXTRA_DIST files we'd already be distributing
Makefile.am | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
commit 36deedcc043fb5abde7cbb432b3a3b24a5031da0
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 14:13:50 +0000
Add Makefile target maintainer-update-website to update d.fd.o/doc/dbus-python
(to use this target, configure your fd.o username, if not the same as
your local username, in ~/.ssh/config).
Move API_CHANGES.txt, HACKING.txt to doc/ directory.
Tweak documentation generation so deprecated stuff isn't documented.
API_CHANGES.txt | 124 ---------------------------------------------------
HACKING.txt | 62 -------------------------
Makefile.am | 35 ++++++++++++---
dbus/__init__.py | 7 +++-
dbus/_dbus.py | 39 +++++++++-------
doc/API_CHANGES.txt | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++
doc/HACKING.txt | 68 ++++++++++++++++++++++++++++
7 files changed, 248 insertions(+), 211 deletions(-)
commit 0035c926fd188d9458a4b23275fcb277b26abfbd
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 12:12:39 +0000
Install dbus-python.h in $includedir/dbus-1.0/dbus rather than $includedir for consistency with libdbus-glib and libdbus
Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 6708a7bb677ac91cb1190f5f6761e2136f6dc779
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-24 12:04:19 +0000
Automatically detect whether various desirable rst2html options are actually supported, using a modified version of JH_ADD_CFLAG. Also allow HTML documentation building to be switched off.
Makefile.am | 3 ---
acinclude.m4 | 25 +++++++++++++++++++++++++
configure.ac | 35 +++++++++++++++++++++++++++++------
3 files changed, 54 insertions(+), 9 deletions(-)
commit 5e31fb2bfc9ea3e39e13abc519fade6e0322c864
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-22 18:52:00 +0000
Build pre-release version 0.79.94 (= 0.80rc4)
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 7ab85ec3ad175ed8631409e2fb216162fda70d67
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-22 18:34:11 +0000
Alter Makefile.am, configure.ac to recurse into subdirs for previous change to take effect
.gitignore | 1 +
Makefile.am | 124 ++++++++++------------------------------------------------
configure.ac | 5 ++
3 files changed, 27 insertions(+), 103 deletions(-)
commit 625bfaac68f6c7afd85d62752e34fc8e00405790
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-22 18:26:36 +0000
Split up Makefile.am between subdirectories
As well as being conventional, this seems to be necessary to avoid having
dbus_py_test.so installed, while still having it be a Libtool shared library
(noinst libraries are helpfully made static).
_dbus_bindings/Makefile.am | 30 ++++++++++++++++++++++++++
_dbus_glib_bindings/Makefile.am | 9 ++++++++
dbus/Makefile.am | 21 ++++++++++++++++++
examples/Makefile.am | 8 +++++++
test/Makefile.am | 44 +++++++++++++++++++++++++++++++++++++++
5 files changed, 112 insertions(+), 0 deletions(-)
commit 6edb71ddccce139f6c7de1e43f885fed37f58b1b
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-22 16:50:19 +0000
API_CHANGES.txt, NEWS: update for 0.79.94 (= 0.80rc4)
API_CHANGES.txt | 4 ----
NEWS | 11 +++++++----
2 files changed, 7 insertions(+), 8 deletions(-)
commit b693df256198cd58c71e97531aa4169999bfd2d8
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-22 16:49:52 +0000
configure.ac: When building a non-release version, compile with -Werror
configure.ac | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
commit 795927e72a9b5e0a14ea7125c31972d2fc3501dc
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-19 12:31:56 +0000
Add a "released" flag to configure.ac: if not 1, append the date to the version.
When making official releases please do the following:
* set dbus_python_released to 1 and set the new version
* make the release tarball (make distcheck)
* commit, tag
* change dbus_python_released back to 0 and commit again
configure.ac | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
commit 43c48b9c7fdbb5741daa024df9e7a319d1993dac
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-17 13:06:33 +0000
dbus/proxies.py: Finish implementing deferred methods so they can be async.
* Queue up async methods and execute them when introspection finishes, instead
of blocking on the introspection operation (heavily based on patch by J5)
* Rename DeferedMethod (sic) to spell Deferred correctly, and rename to
_DeferredMethod (also _ProxyMethod) since these classes are not public API
* Make it safe to keep a reference to a DeferredMethod and call it with
differing arguments:
meth = proxy.DoStuff
meth(1, reply_handler=on_reply, error_handler=on_error)
meth(2, reply_handler=on_reply, error_handler=on_error)
* Make it safe to keep references to DeferredMethod even after introspection
has finished - if called after introspection finishes, silently do an
immediate call
* Add some locking to avoid subtle failures if one thread appends
to the pending introspect queue at the same time another thread gets
introspection results back - ProxyObject and friends should now be
threadsafe (I think)
dbus/proxies.py | 145 +++++++++++++++++++++++++++++++++----------------------
1 files changed, 87 insertions(+), 58 deletions(-)
commit 4dbee87fbe9dd7abb56d8d150d8c8ae7bd01f261
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-17 12:28:38 +0000
dbus/service.py: cope with exceptions with no __module__
(thanks Phil Thompson, <phil riverbankcomputing co uk>)
dbus/service.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit cc4dfc18c7fe0843b5e118d35a94ca9cca563f98
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-17 12:27:51 +0000
DBusGMainLoop: avoid reference leak on success
(thanks Phil Thompson, <phil riverbankcomputing co uk>)
_dbus_glib_bindings/module.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 47860b5c25c823587e4e06636acc926b252fe114
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 19:52:45 +0000
Add regression test for main loop failure handling (a main loop that never works)
Also run tests with DBUS_FATAL_WARNINGS and ulimit -c unlimited so they dump
core at the slightest provocation.
Makefile.am | 11 ++++-
test/dbus_py_test.c | 101 +++++++++++++++++++++++++++++++++++++++
test/run-test.sh | 6 ++
test/test-unusable-main-loop.py | 17 +++++++
4 files changed, 134 insertions(+), 1 deletions(-)
commit 916df7703d828afec95635d309ca83bc1c05fd98
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 19:51:28 +0000
examples: Don't load a main loop when only making blocking calls
examples/example-client.py | 2 --
examples/list-system-services.py | 3 +--
2 files changed, 1 insertions(+), 4 deletions(-)
commit f0deb687acad02173c20a0dc644323774b24dc0e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 19:38:00 +0000
When running without a main loop, don't make introspection fail.
Also change send_message_with_reply() to not demand a main loop by default
(since you can call block() on the returned object, like blocking introspection
does).
_dbus_bindings/conn-methods.c | 24 +++++++++++++++++-------
dbus/proxies.py | 2 +-
2 files changed, 18 insertions(+), 8 deletions(-)
commit 7d70b07e62d579ce85572a3e1ebb92f42461a185
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 19:36:05 +0000
conn.c: fix Connection setup in absence of main loop, and error handling
* Only set up a main loop if we actually have one (not None)
* Don't double-close the DBusConnection (causing an assertion in libdbus) if
we somehow fail to set up the main loop. Thanks to tsuraan
<tsuraan at gmail.com> for the bug report.
_dbus_bindings/conn.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
commit 6d7356140055082a30090161c586b4575f8f0fa7
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 18:08:04 +0000
Correctly don't build HTML docs if rst2html is not found
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit b33efe312c8d89ecc6e2ba9f075d2d0a9e28c3e1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 17:41:45 +0000
Switch types from int to Py_ssize_t to be compatible with Python 2.5 on 64-bit archs
_dbus_bindings/conn-methods.c | 2 +-
_dbus_bindings/dbus_bindings-internal.h | 10 ++++++++++
_dbus_bindings/message-append.c | 8 ++++----
_dbus_bindings/message-get-args.c | 7 +++++--
4 files changed, 20 insertions(+), 7 deletions(-)
commit 4d7fac530ce82c3dc888248234b955c04c364ada
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 17:24:00 +0000
Always install text documentation, even if we're not able to build the HTML
Makefile.am | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit 597d278a3973ad411e345ab8938adf6c582da42d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 17:23:25 +0000
bytes.c, string.c: Don't mention get_object_by_unique_name in docstrings, it no longer exists
_dbus_bindings/bytes.c | 2 +-
_dbus_bindings/string.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit d723afa11282cc694342a0043cdc8303747c88a7
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 17:19:03 +0000
When running make clean, also get rid of the generated API docs
(now passes make distcheck DISTCHECK_CONFIGURE_ARGS=--enable-api-docs)
Makefile.am | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 0557d5bdcf90dc79ed3662144d8ecd1df28e5dcf
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 17:09:10 +0000
Remove generated HTML documentation on distclean
Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 3504ac8bc098b5872be747c151f304bbe80d2131
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 17:04:37 +0000
Remove get_object_by_unique_name again, and replace with a better-thought-out version of get_object
- Remove get_object_by_unique_name (introduced in 0.80rc1) - J5's right, the
name is misleading
- Make get_object *not* follow name changes by default (a return to pre-0.80
behaviour, and the same as 0.80rc1's get_object_by_unique_name())
- Add keyword argument follow_name_owner_changes (default is False): if True,
it will follow name owner changes (like 0.80rc1's get_object() always did)
- Implement with modifications to ProxyObject so it resolves the unique name
on construction, if required (activating it if necessary)
dbus/_dbus.py | 71 ++++++++++++++++--------------------------------------
dbus/proxies.py | 34 ++++++++++++++++++++++----
2 files changed, 50 insertions(+), 55 deletions(-)
commit e8d766e1b2d5013e3f2c0a95d43b1dcb5eb00044
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 17:00:00 +0000
Ensure we put the right number of items in a struct or message and add test cases.
This avoids us getting kicked off the bus when trying to put the wrong
number of things in a struct - this used to happen, but was masked by the fact
that the tests ran with service activation, so the service was just killed and
reactivated. Forthcoming changes to get_object make this automatic reactivation
not happen (messages will be directed to the unique name by default, so
stateful communication can work).
_dbus_bindings/message-append.c | 55 +++++++++++++++++++++++++-------------
test/test-standalone.py | 44 ++++++++++++++++++++++++++++++-
2 files changed, 79 insertions(+), 20 deletions(-)
commit bd2baf2aad6a7f5ecf0bf7e867e74077cf733cd6
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 15:05:31 +0000
test/run-test.sh: Re-order to run the simpler tests (standalone, examples, cross tests) first
test/run-test.sh | 34 ++++++++++++++++++----------------
1 files changed, 18 insertions(+), 16 deletions(-)
commit c7fa08a7a7cc6ae3811b1164b0fdd627a9377e43
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 14:44:01 +0000
Write some more of the tutorial
doc/tutorial.txt.in | 289 +++++++++++++++++++++++++++++++++++++++++++++++----
1 files changed, 267 insertions(+), 22 deletions(-)
commit e018fa3f6a7e4e0da334453c81e3bde22da46fe1
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 12:08:05 +0000
Comment on why we're putting the client at path /Test
test/cross-test-client.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit c98c7742c13ff38998bbc6b6acca390a529e9c7f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-16 11:40:47 +0000
Use autoconf's usual directory for docs
Makefile.am | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
commit 24d8be176996913853b01f0e3ed1d33082640dec
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-15 20:24:59 +0000
Generate HTML docs from reStructuredText if rst2html is available
Makefile.am | 22 ++++++++++++++++++++++
configure.ac | 7 ++++++-
2 files changed, 28 insertions(+), 1 deletions(-)
commit a9575bf47b9ba5bc02ad5280fe35652758c0d00e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-15 20:23:48 +0000
reStructuredText syntax corrections
API_CHANGES.txt | 2 +-
HACKING.txt | 6 +++---
NEWS | 6 +++---
README | 6 +++---
4 files changed, 10 insertions(+), 10 deletions(-)
commit cd5719adbf6cafb53fb3dd19c141ad312729c83c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-15 20:22:52 +0000
Ignore generated documentation
.gitignore | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 6053bac21757a0d87abd0c50135f6c783fdf63b9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-15 19:15:20 +0000
configure.ac: don't divert autotools cruft into autotools/, it's probably more trouble than it's worth (fd.o#9630); .gitignore: adjust accordingly
.gitignore | 16 ++++++++--------
configure.ac | 1 -
2 files changed, 8 insertions(+), 9 deletions(-)
commit 02f962921e831a710e7b1566ec5d4c0b84a15d91
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-15 19:09:04 +0000
Makefile.am: ship example-async-client so it can be used as a test
Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 618e13ee5bdce6dd129600a698910f5edb7ab4db
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-10 13:11:33 +0000
Add half-written tutorial. Fix reStructuredText syntax in documentation, and build HTML if we have rst2html or rst2html.py.
Distribution packagers may want to build-depend on docutils, and configure with --docdir=... if their distribution would usually use a location other than PREFIX/share/doc/dbus-python - for instance Debian/Ubuntu should use --docdir=/usr/share/doc/python-dbus.
doc/tutorial.txt.in | 399 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 399 insertions(+), 0 deletions(-)
commit bde53f1cf59b743d5e38b6ac4fbdf348bdf773db
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-10 13:05:23 +0000
Add special case to serialization: objects with a __dbus_object_path__ attribute are serialized as that object path. Add that attribute to ProxyObject, dbus.Interface and dbus.service.Object.
_dbus_bindings/abstract.c | 4 +
_dbus_bindings/message-append.c | 120 +++++++++++++++++++++++++++++++--------
_dbus_bindings/types-internal.h | 1 +
dbus/_dbus.py | 5 ++
dbus/proxies.py | 12 ++--
dbus/service.py | 3 +
test/test-standalone.py | 15 +++++
7 files changed, 130 insertions(+), 30 deletions(-)
commit 92e8cc8ff3cb87af3e94bc455d3be057e98846d3
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-10 12:45:06 +0000
Remove old .cvsignore files
dbus/.cvsignore | 10 ----------
examples/.cvsignore | 2 --
2 files changed, 0 insertions(+), 12 deletions(-)
commit 984b7fc404a89b61f5efefb2a82d203a6b4fd143
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 16:49:58 +0000
Validate that the signature on an Array or Dict has the right number of complete types
_dbus_bindings/containers.c | 58 ++++++++++++++++++++++++++++++++++++++++---
1 files changed, 54 insertions(+), 4 deletions(-)
commit 6e4a93545a40a13af7308b97e435921a0eee7805
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 15:30:22 +0000
When putting a ByteArray into a variant array, serialise it as an array of variants containing byte, not an array of variants containing string
_dbus_bindings/message-append.c | 26 +++++++++++++++++++++++++-
test/test-standalone.py | 3 ++-
2 files changed, 27 insertions(+), 2 deletions(-)
commit 93faf8793f271d91fbc413f1c9374328605bcda8
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 15:27:52 +0000
Improve documentation of type conversion from D-Bus to Python
_dbus_bindings/message-get-args.c | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
commit e5cef62c8ed04f5842257653bc6ec70abbdd20bb
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 15:27:02 +0000
dbus.Interface, dbus.ProxyObject: add get_dbus_method(), which can be used to call awkwardly-named methods like __getattr__
dbus/_dbus.py | 26 ++++++++++++++++++++++++++
dbus/proxies.py | 47 ++++++++++++++++++++++++++++++++++++-----------
test/test-client.py | 4 ++++
3 files changed, 66 insertions(+), 11 deletions(-)
commit ee11236f45c9aa354136e6e5d2ec1c4490bc6657
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 14:53:55 +0000
Improve docstrings for String and UTF8String explaining how to get UTF8String from the API.
_dbus_bindings/string.c | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
commit d75fec04ba79b46872801c6132afad7b9f192c94
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 14:53:16 +0000
Subscripting a ByteArray now gives 1-character strings again (for least astonishment). Also document how to get a ByteArray from the API
_dbus_bindings/bytes.c | 75 +++++++++++------------------------------------
1 files changed, 18 insertions(+), 57 deletions(-)
commit b68d891998983ab94e68555855d10f85a3dca019
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 14:29:46 +0000
Correct usage in example-async-client: you need to use example-client (or kill(1) of course) to shut down the example service
examples/example-async-client.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 26ce68b8de3f48187091d3686cb30b75375b84d0
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 14:05:28 +0000
Add an example of asynchronous calls. Run the examples during 'make check'.
examples/example-async-client.py | 109 ++++++++++++++++++++++++++++++++++
examples/example-client.py | 6 ++
examples/example-service.py | 10 +++
examples/example-signal-recipient.py | 1 -
test/run-test.sh | 13 ++++
5 files changed, 138 insertions(+), 1 deletions(-)
commit 9ede20248d690d9bb2cb9fba6b75955770930a94
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 14:04:49 +0000
Don't require a main loop unless async calls, signal connections or exported objects are actually made. (Increases backwards compatibility with Pyrex-dbus-python)
_dbus_bindings/conn-internal.h | 2 ++
_dbus_bindings/conn-methods.c | 30 ++++++++++++++++++++++++++++++
_dbus_bindings/conn.c | 8 ++------
_dbus_bindings/module.c | 7 ++++---
dbus/_dbus.py | 10 ++++++++--
5 files changed, 46 insertions(+), 11 deletions(-)
commit 336cfd395976627b9c758a48f7ec7db275963bc9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 13:03:27 +0000
Accept keyword argument introspect=False to Bus.get_object(),
Bus.get_object_by_unique_name() to suppress introspection - off by
default, but necessary to work around broken service implementations
which fail to reply to introspection.
Thanks to Ulisses Furquim <ulissesf at gmail.com> for the patch.
dbus/_dbus.py | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
commit 88011f8e449d92959f83e304d8b6b2db44ec02bc
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 12:59:31 +0000
Stop trying to get macros from the autotools directory (no longer needed)
configure.ac | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
commit adf16bd849e1ebf98f65e288bc42956810a3e2eb
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 12:47:26 +0000
Remove extra M4 macros (J5 added them to acinclude.m4 instead)
autotools/as-ac-expand.m4 | 40 -----------------------------
autotools/jhflags.m4 | 21 ---------------
autotools/python.m4 | 62 ---------------------------------------------
3 files changed, 0 insertions(+), 123 deletions(-)
commit 2a100a94dc4db5174244b9dac89f4ca5c1083103
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2007-01-09 12:46:53 +0000
Remove setup.py (no longer used in favour of autotools)
setup.py | 195 --------------------------------------------------------------
1 files changed, 0 insertions(+), 195 deletions(-)
commit d0004b6162a18c3d9f02dbc4404f8f452f1c3e79
Author: John (J5) Palmieri <quinticent@localhost.localdomain>
Date: 2007-01-03 17:35:57 -0500
fix autogen.sh to run all the correct steps that jhbuild expects
* copy autogen.sh from D-Bus core
* add JH_ADD_CFLAG, AM_CHECK_PYTHON_HEADERS and AM_CHECK_PYMOD m4 macros
to acinclude.m4
acinclude.m4 | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++
autogen.sh | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 175 insertions(+), 3 deletions(-)
commit 5b8c9eb452b78ed56b395193f6989ad87eae111b
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-21 19:51:54 +0000
Improve various type docstrings
_dbus_bindings/abstract.c | 28 ++++++++++--
_dbus_bindings/bus.c | 8 +++-
_dbus_bindings/bytes.c | 28 +++++++++---
_dbus_bindings/containers.c | 59 +++++++++++++++---------
_dbus_bindings/generic.c | 3 +
_dbus_bindings/int.c | 91 +++++++++++++++++++------------------
_dbus_bindings/message-get-args.c | 2 +-
_dbus_bindings/message.c | 35 +++++++++++---
_dbus_bindings/module.c | 10 ++---
_dbus_bindings/pending-call.c | 3 +-
_dbus_bindings/signature.c | 11 +++--
_dbus_bindings/string.c | 25 ++++++----
_dbus_bindings/validation.c | 29 ++++++------
13 files changed, 205 insertions(+), 127 deletions(-)
commit b2e5a27a119ca7b94cd8a343a163bc6639f7c8f9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-21 18:39:51 +0000
Fix recommendation given by exception message bringing it into sync with current API (spotted by Phil Thompson)
_dbus_bindings/conn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7f7262c8d6b1e3aa6cdc541ac0cdb275f9e68501
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 17:48:34 +0000
Makefile.am: if in a git checkout, generate the ChangeLog (correctly)
Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 06e9507ebca33369c106b616f948fe6af4fe71c9
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 17:44:35 +0000
NEWS, README: 0.80rc3, a.k.a. 0.79.93
NEWS | 7 ++++++-
README | 1 +
2 files changed, 7 insertions(+), 1 deletions(-)
commit d62626c19c32348c28b90e269c47635a421247f3
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 17:42:57 +0000
.gitignore: ignore the generated Makefile
.gitignore | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 75a897710ffafb1fc4df17460784829df844666f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 17:37:11 +0000
Makefile.am: if in a git checkout, generate the ChangeLog
Makefile.am | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
commit 6020c7f6252833c2d5bf890c68335ee4cc6f777c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 15:57:11 +0000
dbus-python.h: Alter header comment, use a better cpp define name for the multiple-inclusion guard
include/dbus-python.h | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
commit 75111a7da5f12f3f01d736694158ea266926139b
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 15:43:57 +0000
Remove old introspect_parser from Makefile.am too
Makefile.am | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit 550390810f9ee63a3f251e854f3e234c6a948436
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 15:17:12 +0000
Remove old libxml2-based introspection parser
dbus/introspect_parser.py | 90 ---------------------------------------------
1 files changed, 0 insertions(+), 90 deletions(-)
commit d6bfbdd4a270a0b2421e8cba566805211b711c77
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 15:16:43 +0000
Include the cross-test in 'make check'
test/run-test.sh | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
commit 432694be74b0a6bfb5336e4fa493958b1bf1ac4e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 15:16:22 +0000
Add missing _expat_introspect_parser.py; fix cross-test to work for out-of-tree builds
Makefile.am | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit 0bccb0f1fd68b224e7aee6d21aef8e36cdc8d980
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 15:15:01 +0000
Remove Makefile (auto-generated since switching to autotools)
Makefile | 1088 --------------------------------------------------------------
1 files changed, 0 insertions(+), 1088 deletions(-)
commit b3c9b4c65aaefc6c940793e00fcdb60831367d10
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 14:45:16 +0000
Add an Expat-based introspect parser, and use it instead of libxml2.
(Removes dependency on libxml2.)
dbus/_expat_introspect_parser.py | 83 ++++++++++++++++++++++++++++++++++++++
dbus/proxies.py | 2 +-
2 files changed, 84 insertions(+), 1 deletions(-)
commit 164f38ea01187c1bbe9606dde81e09efd62362e5
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 14:24:45 +0000
Pass introspection XML around as UTF-8, rather than decoding it to Unicode
during unmarshalling and re-encoding it for libxml2.
dbus/introspect_parser.py | 6 +++++-
dbus/proxies.py | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
commit 956a5c9e47e9504b67685a6bf582afd04c613fd3
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 14:21:10 +0000
Respect utf8_strings, byte_arrays options when calling methods asynchronously.
Also make it possible to fail the async call tests in test-client, and add a test case for utf8_strings in async use.
dbus/proxies.py | 9 +++++----
test/test-client.py | 38 +++++++++++++++++++++++++++++---------
2 files changed, 34 insertions(+), 13 deletions(-)
commit b4845467ec4e381f07dadf48ce67a7b02ac46618
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-19 14:05:15 +0000
Do cross-product of options in more obvious way
test/test-client.py | 25 +++++++++++++------------
1 files changed, 13 insertions(+), 12 deletions(-)
commit e6eb7b5307da2a446e1c8c6b0cb6b11fc6705b00
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-18 20:33:56 +0000
Switch to autotools and test with Python 2.5 as well as 2.4.
In the process:
HACKING.txt: update
include/dbus-python.h: add some typedefs to make it saner
bus.c, conn.c, conn-methods.c: further alter docstrings to keep epydoc happy
exceptions.c: create exceptions in a more longwinded way for Python 2.5 compatibility
message-get-args.c, bus/__init__.py: tweak docstrings
dbus/introspect_parser.py: make docstring valid reStructuredText
run-test.sh: simplify, since configure now does some of the work
test/*.py: use paths from run-test.sh, cope with out-of-tree builds
test-standalone.py: carry out additional sanity checks
.gitignore | 35 +-
HACKING.txt | 43 +-
MANIFEST.in | 17 -
Makefile | 1108 +++++++++++++++++++++++++++++++-
Makefile.am | 124 ++++
README | 33 +
_dbus_bindings/bus.c | 2 +-
_dbus_bindings/conn-methods.c | 5 +-
_dbus_bindings/conn.c | 4 +-
_dbus_bindings/exceptions.c | 39 +-
_dbus_bindings/message-get-args.c | 9 +-
_dbus_bindings/module.c | 15 +-
autogen.sh | 5 +
autotools/as-ac-expand.m4 | 40 ++
autotools/jhflags.m4 | 21 +
autotools/python.m4 | 62 ++
configure.ac | 83 +++
dbus-python.pc.in | 11 +
dbus/__init__.py | 14 +-
dbus/_version.py.in | 3 +
dbus/introspect_parser.py | 10 +-
include/dbus-python.h | 27 +-
test/TestSuitePythonService.service.in | 3 +
test/run-test.sh | 43 +-
test/run-with-tmp-session-bus.sh | 51 ++
test/test-client.py | 9 +-
test/test-service.py | 9 +-
test/test-signals.py | 9 +-
test/test-standalone.py | 25 +-
test/tmp-session-bus.conf.in | 21 +
tools/run-with-tmp-session-bus.sh | 65 --
tools/session.conf | 24 -
32 files changed, 1722 insertions(+), 247 deletions(-)
commit 73457d0e435f4a9be9a9980fb06dd004b87c6647
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-18 12:05:00 +0000
bus.c, conn-methods.c, conn.c: Alter format of signatures in docstrings to keep epydoc happy
_dbus_bindings/bus.c | 14 +++++++-------
_dbus_bindings/conn-methods.c | 11 ++++++-----
_dbus_bindings/conn.c | 5 +++--
3 files changed, 16 insertions(+), 14 deletions(-)
commit 358403cd0cba20ccda4961a39644c092a0f05b74
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-18 12:03:27 +0000
include/dbus_bindings.h: Rename to include/dbus-python.h, improve namespacing.
_dbus_bindings/conn-internal.h, _dbus_bindings/dbus_bindings-internal.h,
_dbus_glib_bindings/module.c: Use dbus-python.h instead of dbus_bindings.h
_dbus_bindings/conn-internal.h | 2 +-
_dbus_bindings/dbus_bindings-internal.h | 4 +-
_dbus_glib_bindings/module.c | 13 ++--
include/dbus-python.h | 96 +++++++++++++++++++++++++++++++
include/dbus_bindings.h | 96 -------------------------------
5 files changed, 106 insertions(+), 105 deletions(-)
commit f4bb2ca522a39fbbf2cce536410c973a73b9059c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-15 12:56:36 +0000
COMPAT.txt: cross off some to-do items, patches now sent upstream
COMPAT.txt | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
commit 6376c0c422063a48554719f9ec72162c1b63fdda
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-14 16:18:13 +0000
_dbus_bindings/module.c: If Python is older than 2.4.2c1, initialize threads.
In newer versions the PyGILState API is allowed even when threads haven't been
initialized yet, but in 2.4.1 it causes a crash. It's desirable to avoid
initializing threads until just before the second thread is created, since
this creates locking overhead which isn't needed until the app actually goes
multi-threaded.
_dbus_bindings/module.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
commit 274314c98304fdaa23bcc7b3940ab48e7afe0e8c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 15:02:36 +0000
Bump version to 0.80rc2
NEWS | 2 +-
dbus/__init__.py | 4 ++--
setup.py | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
commit 8989e8da843210e7d18c456cfaa12cabc1015ac0
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 15:02:07 +0000
MANIFEST.in: include Makefile (for the benefit of mjj29's interop test) and examples
MANIFEST.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 717c5b4b3852c5e519bc4a1ccb9df8414d4c019c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 14:48:56 +0000
list-system-services.py: Use the NULL_MAIN_LOOP
examples/list-system-services.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit b70364f2a37e64585c53a72e36481407e375808c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 14:40:32 +0000
dbus/examples: Move to examples/ (it's not part of the library and isn't installed)
dbus/examples/.cvsignore | 2 -
dbus/examples/example-client.py | 51 -------------------
dbus/examples/example-service.py | 50 -------------------
dbus/examples/example-signal-emitter.py | 46 -----------------
dbus/examples/example-signal-recipient.py | 77 -----------------------------
dbus/examples/gconf-proxy-client.py | 15 ------
dbus/examples/gconf-proxy-service2.py | 40 ---------------
dbus/examples/list-system-services.py | 41 ---------------
examples/.cvsignore | 2 +
examples/example-client.py | 51 +++++++++++++++++++
examples/example-service.py | 50 +++++++++++++++++++
examples/example-signal-emitter.py | 46 +++++++++++++++++
examples/example-signal-recipient.py | 77 +++++++++++++++++++++++++++++
examples/gconf-proxy-client.py | 15 ++++++
examples/gconf-proxy-service2.py | 40 +++++++++++++++
examples/list-system-services.py | 41 +++++++++++++++
16 files changed, 322 insertions(+), 322 deletions(-)
commit c874bb37093c39e3dcc974c7bff39a36e4f7202a
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 14:39:03 +0000
dbus/_dbus.py: Strongly reference shared connections, so they stay alive and signal handlers etc. stick. On close, remove them from the table of shared connections first
dbus/_dbus.py | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
commit 4a7f442a322a8df6306f50ae22aaf049d3807c9f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 14:36:00 +0000
dbus/__init__.py: Import exceptions too in case someone is relying on it
dbus/__init__.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 1cd510ab8be262106e1a57359a06708236b9dd39
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 13:53:38 +0000
test/test-client.py: Add test case for weak reference logic (which would segfault on 0.80rc1)
test/test-client.py | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
commit a3f966c49e6158a3382a2dce553b91ceb64376fe
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 13:50:38 +0000
dbus/__init__.py: Import types submodule into dbus, because Sugar assumes it'll be available
dbus/__init__.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit a4b88e345e8ee03ddcf12ce323730d12d51193db
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 13:49:38 +0000
dbus/_dbus.py: Use absolute import for proxies
dbus/_dbus.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 8edf45a9dc51a70ce4897606f4cd2b08e3536332
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 13:48:40 +0000
message-append.c, message-get-args.c: Turn off debug messages even when debugging other things, they're too verbose
_dbus_bindings/message-append.c | 1 +
_dbus_bindings/message-get-args.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
commit 422855dd98922b8a3038f7315809462ed6a54ba6
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 13:48:03 +0000
_dbus_bindings/conn.c: Fix broken weak reference handling, which caused a segfault on OLPC.
Also add debug related to this.
_dbus_bindings/conn.c | 55 ++++++++++++++++++++++++++++++++++++++----------
1 files changed, 43 insertions(+), 12 deletions(-)
commit 6ff6bd99176b7b1d7931bb16c8a7c8a75e3755ee
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 13:46:29 +0000
conn-methods.c: Add tracing
_dbus_bindings/conn-methods.c | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
commit 98f392d386ae89e3b7ebe397beee6a15869511df
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 13:45:55 +0000
conn-internal.h: Comment weakref list
_dbus_bindings/conn-internal.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit d1bc9f29818e576b07946e0ea9a89e90e1d5ec42
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 13:45:28 +0000
bus.c: Add tracing and a couple of missed assertions
_dbus_bindings/bus.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
commit 6afa6d2e76c83c921c799bec3a7b3259248eb57f
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-13 13:45:01 +0000
Add TRACE macro and allow debug to be turned off per file
_dbus_bindings/dbus_bindings-internal.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
commit 2ad0498ce6f253da333907ed87df11c6b5a8cf1e
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-12 19:56:17 +0000
conn.c: Correct number of varargs to debug message
_dbus_bindings/conn.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 53c4f8628eac5c1ba62e9ccf3be6e1b4c0990b20
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-12 19:55:38 +0000
conn.c: Use __func__ instead of incorrect __FUNC__
_dbus_bindings/conn.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit d8a2d78963cf76051a72bb18e7c9d9dd0afd27e8
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-12 19:54:05 +0000
_dbus_bindings/bus.c, _dbus_bindings/conn-methods.c, _dbus_bindings/conn.c: Add lifecycle debugging and assertions
_dbus_bindings/bus.c | 9 +++++++++
_dbus_bindings/conn-methods.c | 28 +++++++++++++++++++++-------
_dbus_bindings/conn.c | 31 +++++++++++++++++++++++++------
3 files changed, 55 insertions(+), 13 deletions(-)
commit 88306feb544fac52c5ffe7de48ef0fd07a59a749
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-12 19:46:54 +0000
_dbus_bindings/dbus_bindings-internal.h: Add wrapper macro "DBG_WHEREAMI;"
_dbus_bindings/dbus_bindings-internal.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit 883b24563b5f9bf406fcde5edb19caabbc812ac2
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-12 19:44:41 +0000
Add assertion macros and supporting functions
_dbus_bindings/dbus_bindings-internal.h | 28 +++++++++++++++++++++-
_dbus_bindings/debug.c | 38 +++++++++++++++++++++++++++++-
2 files changed, 62 insertions(+), 4 deletions(-)
commit b7d21102b99e717e3b4f103d71ce96e8f056cfd4
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-11 21:57:52 +0000
Whitespace consistency: Don't put a space between function name and parentheses around arguments
_dbus_bindings/bus.c | 98 +++++++++---------
_dbus_bindings/message-append.c | 92 ++++++++--------
_dbus_bindings/message-get-args.c | 4 +-
_dbus_bindings/message.c | 204 ++++++++++++++++++------------------
4 files changed, 199 insertions(+), 199 deletions(-)
commit 830f94f31010d4783490217d4b02f6f87927ae4c
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-11 21:45:29 +0000
Convert generic glue, main loop integration, message append/get_args, validation into separate translation units - no *-impl.h remaining
_dbus_bindings/dbus_bindings-internal.h | 8 +
_dbus_bindings/generic-impl.h | 78 ---
_dbus_bindings/generic.c | 80 +++
_dbus_bindings/mainloop-impl.h | 606 -------------------
_dbus_bindings/mainloop.c | 538 +++++++++++++++++
_dbus_bindings/message-append-impl.h | 974 ------------------------------
_dbus_bindings/message-append.c | 975 +++++++++++++++++++++++++++++++
_dbus_bindings/message-get-args-impl.h | 511 ----------------
_dbus_bindings/message-get-args.c | 512 ++++++++++++++++
_dbus_bindings/message-internal.h | 48 ++
_dbus_bindings/message.c | 91 ++--
_dbus_bindings/module.c | 191 ++++++-
_dbus_bindings/validation-impl.h | 352 -----------
_dbus_bindings/validation.c | 243 ++++++++
setup.py | 5 +
15 files changed, 2636 insertions(+), 2576 deletions(-)
commit 8ab339978d34b8c14dcf53aa6fbf228efb9130c6
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-11 20:30:19 +0000
Separate out remaining types (abstract, bytes, containers, int, float, signature, string) into separate translation units
Makefile | 6 +
_dbus_bindings/abstract-impl.h | 499 --------------
_dbus_bindings/abstract.c | 508 ++++++++++++++
_dbus_bindings/bytes-impl.h | 283 --------
_dbus_bindings/bytes.c | 291 ++++++++
_dbus_bindings/containers-impl.h | 618 -----------------
_dbus_bindings/containers.c | 626 ++++++++++++++++++
_dbus_bindings/dbus_bindings-internal.h | 15 +
_dbus_bindings/float.c | 157 +++++
_dbus_bindings/floattypes-impl.h | 149 -----
_dbus_bindings/generic-impl.h | 4 +-
_dbus_bindings/int.c | 791 ++++++++++++++++++++++
_dbus_bindings/module.c | 32 +-
_dbus_bindings/signature-impl.h | 237 -------
_dbus_bindings/signature.c | 245 +++++++
_dbus_bindings/string.c | 347 ++++++++++
_dbus_bindings/types-impl.h | 1100 -------------------------------
_dbus_bindings/types-internal.h | 10 +-
setup.py | 11 +-
19 files changed, 3017 insertions(+), 2912 deletions(-)
commit 14df12b437c1d8e0ce79aa90c99d58c820a94048
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-11 20:06:09 +0000
Split out exceptions, pending call, message into separate .c files
_dbus_bindings/abstract-impl.h | 143 ++---
_dbus_bindings/bus.c | 4 +-
_dbus_bindings/bytes-impl.h | 48 +-
_dbus_bindings/conn.c | 14 +-
_dbus_bindings/containers-impl.h | 141 ++---
_dbus_bindings/dbus_bindings-internal.h | 45 ++-
_dbus_bindings/exceptions-impl.h | 71 ---
_dbus_bindings/exceptions.c | 64 ++
_dbus_bindings/floattypes-impl.h | 34 +-
_dbus_bindings/generic-impl.h | 13 +-
_dbus_bindings/mainloop-impl.h | 30 +-
_dbus_bindings/message-append-impl.h | 70 ++-
_dbus_bindings/message-get-args-impl.h | 55 +-
_dbus_bindings/message-impl.h | 1039 ------------------------------
_dbus_bindings/message.c | 1050 +++++++++++++++++++++++++++++++
_dbus_bindings/module.c | 15 +-
_dbus_bindings/pending-call-impl.h | 290 ---------
_dbus_bindings/pending-call.c | 292 +++++++++
_dbus_bindings/signature-impl.h | 24 +-
_dbus_bindings/types-impl.h | 261 ++++-----
_dbus_bindings/types-internal.h | 81 +++
setup.py | 3 +
22 files changed, 1895 insertions(+), 1892 deletions(-)
commit 7ee3e9020ae67172b82b39fee05d25db3f43ea08
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-08 17:57:12 +0000
_dbus_bindings: debug-impl.h -> debug.c
_dbus_bindings/debug-impl.h | 60 -------------------------------------------
_dbus_bindings/debug.c | 60 +++++++++++++++++++++++++++++++++++++++++++
_dbus_bindings/module.c | 1 -
setup.py | 2 +
4 files changed, 62 insertions(+), 61 deletions(-)
commit 3273a66c7b0d8a91ffe68732a482d17775627273
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-08 17:55:24 +0000
_dbus_bindings: bus-impl.h -> bus.c
_dbus_bindings/bus-impl.h | 417 -------------------------------
_dbus_bindings/bus.c | 417 +++++++++++++++++++++++++++++++
_dbus_bindings/dbus_bindings-internal.h | 4 +
_dbus_bindings/module.c | 5 +-
4 files changed, 423 insertions(+), 420 deletions(-)
commit f50c6643bf9fe153a7add75ca150a1470b7eb63a
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-08 17:50:25 +0000
_dbus_bindings: split out conn, conn-methods into separate translation units
_dbus_bindings/bus-impl.h | 35 +-
_dbus_bindings/conn-impl.h | 590 ---------------------
_dbus_bindings/conn-internal.h | 52 ++
_dbus_bindings/conn-methods-impl.h | 687 ------------------------
_dbus_bindings/conn-methods.c | 862 +++++++++++++++++++++++++++++++
_dbus_bindings/conn.c | 390 ++++++++++++++
_dbus_bindings/dbus_bindings-internal.h | 113 ++++
_dbus_bindings/debug-impl.h | 39 +-
_dbus_bindings/exceptions-impl.h | 28 +-
_dbus_bindings/generic-impl.h | 16 +-
_dbus_bindings/mainloop-impl.h | 47 +-
_dbus_bindings/message-impl.h | 57 +--
_dbus_bindings/module.c | 8 +-
_dbus_bindings/pending-call-impl.h | 7 +-
_dbus_bindings/types-impl.h | 2 +-
_dbus_bindings/validation-impl.h | 28 +-
include/dbus_bindings.h | 7 +-
setup.py | 6 +-
18 files changed, 1552 insertions(+), 1422 deletions(-)
commit 380b44d38d333092bc9fe2eae8b7a836cb2791c7
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-08 16:10:12 +0000
_dbus_bindings/conn-impl.h: Be more careful that referenced Connections always have a DBusConnection
_dbus_bindings/conn-impl.h | 26 ++++++++++++++++++++++----
1 files changed, 22 insertions(+), 4 deletions(-)
commit 93b846e642ea1830b40aee6dfc600b8cd18b51bf
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-08 16:08:56 +0000
_dbus_bindings/bus-impl.h: Correctly construct Bus objects with non-default addresses
_dbus_bindings/bus-impl.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 9c4374aba50a9de68e307b85dc0f4d0425ee0b1b
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-07 18:43:07 +0000
gconf-proxy-{client,service2}.py: Print a message warning that these might not work.
gconf-proxy-service.py: Delete, it uses API which was obsoleted long ago.
dbus/examples/gconf-proxy-client.py | 2 +
dbus/examples/gconf-proxy-service.py | 43 ---------------------------------
dbus/examples/gconf-proxy-service2.py | 1 +
3 files changed, 3 insertions(+), 43 deletions(-)
commit 11757fcd9434e1e541c928ee34a6294a120bc0eb
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-07 18:40:31 +0000
dbus/examples/example-*.py: update to current API
dbus/examples/example-client.py | 49 ++++++++++++++++----
dbus/examples/example-service.py | 46 +++++++++++++-----
dbus/examples/example-signal-emitter.py | 39 +++++++++++-----
dbus/examples/example-signal-recipient.py | 71 +++++++++++++++++++----------
4 files changed, 147 insertions(+), 58 deletions(-)
commit ed1306b347fedce65a24bf525ad9d430bcfdf15d
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-07 18:39:51 +0000
dbus/_dbus.py, dbus/proxies.py: Add keyword arguments interface_keyword, member_keyword, destination_keyword (completing the set of useful message fields for signal handlers); also add message_keyword (for advanced use)
dbus/_dbus.py | 49 +++++++++++++++++++++++++++++++++++++++++++++++--
dbus/proxies.py | 14 ++++++++++++++
2 files changed, 61 insertions(+), 2 deletions(-)
commit 14bf5b0eb6dcd7da8b4f3e90d55480dfa0c4b9b7
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-07 18:37:58 +0000
dbus/decorators: Remove explicitly_pass_message
dbus/decorators.py | 21 +--------------------
1 files changed, 1 insertions(+), 20 deletions(-)
commit 090091828e1d616171601d68aed00991d93dfd49
Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
Date: 2006-12-07 16:53:42 +0000
examples/list-system-services.py: Print services in a nicer form, once per line. Offer to connect to the session bus instead.
dbus/examples/list-system-services.py | 47 +++++++++++++++++++++++----------
1 files changed, 33 insertions(+), 14 deletions(-)
commit 9802e3eb22d1ed464eec71153067593db7071764
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-06 12:56:59 +0000
NEWS, setup.py, dbus/__init__.py: Bump version to 0.80rc1, aka 0.79.91
NEWS | 22 ++++++++++++++++++++++
dbus/__init__.py | 4 ++--
setup.py | 2 +-
3 files changed, 25 insertions(+), 3 deletions(-)
commit c5c7185c7638b650608a0854f28afbd94208ab02
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 18:46:45 +0000
MANIFEST.in: add TODO (but not COMPAT.txt, which shouldn't go in the sdist)
MANIFEST.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 49ea22f2a1be697437f7c232613c87920957bc86
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 18:38:36 +0000
TODO, COMPAT.txt: add
COMPAT.txt | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
TODO | 8 ++++++++
2 files changed, 56 insertions(+), 0 deletions(-)
commit aa0710da718fb04079076b6b02c486a177323322
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 18:37:54 +0000
dbus/__init__.py, dbus/_dbus.py, dbus/service.py: Improve docstrings, imports, __all__
dbus/__init__.py | 160 ++++++++++++++++++++++++++++++++++++++++++++++++++----
dbus/_dbus.py | 96 +++++++++------------------------
dbus/service.py | 49 +++++++++++++----
3 files changed, 213 insertions(+), 92 deletions(-)
commit 31ecbdd6c42cd508ae6510e9655a805094f04b31
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 18:36:53 +0000
_dbus_bindings/validation-impl.h: Mark new functions as :Since: 0.80
_dbus_bindings/validation-impl.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
commit e4a70180d3ab0eb77264dc1a9f22b2521e5d3607
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 18:36:21 +0000
_dbus_bindings/types-impl.h: Always implement Int64 and UInt64 at least as a stub, raising NotImplementedError from the constructor on 64-bit-deficient platforms. Improve docstrings.
_dbus_bindings/types-impl.h | 258 ++++++++++++++++++++++++++++++++++++-------
1 files changed, 217 insertions(+), 41 deletions(-)
commit 34b237b3e1ed0c6665892f3a4765b09e29bdb3a5
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 18:34:58 +0000
_dbus_bindings/signature-impl.h: Improve Signature class docstring
_dbus_bindings/signature-impl.h | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
commit 69d95e61f95c21708596d2f973f46cde61521e68
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 18:34:21 +0000
_dbus_bindings/message-append-impl.h, _dbus_bindings/message-get-args.h: Use PY_LONG_LONG rather than long long to support deficient platforms; consistently use NotImplementedError for platforms with no PY_LONG_LONG type
_dbus_bindings/message-append-impl.h | 6 +++---
_dbus_bindings/message-get-args-impl.h | 9 +++++----
2 files changed, 8 insertions(+), 7 deletions(-)
commit 4ed5dcb72bcc41aa9327461a0cad325fa8d1afbd
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 18:32:25 +0000
_dbus_bindings/containers-impl.h: Disallow empty structs. Improve docstrings
_dbus_bindings/containers-impl.h | 80 +++++++++++++++++++++++++++++++------
1 files changed, 67 insertions(+), 13 deletions(-)
commit 42ea333ddd2351b4dc87c12089efbda89165783b
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 18:31:54 +0000
_dbus_bindings/module.c: Add Constructor, Supported usage field declarations for epydoc
_dbus_bindings/module.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
commit 4779424a806aecfce2754eb8fc4673f0ce35823e
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 11:36:50 +0000
dbus/decorators.py: Say that explicitly_pass_message() is deprecated
dbus/decorators.py | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
commit c08743227d9e78da2d02d1e1f5a621d43d38efc4
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 11:36:17 +0000
dbus/glib.py: mention that the new API only works in >= 0.80
dbus/glib.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit cb7538d514e968c19c3fea74bd5de89330112ed5
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 11:35:51 +0000
dbus/introspect_parser.py: Add docstring for process_introspection_data()
dbus/introspect_parser.py | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
commit 3c606fda6ea70622ee234cc51d63644ab27e6e55
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 11:35:23 +0000
dbus/mainloop/__init__.py, dbus/mainloop/glib.py: Add docstrings
dbus/mainloop/__init__.py | 4 ++++
dbus/mainloop/glib.py | 7 +++++++
2 files changed, 11 insertions(+), 0 deletions(-)
commit 0c7cc37a5ac8fe1a044cfcf6d615aa8341dcb30e
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 11:34:54 +0000
dbus/proxies.py: trivial change to process_introspection_data() invocation: import and "." => from-import
dbus/proxies.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 01a91b63644b7f1e8b23dea20f639a9b13bb36ef
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 11:33:51 +0000
setup.py, dbus/matchrules.py: Remove obsolete dbus.matchrules (the new implementation is in _dbus)
dbus/matchrules.py | 271 ----------------------------------------------------
setup.py | 1 -
2 files changed, 0 insertions(+), 272 deletions(-)
commit 3655f865eb742eacc9f677c34757b0f115a7179b
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-05 11:33:10 +0000
Stop asserting that dbus.Struct(()) works
test/test-standalone.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 880a2a87e78355e546dc97f0661f500c1c42da73
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-04 14:13:24 +0000
dbus/__init__.py: remove FIXME comment
dbus/__init__.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
commit 8339653949802cb296811fe488b53b721d63e0f7
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-04 14:11:40 +0000
dbus/proxies.py: Ignore unused result from send_message. Pass on SignalMatch result from add_signal_receiver() so caller can disconnect the signal more easily.
dbus/proxies.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 539faca6578f418da4bbbbd9d4a77c2f5fad682c
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-04 13:43:42 +0000
dbus/introspect_parser.py: Import the right exceptions module, so we can raise the right exception
dbus/introspect_parser.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit f6284a1b6552652c84e76585fd208ea361ff288b
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-04 13:42:43 +0000
test/test-signals.py: add test case for signal handling; test/run-test.sh: run test-signals.
test/run-test.sh | 3 +
test/test-signals.py | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 131 insertions(+), 0 deletions(-)
commit 14ae543d77a0d6ec72d10ba33c5a50c801f1feab
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-04 13:41:48 +0000
dbus/_dbus.py: Re-work signal matching so it does the right thing when name ownership changes
dbus/_dbus.py | 410 ++++++++++++++++++++++++++++++++++++++++++++------------
1 files changed, 322 insertions(+), 88 deletions(-)
commit 601a1a2b4bbabebb248310334a60413bffde9780
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-12-04 13:35:24 +0000
_dbus_bindings/bus-impl.h: Correct docstring for Bus.remove_match_string
_dbus_bindings/bus-impl.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit a61bb622aa26d48de7cb1cb269d4b4cfc75dda3f
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 17:23:38 +0000
dbus._dbus, dbus.decorators, dbus.service: Update names of newly public low-level methods
dbus/_dbus.py | 2 +-
dbus/decorators.py | 2 +-
dbus/service.py | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
commit 469c2586d661e16193c9d22772b37d2fe98ad5da
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 17:22:49 +0000
_dbus_bindings/pending-call-impl.h: Fix reference counting
_dbus_bindings/pending-call-impl.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
commit 2c5f7716211f0157bf6a4fe93ea3df7f03c5f5e8
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 17:15:00 +0000
_dbus_bindings/mainloop-impl.h: Fix compilation with debug enabled
_dbus_bindings/mainloop-impl.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit 114f98df9c1a6897b0030430550a23b3d5da0a83
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 17:02:02 +0000
dbus.proxies: Alter calls to methods which have become public
dbus/proxies.py | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
commit 535e860b648798aae2644b2b222f19990484be88
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 17:00:07 +0000
setup.py: Add dbus.lowlevel
setup.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 4237e29b6f76e7dcfc1b34b984f9640e9a57fb7d
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 16:59:48 +0000
dbus/__init__.py: Document existence of dbus.lowlevel
dbus/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 0586633996ed3d529588b1c429f2dd02ecb9bf5a
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 16:59:22 +0000
_dbus_bindings/pending-call-impl.h: Make block() public and work around dbus_pending_call_set_notify() race
_dbus_bindings/pending-call-impl.h | 75 ++++++++++++++++++++++++++++++-----
1 files changed, 64 insertions(+), 11 deletions(-)
commit 181ff34cbd75fdb0cdfe71628f22d7b5f4b34d7b
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 16:58:18 +0000
dbus.lowlevel: Add module exposing lower-level classes for advanced users
_dbus_bindings/message-impl.h: Indicate that Message classes' "official"
location is dbus.lowlevel
_dbus_bindings/message-impl.h | 10 +++++-----
dbus/lowlevel.py | 27 +++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 5 deletions(-)
commit 79abbf3a2c3ddd67e8b655f597f74cca347c4a26
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 16:56:49 +0000
Make send, etc. public, but rename to send_message etc.
_dbus_bindings/conn-methods-impl.h | 85 +++++++++++++++++++++---------------
1 files changed, 49 insertions(+), 36 deletions(-)
commit 7db487a5e4efcdaf6c8ff59dfa6f26c5042ee1e9
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 13:48:26 +0000
Document the absence of dbus.mainloop.MainLoop in this release.
Add get_object_by_unique_name to Bus objects.
_dbus_bindings/mainloop-impl.h | 14 ++++++----
dbus/_dbus.py | 54 ++++++++++++++++++++++++++++++++++-----
dbus/proxies.py | 3 ++
3 files changed, 58 insertions(+), 13 deletions(-)
commit 69660ac1b650a2328f21dc2d9953700d1efe1e17
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 11:08:41 +0000
API_CHANGES.txt: Document mainloop changes
API_CHANGES.txt | 63 ++++++++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 55 insertions(+), 8 deletions(-)
commit 77778920c41ddc3fe99771f4bd0f865e9550868c
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 11:08:08 +0000
dbus/mainloop/__init__.py: Export glib submodule; improve docstrings
dbus/mainloop/__init__.py | 41 +++++++++++++++++++++++++++++++++++------
1 files changed, 35 insertions(+), 6 deletions(-)
commit c5e4c6f8d67ad4305ab7e2254de10a6320b9c305
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 11:07:16 +0000
Emulate old bus_request_name, bus_release_name
dbus/dbus_bindings.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit e54d3f2c370ebcdb07269b49081519017981bcdb
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 11:06:53 +0000
dbus/service.py: Allow a Connection as parameter to Object constructor, to avoid having to have a well-known bus name
dbus/service.py | 44 +++++++++++++++++++++++++++++++-------------
1 files changed, 31 insertions(+), 13 deletions(-)
commit 6120021f3563f2df73fc35b2ded4ae30958a47da
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 11:05:55 +0000
dbus/__init__.py: Export get_default_main_loop, set_default_main_loop and submodules service and mainloop
dbus/__init__.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 9c1b58183966ae8a622796ae3df4a5a699bfd5fc
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 11:05:17 +0000
dbus/glib.py: Use new API to set main loop as default
dbus/glib.py | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
commit f3a23de9e022e708b9884d36f65ab9ccaf634bee
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 11:04:48 +0000
dbus/_dbus.py: Import get_default_main_loop, set_default_main_loop
dbus/_dbus.py | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
commit 605a8ec83eba854b319d94c9fee3467e52999005
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 11:04:06 +0000
_dbus_glib_bindings/module.c: Support set_as_default keyword argument
_dbus_glib_bindings/module.c | 50 ++++++++++++++++++++++++++++++++++++-----
1 files changed, 44 insertions(+), 6 deletions(-)
commit 3aff827e8fe14a9fb9b1846e00c32f01afee40b2
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-30 11:03:19 +0000
_dbus_bindings: Change default-main-loop API to use global functions
get_default_main_loop, set_default_main_loop. Improve docstrings
_dbus_bindings/bus-impl.h | 5 ++-
_dbus_bindings/conn-impl.h | 32 ++++++----------
_dbus_bindings/conn-methods-impl.h | 56 ----------------------------
_dbus_bindings/mainloop-impl.h | 70 ++++++++++++++++++++++++++++++++++-
_dbus_bindings/module.c | 12 ++++--
5 files changed, 91 insertions(+), 84 deletions(-)
commit 919cd3aeac6676b19246091a6ff762bb6e154773
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-24 13:00:13 +0000
include/dbus_bindings.h: Put _dbus_bindings in a static variable when imported
into e.g. _dbus_glib_bindings. Re-indent for consistency.
include/dbus_bindings.h | 53 ++++++++++++++++++++++++----------------------
1 files changed, 28 insertions(+), 25 deletions(-)
commit 16d460e5c4987d67a4db248c5fd1a69ca8b0ab23
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-24 12:58:39 +0000
setup.py: Don't remove ChangeLog on clean.
Yes, it's generated, but that just means it shouldn't be in the git repo; it
should still appear in tarballs.
setup.py | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
commit 894bafef2cae44d4b41845ed900cffe65dd63900
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-23 16:44:21 +0000
_dbus_bindings/mainloop-impl.h: Add Watch and Timeout types
_dbus_bindings/generic-impl.h: Add Glue_tp_hash_by_pointer and Glue_tp_richcompare_by_pointer to support the above
_dbus_bindings/generic-impl.h | 23 +++
_dbus_bindings/mainloop-impl.h | 354 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 377 insertions(+), 0 deletions(-)
commit aabf7935466aee3c8cc82f9c08a39017fcb603f8
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-23 16:43:05 +0000
_dbus_bindings/conn-methods-impl.h: Correct docstring: there is no dbus.mainloop.base
_dbus_bindings/conn-methods-impl.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 4a51f14170ffa4750b459fa4250bd7ce89bfa801
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-22 18:27:27 +0000
Bump version to 0.80pre2 (or internally 0.79.2)
dbus/__init__.py | 4 ++--
setup.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
commit 49c03f8525e321467eca862b186fa58ff2621f18
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-22 18:25:47 +0000
MANIFEST.in: include MANIFEST.in itself
MANIFEST.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit f064ecd77fb99506ea32c500e687a59ee68d9425
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-22 18:24:48 +0000
Include top-level dbus_bindings.py (missed in previous commit)
dbus_bindings.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit 5bcdc1378cceb0885fc2138e55259f15a83fa1ce
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-22 18:18:13 +0000
Add short-term backwards compatibility with dbus_bindings (various programs try to catch dbus_bindings.DBusException)
_dbus_bindings/dbus_bindings.py | 27 ---------------------------
dbus/__init__.py | 1 +
dbus/_dbus.py | 34 ++++++++++++++++++++++++++++++++++
dbus/dbus_bindings.py | 22 ++++++++++++++++++++++
setup.py | 2 ++
5 files changed, 59 insertions(+), 27 deletions(-)
commit 08971243466ab63ea19a20a1c1f1fd0d98714541
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-22 17:34:56 +0000
Remove _dbus_bindings/test.py (duplicates bits of test-standalone)
_dbus_bindings/test.py | 30 ------------------------------
1 files changed, 0 insertions(+), 30 deletions(-)
commit 4a0902b38a50d34f28ce022fe0684aec8ce91718
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-22 17:33:59 +0000
MANIFEST.in: pass through LC_ALL=C sort -k2
MANIFEST.in | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
commit f2c08d18ac2645311e4c0d94da0b06b3754a6def
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-22 17:28:56 +0000
Add improved main-loop integration.
Currently only GLib (with the default main context) and a "null main loop"
are supported, but a pure-Python main loop could be supported without
incompatible API changes.
_dbus_bindings/bus-impl.h | 19 ++---
_dbus_bindings/conn-impl.h | 55 ++++++++----
_dbus_bindings/conn-methods-impl.h | 56 ++++++++++++
_dbus_bindings/mainloop-impl.h | 175 ++++++++++++++++++++++++++++++++++++
_dbus_bindings/module.c | 22 +++++-
_dbus_glib_bindings/module.c | 65 +++++++++++++-
dbus/__init__.py | 2 -
dbus/_dbus.py | 74 +++++++--------
dbus/glib.py | 15 +---
dbus/mainloop/__init__.py | 7 ++
dbus/mainloop/glib.py | 32 +++++++
dbus/proxies.py | 9 --
include/dbus_bindings.h | 44 +++++++--
setup.py | 2 +
14 files changed, 474 insertions(+), 103 deletions(-)
commit aad4ee9dfbe203e74bffb0ec93bdd180143e4cee
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-21 18:13:14 +0000
_dbus_bindings/conn-impl.h: Check for errors, printing them if necessary, before releasing GIL
_dbus_bindings/conn-impl.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
commit df744af92832a69dbdbe97014bee38f6271ca30a
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-16 14:34:21 +0000
Bump version to 0.80~pre1 (but in __init__.py, write it as 0.79.1)
dbus/__init__.py | 3 ++-
setup.py | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
commit 9e682a1a6d60bc31b63552c240718a9b7583f1c7
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-16 14:25:27 +0000
MANIFEST.in: remove README, which doesn't exist
MANIFEST.in | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit 280061c0e03fb59f1eabf950fa4ab0716b4b7a39
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-15 19:26:56 +0000
dbus._dbus, dbus.proxies: Raise RuntimeError when user tries to do async calls or receive signals without a main loop
This makes the Connection base class useless, but should let people know
that they need to use dbus.glib for async functionality. I do intend to
replace the mainloop integration so GLib isn't the only option.
dbus/_dbus.py | 10 ++++++++++
dbus/proxies.py | 9 +++++++++
2 files changed, 19 insertions(+), 0 deletions(-)
commit 48a87921075edbe3b94cdd1ddfef90b8f6e3a152
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-15 19:02:20 +0000
HACKING.txt: fix typo
HACKING.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 192d203341d584a3f6502d0c3fb45d26870e7698
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-15 16:31:23 +0000
dbus._dbus, cross-test-server: fix signal calling convention support, and test it in cross-test-server
dbus/_dbus.py | 3 ++-
test/cross-test-server.py | 7 +++++--
2 files changed, 7 insertions(+), 3 deletions(-)
commit 1974c56c89080df4d38eba8b5d251680b5c42131
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-15 16:04:38 +0000
dbus._dbus, dbus.matchrules, dbus.proxies: Support utf8_strings and byte_arrays calling convention options to signal handlers. Handle arg matches containing "'" correctly
dbus/_dbus.py | 52 +++++++++++++++++++++++++++++++++++++++++++---------
dbus/matchrules.py | 44 ++++++++++++++++++++++++++++++--------------
dbus/proxies.py | 18 ++++++++++++++++--
3 files changed, 89 insertions(+), 25 deletions(-)
commit 069d09797e22cf6d70c82c9b39edb3a094dd1e83
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-15 15:51:28 +0000
dbus._dbus: Whitespace
dbus/_dbus.py | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
commit b02991564418e2136ac305669afa8457595fd397
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-15 15:44:09 +0000
_dbus_bindings/bus-impl.h: Remove duplicate registration of name_has_owner method
_dbus_bindings/bus-impl.h | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit d3aa18da0ee31f4c7c6e17b9d027237021402292
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-15 15:16:59 +0000
Makefile: Produce warning about "development use only" for all targets. Set targets PHONY. Make docs depend on build, now the build is quicker
Makefile | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
commit 6008b37253f7a04b563b28a2aa9357de8cfd29d1
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 15:48:47 +0000
- dbus.service.Object, dbus.decorators.method: Allow utf8_strings and
byte_arrays parameters kwargs when exporting a
method. These change the calling convention in the same way as
Message.get_args_list().
- dbus.proxies.ProxyMethod: allow the same kwargs to be passed to any proxy
method; this time, they change the representation of the remote method's
return value(s).
- Test that the above work
- Improve correctness of setting the NAME_FLAG_* flags
- Whitespace tweaks (remove hard tabs)
dbus/decorators.py | 29 ++++++++++++++++++++++++++---
dbus/proxies.py | 13 +++++++++----
dbus/service.py | 14 +++++++-------
test/cross-test-server.py | 2 +-
test/test-client.py | 12 +++++++++++-
test/test-service.py | 20 ++++++++++++++++++++
6 files changed, 74 insertions(+), 16 deletions(-)
commit 21b10a103d91651d9ac55d2d22832a5df251f45e
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:31:43 +0000
Test UTF8String as well as String
test/cross-test-client.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 7416bf25886650aec413eea2ca2c42b69f5a3537
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:30:19 +0000
Update tests for the new variant API
test/cross-test-client.py | 136 ++++++++++++++++++++++++++--------
test/cross-test-server.py | 5 +-
test/run-test.sh | 4 +-
test/test-client.py | 15 ++--
test/test-service.py | 2 +-
test/test-standalone.py | 178 +++++++++++++++++++++++----------------------
6 files changed, 210 insertions(+), 130 deletions(-)
commit 1761e5bd810ea45776e2d1c82193b73184ed3eda
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:29:13 +0000
Update API_CHANGES.txt
API_CHANGES.txt | 43 ++++++++++++++++++++-----------------------
1 files changed, 20 insertions(+), 23 deletions(-)
commit 9997fd83b55e16d1c50fe04ce57951483f867982
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:28:36 +0000
Makefile:
- Clarify that this is only for d-p developers, not for packagers or
end users.
- Build with lots of warnings, and -Werror, but disable warning about partially
uninitialized structs since this is conventional in Python (for source
backwards compatibility).
Makefile | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
commit 1a4b9502f1d06e94fd5f90bfd85cf4d47b88c1fd
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:26:14 +0000
setup.py: Import CFLAGS from environment (used by development Makefile for warning control)
setup.py | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
commit 4ce650d5c4ca5807c8eb4bc6f8074ff6eddab359
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:25:39 +0000
Remove Variant from API, add UTF8String
dbus/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit bf5550fdcbd02a55d18f17d2b79e692145dfad58
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:25:04 +0000
Import the newly re-added types into dbus.types
dbus/types.py | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
commit 0bd42c7cce423ce04def63217675b730228294af
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:24:37 +0000
- Convert Message.get_args_list and Message.append to the new way of handling variants
- Remove most of the options for get_args_list and just do the right thing
_dbus_bindings/message-append-impl.h | 261 ++++++++++-----
_dbus_bindings/message-get-args-impl.h | 568 +++++++++++++++++++-------------
2 files changed, 515 insertions(+), 314 deletions(-)
commit b2ba98067873acdc8f7989b63384fc1d37da49d1
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:20:10 +0000
- Add variant_level to Array, Dict, Struct
- Remove Variant type
_dbus_bindings/containers-impl.h | 538 ++++++++++++++------------------------
1 files changed, 194 insertions(+), 344 deletions(-)
commit 481428655794be4491cf7fd33f86b8e9e059a2d6
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:18:30 +0000
- Remove special case for ObjectPaths when registering object paths - now that
they have a __dict__, they can reference the Connection, which is bad
- Accept Unicode object paths for deregistration
- Correctly raise an exception on non-str, non-unicode arguments where an
object-path is expected
- Annotate unused arguments
_dbus_bindings/conn-methods-impl.h | 35 ++++++++++++++++++++++-------------
1 files changed, 22 insertions(+), 13 deletions(-)
commit 5c908374f838e7b88c6725c6b54308316d8ed798
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:15:51 +0000
- Remove float types from types-impl.h.
- Re-order.
- Subclass DBusPythonInt, etc.
- Add UTF8String and (unicode) String types
_dbus_bindings/types-impl.h | 481 ++++++++++++++++++++++++++-----------------
1 files changed, 291 insertions(+), 190 deletions(-)
commit 5bed478bed959ad477efac7da01ced0d0a76d6ed
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:12:47 +0000
Make Signature a subclass of DBusPythonString
_dbus_bindings/signature-impl.h | 22 ++++++++--------------
1 files changed, 8 insertions(+), 14 deletions(-)
commit 23013477f373aae9569e05bf793dcb3ec92530fb
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:12:11 +0000
- Add Double type (and Float type #if'd out, ready for Alp's 32-bit float type
if/when it's added to libdbus)
- Include "abstract" base classes and float types in module.c
_dbus_bindings/floattypes-impl.h | 159 ++++++++++++++++++++++++++++++++++++++
_dbus_bindings/module.c | 8 ++-
2 files changed, 166 insertions(+), 1 deletions(-)
commit 3c5d7904ea641f2b4adcf1edb1165e1381119120
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:10:16 +0000
- Make Byte a subclass of DBusPythonInt
- Make ByteArray a subclass of DBusPythonString
- Remove Byte_as_uchar, Byte_from_uchar, ByteArray_as_ucharptr,
ByteArray_from_uchars helpers
- Don't try to do clever things for Byte memory allocation
_dbus_bindings/bytes-impl.h | 105 +++++++++++++------------------------------
1 files changed, 31 insertions(+), 74 deletions(-)
commit 77c594008a1a4a655a94868c0028ef6fdec0b492
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:01:25 +0000
Add abstract-impl.h: abstract base classes for D-Bus types that subclass int/float/long/str, with a variant_level attribute.
_dbus_bindings/abstract-impl.h | 518 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 518 insertions(+), 0 deletions(-)
commit ec4382fc301ddd60c4abfa0175e912880980de68
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 14:00:33 +0000
Annotate UNUSED arguments
_dbus_bindings/bus-impl.h | 2 +-
_dbus_bindings/message-impl.h | 32 +++++++++++++++++---------------
_dbus_bindings/pending-call-impl.h | 6 +++---
_dbus_bindings/validation-impl.h | 8 ++++----
_dbus_glib_bindings/module.c | 14 ++++++++++++--
5 files changed, 37 insertions(+), 25 deletions(-)
commit 7e742ca5b5543ea290175f9351053f9ad6cfd492
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-14 13:58:02 +0000
Add Glue_immutable_setattro, DEFINE_CHECK, UNUSED attribute. Remove generic repr() functions
_dbus_bindings/generic-impl.h | 96 +++++++++--------------------------------
1 files changed, 21 insertions(+), 75 deletions(-)
commit 3ab7a818a7a7a92a15de50ef848318ca61a6d2df
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-11-02 13:24:03 +0000
Revert switch from Byte being an int subclass to a str subclass following discussion with J5.
Switching Byte to be a single-character string is arguably more Pythonic, but
needlessly breaks API.
_dbus_bindings/bytes-impl.h | 154 +++++----------------
_dbus_bindings/generic-impl.h | 20 +++
_dbus_bindings/message-append-impl.h | 16 ++-
_dbus_bindings/message-get-args-impl.h | 6 +-
_dbus_bindings/types-impl.h | 235 +++++++++++++++++++++++++++++++-
test/cross-test-client.py | 4 +-
test/cross-test-server.py | 2 +-
test/test-standalone.py | 5 +-
8 files changed, 313 insertions(+), 129 deletions(-)
commit 263e3ad1cf99e7cd115e7051ed1ea3f2cc35c587
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-10-05 17:37:07 +0100
Seth was a Red Hat employee when contributing to dbus-python: alter copyright notices accordingly
dbus/__init__.py | 3 +--
dbus/_dbus.py | 3 +--
dbus/decorators.py | 3 +--
dbus/introspect_parser.py | 3 +--
dbus/matchrules.py | 3 +--
dbus/proxies.py | 3 +--
dbus/service.py | 3 +--
setup.py | 3 +--
test/test-client.py | 2 +-
test/test-service.py | 2 +-
10 files changed, 10 insertions(+), 18 deletions(-)
commit da74c4cce7fee0dc4b5f0fa2144211f1bd0d9cdd
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-10-05 17:36:25 +0100
test/test-standalone.py: Test API guarantee that integer types subclass int or long
test/test-standalone.py | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit 6a9cafc90a31cf1d396b8a492fc1d618ef03dc65
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-10-02 15:28:00 +0100
test/cross-test-client.py: Add more workarounds for odd dbus-java behaviour. Compare InvertMapping results better.
test/cross-test-client.py | 75 ++++++++++++++++++++++++++++++++------------
1 files changed, 54 insertions(+), 21 deletions(-)
commit df50fee665eb68d27394123ca79475bd37a0c528
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-10-02 15:26:42 +0100
Produce debug output
test/cross-test-server.py | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
commit 3ad6bd460e0addc46cb503984e6d9cf2868111f5
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-10-02 15:26:17 +0100
Use a temp variable to make crash debugging easier (although I now can't reproduce the crash...)
_dbus_bindings/pending-call-impl.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
commit 8801e3159d5a5a048eb30bd030ecb5dbd16610f9
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-29 20:47:09 +0100
Make cross-test stricter by including extreme values for integers, etc.
test/cross-test-client.py | 34 +++++++++++++++++++++++-----------
1 files changed, 23 insertions(+), 11 deletions(-)
commit 52336a79a623dc2674ce22965eb6f0b010078b5e
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-29 20:46:13 +0100
When trying to validate an int64 it helps if you put it in a 64-bit variable.
_dbus_bindings/types-impl.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 0590a83202f27a98b8bb898876339a9b02a60896
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-28 18:17:41 +0100
test/cross-test-client.py, test/cross-test-server.py: Start to fix for interop with dbus-java:
* Don't assume we have introspection data - only call methods with correctly
typed parameters
* Make InvertMapping check order-independent
* Make signal test not fail if the Triggered signal is meant to come from /Test
* Use logging rather than sys.stderr
test/cross-test-client.py | 181 +++++++++++++++++++++++++++++++--------------
test/cross-test-server.py | 28 ++++---
2 files changed, 140 insertions(+), 69 deletions(-)
commit dd48a45dec3704ee459a418734485985e5fba205
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-28 16:03:11 +0100
test/cross-test-client.py, test/cross-test-server.py: Output in the same format dbus-java does (the <> in the specification were not meant to be literal, apparently)
test/cross-test-client.py | 18 +++++++++---------
test/cross-test-server.py | 4 ++--
2 files changed, 11 insertions(+), 11 deletions(-)
commit 3d645c9743e630d5064566a3a35d1e2c35d76cc2
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-28 16:00:22 +0100
dbus/_dbus.py, dbus/proxies.py: Amend docstrings for signal receiving
dbus/_dbus.py | 18 ++++++++++++------
dbus/proxies.py | 13 +++++++++----
2 files changed, 21 insertions(+), 10 deletions(-)
commit f9d2961b45a085dc5d8febf8b1ed0f9caa9558ec
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-28 15:59:17 +0100
setup.py: Remove "import extract" (no longer exists)
setup.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit fcd45af4aa4fd81454f1c8a8fa7b8b5790f44b54
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 14:26:44 +0100
Add copyright, AFL2.1, GPL2 notices, which might even be correct...
The lists of copyright holders are derived from the D-Bus CVS changelog: I've
erred on the side of adding people to the list rather than not.
For now I've assumed that J5's contributions are owned by Red Hat, Collabora
people's contributions (Rob McQueen, Rob Taylor, Ole Andre Ravnaas,
myself) are owned by Collabora and everything else is owned by the author.
dbus/__init__.py | 24 ++++++++++++++++++++++++
dbus/_dbus.py | 24 ++++++++++++++++++++++++
dbus/decorators.py | 24 ++++++++++++++++++++++++
dbus/glib.py | 22 ++++++++++++++++++++++
dbus/introspect_parser.py | 24 ++++++++++++++++++++++++
dbus/matchrules.py | 24 ++++++++++++++++++++++++
dbus/proxies.py | 24 ++++++++++++++++++++++++
dbus/service.py | 24 ++++++++++++++++++++++++
setup.py | 25 +++++++++++++++++++++++++
test/cross-test-client.py | 20 ++++++++++++++++++++
test/cross-test-server.py | 20 ++++++++++++++++++++
test/crosstest.py | 20 ++++++++++++++++++++
test/test-client.py | 23 +++++++++++++++++++++++
test/test-service.py | 22 ++++++++++++++++++++++
test/test-standalone.py | 21 +++++++++++++++++++++
15 files changed, 341 insertions(+), 0 deletions(-)
commit 329dc1e985c5090bba889e8ac5543d47c6abb5e2
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 14:16:29 +0100
Put AUTHORS in the right order
AUTHORS | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7aed1104ddafd10c708234189345c4696cc2759e
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 13:50:07 +0100
dbus/extract.py: Remove (no longer used now we're not using Pyrex)
dbus/extract.py | 245 -------------------------------------------------------
1 files changed, 0 insertions(+), 245 deletions(-)
commit b4d4ab76adabd4a8d0a14efa678c057f51d23431
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 13:30:49 +0100
Extend and correct docstrings. Set epydoc to expect reStructuredText by default.
Makefile | 2 +-
_dbus_bindings/conn-methods-impl.h | 40 ++++++++++++++++++++-----------
_dbus_bindings/message-append-impl.h | 8 +++---
_dbus_bindings/message-get-args-impl.h | 38 +++++++++++++++---------------
_dbus_bindings/validation-impl.h | 33 ++++++++++++++++---------
5 files changed, 71 insertions(+), 50 deletions(-)
commit 78a7b67f03f9267fd47ab3686f971d1190cadf1a
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 13:03:26 +0100
Cast to PyCFunction to avoid compiler warning for function with kwargs
_dbus_bindings/module.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 274b4601130abb67b5b7f68de38c71ee7a64d3fb
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 13:02:53 +0100
Correct argument parsing in validate_bus_name
_dbus_bindings/validation-impl.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
commit b235e382198fc7599a2183a5b4cba10f650659bc
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 13:00:58 +0100
setup.py: Remove _util from modules to install
setup.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit cdc40aa20b52b4a8e9910e8fe48824205b4e7591
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 12:50:06 +0100
_dbus_bindings: Expose name-validation functions to Python code.
dbus: Remove _util module in favour of using the name-validation functions
from _dbus_bindings.
_dbus_bindings/module.c | 9 ++++
_dbus_bindings/validation-impl.h | 91 ++++++++++++++++++++++++++++++++++++++
dbus/_util.py | 13 -----
dbus/decorators.py | 9 +++-
4 files changed, 106 insertions(+), 16 deletions(-)
commit 9c7ee716288ffc80d1c931c84cc2b3242acf0b1e
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 12:47:55 +0100
Minor docstring correction
_dbus_bindings/types-impl.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 4c53d31fcc5b2f3a8e5578cae57e51db84a396fb
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 12:47:27 +0100
_dbus_bindings/message-get-args-impl: Fix ByteArray unmarshalling.
_dbus_bindings/message-get-args-impl.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit aa5cb1a66951705540a51645eb8efd3cbcf6788e
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 12:45:58 +0100
dbus/_dbus.py: Now that Bus subclasses Connection, simplify signature of signal filter
dbus/_dbus.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 747b2b9d37329796c4bf0bdaa1ca99e1d82d420d
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 11:55:46 +0100
Add a test case for the various options to get_args_list.
Fix ByteArray unmarshalling.
test/test-standalone.py | 112 ++++++++++++++++++++++++++++++++++++++---------
1 files changed, 91 insertions(+), 21 deletions(-)
commit de8aeda1687948230bb97fa4083744087356e738
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 11:01:18 +0100
.gitignore: Ignore MANIFEST, dist/
.gitignore | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit a7bcad2d2239e28bb32ef7cfe74105c514a32ee5
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 11:00:35 +0100
_dbus_bindings/module.c: PEP7-style whitespace
_dbus_bindings/module.c | 42 +++++++++++++++++++++---------------------
1 files changed, 21 insertions(+), 21 deletions(-)
commit 888110c46b864b613a3281e3d0bf76ed85b04b01
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 10:59:01 +0100
_dbus_bindings/module.c: Add __docformat__, top-level docstring.
Also don't abort() if adding constants to the module fails.
_dbus_bindings/module.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
commit 552b7b4c997ea44de86f68e79341ecf323b9ead5
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 10:44:25 +0100
MANIFEST.in: Include added files, stop trying to include the Pyrex version
MANIFEST.in | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
commit 84be4d92f3f913f04941562ffb4cde5d21a63b37
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 10:43:21 +0100
Makefile, setup.py: Stop forcing -O0 -g
Makefile | 2 +-
setup.py | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
commit 78ce34da2c1cea65372b96505e21529d3896634f
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-27 10:38:44 +0100
Remove the Pyrex implementation of dbus_bindings and dbus_glib_bindings
dbus/_dbus_bindings-exceptions.pxi | 10 -
dbus/_dbus_bindings-types.pxi | 174 ----
dbus/_dbus_bindings.pxd.in | 8 -
dbus/_dbus_bindings.pyx | 1820 ------------------------------------
dbus/_dbus_glib_bindings.pyx | 17 -
dbus/dbus_h_wrapper.h | 3 -
6 files changed, 0 insertions(+), 2032 deletions(-)
commit 97d01a1d540e5ec31b752c31ad9f2b794eddf472
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-26 20:50:58 +0100
Throughout dbus-python: Use the C implementation.
Add document API_CHANGES.txt listing visible API changes.
Add more test cases, for low-level Python <-> D-Bus type mappings.
Amend existing test cases to cope with the API changes.
API_CHANGES.txt | 84 ++++++++++++++++++++++++++++++
dbus/_dbus.py | 56 +++++---------------
dbus/decorators.py | 13 ++---
dbus/exceptions.py | 3 +-
dbus/proxies.py | 90 +++++++++++++++++++++-----------
dbus/service.py | 82 +++++++++++++++--------------
dbus/types.py | 26 +++-------
setup.py | 25 ++-------
test/cross-test-client.py | 55 ++++++++++----------
test/cross-test-server.py | 11 +++-
test/run-test.sh | 3 +-
test/test-client.py | 33 +++++++-----
test/test-service.py | 16 ++++--
test/test-standalone.py | 126 +++++++++++++++++++++++++++++++++++++++++++++
14 files changed, 413 insertions(+), 210 deletions(-)
commit e0552c3d9cfe22e9ea1b3c2874dc4f79d6948b21
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-26 20:48:55 +0100
_dbus_bindings: Correct get_args -> get_args_list change
_dbus_bindings/message-get-args-impl.h | 2 +-
_dbus_bindings/message-impl.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
commit 030e4fe368e976cb20d223d45ae787c12686b3f4
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-26 19:30:58 +0100
_dbus_bindings/message-get-args-impl.h: Revert gratuitous API change
Message has a method get_args_list() returning a list again, rather than
a method get_args() returning a tuple.
_dbus_bindings/message-get-args-impl.h | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
commit 24eb072bd8aabbc4d0f916b981e2283be0848e97
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-26 19:27:24 +0100
dbus/matchrules.py: Use absolute import
dbus/matchrules.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 97900c452754b832d0817edc03f3e00fe888d24a
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-26 18:53:55 +0100
Add a C reimplementation of the formerly-Pyrex bits of dbus-python.
HACKING.txt | 35 +
_dbus_bindings/bus-impl.h | 415 +++++++++++++
_dbus_bindings/bytes-impl.h | 420 +++++++++++++
_dbus_bindings/conn-impl.h | 551 +++++++++++++++++
_dbus_bindings/conn-methods-impl.h | 653 ++++++++++++++++++++
_dbus_bindings/containers-impl.h | 743 ++++++++++++++++++++++
_dbus_bindings/dbus_bindings.py | 27 +
_dbus_bindings/debug-impl.h | 49 ++
_dbus_bindings/exceptions-impl.h | 71 +++
_dbus_bindings/generic-impl.h | 108 ++++
_dbus_bindings/message-append-impl.h | 863 ++++++++++++++++++++++++++
_dbus_bindings/message-get-args-impl.h | 403 ++++++++++++
_dbus_bindings/message-impl.h | 1064 ++++++++++++++++++++++++++++++++
_dbus_bindings/module.c | 139 +++++
_dbus_bindings/pending-call-impl.h | 230 +++++++
_dbus_bindings/signature-impl.h | 238 +++++++
_dbus_bindings/test.py | 30 +
_dbus_bindings/types-impl.h | 635 +++++++++++++++++++
_dbus_bindings/validation-impl.h | 241 +++++++
_dbus_glib_bindings/module.c | 74 +++
include/dbus_bindings.h | 64 ++
21 files changed, 7053 insertions(+), 0 deletions(-)
commit 0a189b73baa8e7b1d1d7743534b635fabe1aaf80
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-26 18:43:04 +0100
Add Makefile rule to do a clean build (setup.py doesn't track .h dependencies properly) and make it the default
Makefile | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit d1e74259da30f732ebf58057188478367b492840
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-26 18:42:16 +0100
Add self to AUTHORS
AUTHORS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 3b1b6ec26d55e08c4a9fbed12714913974f8e0c3
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-08 18:10:06 +0100
dbus/service.py, dbus/_dbus_bindings-types.pxi: Move VariantSignature
As it's only used in dbus.service, there is no reason for VariantSignature
to be written in Pyrex.
dbus/_dbus_bindings-types.pxi | 14 --------------
dbus/service.py | 18 ++++++++++++++++--
2 files changed, 16 insertions(+), 16 deletions(-)
commit 6e0e797a2c354d1cdd2e940ec2ab25614ac49f6f
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-08 18:08:27 +0100
dbus/_dbus_bindings.pyx: More docstrings
dbus/_dbus_bindings.pyx | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
commit 82c249159bbbfa1ad1d77d26b8e3a2f0615a80ee
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-08 18:08:04 +0100
dbus/proxies.py: Set __docformat__ to 'restructuredtext' for epydoc
dbus/proxies.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 3f77ab99f21400fbea5642affff2e8bc0c8faf28
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-08 18:07:23 +0100
dbus/_dbus.py: More docstrings
dbus/_dbus.py | 30 ++++++++++++++++++++++++++++--
1 files changed, 28 insertions(+), 2 deletions(-)
commit d65d0b6654b19522e250a6a4a361f06fa1ccd2d2
Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
Date: 2006-09-07 13:21:48 +0100
_dbus_bindings: split out types, exceptions into separate source files
dbus/_dbus_bindings-exceptions.pxi | 10 ++
dbus/_dbus_bindings-types.pxi | 188 +++++++++++++++++++++++++++++++++++
dbus/_dbus_bindings.pyx | 191 +-----------------------------------
3 files changed, 200 insertions(+), 189 deletions(-)
commit 346e0f0f332f5e112726536c434535a40072f356
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-09-06 13:42:13 +0100
Add a fairly simplistic implementation of the D-Bus bindings test suite.
Currently only tested with Python <-> Python, and some of the Byte tests fail
until I get an opinion from the list on whether the API should be in terms
of strings-of-length-1, ints, or both.
Makefile | 20 +++-
test/cross-test-client.py | 185 +++++++++++++++++++++++++++++
test/cross-test-server.py | 281 +++++++++++++++++++++++++++++++++++++++++++++
test/crosstest.py | 22 ++++
4 files changed, 506 insertions(+), 2 deletions(-)
commit dc7cea8740b53c7a7061a2392cdc7ec775dd3734
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-09-06 13:30:13 +0100
_dbus_bindings.pyx: Documentation
* Add more docstrings and note methods which I don't think should be public.
* When append_byte() fails, raise a more informative TypeError
dbus/_dbus_bindings.pyx | 64 +++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 62 insertions(+), 2 deletions(-)
commit e37b430efed0dcfa5ff6196046e0b4302b79662a
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-09-06 13:26:58 +0100
dbus/_dbus.py: Add exceptions to __all__ so they'll be imported into __init__
dbus/_dbus.py | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
commit 99bd2cf0aad0f26cc41459be2c89256f226832f0
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-09-06 13:26:24 +0100
dbus/__init__.py: Annotate __all__ with where the objects come from
dbus/__init__.py | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
commit c0574acbc663094fbb722cd6bdc97b02e7111100
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-09-01 16:24:46 +0100
_dbus_bindings.pyx: Spell "negative" correctly
dbus/_dbus_bindings.pyx | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit cf1599248d81b848016672cc129a714095f5f11e
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-09-01 16:22:57 +0100
test/test-client.py: Rename dbus.dbus_bindings to _dbus_bindings in test too
test/test-client.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit 9c4ad587bb237921ff49ac78581eb66a863e6105
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-09-01 16:21:55 +0100
.gitignore: Add files generated during test
.gitignore | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit fc2c0c457100003c4b2c85d6202d75e796b89454
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-09-01 16:14:21 +0100
_dbus_bindings.pyx: Remove no-op constructor overrides which just use superclass
dbus/_dbus_bindings.pyx | 26 ++++----------------------
1 files changed, 4 insertions(+), 22 deletions(-)
commit 188e54fd97c48d9183a16cc2373de62a60f36a39
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-09-01 15:56:16 +0100
.gitignore: Amend for renaming of dbus_bindings
.gitignore | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 10186487194e31889f0a255f7986577b169220ac
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-09-01 15:54:47 +0100
dbus._dbus, _dbus_bindings, dbus.proxies: Add docstrings
dbus/_dbus.py | 152 +++++++++++++++++++++++++++++++++++++++++++---
dbus/_dbus_bindings.pyx | 110 ++++++++++++++++++++++++++++++++-
dbus/proxies.py | 39 ++++++++++++
3 files changed, 287 insertions(+), 14 deletions(-)
commit 867c2dd9318c8cbaf810d23d5f2a332d091007d9
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-08-31 18:14:40 +0100
Makefile: add. Makefile for developer convenience, currently does API documentation using epydoc
Makefile | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
commit bb8600d38b16999d08950a03473f03d8705394bf
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-08-31 18:13:39 +0100
dbus._dbus: add __all__
dbus/_dbus.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 5098824725bc8984e4a84f2bede278648941960d
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-08-31 18:13:07 +0100
dbus.types: add __all__
dbus/types.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 656bb219b37ac18ad9bc953ac9a2fb2b5fa6234d
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-08-31 18:09:23 +0100
dbus/__init__.py: Add __all__ (listing a sensible set of public API), __docformat__, __version__
dbus/__init__.py | 19 ++++++++++++++++---
1 files changed, 16 insertions(+), 3 deletions(-)
commit aac6f58ae96faab86e6080702d2dac2bd3a69d66
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-08-31 18:05:57 +0100
Rename dbus_bindings (sometimes a.k.a. dbus.dbus_bindings) to _dbus_bindings.
Ditto for dbus_glib_bindings.
Remove dbus.pth - should no longer be needed after this change.
dbus/_dbus.py | 24 +-
dbus/_dbus_bindings.pxd.in | 8 +
dbus/_dbus_bindings.pyx | 1849 ++++++++++++++++++++++++++++++++++++++++++
dbus/_dbus_glib_bindings.pyx | 17 +
dbus/dbus.pth | 1 -
dbus/dbus_bindings.pxd.in | 8 -
dbus/dbus_bindings.pyx | 1849 ------------------------------------------
dbus/dbus_glib_bindings.pyx | 17 -
dbus/decorators.py | 35 +-
dbus/exceptions.py | 6 +-
dbus/glib.py | 6 +-
dbus/matchrules.py | 2 +-
dbus/proxies.py | 8 +-
dbus/service.py | 38 +-
dbus/types.py | 36 +-
setup.py | 14 +-
16 files changed, 1971 insertions(+), 1947 deletions(-)
commit c51b148077479381844a84989292719417c543b2
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-08-30 20:15:07 +0100
Add some docstrings (reStructuredText with epydoc annotations)
dbus/__init__.py | 9 +++++++
dbus/_dbus.py | 35 ++++++++++++++-------------
dbus/decorators.py | 44 +++++++++++++++++++++++++++++++++++
dbus/exceptions.py | 7 +++++
dbus/service.py | 64 +++++++++++++++++++++++++++++++++++++++++++++++++--
5 files changed, 139 insertions(+), 20 deletions(-)
commit 00435b5adc76a745e17b13386d15a2a1d6b2bb16
Author: Simon McVittie <smcv@celebrin.(none)>
Date: 2006-08-30 20:12:08 +0100
.gitignore: Add. Ignore distutils build dir, Python bytecode, Vim swapfiles, and generated ChangeLog, .pxd and .c files.
.gitignore | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit 1b1d5b77a841e68043fd1f27900b7b97b4610b33
Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
Date: 2006-07-27 14:00:14 -0400
* dbus/BusName.py (BusName::__new__): Modified patch from Alex Jones
<alex at weej dot com> - Add flags when requesting a name
dbus/service.py | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
commit eae6cd4e466d9d6dd477cf0bb5ef2b183f4c69f9
Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
Date: 2006-07-27 13:57:56 -0400
* setup.py: read the stdout pipe before stderr
setup.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit f5258f571de77b18354e17073d44f316d1e0af1b
Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
Date: 2006-07-27 12:40:36 -0400
* setup.py: some distros have older gits which don't have the git-log --stat
flag. We check for an error and if so revert to just calling git-log
setup.py | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
commit 49948f1f9554b4431d668992b4953ff09962149f
Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
Date: 2006-07-24 14:34:51 -0400
* Released 0.71
NEWS | 7 ++++++-
setup.py | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)
commit 29b7548ddf4400a20636ae558c1834ad523c33da
Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
Date: 2006-07-24 14:05:26 -0400
* Patch from Joseph Sacco <joseph_sacco [at] comcast [dot] net>:
Export the correct cflags in distutils
setup.py | 25 +++++++++++++++++++++++++
test/run-test.sh | 1 -
2 files changed, 25 insertions(+), 1 deletions(-)
commit 5f76b5a3eec271192e9657213c6693121c3d8df9
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2006-07-21 17:17:46 -0400
* fix import of dbus_bindings
test/test-client.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 163206f228efad53051677a08d3813fcc5d0ab97
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2006-07-21 16:42:54 -0400
* Automate building of ChangeLog
setup.py | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
commit f262d88279991faba06578dde48d0c607ce4b0b8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2006-07-21 16:27:59 -0400
* fixed where the binary modules are installed into
setup.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 7d73bb0ea7631ce1191de1cd6fbbcb07fe215f31
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2006-07-17 16:58:42 -0400
* Released 0.70
* Added NEWS to the dist
MANIFEST.in | 2 ++
NEWS | 6 ++++++
2 files changed, 8 insertions(+), 0 deletions(-)
commit 8728a13fa422955aa96bf2d8644af773407dbe65
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2006-07-17 16:43:42 -0400
* remove ChangeLog as it will be generated by git-whatchanged
0 files changed, 0 insertions(+), 0 deletions(-)
commit caaabe86ac7a91c84d022c5806e67a42617fa566
Author: John (J5) Palmieri <quinticent@phuket.(none)>
Date: 2006-07-14 12:52:53 -0400
* Add Osvaldo S. Neto to AUTHORS for his distutils patch
AUTHORS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 4b1d99c3fbf0d402cb7badbcb8e6ea682f7e54c6
Author: John (J5) Palmieri <quinticent@phuket.(none)>
Date: 2006-07-12 21:40:13 -0400
* MANIFEST.in:
added the tools directory
MANIFEST.in | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 9c70ef78b9368b5fd090dd3aafb3f189cc88616d
Author: John (J5) Palmieri <quinticent@phuket.(none)>
Date: 2006-07-12 21:32:57 -0400
* run-test.sh:
create the .service file before we launch dbus
test/run-test.sh | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
commit 7a0389c01ac8c775b7b677bcc20cc0da716b1c19
Author: John (J5) Palmieri <quinticent@phuket.(none)>
Date: 2006-07-12 21:28:39 -0400
* Add tests back
* create a check command for distutils (python setup.py check)
MANIFEST.in | 2 +-
setup.py | 29 ++--
test/dbus_python_check.py | 48 ++++++
test/run-test.sh | 39 +++++
test/test-client.py | 307 +++++++++++++++++++++++++++++++++++++
test/test-service.py | 142 +++++++++++++++++
tools/run-with-tmp-session-bus.sh | 65 ++++++++
tools/session.conf | 24 +++
8 files changed, 642 insertions(+), 14 deletions(-)
commit 303a9d690767dd40e75940f9e3c4e1d1fa504554
Author: John (J5) Palmieri <quinticent@phuket.(none)>
Date: 2006-07-12 18:11:07 -0400
* MANIFEST.in: Added
* setup.py: change package name to dbus-python
MANIFEST.in | 11 +++++++++++
setup.py | 2 +-
2 files changed, 12 insertions(+), 1 deletions(-)
commit c72e8df76cda925d0bac0e99af94a4d3760e74b1
Author: John (J5) Palmieri <quinticent@phuket.(none)>
Date: 2006-07-12 17:34:58 -0400
* dbus/dbus_glib_bindings.pyx: Prepend includes dbus-glib.h and
dbus-glib-lowlevel withd dbus/ since we are no longer building in tree and
need to get the system's header files
dbus/dbus_glib_bindings.pyx | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 98bdb18235a405339041596c571f213ea5fa3c24
Author: John (J5) Palmieri <quinticent@phuket.(none)>
Date: 2006-07-12 17:29:04 -0400
- s/dbus/-Idbus\// in includedirs_flag
setup.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 82a4e8afb8ca163416f602fdb1df96b11765ecb2
Author: Robert McQueen <robot101@thubuntu.(none)>
Date: 2006-07-12 21:53:57 +0100
setup.py, dbus/extract.py: Patch from Osvaldo Santana Neto
<osvaldo.santana@indt.org.br> to make the python bindings build and install
with distutils. Not quite working yet because of path madness with the
extract.py stuff.
dbus/extract.py | 49 +++++++++++++++----------
setup.py | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 138 insertions(+), 19 deletions(-)
commit 172f80244f21a681609e6918c1f043b3272949f3
Author: Robert McQueen <robot101@thubuntu.(none)>
Date: 2006-07-12 19:40:37 +0100
dbus/__init__.py: Set version to 0.70.
dbus/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit fb63da94f9e207e807f7f0ae18425d3b73173d43
Author: Robert McQueen <robot101@thubuntu.(none)>
Date: 2006-07-12 19:28:30 +0100
dbus/Makefile.am, dbus/examples/Makefile.am: removed
dbus/Makefile.am | 56 ---------------------------------------------
dbus/examples/Makefile.am | 13 ----------
2 files changed, 0 insertions(+), 69 deletions(-)
commit cc9eb8989a5782f62f8ca786d76e1267e48ec8bf
Author: Robert McQueen <robot101@thubuntu.(none)>
Date: 2006-07-12 19:26:39 +0100
Move python/ to dbus/, the name of the module.
dbus/.cvsignore | 10 +
dbus/Makefile.am | 56 +
dbus/__init__.py | 5 +
dbus/_dbus.py | 308 +++++
dbus/_util.py | 13 +
dbus/dbus.pth | 1 +
dbus/dbus_bindings.pxd.in | 8 +
dbus/dbus_bindings.pyx | 1849 +++++++++++++++++++++++++++
dbus/dbus_glib_bindings.pyx | 17 +
dbus/dbus_h_wrapper.h | 3 +
dbus/decorators.py | 83 ++
dbus/examples/.cvsignore | 2 +
dbus/examples/Makefile.am | 13 +
dbus/examples/example-client.py | 22 +
dbus/examples/example-service.py | 30 +
dbus/examples/example-signal-emitter.py | 29 +
dbus/examples/example-signal-recipient.py | 54 +
dbus/examples/gconf-proxy-client.py | 13 +
dbus/examples/gconf-proxy-service.py | 43 +
dbus/examples/gconf-proxy-service2.py | 39 +
dbus/examples/list-system-services.py | 22 +
dbus/exceptions.py | 29 +
dbus/extract.py | 234 ++++
dbus/glib.py | 17 +
dbus/introspect_parser.py | 51 +
dbus/matchrules.py | 232 ++++
dbus/proxies.py | 222 ++++
dbus/service.py | 370 ++++++
dbus/types.py | 19 +
python/.cvsignore | 10 -
python/Makefile.am | 56 -
python/__init__.py | 5 -
python/_dbus.py | 308 -----
python/_util.py | 13 -
python/dbus.pth | 1 -
python/dbus_bindings.pxd.in | 8 -
python/dbus_bindings.pyx | 1849 ---------------------------
python/dbus_glib_bindings.pyx | 17 -
python/dbus_h_wrapper.h | 3 -
python/decorators.py | 83 --
python/examples/.cvsignore | 2 -
python/examples/Makefile.am | 13 -
python/examples/example-client.py | 22 -
python/examples/example-service.py | 30 -
python/examples/example-signal-emitter.py | 29 -
python/examples/example-signal-recipient.py | 54 -
python/examples/gconf-proxy-client.py | 13 -
python/examples/gconf-proxy-service.py | 43 -
python/examples/gconf-proxy-service2.py | 39 -
python/examples/list-system-services.py | 22 -
python/exceptions.py | 29 -
python/extract.py | 234 ----
python/glib.py | 17 -
python/introspect_parser.py | 51 -
python/matchrules.py | 232 ----
python/proxies.py | 222 ----
python/service.py | 370 ------
python/types.py | 19 -
58 files changed, 3794 insertions(+), 3794 deletions(-)
commit 260a7da603a0449a117690a9cc46c7d171ec1112
Author: Robert McQueen <robot101@thubuntu.(none)>
Date: 2006-07-12 19:25:47 +0100
COPYING: Have the file with its contents and not a file full of NULLs (thanks XFS)
COPYING | Bin 29056 -> 29056 bytes
1 files changed, 0 insertions(+), 0 deletions(-)
commit 85ef4b2f21a67fa6f8ebb7977fc62a69208d86fe
Author: Robert McQueen <robot101@thubuntu.(none)>
Date: 2006-07-12 19:24:09 +0100
AUTHORS, COPYING: Copy from old tree.
AUTHORS | 16 ++++++++++++++++
COPYING | Bin 0 -> 29056 bytes
2 files changed, 16 insertions(+), 0 deletions(-)
commit 7d136b1b7749b9d52703f00f546524a8967aeebc
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2006-03-02 23:28:18 +0000
2006-03-02 John (J5) Palmieri <johnp@redhat.com>
* python/dbus_bindings.pyx: Remove refrence to sys/cdefs.h
(Patch from Artem Kachitchkine <Artem.Kachitchkin at Sun.COM>)
python/dbus_bindings.pyx | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
commit 6387ac0ee38cbc2c613f1ec6b481693451e6a1d6
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2006-02-24 18:18:41 +0000
2006-02-24 John (J5) Palmieri <johnp@redhat.com>
* Released 0.61
2006-02-24 John (J5) Palmieri <johnp@redhat.com>
* proxies.py: Fix the callchain
python/proxies.py | 96 +++++++++++++++++++++++++----------------------------
1 files changed, 45 insertions(+), 51 deletions(-)
commit 7ce7ad66afac2b35ddab72190d31c8470a2e4d2d
Author: Robert McQueen <robot101@debian.org>
Date: 2006-02-15 23:45:48 +0000
2006-02-16 Robert McQueen <robot101@debian.org>
* glib/dbus-gmain.c: Make the previous commit compile.
* python/_dbus.py, python/matchrules.py: Patch from Ole Andre
Ravnaas <ole.andre.ravnaas@collabora.co.uk> to allow you to
specify sender_keyword="foo", path_keyword="bar" when adding
a signal listener, so that you can bind to signals generically
but still do something useful in your callback.
* python/dbus_bindings.pyx: Demarshal the byte type as unsigned
chars so that they're not cast to chars and made negative. Thanks
to Jakub Stachowski for reporting this and testing the fix.
python/_dbus.py | 8 ++++++++
python/dbus_bindings.pyx | 6 +++---
python/matchrules.py | 17 +++++++++++++----
3 files changed, 24 insertions(+), 7 deletions(-)
commit 62f127585556aeb828c0114225859bddc8d08aa3
Author: Robert McQueen <robot101@debian.org>
Date: 2005-12-06 12:38:07 +0000
2005-12-06 Robert McQueen <robot101@debian.org>
* python/service.py: s/sucessful/successful/ so we're allocating to
and reading from the same variable. Oops.
python/service.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit e48f4d56533ef815d05e05b31128e53640bd7ded
Author: Robert McQueen <robot101@debian.org>
Date: 2005-11-27 17:44:19 +0000
2005-11-27 Robert McQueen <robot101@debian.org>
* python/dbus_bindings.pyx: Repair my previous commit which reverted
part of the preceding one. Oops. Merge patch by Johan Hedberg
<johan.hedberg@nokia.com> to fix marshalling of 16-bit integer values
on big-endian platforms.
* test/python/test-client.py: Add some 16-bit integers to the test
values.
python/dbus_bindings.pyx | 22 ++++++++++++++++------
1 files changed, 16 insertions(+), 6 deletions(-)
commit b5df8fdfae7b488156cef4ccc536523bfb892895
Author: Robert McQueen <robot101@debian.org>
Date: 2005-11-27 16:55:09 +0000
2005-11-27 Carlos Garcia Campos <carlosgc@gnome.org>
* glib/dbus-gobject.c: Append a GValue instead of a basic type in
method return message for property getters
python/dbus_bindings.pyx | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
commit e9046cf6eabcc6e9f86e6dc8cb73a0b28ccc3347
Author: Robert McQueen <robot101@debian.org>
Date: 2005-11-27 16:40:57 +0000
2005-11-27 Robert McQueen <robot101@debian.org>
* python/dbus_bindings.pyx: Fix a bug where doing a strict append
with type v of an instance of dbus.Variant(foo, type='x') caused
it to be boxed twice before sending over the bus.
* python/dbus_bindings.pyx, python/service.py,
test/python/test-client.py: Update the constants for the new
request_name flags, and update comments/test cases now that queueing
is the default action.
python/dbus_bindings.pyx | 8 ++++++--
python/service.py | 5 +++--
2 files changed, 9 insertions(+), 4 deletions(-)
commit c38a568a59493a798164c2449f7774586fd236f3
Author: Robert McQueen <robot101@debian.org>
Date: 2005-11-15 17:19:19 +0000
2005-11-15 Robert McQueen <robot101@debian.org>
* bus/driver.c, bus/services.c, bus/services.h: Add a ReleaseName
method to org.freedesktop.DBus to release a bus name or give up
waiting in the queue for it.
* dbus/dbus-bus.c, dbus/dbus-bus.h, dbus/dbus-shared.h: Add a
dbus_bus_release_name method to send the ReleaseName method calls.
Add constants for the return values to dbus/dbus-shared.h.
* doc/dbus-specification.xml: Document the new ReleaseName method
in the specification.
* python/dbus_bindings.pyx: Add a low-level python binding for the
release name method.
* python/exceptions.py, python/service.py: Make freeing BusName
objects release the name. Add a NameExistsException, and fix a
bug with creating UnknownMethodException.
* test/python/test-client.py: Add tests for freeing BusName
objects causing names to be released.
python/dbus_bindings.pyx | 33 +++++++++++++++++++++++++++------
python/exceptions.py | 10 +++++++---
python/service.py | 11 +++++------
3 files changed, 39 insertions(+), 15 deletions(-)
commit e6351798aca627adba6e3dad43a605482b63a43e
Author: Robert McQueen <robot101@debian.org>
Date: 2005-11-14 20:59:32 +0000
2005-11-15 Robert McQueen <robot101@debian.org>
* python/service.py: Include the traceback in the error reply when we
send an exception over the bus. _BEST_ _PATCH_ _EVER_
python/service.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit 321ace3a0cf031e638bba1d753818ac068672dee
Author: Robert McQueen <robot101@debian.org>
Date: 2005-11-14 02:53:29 +0000
2005-11-14 Robert McQueen <robot101@debian.org>
* python/decorators.py, python/service.py: Add a new argument to the
dbus.service.method decorator called sender_keyword, which if set,
specifies the name of an argument which will be provided the bus
name of the method caller.
* test/python/test-client.py, test/python/test-service.py: Add a
method and test to check the sender_keyword functionality.
python/decorators.py | 6 +++++-
python/service.py | 4 ++++
2 files changed, 9 insertions(+), 1 deletions(-)
commit cb37041d6ffeab9e7623dd7c51acc64cbaa7534d
Author: Robert McQueen <robot101@debian.org>
Date: 2005-11-07 15:31:30 +0000
2005-11-07 Robert McQueen <robot101@debian.org>
* python/decorators.py: Change emit_signal function to use the
signature annotation of the signal when marhsalling the arguments from
the service. Fix a bug where the code checking signature length
against argument length referenced the wrong variable.
* python/introspect_parser.py: Avoid adding the type signature of
signal arguments to any methods which occur after them in the
introspection data (!) by making the parser a little more careful
about its current state.
* python/service.py: Remove debug prints from last commit (again :D).
* test/python/test-client.py, test/python/test-service.py: Add test
signals with signature decorators to test the strict marshalling code
gives errors at the right time. Could do with checking the signals
actually get emitted too, given that the test does nothing with
signals at the moment...
python/decorators.py | 17 +++++++++++------
python/introspect_parser.py | 27 ++++++++++++++-------------
python/service.py | 4 +---
3 files changed, 26 insertions(+), 22 deletions(-)
commit 792849028648dfc9fd0513c855b0ea9001a9ea04
Author: Robert McQueen <robot101@debian.org>
Date: 2005-11-07 12:14:52 +0000
2005-11-07 Robert McQueen <robot101@debian.org>
* python/_dbus.py: Add WeakReferenceDictionary cache of dbus.Bus
instances to stop madness of creating new instances representing
the same bus connection all the time, rendering any tracking of
match rules and bus names quite meaningless. Caught a bug where
the private argument to SessionBus() and friends was being passed
in as use_default_mainloop by mistake. Still some problems with
multiple dbus_binding.Connection instances representing the same
low-level connection (eg when you use both SessionBus() and
StarterBus() in same process), but it's a lot better now than it
was.
* python/dbus_bindings.pyx: Add constants with the return values
for bus_request_name().
* python/service.py: Store bus name instances in a per-dbus.Bus cache
and retrieve the same instances for the same name, so deletion can be
done with refcounting. Also now throws some kind of error if you
don't actually get the name you requested, unlike previously...
* test/python/test-client.py: Add tests for instance caching of buses
and bus name objects.
python/_dbus.py | 75 +++++++++++++++++++++++++++++++++------------
python/dbus_bindings.pyx | 9 ++++-
python/service.py | 62 ++++++++++++++++++++++++++++++++------
3 files changed, 114 insertions(+), 32 deletions(-)
commit c6d4440b37c43681a4ecf11edfa5a4b0371734ea
Author: Robert McQueen <robot101@debian.org>
Date: 2005-11-04 12:17:54 +0000
2005-11-04 Robert McQueen <robot101@debian.org>
* python/dbus_bindings.pyx, test/python/test-client.py: Fix
marshalling of boolean values. Add some booleans to the values in
the test client.
* python/decorators.py, python/service.py: Add an 'async_callbacks'
argument to the dbus.service.method decorator, which allows you to
name arguments to take two callback functions for replying with
return values or an exception.
* test/python/test-client.py, test/python/test-service.py: Add test
case using asynchronous method reply functions, both return values and
errors, and from within both the function itself and from a mainloop
callback.
* python/decorators.py, python/service.py: Perform checking that the
number of method/signal arguments matches the number of types in the
signature at class loading time, not when you first introspect the
class.
* python/service.py: Remove debug print left by the last commit.
python/dbus_bindings.pyx | 4 ++--
python/decorators.py | 39 ++++++++++++++++++++++++++++++++++-----
python/service.py | 41 ++++++++++++++++++++++++-----------------
3 files changed, 60 insertions(+), 24 deletions(-)
commit fcbc5d45112bd16c9ff8f6ead36d89a6c6381dc8
Author: Robert McQueen <robot101@debian.org>
Date: 2005-11-03 21:47:31 +0000
2005-11-03 Robert McQueen <robot101@debian.org>
* python/service.py: Heavy refactoring of method invocation, with
hopefully no effect on functionality. Nuked _dispatch_dbus_method_call
in favour of a new _message_cb that uses seperate functions for
looking up the method to call, marshalling the return values, and
sending exceptions as errors, and is easier to follow as a
consequence. Fixes some corner cases about returning things that
don't match your declared out_signature, allows exceptions to define
_dbus_error_name and have it be sent over the bus as the error name,
and paves the way for cool stuff like heeding the message no reply
flag, asynchronous method implementations, informing the method of the
sender, and including backtraces in the error messages.
* test/python/test-client.py: Catch and print exceptions thrown in the
async callback tests, rather than passing them to the low-level
bindings to be ignored in a noisy and frustrating manner.
python/service.py | 252 +++++++++++++++++++++++++++++-----------------------
1 files changed, 140 insertions(+), 112 deletions(-)
commit b4a92c736cb37f2daba25283e830615dcf7137e8
Author: Robert McQueen <robot101@debian.org>
Date: 2005-11-03 16:13:52 +0000
2005-11-03 Robert McQueen <robot101@debian.org>
* python/_dbus.py, python/proxies.py, python/service.py: Add __repr__
functions to dbus.Bus, dbus.service.BusName and dbus.service.Object,
tweak others to be consistent.
* test/python/test-client.py: Tweak output of testInheritance.
python/_dbus.py | 16 +++++++++++++++-
python/proxies.py | 2 +-
python/service.py | 7 +++++++
3 files changed, 23 insertions(+), 2 deletions(-)
commit cd40a2db923dc01ee80f4827dfd3e102a98a64ec
Author: Robert McQueen <robot101@debian.org>
Date: 2005-10-29 22:41:07 +0000
2005-10-29 Robert McQueen <robot101@debian.org>
* python/service.py: Major changes to allow multiple inheritance
from classes that define D-Bus interfaces:
1. Create a new Interface class which is the parent class of
Object, and make the ObjectType metaclass into InterfaceType.
2. Patch written with Rob Taylor to replace use of method_vtable
with code that walks the class's __MRO__ (method resolution order)
to behave like Python does when invoking methods and allow
overriding as you'd expect. Code is quite tricky because
we have to find two methods, the one to invoke which has the
right name and isn't decorated with the /wrong/ interface,
and the one to pick up the signatures from which is decorated
with the right interface.
The same caveats apply as to normal multiple inheritance -
this has undefined behaviour if you try and inherit from two
classes that define a method with the same name but are
decorated with different interfaces. You should decorate
your overriding method with the interface you want.
3. Replace grungy introspection XML generation code in the metaclass
with dictionaries that cope correctly with multiple inheritance
and the overriding of methods. This also uses the signature
decorations to provide correct introspection data, including
the debut appearance of the types of your return values. :D
* test/python/test-client.py, test/python/test-service.py: Add a test
case to try invoking an method that overrides one inherited from a
D-Bus interface class.
python/service.py | 234 ++++++++++++++++++++++++++++++++--------------------
1 files changed, 144 insertions(+), 90 deletions(-)
commit f14661ee73a5efc92dfcbe22e4230dab153a4d69
Author: Robert McQueen <robot101@debian.org>
Date: 2005-10-29 22:04:01 +0000
2005-10-29 Robert McQueen <robot101@debian.org>
* python/dbus_bindings.pyx: Tweak 'raise AssertionError' to assert().
Add checking for the end of struct character when marshalling a
struct in MessageIter.append_strict.
* python/examples/example-service.py,
python/examples/gconf-proxy-service.py,
python/examples/gconf-proxy-service2.py: Update to use gobject
mainloop directly rather than appearing to depend on gtk.
* python/test/test-client.py, python/test/test-server.py: Remove
obsolete and broken test scripts for old bindings. We have up to date
and working tests in test/python/.
python/dbus_bindings.pyx | 10 ++-
python/examples/example-service.py | 6 +-
python/examples/gconf-proxy-service.py | 5 +-
python/examples/gconf-proxy-service2.py | 5 +-
python/tests/test-client.py | 100 -------------------------------
python/tests/test-server.py | 17 -----
6 files changed, 15 insertions(+), 128 deletions(-)
commit a10facab362212f630b4fc3191a711523ed367b1
Author: Robert McQueen <robot101@debian.org>
Date: 2005-10-29 19:13:17 +0000
2005-10-29 Robert McQueen <robot101@debian.org>
* python/decorators.py: Add optional arguments to the method and
signal decorators to allow you to specify the signature of arguments
and return values. Preserve the doc strings of signal functions in the
decorated version, for pydoc and friends.
* python/dbus_bindings.pyx, python/proxies.py: Replace the
parse_signature_block function with an iterable dbus.Signature()
type. Fix a bug in MessageIter.append_strict where you could append
anything by claiming it was a string.
* python/service.py: Use the out_signature decoration on methods to
marshal return values, meaning you no longer require dbus.Array()
or dbus.Dictionary() to indicate the type when returning empty
arrays or dictionaries. Fix a bug where exceptions which are defined
in __main__ are not turned into error replies.
* test/python/test-client.py, test/python/test-service.py: Add test
for correct marshalling of return values according to out_signature.
Fix a bug in the async call test where the error_handler is missing a
self argument.
python/dbus_bindings.pyx | 119 ++++++++++++++++++++++++++++------------------
python/decorators.py | 12 +++--
python/proxies.py | 11 ++--
python/service.py | 43 +++++++++++++++--
4 files changed, 124 insertions(+), 61 deletions(-)
commit b07e4f860f8d9ff323558e8276dbda346a09b3b1
Author: Robert McQueen <robot101@debian.org>
Date: 2005-10-24 18:29:50 +0000
2005-10-24 Robert McQueen <robot101@debian.org>
* python/dbus_bindings.pyx (String, MessageIter): make D-Bus strings
derive from unicode instead of str, and encode/decode UTF-8 when
marshalling/unmarshalling bus messages
* python/introspect_parser.py: encode introspection data as UTF-8
before passing the buffer into libxml2
* test/python/test-client.py: add unicode test strings
* test/data/valid-service-files/.cvsignore, test/python/.cvsignore:
ignore generated python test files
python/dbus_bindings.pyx | 16 +++++++++-------
python/introspect_parser.py | 2 +-
2 files changed, 10 insertions(+), 8 deletions(-)
commit 5b923c8dd10dc21e7f03aa8e27d1bb30652fb5da
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-10-18 04:38:04 +0000
* glib/dbus-gvalue-utils.c (hash_free_from_gtype): handle gdouble
and G_TYPE_VALUE_ARRAY (DBUS_TYPE_STRUCT)
(gvalue_from_hash_value, hash_value_from_gvalue): handle gdouble
* glib/dbus-gvalue.c (dbus_gvalue_to_signature): add missing
DBUS_STRUCT_BEGIN_CHAR and DBUS_STRUCT_END_CHAR charaters
when constructing struct signatures
* python/_dbus.py (Bus): handle private connections using the
private keyword in the constructor. defaults to private=False
(Bus::close): new method to close a connection to the bus
* python/dbus_bindings.pyx (Connection::close): renamed method
was previously called disconnect
(bus_get): now supports getting a private connection
* python/proxies.py (ProxyMethod::__call__): check if ignore_reply
keyword is set to True. if it is, execute the method without waiting
for a reply
(ProxyObject::_introspect_execute_queue): new method for executing
all the pending methods that were waiting for the introspect to
finish. this is called when introspect either succeeds or fails
(ProxyObject::_introspect_error_handler): call queued methods
python/_dbus.py | 31 +++++++++++++++++--------------
python/dbus_bindings.pyx | 16 ++++++++++------
python/proxies.py | 44 +++++++++++++++++++++++++-------------------
3 files changed, 52 insertions(+), 39 deletions(-)
commit cb8652321a7b3791f54a6fb1ebf1675aac9ac33d
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-10-14 21:44:00 +0000
* python/dbus_bindings.pyx (MessageIter::append_strict): check for STRUCT_BEGIN not TYPE_STRUCT in indicate we are marshalling a struct
* python/service.py (Object::_message_cb): handle exceptions correctly
by sending them over the wire to the calling app. This makes sure
the client returns immediately instead of waiting the 15 seconds to
timeout.
* test/python/test-client.py (TestDBusBindings::testBenchmarkIntrospect):
Add a test to benchmark how long it takes to introspect a service and
call a method which returns a large element (pretty fast)
* test/python/test-service.py (TestObject::GetComplexArray): new test
method which pushes a lot of data
python/dbus_bindings.pyx | 3 +--
python/service.py | 18 ++++++++++++------
2 files changed, 13 insertions(+), 8 deletions(-)
commit d468280ea6cf7be2c3729a182f3c252fd2a7b999
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-10-13 23:34:11 +0000
* python/service.py(ObjectType::_reflect_on_signal, _reflect_on_method):
reclaim memory outside of the loop and use del istead of just setting
the key to None
python/service.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
commit fb3300cea133630f45d13776a66dcbbd71c46d97
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-10-13 23:26:00 +0000
* python/service.py (ObjectType::_reflect_on_signal): Always close
signal tag even when there are no arguments
python/service.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 137d6a5121de6ae44a37ca99c5519c4300cc9dea
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-10-06 04:43:52 +0000
* actualy add the introspection parser to CVS :-)
python/introspect_parser.py | 50 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 50 insertions(+), 0 deletions(-)
commit 423589e748db1783cbce03452e5fe5685b83f750
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-10-05 20:43:46 +0000
* glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal instead of marshal basic so we can handle recursive types in a variant
* test/glib/test-dbus-glib.c: Add test for marshaling recurive types
in variants
* test/glib/test-service-glib.c, test-service-glib.xml
(my_object_echo_variant [EchoVariant],
my_object_process_variant_of_array_of_ints123
[ProcessVariantOfArrayOfInts123]):
Add two test methods
* python/introspect_parser.py: New module for parsing introspect
data.
* python/dbus_bindings.pyx:
(various places): when throwing errors fix to use errormsg instead
of message local variable because Pyrex can get confused with other
message variables (initial patch by Robert McQueen
<robert.mcqueen at collabora.co.uk>)
(MessageIter::parse_signature_block): new method for getting the next
block in a signiture.
(MessageIter::append_strict): new method for appending values strictly
using the passed in signature instead of guessing at the type
(MessageItter:: append_dict, append_struct, append_array): use
signatures to marshal children if the signature is available
* python/exceptions.py (IntrospectionParserException): new exception
* python/proxies.py (ProxyMethod::__call__): Marshal args with
introspected signatures if available, else we fall back to the
old way of doing things.
(ProxyObject::_introspect_reply_handler ): parse introspection data
* python/service.py (ObjectType::_reflect_on_method): Properly
terminate <method> if there are no args in the reflection data
* test/python/test-client.py: add tests for talking with the GLib
test server. This gives us better coverage for introspection since
python to python will always generate arguments as variants. It also
allows us to test the robustness of the GLib bindings and interlanguage
communications.
python/Makefile.am | 13 +++-
python/dbus_bindings.pyx | 197 +++++++++++++++++++++++++++++++++++++---------
python/exceptions.py | 4 +
python/proxies.py | 75 ++++++++++++++---
python/service.py | 3 +-
5 files changed, 239 insertions(+), 53 deletions(-)
commit 747ebb525b3522cab2415fe55c6a8418a7528238
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-09-26 22:12:17 +0000
* dbus/Python.pyx: Fixed memory leaks when throwing errors. We now copy the message from a DBusError and then free the error object befor throwing the error
python/dbus_bindings.pyx | 54 ++++++++++++++++++++++++++++++++-------------
1 files changed, 38 insertions(+), 16 deletions(-)
commit 583a8acad47cf49f9e28d8f7360f8bb1a409e0d4
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-09-06 22:42:54 +0000
- update to next release version
python/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 8f6b65becb2183f68e5c923854c4b5946a40dbfd
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-09-06 22:38:54 +0000
* Released 0.50
* Patch from Steve Grubb:
- bus/activation.c (bus_activation_service_reload_test): clean up
some indentation
- dbus/dbus-keyring.c (_dbus_keyring_reload): fix conditional
- dbus/dbus-message-factory.c (generate_special): fix a couple of
buffer overflows in the test suite. This is non critical because
it can not be exploited and this code is only run when doing a
make check.
* Patch from Yaakov Selkowitz: Build fixes for Cygwin
- configure.in: Don't check and link against kdecore, only qt headers
- dbus/Makefile.am: Add -no-undefined to libdbus_1_la_LDFLAGS
- gcj/org/freedesktop/dbus/Makefile.am:
add libdbus_gcj_1_la_LDFLAGS = -no-undefined
- glib/Makefile.am: Add -no-undefined to libdbus_glib_1_la_LDFLAGS
and $(DBUS_GLIB_LIBS) to dbus_binding_tool_LDADD
- qt/Makefile.am: Add -no-undefined to libdbus_qt_1_la_LDFLAGS
- tools/Makefile.am: Add platform extentions to binaries
(i.e. .exe on windows)
* configure.in:
- Make it so if no suitable version of python is found we only
disable building python instead of exiting the configure script
- Require version 2.4 of glib for glib bindings
- Up version to 0.50
* python/__init__.py: Sync version with libdbus to (0,50,0)
python/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit c9ce6ac673fef6ca5189480d73b542e7f2c283f3
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-09-01 01:22:06 +0000
* python/Makefile.am: Break on pyrexc errors instead of ignoring them
* python/dbus_bindings.pyx: Memory management foo
(global): remove hacky _user_data_references global list
(GIL_safe_cunregister_function_handler): userdata now stuffed into
tuples. Unref user_data
(GIL_safe_cmessage_function_handler): userdata now stuffed into tuples
(Connection::__del__): Remove and replace with __dealloc__ method
(Connection::add_filter): Stuff user_data into a tuple. Use Py_INCREF
to keep tuple from being deallocated instead of the global var hack
(Connection::register_object_path): Stuff user_data into a tuple.
Use Py_INCREF to keep tuple from being deallocated instead of the
global var hack
(Connection::register_fallback): Stuff user_data into a tuple.
Use Py_INCREF to keep tuple from being deallocated instead of the
global var hack
(GIL_safe_pending_call_notification): Don't unref the message
because it gets unreffed when going out of scope. Py_XDECREF
the user_data
(PendingCall::__del__): Remove and replace with __dealloc__ method
(PendingCall::set_notify): ref the pending call because we will
need it to stick around for when the notify callback gets called
(Message::__del__): Remove and replace with __dealloc__ method
* python/dbus_glib_bindings.pyx (init_gthreads): Changed to
gthreads_init to match up with the dbus call
* python/glib.py (init_threads): Changed to threads_init to match
up with gobject.threads_init(). init_threads is kept for backwards
compat but will most likely be deprecated in the future
* test/python/test-client.py:
- revamp to use Python's unittest functionality
- add async call tests
- setup threads in glib and dbus so we make sure locks are working
python/Makefile.am | 4 ++--
python/dbus_bindings.pyx | 40 ++++++++++++++++++----------------------
python/dbus_glib_bindings.pyx | 2 +-
python/glib.py | 6 ++++--
4 files changed, 25 insertions(+), 27 deletions(-)
commit c33b023b7a72b42129e202ad3a34d9ac6bc68090
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-08-31 02:18:43 +0000
* python/dbus_bindings.pyx
(_pending_call_notification, cunregister_function_handler,
cmessage_function_handler): All callback functions have been rearranged
to workaround a bug in Pyrex when working with the GIL which is Python's
global lock when dealing with threads. They have been split into
a wrapper function (which assumes the name of the old function) and
a _GIL_safe_<function name> function which contains the functionality
of the old function. This ensures that Pyrex does not write code
the lock is released.
python/dbus_bindings.pyx | 110 +++++++++++++++++++++++++++-------------------
1 files changed, 65 insertions(+), 45 deletions(-)
commit ccba1a75d274300215ac3b8eb06792c06679de55
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-08-30 15:21:04 +0000
* python/dbus_bindings.pyx (_pending_call_notification): Obtain the GIL global lock when calling back into Python
python/dbus_bindings.pyx | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
commit 780a08253b6e9ac0270d50cb0498cb7085bd05a2
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-08-26 04:23:33 +0000
* s/Message(_create=0)/EmptyMessage everywhere else
* test/python/test-{server|client}.py: add the python/.libs directory
to the lookup path so dbus_bindings and dbus_glib_bindings don't
get picked up from the system
python/dbus_bindings.pyx | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
commit 068820cbec569f14277f0dc52e4219ad123bed24
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-08-26 03:09:58 +0000
* python/dbus_bindings.pyx: Tracked down a major memleak and fixed it (EmptyMessage): new class that subclasses Message. This is a workaround to a Pyrex bug that fails to call __del__ when the Message object goes out of scope. For some reason subclassing Message fixes this bug (Bus::send_with_reply_and_block): use EmptyMessage instead of Message
python/dbus_bindings.pyx | 36 ++++++++++++++++++++----------------
python/proxies.py | 2 +-
2 files changed, 21 insertions(+), 17 deletions(-)
commit 749873c6f8326c450173f62078c8eb8f38e7e2f7
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-08-24 19:58:32 +0000
- Merged changed from the DBUS_0_36_1 bugfix branch
python/Makefile.am | 2 +-
python/_dbus.py | 12 ++++++------
python/proxies.py | 5 +++--
3 files changed, 10 insertions(+), 9 deletions(-)
commit c93ba0371f2bed41ceb47826dea8852b6b6107cf
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-08-23 17:43:59 +0000
* python/dbus_glib_bindings.pyx: reorder imports and c definitions
to fix some wranings. We now use dbus_bindings.DBusConnection instead
of defining DBusConnection ourselves.
python/dbus_glib_bindings.pyx | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
commit 0caa747c4dac110d7a1550cfcded41c03d5bf4f7
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-08-18 20:57:28 +0000
* python/dbus.pth: New path file to fix up problems when installing c libraries to lib64 and python files to lib.
* python/Makefile.am: install dbus.pth in the correct spot
python/Makefile.am | 3 +++
python/dbus.pth | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
commit 53aee6867499fb4b2135ed06dd5c4c6cd96058e0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-08-18 04:04:57 +0000
* ChangeLog: clean up my last entry a bit
* doc/introspect.xsl: New stylesheet for converting introspection data
into browser renderable xhtml. Contributed by Lennart Poettering.
* doc/introspect.dtd: Fixups in the introspect format from Lennart
Poettering.
* doc/dbus-tutorial.xml:
- Add Colin Walter to the Authors section for authoring the GLib
section
- Add descriptions of the new signature and type functionality
in the Python complex type mapping section
- Add a sidenote on the new args matching functionality in
the Python bindings
- Fixed up some of the examples to use the gobject.MainLoop
instead of gtk.main
* python/_dbus.py:
(Bus::_create_args_dict): New. Converts a hash of arg matches
to a more useable format
(Bus::add_signal_receiver): add a **keywords parameter for catching
arg match parameters
(Bus::remove_signal_receiver): add a **keywords parameter for catching
arg match parameters
* python/matchrules.py:
(MatchTree::exec_matches): Check for arg matches
(SignalMatchRule::add_args_match): New method
(SignalMatchRule::execute): Added args_list parameter as an optimization
so we don't have to marshal the args more than once
(SignalMatchRule::match_args_from_list): New method that checks to see
if the rule's arg matches match an argument list. Only arguments
set in the rule are checked.
(SignalMatchRule::match_args_from_rule): New method that checks to see
if the rule's arg matches match another rule's. All args have to match
in order for this method to return true. If either rule has more args
then it is not a match.
(SignalMatchRule::is_match): Add args match
(SignalMatchRule::repr): Add args to the final output if they exist
python/_dbus.py | 55 ++++++++++++++++++++---
python/examples/example-signal-recipient.py | 3 +-
python/matchrules.py | 64 ++++++++++++++++++++++++---
3 files changed, 109 insertions(+), 13 deletions(-)
commit 4f3ccf5fd76cacb67b1a73c7a88b00fe83180275
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-08-16 22:54:02 +0000
* python/__init__.py: Version updated (0, 43, 0)
* python/dbus_bindings.pyx:
- Fixed type objects to have self passed into __init__
- Added the Variant type
- Add the ability to specify types or signatures for Array, Variant and Dictionary
- (Connection::send_with_reply_handlers): return a PendingCall object
- (_pending_call_notification): handle the case when an error is returned
without an error message in the body
- (MessageIter::get_boolean): return True or False instead of an integer
- (MessageIter::python_value_to_dbus_sig): add direct checking of types and
add checks for objects with embeded signatures or types (Array, Variant and
Dictionary)
- (MessageIter::append_byte): handle case when the value is a dbus.Byte
- (MessageIter::append_dict): handle embeded types or signatures
- (MessageIter::append_array): handle embeded types or signatures
- (MessageIter::append_variant): new method
* python/proxies.py:
- (DeferedMethod): New. Dummy executable object used when queuing calls blocking on
introspection data
- (ProxyMethod::__call__): add the timeout keyword for specifying longer or
shorter timeouts for method calls
- (ProxyObject): Add first pass at an introspection state machine
- (ProxyObject::__init__): Add introspect keyword for turing off an on
introspection.
- (ProxyObject::_Introspect): Internal Introspect call that bypasses the usual
mechanisms for sending messages. This is to avoid a deadlock where the Intospect
call would be queued waiting for the Introspect call to finish ;-)
- (ProxyObject::_introspect_reply_handler): New. This method is called when
introspection returns with no error
- (ProxyObject::_introspect_error_handler): New. This method is called when
introspection encounters an error
- (ProxyObject::__getattr__): Code to handle different introspection states.
Queue async calls or block blocking calls if we are introspecting. Pass through
as normal if we are not or are done with introspecting.
* python/service.py: Import signal and method from decorators.py
* python/types.py: Add Variant type
python/__init__.py | 2 +-
python/_dbus.py | 5 +-
python/dbus_bindings.pyx | 223 ++++++++++++++++++++++++-------
python/examples/example-client.py | 1 +
python/examples/list-system-services.py | 4 +-
python/proxies.py | 97 ++++++++++++--
python/service.py | 2 +
python/types.py | 1 +
8 files changed, 269 insertions(+), 66 deletions(-)
commit 3ff048fc5ad215987749046e283ca97454bc7554
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-07-20 14:15:08 +0000
* python/_dbus.py, _util.py, decorators.py, extract.py, matchrules.py. proxies.py, service.py: Cleanup of code after running it through the pyflakes code checker mostly dealing with undefined names. (Bug #3828, Patch from Anthony Baxter <anthony@interlink.com.au>)
python/_dbus.py | 3 ---
python/_util.py | 1 +
python/decorators.py | 1 -
python/extract.py | 2 --
python/matchrules.py | 2 +-
python/proxies.py | 3 ++-
python/service.py | 5 +++--
7 files changed, 7 insertions(+), 10 deletions(-)
commit a076f4405829b136edbb89d99fbc485c9179b642
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-07-17 21:02:56 +0000
* Merge DBUS_0_35_2 branch into HEAD
2005-07-17 John (J5) Palmieri <johnp@redhat.com>
* NEWS: Update to 0.35.2
2005-07-17 John (J5) Palmieri <johnp@redhat.com>
* python/_dbus.py: Remove import of the dbus.services
module as it no longer exists (patch from Dimitur Kirov)
* python/service.py (Object::__init__): Fixed typo
s/name/bus_name (patch from Dimitur Kirov)
* python/examples/example-signal-emitter.py: import dbus.glib
to get the main loop and use glib mainloop instead of gtk so
X doesn't have to be running.
* python/examples/example-signal-recipient.py: import dbus.glib
to get the main loop and use glib mainloop instead of gtk so
X doesn't have to be running. Import the decorators module
directly.
* test/glib/Makefile.am: Added DIST_EXTRA files that distcheck
didn't pick up on but are needed to build
* configure.in: upped version to 0.35.2
* bus/driver.c, bus/selinux.c, bus/selinux.h, dbus/dbus-protocol.h:
added Colin Walters' SELinux API rename patch from head
s/unix sercurity context/selinux security context/
2005-07-16 John (J5) Palmieri <johnp@redhat.com>
* python/Makefile.am: dbus_binding.pxd.in should be included
in EXTRA_DIST not dbus_binding.pxd
fix up $(srcdir) hopefully for the last time
* NEWS: Update to 0.35.1
python/Makefile.am | 16 ++++++++--------
python/_dbus.py | 1 -
python/examples/example-signal-emitter.py | 6 ++++--
python/examples/example-signal-recipient.py | 13 +++++++------
python/service.py | 2 +-
5 files changed, 20 insertions(+), 18 deletions(-)
commit cf7d10b2e4240c5c2bd4df4a1f2cf5b76aa499c0
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-07-15 20:28:05 +0000
* glib/Makefile.am: Add make-dbus-glib-error-switch.sh to EXTRA_DIST so distcheck doesn't fail
* glib/examples/Makefile.am: Add example-service.xml and
example-signal-emitter.xml to EXTRA_DIST so distcheck doesn't fail
* glib/examples/statemachine/Makefile.am: Add statemachine.xml and
statemachine-server.xml to EXTRA_DIST so distcheck doesn't fail
* python/Makefile.am: Preprend $(srcdir)/ to source files so the
compiler looks in the right places during distcheck
python/Makefile.am | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
commit dc94fa7e3cd71c0dd29b4899bb0d956dc4019b34
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-07-15 18:09:59 +0000
* python/examples/example-service.py, python/examples/example-signal-emitter.py: Fixed up examples for API changes
python/examples/example-service.py | 4 ++--
python/examples/example-signal-emitter.py | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
commit 8b4ad749be5c97607ad2c0c3bcf1fc41c4877bf5
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-07-15 17:33:17 +0000
* python/__init__.py: Upped to version (0,42,0) because of the API change
python/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 96a7dee3c739e4c5eb6b18cc093bec41bb42da35
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-07-15 15:21:43 +0000
* bus/dispatch.c, test/test-service.c: Add testcase for sending messages to oneself (TODO item).
* python/service.py (class Object): Swap ordering of bus_name
and object_path parameters to better support inheritance.
* doc/dbus-tutorial.xml: change Python docs to reflect change
in parameter ordering and fix the inheritance section.
* doc/TODO: remove sending message to oneself TODO item
python/service.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 557f47a57fed5a5b4e56677ed0cf5ae8f2987536
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-07-15 02:15:07 +0000
* python/_dbus.py (Bus::remove_signal_receiver): don't add a callback to the match if none has been passed in
* python/matchrules.py (SignalMatchTree::remove): if the rule
being matched does not have a callback treat it as a wildcard
fix matching logic
* doc/dbus-tutorial.xml: Add Python tutorial
python/_dbus.py | 4 +++-
python/matchrules.py | 12 ++++++++----
2 files changed, 11 insertions(+), 5 deletions(-)
commit ea23dea1046cb6e9fdb2d618a53e61d1d61b1f53
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-07-14 20:44:15 +0000
Checking in Rodrigo's patch along with my fixes to the patch
2005-07-14 John (J5) Palmieri <johnp@redhat.com>
* bus/activation.c: clean up all tabs to be 8 spaces
(bus_activation_activate_service): make sure we clean up
if activation fails
* bus/dispatch.c: clean up all tabs to be 8 spaces
(check_shell_fail_service_auto_start): New function
tests to make sure we get fail properly when trying to auto start a service
with a faulty command line
(check_shell_service_success_auto_start): New function tests to make sure
auto started services get the arguments on the command line
* test/test-shell-service.c: Added service for testing auto-starting with
command line arguments
* test/data/valid-service-files/debug-shell-echo-fail.service.in,
test/data/valid-service-files/debug-shell-echo-success.service.in:
Added service files for testing auto-starting with command line arguments
* */.cvsignore: added a bunch of generated files to various .cvsignore files
2005-07-14 Rodrigo Moya <rodrigo@novell.com>
* dbus/dbus-shell.[ch]: copy/pasted code from GLib.
* dbus/Makefile.am: added new files to build.
* bus/activation.c (bus_activation_activate_service): support
activation commands with parameters.
* test/shell-test.c: added test program for the shell parsing
code.
python/.cvsignore | 1 +
python/Makefile.am | 14 +++++++-------
2 files changed, 8 insertions(+), 7 deletions(-)
commit 008027f4fafbbb77a45c0fa586855552c9564696
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-07-13 18:22:34 +0000
* python/.cvsignore: remove dbus_bindings.pyx, add dbus_bindings.pxd
* python/service.py (class Name): renamed BusName to make it clearer
what the object is for (a name on the bus)
* python/examples/example-service.py,
python/examples/example-signal-emitter.py: change the Name object to
BusName
python/.cvsignore | 2 +-
python/examples/example-service.py | 4 +---
python/examples/example-signal-emitter.py | 2 +-
python/service.py | 8 ++------
4 files changed, 5 insertions(+), 11 deletions(-)
commit ac9ab9544b98222fcce9329194f10774edea8a87
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-07-12 18:16:05 +0000
* python/dbus_bindings.pyx.in: removed
* python/dbus_bindings.pyx: Added.
- Fixed some memleaks (patch from
Sean Meiners <sean.meiners@linspireinc.com>)
- Broke out the #include "dbus_h_wrapper.h" and put it in its
own pxd file (Pyrex definition)
- Broke out glib dependancies into its own pyx module
* python/dbus_bindings.pdx: Added.
- Defines C class Connection for exporting to other modules
* python/dbus_glib_bindings.pyx: Added.
- New module to handle lowlevel dbus-glib mainloop integration
* python/glib.py: Added.
- Registers the glib mainloop when you import this module
* python/services.py: Removed (renamed to service.py)
* python/service.py: Added.
- (class Server): renamed Name
* python/__init__.py: Bump ro version (0,41,0)
- don't import the decorators or service module
by default. These now reside in the dbus.service namespace
* python/_dbus.py (Bus::__init__): Add code run the main loop
setup function on creation
* python/examples/example-service.py,
python/examples/example-signal-emitter.py: update examples
* python/examples/gconf-proxy-service.py,
python/examples/gconf-proxy-service2.py: TODO fix these up
* doc/TODO: Addition
- Added a Python Bindings 1.0 section
- added "Add match on args or match on details to match rules"
python/Makefile.am | 34 +-
python/__init__.py | 5 +-
python/_dbus.py | 19 +-
python/dbus_bindings.pxd.in | 8 +
python/dbus_bindings.pyx | 1488 ++++++++++++++++++++++++++++
python/dbus_bindings.pyx.in | 1494 -----------------------------
python/dbus_glib_bindings.pyx | 19 +
python/examples/example-service.py | 19 +-
python/examples/example-signal-emitter.py | 15 +-
python/examples/gconf-proxy-service.py | 2 +-
python/examples/gconf-proxy-service2.py | 2 +-
python/glib.py | 15 +
python/service.py | 187 ++++
python/services.py | 187 ----
14 files changed, 1771 insertions(+), 1723 deletions(-)
commit 5f5b7847e7a159e040bc9070a143cd6547a9689b
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-06-28 19:36:51 +0000
* python/dbus_bindings.pyx.in (cunregister_function_handler, cmessage_function_handler): Patch from Anthony Baxter <anthony@interlink.com.au> fixes threading problems by using the Py_GILState_Ensure/Release to synchronize with the python runtime.
python/dbus_bindings.pyx.in | 62 +++++++++++++++++++++++++-----------------
1 files changed, 37 insertions(+), 25 deletions(-)
commit b9ef3eaf17a91f258af17c6e9ae8acb23eb7b411
Author: Colin Walters <walters@verbum.org>
Date: 2005-06-16 05:51:46 +0000
2005-06-16 Colin Walters <walters@verbum.org>
* python/dbus_bindings.pyx.in: Import size_t,
__int64_t, __uint64_t, and __signed.
* dbus/dbus-sysdeps.c <HAVE_CMSGCRED> (write_credentials_byte):
Define cmsg struct, output it.
(_dbus_read_credentials_unix_socket):
Use cmsg struct.
Patch from Joe Markus Clarke for FreeBSD support.
python/dbus_bindings.pyx.in | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit 4a8fc73472c80880c0c6c5cf1401f3ab9817965f
Author: Colin Walters <walters@verbum.org>
Date: 2005-06-13 03:01:17 +0000
2005-06-12 Colin Walters <walters@verbum.org>
Async signals and various bugfixes and testing by
Ross Burton <ross@burtonini.com>.
* glib/dbus-gvalue.h: (struct DBusBasicGValue): Delete.
(dbus_gvalue_genmarshal_name_from_type)
(dbus_gvalue_ctype_from_type): Moved to dbus-binding-tool-glib.c.
(dbus_gtype_to_dbus_type): Renamed to dbus_gtype_from_signature.
(dbus_g_value_types_init, dbus_gtype_from_signature)
(dbus_gtype_from_signature_iter, dbus_gtype_to_signature)
(dbus_gtypes_from_arg_signature): New function prototypes.
(dbus_gvalue_demarshal): Take context and error arguments.
(dbus_gvalue_demarshal_variant): New function.
(dbus_gvalue_demarshal_message): New function.
(dbus_gvalue_store): Delete.
* glib/dbus-gvalue.c:
File has been almost entirely rewritten; now we special-case
more types such as DBUS_TYPE_SIGNATURE, handle arrays and
hash tables correctly, etc. Full support for recursive values
is not yet complete.
* glib/dbus-gproxy.c (dbus_g_proxy_class_init): Change last
argument of signal to G_TYPE_POINTER since we now pass a
structure.
(lookup_g_marshaller): Delete in favor of
_dbus_gobject_lookup_marshaller.
(marshal_dbus_message_to_g_marshaller): Use
_dbus_gobject_lookup_marshaller and dbus_gvalue_demarshal_message
to handle remote signal callbacks.
(dbus_g_proxy_new_from_proxy): New function; creates a new
DBusGProxy by copying an existing one.
(dbus_g_proxy_get_interface, dbus_g_proxy_set_interface)
(dbus_g_proxy_get_path): New functions.
(dbus_g_proxy_marshal_args_to_message): New function;
factored out of existing code.
(DBUS_G_VALUE_ARRAY_COLLECT_ALL): Collect all arguments
from a varargs array.
(dbus_g_proxy_begin_call_internal): New function.
(dbus_g_proxy_end_call_internal): New function.
(dbus_g_proxy_begin_call): Take GTypes instead of DBus types
as arguments; simply invoke dbus_g_proxy_begin_call_internal
after collecting args into value array.
(dbus_g_proxy_end_call): Take GTypes instead of DBus types;
invoke dbus_g_proxy_end_call_internal.
(dbus_g_proxy_invoke): Simply invoke begin_call_interanl and
end_call_internal.
(dbus_g_proxy_call_no_reply): Take GTypes instead of DBus
types.
(array_free_all): New function.
(dbus_g_proxy_add_signal): Take GTypes.
* glib/dbus-gobject.h:
(_dbus_glib_marshal_dbus_message_to_gvalue_array): Delete.
(_dbus_gobject_get_path, _dbus_gobject_lookup_marshaller):
Prototype.
* glib/dbus-gobject.c: Add a global marshal_table hash which
stores mappings from type signatures to marshallers. Change lots
of invocations of dbus_gtype_to_dbus_type to
dbus_gtype_to_signature.
(_dbus_glib_marshal_dbus_message_to_gvalue_array): Delete.
(introspect_signals): Fix test for query.return_type.
(set_object_property): Update invocation of dbus_gvalue_demarshal.
(invoke_object_method): Many changes. Handle asynchronous
invocations. Convert arguments with
dbus_gvalue_demarshal_message. Handle errors. Use
DBusSignatureIter instead of strlen on args. Handle all arguments
generically. Special-case variants.
(dbus_g_method_return, dbus_g_method_return_error): New function.
(DBusGSignalClosure): New structure, closes over signal
information.
(dbus_g_signal_closure_new): New function.
(dbus_g_signal_closure_finalize): New function.
(signal_emitter_marshaller): New function; is special marshaller
which emits signals on bus.
(export_signals): New function; introspects object signals and
connects to them.
(dbus_g_object_type_install_info): Take GType instead of
GObjectClass.
(dbus_g_connection_register_g_object): Invoke export_signals.
(dbus_g_connection_lookup_g_object): New function.
(DBusGFuncSignature) New structure; used for mapping type
signatures to marshallers.
(funcsig_hash): New function; hashes DBusGFuncSignature.
(funcsig_equal): New function; compares DBusGFuncSignature.
(_dbus_gobject_lookup_marshaller): New function.
(dbus_g_object_register_marshaller): New function; used to
register a marshaller at runtime for a particular signature.
* glib/dbus-gmain.c (_dbus_gmain_test): Add various tests.
* glib/dbus-binding-tool-glib.h: Add DBUS_GLIB_ANNOTATION_ASYNC
which notes a server method implementation should be
asynchronous.
* glib/dbus-binding-tool-glib.c
(dbus_binding_tool_output_glib_server): Call
dbus_g_value_types_init.
(write_formal_parameters): Use dbus_gtype_from_signature. Handle
variants specially.
(dbus_g_type_get_lookup_function): Turn GType into an invocation
of a lookup function.
(write_args_for_direction): Use dbus_g_type_get_lookup_function.
(write_untyped_out_args): New method; write output arguments.
(write_formal_declarations_for_direction): Function for
writing prototypes.
(write_formal_parameters_for_direction): Function for
writing implementations.
(write_typed_args_for_direction): Function for writing
arguments prefixed with GTypes.
(write_async_method_client): Write out async version
of method.
* glib/dbus-binding-tool-glib.c: Include dbus-gvalue-utils.h.
(dbus_g_type_get_marshal_name): Move mapping from GType
to marshal name into here.
(dbus_g_type_get_c_name): Move into here.
(compute_marshaller): Convert signature to type with
dbus_gtype_from_signature, use dbus_g_type_get_marshal_name.
(compute_marshaller_name): Ditto.
(compute_marshaller): Handle async signal annotations.
(gather_marshallers): Return if we don't have a known
prefix.
(generate_glue): Collect introspection blob here, and
write all of the blob at the end. This allows an object
with multiple interfaces to work.
Mark async methods in introspection blob.
* glib/Makefile.am (libdbus_glib_1_la_SOURCES): Add
dbus-gtype-specialized.c, dbus-gtype-specialized.h,
dbus-gvalue-utils.h, dbus-gvalue-utils.c.
* dbus/dbus-glib.h: Don't include dbus-protocol.h; this
avoids people accidentally using DBUS_TYPE_* which should
not be necessary anymore.
Do include dbus-gtype-specialized.h, which are utilities
for GLib container types.
Add various #defines for types such as
DBUS_TYPE_G_BOOLEAN_ARRAY.
(DBusGValueIterator, DBusGValue): Define, not fully used
yet.
(dbus_g_value_get_g_type): Type for recursive value.
(dbus_g_value_open, dbus_g_value_iterator_get_value)
(dbus_g_value_iterator_get_values, dbus_g_value_iterator_recurse)
(dbus_g_value_free): Prototypes.
(dbus_g_object_register_marshaller, dbus_g_proxy_new_from_proxy): Prototype.
(dbus_g_proxy_set_interface): Prototype.
(dbus_g_proxy_begin_call, dbus_g_proxy_end_call)
(dbus_g_proxy_call_no_reply): Take GLib types instead of DBus
types.
(dbus_g_proxy_get_path, dbus_g_proxy_get_interface):
Accessors.
(DBusGAsyncData, DBusGMethodInvocation): Structures for
doing async invocations.
(dbus_g_method_return, dbus_g_method_return_error):
Prototypes.
* doc/dbus-tutorial.xml: Update GLib section.
* tools/dbus-viewer.c (load_child_nodes): Update
for new invocation type of dbus_g_proxy_end_call.
(load_from_service_thread_func): Ditto.
* tools/print-introspect.c (main): Ditto.
* tools/dbus-names-model.c (have_names_notify)
(names_model_reload, names_model_set_connection)
Use GTypes.
* python/Makefile.am (INCLUDES): Define DBUS_COMPILATION,
needed since Python bindings use GLib bindings.
* test/glib/Makefile.am (INCLUDES): Define DBUS_COMPILATION.
Add --prefix argument.
* tools/Makefile.am: Define DBUS_COMPILATION. Remove
unneeded --ignore-unsupported arg.
* test/glib/test-service-glib.c:
* test/glib/test-service-glib.xml:
* test/glib/test-dbus-glib.c: Add many more tests.
python/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit fc5d7298d72e20bfc3e209e44e6791643a838f49
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-05-24 16:34:38 +0000
* python/__init__.py: Python bindings deserve a minor version update. Upped to (0, 40, 2)
python/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit abd0204928614dc1d36125e9d3634c25e068af59
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-05-24 16:30:50 +0000
* python/decorators.py: add explicitly_pass_message decorator for passing in the dbus message as keyword for edge case signal handling
* python/matchrules.py (SignalMatchRule.__repr__): fix output
to conform with what dbus expects for match rules
(SignalMatchRule.execute): add the dbus message as a keyword
if the signal handler has requested it
* python/examples/example/signal-recipient.py: added some more
examples on how to hook up to signals
* python/proxies.py: minor formatting changes
python/_dbus.py | 4 +---
python/decorators.py | 5 ++++-
python/examples/example-signal-recipient.py | 22 +++++++++++++++++++++-
python/matchrules.py | 21 +++++++++------------
4 files changed, 35 insertions(+), 17 deletions(-)
commit 1db6dbecffec574f6773286416f7e92ccd864068
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-05-24 00:21:07 +0000
* python/decorators.py: import dbus_bindings
* python/matchrules.py (SignalMatchRule, SignalMatchTree,
SignalMatchNode): new classes that implement wildcard signal
callback matching using a tree lookup. Heavily modified from a
patch sent by Celso Pinto (fd.o bug #3241)
* _dbus.py (add_signal_receiver, remove_signal_receiver, _signal_func):
use new match classes to handle signals.
python/Makefile.am | 2 +-
python/_dbus.py | 69 +++++-------
python/decorators.py | 10 +-
python/examples/example-signal-emitter.py | 8 +-
python/examples/example-signal-recipient.py | 4 +-
python/matchrules.py | 170 +++++++++++++++++++++++++++
6 files changed, 211 insertions(+), 52 deletions(-)
commit 717c3781328d631a16a74a8f51a7bb04d92729f6
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-05-19 20:27:19 +0000
- s/TYPE_PATH/TYPE_OBJECT_PATH
python/dbus_bindings.pyx.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 3979e97cf4245f720aed1764009a5d1fa875f595
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-05-16 21:27:03 +0000
* glib/dbus-gmain.c (io_handler_dispatch): fix deadlock when using recursive g_main_loops
* python/_dbus.py (class Bus): add the ProxyObjectClass
alias for ProxyObject to make it easier for the Twisted
networking framework to integrate dbus.
* python/proxies.py (class ProxyObject): add the ProxyMethodClass
alias for ProxyMethod to make it easier for the Twisted
networking framework to integrate dbus.
python/_dbus.py | 4 ++-
python/proxies.py | 82 +++++++++++++++++++++++++++--------------------------
2 files changed, 45 insertions(+), 41 deletions(-)
commit 0c2e7112539a1314393826dbd2a14c3c1239078a
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-05-05 18:27:34 +0000
* Fix my name in previous changelog ;)
* python/proxies.py (ProxyObject.__getattr__): add further patch
from Anthony Baxter to throw an AttributeError when python
__special__ functions are called instead of marshling them over
the bus (Bug#1685 comment 3).
python/proxies.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 933695891ea748308d76faaab23bc548c585b7b8
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-05-05 18:01:45 +0000
* python/Makefile.am: changed to use pyexecdir for the binding shared libraries (Bug#2494)
* python/exceptions.py: bring exceptions over from the bindings
so they can be used in applications (Bug#2036)
Make all exceptions derive from DBusException
* python/_dbus.py, python/proxies.py: implement __repr__ in a couple
of classes so that print obj doesn't throw an exception (Bug #1685)
python/Makefile.am | 2 +-
python/_dbus.py | 7 +++++--
python/exceptions.py | 35 ++++++++++++-----------------------
python/proxies.py | 5 +++++
4 files changed, 23 insertions(+), 26 deletions(-)
commit 99e291c0cf9af2f4438def9212ce2f29c057ae7f
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-05-01 19:34:58 +0000
* python/dbus_bindings.pyx.in:
- added new type classes for hinting to the marashaler what type
to send over the wire
- added int16 and uint16 marshalers
- Fixed a bug in the type constants that caused int32 to go out
as uint16 over the wire
* python/dbus.py: split up into different files and renamed _dbus.py
* python/__init__.py, python/_util.py, python/decorators.py,
python/exceptions.py, python/proxies.py, python/services.py,
python/types.py: new files split off from dbus.py
* python/Makefile.am: Add new files, remove dbus.py and
install all python files to <python module dir>/dbus
* python/examples/*: Added #!/usr/bin/env python to the top of
every example. Patch provided by Tatavarty Kalyan
python/Makefile.am | 6 +-
python/__init__.py | 6 +
python/_dbus.py | 219 +++++++++++
python/_util.py | 12 +
python/dbus.py | 562 ---------------------------
python/dbus_bindings.pyx.in | 146 +++++++-
python/decorators.py | 37 ++
python/examples/example-service.py | 2 +
python/examples/example-signal-emitter.py | 2 +
python/examples/example-signal-recipient.py | 2 +
python/examples/gconf-proxy-client.py | 2 +
python/examples/gconf-proxy-service.py | 2 +
python/examples/gconf-proxy-service2.py | 2 +
python/examples/list-system-services.py | 2 +
python/exceptions.py | 32 ++
python/proxies.py | 90 +++++
python/services.py | 187 +++++++++
python/types.py | 18 +
18 files changed, 761 insertions(+), 568 deletions(-)
commit b27b13812644b7da6a40c212437d1d6898aa9439
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-04-25 22:54:28 +0000
* python/dbus_bindings.pyx.in (send_with_reply_handlers): New send
method for doing async calls
(_pending_call_notification): New C function for handling pendning call
callbacks
(set_notify): New method for setting pending call notification
* python/dbus.py: new version tuple "version" is set at (0, 40, 0)
Async capabilities added to remote method calls
(Sender): class removed
(RemoteService): class removed
(ObjectTree): class removed for now
(RemoteObject): Renamed to ProxyObject
(RemoteMethod): Renamed to ProxyMethod
(method): Decorator added for decorating python methods as dbus methods
(signal): Decorator added for decorating python methods as signal emitters
(ObjectType): Metaclass added for generating introspection data and the
method callback vtable
(Interface): Wrapper class added to wrap objects in a dbus interface
(Object): Uses ObjectType as its metaclass and exports Introspect
of the org.freedesktop.DBus.Introspectable interface
(ValidationException, UnknownMethodException): new exceptions
* python/examples/*: Modified to fit with the new bindings
python/dbus.py | 510 +++++++++++++++++----------
python/dbus_bindings.pyx.in | 68 +++-
python/examples/example-client.py | 12 +-
python/examples/example-service.py | 12 +-
python/examples/example-signal-emitter.py | 17 +-
python/examples/example-signal-recipient.py | 25 +-
python/examples/list-system-services.py | 13 +-
7 files changed, 428 insertions(+), 229 deletions(-)
commit b190b899f2f645d4b71d01eb9f53ce0e198ce576
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-03-29 17:01:43 +0000
* python/lvalue_cast_post_process.py - removed. Patch has been submitted to Pyrex maintainers that fixes gcc4.0 error
* python/Makefile.am: removed refrences to lvalue_cast_post_process.py
python/Makefile.am | 7 +--
python/lvalue_cast_post_process.py | 80 ------------------------------------
2 files changed, 2 insertions(+), 85 deletions(-)
commit a4597b45df11db105206b87054042f9612684b2e
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-03-21 21:13:56 +0000
* python/lvalue_cast_post_process.py - added post processor to fix Pyrex code so that it compiles with gcc4.0
* python/Makefile.am: Added lvalue_cast_post_process.py to EXTRA_DIST
run dbus_bindings.c through lvalue_cast_post_process.py and copy the
results back to dbus_binding.c
python/Makefile.am | 7 ++-
python/lvalue_cast_post_process.py | 80 ++++++++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+), 2 deletions(-)
commit bb519aab3c2b9112eba2e67a50e2864dc65f765c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-02-23 19:36:24 +0000
python/dbus_bindings.pyx.in (PendingCall::get_reply):
s/dbus_pending_call_get_reply/dbus_pending_call_steal_reply
python/dbus_bindings.pyx.in | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit 4940b112efc417868f567d885e36297e14e43244
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-02-11 19:51:18 +0000
* python/dbus.py (class Sender): added to support dbus signals better
to True. When expand args is True the signal handler will pass the
message arguments as parameters to the signal handler. If False
revert to previous behavior where the signal handler must get the
argument list from the message. This is to help port applications
like HAL that have a tendancy to send variable length argument lists.
self._match_rule_to_receivers is now a dict of dicts.
(Bus::remove_signal_receiver): pop handler off the dict intead of
removing it from a list
(Bus::_signal_func): change signal handlers so that interface,
signal_name, service, path and message are packed into a Sender
object and that is passed to the handler. If expand_args is True
extract the args list from the message and append it to the parameter
list
* python/dbus_bindings.pyx.in (class Signature): added to support
signiature types
(MessageIter::__init__): changed iteration limit to match D-BUS
(MessageIter::get*): added INT16, UINT16, SIGNATURE, DICT_ENTRY,
STRUCT and VARIENT type support
(MessageIter::python_value_to_dbus_sig): made recursive to support
recursive types
(MessageIter::append*): added Signature, dict, tuple
support
* python/examples/example-client.py: added examples of getting tuples
and dicts
* python/examples/example-service.py: added examples of sending tuples
and dicts
* python/examples/example-signal-recipient.py: Fixed to handle new
signal callback format
python/dbus.py | 46 +++--
python/dbus_bindings.pyx.in | 263 +++++++++++++++++++--------
python/examples/example-client.py | 9 +
python/examples/example-service.py | 9 +-
python/examples/example-signal-recipient.py | 4 +-
5 files changed, 239 insertions(+), 92 deletions(-)
commit ca4b771f58b30005ec4bb47acacfa73d1c467ac9
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-01-28 19:09:54 +0000
* python/dbus_bindings.pyx.in: Updated to handle new D-BUS type system - BUS_ACTIVATION -> BUS_STARTER - DBUS_BUS_ACTIVATION -> DBUS_BUS_STARTER - class MessageIter (__init__): Added recursion checking so we throw a nice error instead of just disconnecting from the bus. (get): Added arg_type parameter for recursion. Removed the nil type Added signiture type placeholder (not implemented) Added struct type placeholder (not implemented) Added varient type placeholder (not implemented) Commented out dict type for now (get_element_type): renamed from get_array_type (get_*): changed to use the dbus_message_iter_get_basic API (get_*_array): removed in favor of recursive get_array method (get_array): new recursive method which calls get to marshal the elements of the array (value_to_dbus_sig): New method returns the corrasponding dbus signiture to a python value (append): Comment out dict handling for now Handle lists with the new recursive API Comment out None handling for no
w
(append_nil): removed
(append_*): changed to use dbus_message_iter_append_basic API
(append_*_array): removed in favor of recursive append_array
method
(__str__): Make it easier to print out recursive iterators
for debugging
- class Message (__str__): moved type inspection to the
MessageIter class' __str__ method
(get_iter): Added an append parameter wich defaults to False
If True use the new API's to create an append iterator
* python/dbus.py: Update to use new bindings API
- TYPE_ACTIVATION -> TYPE_STARTER
- class Bus (_get_match_rule): GetServiceOwner -> GetNameOwner
- class ActivationBus -> class StarterBus
- class RemoteObject (__call__): get an append iterator
- (_dispatch_dbus_method_call): get an append iterator
- class Object (emit_signal): get an append iterator
* python/examples/: Fixed up the examples to work with the new API
python/dbus.py | 24 +-
python/dbus_bindings.pyx.in | 591 +++++++++++++----------------
python/examples/example-service.py | 4 +-
python/examples/example-signal-emitter.py | 3 +-
python/examples/list-system-services.py | 7 +-
5 files changed, 277 insertions(+), 352 deletions(-)
commit f6f84489cf9e6fa2f343eb5ce4f78b9b2ee4dc90
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2005-01-25 19:06:53 +0000
* python/dbus_bindings.pyx.in: Rename of methods and bindings - get_base_service->get_unique_name - bus_get_base_service->bus_get_unique_name - dbus_bus_get_base_service -> dbus_bus_get_unique_name - ACTIVATION_REPLY_ACTIVATED -> DBUS_START_REPLY_SUCCESS - ACTIVATION_REPLY_ALREADY_ACTIVE -> DBUS_START_REPLY_ALREADY_RUNNING - bus_activate_service -> bus_start_service_by_name - dbus_bus_activate_service -> dbus_bus_start_service_by_name - bus_acquire_service -> bus_request_name - dbus_bus_acquire_service -> dbus_bus_request_name - bus_service_exists -> bus_name_has_owner - dbus_bus_service_exists -> dbus_bus_name_has_owner
* python/dbus.py: Rename of methods
- activate_service -> start_service_by_name
- bus_acquire_service -> bus_request_name
- ACTIVATION_REPLY_ACTIVATED -> START_REPLY_SUCCESS
- ACTIVATION_REPLY_ALREADY_ACTIVE -> START_REPLY_ALREADY_RUNNING
python/dbus.py | 10 +++++-----
python/dbus_bindings.pyx.in | 30 +++++++++++++++---------------
2 files changed, 20 insertions(+), 20 deletions(-)
commit dc9a91e745f5885fc9b63568a9f4228a7522c381
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2004-12-30 18:28:03 +0000
2004-12-30 John (J5) Palmieri <johnp@redhat.com>
* python/dbus.py: s/ACTIVATION_REPLY_ACTIVE/ACTIVATION_REPLY_ACTIVATED
python/dbus.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 32e2f57ac99f528d159b68b8dfafc74c39a3c4cc
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2004-12-30 14:19:53 +0000
2004-12-30 John (J5) Palmieri <johnp@redhat.com>
* python/dbus_bindings.pyx.in: Change DBUS_ACTIVATION_REPLY_ACTIVATED
and DBUS_ACTIVATION_REPLY_ALREADY_ACTIVE to match the values in
dbus-protocol.h. Because they are defines and not enums they are not
autogenerated.
python/dbus_bindings.pyx.in | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit 01740aa1f3c4c2cecdf37a3c043a42d0dbffc773
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2004-12-27 16:01:13 +0000
2004-12-26 John (J5) Palmieri <johnp@redhat.com>
* python/dbus_bindings.pyx.in (bus_activate_service): Bind
dbus_bus_activate_service
* python/dbus.py (Bus.activate_service): activate a service on the
bus.
python/dbus.py | 7 +++++++
python/dbus_bindings.pyx.in | 16 ++++++++++++++++
2 files changed, 23 insertions(+), 0 deletions(-)
commit f33050956dca770af4d188768bcd8537a1686d45
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2004-12-23 00:50:37 +0000
* patch from Rob Taylor <robtaylor@fastmail.fm> - wrap bus_get_unix_user method in low level bindings - add get_unix_user method to the Bus class - fix extract.py so it can handle unsigned long return types
python/dbus.py | 4 ++++
python/dbus_bindings.pyx.in | 13 +++++++++++++
python/extract.py | 3 +--
3 files changed, 18 insertions(+), 2 deletions(-)
commit 1a6d664b037ea2fcbcbfdc8d637a7f5309e68ffb
Author: David Zeuthen <david@fubar.dk>
Date: 2004-09-16 19:56:26 +0000
2004-09-16 David Zeuthen <david@fubar.dk>
* python/dbus_bindings.pyx.in: Add support for int64 and uint64
python/dbus_bindings.pyx.in | 66 ++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 65 insertions(+), 1 deletions(-)
commit 6e5b6a98a792653e9248767be746a031e851cb84
Author: Anders Carlsson <andersca@gnome.org>
Date: 2004-07-28 18:14:55 +0000
2004-07-28 Anders Carlsson <andersca@gnome.org>
* python/dbus.py:
* python/dbus_bindings.pyx.in:
Add dbus.init_gthreads (), allow emit_signal to pass
arguments to the signal.
python/dbus.py | 13 ++++++++++++-
python/dbus_bindings.pyx.in | 4 ++++
2 files changed, 16 insertions(+), 1 deletions(-)
commit bac1c708b7ae971bf96500161f56edec4120ad3b
Author: Seth Nickell <seth@gnome.org>
Date: 2004-07-18 21:44:37 +0000
2004-07-18 Seth Nickell <seth@gnome.org>
* python/dbus.py:
* python/dbus_bindings.pyx.in:
* python/tests/test-client.py:
Add dbus.ByteArray and dbus_bindings.ByteArray
types so that byte streams can be passed back.
Give jdahlin the heaps of credit that are so
rightfully his.
python/dbus.py | 3 ++-
python/dbus_bindings.pyx.in | 23 ++++++++++++++++-------
python/tests/test-client.py | 7 +++----
3 files changed, 21 insertions(+), 12 deletions(-)
commit fb762d8e21ae66ceda54496168d92d7e8dc4bce2
Author: Seth Nickell <seth@gnome.org>
Date: 2004-07-12 06:28:59 +0000
2004-07-12 Seth Nickell <seth@gnome.org>
* python/dbus.py:
Add message argument to the default object_method_handler
function.
* python/dbus_bindings.pyx.in:
Automatically return NIL when passed an empty list
(we can't pass back a list since lists are typed
and we don't have any idea what type the the client
intended the list to be... :-( )
python/dbus.py | 2 +-
python/dbus_bindings.pyx.in | 28 ++++++++++++++++------------
2 files changed, 17 insertions(+), 13 deletions(-)
commit 1e926c3330e91895034c91c59c368d7201a8bc56
Author: Seth Nickell <seth@gnome.org>
Date: 2004-07-11 03:09:03 +0000
2004-07-10 Seth Nickell <seth@gnome.org>
* python/examples/Makefile.am:
Fix distcheck breakage caused by new examples.
python/examples/Makefile.am | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
commit e386459734ff05d09c43d50b8623659512d36975
Author: Seth Nickell <seth@gnome.org>
Date: 2004-07-11 03:02:14 +0000
2004-07-10 Seth Nickell <seth@gnome.org>
* python/dbus.py:
Add "message" argument to service-side dbus.Object
methods. This will break existing services written
using the python bindings, but will allow extraction
of all the message information (e.g. who its from).
Add improved "object oriented" signal handling/emission.
* python/examples/example-service.py:
Nix this example.
* python/examples/example-signal-emitter.py:
* python/examples/example-signal-recipient.py:
Two new examples that show how to emit and receive
signals using the new APIs.
* python/examples/example-signals.py:
* python/examples/gconf-proxy-service.py:
* python/examples/gconf-proxy-service2.py:
Add "message" argument to service methods.
python/dbus.py | 91 ++++++++++++++++++---------
python/examples/example-service.py | 2 +-
python/examples/example-signal-emitter.py | 18 +++++
python/examples/example-signal-recipient.py | 19 ++++++
python/examples/example-signals.py | 27 --------
python/examples/gconf-proxy-service.py | 8 +-
python/examples/gconf-proxy-service2.py | 2 +-
7 files changed, 104 insertions(+), 63 deletions(-)
commit 740b3a75006d1f5cc228c65838105a7a8b3ae75c
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2004-06-23 14:59:43 +0000
* switched include directory from glib/ to dbus/ since dbus-glib.h moved
python/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 3ba6699d5e975a50693807268923bda69a15773a
Author: Owen Fraser-Green <owen@discobabe.net>
Date: 2004-06-10 12:13:39 +0000
Fixed typo for python/examples make
python/examples/Makefile.am | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 5e41974dd9ea8db84985ff5b31d3ea525fbf0947
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2004-06-08 02:35:43 +0000
* Python bindings are updated to reflect C API changes which now accept plain path strings instead of an array of path elements.
python/dbus_bindings.pyx.in | 35 +++--------------------------------
1 files changed, 3 insertions(+), 32 deletions(-)
commit e29bd0928368c6303209b6a2a4ea1ed749f6e58f
Author: Seth Nickell <seth@gnome.org>
Date: 2004-06-01 06:16:13 +0000
Update .cvsignore files
python/.cvsignore | 6 ++++++
python/examples/.cvsignore | 2 ++
2 files changed, 8 insertions(+), 0 deletions(-)
commit 22ac6379fbc251ac40e1635353e2b83676f6ea66
Author: Seth Nickell <seth@gnome.org>
Date: 2004-06-01 06:13:31 +0000
2004-06-01 Seth Nickell <seth@gnome.org>
* python/dbus_bindings.pyx.in:
* python/tests/test-client.py:
Round off basic type support. Add dicts (yay!), and
remaining array types.
Make MessageIter more general so it works for dicts too.
Mark all loop variables as C integers.
python/dbus_bindings.pyx.in | 90 +++++++++++++++++++++++++++++++------------
python/tests/test-client.py | 38 ++++++++++++++++++
2 files changed, 103 insertions(+), 25 deletions(-)
commit dd476a9662e4f66f08610a793458b4740823a525
Author: Seth Nickell <seth@gnome.org>
Date: 2004-06-01 01:20:59 +0000
* python/dbus_bindings.pyx.in: * python/tests/test-client.py:
Test Suite: 1
Python Bindings: 0
(fix string array memory trashing bug... oops)
python/dbus_bindings.pyx.in | 82 ++++++++++++++++++++++++++++++++++++------
python/tests/test-client.py | 20 +++++++++-
2 files changed, 88 insertions(+), 14 deletions(-)
commit 897be0d7a55449df0fb97b1126afecbb6906c083
Author: Seth Nickell <seth@gnome.org>
Date: 2004-05-30 08:20:58 +0000
2004-05-30 Seth Nickell <seth@gnome.org>
* python/dbus.py:
Add a nicer-but-less-flexible alternate API for handling
calls to virtual objects in dbus.ObjectTree.
Screw up the argument order to the dbus.Object constructor
for consistency with dbus.ObjectTree (and to make dbus_methods
optional for future extension)
* python/examples/Makefile.am:
* python/examples/gconf-proxy-service.py:
* python/examples/gconf-proxy-service2.py:
Alternate implementation of gconf-proxy-service using the
nicer dbus.ObjectTree API.
* python/examples/example-service.py:
* python/tests/test-server.py
Reverse the argument order to deal with dbus.Object constructor
changes.
python/dbus.py | 52 ++++++++++++++++++++++--------
python/examples/Makefile.am | 1 +
python/examples/example-service.py | 2 +-
python/examples/gconf-proxy-service.py | 42 ++++++++++---------------
python/examples/gconf-proxy-service2.py | 36 +++++++++++++++++++++
python/tests/test-server.py | 2 +-
6 files changed, 94 insertions(+), 41 deletions(-)
commit 51c8a42abcc0a2ab8e079d218003d9ccc48f1d79
Author: Seth Nickell <seth@gnome.org>
Date: 2004-05-30 06:26:24 +0000
2004-05-30 Seth Nickell <seth@gnome.org>
* python/examples/example-client.py:
* python/examples/example-service.py:
Take it back. Lists seem to work but they're broken
in the test suite. Make the base examples use
lists (works fine).
python/examples/example-client.py | 4 ++--
python/examples/example-service.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
commit 4f3d0dac99f3f93fc04b403f8c7e6b2177725851
Author: Seth Nickell <seth@gnome.org>
Date: 2004-05-30 06:21:00 +0000
2004-05-30 Seth Nickell <seth@gnome.org>
* python/dbus_bindings.pyx.in:
* python/tests/test-client.py:
Add some more tests and fix errors that crop up.
Unfortunately, currently it seems like marshalling
and unmarshalling of lists is completely broken :-(
python/dbus_bindings.pyx.in | 32 +++++++++++++++++++-------------
python/tests/test-client.py | 35 +++++++++++++++++++++++++++--------
2 files changed, 46 insertions(+), 21 deletions(-)
commit 92e6c358afffd4fcdd5efd0075f9faa857c60ab3
Author: Seth Nickell <seth@gnome.org>
Date: 2004-05-30 05:30:09 +0000
2004-05-30 Seth Nickell <seth@gnome.org>
* python/dbus_bindings.pyx.in:
Add support for ObjectPath type.
* python/dbus.py:
Refactor message handling code to a common function.
* python/tests/test-client.py:
* python/tests/test-server.py:
Add tests that check to make sure values of all types
can be echoed from a service w/o mangling.
python/dbus.py | 58 +++++++++++++++++---------------------
python/dbus_bindings.pyx.in | 66 +++++++++++++++++++++++++++++++++++-------
python/tests/test-client.py | 28 ++++++++++++++++++
python/tests/test-server.py | 17 +++++++++++
4 files changed, 126 insertions(+), 43 deletions(-)
commit 4a5617e6090ca2402a74a0bf3cac2b891cbc0824
Author: Seth Nickell <seth@gnome.org>
Date: 2004-05-30 02:26:48 +0000
2004-05-29 Seth Nickell <seth@gnome.org>
* python/dbus.py:
Add ObjectTree class which allows implementation
of trees of "virtual" objects. Basically the python
wrapper for "register_fallback".
* python/examples/Makefile.am
* python/examples/gconf-proxy-client.py:
* python/examples/gconf-proxy-service.py:
Implement a simple GConf proxy service that supports
get/set on string and int GConf keys using the ObjectTree.
python/dbus.py | 52 +++++++++++++++++++++++++++++++-
python/examples/Makefile.am | 2 +
python/examples/gconf-proxy-client.py | 11 +++++++
python/examples/gconf-proxy-service.py | 48 +++++++++++++++++++++++++++++
4 files changed, 112 insertions(+), 1 deletions(-)
commit 188e82d59c07729efbefe22d0919150054d8b374
Author: Seth Nickell <seth@gnome.org>
Date: 2004-05-29 22:37:13 +0000
2004-05-29 Seth Nickell <seth@gnome.org>
* python/dbus.py:
* python/examples/example-client.py:
* python/examples/example-service.py:
* python/examples/list-system-services.py:
Add SessionBus, SystemBus and ActivationBus classes
so you don't need to know the special little BUS_TYPE
flag.
python/dbus.py | 19 +++++++++++++++++++
python/examples/example-client.py | 2 +-
python/examples/example-service.py | 4 ++--
python/examples/list-system-services.py | 2 +-
4 files changed, 23 insertions(+), 4 deletions(-)
commit 33e96395a41362c57790e3cc9313851ebdd04d96
Author: Seth Nickell <seth@gnome.org>
Date: 2004-05-28 18:43:55 +0000
* python/examples/Makefile.am:
Forget to add Makefile.am. Do not pass go.
python/examples/Makefile.am | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
commit ab5a89c0348c8bd271015bfdb2a32f7d4cdf586c
Author: Seth Nickell <seth@gnome.org>
Date: 2004-05-28 02:52:23 +0000
* configure.in: * python/Makefile.am:
Include the example python apps in the tarball.
* python/examples/list-system-services.py
Add a python new example that fetches the list of services
from the system bus.
python/Makefile.am | 2 ++
python/examples/list-system-services.py | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)
commit eff8859282d14b81b24f6092a6e155b5a0df8183
Author: Seth Nickell <seth@gnome.org>
Date: 2004-05-28 02:16:11 +0000
2004-05-27 Seth Nickell <seth@gnome.org>
* python/dbus.py:
* python/dbus_bindings.pyx.in:
Fix failure to notify that a signal was not handled,
resulted in hung functions.
python/dbus.py | 6 ++++--
python/dbus_bindings.pyx.in | 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)
commit 42f81c81ba6e69ef0ae0b4c30f9708a7afb6c1e3
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2004-05-10 18:16:29 +0000
* Fixed python bindings by defining all need parameter and variable types
python/dbus_bindings.pyx.in | 192 ++++++++++++++++++++++++++++--------------
1 files changed, 128 insertions(+), 64 deletions(-)
commit 7b93322959ed78fc28deda8c84835dfe2531a59d
Author: Michael Meeks <michael@ximian.com>
Date: 2004-03-29 12:50:45 +0000
hush.
python/.cvsignore | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 4f3a79f0e6ba96167dd92c730f122be5c7999889
Author: Havoc Pennington <hp@redhat.com>
Date: 2004-03-19 22:36:30 +0000
2004-03-19 Havoc Pennington <hp@redhat.com>
* NEWS: 0.21 updates
* configure.in: 0.21
* doc/Makefile.am: add all XMLTO usage to DBUS_XML_DOCS_ENABLED
* python/Makefile.am: change to avoid dist of dbus_bindings.c so
you don't need pyrex to make dist
* qt/Makefile.am (libdbus_qt_1_la_SOURCES): add integrator.h to
sources; run moc
python/Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit e150be4e0a9e55b16eac520bdb5bd0c96621ea5a
Author: David Zeuthen <david@fubar.dk>
Date: 2003-12-01 20:49:53 +0000
2003-12-01 David Zeuthen <david@fubar.dk>
* python/dbus.py: Add the actual message when calling the reciever
of a signal such that parameters can be inspected. Add the method
remove_signal_receiver
python/dbus.py | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
commit 5dd7e406571391570edc02ed1e0998cdad9f8493
Author: David Zeuthen <david@fubar.dk>
Date: 2003-10-29 00:06:07 +0000
2003-10-28 David Zeuthen <david@fubar.dk>
* python/dbus_bindings.pyx.in: add get_dict to handle dictionaries
return types. Fixup TYPE_* to reflect changes in dbus/dbus-protocol.h
python/dbus_bindings.pyx.in | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
commit 8a404b1ab5ed430112d35a23e6155c06a72f236f
Author: David Zeuthen <david@fubar.dk>
Date: 2003-10-15 21:25:13 +0000
2003-10-14 David Zeuthen <david@fubar.dk>
* python/dbus_bindings.pyx.in (MessageIter.get): fixed typo in
argtype to arg_type when raising unknown arg type exception.
Changed type list to reflect the changes in dbus-protocol.h so
the bindings actually work.
python/dbus_bindings.pyx.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit c4a01481d5ec9530af0f1e08130420f099ffc96c
Author: Seth Nickell <seth@gnome.org>
Date: 2003-10-15 11:56:12 +0000
Fix makefile.am
python/Makefile.am | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 2a5101364f1b42e52dff3967e999419cfe266f8f
Author: Seth Nickell <seth@gnome.org>
Date: 2003-10-13 23:07:34 +0000
2003-10-13 Seth Nickell <seth@gnome.org>
* python/Makefile.am:
Pass "make distcheck": remove a couple files from DIST_FILES
that weren't included in the final version.
python/Makefile.am | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
commit 362dd3f1415326f9dd545e0ac6dc11ffc9507409
Author: Havoc Pennington <hp@redhat.com>
Date: 2003-09-30 02:41:13 +0000
add examples
python/examples/example-client.py | 12 ++++++++++++
python/examples/example-service.py | 18 ++++++++++++++++++
python/examples/example-signals.py | 27 +++++++++++++++++++++++++++
3 files changed, 57 insertions(+), 0 deletions(-)
commit 8253b8df29181efd8d6ddd84098384d27a403698
Author: Havoc Pennington <hp@redhat.com>
Date: 2003-09-30 02:40:49 +0000
forgot to add files...
python/Makefile.am | 28 ++
python/dbus.py | 267 +++++++++++++
python/dbus_bindings.pyx.in | 917 +++++++++++++++++++++++++++++++++++++++++++
python/dbus_h_wrapper.h | 3 +
python/extract.py | 237 +++++++++++
5 files changed, 1452 insertions(+), 0 deletions(-)
commit bdadc55cae07f4034bf64604398b382951098ada
Author: John (J5) Palmieri <johnp@redhat.com>
Date: 2006-06-28 08:13:11 -0400
Initial commit of module dbus-python
0 files changed, 0 insertions(+), 0 deletions(-)
|